PageSourceSearch

https://spa-a.org/wp-content/plugins/stachethemes_event_calendar/a…?hash=b4e3b4889ef88f670336

js spa-a.org collected 2026-10-07 15:55:32 UTC 7,175 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkstec=globalThis.webpackChunkstec||[]).push([[5860],{48596:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(8403),a=n(22819);const o=e=>{const t=["stec-section"];return e.className&&t.push(e.className),React.createElement(r.BU,{className:t.join(" "),style:e.style},e.title&&React.createElement(r.As,{key:"title",className:"stec-section-title"},e.title),e.subtitle&&React.createElement(r.As,{key:"subittle",className:"stec-section-subtitle"},e.subtitle),(e.title||e.subtitle)&&React.createElement(a.A,null),e.children)}},16019:(e,t,n)=>{n.r(t),n.d(t,{default:()=>b});var r=n(52779),a=n(32488),o=n(48596),c=n(22819),s=n(98196),l=n(91927),u=n(8403),i=n(73772),d=n(26878),p=n(60799);const __=i.__,f=()=>{const{setActiveMenu:e}=(0,l.jw)();return React.createElement(React.Fragment,null,React.createElement(u.BU,{className:"stec-dashboard-top-nav"},React.createElement(r.A,{label:__("Home","stec"),className:"yellow",onClick:()=>{e({page:"home",params:{}})}}),React.createElement(r.A,{target:"_blank",href:"https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code-",label:__("Where is my purchase key?","stec"),className:"blue"}),React.createElement(r.A,{target:"_blank",href:"https://api3.stachethemes.com/stec/manage",label:__("Remote Activation","stec"),className:"stcolor"})))},h=({inputKeyRef:e,resetState:t})=>{const n=(0,d.useRef)(!1);return React.createElement(r.A,{label:__("Activate","stec"),className:"green",onClick:()=>{p.oR.promise(new Promise(((r,a)=>{n.current=!0,async function(){try{let n;n=await(0,s.t2)({route:"ACTIVATOR/ACTIVATE",data:{key:e.current},includeResponseStatus:!0,errorMessage:"auto"});const{status:a,data:o}=n;switch(a){case 201:case 200:return t(o.key),r(__("Plugin activated successfully","stec"))}}catch(e){return a(e.message)}}()})),{loading:__("Connecting","stec"),success:e=>(n.current=!1,e),error:e=>(n.current=!1,React.createElement(u.BU,{dangerouslySetInnerHTML:{__html:e}}))})}})},m=({inputKeyRef:e,resetState:t})=>{const n=(0,d.useRef)(!1);return React.createElement(r.A,{label:__("Deactivate","stec"),className:"red",onClick:()=>{p.oR.promise(new Promise(((r,a)=>{n.current=!0,async function(){try{let n;n=await(0,s.t2)({route:"ACTIVATOR/DEACTIVATE",data:{key:e.current},includeResponseStatus:!0,errorMessage:"auto"});const{status:a,data:o}=n;switch(a){case 201:case 200:return e.current="",t(""),r(__("Plugin deactivated successfully","stec"))}}catch(e){return a(e.message)}}()})),{loading:__("Connecting","stec"),success:e=>(n.current=!1,e),error:e=>(n.current=!1,React.createElement(u.BU,{dangerouslySetInnerHTML:{__html:e}}))})}})},y=({purchaseKey:e})=>{const[t,n]=(0,d.useState)(0),[r,s]=(0,d.useState)(e),l=(0,d.useRef)(r),u=e=>{s(e),n((new Date).getTime())};return React.createElement(o.A,{key:t,title:__("Activator","stec")},React.createElement(a.p$,{title:__("Enter your purchase key","stec"),description:(0,i.sprintf)(__("Note the plugin connects to %s to validate your purchase key","stec"),"stachethemes.com"),defaultValue:l.current,onChange:e=>{l.current=e}}),React.createElement(c.A,null),""!==r&&React.createElement(m,{inputKeyRef:l,resetState:u}),""===r&&React.createElement(h,{inputKeyRef:l,resetState:u}))};const b=function(){const{data:e,ready:t,error:n}=(0,l.zS)();return t?n?React.createElement(React.Fragment,null,React.createElement(f,null),React.createElement(o.A,{title:__("Activator","stec")},n)):React.createElement(React.Fragment,null,React.createElement(f,null),React.createElement(y,{purchaseKey:e.key})):null}},9545:(e,t,n)=>{n.d(t,{A:()=>d});var r=n(26878),a=n.n(r),o=n(73260),c=n.n(o),s=n(5556),l=n.n(s),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1(t,e),u(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(e){this.renderPortal()}},{key:"componentWillUnmount",value:function(){c().unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(e){this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var t=this.props.children;"function"==typeof this.props.children.type&&(t=a().cloneElement(this.props.children)),this.portal=c().unstable_renderSubtreeIntoContainer(this,t,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(a().Component);const d=i;i.propTypes={children:l().node.isRequired,node:l().any}},61246:(e,t,n)=>{n.d(t,{A:()=>p});var r=n(26878),a=n.n(r),o=n(5556),c=n.n(o),s=n(73260),l=n.n(s),u=n(48743),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return u.S?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),l().createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(a().Component);d.propTypes={children:c().node.isRequired,node:c().any};const p=d},33500:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(73260),a=n.n(r),o=n(61246),c=n(9545);const s=a().createPortal?o.A:c.A},48743:(e,t,n)=>{n.d(t,{S:()=>r});var r=!("undefined"==typeof window||!window.document||!window.document.createElement)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.