import{m as s,_ as n,n as i}from"./vendor-a2540788.js";const o={props:{error:[Object,Boolean]},computed:{...s({license:"$_license/license",license_network:"$_license/license_network"}),title(){return this.error.title.title?this.error.title.title:n("Error","google-analytics-for-wordpress")}},name:"WidgetReportError",methods:{isLicenseExpired(){return!!(typeof this.license<"u"&&this.license&&this.license.is_expired)},isNetworkLicenseExpired(){return!!(typeof this.license_network<"u"&&this.license_network&&this.license_network.is_expired)}}};var l=function(){var e=this,r=e._self._c;return r("div",{staticClass:"monsterinsights-widget-error",class:e.isLicenseExpired()||e.isNetworkLicenseExpired()?"monsterinsights-license-expired-notice":""},[r("div",{staticClass:"swal2-header"},[e._m(0),r("h2",{staticClass:"swal2-title",attrs:{id:"monsterinsights-error-title"},domProps:{textContent:e._s(e.title)}})]),e.error.content?r("div",{staticClass:"monsterinsights-error-content",domProps:{innerHTML:e._s(e.error.content)}}):e._e(),e.error.footer?r("div",{staticClass:"monsterinsights-error-footer",domProps:{innerHTML:e._s(e.error.footer)}}):e._e()])},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"swal2-icon swal2-error swal2-animate-error-icon",staticStyle:{display:"flex"}},[e("span",{staticClass:"swal2-x-mark"},[e("span",{staticClass:"swal2-x-mark-line-left"}),e("span",{staticClass:"swal2-x-mark-line-right"})])])}],c=i(o,l,a,!1,null,null,null,null);const u=c.exports;export{u as W};
