"use strict";(this.webpackChunkdiscord_app=this.webpackChunkdiscord_app||[]).push([[58848,98222],{293862:(e,t,r)=>{r.d(t,{Z:()=>lt});var n=r(785893),o=r(667294),i=r(294184),c=r.n(i),s=r(202351),u=r(707961),a=r(744564),l=r(508233),f=r(394352),p=r(218680),d=r(107364),h=r(190186),y=r(727599),m=r(623926),g=r(496486),v=r.n(g),O=r(38773),_=r(336194),b=r(213192),R=r.n(b),E=r(2590);function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e){I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)};return I(e)}function w(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e,t){S=Object.setPrototypeOf||function(e,t){e.__proto__=t;return e};return S(e,t)}var j=function(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function C(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{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})));return!0}catch(e){return!1}}();return function(){var r,n=I(e);if(t){var o=I(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return w(this,r)}}var M=R()({ARROW_UP:null,ARROW_DOWN:null,ARROW_LEFT:null,ARROW_RIGHT:null});function T(e){switch(e){case E.yXg.ARROW_DOWN:return M.ARROW_DOWN;case E.yXg.ARROW_UP:return M.ARROW_UP;case E.yXg.ARROW_LEFT:return M.ARROW_LEFT;case E.yXg.ARROW_RIGHT:return M.ARROW_RIGHT;default:return null}}var x=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&&S(e,t)}(r,e);var t=C(r);function r(){P(this,r);var e ;(e=t.apply(this,arguments)).state={focusedColumn:null,focusedRow:null};e.handleKeyDown=function(t){var r=e.props.onSelect;switch(t.keyCode){case E.yXg.ARROW_DOWN:case E.yXg.ARROW_UP:case E.yXg.ARROW_LEFT:case E.yXg.ARROW_RIGHT:e.focusNext(T(t.keyCode));break;case E.yXg.ENTER:var n=e.calculateFocusedItem();if(null!=n&&null!=r){t.preventDefault();t.stopPropagation();r(n)}}};e.wrapPosition=function(t,r,n,o){var i,c=t.length,s=n*c+r,u=Math.max(s+o,0)%c,a=0;o<0&&u>r&&(a=-1);o>0&&u0?0:-i/2+12,s=t>0?-i/2+12:0;o.setValue(c);W.Z.timing(o,{toValue:s,duration:800,easing:W.Z.Easing.linear}).start(n.animateSlide)};var o=new Array(10).fill(null).map((function(){return v().random(40,150)}));n.state={blocks:o,height:2*o.reduce((function(e,t){return e+t+12}),12),translateY:new W.Z.Value(0)};return n}var o=r.prototype;o.componentDidMount=function(){this.animateSlide()};o.getAnimatedStyle=function(){var e=this.props.columns,t=this.state.translateY;return{width:"".concat(100/e,"%"),transform:[{translateY:t.interpolate({inputRange:[0,1],outputRange:["0px","1px"]})}]}};o.render=function(){var e=this.state.blocks;return(0,n.jsxs)(W.Z.div,{className:z().column,style:this.getAnimatedStyle(),children:[e.map((function(e,t){return(0,n.jsx)(ne,{height:e},t)})),e.map((function(e,t){return(0,n.jsx)(ne,{height:e},"alt".concat(t))}))]})};return r}(o.Component)).defaultProps={direction:-1};var oe=function(e){ var t=e.columns;return(0,n.jsx)("div",{className:z().column,style:{width:"".concat(100/t,"%")},children:new Array(4).fill(null).map((function(e,t){return(0,n.jsx)("div",{className:z().categoryLoader},t)}))})},ie=function(e){X(r,e);var t=te(r);function r(){q(this,r);return t.apply(this,arguments)}r.prototype.render=function(){var e=this.props,t=e.columns,r=e.renderColumn;return(0,n.jsx)("div",{className:z().container,children:new Array(t).fill(null).map((function(e,n){return r(t,n)}))})};return r}(o.PureComponent),ce=r(957083),se=r(711003),ue=r(26468),ae=r(45761),le=r(473708),fe=r(121748),pe=r.n(fe);function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0))return null==Ie[t]?null:(0,n.jsx)("div",{className:pe().placeholder,style:ve({animationDelay:"".concat(75*t,"ms")},r)},o)}function Ce(e,t){var r,n;return e>0?"":null!==(n=null===(r=Ie[t])||void 0===r?void 0:r.id)&&void 0!==n?n:""} function Me(e){return e===O.EO.VIDEO}var Te=function(e){ge(r,e);var t=Ee(r);function r(e){he(this,r);var n;(n=t.call(this,e)).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,o=e.index;null!=t&&t(r,o)};var o=n.props,i=o.format,c=o.color,s=o.imagePool;n.state={color:null==c?v().sample(Pe):c,loaded:!1};if(!Me(i)){n._image=s.getElement();n._image.onload=function(){return n.setState({loaded:!0})};n._image.src=e.src}return n}var o=r.prototype;o.componentDidMount=function(){var e=this.props,t=e.format,r=e.src,n=e.coords,o=n.width,i=n.height,c=e.videoPool,s=this.ref;if(t===O.EO.VIDEO&&null!=s){var u=c.getElement();u.oncanplay=this.handleCanPlay;u.src=r;u.width=o;u.height=i;s.appendChild(u);this._video=u}};o.componentDidUpdate=function(e){var t=this.props.coords,r=t.width,n=t.height;if(null!=this._video&&(e.coords.width!==r||e.coords.height!==n)){this._video.width=r ;this._video.height=n}};o.componentWillUnmount=function(){this._mounted=!1;var e=this._image,t=this._video,r=this.props,n=r.imagePool,o=r.videoPool;if(null!=e){this._image=null;n.poolElement(e)}if(null!=t){this._video=null;o.poolElement(t)}};o.renderGIF=function(){var e=this.props,t=e.src,r=e.coords,o=r.width,i=r.height;return this.state.loaded?(0,n.jsx)("img",{src:t,width:o,height:i,className:pe().gif,alt:""}):null};o.render=function(){var e=this,t=this.props,r=t.item,o=t.renderExtras,i=t.format,s=t.coords,a=t.focused,l=this.state,f=l.color,p=l.loaded;return(0,n.jsxs)(u.P3F,{tabIndex:-1,innerRef:function(t){e.ref=t},className:c()(pe().result,ye({},pe().focused,a)),onClick:this.handleClick,style:ve({backgroundColor:p?void 0:f},s),children:[Me(i)?null:this.renderGIF(),null!=o?o(r):null]})};return r}(o.PureComponent),xe=function(e){ge(r,e);var t=Ee(r);function r(){he(this,r);var e;(e=t.apply(this,arguments))._masonryRef=o.createRef();e.prevResultQuery=null;e.state={focusedId:null} ;e.handleFocus=function(t){var r=e._masonryRef.current;if(null!=r){var n=r.getCoordsMap()[t];if(null!=n){r.scrollIntoViewRect({start:n.top-10,end:n.top+n.height+10});e.setState({focusedId:t})}}};e.handleSelect=function(t){var r,n=e.props.data,o=n.findIndex((function(e){return we(e)===t}));-1!==o&&(r=n[o]);null!=r&&e.selectItem(r,o)};e.handleClickItem=function(t,r){e.selectItem(t,r)};e.handleScroll=function(){var t=e.props.resultQuery,r=e._masonryRef.current;if(null!=r){var n=r.getScrollerState(),o=n.scrollTop;if(n.scrollHeight-o<=1220){t!==e.prevResultQuery&&(0,l.mO)(t);e.prevResultQuery=t}}};e.renderItem=function(t,r,o,i){if(t>0)return null;var c=e.state.focusedId,s=e.props.data[r];return null==s?null:(0,n.jsx)(Te,{item:s,index:r,format:s.format,src:s.src,coords:o,onClick:e.handleClickItem,renderExtras:function(){return(0,n.jsx)(ae.Z,ve({className:pe().favButton},s))},focused:we(s)===c,imagePool:e.props.imagePool,videoPool:e.props.videoPool},i)};e.getItemHeight=function(t,r,n){ if(t>0)return 0;var o=e.props.data[r];return null==o?0:n*(o.height/o.width)};e.getItemKey=function(t,r){if(t>0)return null;var n,o=e.props.data[r];return null!=o?null!==(n=o.id)&&void 0!==n?n:o.src:null};e.renderSection=function(t,r,i){var c=e.props,s=c.onSelectSuggestion,a=c.suggestions;return 1===t?(0,n.jsx)("div",{className:pe().endContainer,style:r,children:a.length>0?(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)("div",{className:pe().endText,children:le.Z.Messages.GIF_PICKER_RELATED_SEARCH}),(0,n.jsx)("div",{className:pe().searchSuggestions,children:a.map((function(e){return(0,n.jsx)(u.zxk,{look:u.zxk.Looks.OUTLINED,color:u.zxk.Colors.PRIMARY,size:u.zxk.Sizes.SMALL,className:pe().searchSuggestion,onClick:function(){s(e)},children:e},e)}))})]}):null},i):null};e.renderContent=function(t,r,o){var i=e.props,c=i.data,s=i.resultQuery,a=i.query,l=i.resultType;return 0!==c.length||s===a&&l!==E.wI2.TRENDING_GIFS?(0,n.jsx)(u.GMG,{ref:e._masonryRef,fade:!0,itemGutter:12,className:pe().results, columns:t,sections:[c.length,0],getItemKey:e.getItemKey,getItemHeight:e.getItemHeight,renderItem:e.renderItem,getSectionHeight:e.getSectionHeight,renderSection:e.renderSection,onScroll:e.handleScroll,chunkSize:128},"".concat(s,"-").concat(null!=l?l:"")):(0,n.jsx)(u.GMG,{fade:!0,className:pe().results,sections:[Ie.length],columns:t,itemGutter:12,getItemKey:Ce,getItemHeight:Se,renderItem:je,chunkSize:128},s)};e.getItemGrid=function(){var t=e._masonryRef.current;return null!=t?t.getItemGrid():[]};e.getCoordsMap=function(){var t=e._masonryRef.current;return null!=t?t.getCoordsMap():{}};return e}var i=r.prototype;i.componentDidMount=function(){var e=this.props,t=e.resultType,r=e.data;if(t===E.wI2.FAVORITES){(0,l.t1)(E.wI2.FAVORITES);(0,l.hM)(r,E.wI2.FAVORITES,{limit:null})}};i.selectItem=function(e,t){var r=this.props,n=r.onSelectGIF,o=r.resultType,i=r.data,c=r.resultQuery;null!=n&&n(e);(0,l.R7)({type:o,index:t,offset:this.props.searchOffset,limit:this.props.searchLimit,results:i, totalResults:this.props.searchTotalResults,query:c,gifId:e.id})};i.getSectionHeight=function(e){return 1===e?220:0};i.renderEmptyFavorite=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,n.jsx)("div",{className:pe().emptyHint,children:null!=e?(0,n.jsxs)("div",{className:pe().emptyHintCard,children:[t?(0,n.jsx)(U.Z,{className:pe().emptyHintFavorite}):null,(0,n.jsx)("div",{className:pe().emptyHintText,children:e})]}):(0,n.jsx)("div",{className:pe().emptyHintSpacer})})};i.renderEmptyFavorites=function(){var e=this;return(0,n.jsx)(u.Ttm,{className:pe().results,fade:!0,children:(0,n.jsxs)("div",{className:pe().emptyHints,children:[this.renderEmptyFavorite(le.Z.Messages.NO_GIF_FAVORITES_HOW_TO_FAVORITE,!0),this.renderEmptyFavorite(le.Z.Messages.NO_GIF_FAVORITES_WHERE_TO_FAVORITE),this.renderEmptyFavorite(le.Z.Messages.NO_GIF_FAVORITES_GO_FAVORITE),Array.from({length:15}).map((function(t,r){return(0,n.jsx)(o.Fragment,{children:e.renderEmptyFavorite()},r) })),this.renderEmptyFavorite(le.Z.Messages.NO_GIF_FAVORITES_FLAVOR_FAVORITE_PLEASE),Array.from({length:16}).map((function(t,r){return(0,n.jsx)(o.Fragment,{children:e.renderEmptyFavorite()},r)})),this.renderEmptyFavorite(le.Z.Messages.NO_GIF_FAVORITES_FLAVOR_STILL_HERE)]})})};i.render=function(){var e=this.props,t=e.data,r=e.resultQuery,o=e.query,i=e.resultType;return 0===t.length&&r===o&&i!==E.wI2.TRENDING_GIFS?i===E.wI2.FAVORITES?this.renderEmptyFavorites():(0,n.jsx)(se.Z,{message:le.Z.Messages.NO_GIF_SEARCH_RESULTS,className:pe().noResults}):(0,n.jsx)(x,{getItemGrid:this.getItemGrid,getCoordsMap:this.getCoordsMap,onFocus:this.handleFocus,onSelect:this.handleSelect,children:(0,n.jsx)(B,{desiredItemWidth:200,maxColumns:8,children:this.renderContent})},r)};return r}(o.PureComponent);function Ue(){var e=o.useContext(ue.ZP).renderWindow.document;return{imagePool:be(o.useState((function(){return new ce.Z((function(){return e.createElement("img")}),(function(e){e.onload=null;e.src=""})) })),1)[0],videoPool:be(o.useState((function(){return new ce.Z((function(){var t=e.createElement("video");t.className=pe().gif;t.autoplay=!0;t.loop=!0;t.muted=!0;t.preload="auto";t.controls=!1;return t}),(function(e){e.src="";e.oncanplay=null;var t=e.parentNode;null!=t&&t.removeChild(e)}))})),1)[0]}}const Le=function(e){var t=Ue();return(0,n.jsx)(xe,ve({},e,t))};var Ae=r(487595),Ne=r.n(Ae);function Ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0)return null;var n=e.getData()[r];return null!=n?n.name:null};e.memoizedData=(0,L.oH)((function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r?Be(t):[e].concat(Be(t))}));e.renderItem=function(t,r,o,i){if(t>0)return null;var c=e.getData()[r];if(null!=c){var s=e.props,u=s.onSelectItem,a=s.imagePool,l=s.videoPool,f=e.state.focusedId;return(0,n.jsx)(Te,{format:c.format,color:_.Z.unsafe_rawColors.PRIMARY_800.css,src:c.src,item:c,index:r,coords:o,onClick:function(){return u(c.type,c.name)},renderExtras:e.renderCategoryExtras,focused:c.name===f,imagePool:a,videoPool:l},i)}};e.renderContent=function(t,r,o){return 0===e.props.trendingCategories.length?(0,n.jsx)(ie,{columns:t,width:r,renderColumn:ze}):(0,n.jsx)(u.GMG,{ref:e._masonryRef,fade:!0,className:Ne().container,itemGutter:12,getItemKey:e.getItemKey,columns:t,getItemHeight:function(){return 110},renderItem:e.renderItem,sections:[e.getData().length],chunkSize:50})};e.getItemGrid=function(){ var t=e._masonryRef.current;return null!=t?t.getItemGrid():[]};e.getCoordsMap=function(){var t=e._masonryRef.current;return null!=t?t.getCoordsMap():{}};return e}var i=r.prototype;i.componentDidMount=function(){0===this.props.trendingCategories.length&&(0,l.Tg)()};i.getData=function(){return this.memoizedData(this.state.favoritesTile,this.props.trendingCategories,this.props.hideFavoritesTile)};i.renderCategoryExtras=function(e){var t=e.name,r=e.icon,i=e.type;return(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)("div",{className:i===E.wI2.FAVORITES?Ne().categoryFadeBlurple:Ne().categoryFade}),(0,n.jsxs)("div",{className:Ne().categoryText,children:[null!=r?(0,n.jsx)(r,{className:Ne().categoryIcon}):null,(0,n.jsx)("span",{className:Ne().categoryName,children:t})]})]})};i.render=function(){return(0,n.jsx)(x,{getItemGrid:this.getItemGrid,getCoordsMap:this.getCoordsMap,onFocus:this.handleFocus,onSelect:this.handleSelect,children:(0,n.jsx)(B,{desiredItemWidth:200,maxColumns:6, children:this.renderContent})})};return r}(o.PureComponent);function Ye(e){var t=(0,s.e7)([p.Z],(function(){return p.Z.getTrendingCategories()})),r=(0,m.gG)(),o=Ue();return(0,n.jsx)(qe,ke(function(e){for(var t=1;t{r.d(t,{Cg:()=>l,zC:()=>U,Yp:()=>T,il:()=>D,XO:()=>x,hC:()=>N,o9:()=>A,VF:()=>Z,WW:()=>L});var n=r(785893),o=(r(667294),r(336194)),i=(r(707961),r(633878));function c(e,t,r){t in e?Object.defineProperty(e,t,{value:r, enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function s(e,t){t=null!=t?t:{};Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}function u(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r])}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}return o}function a(e){var t=e.width,r=void 0===t?24:t,o=e.height,a=void 0===o?24:o,l=u(e,["width","height"]) ;return(0,n.jsxs)("svg",s(function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:o.Z.unsafe_rawColors.PREMIUM_PERK_ORANGE.css;return{color:e,icon:d.Z,description:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_ANIMATED_ICON}},P=function(){return{color:o.Z.unsafe_rawColors.PREMIUM_PERK_ORANGE.css,icon:h.Z,description:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_ROLE_ICON}},I=function(){ var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.Z.unsafe_rawColors.PREMIUM_PERK_PURPLE.css;return{color:e,icon:v.Z,description:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_STICKERS}},w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.Z.unsafe_rawColors.PREMIUM_PERK_YELLOW.css;return{color:e,icon:v.Z,description:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_STICKERS_UPLOAD.format({numStickers:b.$8[_.Eu4.TIER_1]})}},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Z.unsafe_rawColors.PREMIUM_PERK_PURPLE.css,r=0,n=0;switch(e){case _.Eu4.TIER_1:r=15;n=100;break;case _.Eu4.TIER_2:r=30;n=150;break;case _.Eu4.TIER_3:r=60;n=250}return{color:t,icon:v.Z,description:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_STICKERS_AND_EMOJIS.format({numStickers:r,numEmojis:n})}},j=function(){return{color:o.Z.unsafe_rawColors.PREMIUM_PERK_GOLD.css,icon:g.Z, description:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_VANITY_URL}},C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_OTHER;return{color:o.Z.unsafe_rawColors.PREMIUM_PERK_BLUE.css,icon:f.Z,description:e}},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.Z.unsafe_rawColors.PREMIUM_PERK_GREEN.css;return{color:e,icon:m.Z,description:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_SCREEN_SHARE_1080P}};function T(){return[P(),{color:o.Z.unsafe_rawColors.PREMIUM_PERK_GREEN.css,icon:y.Z,description:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_GUILD_BANNER},I(),C()]}function x(){return[P(),S(_.Eu4.TIER_2),M(),C()]}function U(){return[S(_.Eu4.TIER_3,o.Z.unsafe_rawColors.PREMIUM_PERK_GREEN.css),{color:o.Z.unsafe_rawColors.PREMIUM_PERK_PURPLE.css,icon:O.Z,description:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_FILE_UPLOAD_TIER_3},j(),C()]}function L(){ return[j(),{color:o.Z.unsafe_rawColors.PREMIUM_PERK_GREEN.css,icon:d.Z,description:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_ANIMATED_GUILD_BANNER},S(_.Eu4.TIER_3),C()]}function A(){return[{color:o.Z.unsafe_rawColors.PREMIUM_PERK_GREEN.css,icon:y.Z,description:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_CUSTOM_INVITE},I(),E(),C()]}function N(){return[I(),C()]}function Z(){return[{icon:p.Z,color:o.Z.unsafe_rawColors.PREMIUM_PERK_PINK.css,description:R.Z.Messages.PREMIUM_GUILD_USER_FEATURE_BOOST_CRYSTAL},{icon:h.Z,color:o.Z.unsafe_rawColors.PREMIUM_PERK_YELLOW.css,description:R.Z.Messages.PREMIUM_GUILD_USER_FEATURE_SPECIAL_ROLE},{icon:a,description:R.Z.Messages.PREMIUM_GUILD_USER_FEATURE_PROFILE_BADGE},{color:o.Z.unsafe_rawColors.PREMIUM_PERK_BLUE.css,icon:f.Z,description:R.Z.Messages.PREMIUM_GUILD_USER_FEATURE_OTHERS}]}function D(){return[E(),{color:o.Z.unsafe_rawColors.PREMIUM_PERK_PURPLE.css,icon:m.Z, description:R.Z.Messages.PREMIUM_GUILD_SUBSCRIPTION_UPSELL_PERKS_SCREEN_SHARE_720P},w(),C()]}},596801:(e,t,r)=>{r.d(t,{Z:()=>h});var n=r(785893),o=(r(667294),r(707961)),i=r(979197),c=r(625797),s=r(652591),u=r(2590);function a(e,t,r,n,o,i,c){try{var s=e[i](c),u=s.value}catch(e){r(e);return}s.done?t(u):Promise.resolve(u).then(n,o)}function l(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function c(e){a(i,n,o,c,s,"next",e)}function s(e){a(i,n,o,c,s,"throw",e)}c(void 0)}))}}function f(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function p(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r])}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}return o}var d=function(e,t){var r,n,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;(n=0,o)&&(i=[2&i[0],o.value]);switch(i[0]){case 0:case 1:o=i;break;case 4:c.label++;return{value:i[1],done:!1};case 5:c.label++;n=i[1];i=[0];continue;case 7:i=c.ops.pop();c.trys.pop();continue;default:if(!(o=c.trys,o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]{r.d(t,{Z:()=>u});var n=r(785893),o=(r(667294),r(633878));function i(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function c(e,t){t=null!=t?t:{};Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){ return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r])}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}return o}function u(e){var t=e.width,r=void 0===t?24:t,u=e.height,a=void 0===u?24:u,l=e.color,f=void 0===l?"currentColor":l,p=e.foreground,d=s(e,["width","height","color","foreground"]);return(0,n.jsx)("svg",c(function(e){for(var t=1;t{r.d(t,{Z:()=>u});var n=r(785893),o=(r(667294),r(633878));function i(e,t,r){t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r;return e}function c(e,t){t=null!=t?t:{};Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e) ;t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})));r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}));return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r])}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}return o}function u(e){var t=e.width,r=void 0===t?40:t,u=e.height,a=void 0===u?40:u,l=e.color,f=void 0===l?"currentColor":l,p=s(e,["width","height","color"]);return(0,n.jsx)("svg",c(function(e){for(var t=1;t