/*!
 * Premium Stock Market Widgets
 * ------------------------------
 * Version 2.1.7d, built on Monday, June 22, 2020
 * Copyright (c) Financial apps and plugins <info@financialplugins.com>. All rights reserved.
 * Demo: https://financialplugins.com/products/premium-stock-market-widgets
 * Purchase (WordPress version): https://1.envato.market/az97R
 * Purchase (PHP version): https://1.envato.market/AQ17o
 * Like: https://www.facebook.com/financialplugins/
 * 
 */
(window.webpackJsonp96739=window.webpackJsonp96739||[]).push([[16],{458:function(t,s,e){"use strict";var a=e(462),i=e(463),o=e(464),r={data:function(){return{display:!1}},computed:{config:function(){return this.$store.getters[this.code+"/config"]},text:function(){return this.$store.getters[this.code+"/text"]},globalMarketData:function(){return this.$store.getters[this.code+"/marketData"]},code:function(){return this.$root.code},type:function(){return this.$attrs.type},api:function(){return this.$attrs.api},assets:function(){var t=[];if(this.config.assetRecognitionRegexp){var s=new RegExp(this.config.assetRecognitionRegexp,"i"),e=location.href.replace(this.config.websiteUrl+"/","").match(s);e&&void 0!==e[1]&&(t=[e[1].toUpperCase()])}return 0===t.length&&void 0!==this.$attrs.assets&&""!==this.$attrs.assets&&(t=this.$attrs.assets.toString().split(",")),t},assetsSubscription:function(){var t={type:this.marketDataType,subType:this.marketDataSubType,assets:this.assets,api:this.api};return"history"==this.marketDataType&&(t.range=this.$attrs.range,t.interval=this.$attrs.interval),t},fields:function(){return this.$attrs.fields?this.$attrs.fields.split(","):[]},classes:function(){return[this.code+"-"+this.$attrs.type,this.code+"-"+this.$attrs.template,this.code+"-"+this.$attrs.color]},classesWithIndicator:function(){var t=this.classes,s=this.quoteValue(this.assets[0],"change_abs"),e=s<0?this.code+"-down":s>0?this.code+"-up":"";return e&&-1==t.indexOf(e)&&t.push(e),t},marketDataLoaded:function(){var t=this,s=!1;if("table-history"==this.type||"chart"==this.type){var e=this.marketData(this.assets[0]);s=!(!e||e.symbol!=this.assets[0])}else{var a=0;this.assets.forEach(function(s){a+=t.quoteValue(s,"symbol")==s?1:0}),s=a==this.assets.length}return s},isChildWidget:function(){return void 0!==this.$parent.$parent.$parent&&void 0!==this.$parent.$parent.$parent.api},marketDataType:function(){return void 0!==this.$attrs["market-data-type"]?this.$attrs["market-data-type"]:"table-history"==this.type||"chart"==this.type?"history":"table-quotes"==this.type||"comparison"==this.type?"quotes-extended":"info"==this.type?"info":"button-link"==this.type?this.isChildWidget?this.$parent.$parent.$parent.marketDataType:"quotes":this.$data.forceMarketDataType||"quotes"},marketDataSubType:function(){return"history"==this.marketDataType?this.$attrs.range+"-"+this.$attrs.interval:"live"}},methods:{checkBoolean:function(t){var s=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return void 0===t&&s||"boolean"==typeof t&&t||"string"==typeof t&&"true"==t},marketData:function(t){var s=null;return void 0!==this.globalMarketData[this.api]&&void 0!==this.globalMarketData[this.api][this.marketDataType]&&void 0!==this.globalMarketData[this.api][this.marketDataType][this.marketDataSubType]&&(s=this.globalMarketData[this.api][this.marketDataType][this.marketDataSubType][t]||null),s},quoteValue:function(t,s){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=this.marketData(t);return a&&void 0!==a[s]?null!=e?a[s][e]:a[s]:""},quoteValueFormatted:function(t,s){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=new a.a,n=new i.a,l=new o.a,c=this.quoteValue(t,s,e);if("name"==s){var u=this.quoteValue(t,"name",e);return void 0!==this.config.assetNamesOverrides[t]?this.config.assetNamesOverrides[t]:u}if(["price","open","low","high","close","previous_close","change_abs","52_week_low","52_week_low_change_abs","52_week_high","52_week_high_change_abs","50_day_average","200_day_average","52_week_change","book_value","quick_ratio","current_ratio"].indexOf(s)>-1)c=r.variableDecimal(c);else if(["change_pct","52_week_low_change_pct","52_week_high_change_pct","5_year_avg_dividend_yield","payout_ratio","dividend_yield","annual_dividend_yield","short_pct_of_float","profit_margin","quarter_earnings_growth","gross_margin","operating_margin","ebitda_margin","return_on_assets","return_on_equity","earnings_growth","revenue_growth"].indexOf(s)>-1)c=r.percentage(100*c);else if(["shares_outstanding","shares_float","shares_short","net_income_to_common","market_cap","volume","average_volume","average_volume_10_days","total_cash","ebitda","total_debt","total_revenue","gross_profit","free_cashflow","operating_cashflow"].indexOf(s)>-1)c=r.bigNumber(c);else if("range"==s){var d=this.quoteValue(t,"low",e),p=this.quoteValue(t,"high",e);c=r.variableDecimal(d)+" - "+r.variableDecimal(p)}else if("52_week_range"==s){d=this.quoteValue(t,"52_week_low",e),p=this.quoteValue(t,"52_week_high",e);c=r.variableDecimal(d)+" - "+r.variableDecimal(p)}else"currency_symbol"==s?c=n.symbol(this.quoteValue(t,"currency",e)):["last_update","ex_dividend_date","last_split_date"].indexOf(s)>-1?c&&(c=l.long(c)):"date"==s?c=l.date(c):"date_time"==s?c=l.long(this.quoteValue(t,"date",e)):"last_update_ago"==s?c=l.ago(this.quoteValue(t,"last_update",e)):"number"==typeof c&&(c=r.decimal(c));return c},sortValue:function(t,s){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return["logo_name","logo_name_link"].indexOf(s)>-1?this.quoteValueFormatted(t,"name",e):s.match(/^portfolio_/)?this.portfolioValue(t,e,s):"last_update_ago"==s?this.quoteValue(t,"last_update",e):"date_time"==s?this.quoteValue(t,"date",e):this.quoteValue(t,s,e)||0},subscribeMarketData:function(t){this.$store.dispatch(this.code+"/subscribeMarketData",t||this.assetsSubscription)},disconnectDataSourcesAndClearMarketData:function(){this.$store.dispatch(this.code+"/disconnectDataSourcesAndClearMarketData")},translate:function(t){return void 0!==this.text[t]?this.text[t]:t}},created:function(){var t=this;this.$on("data-loaded",function(){t.display=!0,t.$nextTick(function(){"function"==typeof t.onDataLoaded&&t.onDataLoaded()})}),this.marketDataLoaded?this.$emit("data-loaded",{widgetType:this.type,eventType:"WIDGET_INIT_DATA_AVAILABLE"}):this.subscribeMarketData(),this.$watch("marketDataLoaded",function(s,e){!e&&s&&t.$emit("data-loaded",{widgetType:t.type,eventType:"WIDGET_INIT_DATA_LOADED"})}),this.$watch("$attrs.assets",function(s,e){t.marketDataLoaded?t.$emit("data-loaded",{widgetType:t.type,eventType:"ASSETS_CHANGE_DATA_AVAILABLE"}):t.api&&t.subscribeMarketData()})}},n=e(1),l=Object(n.a)(r,void 0,void 0,!1,null,null,null);l.options.__file="assets/js/src/components/widgets/_mixins/template.vue";s.a=l.exports},459:function(t,s,e){"use strict";var a=function(){var t=this.$createElement;return(this._self._c||t)("span",{class:this.classes},[this._v(this._s(this.$parent.quoteValueFormatted(this.asset,this.field,this.index)))])};a._withStripped=!0;var i={props:["asset","field","i","color-indicator"],computed:{classes:function(){var t=[this.$parent.code+"-field",this.$parent.code+"-field-"+this.field.replace(/_/g,"-")],s=this.value;return this.colorIndicator&&t.push(s<0?this.$parent.code+"-down":s>0?this.$parent.code+"-up":""),t},index:function(){return void 0!==this.i?parseFloat(this.i):null},value:function(){return this.$parent.quoteValue(this.asset,this.field,this.index)}}},o=e(1),r=Object(o.a)(i,a,[],!1,null,null,null);r.options.__file="assets/js/src/components/widgets/_parts/quote.vue";s.a=r.exports},460:function(t,s,e){"use strict";var a=function(){var t=this.$createElement,s=this._self._c||t;return this.url?s("span",{class:this.classes},[s("img",{attrs:{src:this.url}})]):this._e()};a._withStripped=!0;var i={props:["symbol"],data:function(){return{config:this.$parent.config}},computed:{classes:function(){return this.$parent.code+"-field-logo"},url:function(){return void 0!==this.config.assetsLogoImages[this.symbol]?this.config.pluginUrl+"/assets/images/logo/"+this.config.assetsLogoImages[this.symbol]:null}}},o=e(1),r=Object(o.a)(i,a,[],!1,null,null,null);r.options.__file="assets/js/src/components/widgets/_parts/logo.vue";s.a=r.exports},461:function(t,s,e){"use strict";var a=function(){var t=this.$createElement,s=this._self._c||t;return this.classes?s("i",{class:this.classes}):this._e()};a._withStripped=!0;var i={props:["asset","field","downClass","upClass"],computed:{classes:function(){var t=this.$parent.quoteValue(this.asset,this.field);return t<0?[this.downClass,this.$parent.code+"-down"]:t>0?[this.upClass,this.$parent.code+"-up"]:""}}},o=e(1),r=Object(o.a)(i,a,[],!1,null,null,null);r.options.__file="assets/js/src/components/widgets/_parts/quote-indicator.vue";s.a=r.exports},462:function(t,s,e){"use strict";e.d(s,"a",function(){return o});var a=e(65),i=e.n(a);function o(){var t=function(t){var s=i()(t).format("0,0.00");return"NaN"!==s?s:parseFloat(t).toFixed(2)};return{integer:function(t){return i()(t).format("0,0")},decimal:t,percentage:function(s){return t(s)+"%"},variableDecimal:function(t){var s,e=i()(t),a=Math.abs(e.value());a>=.01?s="0,0.00":0==a?s="0.00":1e-4<=a&&a<.01?s="0.0000":a<1e-4&&(s="0.00000000");var o=e.format(s);return"NaN"!==o?o:parseFloat(t).toFixed(8)},bigNumber:function(t){return i()(t).format("0,0.00a").toUpperCase()},compareNumbers:function(t,s){var e,a;if("number"==typeof t&&"number"==typeof s)e=t,a=s;else{var o=i()(1.1).format("0.0").substring(1,2),r=i()(1e3).format("0,0").substring(1,2);"."==r&&(t=t.replace(r,""),s=s.replace(r,"")),"."!=o&&(t=t.replace(o,"."),s=s.replace(o,".")),e=parseFloat(t.replace(/[^0-9.-]/g,"")),a=parseFloat(s.replace(/[^0-9.-]/g,""))}return t&&s&&!isNaN(e)&&!isNaN(a)?e>a?1:e<a?-1:0:t.localeCompare(s)}}}},463:function(t,s,e){"use strict";function a(){var t={USD:"$",AUD:"$",BRL:"R$",CAD:"$",CNY:"¥",EUR:"€",EGP:"£",GBP:"£",INR:"₹",ILS:"₪",IDR:"Rp",JPY:"¥",KPW:"₩",KRW:"₩",PLN:"zł",RUB:"₽",UAH:"₴",QAR:"﷼",GOLD:"Gold g"};return{symbol:function(s){return t[s]||s}}}e.d(s,"a",function(){return a})},464:function(t,s,e){"use strict";e.d(s,"a",function(){return o});var a=e(95),i=e.n(a);function o(){return{date:function(t){return i()(t).format("ll")},time:function(t){return i()(t).format("H:mm")},long:function(t){return i()(t).format("LLL")},ago:function(t){return i()(t).fromNow()}}}},465:function(t,s,e){"use strict";var a={computed:{template:function(){return this.$attrs.template}}},i=e(1),o=Object(i.a)(a,void 0,void 0,!1,null,null,null);o.options.__file="assets/js/src/components/widgets/_mixins/widget-type.vue";s.a=o.exports},534:function(t,s,e){"use strict";e.r(s);var a=function(){var t=this.$createElement;return(this._self._c||t)(this.template,this._b({tag:"component"},"component",this.$attrs,!1))};a._withStripped=!0;var i=e(465),o=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.display?e("div",{class:t.classes},[e("logo",{attrs:{symbol:t.assets[0]}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"name"}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"currency_symbol"}}),e("quote",{attrs:{asset:t.assets[0],field:"price"}}),t._v(" "),e("quote-indicator",{staticClass:"fas",attrs:{asset:t.assets[0],field:"change_abs","down-class":"fa-caret-down","up-class":"fa-caret-up"}})],1):t._e()};o._withStripped=!0;var r=e(458),n=e(459),l=e(460),c=e(461),u={mixins:[r.a],components:{Quote:n.a,Logo:l.a,QuoteIndicator:c.a}},d=e(1),p=Object(d.a)(u,o,[],!1,null,null,null);p.options.__file="assets/js/src/components/widgets/label/basic/template.vue";var _=p.exports,h=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.display?e("div",{class:t.classes},[e("logo",{attrs:{symbol:t.assets[0]}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"currency_symbol"}}),e("quote",{attrs:{asset:t.assets[0],field:"price"}}),t._v(" "),e("quote-indicator",{staticClass:"fas",attrs:{asset:t.assets[0],field:"change_abs","down-class":"fa-long-arrow-alt-down","up-class":"fa-long-arrow-alt-up"}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"change_pct","color-indicator":"1"}})],1):t._e()};h._withStripped=!0;var f={mixins:[r.a],components:{Quote:n.a,Logo:l.a,QuoteIndicator:c.a}},m=Object(d.a)(f,h,[],!1,null,null,null);m.options.__file="assets/js/src/components/widgets/label/basic2/template.vue";var v=m.exports,g=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.display?e("div",{class:t.classes},[e("logo",{attrs:{symbol:t.assets[0]}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"name"}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"currency_symbol"}}),e("quote",{attrs:{asset:t.assets[0],field:"price"}}),t._v(" "),e("quote-indicator",{staticClass:"fas",attrs:{asset:t.assets[0],field:"change_abs","down-class":"fa-caret-down","up-class":"fa-caret-up"}})],1):t._e()};g._withStripped=!0;var b={mixins:[r.a],components:{Quote:n.a,Logo:l.a,QuoteIndicator:c.a}},y=Object(d.a)(b,g,[],!1,null,null,null);y.options.__file="assets/js/src/components/widgets/label/basic3/template.vue";var w=y.exports,$=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.display?e("div",{class:t.classes},[e("logo",{attrs:{symbol:t.assets[0]}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"symbol"}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"currency_symbol"}}),e("quote",{attrs:{asset:t.assets[0],field:"price"}}),t._v(" "),e("quote-indicator",{staticClass:"fas",attrs:{asset:t.assets[0],field:"change_abs","down-class":"fa-long-arrow-alt-down","up-class":"fa-long-arrow-alt-up"}})],1):t._e()};$._withStripped=!0;var q={mixins:[r.a],components:{Quote:n.a,Logo:l.a,QuoteIndicator:c.a}},k=Object(d.a)(q,$,[],!1,null,null,null);k.options.__file="assets/js/src/components/widgets/label/basic4/template.vue";var D=k.exports,x=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.display?e("div",{class:t.classes},[e("logo",{attrs:{symbol:t.assets[0]}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"symbol"}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"currency_symbol"}}),e("quote",{attrs:{asset:t.assets[0],field:"price"}}),t._v(" "),e("quote-indicator",{staticClass:"fas",attrs:{asset:t.assets[0],field:"change_abs","down-class":"fa-long-arrow-alt-down","up-class":"fa-long-arrow-alt-up"}})],1):t._e()};x._withStripped=!0;var j={mixins:[r.a],components:{Quote:n.a,Logo:l.a,QuoteIndicator:c.a}},L=Object(d.a)(j,x,[],!1,null,null,null);L.options.__file="assets/js/src/components/widgets/label/basic5/template.vue";var T=L.exports,S=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.display?e("span",{class:t.classes},[e("logo",{attrs:{symbol:t.assets[0]}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"name"}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"currency_symbol"}}),e("quote",{attrs:{asset:t.assets[0],field:"price"}}),t._v(" "),e("quote-indicator",{staticClass:"fas",attrs:{asset:t.assets[0],field:"change_abs","down-class":"fa-long-arrow-alt-down","up-class":"fa-long-arrow-alt-up"}})],1):t._e()};S._withStripped=!0;var I={mixins:[r.a],components:{Quote:n.a,Logo:l.a,QuoteIndicator:c.a}},O=Object(d.a)(I,S,[],!1,null,null,null);O.options.__file="assets/js/src/components/widgets/label/basic6/template.vue";var E=O.exports,V=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.display?e("div",{class:t.classes},[e("logo",{attrs:{symbol:t.assets[0]}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"symbol"}}),t._v(" "),e("quote-indicator",{staticClass:"fas",attrs:{asset:t.assets[0],field:"change_abs","down-class":"fa-long-arrow-alt-down","up-class":"fa-long-arrow-alt-up"}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"change_pct","color-indicator":"1"}})],1):t._e()};V._withStripped=!0;var C={mixins:[r.a],components:{Quote:n.a,Logo:l.a,QuoteIndicator:c.a}},A=Object(d.a)(C,V,[],!1,null,null,null);A.options.__file="assets/js/src/components/widgets/label/basic7/template.vue";var Q=A.exports,N=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.display?e("div",{class:t.classes},[e("logo",{attrs:{symbol:t.assets[0]}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"symbol"}}),t._v(" "),e("span",[t._v(t._s(t.translate("market_cap2")))]),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"currency_symbol"}}),e("quote",{attrs:{asset:t.assets[0],field:"market_cap"}})],1):t._e()};N._withStripped=!0;var B={mixins:[r.a],components:{Quote:n.a,Logo:l.a,QuoteIndicator:c.a}},R=Object(d.a)(B,N,[],!1,null,null,null);R.options.__file="assets/js/src/components/widgets/label/basic8/template.vue";var M=R.exports,F=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.display?e("div",{class:t.classes},[e("div",{class:t.code+"-container"},[e("logo",{attrs:{symbol:t.assets[0]}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"name"}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"currency_symbol"}}),e("quote",{attrs:{asset:t.assets[0],field:"price"}}),t._v(" "),e("quote-indicator",{staticClass:"fas",attrs:{asset:t.assets[0],field:"change_abs","down-class":"fa-caret-down","up-class":"fa-caret-up"}})],1)]):t._e()};F._withStripped=!0;var U={mixins:[r.a],components:{Quote:n.a,Logo:l.a,QuoteIndicator:c.a}},W=Object(d.a)(U,F,[],!1,null,null,null);W.options.__file="assets/js/src/components/widgets/label/basic9/template.vue";var G=W.exports,P=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.display?e("div",{class:t.classesWithIndicator},[e("span",[e("quote",{attrs:{asset:t.assets[0],field:"symbol"}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"currency_symbol"}}),e("quote",{attrs:{asset:t.assets[0],field:"price"}})],1),t._v(" "),e("span",[e("quote-indicator",{staticClass:"fas",attrs:{asset:t.assets[0],field:"change_abs","down-class":"fa-long-arrow-alt-down","up-class":"fa-long-arrow-alt-up"}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"change_abs"}}),t._v(" "),e("quote",{attrs:{asset:t.assets[0],field:"change_pct"}})],1)]):t._e()};P._withStripped=!0;var H={mixins:[r.a],components:{Quote:n.a,Logo:l.a,QuoteIndicator:c.a}},J=Object(d.a)(H,P,[],!1,null,null,null);J.options.__file="assets/js/src/components/widgets/label/indicator/template.vue";var K=J.exports,Y={mixins:[i.a],components:{Basic:_,Basic2:v,Basic3:w,Basic4:D,Basic5:T,Basic6:E,Basic7:Q,Basic8:M,Basic9:G,Indicator:K}},z=Object(d.a)(Y,a,[],!1,null,null,null);z.options.__file="assets/js/src/components/widgets/label/label.vue";s.default=z.exports}}]);