1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9649],{82817:function(t,n,e){e.d(n,{LO:function(){return f},pi:function(){return g}});var r=e(85893),i=e(8081),o=e(67602),a=e(50295),l=e(51019),c=e(74990),s=e(98701),u=e(47292),d=e(67294),p=e(10615),f=12,g=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return 0===+n?t(e?"Owned Cards":"Owned"):12===+n?t(e?"All Cards":"All"):+n>0?e?t("{count} Missing {count, plural, one {Card} other {Cards}}",{count:+n}):t("{numCardsMissing} Missing",{numCardsMissing:+n}):t("Unknown")};n.ZP=function(t){var n=t.selected,e=t.onChange,f=t.analyticsPage,m=t.withExtraOptions,h=(0,c.$)().t,b=(0,p.HzF)(600),x=(0,l.mi)(),v=x.playerCollection,C=x.loading,w=x.refresh,y=(0,d.useState)(!1),k=y[0],j=y[1],P=v&&!C?(0,u.distanceInWords)(new Date,v.last_updated,{addSuffix:!0}):null,A=null===v&&!C,O=(0,a.Hm)().openSetupMobileSync,Z=(0,d.useMemo)((function(){return{0:P?h("Collection changed {lastUpdated}",{lastUpdated:P}):h("Sync your collection"),1:P?h("Collection changed {lastUpdated}",{lastUpdated:P}):h("Sync your collection")}}),[P,h]),S=(0,d.useMemo)((function(){var t=[{key:"12",text:m?g(h,12):h("All Decks"),"data-analytics-label":s.ZP.getAnalyticsLabel(f,"All","collection-filter")},{key:"0",text:m?g(h,0):h("Cards I Own"),"data-analytics-label":s.ZP.getAnalyticsLabel(f,"Buildable","collection-filter"),tooltip:b?void 0:Z[0],tooltipPosition:"top",tooltipVariant:"borderless"}];return m&&t.push({key:"1",text:g(h,1),"data-analytics-label":s.ZP.getAnalyticsLabel(f,"1 Missing","collection-filter"),tooltip:b?void 0:Z[1],tooltipPosition:"top",tooltipVariant:"borderless"}),t}),[f,Z,b,h,m]);return(0,r.jsxs)(o.iI,{children:[(0,r.jsx)(p.COr,{color:"primary",data:S,active:String(n),onActiveChanged:function(t){var n=Number(t);12!==n&&A?j(!0):(null===e||void 0===e||e(n),s.rk.onFilterChange())}}),b&&void 0!==n&&Z[n]?(0,r.jsx)(o.j_,{children:Z[n]}):null,k?(0,r.jsx)(i.Z,{onClickSetupAutoSync:function(){return O("decks-page")},analyticsPage:s.Rh.Decks,onClose:function(){j(!1),w&&w()}}):null]})}},43552:function(t,n,e){e.d(n,{v0:function(){return F},ch:function(){return G},BA:function(){return R}});var r=e(85893),i=e(49875),o=e(67602),a=e(19041),l=e(17581),c=e(7338),s=e(60824),u=e(74990),d=e(98701),p=e(67294),f=e(10615),g=e(59016);function m(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}function h(){var t=m(["\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\n\t> div:nth-child(2) {\n\t\tmargin-left: 20px;\n\n\t\t> button {\n\t\t\tborder: none;\n\n\t\t\t&.bt-inactive {\n\t\t\t\tbackground: rgba(240, 240, 240, 0.57);\n\t\t\t}\n\n\t\t\t> i {\n\t\t\t\tcolor: #34006b;\n\t\t\t\tfont-weight: bold;\n\t\t\t\tfont-size: 14px;\n\t\t\t}\n\n\t\t\t&:first-child {\n\t\t\t\tborder-radius: 3px 0 0 3px;\n\n\t\t\t\ti {\n\t\t\t\t\ttransform: translateX(2px);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&:last-child {\n\t\t\t\tborder-radius: 0 3px 3px 0;\n\n\t\t\t\ti {\n\t\t\t\t\ttransform: translateX(-2px);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n"]);return h=function(){return t},t}function b(){var t=m(["\n\tmin-width: 150px;\n\twidth: 100%;\n\n\t> ul {\n\t\tmin-width: 150px;\n\t}\n\n\t","\n\n\t@media (max-width: 1300px) {\n\t\twidth: unset;\n\t}\n\n\t@media (max-width: 600px) {\n\t\tmax-width: unset;\n\t\tmin-width: unset;\n\t\twidth: 100%;\n\t}\n"]);return b=function(){return t},t}function x(){var t=m(["\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\ttext-align: center;\n\tcolor: black;\n\tpadding: 8px 16px 16px;\n\tborder: 1px solid rgba(0, 0, 0, 0.1);\n\tborder-top: none;\n\tborder-radius: 3px;\n\t> * {\n\t\tflex: 1;\n\t}\n\tmin-width: 285px;\n\n\tinput {\n\t\twidth: 100%;\n\t\tmargin-top: 4px;\n\n\t\t&::-webkit-slider-thumb {\n\t\t\tbackground: ",";\n\t\t\tborder: 1px solid ",";\n\t\t}\n\n\t\t&::-webkit-slider-runnable-track {\n\t\t\tbackground: linear-gradient(\n\t\t\t\tto right,\n\t\t\t\t"," 0%,\n\t\t\t\t"," 100%\n\t\t\t);\n\t\t}\n\n\t\t&::-moz-range-thumb {\n\t\t\tbackground: ",";\n\t\t\tborder: 1px solid ",";\n\t\t}\n\n\t\t&::-moz-range-track {\n\t\t\tbackground: linear-gradient(\n\t\t\t\tto right,\n\t\t\t\t"," 0%,\n\t\t\t\t"," 100%\n\t\t\t);\n\t\t}\n\n\t\t&::-ms-thumb {\n\t\t\tbackground: ",";\n\t\t\tborder: 1px solid ",";\n\t\t}\n\n\t\t&::-ms-track {\n\t\t\tbackground: linear-gradient(\n\t\t\t\tto right,\n\t\t\t\t"," 0%,\n\t\t\t\t"," 100%\n\t\t\t);\n\t\t}\n\t}\n"]);return x=function(){return t},t}function v(){var t=m(["\n\tmargin-top: 8px;\n\tpadding: 8px;\n\tborder-radius: 3px;\n\tbackground: ",";\n\tcolor: #1c1921;\n"]);return v=function(){return t},t}function C(){var t=m(["\n\tmargin-right: 5px;\n"]);return C=function(){return t},t}function w(){var t=m(["\n\tposition: relative;\n\tmin-height: 18px;\n\n\t> * {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tcolor: rgba(0, 0, 0, 0.81);\n\t\tfont-size: 13px;\n\n\t\t&:first-child {\n\t\t\tleft: 0;\n\t\t}\n\n\t\t&:last-child {\n\t\t\tright: 0;\n\t\t}\n\t}\n"]);return w=function(){return t},t}var y,k=g.ZP.div.withConfig({componentId:"sc-13930697-0"})(h()),j=g.ZP.div.withConfig({componentId:"sc-13930697-1"})(b(),(function(t){return t.premiumBorder?"\n\t\t.dropdown-toggle {\n\t\t\tborder-color: ".concat(f.y4i.PremiumBorder," !important;\n\t\t\tbox-shadow: 0px 0px 3px ").concat(f.y4i.PremiumBorder,";\n\t\t}\n\t"):void 0}));!function(t){t.ColorTransparent="rgba(103, 33, 182, 0.13)",t.ColorFull="rgba(109, 33, 182, 1)",t.HandleBorder="rgba(255, 255, 255, 0.13)"}(y||(y={}));var P,A=g.ZP.div.withConfig({componentId:"sc-13930697-2"})(x(),y.ColorFull,y.HandleBorder,y.ColorTransparent,y.ColorFull,y.ColorFull,y.HandleBorder,y.ColorTransparent,y.ColorFull,y.ColorFull,y.HandleBorder,y.ColorTransparent,y.ColorFull),O=g.ZP.div.withConfig({componentId:"sc-13930697-3"}
1)(v(),f.Ttl.WarningBackground),Z=g.ZP.i.withConfig({componentId:"sc-13930697-4"})(C()),S=g.ZP.div.withConfig({componentId:"sc-13930697-5"})(w());!function(t){t.GameCount="GameCount",t.AverageCubes="AverageCubes",t.WinRate="WinRate"}(P||(P={}));var I=["GameCount","AverageCubes","WinRate"],B=["GameCount","WinRate"],F="GameCount",z=function(t,n,e){var r,i={GameCount:function(t){return t("conquest"===n?"Battle Count":"Game Count")},AverageCubes:function(t){return t("Avg. Cubes")},WinRate:function(t){return t("Winrate")}};return null===(r=i[e])||void 0===r?void 0:r.call(i,t)};function G(t,n,e,i,a,l){if(!e)return(0,r.jsx)(o.Rk,{premiumColor:l,children:"\u2026"});var c=t("conquest"===n?"({count}+ Battles)":"({count}+ Games)",{count:"".concat(a)});return(0,r.jsxs)(o.Rk,{premiumColor:l,children:[i?(0,r.jsx)("i",{className:"fas fa-lock"}):null,z(t,n,e),"GameCount"===e||void 0===a?null:c]})}function R(t,n){return"GameCount"===t||void 0===n?P[t]:"".concat(P[t]," (").concat(n,"+ Games)")}n.ZP=function(t){var n=t.selected,e=t.onChange,g=t.initialOpen,m=t.id,h=t.inline,b=t.disabled,x=t.sortDirectionSettings,v=t.analyticsPage,C=t.minGames,w=t.setMinGames,y=t.onOpen,P=t.forceShowPremiumOptions,R=(0,p.useRef)(null),V=(0,u.$)().t,W=(0,c.$3)("snap-decks-stats"),L=(0,s.N)("ab-expose-winrate"),N=(0,f.HzF)(768),H=(0,l.rE)().setIsOpen,q=(0,a.u)().gameMode,E="ranked"===q&&L,U=(0,p.useRef)(C),X=(0,p.useState)(C),$=X[0],Y=X[1];return(0,f.y1H)($,(function(t){void 0!==t&&(null===w||void 0===w||w(t))}),!1,200),(0,p.useEffect)((function(){return Y(C)}),[C]),(0,p.useEffect)((function(){var t;null===(t=R.current)||void 0===t||t.scrollIntoView({behavior:"auto",block:"nearest"})}),[n]),(0,r.jsxs)(k,{children:[(0,r.jsx)(j,{ref:R,premiumBorder:!W&&L,children:(0,r.jsxs)(f.Z_0,{id:m,display:b?"Disabled":G(V,q,n,!W&&!E,C,!W&&E),dropdownProps:{inline:h||!!N,customOffset:[-40,0]},initialOpen:g,locked:b,onOpen:function(){var t;null===y||void 0===y||y(),null===(t=R.current)||void 0===t||t.scrollIntoView({behavior:"auto",block:"nearest"})},onClose:function(){U.current!==$&&(U.current=$,d.ZP.dataLayer({dataLayer:{event:"snap.filterChange",filter:"minGames",page:v,value:$}}),d.rk.onFilterChange())},children:[("ranked"===q?I:B).map((function(t){var i=!P&&t!==F&&!W&&!(E&&"WinRate"===t),o=n===t;return(0,r.jsx)(f.hP3,{active:o,onClickCapture:function(n){i?H(!0):(n.stopPropagation(),null===e||void 0===e||e(t),d.rk.onFilterChange())},radio:!0,locked:i,premiumLockIcon:!0,"data-analytics-label":d.ZP.getAnalyticsLabel(v,t.toString(),"date-filter"),className:i?"premium-hover":o?"active":void 0,children:z(V,q,t)},t)})),"GameCount"===n?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.NF,{style:{borderTop:"1px solid rgba(0, 0, 0, 0.15)",borderBottom:"none"},children:(0,r.jsx)("span",{children:V("Select the threshold above which decks should be sorted to the top.")})}),(0,r.jsxs)(A,{children:[(0,r.jsx)("span",{children:V("conquest"===q?"Min. Battle Volume: {count}":"Min. Game Volume: {count}",{count:"".concat($)})}),(0,r.jsx)(f.iRW,{value:T($),onValueChanged:function(t){return Y(M(t))},onReleased:function(t){return null===w||void 0===w?void 0:w(M(t))},minValue:0,maxValue:D+_,step:1}),(0,r.jsxs)(S,{children:[(0,r.jsx)("span",{children:"20"}),(0,r.jsx)("span",{style:{left:"".concat(100*D/(D+_),"%"),transform:"translateX(-50%)"},children:"200"}),(0,r.jsx)("span",{children:"1000"})]}),void 0!==$&&$<200?(0,r.jsxs)(O,{children:[(0,r.jsx)(Z,{className:"fal fa-triangle-exclamation"}),V("conquest"===q?"Stats confidence decreases with lower battle volume":"Stats confidence decreases with lower game volume")]}):null]})]}),W?null:(0,r.jsx)(i.Z,{type:"conquest"===q?"conquestFilters":"filters",analyticsPage:v,analyticsIdentifier:"filter-sort-decks"})]})}),x?(0,r.jsx)(f.COr,{color:"white",data:[{key:"asc",text:"",icon:"long-arrow-up"},{key:"desc",text:"",icon:"long-arrow-down"}],active:x.selected,onActiveChanged:function(t){x.onChange(t),d.rk.onFilterChange()}}):null]})};var D=18,_=16;function M(t){return t<=D?10*t+20:10*D+50*(t-D)+20}function T(t){return void 0===t?T(200):t<200?(t-20)/10:D+(t-200)/50}},65027:function(t,n,e){e.d(n,{Z:function(){return h}});var r=e(85893),i=e(17643),o=e(76255),a=e(66249),l=e(37172),c=e(52100),s=e(62309),u=e(51019),d=e(74990),p=e(98701),f=(e(67294),e(10615));function g(){var t,n,e=(t=["\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\tmin-height: 190px;\n\n\t@media (max-width: 500px) {\n\t\tmin-height: 170px;\n\t}\n"],n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})));return g=function(){return e},e}var m=e(59016).ZP.div.withConfig({componentId:"sc-e0c93d7b-0"})(g()),h=function(){var t=(0,d.$)().t,n=(0,s.mA)().account,e=(0,u.mi)(),g=e.playerCollection,h=e.hasTriedToLoad,b=(0,o.kF)(),x=null===g&&h?(0,r.jsx)(l.Z,{analyticsPage:p.Rh.Decks,analyticsIdentifier:"collection-sync"},"collection-sync-banner"):null;if(b)return(0,r.jsx)(i.t,{});var v=null===n||!n.snap_players.length||n.snap_players.every((function(t){return null===t.last_match_upload}))?(0,r.jsx)(c.Z,{title:t("Track Your Own Deck Stats"),text:t("View your winrate and cubes gained with the Untapped.gg Companion."),backgroundColor:"rgba(60, 74, 81, 0.33)",borderColor:"rgba(91, 106, 113, 0.45)",button:(0,r.jsx)(a.ZP,{buttonSource:"SNAP Deck Page Banner",analyticsPage:p.Rh.Decks,analyticsIdentifier:"personal-stats-banner",referrer:{utm_medium:"website",utm_source:"untapped",utm_campaign:"ugg-snap-decks-banner"}}),image:{src:"https://static.snap.untapped.gg/_next/static/images/personal-stats-1e0808db4ed6711e66df68ef5a4e9287.webp",alt:t("Personal Stats Banner"),style:{width:"100%",marginRight:"4%"}}},"personal-stats-banner"):null;return(0,r.jsx)(f.lr9,{interval:15e3,hideProgress:!0,vertically:!0,style:{marginTop:30,marginBottom:20},children:[x,v].filter((function(t){return null!==t})).map((function(t,n){return(0,r.jsx)(m,{children:t},n)}))})}},45527:function(t,n,e){e.d(n,{Pd:function(){return c},gF:function(){return s},bj:function(){return u}});var r=e(59016);function i(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}function o(){var t=i(["\n\tposition: relative;\n\tdisplay: flex;\n\theight: 35px;\n\tbackground: ",";\n"]);return o=function(){return t},t}function a(){var t=i(["\n\tposition: absolute;\n\ttop: 50%;\n\tleft: ",';\n\tdisplay: flex;\n\ttransform: translateX(-50%) translateY(-50%);\n\n\tcolor: #1c1820;\n\n\t> i {\n\t\tfont-weight: bold;\n\t}\n\n\t> span {\n\t\tfont-family: "Open Sans", sans-serif;\n\t\tfont-weight: 700;\n\t\tfont-size: 14px;\n\t\tmargin-left: 5px;\n\t}\n\n\t@media (max-width: 800px) {\n\t\t> span {\n\t\t\tfont-size: 11px;\n\t\t\twhite-space: nowrap;\n\t\t}\n\t}\n\n\t@media (max-width: 350px) {\n\t\t> i {\n\t\t\tfont-size: 14px;\n\t\t}\n\n\t\t> span {\n\t\t\tfont-size: 10px;\n\t\t}\n\t}\n']);return a=function(){return t},t}function l(){var t=i(["\n\tdisplay: flex;\n"]);return l=function(){return t},t}var c=r.ZP.div.withConfig({componentId:"sc-8bc3e6bb-0"})(o(),(function(t){var n=t.side;return null===n?"linear-gradient(90deg, rgba(217, 162, 21, 0) 0%, #D9A215 25%, #D9A215 75%, rgba(217, 162, 21, 0) 100%)":"left"
1===n?"linear-gradient(90deg, rgba(217, 162, 21, 0) 0%, #D9A215 50%, #D9A215 100%)":"linear-gradient(270deg, rgba(217, 162, 21, 0) 0%, #D9A215 50%, #D9A215 100%)"})),s=r.ZP.div.withConfig({componentId:"sc-8bc3e6bb-1"})(a(),(function(t){return t.singleColumn?"50%":"-15px"})),u=r.ZP.div.withConfig({componentId:"sc-8bc3e6bb-2"})(l())}}]);
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.