1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2092],{53694:function(t,n,e){var r={"./_lib/build_formatting_tokens_reg_exp/index":[18854],"./ar/build_distance_in_words_locale/index":[2565,2565],"./ar/build_format_locale/index":[71883,1883],"./ar/index":[18137,8137],"./be/build_distance_in_words_locale/index":[78514,8514],"./be/build_format_locale/index":[95082,5082],"./be/index":[9624,9624],"./bg/build_distance_in_words_locale/index":[68156,8156],"./bg/build_format_locale/index":[18647,8647],"./bg/index":[94719,4719],"./ca/build_distance_in_words_locale/index":[37480,7480],"./ca/build_format_locale/index":[27726,7726],"./ca/index":[44732,4732],"./cs/build_distance_in_words_locale/index":[9295,9295],"./cs/build_format_locale/index":[45267,5267],"./cs/index":[76105,6105],"./da/build_distance_in_words_locale/index":[35952,5952],"./da/build_format_locale/index":[83328,3328],"./da/index":[80925,925],"./de/build_distance_in_words_locale/index":[50007,7],"./de/build_format_locale/index":[72279,2279],"./de/index":[76119,6119],"./el/build_distance_in_words_locale/index":[83189,3189],"./el/build_format_locale/index":[77834,7834],"./el/index":[71511,1511],"./en/build_distance_in_words_locale/index":[92894],"./en/build_format_locale/index":[664],"./en/index":[47479],"./eo/build_distance_in_words_locale/index":[6032,6032],"./eo/build_format_locale/index":[15562,5562],"./eo/index":[46050,6050],"./es/build_distance_in_words_locale/index":[91379,1379],"./es/build_format_locale/index":[53769,3769],"./es/index":[19962,9962],"./fi/build_distance_in_words_locale/index":[62041,2041],"./fi/build_format_locale/index":[77945,7945],"./fi/index":[95999,5999],"./fil/build_distance_in_words_locale/index":[82854,2854],"./fil/build_format_locale/index":[67443,7443],"./fil/index":[82045,2045],"./fr/build_distance_in_words_locale/index":[2951,2951],"./fr/build_format_locale/index":[33329,3329],"./fr/index":[63126,3126],"./hr/build_distance_in_words_locale/index":[4439,4439],"./hr/build_format_locale/index":[52683,2683],"./hr/index":[97276,7276],"./hu/build_distance_in_words_locale/index":[34626,4626],"./hu/build_format_locale/index":[5115,5115],"./hu/index":[79675,9675],"./id/build_distance_in_words_locale/index":[10477,477],"./id/build_format_locale/index":[10514,514],"./id/index":[51872,1872],"./is/build_distance_in_words_locale/index":[33823,3823],"./is/build_format_locale/index":[83946,3946],"./is/index":[46397,8677],"./it/build_distance_in_words_locale/index":[74397,4397],"./it/build_format_locale/index":[14202,4202],"./it/index":[59629,9629],"./ja/build_distance_in_words_locale/index":[80162,8264],"./ja/build_format_locale/index":[25411,5411],"./ja/index":[42180,2180],"./ko/build_distance_in_words_locale/index":[25489,5489],"./ko/build_format_locale/index":[29097,9097],"./ko/index":[2666,2666],"./mk/build_distance_in_words_locale/index":[71096,1096],"./mk/build_format_locale/index":[77247,7247],"./mk/index":[1057,1057],"./nb/build_distance_in_words_locale/index":[56050,8698],"./nb/build_format_locale/index":[35295,5295],"./nb/index":[46815,6815],"./nl/build_distance_in_words_locale/index":[67552,7552],"./nl/build_format_locale/index":[16612,6612],"./nl/index":[70390,390],"./pl/build_distance_in_words_locale/index":[75450,5450],"./pl/build_format_locale/index":[36797,6797],"./pl/index":[63618,3618],"./pt/build_distance_in_words_locale/index":[15057,5057],"./pt/build_format_locale/index":[26883,6883],"./pt/index":[63086,3086],"./ro/build_distance_in_words_locale/index":[45588,5588],"./ro/build_format_locale/index":[27896,7896],"./ro/index":[66088,6088],"./ru/build_distance_in_words_locale/index":[54767,4767],"./ru/build_format_locale/index":[69074,7992],"./ru/index":[66754,6754],"./sk/build_distance_in_words_locale/index":[82850,2850],"./sk/build_format_locale/index":[96977,6977],"./sk/index":[78259,8259],"./sl/build_distance_in_words_locale/index":[29923,9923],"./sl/build_format_locale/index":[2139,2139],"./sl/index":[1139,1139],"./sr/build_distance_in_words_locale/index":[74437,4437],"./sr/build_format_locale/index":[32596,2596],"./sr/index":[32397,2397],"./sv/build_distance_in_words_locale/index":[66276,6276],"./sv/build_format_locale/index":[47664,7664],"./sv/index":[29779,9779],"./th/build_distance_in_words_locale/index":[99086,9086],"./th/build_format_locale/index":[30085,85],"./th/index":[98492,8492],"./tr/build_distance_in_words_locale/index":[9183,9183],"./tr/build_format_locale/index":[67791,7791],"./tr/index":[41062,1062],"./zh_cn/build_distance_in_words_locale/index":[41709,1709],"./zh_cn/build_format_locale/index":[69595,9595],"./zh_cn/index":[33612,3612],"./zh_tw/build_distance_in_words_locale/index":[14764,4764],"./zh_tw/build_format_locale/index":[35592,5592],"./zh_tw/index":[80750,750]};function i(t){if(!e.o(r,t))return Promise.resolve().then((function(){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}
1));var n=r[t],i=n[0];return Promise.all(n.slice(1).map(e.e)).then((function(){return e.t(i,23)}))}i.keys=function(){return Object.keys(r)},i.id=53694,t.exports=i},94124:function(t,n,e){"use strict";e.d(n,{uC:function(){return O},IH:function(){return S},e9:function(){return N},zi:function(){return T},Bz:function(){return H},H3:function(){return M},kH:function(){return I},HY:function(){return R},LV:function(){return E},AM:function(){return B}});var r=e(85893),i=e(49875),o=e(67602),a=e(17581),u=e(7338),c=e(60824),l=e(57888),d=e(74990),s=e(98701),f=e(67294),p=e(10615),_=e(59016);function g(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function b(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function m(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(o.push(r.value),!n||o.length!==n);a=!0);}catch(c){u=!0,i=c}finally{try{a||null==e.return||e.return()}finally{if(u)throw i}}return o}}(t,n)||function(t,n){if(!t)return;if("string"===typeof t)return g(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return g(t,n)}(t,n)||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 h(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}function v(){var t=h(["\n\tmin-width: 140px;\n\n\t","\n\n\t@media (max-width: 400px) {\n\t\tul {\n\t\t\tmin-width: unset;\n\t\t}\n\t}\n"]);return v=function(){return t},t}function y(){var t=h(['\n\tcolor: black;\n\tfont-family: "Open Sans", sans-serif;\n\tfont-size: 16px;\n\tline-height: 22px;\n\tmargin-top: 2px;\n\n\t@media (max-width: 400px) {\n\t\tfont-size: 14px;\n\t}\n']);return y=function(){return t},t}function x(){var t=h(["\n\t.fa-lock {\n\t\ttop: calc(50% - 15px);\n\t\tfont-size: 22px;\n\t}\n\n\t","\n\n\t@keyframes shake_center {\n\t\t0% {\n\t\t\ttransform: translate(-50%, -50%) rotate(0deg);\n\t\t}\n\t\t33% {\n\t\t\ttransform: translate(-50%, -50%) rotate(-10deg);\n\t\t}\n\t\t66% {\n\t\t\ttransform: translate(-50%, -50%) rotate(10deg);\n\t\t}\n\t\t100% {\n\t\t\ttransform: translate(-50%, -50%) rotate(0deg);\n\t\t}\n\t}\n\n\t&.premium-hover:hover {\n\t\tbackground: rgba(255, 106, 0, 0.1);\n\t\tcolor: black;\n\t\tcursor: pointer;\n\t\ti {\n\t\t\tanimation: shake_center 250ms ease-out;\n\t\t}\n\t}\n"]);return x=function(){return t},t}function w(){var t=h(["\n\tdisplay: flex;\n\talign-items: center;\n\n\t.fa-arrow-right {\n\t\tfont-size: 14px;\n\t\tmargin: 0 12px;\n\t\tcolor: rgba(255, 255, 255, 0.6);\n\t}\n"]);return w=function(){return t},t}function k(){var t=h(["\n\tfont-size: 12px;\n\twhite-space: nowrap;\n\tvertical-align: top;\n"]);return k=function(){return t},t}var I,j=_.ZP.div.withConfig({componentId:"sc-5a66c1c8-0"})(v(),(function(t){return t.premiumBorder?"\n\t\t.dropdown-toggle {\n\t\t\tborder-color: ".concat(p.y4i.PremiumBorder," !important;\n\t\t\tbox-shadow: 0px 0px 3px ").concat(p.y4i.PremiumBorder,";\n\t\t}\n\t"):void 0})),L=_.ZP.span.withConfig({componentId:"sc-5a66c1c8-1"})(y()),D=_.ZP.div.withConfig({componentId:"sc-5a66c1c8-2"})(x(),(function(t){return t.exposeWinrate?"\n\t\t\ti.fas.fa-lock {\n\t\t\t\tfont-size: 16px;\n\t\t\t\ttop: 0;\n\t\t\t}\n\t\t":void 0})),C=(0,_.ZP)(o.Rk).withConfig({componentId:"sc-5a66c1c8-3"})(w()),P=_.ZP.span.withConfig({componentId:"sc-5a66c1c8-4"})(k()),O={Iron:10,Bronze:20,Silver:30,Gold:40,Platinum:50,Diamond:60,Vibranium:70,Omega:80,Galactic:90,Infinite:100},S=function(t,n){if(t>=100)return"Infinite ".concat(n||"");var e=Object.keys(O)[Math.min(9,Math.floor(t/10)-1)];return"".concat(e," ").concat(t)},A=Object.values(O),Z=[10,20,30,40,50,60,70],N=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"All";return!!t&&(n&&"All"===e?!Z.includes(t[0])||!Z.includes(t[1]):t[0]!==T(!1,n,e)[0]||t[1]!==T(!1,n,e)[1])},T=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"All";return"All"!==e?[10,100]:t?[30,100]:!t&&n?[10,70]:[10,100]},H=function(t){return Object.keys(O)[t/10-1]},M=function(t,n,e,i,o,a,u){if(!t||!n)return(0,r.jsx)(C,{premiumColor:u,children:"\u2026"});if("InfiniteTop50"===n||"InfiniteTop10"===n)return(0,r.jsx)(C,{premiumColor:u,children:z(a,n,i,o)});var c=t[0]<100?t[0]:null,l=t[1]<100?t[1]+9:"100+";return(0,r.jsxs)(C,{premiumColor:u,children:[e?(0,r.jsx)("i",{className:"fas fa-lock"}):null,c,c?(0,r.jsx)("i",{className:"fal fa-arrow-right"}):null,l]})};!function(t){t.InfiniteTop10="InfiniteTop10",t.InfiniteTop50="InfiniteTop50",t.AllRanks="AllRanks"}(I||(I={}));var R=[I.InfiniteTop50,I.InfiniteTop10],z=function(t,n,e,r){var i,o,a=(null===r||void 0===r?void 0:r.includes("Last30Days"))?"exactly_last_30_days_no_current_location":"current_meta_period",u=null===e||void 0===e||null===(i=e[a])||void 0===i?void 0:i.min_standing_InfiniteTop10,c=null===e||void 0===e||null===(o=e[a])||void 0===o?void 0:o.min_standing_InfiniteTop50;return{AllRanks:function(t){return t("All Ranks")},InfiniteTop50:function(t){return c?t("Infinite Top 50% ({threshold})",{threshold:(0,p.KQX)(c)}):t("Infinite Top 50%")},InfiniteTop10:function(t){return u?t("Infinite Top 10% ({threshold})",{threshold:(0,p.KQX)(u)}):t("Infinite Top 10%")}}[n](t)},E=function(t){return t?(0,p.no7)(Object.keys(I)):(0,p.no7)([I.AllRanks])},B=function(t,n,e,r,i){if("InfiniteTop50"===n||"InfiniteTop10"===n)return z(i,n,e,r);var o=t[0]<100?t[0]:null,a=t[1]<100?t[1]+9:"100+";return"".concat(null!==o&&void 0!==o?o:"").concat(null!==o?"-":"").concat(a)},F=function(t,n,e,r){var i,o,a,u=(null===e||void 0===e?void 0:e.includes("Last30Days"))?"exactly_last_30_days_no_current_location":"current_meta_period",c=null===n||void 0===n||null===(i=n[u])||void 0===i?void 0:i.min_standing_InfiniteTop10,l=null===n||void 0===n||null===(o=n[u])||void 0===o?void 0:o.min_standing_InfiniteTop50;return(a={},b(a,I.InfiniteTop10,c?r("Stats from top {percentage} Infinite Leaderboard players (leaderboard standing {position} to 1)",{position:(0,p.KQX)(c),percentage:"10%"}):""),b(a,I.InfiniteTop50,l?r("Stats from top {percentage} Infinite Leaderboard players (leaderboard standing {position} to 1)",{position:(0,p.KQX)(l),percentage:"50%"}):""),b(a,I.AllRanks,r("Select player rank range.")),a)[t]};n.ZP=function(t){var n=t.id,e=t.selectedRange,_=t.selected,g=t.onChangeRange,b=t.onChange,h=t.locked,v=t.initialOpen,y=t.inline,x=t.sliderOnly,w=t.enableAllFilters,k=t.variant,C=t.analyticsPage,O=t.hideInfiniteOptions,S=t.timeFrame,Z=t.disableWinrateExperiment,T=t.poolMode,H=void 0===T?"All":T,E=(0,f.useRef)(e),B=(0,u.$3)("snap-decks-stats"),q=(0,f.useRef)(null),K=(0,a.rE)().setIsOpen,$=(0,p.HzF)(768),U=(0,d.$)().t,X=(0,u.$3)("snap-decks-stats"),J=(0,l.kZ)(),W=(0,c.N)("infinite-filters"),G=(0,c.N)("ab-expose-winrate"),V=B||w,Q=G&&!B&&!V,Y=(0,f.useMemo)((function(){return A.map((function(t,n){var i=t;return 100===t?i="100+":void 0!==e&&t===e[0]&&t===e[1]?i=(0,r.jsx)(P,{children:"".concat(t,"-").concat(t+9)}):void 0!==e&&t>=e[1]&&(i=t+9),{index:n,locked:Q&&!Z&&N([10,t],G,H),bottomLabel:(0,r.jsx)(L,{style:{marginLeft:100===t?5:0},children:i})}}))}),[e,Q,Z,G,H]),tt=(0,r.jsx)(D,{exposeWinrate:G&&!Z,className:V?void 0:"premium-hover",onClick:function(){V||Q&&!Z||K(!0)},children:(0,r.jsx)(p.U2U,{colors:{segment:p.y4i.PrimaryBorder,handleBorder:p.y4i.PrimaryBorder,handle:p.y4i.SecondaryText,tickIndicator:p.y4i.SecondaryText,lockedSegment:p.y4i.SecondaryText},initialRange:e?e.map((function(t){return A.indexOf(t)})):[10,100],ticks:Y,onRangeChange:function(t){var n=m(t,2),r=n[0],i=n[1];e&&e[0]===A[r]&&e[1]===A[i]||null===g||void 0===g||g([A[r],A[i]])},locked:Q&&Z,padding:{top:20,right:25,bottom:50,left:25},lightBG:"dark"===k})});return x?tt:(0,r.jsx)(j,{ref:q,premiumBorder:Q,children:(0,r.jsxs)(p.Z_0,{id:n,display:M(e,_,!V&&!Q,J.data,S,U,Q),dropdownProps:{width:320,inline:y||!!$},locked:h,initialOpen:v,onOpen:function(){var t;null===(t=q.current)||void 0===t||t.scrollIntoView({behavior:"auto",block:"nearest"})},onClose:function(){if(e&&E.current&&(E.current[0]!==e[0]||E.current[1]!==e[1])){E.current=e;for(var t=A.indexOf(e[0]),n=A.indexOf(e[1]),r=[],i=t;i<=n;i++)r.push(A[i]);s.ZP.dataLayer({dataLayer:{event:"snap.filterChange",filter:"playerRank",page:C,includedValues:r.join(","),minRank:e[0],maxRank:e[1]}}),s.rk.onFilterChange()}},children:[(0,r.jsx)(o.NF,{children:(0,r.jsx)("span",{children:U("Filter by the Player Rank Level at the time the game was played.")}
1)}),O||!W?null:Object.keys(I).map((function(t){var n=_===t,e=t,i=R.includes(t)&&!X;return(0,r.jsx)(p.ua7,{variant:"borderless",data:F(e,J.data,S,U),position:"right",children:(0,r.jsx)(p.hP3,{onClickCapture:function(t){"AllRanks"===e&&t.stopPropagation(),i?K(!0):(null===b||void 0===b||b(e),s.rk.onFilterChange())},active:n,locked:i,radio:!0,premiumLockIcon:!0,"data-analytics-label":s.ZP.getAnalyticsLabel(C,t.toString(),"date-filter"),className:i?"premium-hover":n?"active":void 0,children:z(U,t,J.data,S)})},t)})),"AllRanks"===_?tt:null,V?null:(0,r.jsx)(i.Z,{type:"filters",analyticsPage:C,analyticsIdentifier:"rank-filter"})]})})}},27891:function(t,n,e){"use strict";e.d(n,{uD:function(){return _},Mg:function(){return g},dk:function(){return y},rM:function(){return x},eW:function(){return w},xG:function(){return k},xJ:function(){return j},nq:function(){return L},h7:function(){return D}});var r=e(85893),i=(e(67602),e(19041)),o=(e(57888),e(74990),e(98701),e(78359)),a=e(67294),u=e(59016);function c(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}function l(){var t=c(["\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\n\tbutton.disabled-with-tooltip {\n\t\tbackground: rgba(255, 255, 255, 0.08);\n\t\tborder: 1px solid rgba(255, 255, 255, 0.25);\n\t\tcursor: not-allowed;\n\t\tcolor: rgba(255, 255, 255, 0.5);\n\t}\n\n\t@media (max-width: 600px) {\n\t\t> div {\n\t\t\twidth: 100%;\n\n\t\t\t> * {\n\t\t\t\tflex: 1;\n\t\t\t}\n\t\t}\n\n\t\t.button {\n\t\t\twidth: 100%;\n\n\t\t\t> span {\n\t\t\t\tfont-size: 12px;\n\t\t\t\tline-height: normal;\n\t\t\t\tpadding: 0 4px;\n\t\t\t\tmin-width: 80px;\n\t\t\t}\n\t\t}\n\t}\n"]);return l=function(){return t},t}function d(){var t=c(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\tmax-width: 340px;\n\n\t> p {\n\t\tmargin: 0;\n\t}\n\n\t> *:not(:first-child) {\n\t\tmargin-top: 6px;\n\t}\n\n\t@media (max-width: 600px) {\n\t\t> *:not(:first-child) {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n"]);return d=function(){return t},t}function s(){var t=c(["\n\tfont-weight: 700;\n"]);return s=function(){return t},t}function f(){var t=c(["\n\tpadding: 4px 8px;\n\tbackground: #b3b3b3;\n\tborder-radius: 3px;\n\tfont-weight: bold;\n\tcolor: #1c1921;\n\tfont-size: 14px;\n"]);return f=function(){return t},t}function p(){var t=c(["\n\tfont-size: 12px;\n\tfont-style: italic;\n"]);return p=function(){return t},t}u.ZP.div.withConfig({componentId:"sc-e97c9fe7-0"})(l());var _,g,b=u.ZP.div.withConfig({componentId:"sc-e97c9fe7-1"})(d()),m=u.ZP.p.withConfig({componentId:"sc-e97c9fe7-2"})(s()),h=u.ZP.p.withConfig({componentId:"sc-e97c9fe7-3"})(f()),v=u.ZP.p.withConfig({componentId:"sc-e97c9fe7-4"})(p());!function(t){t.CurrentLocation="CurrentLocation",t.CurrentMeta="CurrentMeta",t.Last30DaysNoHotLocation="Last30DaysNoHotLocation",t.Last7DaysNoHotLocation="ExactlyLast7DaysNoCurrentLocation",t.Last90DaysNoHotLocation="ExactlyLast90DaysNoCurrentLocation"}(_||(_={})),function(t){t.CurrentMeta="CurrentMeta",t.Last90Days="Last90Days",t.Last30Days="Last30Days",t.Last7Days="Last7Days"}(g||(g={}));var y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"All";return"All"!==t?"Last30DaysNoHotLocation":"Last7DaysNoHotLocation"},x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"All";return"All"!==t?g.Last30Days:g.Last7Days},w="Last30DaysNoHotLocation",k="Last30Days",I={CurrentLocation:function(t){return t("Current Location")},CurrentMeta:function(t){return t("Latest Patch")},Last30DaysNoHotLocation:function(t){return t("Last 30 Days")},Last30Days:function(t){return t("Last 30 Days")},Last7DaysNoHotLocation:function(t){return t("Last 7 Days")},Last7Days:function(t){return t("Last 7 Days")},Last90DaysNoHotLocation:function(t){return t("Last 90 Days")},Last90Days:function(t){return t("Last 90 Days")}},j=function(t,n){return I[n](t)};function L(t,n,e){var r,i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"All";if("All"===o&&("Last90DaysNoHotLocation"===n||"Last90Days"===n))return!0;if("All"!==o&&"Last90DaysNoHotLocation"!==n&&"Last90Days"!==n)return!0;
1if(e&&("Last7Days"===n||"Last7DaysNoHotLocation"===n))return!1;if(null===t||"Last30DaysNoHotLocation"===n||"Last30Days"===n)return!1;if("CurrentLocation"===n&&!(null===(r=t.current_location)||void 0===r?void 0:r.location_def_id))return!0;var a,u="CurrentLocation"===n?"current_location":"current_meta_period",c=null===(i=t[u])||void 0===i?void 0:i.data_volume.min;return(null!==(a=null===c||void 0===c?void 0:c.num_decks)&&void 0!==a?a:0)<50}var D=function(t,n){var e,u=null!==(e=null===t||void 0===t?void 0:t.current_meta_period)&&void 0!==e?e:null,c=(0,o.h_)(),l=(0,i.u)().gameMode,d=(0,a.useMemo)((function(){var n;return c&&(null===t||void 0===t||null===(n=t.current_location)||void 0===n?void 0:n.location_def_id)?c.getEntityByDefId(t.current_location.location_def_id):null}),[c,t]);return(0,a.useMemo)((function(){return{CurrentLocation:t?t.current_location?d?(0,r.jsxs)(b,{children:[(0,r.jsx)(m,{children:d.name}),(0,r.jsx)("p",{dangerouslySetInnerHTML:{__html:d.description}}),L(t,"CurrentLocation",!0)?(0,r.jsx)(h,{children:n("Available soon, please check back later!")}):null]}):n("Available soon, please check back later!"):n("No Featured or Hot Location live"):null,CurrentMeta:t&&u?(0,r.jsxs)(b,{children:[(0,r.jsx)(m,{children:u.description}),(0,r.jsx)("p",{children:n("Data since {date}",{date:new Date(Date.parse(u.start_ts)).toLocaleDateString()})}),"ranked"===l?(0,r.jsx)(v,{children:n("* Excludes Featured/Hot Location Days")}):null,L(t,"CurrentMeta",!0)?(0,r.jsx)(h,{children:n("Available soon, please check back later!")}):null]}):null,Last30Days:(0,r.jsx)(b,{children:(0,r.jsx)(m,{children:n("Data since {date}",{date:new Date((new Date).setDate((new Date).getDate()-30)).toLocaleDateString()})})}),Last30DaysNoHotLocation:(0,r.jsxs)(b,{children:[(0,r.jsx)(m,{children:n("Data since {date}",{date:new Date((new Date).setDate((new Date).getDate()-30)).toLocaleDateString()})}),(0,r.jsx)(v,{children:n("* Excludes Featured/Hot Location Days")})]}),Last7Days:(0,r.jsx)(b,{children:(0,r.jsx)(m,{children:n("Data since {date}",{date:new Date((new Date).setDate((new Date).getDate()-7)).toLocaleDateString()})})}),Last7DaysNoHotLocation:(0,r.jsxs)(b,{children:[(0,r.jsx)(m,{children:n("Data since {date}",{date:new Date((new Date).setDate((new Date).getDate()-7)).toLocaleDateString()})}),(0,r.jsx)(v,{children:n("* Excludes Featured/Hot Location Days")})]})}}),[d,u,l,t,n])}},27746:function(t,n,e){"use strict";e.d(n,{OZ:function(){return u},kt:function(){return c},BO:function(){return l},Nr:function(){return d},H0:function(){return s},ZM:function(){return f},AO:function(){return p},Fg:function(){return _},pb:function(){return g},D:function(){return b}});var r=e(42295),i=e(94124),o=e(27891),a=e(57888),u={encode:function(t){return String(t)},decode:function(t){if(null!==t&&void 0!==t&&!isNaN(t))return Number(t)}},c={encode:function(t){return"Last30DaysNoHotLocation"===t?"Last30Days":String(t)},decode:function(t){var n="Last30Days"===t?"Last30DaysNoHotLocation":t;if(null!==n&&void 0!==n&&Object.keys(o.uD).includes(n.toString()))return n}},l={encode:function(t){return null===t?void 0:"".concat(null===t||void 0===t?void 0:t.join("-"))},decode:function(t){if(null!==t&&void 0!==t&&t.toString().split("-").length&&!t.toString().split("-").some((function(t){return!Object.values(i.uC).includes(+t)})))return t.toString().split("-").map((function(t){return+t}))}},d={encode:function(t){return null===t?void 0:"".concat(t[0]===t[1]?t[0]:"all")},decode:function(t){if(null!==t&&void 0!==t){if("all"===t)return["HighStakesTable_1","HighStakesTable_4"];var n=a.KO[t.toString()];if(n)return[n,n]}}},s={encode:function(t){if(null!=t)return t.length<2||t.some((function(t){return!r.Pg[t]}))?"ConquestProvingGrounds-ConquestInfinity":"".concat(t[0],"-").concat(t[1])},decode:function(t){var n=["ConquestProvingGrounds","ConquestInfinity"];if("string"===typeof t){var e=t.split("-");return e.some((function(t){return!r.Pg[t]}))?n:e}return n}},f={encode:function(t){return"".concat(t)},decode:function(t){if(t)return t.toString().replace("-","")}},p={encode:function(t){return"".concat(t)},decode:function(t){if(t)return t.toString().replace("-","")}},_={encode:function(t){return t?"1":"0"},decode:function(t){return"1"===t||"0"!==t&&void 0}},g=200,b={encode:function(t){return"".concat(t)},decode:function(t){if(null!==t&&void 0!==t&&!isNaN(t))return Number(t)}}},18187:function(t,n,e){"use strict";e.d(n,{$0:function(){return F},Xh:function(){return B},jZ:function(){return N},yL:function(){return Z},c5:function(){return M},Dd:function(){return J},G7:function(){return X},m$:function(){return $},eh:function(){return U},om:function(){return K},sg:function(){return H},mI:function(){return z},ZM:function(){return S},KB:function(){return A},M6:function(){return R},EI:function(){return E}});var r=e(12479),i="https://static.snap.untapped.gg/_next/static/images/background-cards-271b72d35e73ab76d49e6283eff4df7a.webp",o="https://static.snap.untapped.gg/_next/static/images/background-profile-271b72d35e73ab76d49e6283eff4df7a.webp",a=e(99005),u="https://static.snap.untapped.gg/_next/static/images/background-trans
1parent-26966465b07a276e516783262233d8e1.webp",c=e(10615),l=e(59016);function d(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}function s(){var t=d(["\n\tbackground-position-y: -30px;\n\tbackground-size: contain;\n\n\t@media (max-width: 500px) {\n\t\tbackground-position-y: -40px;\n\t\tbackground-size: 450%;\n\t}\n"]);return s=function(){return t},t}function f(){var t=d(["\n\topacity: 0.4;\n\n\t@media (max-width: ","px) {\n\t\tbackground-size: 100%, 100%, auto 350px;\n\t\tbackground-image: linear-gradient(\n\t\t\t\trgba(25, 25, 33, 1) 40px,\n\t\t\t\trgba(25, 25, 33, 0) 100px,\n\t\t\t\trgba(25, 25, 33, 0) 260px,\n\t\t\t\trgba(25, 25, 33, 1) 320px\n\t\t\t),\n\t\t\tlinear-gradient(\n\t\t\t\tto right,\n\t\t\t\trgba(25, 25, 33, 1) 10%,\n\t\t\t\trgba(25, 25, 33, 0) 25%,\n\t\t\t\trgba(25, 25, 33, 0) 75%,\n\t\t\t\trgba(25, 25, 33, 1) 90%\n\t\t\t),\n\t\t\turl(",");\n\t}\n\t@media (min-width: ","px) {\n\t\tbackground-image: linear-gradient(\n\t\t\t\trgba(25, 25, 33, 1),\n\t\t\t\trgba(25, 25, 33, 0.7) 25%,\n\t\t\t\trgba(25, 25, 33, 0.95) 75%,\n\t\t\t\trgba(25, 25, 33, 1) 100%\n\t\t\t),\n\t\t\tlinear-gradient(\n\t\t\t\tto right,\n\t\t\t\trgba(25, 25, 33, 1),\n\t\t\t\trgba(25, 25, 33, 0) 25%,\n\t\t\t\trgba(25, 25, 33, 0) 75%,\n\t\t\t\trgba(25, 25, 33, 1) 100%\n\t\t\t),\n\t\t\turl(",");\n\t}\n"]);return f=function(){return t},t}function p(){var t=d(["\n\tbackground-image: url(",");\n"]);return p=function(){return t},t}function _(){var t=d(["\n\tbackground-image: url(",");\n"]);return _=function(){return t},t}function g(){var t=d(["\n\tbackground-image: url(",");\n\tbackground-position-x: calc(50% - 8.5px);\n"]);return g=function(){return t},t}function b(){var t=d(["\n\tbackground-image: url(",");\n\tbackground-position-y: -7%;\n\tmax-width: 1400px;\n\n\t@media (max-width: 500px) {\n\t\tbackground-position-x: 40%;\n\t\tbackground-position-y: -40px;\n\t\tbackground-size: 250%;\n\t\tmax-width: unset;\n\t}\n"]);return b=function(){return t},t}function m(){var t=d([""]);return m=function(){return t},t}function h(){var t=d([""]);return h=function(){return t},t}function v(){var t=d(["\n\tposition: absolute;\n\tbackground-image: url(",");\n\t@media (min-width: 1900px) {\n\t\tbackground-image: url(",");\n\t}\n\tbackground-position-y: -70px;\n"]);return v=function(){return t},t}function y(){var t=d(["\n\tposition: absolute;\n\tbackground-image: url(",");\n\tbackground-position-y: -70px;\n"]);return y=function(){return t},t}function x(){var t=d(["\n\tbackground-image: url(",");\n"]);return x=function(){return t},t}function w(){var t=d(["\n\tbackground: linear-gradient(\n\t\t\tto top,\n\t\t\trgba(29, 25, 33, 1) 0%,\n\t\t\trgba(29, 25, 33, 0.85) 100%\n\t\t),\n\t\turl(",");\n"]);return w=function(){return t},t}function k(){var t=d(["\n\twidth: 100vw;\n\tbackground: linear-gradient(\n\t\t\tto right,\n\t\t\trgba(29, 25, 33, 1) 0%,\n\t\t\trgba(29, 25, 33, 0) 30%\n\t\t),\n\t\tlinear-gradient(\n\t\t\tto left,\n\t\t\trgba(29, 25, 33, 1) 0%,\n\t\t\trgba(29, 25, 33, 0) 30%\n\t\t),\n\t\turl(",");\n\tbackground-size: cover;\n"]);return k=function(){return t},t}function I(){var t=d(["\n\tbackground-image: url(",");\n\tmax-width: 1100px;\n\n\t@media (max-width: 500px) {\n\t\tbackground-size: 300%;\n\t}\n"]);return I=function(){return t},t}function j(){var t=d(["\n\t// background: linear-gradient(\n\t// \t\tto top,\n\t// \t\trgba(29, 25, 33, 1) calc(100% - 160px),\n\t// \t\trgba(29, 25, 33, 0.4) 100%\n\t// \t),\n\t// \turl(",");\n\tbackground-repeat: no-repeat;\n\tbackground-position-x: center;\n\n\t@media (max-width: 1300px) {\n\t\tbackground-size: 110%;\n\t}\n"]);return j=function(){return t},t}function L(){var t=d([""]);return L=function(){return t},t}function D(){var t=d([""]);return D=function(){return t},t}function C(){var t=d([""]);return C=function(){return t},t}function P(){var t=d([""]);return P=function(){return t},t}var O=(0,l.ZP)(c.Obg).withConfig({componentId:"sc-7758ef3c-0"})(s()),S=(0,l.ZP)(O).withConfig({componentId:"sc-7758ef3c-1"})(f(),r.Et-1,u,r.Et,u),A=(0,l.ZP)(O).withConfig({componentId:"sc-7758ef3c-2"})(p(),a.Z),Z=(0,l.ZP)(O).withConfig({componentId:"sc-7758ef3c-3"})(_(),i),N=(0,l.ZP)(O).withConfig({componentId:"sc-7758ef3c-4"})(g(),i),T=(0,l.ZP)(O).withConfig({componentId:"sc-7758ef3c-5"})(b(),"https://static.snap.untapped.gg/_next/static/images/background-decks-98dd8cb2c8a68ab93bfb4330a7479f58.webp"),H=(0,l.ZP)(T).withConfig({componentId:"sc-7758ef3c-6"})(m()),M=(0,l.ZP)(T).withConfig({componentId:"sc-7758ef3c-7"})(h()),R=(0,l.ZP)(O).withConfig({componentId:"sc-7758ef3c-8"})(v(),o,o),z=(0,l.ZP)(O).withConfig({componentId:"sc-7758ef3c-9"})(y(),"https://static.snap.untapped.gg/_next/static/images/background-draft-f4f8bdbf553fdb81ae8637d1069d9abc.webp"),E=(0,l.ZP)(O).withConfig({componentId:"sc-7758ef3c-10"})(x(),a.Z),B=(0,l.ZP)(O).withConfig({componentId:"sc-7758ef3c-11"})(w(),"https://static.snap.untapped.gg/_next/static/images/page-background-f8f2384146c7256813dab77833617bc8.webp"),F=(0,l.ZP)(O).withConfig({componentId:"sc-7758ef3c-12"})(k(),"https://static.snap.untapped.gg/_next/static/images/error-page-background-c037e7518bb702ec33c8f2e6497e93b2.webp"),q=(0,l.ZP)(O).withConfig({componentId:"sc-7758ef3c-13"})(I(),"https://static.snap.untapped.gg/_next/static/images/background-conquest-decks-4a86a855d484431faaa1c8cebbc2367a.png"),K=(0,l.ZP)(O).withConfig({componentId:"sc-7758ef3c-14"})(j(),"https://static.snap.untapped.gg/_next/static/images/background-deadpool-diner-5b4bfdd2f49321e5654134399d7a03d8.webp"),$=(0,l.ZP)(q).withConfig({componentId:"sc-7758ef3c-15"})(L()),U=(0,l.ZP)(q).withConfig({componentId:"sc-7758ef3c-16"})(D()),X=(0,l.ZP)(q).withConfig({componentId:"sc-7758ef3c-17"})(C()),J=(0,l.ZP)(q).withConfig({componentId:"sc-7758ef3c-18"})(P())},90523:function(t,n,e){"use strict";e.d(n,{Q:function(){return u}});var r=e(85893),i=e(11163),o=e(67294),a=e(10615),u=function(t){var n=t.date,u=t.noSuffix,c=(0,o.useState)(),l=c[0],d=c[1],s=(0,i.useRouter)();return(0,o.useEffect)((function(){s.locale&&e(53694)("./".concat(s.locale,"/index")).then((function(t){return d(t)}))}),[s.locale]),(0,r.jsx)(a.Zr_,{noSuffix:u,date:n,dateFnsLocale:l})}},23599:function(t,n,e){"use strict";e.d(n,{i:function(){return d}});var r=e(85893),i=e(11163),o=e(67294),a=e(76354);function u(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function c(t,n){if(null==t)return{};var e,r,i=function(t,n){if(null==t)return{};var e,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||(i[e]=t[e]);return i}
1(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(i[e]=t[e])}return i}var l=function(t){var n=t.children,e=c(t,["children"]),l=(0,i.useRouter)(),d=l.asPath.match(/[^?]+/),s=d?d[0]:l.asPath;(0,o.useEffect)((function(){i.default.beforePopState((function(t){var n=t.url,e=t.as;return i.default.replace(n,e,{shallow:!1}),!1})),setTimeout((function(){}),3e3)}),[]);var f=(0,o.useMemo)((function(){return window.location?window.location:{search:l.asPath.replace(/[^?]+/u,"")}}),[l.asPath]),p=(0,o.useMemo)((function(){return{push:function(t){var n=t.search;return l.push({pathname:l.pathname,query:l.query},{search:n,pathname:s},{shallow:!0})},replace:function(t){var n=t.search;return l.replace({pathname:l.pathname,query:l.query},{search:n,pathname:s},{shallow:!0})}}}),[s,l]);return(0,r.jsx)(a.Fz,function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},r=Object.keys(e);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(e).filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})))),r.forEach((function(n){u(t,n,e[n])}))}return t}({},e,{history:p,location:f,children:n}))},d=(0,o.memo)(l)},96781:function(t,n,e){"use strict";e.d(n,{M:function(){return l}});var r=e(62286),i=e(33444),o=e(48081);function a(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function u(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(o.push(r.value),!n||o.length!==n);a=!0);}catch(c){u=!0,i=c}finally{try{a||null==e.return||e.return()}finally{if(u)throw i}}return o}}(t,n)||function(t,n){if(!t)return;if("string"===typeof t)return a(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return a(t,n)}(t,n)||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.")}()}var l=function(){function t(n){!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this._statsAggregates={},this._data=n}var n,e,a;return n=t,(e=[{key:"data",get:function(){return this._data}},{key:"getStats",value:function(t,n,e,r,o){var a,u="".concat(t,"-").concat(n[0],"-").concat(n[1],"-").concat(e);return this._statsAggregates[u]||(this._statsAggregates[u]=null!==(a=this.calculateStats((0,i.Ae)(t),n,null!==e&&void 0!==e?e:"AllRanks",r,o))&&void 0!==a?a:{num_games:0}),this._statsAggregates[u]}},{key:"calculateStats",value:function(t,n,e,a,u){var l={num_games:0},d=!0,s=!1,f=void 0;try{for(var p,_=t[Symbol.iterator]();!(d=(p=_.next()).done);d=!0){var g=p.value,b=this._data[g];if(b){var m=b.ALL;if(m&&(!a||(0,o.Oi)(n)||(0,o.gy)(n)||(0,o.bA)(n)||(0,o.Oe)(n)||(0,o.c7)(n)||(0,o.TR)(n)||(0,o.v5)(n)||(0,o.rH)(n)))return{num_games:m[0],num_wins:m[1]};if("InfiniteTop10"===e||"InfiniteTop50"===e){var h=b[e];if(h){var v=c(h,3),y=v[0],x=v[1],w=v[2];l.num_games=y,l.num_wins=x,l.avg_cubes=w}}else{var k=(0,r.I)(n),I=(0,r.H)(n),j=!0,L=!1,D=void 0;try{for(var C,P=k[Symbol.iterator]();!(j=(C=P.next()).done);j=!0){var O=c(C.value,2),S=O[0],A=O[1];if(A>=I[0]&&A<=I[1]){var Z=b[S];if(!Z)continue;var N,T,H=Z[0],M=Z[1],R=!u&&a?(0,i.IY)(Z[2]):Z[2];void 0!==M&&(l.num_wins=(null!==(N=l.num_wins)&&void 0!==N?N:0)+M),void 0!==R&&(l.avg_cubes=((null!==(T=l.avg_cubes)&&void 0!==T?T:0)*l.num_games+(null!==R&&void 0!==R?R:0)*H)/(l.num_games+H)),l.num_games+=H}}}catch(z){L=!0,D=z}finally{try{j||null==P.return||P.return()}finally{if(L)throw D}}}}}}catch(z){s=!0,f=z}finally{try{d||null==_.return||_.return()}finally{if(s)throw f}}return l}}])&&u(n.prototype,e),a&&u(n,a),t}()},63419:function(t,n,e){"use strict";e.d(n,{Vn:function(){return h},UJ:function(){return v},XN:function(){return y},_J:function(){return x}});var r=e(25353),i=e(51019),o=e(96781),a=e(33444),u=e(15888),c=e(78359),l=e(67294);function d(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}function s(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function p(t,n){return!n||"object"!==b(n)&&"function"!==typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function _(t,n){return _=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t},_(t,n)}function g(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,o=[],a=!0,u=!1;try{for(e=e.call(t);!(a=(r=e.next()).done)&&(o.push(r.value),!n||o.length!==n);a=!0);}catch(c){u=!0,i=c}finally{try{a||null==e.return||e.return()}finally{if(u)throw i}}return o}}(t,n)||function(t,n){if(!t)return;if("string"===typeof t)return d(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return d(t,n)}
1(t,n)||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.")}()}var b=function(t){return t&&"undefined"!==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};function m(t){var n=function(){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(t){return!1}}();return function(){var e,r=f(t);if(n){var i=f(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return p(this,e)}}var h=function(t,n){return(0,u.EZ)(n)||!!t.cards[n]},v=function(t){var n=new Map,e=!0,r=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(e=(o=a.next()).done);e=!0){var u,c=o.value;n.set(c,(null!==(u=n.get(c))&&void 0!==u?u:0)+1)}}catch(l){r=!0,i=l}finally{try{e||null==a.return||a.return()}finally{if(r)throw i}}return Array.from(n.keys()).sort().map((function(t){var e=n.get(t);return e>1?"".concat(t,"x").concat(e):t})).join("-")},y=function(t){!function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&_(t,n)}(u,t);var n,e,i,o=m(u);function u(t,n,e,r){var i;return function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,u),(i=o.call(this,t))._missingCards=null,i._cards=null,i._id=null,i._archetypes=null,i._artIds=null,i._name=null,i.isPreBuilt=!1,i.deckMetadata=n,i._snapJson=e,i._collection=r,i}return n=u,(e=[{key:"missingCards",get:function(){if(this.isPreBuilt)return{count:0,defIds:{}};if(!this._collection)return null;if(null===this._missingCards){this._missingCards={count:0,defIds:{}};var t=!0,n=!1,e=void 0;try{for(var r,i=this.data.d[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){var o=r.value,a=this.deckMetadata.d_map[o];h(this._collection,a)||this._missingCards.defIds[a]||(this._missingCards.defIds[a]=!0,this._missingCards.count++)}}catch(u){n=!0,e=u}finally{try{t||null==i.return||i.return()}finally{if(n)throw e}}}return this._missingCards}},{key:"name",get:function(){var t;return null!==(t=this._name)&&void 0!==t?t:""},set:function(t){this._name=t}},{key:"cards",get:function(){if(!this._cards){this._cards={};var t=!0,n=!1,e=void 0;try{for(var r,i=this.data.d[Symbol.iterator]();!(t=(r=i.next()).done);t=!0){var o=r.value,a=this.deckMetadata.d_map[o],u=this._snapJson.getEntityByDefId(a);u&&(this._cards[a]?this._cards[a].count++:this._cards[a]={card:u,count:1})}}catch(c){n=!0,e=c}finally{try{t||null==i.return||i.return()}finally{if(n)throw e}}}return this._cards}},{key:"getArchetypeId",value:function(t){var n=!0,e=!1,r=void 0;try{for(var i,o=(0,a.Ae)(t)[Symbol.iterator]();!(n=(i=o.next()).done);n=!0){var u,c=i.value,l=this.data[c];if(l)return null!==(u=l.arch_id)&&void 0!==u?u:null}}catch(d){e=!0,r=d}finally{try{n||null==o.return||o.return()}finally{if(e)throw r}}return null}},{key:"getArchetypeCandidateId",value:function(t){var n=!0,e=!1,r=void 0;try{for(var i,o=(0,a.Ae)(t)[Symbol.iterator]();!(n=(i=o.next()).done);n=!0){var u,c=i.value,l=this.data[c];if(l)return null!==(u=l.alt_arch_id)&&void 0!==u?u:null}}catch(d){e=!0,r=d}finally{try{n||null==o.return||o.return()}finally{if(e)throw r}}return null}},{key:"getArchetypeIdsByPool",value:function(){if(!this._archetypes){this._archetypes={};var t=Object.keys(r.C6),n=!0,e=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var u,c=o.value,l=this.data[c];l&&(this._archetypes[c]=null!==(u=l.arch_id)&&void 0!==u?u:-1)}}catch(d){e=!0,i=d}finally{try{n||null==a.return||a.return()}finally{if(e)throw i}}}return this._archetypes}},{key:"id",get:function(){return this._id||(this._id=v(Object.entries(this.cards).flatMap((function(t){var n=g(t,2),e=n[0],r=n[1].count;return new Array(r).fill(e)})))),this._id}},{key:"artIds",get:function(){if(!this._artIds){var t=this;this._artIds=this.data.d.slice(0,3).map((function(n){return t.deckMetadata.d_map[n]}))}return this._artIds}}])&&s(n.prototype,e),i&&s(n,i),u}(o.M),x=function(t,n){var e=(0,c.h_)(),r=(0,i.mi)(),o=r.playerCollection,a=r.hasTriedToLoad;return(0,l.useMemo)((function(){return null!==e&&t&&n&&a?t.map((function(t){return new y(t,n,e,o)})):null}),[e,t,n,o,a])}}
1,62286:function(t,n,e){"use strict";e.d(n,{I:function(){return f},H:function(){return p}});var r=e(42295),i=e(59683),o=e(82345),a=e(70842),u=e(93141),c=e(19067),l=e(84343),d=e(33444),s=e(48081),f=function(t){return(0,s.Oi)(t)?d.tK:(0,s.gy)(t)?d.pZ:(0,s.rH)(t)?d.XS:(0,s.bA)(t)?d.lU:(0,s.Oe)(t)?d.RK:(0,s.c7)(t)?d.CR:(0,s.TR)(t)?d.Vo:(0,s.v5)(t)?d.ut:d.ro},p=function(t){return(0,s.Oi)(t)?[r.Pg[t[0]],r.Pg[t[1]]]:(0,s.gy)(t)?[a.Xw[t[0]],a.Xw[t[1]]]:(0,s.rH)(t)?[c.j[t[0]],c.j[t[1]]]:(0,s.bA)(t)?[u.b0[t[0]],u.b0[t[1]]]:(0,s.Oe)(t)?[o.Hv[t[0]],o.Hv[t[1]]]:(0,s.c7)(t)?[o.Hq[t[0]],o.Hq[t[1]]]:(0,s.TR)(t)?[i.WJ[t[0]],i.WJ[t[1]]]:(0,s.v5)(t)?[l.sK[t[0]],l.sK[t[1]]]:t}},33444:function(t,n,e){"use strict";e.d(n,{ro:function(){return f},tK:function(){return p},RK:function(){return _},CR:function(){return g},lU:function(){return b},pZ:function(){return m},Vo:function(){return h},XS:function(){return v},ut:function(){return y},Ae:function(){return w},IY:function(){return k}});var r=e(42295),i=e(59683),o=e(82345),a=e(70842),u=e(93141),c=e(94124),l=e(19067),d=e(84343),s=e(57888),f=Object.entries(c.uC),p=Object.entries(r.Pg),_=Object.entries(o.Hv),g=Object.entries(o.Hq),b=Object.entries(u.b0),m=Object.entries(a.Xw),h=Object.entries(i.WJ),v=Object.entries(l.j),y=Object.entries(d.sK),x={pool1:[s.xc.Pool1],pool2:[s.xc.Pool2],pool3p:[s.xc.Pool3,s.xc.Pool3_500_8000,s.xc.Pool3_8000_16000,s.xc.Pool3_16000_24000,s.xc.Pool3_24000_plus],cl8000p:[s.xc.Pool3_8000_16000,s.xc.Pool3_16000_24000,s.xc.Pool3_24000_plus],cl16000p:[s.xc.Pool3_16000_24000,s.xc.Pool3_24000_plus],cl24000p:[s.xc.Pool3_24000_plus]},w=function(t){return x[t]},k=function(t){return(t+10)/20*100}},97675:function(t,n,e){"use strict";e.d(n,{$S:function(){return c},$r:function(){return d}});var r=e(48764).Buffer,i=/\r?\n|\\r\\n|\\n/,o=/^[A-Za-z0-9+/]+={0,2}$/,a=/^#\s*\(\s*\d+\s*\)\s*(.+?)\s*$/,u=function(t){return t.split(i).map((function(t){return t.trim()}))},c=function(t,n){if(12!==n.length)throw Error("A deck needs 12 cards");var e=JSON.stringify({Name:t,Cards:n.map((function(t){return{CardDefId:"string"===typeof t?t:t.defId}}))});return r.from(e).toString("base64")},l=function(t,n){var e=u(t).map((function(t){var n;return null===(n=a.exec(t))||void 0===n?void 0:n[1]})).filter((function(t){return!!t})).map((function(t){var e;return null===(e=n.getCardByName(t))||void 0===e?void 0:e.defId})).filter((function(t){return!!t}));return e.length?{name:"",cardsDefId:e}:null},d=function(t,n){var e,i=u(t).filter((function(t){return!t.startsWith("#")&&t.length>1})),a=null!==(e=i.find((function(t){return o.test(t)})))&&void 0!==e?e:i[0];if(!a)return n?l(t,n):null;if(a.startsWith("ey"))try{return function(t){var n=JSON.parse(r.from(t,"base64").toString()),e=(n.Cards||[]).map((function(t){return t.CardDefId||""}));return e.length?{name:n.Name||"",cardsDefId:e}:null}(a)}catch(c){return n?l(t,n):null}if(n)try{return function(t,n){var e=r.from(t,"base64").toString().split(",").map((function(t){return t.trim()})).map((function(t){return n.getDefIdFromStringCode(t)}));if(!e.length||e.some((function(t){return!t})))throw Error("Unknown card code in deck string");return{name:"",cardsDefId:e}}(a,n)}catch(c){return l(t,n)}return null}},99005:function(t,n){"use strict";n.Z="https://static.snap.untapped.gg/_next/static/images/background-stars-38afafe03a475e4ccaa75d06a097928a.webp"}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.