File "suremail.js"
Full Path: /home/fresvfqn/waterdamagerestorationandrepairsmithtown.com/wp-content/plugins/sureforms/assets/build/suremail.js
File size: 43.88 KB
MIME-type: text/plain
Charset: utf-8
/*! For license information please see suremail.js.LICENSE.txt */
(()=>{"use strict";var e={21020:(e,t,r)=>{var o=r(51609),n=Symbol.for("react.element"),a=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),i=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var o,s={},c=null,d=null;for(o in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)a.call(t,o)&&!l.hasOwnProperty(o)&&(s[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===s[o]&&(s[o]=t[o]);return{$$typeof:n,type:e,key:c,ref:d,props:s,_owner:i.current}}t.jsx=s,t.jsxs=s},51609:e=>{e.exports=window.React},74848:(e,t,r)=>{e.exports=r(21020)}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,r),a.exports}const o=window.wp.i18n,n=window.wp.element;var a=r(74848);const i=e=>{const t=d(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),l(r,t)||c(e)},getConflictingClassGroupIds:(e,t)=>{const n=r[e]||[];return t&&o[e]?[...n,...o[e]]:n}}},l=(e,t)=>{if(0===e.length)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),n=o?l(e.slice(1),o):void 0;if(n)return n;if(0===t.validators.length)return;const a=e.join("-");return t.validators.find((({validator:e})=>e(a)))?.classGroupId},s=/^\[(.+)\]$/,c=e=>{if(s.test(e)){const t=s.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},d=e=>{const{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return m(Object.entries(e.classGroups),r).forEach((([e,r])=>{u(r,o,e,t)})),o},u=(e,t,r,o)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return f(e)?void u(e(o),t,r,o):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,n])=>{u(n,p(t,e),r,o)}))}else(""===e?t:p(t,e)).classGroupId=r}))},p=(e,t)=>{let r=e;return t.split("-").forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r},f=e=>e.isThemeGetter,m=(e,t)=>t?e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))])):e,h=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;const n=(n,a)=>{r.set(n,a),t++,t>e&&(t=0,o=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(n(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):n(e,t)}}},g=e=>{const{separator:t,experimentalParseClassName:r}=e,o=1===t.length,n=t[0],a=t.length,i=e=>{const r=[];let i,l=0,s=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===l){if(d===n&&(o||e.slice(c,c+a)===t)){r.push(e.slice(s,c)),s=c+a;continue}if("/"===d){i=c;continue}}"["===d?l++:"]"===d&&l--}const c=0===r.length?e:e.substring(s),d=c.startsWith("!");return{modifiers:r,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:i&&i>s?i-s:void 0}};return r?e=>r({className:e,parseClassName:i}):i},b=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t},y=/\s+/;function v(){let e,t,r=0,o="";for(;r<arguments.length;)(e=arguments[r++])&&(t=x(e))&&(o&&(o+=" "),o+=t);return o}const x=e=>{if("string"==typeof e)return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=x(e[o]))&&(r&&(r+=" "),r+=t);return r};function w(e,...t){let r,o,n,a=function(s){const c=t.reduce(((e,t)=>t(e)),e());return r=(e=>({cache:h(e.cacheSize),parseClassName:g(e),...i(e)}))(c),o=r.cache.get,n=r.cache.set,a=l,l(s)};function l(e){const t=o(e);if(t)return t;const a=((e,t)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,a=[],i=e.trim().split(y);let l="";for(let e=i.length-1;e>=0;e-=1){const t=i[e],{modifiers:s,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=r(t);let p=Boolean(u),f=o(p?d.substring(0,u):d);if(!f){if(!p){l=t+(l.length>0?" "+l:l);continue}if(f=o(d),!f){l=t+(l.length>0?" "+l:l);continue}p=!1}const m=b(s).join(":"),h=c?m+"!":m,g=h+f;if(a.includes(g))continue;a.push(g);const y=n(f,p);for(let e=0;e<y.length;++e){const t=y[e];a.push(h+t)}l=t+(l.length>0?" "+l:l)}return l})(e,r);return n(e,a),a}return function(){return a(v.apply(null,arguments))}}const k=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},E=/^\[(?:([a-z-]+):)?(.+)\]$/i,_=/^\d+\/\d+$/,C=new Set(["px","full","screen"]),S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,R=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,z=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,N=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,j=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=e=>O(e)||C.has(e)||_.test(e),P=e=>Z(e,"length",q),O=e=>Boolean(e)&&!Number.isNaN(Number(e)),L=e=>Z(e,"number",O),I=e=>Boolean(e)&&Number.isInteger(Number(e)),G=e=>e.endsWith("%")&&O(e.slice(0,-1)),T=e=>E.test(e),A=e=>S.test(e),H=new Set(["length","size","percentage"]),F=e=>Z(e,H,U),V=e=>Z(e,"position",U),B=new Set(["image","url"]),$=e=>Z(e,B,K),W=e=>Z(e,"",Y),D=()=>!0,Z=(e,t,r)=>{const o=E.exec(e);return!!o&&(o[1]?"string"==typeof t?o[1]===t:t.has(o[1]):r(o[2]))},q=e=>R.test(e)&&!z.test(e),U=()=>!1,Y=e=>N.test(e),K=e=>j.test(e),J=w((Symbol.toStringTag,()=>{const e=k("colors"),t=k("spacing"),r=k("blur"),o=k("brightness"),n=k("borderColor"),a=k("borderRadius"),i=k("borderSpacing"),l=k("borderWidth"),s=k("contrast"),c=k("grayscale"),d=k("hueRotate"),u=k("invert"),p=k("gap"),f=k("gradientColorStops"),m=k("gradientColorStopPositions"),h=k("inset"),g=k("margin"),b=k("opacity"),y=k("padding"),v=k("saturate"),x=k("scale"),w=k("sepia"),E=k("skew"),_=k("space"),C=k("translate"),S=()=>["auto",T,t],R=()=>[T,t],z=()=>["",M,P],N=()=>["auto",O,T],j=()=>["","0",T],H=()=>[O,T];return{cacheSize:500,separator:":",theme:{colors:[D],spacing:[M,P],blur:["none","",A,T],brightness:H(),borderColor:[e],borderRadius:["none","","full",A,T],borderSpacing:R(),borderWidth:z(),contrast:H(),grayscale:j(),hueRotate:H(),invert:j(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[G,P],inset:S(),margin:S(),opacity:H(),padding:R(),saturate:H(),scale:H(),sepia:j(),skew:H(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",T]}],container:["container"],columns:[{columns:[A]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",T]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",I,T]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",T]}],grow:[{grow:j()}],shrink:[{shrink:j()}],order:[{order:["first","last","none",I,T]}],"grid-cols":[{"grid-cols":[D]}],"col-start-end":[{col:["auto",{span:["full",I,T]},T]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[D]}],"row-start-end":[{row:["auto",{span:[I,T]},T]}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",T]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",T]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",T,t]}],"min-w":[{"min-w":[T,t,"min","max","fit"]}],"max-w":[{"max-w":[T,t,"none","full","min","max","fit","prose",{screen:[A]},A]}],h:[{h:[T,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[T,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[T,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[T,t,"auto","min","max","fit"]}],"font-size":[{text:["base",A,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",L]}],"font-family":[{font:[D]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",T]}],"line-clamp":[{"line-clamp":["none",O,L]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,T]}],"list-image":[{"list-image":["none",T]}],"list-style-type":[{list:["none","disc","decimal",T]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,P]}],"underline-offset":[{"underline-offset":["auto",M,T]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",T]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",T]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",V]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",F]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},$]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[M,T]}],"outline-w":[{outline:[M,P]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[M,P]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",A,W]}],"shadow-color":[{shadow:[D]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",A,T]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[v]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",T]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",T]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",T]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[I,T]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",T]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",T]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",T]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[M,P,L]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));function Q(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=Q(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function X(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=Q(e))&&(o&&(o+=" "),o+=t);return o}const ee=(...e)=>J(X(...e)),te={400:"font-normal",500:"font-medium",600:"font-semibold",700:"font-bold"},re={36:"text-4xl",30:"text-3xl",24:"text-2xl",20:"text-xl",18:"text-lg",16:"text-base",14:"text-sm",12:"text-xs"},oe={44:"leading-11",38:"leading-9.5",32:"leading-8",30:"leading-7.5",28:"leading-7",24:"leading-6",20:"leading-5",16:"leading-4"},ne={2:"tracking-2"},ae={brand600:"text-brand-primary-600",link:"text-link-primary",primary:"text-text-primary",secondary:"text-text-secondary",tertiary:"text-text-tertiary",disabled:"text-text-disabled",help:"text-field-helper",label:"text-field-label",info:"text-support-info",success:"text-support-success",warning:"text-support-warning",error:"text-support-error",inverse:"text-text-on-color"};var ie=r(51609);const le=(0,ie.forwardRef)((function({as:e,children:t,weight:r,size:o,lineHeight:n,letterSpacing:i,color:l="primary",className:s,...c},d){return(0,a.jsx)(e||"p",{ref:d,className:ee("m-0 p-0",r?te[r]:"",o?re[o]:"",n?oe[n]:"",i?ne[i]:"",l?ae[l]:"",s),...c,children:t})})),se=(0,ie.forwardRef)(((e,t)=>{const{variant:r="primary",size:o="md",type:n="button",tag:i="button",className:l,children:s,disabled:c=!1,destructive:d=!1,icon:u=null,iconPosition:p="left",loading:f=!1,...m}=e,h=d&&"focus:ring-focus-error",g=f?"opacity-50 disabled:cursor-not-allowed":"",b={primary:"text-text-on-color bg-button-primary hover:bg-button-primary-hover outline-button-primary hover:outline-button-primary-hover shadow-xs disabled:shadow-none focus:shadow-none disabled:bg-button-disabled disabled:outline-button-disabled",secondary:"text-text-on-color bg-button-secondary hover:bg-button-secondary-hover outline-button-secondary hover:outline-button-secondary-hover shadow-xs focus:shadow-none disabled:shadow-none disabled:bg-button-disabled disabled:outline-button-disabled",outline:"text-button-tertiary-color outline-border-subtle bg-button-tertiary shadow-sm focus:shadow-none hover:bg-button-tertiary-hover hover:outline-border-subtle disabled:bg-button-tertiary disabled:outline-border-disabled",ghost:"text-text-primary bg-transparent outline-transparent hover:bg-button-tertiary-hover",link:"outline-none text-link-primary bg-transparent hover:text-link-primary-hover hover:underline p-0 border-0 leading-none"}[r],y=d&&!c?{primary:"bg-button-danger hover:bg-button-danger-hover outline-button-danger hover:outline-button-danger-hover",secondary:"bg-button-danger hover:bg-button-danger-hover outline-button-danger hover:outline-button-danger-hover",outline:"text-button-danger outline outline-1 outline-button-danger hover:outline-button-danger bg-button-tertiary hover:bg-field-background-error",ghost:"text-button-danger hover:bg-field-background-error",link:"text-button-danger hover:text-button-danger-secondary"}[r]:"",v={xs:"p-1 rounded [&>svg]:size-4",sm:"p-2 rounded [&>svg]:size-4 gap-0.5",md:"p-2.5 rounded-md text-sm [&>svg]:size-5 gap-1",lg:"p-3 rounded-lg text-base [&>svg]:size-6 gap-1"}[o];let x,w=null,k="";return u&&(k="flex items-center justify-center","left"===p?x=u:w=u),(0,a.jsxs)(i,{ref:t,type:n,className:ee(k,"outline outline-1 border-none cursor-pointer transition-colors duration-300 ease-in-out text-xs font-semibold focus:ring-2 focus:ring-toggle-on focus:ring-offset-2 disabled:text-text-disabled",v,b,y,h,g,{"cursor-default":c},l),disabled:c,...m,children:[(0,a.jsx)(ie.Fragment,{children:x},"left-icon"),s?(0,a.jsx)("span",{className:"px-1",children:s}):null,(0,a.jsx)(ie.Fragment,{children:w},"right-icon")]})}));se.displayName="Button";const ce=(...e)=>e.filter(((e,t,r)=>Boolean(e)&&""!==e.trim()&&r.indexOf(e)===t)).join(" ").trim();var de={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const ue=(0,ie.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:n="",children:a,iconNode:i,...l},s)=>(0,ie.createElement)("svg",{ref:s,...de,width:t,height:t,stroke:e,strokeWidth:o?24*Number(r)/Number(t):r,className:ce("lucide",n),...l},[...i.map((([e,t])=>(0,ie.createElement)(e,t))),...Array.isArray(a)?a:[a]]))),pe=(e,t)=>{const r=(0,ie.forwardRef)((({className:r,...o},n)=>{return(0,ie.createElement)(ue,{ref:n,iconNode:t,className:ce(`lucide-${a=e,a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,r),...o});var a}));return r.displayName=`${e}`,r},fe=pe("DatabaseBackup",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 12a9 3 0 0 0 5 2.69",key:"1ui2ym"}],["path",{d:"M21 9.3V5",key:"6k6cib"}],["path",{d:"M3 5v14a9 3 0 0 0 6.47 2.88",key:"i62tjy"}],["path",{d:"M12 12v4h4",key:"1bxaet"}],["path",{d:"M13 20a5 5 0 0 0 9-3 4.5 4.5 0 0 0-4.5-4.5c-1.33 0-2.54.54-3.41 1.41L12 16",key:"1f4ei9"}]]),me=pe("ClipboardList",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]),he=pe("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]),ge=pe("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),be=pe("MailCheck",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]]),ye=pe("Mails",[["rect",{width:"16",height:"13",x:"6",y:"4",rx:"2",key:"1drq3f"}],["path",{d:"m22 7-7.1 3.78c-.57.3-1.23.3-1.8 0L6 7",key:"xn252p"}],["path",{d:"M2 8v11c0 1.1.9 2 2 2h14",key:"n13cji"}]]),ve=pe("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);function xe(e){return xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xe(e)}function we(){we=function(){return t};var e,t={},r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function s(e,t,r,o){return Object.defineProperty(e,t,{value:r,enumerable:!o,configurable:!o,writable:!o})}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(t,r,o,n){var a=r&&r.prototype instanceof p?r:p,i=Object.create(a.prototype);return s(i,"_invoke",function(t,r,o){var n=1;return function(a,i){if(3===n)throw Error("Generator is already running");if(4===n){if("throw"===a)throw i;return{value:e,done:!0}}for(o.method=a,o.arg=i;;){var l=o.delegate;if(l){var s=w(l,o);if(s){if(s===u)continue;return s}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(1===n)throw n=4,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);n=3;var c=d(t,r,o);if("normal"===c.type){if(n=o.done?4:2,c.arg===u)continue;return{value:c.arg,done:o.done}}"throw"===c.type&&(n=4,o.method="throw",o.arg=c.arg)}}}(t,o,new _(n||[])),!0),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var u={};function p(){}function f(){}function m(){}var h={};s(h,a,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(C([])));b&&b!==r&&o.call(b,a)&&(h=b);var y=m.prototype=p.prototype=Object.create(h);function v(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(n,a,i,l){var s=d(e[n],e,a);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==xe(u)&&o.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return r("throw",e,i,l)}))}l(s.arg)}var n;s(this,"_invoke",(function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}),!0)}function w(t,r){var o=r.method,n=t.i[o];if(n===e)return r.delegate=null,"throw"===o&&t.i.return&&(r.method="return",r.arg=e,w(t,r),"throw"===r.method)||"return"!==o&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+o+"' method")),u;var a=d(n,t.i,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,u;var i=a.arg;return i?i.done?(r[t.r]=i.value,r.next=t.n,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,u):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,u)}function k(e){this.tryEntries.push(e)}function E(t){var r=t[4]||{};r.type="normal",r.arg=e,t[4]=r}function _(e){this.tryEntries=[[-1]],e.forEach(k,this),this.reset(!0)}function C(t){if(null!=t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(o.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(xe(t)+" is not iterable")}return f.prototype=m,s(y,"constructor",m),s(m,"constructor",f),f.displayName=s(m,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s(e,l,"GeneratorFunction")),e.prototype=Object.create(y),e},t.awrap=function(e){return{__await:e}},v(x.prototype),s(x.prototype,i,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,o,n,a){void 0===a&&(a=Promise);var i=new x(c(e,r,o,n),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},v(y),s(y,l,"Generator"),s(y,a,(function(){return this})),s(y,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var o in t)r.unshift(o);return function e(){for(;r.length;)if((o=r.pop())in t)return e.value=o,e.done=!1,e;return e.done=!0,e}},t.values=C,_.prototype={constructor:_,reset:function(t){if(this.prev=this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0][4];if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(e){i.type="throw",i.arg=t,r.next=e}for(var n=r.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n],i=a[4],l=this.prev,s=a[1],c=a[2];if(-1===a[0])return o("end"),!1;if(!s&&!c)throw Error("try statement without catch or finally");if(null!=a[0]&&a[0]<=l){if(l<s)return this.method="next",this.arg=e,o(s),!0;if(l<c)return o(c),!1}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o[0]>-1&&o[0]<=this.prev&&this.prev<o[2]){var n=o;break}}n&&("break"===e||"continue"===e)&&n[0]<=t&&t<=n[2]&&(n=null);var a=n?n[4]:{};return a.type=e,a.arg=t,n?(this.method="next",this.next=n[2],u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r[2]===e)return this.complete(r[4],r[3]),E(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r[0]===e){var o=r[4];if("throw"===o.type){var n=o.arg;E(r)}return n}}throw Error("illegal catch attempt")},delegateYield:function(t,r,o){return this.delegate={i:C(t),r,n:o},"next"===this.method&&(this.arg=e),u}},t}function ke(e,t,r,o,n,a,i){try{var l=e[a](i),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(o,n)}function Ee(e){return function(){var t=this,r=arguments;return new Promise((function(o,n){var a=e.apply(t,r);function i(e){ke(a,o,n,i,l,"next",e)}function l(e){ke(a,o,n,i,l,"throw",e)}i(void 0)}))}}function _e(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}var Ce=function(e){var t=e.icon,r=e.title,o=e.description;return React.createElement("div",{className:"flex flex-col items-start text-left gap-2"},React.createElement("div",{className:"text-[#0D7EE8]"},React.createElement(t,{size:24,strokeWidth:1}),React.createElement(le,{size:18,lineHeight:28,weight:600,color:"primary"},r)),React.createElement(le,{size:14,lineHeight:20,weight:400,color:"secondary"},o))},Se=function(){return React.createElement("div",{className:"relative bg-gray-900 rounded-lg overflow-hidden shadow-2xl aspect-video w-full"},React.createElement("iframe",{src:"https://www.youtube.com/embed/fFKJfbWLif4",title:(0,o.__)("SureMail Introduction Video","sureforms"),className:"w-full h-full",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}))},Re=function(e){var t=e.pluginStatus,r=e.onClick;return React.createElement(se,{variant:"primary",onClick:r,disabled:["installing","activating","redirecting"].includes(t),loading:["installing","activating","redirecting"].includes(t),size:"lg"},function(){switch(t){case"installing":return(0,o.__)("Installing SureMail Now…","sureforms");case"activating":return(0,o.__)("Activating SureMail Now…","sureforms");case"redirecting":return(0,o.__)("Redirecting to SureMail Dashboard…","sureforms");case"installed":return(0,o.__)("Activate SureMail Now","sureforms");default:return(0,o.__)("Install SureMail Now","sureforms")}}())},ze=function(){var e,t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a,i,l=[],s=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(o=a.call(r)).done)&&(l.push(o.value),l.length!==t);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw n}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _e(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_e(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,n.useState)((null===(e=window.srfm_admin)||void 0===e?void 0:e.suremail_status)||"not_installed"),2),r=t[0],a=t[1],i=[{icon:fe,title:(0,o.__)("Multiple Backup Connections","sureforms"),description:(0,o.__)("Never worry about email failures. SureMail automatically reroutes through backup SMTP providers.","sureforms")},{icon:me,title:(0,o.__)("Email Logs & Resending","sureforms"),description:(0,o.__)("Keep a complete record of every email sent from your WordPress site, and resend any email message with ease.","sureforms")},{icon:he,title:(0,o.__)("Reputation Shield","sureforms"),description:(0,o.__)("Reputation Shield protects your sender reputation by identifying and blocking potentially problematic emails before they're sent.","sureforms")},{icon:ge,title:(0,o.__)("Advanced Retry Logic","sureforms"),description:(0,o.__)("Failed emails are automatically retried through all of the configured connections to ensure seamless delivery.","sureforms")},{icon:be,title:(0,o.__)("Built-In Email Testing Tool","sureforms"),description:(0,o.__)("Easily send test emails for verifying your SMTP configuration before sending live emails to your customers and subscribers.","sureforms")},{icon:ye,title:(0,o.__)("Multiple SMTP Providers","sureforms"),description:(0,o.__)("Integrate and switch between leading SMTP services like Amazon SES, Gmail, SendGrid, SMTP2GO, and many more.","sureforms")}],l=function(){var e=Ee(we().mark((function e(){var t,r;return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(t=new FormData).append("action","sureforms_recommended_plugin_activate"),t.append("security",srfm_admin.sfPluginManagerNonce),t.append("init","suremails/suremails.php"),e.next=6,wp.apiFetch({url:srfm_admin.ajax_url,method:"POST",body:t});case 6:if((r=e.sent).success){e.next=9;break}throw new Error("Activation failed");case 9:return e.abrupt("return",r);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),s=function(){var e=Ee(we().mark((function e(){var t,n,i;return we().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("working"),console.log(r),e.prev=2,t="installed"===r,console.log(r),t){e.next=16;break}return a("installing"),(i=new FormData).append("action","sureforms_recommended_plugin_install"),i.append("_ajax_nonce",null===(n=srfm_admin)||void 0===n?void 0:n.plugin_installer_nonce),i.append("slug","suremails"),e.next=13,wp.apiFetch({url:srfm_admin.ajax_url,method:"POST",body:i});case 13:if(e.sent.success){e.next=16;break}throw new Error("Installation failed");case 16:return a("activating"),e.next=19,l();case 19:e.sent.success&&(a("redirecting"),setTimeout((function(){window.location.href=srfm_admin.admin_url+"options-general.php?page=suremail#/dashboard"}),1e3)),e.next=28;break;case 23:e.prev=23,e.t0=e.catch(2),console.error("Error installing/activating SureMail:",e.t0),alert((0,o.__)("Plugin installation/activation failed. Please try again later.","sureforms")),a(r?"installed":"not_installed");case 28:case"end":return e.stop()}}),e,null,[[2,23]])})));return function(){return e.apply(this,arguments)}}();return React.createElement("div",{className:"min-h-screen mt-14"},React.createElement("style",null,"\n\t\t\t\t.notice, .update-nag, #wpfooter { display: none !important; }\n\t\t\t\t.wrap { margin: 0 !important; }\n\t\t\t"),React.createElement("div",{className:"flex flex-col max-w-4xl mx-auto bg-white rounded-xl shadow-sm p-10 gap-6"},React.createElement("div",{className:"text-center gap-3"},React.createElement("div",{className:"flex justify-center gap-6 p-2"},React.createElement("div",{className:"flex items-center gap-8"},React.createElement("svg",{width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M24 0H0V24H24V0Z",fill:"#D54407"}),React.createElement("path",{d:"M6.8501 5.14209H17.1358V8.57068H8.56439L6.8501 10.285V8.57068V5.14209Z",fill:"white"}),React.createElement("path",{d:"M6.8501 10.2866H15.4215V13.7152H8.56439L6.8501 15.4294V13.7152V10.2866Z",fill:"white"}),React.createElement("path",{d:"M6.8501 15.4272H11.9929V18.8558H6.8501V15.4272Z",fill:"white"})),React.createElement(le,{size:30,lineHeight:38,weight:600,color:"primary"},"+"),React.createElement("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M46.5 0H1.5C0.671573 0 0 0.671573 0 1.5V46.5C0 47.3284 0.671573 48 1.5 48H46.5C47.3284 48 48 47.3284 48 46.5V1.5C48 0.671573 47.3284 0 46.5 0Z",fill:"#0D7EE8"}),React.createElement("path",{d:"M12.8058 23.327C13.2233 23.6289 13.816 23.5298 14.0891 23.1236C14.391 22.7062 14.2918 22.1134 13.8857 21.8403L9.86562 18.9603C9.72275 18.8501 9.7352 18.7122 9.74142 18.6433C9.74772 18.5744 9.8003 18.4541 9.97325 18.3863L36.7218 11.5667C36.8772 11.5391 36.9687 11.603 37.0314 11.6781C37.0941 11.7533 37.1568 11.8285 37.0866 11.9889L26.952 37.6323C26.8818 37.7928 26.7552 37.8091 26.6976 37.8317C26.6286 37.8254 26.4908 37.8129 26.4055 37.6802L23.3421 32.0652C23.2455 31.9036 23.1666 31.7018 23.07 31.5402C21.871 28.8185 21.5684 26.8103 23.8186 24.832L29.6121 19.4706C30.0054 19.1171 30.0441 18.5368 29.7018 18.1722C29.3484 17.7788 28.7681 17.7401 28.4034 18.0824L22.3186 23.327C19.2527 26.0237 19.7632 29.3781 21.7032 32.9731L24.7665 38.588C25.1578 39.3323 25.9537 39.7519 26.8047 39.7178C27.029 39.6965 27.2709 39.635 27.4726 39.5559C28.0202 39.3415 28.4487 38.9077 28.6941 38.3462L38.8289 12.7028C39.1332 11.9519 38.9901 11.0772 38.4485 10.4583C37.9068 9.83934 37.0809 9.59769 36.2864 9.77589L9.509 16.6068C8.69697 16.8251 8.08302 17.4645 7.91037 18.2967C7.73765 19.1289 8.09382 19.9535 8.78577 20.447L12.8058 23.327Z",fill:"white"}),React.createElement("path",{d:"M11.5395 31.0511C11.6148 31.0216 11.7053 30.9572 11.7708 30.9027L15.8196 27.349C16.1621 27.0412 16.1958 26.536 15.8978 26.2186C15.59 25.8761 15.0849 25.8424 14.7675 26.1404L10.7186 29.6941C10.3761 30.0019 10.3425 30.5071 10.6404 30.8245C10.8685 31.1113 11.2133 31.1788 11.5395 31.0511Z",fill:"white"}),React.createElement("path",{d:"M11.0218 36.7353C11.0971 36.706 11.1879 36.6419 11.2534 36.5875L18.1346 30.5614C18.478 30.2546 18.5131 29.7496 18.216 29.4313C17.9092 29.0879 17.4041 29.0528 17.0859 29.3499L10.2047 35.376C9.86136 35.6828 9.82626 36.1879 10.1233 36.5061C10.3409 36.7685 10.7203 36.8524 11.0218 36.7353Z",fill:"white"})),React.createElement(le,{size:30,lineHeight:38,weight:600,color:"primary"},"="),React.createElement(ve,{size:32,className:"text-black fill-current"}))),React.createElement("div",{className:"flex justify-center gap-6 p-2"},React.createElement("div",{className:"flex flex-col"},React.createElement(le,{size:20,lineHeight:30,letterSpacing:-.5,weight:600},(0,o.__)("Ensure Every Form Submission Reaches the Inbox with SureMail","sureforms")),React.createElement(le,{size:16,lineHeight:24,weight:400,color:"secondary"},(0,o.__)("SureForms and SureMail are the perfect pair! SureMail ensures that every form submission you receive is reliably delivered to your inbox. You'll never lose a lead, miss a support request, or overlook a customer inquiry again.","sureforms")))),React.createElement("div",{className:"flex justify-center gap-6 p-2"},React.createElement(Re,{pluginStatus:r,onClick:s}))),React.createElement("div",{className:"flex justify-center p-2 gap-2"},React.createElement(Se,null)),React.createElement("div",{className:"flex flex-col p-2 gap-3"},Array.from({length:Math.ceil(i.length/2)}).map((function(e,t){var r=2*t,o=r+2;return React.createElement("div",{key:t,className:"flex gap-6"},i.slice(r,o).map((function(e,t){return React.createElement("div",{key:t,className:"flex-1 p-4 gap-2"},React.createElement(Ce,{icon:e.icon,title:e.title,description:e.description}))})))}))),React.createElement("div",{className:"flex flex-col justify-center gap-3 text-center"},React.createElement("div",{className:"p-2 gap-6"},React.createElement(le,{size:24,lineHeight:32,weight:600,letterSpacing:-.6},(0,o.__)("Forms Submitted. Emails Delivered. Every Time.","sureforms"))),React.createElement("div",{className:"p-2 gap-6"},React.createElement(Re,{pluginStatus:r,onClick:s})))))};document.addEventListener("DOMContentLoaded",(function(){var e=document.getElementById("srfm-suremail-container");e&&(0,n.createRoot)(e).render(React.createElement(ze,null))}))})();