(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["tcg_pvc_PopoverLink"],{"13d5":function(t,e,o){"use strict";var r=o("23e7"),i=o("d58f").left,n=o("a640"),s=o("ae40"),l=n("reduce"),u=s("reduce",{1:0});r({target:"Array",proto:!0,forced:!l||!u},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"2a9f":function(t,e,o){"use strict";o.r(e);var r=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[t._v(" "+t._s(t.evaluateFieldLabel())+" "),o("a",{staticClass:"popover-link",style:this.$props.options.customStyle,attrs:{title:t.value+" "+t.popoverValue},on:{click:t.didClickPopoverLink}},[t._v(" "+t._s(t.value)+" ")])])},i=[],n=o("f076"),s={mixins:[n["a"]],props:["fieldLabel"],data:function(){var t={showFieldLabel:!1};return t},computed:{popoverOptions:function(){return this.$props.options},value:function(){var t=this.$props.slots.value,e=this.$props.slots.transforms||[],o=this.$props.slots.nullValue||"";return this.evaluateSlot(t,e,o)},popoverValue:function(){var t=this.value,e=this.$props.slots.popoverTransforms||[],o=this.$props.slots.popoverNullValue||"";return this.evaluateSlot(t,e,o)},popoverPreText:function(){var t=this.$props.slots.popoverPreText||"";return this.evaluateSlot(t)},popoverPostText:function(){var t=this.$props.slots.popoverPostText||"";return this.evaluateSlot(t)},shouldShowValue:function(){return!1!==this.$props.slots.shouldShowValue},popoverText:function(){return!0===this.shouldShowValue?this.popoverPreText+" "+this.popoverValue+" "+this.popoverPostText:this.popoverPreText+" "+this.popoverPostText}},created:function(){window.addEventListener("resize",this.handleWindowResize),this.handleWindowResize()},methods:{didClickPopoverLink:function(t){this.$store.commit("setPopoverOpen",!0),this.$store.commit("setPopoverText",this.popoverText),this.$store.commit("setPopoverOptions",this.popoverOptions)},handleWindowResize:function(){window.innerWidth>=750?this.showFieldLabel=!1:this.showFieldLabel=!0},evaluateFieldLabel:function(){return this.$props.fieldLabel&&this.showFieldLabel?this.$props.fieldLabel+": ":""}}},l=s,u=(o("cfcb"),o("2877")),a=Object(u["a"])(l,r,i,!1,null,null,null);e["default"]=a.exports},cfcb:function(t,e,o){"use strict";var r=o("dbb8"),i=o.n(r);i.a},d58f:function(t,e,o){var r=o("1c0b"),i=o("7b0b"),n=o("44ad"),s=o("50c4"),l=function(t){return function(e,o,l,u){r(o);var a=i(e),p=n(a),c=s(a.length),f=t?c-1:0,h=t?-1:1;if(l<2)while(1){if(f in p){u=p[f],f+=h;break}if(f+=h,t?f<0:c<=f)throw TypeError("Reduce of empty array with no initial value")}for(;t?f>=0:c>f;f+=h)f in p&&(u=o(u,p[f],f,a));return u}};t.exports={left:l(!1),right:l(!0)}},dbb8:function(t,e,o){},f076:function(t,e,o){"use strict";o("4de4"),o("caad"),o("13d5"),o("b64b"),o("2532");var r,i,n=o("b85c"),s=o("53ca"),l={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 e=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!t)return t;var i,l=Object(s["a"])(t);if("function"===l){var u=this.$store.state,a=this.$controller,p=t,c=this.item;i=c?p(u,c,a):p(u)}else i=t;if(!1===i);else if(!o.includes("currency")&&!i)return r;var f,h=Object(n["a"])(o);try{var v=function(){var t=f.value,o=e.$config.transforms[t],r=void 0,n=o.globals;n&&(r=Object.keys(window).filter((function(t){return n.includes(t)})).reduce((function(t,e){return t[e]=window[e],t}),{}));var s=o.transform;i=s(i,r)};for(h.s();!(f=h.n()).done;)v()}catch(d){h.e(d)}finally{h.f()}return i}}},u=l,a=o("2877"),p=Object(a["a"])(u,r,i,!1,null,null,null);e["a"]=p.exports}}]);
//# sourceMappingURL=tcg_pvc_PopoverLink.f6b1bfc3.js.map