PluginProbe
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar / 3.2.9
NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar v3.2.9
3.3.1 3.3.0 3.2.14 3.2.13 3.2.12 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 trunk 0.2.5.5 0.2.5.6 0.2.5.7 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.2.0 1.2.1 All 156 releases
notificationx / assets / admin / js / 435.js

435.js in NotificationX – FOMO, Live Sales Notification, WooCommerce Sales Popup, GDPR, Social Proof, Announcement Banner & Floating Notification Bar 3.2.9, at assets/admin/js/435.js

1 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 "use strict";(self.webpackChunknotificationx=self.webpackChunknotificationx||[]).push([[435],{6435:(e,t,l)=>{l.r(t),l.d(t,{default:()=>a});var r=l(1609),o=l.n(r),n=l(7723);const a=function(e){var t=e.offer_discount,l=e.link_text,a=e.link_button_bg_color,i=e.link_button_text_color,c=e.announcementCSS,d=(0,r.useRef)();return o().createElement("svg",{width:"92",height:"98",viewBox:"0 0 92 98",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o().createElement("path",{d:"M10 0H82V78C82 84.6274 76.6274 90 70 90H22C15.3726 90 10 84.6274 10 78V0Z",fill:(null==c?void 0:c.discountBackground)?null==c?void 0:c.discountBackground:"#4F19CD"}),o().createElement("path",{d:"M82 0L87 5L92 10H82V0Z",fill:(null==c?void 0:c.discountBackground)?null==c?void 0:c.discountBackground:"#806FF6"}),o().createElement("path",{d:"M10 0L5 5L0 10H10V0Z",fill:(null==c?void 0:c.discountBackground)?null==c?void 0:c.discountBackground:"#806FF6"}),o().createElement("g",null,o().createElement("text",{ref:d,xmlSpace:"preserve",style:{whiteSpace:"pre"},fontFamily:"DM Sans",fontSize:"24",fontWeight:"bold",letterSpacing:"0em",fill:(null==c?void 0:c.discountTextColor)?null==c?void 0:c.discountTextColor:"#fff"},o().createElement("tspan",{x:"16",y:"53.548"},t,o().createElement("tspan",{fontSize:"14"},"%")))),o().createElement("g",{filter:"url(#filter1_d_620_42)"},o().createElement("text",{xmlSpace:"preserve",style:{whiteSpace:"pre"},fontFamily:"DM Sans",fontSize:"16",fontWeight:"bold",letterSpacing:"0em",fill:(null==c?void 0:c.discountTextColor)?null==c?void 0:c.discountTextColor:"#fff"},o().createElement("tspan",{x:"37",y:"73.456"},(0,n.__)("OFF","notificationx")))),o().createElement("rect",{x:"13",y:"3",width:"66",height:"17",rx:"2",fill:(null==c?void 0:c.linkButtonBgColor)?null==c?void 0:c.linkButtonBgColor:"#806FF6"}),o().createElement("g",{filter:"url(#filter2_d_620_42)"},o().createElement("text",{fill:(null==c?void 0:c.linkButtonTextColor)?null==c?void 0:c.linkButtonTextColor:"#fff",xmlSpace:"preserve",style:{whiteSpace:"pre",backgroundColor:a,color:i},fontFamily:"DM Sans",fontSize:"10",fontWeight:"500",letterSpacing:"0em"},o().createElement("tspan",{x:"22.709",y:"14"},l))),o().createElement("defs",null,o().createElement("filter",{id:"filter0_d_620_42",x:"21.428",y:"34.064",width:"45.2434",height:"21.272",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},o().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o().createElement("feOffset",{dy:"1"}),o().createElement("feComposite",{in2:"hardAlpha",operator:"out"}),o().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),o().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_620_42"}),o().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_620_42",result:"shape"})),o().createElement("filter",{id:"filter1_d_620_42",x:"37.72",y:"61.608",width:"29.0688",height:"12.584",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},o().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o().createElement("feOffset",{dy:"1"}),o().createElement("feComposite",{in2:"hardAlpha",operator:"out"}),o().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),o().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_620_42"}),o().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_620_42",result:"shape"})),o().createElement("filter",{id:"filter2_d_620_42",x:"23.1689",y:"6.8",width:"45.9189",height:"8.31999",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},o().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),o().createElement("feOffset",{dy:"1"}),o().createElement("feComposite",{in2:"hardAlpha",operator:"out"}),o().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),o().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_620_42"}),o().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_620_42",result:"shape"}))))}}}]);