(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["tcg_pvc_CollectionSummary"],{"13d5":function(t,n,r){"use strict";var e=r("23e7"),i=r("d58f").left,u=r("a640"),a=r("ae40"),o=u("reduce"),c=a("reduce",{1:0});e({target:"Array",proto:!0,forced:!o||!c},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},a15b:function(t,n,r){"use strict";var e=r("23e7"),i=r("44ad"),u=r("fc6a"),a=r("a640"),o=[].join,c=i!=Object,s=a("join",",");e({target:"Array",proto:!0,forced:c||!s},{join:function(t){return o.call(u(this),void 0===t?",":t)}})},cd8c:function(t,n,r){"use strict";r.r(n);var e=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("h3",[t._v(" "+t._s(t.summary)+" ")])},i=[],u=(r("99af"),r("a15b"),r("13d5"),r("fb6a"),r("b64b"),r("f076")),a={mixins:[u["a"]],computed:{summary:function(){var t=this.valueQuantities,n=this.isPlural(t),r="context"+(n?"Plural":"Singular"),e=this[r],i=this.naturalList,u=e(i);return u},contextSingular:function(){var t=this.options.context;return t.singular||t},contextPlural:function(){var t=this.options.context;return t.plural||t},descriptorSingular:function(){var t=this.options.descriptor;return t.singular||t},descriptorPlural:function(){var t=this.options.descriptor;return t.plural||t+"s"},naturalList:function(){var t=this.valueQuantities,n=this.naturalizeQuantities(t),r=n.length;if(Array.isArray(n)&&r>0){if(1===r)return n[0];if(2===r)return n.join(" and ");var e=n.slice(0,n.length-1).join(", "),i=n[n.length-1];return"".concat(e,", and ").concat(i)}return"no ".concat(this.descriptorPlural)},valueQuantities:function(){var t=this.slots.items(this.$store.state);if(t){var n=this.options.getValue,r=t.reduce((function(t,r){var e=n(r);return t[e]=t[e]||0,t[e]++,t}),{});return r}}},methods:{isPlural:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.keys(t);if(1===n.length){var r=n[0],e=t[r];if(1===e)return!1}return!0},naturalizeQuantities:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.options.types,e=this.options.includeZeroes,i=r.reduce((function(r,i){var u=i.value,a=n[u]||0;if(0===a){if(!e)return r;a="no"}var o,c=i.label;if(1!==a&&0!=t.options.context.pluralizeList){var s=i.plural||c+"s";o=s}else o=c;var l="".concat(a," ").concat(o);return r.push(l),r}),[]);return i}}},o=a,c=r("2877"),s=Object(c["a"])(o,e,i,!1,null,"3dd72eec",null);n["default"]=s.exports},d58f:function(t,n,r){var e=r("1c0b"),i=r("7b0b"),u=r("44ad"),a=r("50c4"),o=function(t){return function(n,r,o,c){e(r);var s=i(n),l=u(s),f=a(s.length),d=t?f-1:0,v=t?-1:1;if(o<2)while(1){if(d in l){c=l[d],d+=v;break}if(d+=v,t?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;t?d>=0:f>d;d+=v)d in l&&(c=r(c,l[d],d,s));return c}};t.exports={left:o(!1),right:o(!0)}},f076:function(t,n,r){"use strict";r("4de4"),r("caad"),r("13d5"),r("b64b"),r("2532");var e,i,u=r("b85c"),a=r("53ca"),o={props:{slots:{type:Object,default:function(){return{}}},options:{type:Object,default:function(){return{}}},item:{type:Object,default:function(){return{}}}},computed:{nullValue:function(){var t=this.options||{};return t.nullValue}},beforeCreate:function(){},created:function(){},methods:{evaluateSlot:function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!t)return t;var i,o=Object(a["a"])(t);if("function"===o){var c=this.$store.state,s=this.$controller,l=t,f=this.item;i=f?l(c,f,s):l(c)}else i=t;if(!1===i);else if(!r.includes("currency")&&!i)return e;var d,v=Object(u["a"])(r);try{var h=function(){var t=d.value,r=n.$config.transforms[t],e=void 0,u=r.globals;u&&(e=Object.keys(window).filter((function(t){return u.includes(t)})).reduce((function(t,n){return t[n]=window[n],t}),{}));var a=r.transform;i=a(i,e)};for(v.s();!(d=v.n()).done;)h()}catch(p){v.e(p)}finally{v.f()}return i}}},c=o,s=r("2877"),l=Object(s["a"])(c,e,i,!1,null,null,null);n["a"]=l.exports}}]);
//# sourceMappingURL=tcg_pvc_CollectionSummary.a2abe5bc.js.map