D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
oems
/
wp-content
/
plugins
/
ajax-search-lite
/
build
/
js
/
Filename :
maintenance.js
back
Copy
(function(){var ue={8623:(function(s){(function(_,k){s.exports=k()})(window,(()=>(()=>{"use strict";var _={d:(e,t)=>{for(var n in t)_.o(t,n)&&!_.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},k={};let h;_.d(k,{default:()=>M}),window.DoMini===void 0?(h=function(e,t){return arguments[2]!==void 0?this.constructor.call(this,e,t):arguments.length!==1||typeof arguments[0]!="function"?new h(e,t,!0):void(document.readyState==="complete"||document.readyState==="loaded"||document.readyState==="interactive"?arguments[0].apply(this,[h]):window.addEventListener("DOMContentLoaded",(()=>{arguments[0].apply(this,[h])})))},h.prototype=h.fn={constructor:function(e,t){if(this.length=0,t!==void 0){if(t instanceof h)return t.find(e);if(this.isValidNode(t)||typeof t=="string")return h(t).find(e)}else if(typeof e=="string"&&e!=="")this.push(...this._(e));else{if(e instanceof h)return e;this.isValidNode(e)&&this.push(e)}return this},_:function(e){return e.charAt(0)==="<"?h._fn.createElementsFromHTML(e):[...document.querySelectorAll(e)]},isValidNode:e=>e instanceof Element||e instanceof Document||e instanceof Window,push:Array.prototype.push,pop:Array.prototype.pop,sort:Array.prototype.sort,splice:Array.prototype.splice},h.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],h._fn={},h.version="0.2.8"):h=window.DoMini;const a=h;a.fn.get=function(e){return e===void 0?Array.from(this):this[e]},a.fn.extend=function(){for(let e=1;e<arguments.length;e++)for(let t in arguments[e])arguments[e].hasOwnProperty(t)&&(arguments[0][t]=arguments[e][t]);return arguments[0]},a.fn.forEach=function(e){return this.get().forEach((function(t,n,o){e.apply(t,[t,n,o])})),this},a.fn.each=function(e){return this.get().forEach((function(t,n,o){e.apply(t,[n,t,o])})),this},a.fn.css=function(e,t){for(const n of this)if(arguments.length===1){if(typeof e!="object")return window.getComputedStyle(n)[e];Object.keys(e).forEach((function(o){n.style[o]=e[o]}))}else n.style[e]=t;return this},a.fn.hasClass=function(e){let t=this.get(0);return t!=null&&t.classList.contains(e)},a.fn.addClass=function(e){let t=e;return typeof e=="string"&&(t=e.split(" ")),t=t.filter((function(n){return n.trim()!==""})),t.length>0&&this.forEach((function(n){n.classList.add.apply(n.classList,t)})),this},a.fn.removeClass=function(e){if(e!==void 0){let t=e;typeof e=="string"&&(t=e.split(" ")),t=t.filter((function(n){return n.trim()!==""})),t.length>0&&this.forEach((function(n){n.classList.remove.apply(n.classList,t)}))}else this.forEach((function(t){t.classList.length>0&&t.classList.remove.apply(t.classList,t.classList)}));return this},a.fn.isVisible=function(){let e,t=this.get(0),n=!0;for(;t!==null;){if(e=window.getComputedStyle(t),e.display==="none"||e.visibility==="hidden"||parseInt(e.opacity)===0){n=!1;break}t=t.parentElement}return n},a.fn.val=function(e){let t;if(arguments.length===1){for(const n of this)if(n.type==="select-multiple"){e=typeof e=="string"?e.split(","):e;for(let o,l=0,u=n.options.length;l<u;l++)o=n.options[l],o.selected=e.indexOf(o.value)!==-1}else n.value=e;t=this}else{let n=this.get(0);n!=null&&(t=n.type==="select-multiple"?Array.prototype.map.call(n.selectedOptions,(function(o){return o.value})):n.value)}return t},a.fn.attr=function(e,t){let n;for(const o of this)if(arguments.length===2)o.setAttribute(e,t),n=this;else{if(typeof e!="object"){n=o.getAttribute(e);break}Object.keys(e).forEach((function(l){o.setAttribute(l,e[l])}))}return n},a.fn.removeAttr=function(e){for(const t of this)t.removeAttribute(e);return this},a.fn.prop=function(e,t){let n;for(const o of this){if(arguments.length!==2){n=o[e]!==void 0?o[e]:null;break}o[e]=t}return arguments.length===2?this:n},a.fn.data=function(e,t){const n=e.replace(/-([a-z])/g,(function(o){return o[1].toUpperCase()}));if(arguments.length===2){for(const o of this)o!=null&&(o.dataset[n]=t);return this}{let o=this.get(0);return o!=null&&o.dataset[n]!==void 0?o.dataset[n]:""}},a.fn.html=function(e){if(arguments.length===1){for(const t of this)t.innerHTML=e;return this}{let t=this.get(0);return t==null?"":t.innerHTML}},a.fn.text=function(e){if(arguments.length===1){for(const t of this)t.textContent=e;return this}{let t=this.get(0);return t==null?"":t.textContent}},a.fn.position=function(){let e=this.get(0);return e!=null?{top:e.offsetTop,left:e.offsetLeft}:{top:0,left:0}},a.fn.offset=function(){let e=this.get(0);return e!=null?a._fn.hasFixedParent(e)?e.getBoundingClientRect():a._fn.absolutePosition(e):{top:0,left:0}},a.fn.outerWidth=function(e){e=e||!1;let t=this.get(0);return t!=null?e?parseInt(t.offsetWidth)+parseInt(this.css("marginLeft"))+parseInt(this.css("marginRight")):parseInt(t.offsetWidth):0},a.fn.outerHeight=function(e){e=e||!1;let t=this.get(0);return t!=null?e?parseInt(t.offsetHeight)+parseInt(this.css("marginTop"))+parseInt(this.css("marginBottom")):parseInt(t.offsetHeight):0},a.fn.noPaddingHeight=function(e){return e=e||!1,this.length>0?e?parseInt(this.css("height"))+parseInt(this.css("marginTop"))+parseInt(this.css("marginBottom")):parseInt(this.css("height")):0},a.fn.noPaddingWidth=function(e){return e=e||!1,this.length>0?e?parseInt(this.css("width"))+parseInt(this.css("marginLeft"))+parseInt(this.css("marginRight")):parseInt(this.css("width")):0},a.fn.innerWidth=function(){let e=this.get(0);if(e!=null){let t=window.getComputedStyle(e);return this.outerWidth()-parseFloat(t.borderLeftWidth)-parseFloat(t.borderRightWidth)}return 0},a.fn.innerHeight=function(){let e=this.get(0);if(e!=null){let t=window.getComputedStyle(e);return this.outerHeight()-parseFloat(t.borderTopWidth)-parseFloat(t.borderBottomtWidth)}return 0},a.fn.width=function(){return this.outerWidth()},a.fn.height=function(){return this.outerHeight()},a.fn.on=function(){let e=arguments,t=function(o,l){let u;if(l.type==="mouseenter"||l.type==="mouseleave"||l.type==="mouseover"){let p=document.elementFromPoint(l.clientX,l.clientY);if(!p.matches(o[1]))for(;(p=p.parentElement)&&!p.matches(o[1]););p!=null&&(u=a(p))}else u=a(l.target).closest(o[1]);if(u!=null&&u.closest(this).length>0){let p=[];if(p.push(l),o[4]!==void 0)for(let m=4;m<o.length;m++)p.push(o[m]);o[2].apply(u.get(0),p)}},n=e[0].split(" ");for(let o=0;o<n.length;o++){let l=n[o];if(typeof e[1]=="string")this.forEach((function(u){if(!a._fn.hasEventListener(u,l,e[2])){let p=t.bind(u,e);u.addEventListener(l,p,e[3]),u._domini_events=u._domini_events===void 0?[]:u._domini_events,u._domini_events.push({type:l,selector:e[1],func:p,trigger:e[2],args:e[3]})}}));else for(let u=0;u<n.length;u++){let p=n[u];this.forEach((function(m){a._fn.hasEventListener(m,p,e[1])||(m.addEventListener(p,e[1],e[2]),m._domini_events=m._domini_events===void 0?[]:m._domini_events,m._domini_events.push({type:p,func:e[1],trigger:e[1],args:e[2]}))}))}}return this},a.fn.off=function(e,t){return this.forEach((function(n){if(n._domini_events!==void 0&&n._domini_events.length>0)if(e===void 0){let o;for(;o=n._domini_events.pop();)n.removeEventListener(o.type,o.func,o.args);n._domini_events=[]}else e.split(" ").forEach((function(o){let l,u=[];for(;l=n._domini_events.pop();)l.type!==o||t!==void 0&&l.trigger!==t?u.push(l):n.removeEventListener(o,l.func,l.args);n._domini_events=u}))})),this},a.fn.offForced=function(){let e=this;return this.forEach((function(t,n){let o=t.cloneNode(!0);t.parentNode.replaceChild(o,t),e[n]=o})),this},a.fn.trigger=function(e,t,n,o){return n=n||!1,o=o||!1,this.forEach((function(l){let u=!1;if(o&&typeof jQuery<"u"&&jQuery._data!==void 0&&jQuery._data(l,"events")!==void 0&&jQuery._data(l,"events")[e]!==void 0&&(jQuery(l).trigger(e,t),u=!0),!u&&n){let p=new Event(e);p.detail=t,l.dispatchEvent(p)}if(l._domini_events!==void 0)l._domini_events.forEach((function(p){if(p.type===e){let m=new Event(e);p.trigger.apply(l,[m].concat(t))}}));else{let p=!1,m=l;for(;m=m.parentElement,m!=null&&(m._domini_events!==void 0&&m._domini_events.forEach((function(w){if(w.selector!==void 0){let S=a(m).find(w.selector);if(S.length>0&&S.get().indexOf(l)>=0&&w.type===e){let j=new Event(e);w.trigger.apply(l,[j].concat(t)),p=!0}}})),!p););}})),this},a.fn.clear=function(){for(const e of this)delete e._domini_events;return this},a.fn.clone=function(){let e=[];for(const t of this)e.push(t.cloneNode(!0));return a().add(e)},a.fn.detach=function(e){let t=this,n=[];e!==void 0&&(t=this.find(e));for(const o of t)o.parentElement!=null&&n.push(o.parentElement.removeChild(o));return a().add(n)},a.fn.remove=function(e){return this.detach(e).off().clear()},a.fn.prepend=function(e){if((e=a._fn.elementArrayFromAny(e)).length>0)for(const t of this)for(const n of e)t.insertBefore(n,t.children[0]);return this},a.fn.append=function(e){if((e=a._fn.elementArrayFromAny(e)).length>0)for(const t of this)for(const n of e)t.appendChild(n);return this},a.fn.is=function(e){let t=!1;for(const n of this)if(n.matches(e)){t=!0;break}return t},a.fn.parent=function(e){let t=[];for(const n of this){let o=n.parentElement;typeof e=="string"&&(o==null||o.matches(e)||(o=null)),t.push(o)}return a().add(t)},a.fn.copy=function(e,t){let n,o,l;if(typeof e!="object"||e===null)return n=e,n;for(o in n=new e.constructor,e)e.hasOwnProperty(o)&&(l=typeof e[o],t&&l==="object"&&e[o]!==null?n[o]=this.copy(e[o]):n[o]=e[o]);return n},a.fn.first=function(){return a(this[0])},a.fn.last=function(){return a(this[this.length-1])},a.fn.prev=function(e){let t=[];for(const n of this){let o;if(typeof e=="string")for(o=n.previousElementSibling;o!=null;){if(o.matches(e)){t.push(o);break}o=o.previousElementSibling}else t.push(n.previousElementSibling)}return a(null).add(t)},a.fn.next=function(e){let t=[];for(const n of this){let o;if(typeof e=="string")for(o=n.nextElementSibling;o!=null;){if(o.matches(e)){t.includes(o)||t.push(o);break}o=o.nextElementSibling}else t.push(n.nextElementSibling)}return a(null).add(t)},a.fn.closest=function(e){let t=[];for(let n of this)if(typeof e=="string"&&e!==""){for(;!n.matches(e)&&(n=n.parentElement););t.includes(n)||t.push(n)}else{if((e=e instanceof a?e.get(0):e)instanceof Element)for(;n!==e&&(n=n.parentElement););else n=null;t.includes(n)||t.push(n)}return a().add(t)},a.fn.add=function(e){let t=a._fn.elementArrayFromAny(e);for(const n of t)Array.from(this).includes(n)||this.push(n);return this},a.fn.find=function(e){const t=new a;if(typeof e=="string"){let n=[];this.get().forEach((function(o){const l=o.querySelectorAll?.(e)??[];n=n.concat(Array.from(l))})),n.length>0&&t.add(n)}return t},a._fn.bodyTransform=function(){let e=0,t=0;if(typeof WebKitCSSMatrix<"u"){let n=window.getComputedStyle(document.body);if(n.transform!==void 0){let o=new WebKitCSSMatrix(n.transform);o.m41!=="undefined"&&(e=o.m41),o.m42!=="undefined"&&(t=o.m42)}}return{x:e,y:t}},a._fn.bodyTransformY=function(){return this.bodyTransform().y},a._fn.bodyTransformX=function(){return this.bodyTransform().x},a._fn.hasFixedParent=function(e){if(a._fn.bodyTransformY()!=0)return!1;do if(window.getComputedStyle(e).position=="fixed")return!0;while(e=e.parentElement);return!1},a._fn.hasEventListener=function(e,t,n){if(e._domini_events===void 0)return!1;for(let o=0;o<e._domini_events.length;o++)if(e._domini_events[o].trigger===n&&e._domini_events[o].type===t)return!0;return!1},a._fn.allDescendants=function(e){let t=[],n=this;return Array.isArray(e)||(e=[e]),e.forEach((function(o){for(let l=0;l<o.childNodes.length;l++){let u=o.childNodes[l];t.push(u),t=t.concat(n.allDescendants(u))}})),t},a._fn.createElementsFromHTML=function(e){let t=document.createElement("template");return t.innerHTML=e.replace(/(\r\n|\n|\r)/gm,""),[...t.content.childNodes]},a._fn.elementArrayFromAny=function(e){if(typeof e=="string")e=a(e).get();else if(e instanceof a)e=e.get();else if(e instanceof Element)e=[e];else{if(!(e instanceof Array))return[];e=e.filter((t=>t instanceof Element))}return e},a._fn.ElementArrayFromAny=a._fn.elementArrayFromAny,a._fn.absolutePosition=function(e){if(!e.getClientRects().length)return{top:0,left:0};let t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView;return{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}},a._fn.plugin=function(e,t){a.fn[e]=function(n){return n!==void 0&&t[n]?t[n].apply(this,Array.prototype.slice.call(arguments,1)):this.forEach((function(o){o["domini_"+e]=Object.create(t).init(n,o)}))}},document.dispatchEvent(new Event("domini-dom-core-loaded"));const W=a;a.fn.animate=function(e,t,n){t=t||200,n=n||"easeInOutQuad";for(const o of this){let l,u,p,m,w,S=0,j=60,O={},L={};if(p=this.prop("_domini_animations"),p=p??[],e===!1)p.forEach((function(A){clearInterval(A)}));else{let A=function(){S++,S>l?clearInterval(m):(u=w(S/l),Object.keys(L).forEach((function(b){b.indexOf("scroll")>-1?o[b]=O[b]+L[b]*u:o.style[b]=O[b]+L[b]*u+"px"})))};w=a.fn.animate.easing[n]??a.fn.animate.easing.easeInOutQuad,Object.keys(e).forEach((function(b){b.indexOf("scroll")>-1?(O[b]=o[b],L[b]=e[b]-O[b]):(O[b]=parseInt(window.getComputedStyle(o)[b]),L[b]=e[b]-O[b])})),l=t/1e3*j,m=setInterval(A,1e3/j),p.push(m),this.prop("_domini_animations",p)}}return this},a.fn.animate.easing={linear:function(e){return e},easeInOutQuad:function(e){return e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2},easeOutQuad:function(e){return 1-(1-e)*(1-e)}},a.fn.unhighlight=function(e){let t={className:"highlight",element:"span"};return a.fn.extend(t,e),this.find(t.element+"."+t.className).forEach((function(){let n=this.parentNode;n.replaceChild(this.firstChild,this),n.normalize()}))},a.fn.highlight=function(e,t){this.defaults={className:"highlight",element:"span",caseSensitive:!1,wordsOnly:!1,excludeParents:".excludeFromHighlight"};const n=a,o={...this.defaults,...t};if(e.constructor===String&&(e=[e]),(e=e.filter((function(w){return w!==""}))).forEach((function(w,S,j){j[S]=w.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&").normalize("NFD").replace(/[\u0300-\u036f]/g,"")})),e.length===0)return this;let l=o.caseSensitive?"":"i",u="("+e.join("|")+")";o.wordsOnly&&(u="(?:,|^|\\s)"+u+"(?:,|$|\\s)");let p=new RegExp(u,l);function m(w,S,j,O,L){if(L=L===""?n.fn.highlight.defaults:L,w.nodeType===3){if(!n(w.parentNode).is(L)){let A=w.data.normalize("NFD").replace(/[\u0300-\u036f]/g,"").match(S);if(A){let b,$=document.createElement(j||"span");$.className=O||"highlight",b=/\.|,|\s/.test(A[0].charAt(0))?A.index+1:A.index;let q=w.splitText(b);q.splitText(A[1].length);let G=q.cloneNode(!0);return $.appendChild(G),q.parentNode.replaceChild($,q),1}}}else if(w.nodeType===1&&w.childNodes&&!/(script|style)/i.test(w.tagName)&&!n(w).closest(L).length>0&&(w.tagName!==j.toUpperCase()||w.className!==O))for(let A=0;A<w.childNodes.length;A++)A+=m(w.childNodes[A],S,j,O,L);return 0}return this.forEach((function(w){m(w,p,o.element,o.className,o.excludeParents)}))},a.fn.serialize=function(){let e=this.get(0);if(!e||e.nodeName!=="FORM")return"";let t,n,o=[];for(t=e.elements.length-1;t>=0;t-=1)if(e.elements[t].name!=="")switch(e.elements[t].nodeName){case"INPUT":switch(e.elements[t].type){case"checkbox":case"radio":e.elements[t].checked&&o.push(e.elements[t].name+"="+encodeURIComponent(e.elements[t].value));break;case"file":break;default:o.push(e.elements[t].name+"="+encodeURIComponent(e.elements[t].value))}break;case"TEXTAREA":o.push(e.elements[t].name+"="+encodeURIComponent(e.elements[t].value));break;case"SELECT":switch(e.elements[t].type){case"select-one":o.push(e.elements[t].name+"="+encodeURIComponent(e.elements[t].value));break;case"select-multiple":for(n=e.elements[t].options.length-1;n>=0;n-=1)e.elements[t].options[n].selected&&o.push(e.elements[t].name+"="+encodeURIComponent(e.elements[t].options[n].value))}break;case"BUTTON":switch(e.elements[t].type){case"reset":case"submit":case"button":o.push(e.elements[t].name+"="+encodeURIComponent(e.elements[t].value))}}return o.join("&")},a.fn.serializeObject=function(e,t){let n,o=[];for(n in e)if(e.hasOwnProperty(n)){let l=t?t+"["+n+"]":n,u=e[n];o.push(u!==null&&typeof u=="object"?a.fn.serializeObject(u,l):encodeURIComponent(l)+"="+encodeURIComponent(u))}return o.join("&")},a.fn.inViewPort=function(e,t){let n,o,l=this.get(0);if(l==null)return!1;e=e===void 0?0:e,t=t===void 0?window:typeof t=="string"?document.querySelector(t):t;let u=l.getBoundingClientRect(),p=u.top,m=u.bottom,w=u.left,S=u.right,j=!1;if(t==null&&(t=window),t===window)n=window.innerWidth||0,o=window.innerHeight||0;else{n=t.clientWidth,o=t.clientHeight;let O=t.getBoundingClientRect();p-=O.top,m-=O.top,w-=O.left,S-=O.left}return e=~~Math.round(parseFloat(e)),S<=0||w>=n||(j=e>0?p>=e&&m<o-e:(m>0&&p<=o-e)|(p<=0&&m>e)),j},a.fn.ajax=function(e){if((e=this.extend({url:"",method:"GET",cors:"cors",data:{},success:null,fail:null,accept:"text/html",contentType:"application/x-www-form-urlencoded; charset=UTF-8"},e)).cors==="cors"){let t=new XMLHttpRequest;return t.onreadystatechange=function(){e.success!=null&&this.readyState===4&&this.status>=200&&this.status<400&&e.success(this.responseText),e.fail!=null&&this.readyState===4&&this.status>=400&&e.fail(this)},t.open(e.method.toUpperCase(),e.url,!0),t.setRequestHeader("Content-type",e.contentType),t.setRequestHeader("Accept",e.accept),t.send(this.serializeObject(e.data)),t}{let t="ajax_cb_"+"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(o){let l=16*Math.random()|0;return(o==="x"?l:3&l|8).toString(16)})).replaceAll("-","");a.fn[t]=function(){e.success.apply(this,arguments),delete a.fn[e.data.fn]},e.data.callback="DoMini.fn."+t,e.data.fn=t;let n=document.createElement("script");n.type="text/javascript",n.src=e.url+"?"+this.serializeObject(e.data),n.onload=function(){this.remove()},document.body.appendChild(n)}};const M=W;return k.default})()))}),9645:(function(s){"use strict";/* object-assign (c) Sindre Sorhus @license MIT */var _=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;function a(M){if(M==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(M)}function W(){try{if(!Object.assign)return!1;var M=new String("abc");if(M[5]="de",Object.getOwnPropertyNames(M)[0]==="5")return!1;for(var e={},t=0;t<10;t++)e["_"+String.fromCharCode(t)]=t;var n=Object.getOwnPropertyNames(e).map(function(l){return e[l]});if(n.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(l){o[l]=l}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}s.exports=W()?Object.assign:function(M,e){for(var t,n=a(M),o,l=1;l<arguments.length;l++){t=Object(arguments[l]);for(var u in t)k.call(t,u)&&(n[u]=t[u]);if(_){o=_(t);for(var p=0;p<o.length;p++)h.call(t,o[p])&&(n[o[p]]=t[o[p]])}}return n}}),3691:(function(s,_,k){"use strict";var h;/** @license React v17.0.2 * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */k(9645);var a=k(1609),W=60103;if(h=60107,typeof Symbol=="function"&&Symbol.for){var M=Symbol.for;W=M("react.element"),h=M("react.fragment")}var e=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,t=Object.prototype.hasOwnProperty,n={key:!0,ref:!0,__self:!0,__source:!0};function o(l,u,p){var m,w={},S=null,j=null;p!==void 0&&(S=""+p),u.key!==void 0&&(S=""+u.key),u.ref!==void 0&&(j=u.ref);for(m in u)t.call(u,m)&&!n.hasOwnProperty(m)&&(w[m]=u[m]);if(l&&l.defaultProps)for(m in u=l.defaultProps,u)w[m]===void 0&&(w[m]=u[m]);return{$$typeof:W,type:l,key:S,ref:j,props:w,_owner:e.current}}_.jsx=o,_.jsxs=o}),3593:(function(s,_,k){"use strict";s.exports=k(3691)}),1609:(function(s){"use strict";s.exports=window.React})},Z={};function T(s){var _=Z[s];if(_!==void 0)return _.exports;var k=Z[s]={exports:{}};return ue[s](k,k.exports,T),k.exports}(function(){T.n=function(s){var _=s&&s.__esModule?function(){return s.default}:function(){return s};return T.d(_,{a:_}),_}})(),(function(){T.d=function(s,_){for(var k in _)T.o(_,k)&&!T.o(s,k)&&Object.defineProperty(s,k,{enumerable:!0,get:_[k]})}})(),(function(){T.o=function(s,_){return Object.prototype.hasOwnProperty.call(s,_)}})();var qe={};(function(){"use strict";var s=T(3593),_=window.ReactDOM,k=T.n(_),h=T(1609),a=T.n(h);const W=["Yay","Top of the morning to you","You did it","All good chief","Looking good","Good job"],M=["Something went south :(","Ooof, please try again","Ouch, that didn't work...","Ooops, that didn't work..."];let e=[],t=[];const n=()=>t.forEach(i=>i(e)),o=i=>{e=e.filter(r=>r.id!==i),n()},l=(i,r="")=>{const c=Math.random().toString(36).substring(2,9);r===""&&(i==="success"?r=W[Math.floor(Math.random()*W.length)]:r=M[Math.floor(Math.random()*M.length)]),e=[...e,{id:c,type:i,text:r}],n(),setTimeout(()=>o(c),i==="success"?3e3:15e3)},u=(i="")=>l("success",i),p=(i="")=>{typeof i=="string"?l("error",i):l("error",i.message)},m=()=>{const[i,r]=(0,h.useState)(e);return(0,h.useEffect)(()=>(t.push(r),r(e),()=>{t=t.filter(c=>c!==r)}),[]),{messages:i,addSuccess:u,addError:p,addMessage:l,dismissMessage:o}};function w(i){var r,c,f="";if(typeof i=="string"||typeof i=="number")f+=i;else if(typeof i=="object")if(Array.isArray(i)){var d=i.length;for(r=0;r<d;r++)i[r]&&(c=w(i[r]))&&(f&&(f+=" "),f+=c)}else for(c in i)i[c]&&(f&&(f+=" "),f+=c);return f}function S(){for(var i,r,c=0,f="",d=arguments.length;c<d;c++)(i=arguments[c])&&(r=w(i))&&(f&&(f+=" "),f+=r);return f}var j=S;/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const O=(...i)=>i.filter((r,c,f)=>!!r&&r.trim()!==""&&f.indexOf(r)===c).join(" ").trim();/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const L=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const A=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,c,f)=>f?f.toUpperCase():c.toLowerCase());/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const b=i=>{const r=A(i);return r.charAt(0).toUpperCase()+r.slice(1)};/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var $={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"};/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const q=i=>{for(const r in i)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1};var G,fe;/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ee=(0,h.createContext)({});function Ve({children:i,size:r,color:c,strokeWidth:f,absoluteStrokeWidth:d,className:g}){const y=G(()=>({size:r,color:c,strokeWidth:f,absoluteStrokeWidth:d,className:g}),[r,c,f,d,g]);return fe(ee.Provider,{value:y},i)}const he=()=>(0,h.useContext)(ee);/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const pe=(0,h.forwardRef)(({color:i,size:r,strokeWidth:c,absoluteStrokeWidth:f,className:d="",children:g,iconNode:y,...x},C)=>{const{size:N=24,strokeWidth:P=2,absoluteStrokeWidth:F=!1,color:R="currentColor",className:Q=""}=he()??{},U=f??F?Number(c??P)*24/Number(r??N):c??P;return(0,h.createElement)("svg",{ref:C,...$,width:r??N??$.width,height:r??N??$.height,stroke:i??R,strokeWidth:U,className:O("lucide",Q,d),...!g&&!q(x)&&{"aria-hidden":"true"},...x},[...y.map(([Y,E])=>(0,h.createElement)(Y,E)),...Array.isArray(g)?g:[g]])});/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const B=(i,r)=>{const c=(0,h.forwardRef)(({className:f,...d},g)=>(0,h.createElement)(pe,{ref:g,iconNode:r,className:O(`lucide-${L(b(i))}`,`lucide-${i}`,f),...d}));return c.displayName=b(i),c};/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const me=B("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const we=B("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ge=B("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),xe={success:(0,s.jsx)(me,{className:"wdo:w-5 wdo:h-5 wdo:shrink-0"}),error:(0,s.jsx)(we,{className:"wdo:w-5 wdo:h-5 wdo:shrink-0"})};var ye=({messages:i})=>(0,s.jsx)("div",{className:"wdo:fixed wdo:top-16 wdo:left-1/2 wdo:-translate-x-1/2 wdo:w-full wdo:max-w-md wdo:z-50 wdo:flex wdo:flex-col wdo:gap-2 wdo:px-4",children:i.map(r=>(0,s.jsxs)("div",{className:j("wdo:toast",r.type==="success"?"wdo:toast-success":"wdo:toast-error"),children:[(0,s.jsx)("span",{className:j("wdo:shrink-0",r.type==="success"?"wdo:text-green-600 wdo:dark:text-green-400":"wdo:text-red-600 wdo:dark:text-red-400"),children:xe[r.type]}),(0,s.jsx)("span",{className:"wdo:grow wdo:text-sm",children:r.text}),(0,s.jsx)("button",{className:"wdo:shrink-0 wdo:p-0.5 wdo:rounded wdo:border-0 wdo:cursor-pointer wdo:bg-transparent wdo:text-wp-admin-500 wdo:hover:text-wp-admin-800 wdo:dark:text-wp-admin-400 wdo:dark:hover:text-wp-admin-100 wdo:transition-colors",onClick:()=>o(r.id),"aria-label":"Dismiss",children:(0,s.jsx)(ge,{className:"wdo:w-4 wdo:h-4"})})]},r.id))});/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ve=B("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const _e=B("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const be=B("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]),te=(0,h.createContext)(void 0),ne=i=>i==="light"||i==="dark"||i==="system",oe=i=>i==="dark"?!0:i==="light"?!1:window.matchMedia("(prefers-color-scheme: dark)").matches,je=({children:i})=>{const[r,c]=(0,h.useState)(()=>{const y=localStorage.getItem("wdo_darkmode");return ne(y)?y:"system"}),[f,d]=(0,h.useState)(()=>oe(r)),g=y=>{c(y),localStorage.setItem("wdo_darkmode",y)};return(0,h.useEffect)(()=>{d(oe(r))},[r]),(0,h.useEffect)(()=>{if(r!=="system")return;const y=window.matchMedia("(prefers-color-scheme: dark)"),x=C=>d(C.matches);return y.addEventListener("change",x),()=>y.removeEventListener("change",x)},[r]),(0,h.useEffect)(()=>{document.body.classList.toggle("wdo:dark",f)},[f]),(0,h.useEffect)(()=>{const y=x=>{x.key==="wdo_darkmode"&&ne(x.newValue)&&c(x.newValue)};return window.addEventListener("storage",y),()=>window.removeEventListener("storage",y)},[]),(0,s.jsx)(te.Provider,{value:{isDark:f,mode:r,setMode:g},children:i})},ke=()=>{const i=(0,h.useContext)(te);if(i===void 0)throw new Error("useIsDark must be used within a DarkModeProvider");return i},Ee=[{mode:"light",icon:(0,s.jsx)(ve,{}),title:"Light"},{mode:"system",icon:(0,s.jsx)(_e,{}),title:"System"},{mode:"dark",icon:(0,s.jsx)(be,{}),title:"Dark"}],Ce=()=>{const{isDark:i,mode:r,setMode:c}=ke();return(0,s.jsx)("div",{className:j("wdo:inline-flex wdo:rounded-lg wdo:p-0.5 wdo:gap-0.5",i?"wdo:bg-wp-admin-700":"wdo:bg-wp-admin-200"),children:Ee.map(({mode:f,icon:d,title:g})=>{const y=r===f;return(0,s.jsx)("button",{title:g,onClick:()=>c(f),className:j("wdo:rounded wdo:p-1.5 wdo:border-0 wdo:cursor-pointer","wdo:transition-colors wdo:flex wdo:items-center wdo:justify-center",y?i?"wdo:bg-wp-admin-500 wdo:text-white":"wdo:bg-white wdo:text-wp-admin-700 wdo:shadow-sm":i?"wdo:bg-transparent wdo:text-wp-admin-300":"wdo:bg-transparent wdo:text-wp-admin-500"),children:(0,s.jsx)("span",{className:"wdo:w-[18px] wdo:h-[18px] wdo:flex wdo:items-center wdo:justify-center",children:d})},f)})})};var Ne=({subtitle:i="",logo:r,className:c=""})=>(0,s.jsxs)("div",{className:"wdo:top-bar",children:[(0,s.jsxs)("div",{className:j("wdo:flex wdo:items-baseline wdo:gap-3",c),children:[r,i?(0,s.jsx)("h2",{children:i}):""]}),(0,s.jsx)(Ce,{})]}),Se=()=>(0,s.jsx)("svg",{height:"20",width:"20",viewBox:"0 0 20 20",style:{float:"right"},"aria-hidden":"true",focusable:"false",children:(0,s.jsx)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"})}),Oe=()=>(0,s.jsx)("svg",{height:"20",width:"20",viewBox:"0 0 20 20",style:{float:"right",transform:"rotate(180deg)"},"aria-hidden":"true",focusable:"false",children:(0,s.jsx)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"})});const K=(0,h.createContext)(null),Me=({children:i})=>{const[r,c]=(0,h.useState)(null),[f,d]=(0,h.useState)(()=>window.location.hash.slice(1)||null),[g,y]=(0,h.useState)([]),x=(0,h.useRef)([]),[C,N]=(0,h.useState)(()=>({})),P=E=>{const D=x.current.reduce((z,H)=>(z[H]=!0,z),{});N(z=>({...z,...D,[E]:!0}))},F=E=>{N(D=>({...D,[E]:!1}))},R=E=>{N(D=>({...D,[E]:!(D[E]??!1)}))},Q=E=>{y(D=>[...D,f]),d(E),E?window.history.pushState(null,"",`#${E}`):window.history.replaceState(null,"",window.location.pathname+window.location.search)},U=()=>{if(g.length===0)return;const E=g[g.length-1];y(D=>D.slice(0,-1)),d(E),E?window.history.pushState(null,"",`#${E}`):window.history.replaceState(null,"",window.location.pathname+window.location.search)},Y=g.length>0;return(0,h.useEffect)(()=>{const E=()=>{d(window.location.hash.slice(1)||null),f&&P(f)};return f&&P(f),window.addEventListener("hashchange",E),()=>window.removeEventListener("hashchange",E)},[]),(0,s.jsx)(K.Provider,{value:{activeId:f,setActiveId:d,isOpen:C,toggleOpen:R,open:P,close:F,openedParents:x,confirmBeforeSwap:r,setConfirmBeforeSwap:c,navigate:Q,goBack:U,canGoBack:Y},children:i})},Ae=({children:i,...r})=>(0,s.jsx)("ul",{style:{listStyleType:"none",padding:0,userSelect:"none"},...r,children:h.Children.map(i,c=>(0,h.cloneElement)(c,{level:0}))}),se=({label:i,id:r,children:c,iconBefore:f,iconAfter:d,disabled:g,defaultActive:y=!1,level:x=0,parents:C=[],...N})=>{const P=(0,h.useContext)(K);if(!P)throw new Error("MenuItem must be used within a MenuProvider");const{activeId:F,isOpen:R,toggleOpen:Q,openedParents:U,confirmBeforeSwap:Y,setConfirmBeforeSwap:E,navigate:D}=P,z=F!==null?F===r:y,H=h.Children.count(c)>0,J=H?R[r]:!1;z&&(H&&(U.current=[...new Set(U.current.concat([r]))]),C.length&&(U.current=[...new Set(U.current.concat(C))]));const ze=["","wdo:pl-4","wdo:pl-6","wdo:pl-8","wdo:pl-10"];return(0,s.jsxs)("li",{...N,children:[(0,s.jsxs)("a",{href:r?`#${r}`:void 0,onClick:X=>{X.preventDefault(),H&&!J&&Q(r),!g&&(Y===null||confirm(Y))&&(E(null),H||D(r))},className:` ${ze[x]??""} ${z?"wdo:menu-item-active":""} wdo:menu-item `,children:[f&&(0,s.jsx)("span",{children:f}),(0,s.jsx)("span",{children:i}),d&&(0,s.jsx)("span",{children:d}),H&&(0,s.jsx)("span",{className:"wdo:dark:fill-gray-300",onClick:X=>{X.stopPropagation(),X.preventDefault(),Q(r)},children:J?(0,s.jsx)(Oe,{}):(0,s.jsx)(Se,{})})]}),H&&(0,s.jsx)("ul",{style:{listStyleType:"none",padding:0,display:J?"block":"none"},children:h.Children.map(c,X=>(0,h.cloneElement)(X,{level:x+1,parents:C.concat([r]),...N}))})]})};/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Le=B("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);var Te;const V=({className:i="",children:r,isLoading:c,...f})=>(0,s.jsx)("button",{className:`wdo:button ${i}`,...f,...c?{disabled:!0}:{},children:c?(0,s.jsx)(Le,{className:"wdo:animate-spin wdo:w-4 wdo:h-4"}):r}),Ie=({className:i="",children:r,...c})=>(0,s.jsx)(V,{className:`wdo:button-primary ${i}`,...c,children:r}),re=({className:i="",children:r,...c})=>(0,s.jsx)(V,{className:`wdo:button-danger ${i}`,...c,children:r}),st=({className:i="",children:r,...c})=>Te(V,{className:`wdo:button-ghost ${i}`,...c,children:r}),Pe=({children:i,onOverlayClick:r,isOpen:c=!1,...f})=>(0,s.jsx)("div",{className:j("wdo:modal",c&&"open"),onClick:r,children:(0,s.jsx)("div",{className:"wdo:modal-content",onClick:d=>d.stopPropagation(),...f,children:i})});var ie=a().memo(Pe),v=window.wp.i18n;/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Re=B("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]]);/** * @license lucide-react v1.14.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const De=B("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);var at=T(8623),I,ae;const lt=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent),le=i=>{let r=!1;return typeof window.$<"u"&&(typeof i>"u"||typeof window.$.fn[i]<"u")&&(r=window.$),r===!1&&typeof window.jQuery<"u"&&(r=window.jQuery,(typeof i>"u"||typeof window.jQuery.fn[i]<"u")&&(r=window.jQuery)),r},ct=function(i,r){let c=i.find("input,textarea,select,button").get();if(arguments.length===1){const f={};return c.forEach(function(d){d.name&&!d.disabled&&(d.checked||/select|textarea/i.test(d.nodeName)||/text/i.test(d.type)||I(d).hasClass("hasDatepicker")||I(d).hasClass("asp_slider_hidden"))&&(f[d.name]===void 0&&(f[d.name]=[]),I(d).hasClass("hasDatepicker")?f[d.name].push(I(d).parent().find(".asp_datepicker_hidden").val()):f[d.name].push(I(d).val()))}),JSON.stringify(f)}else if(r!==void 0){const f=typeof r!="object"?JSON.parse(r):r;return c.forEach(function(d){if(d.name)if(f[d.name]){let g=f[d.name],y=I(d);if(Object.prototype.toString.call(g)!=="[object Array]"&&(g=[g]),d.type==="checkbox"||d.type==="radio"){let x=y.val(),C=!1;for(let N=0;N<g.length;N++)if(g[N]===x){C=!0;break}y.prop("checked",C)}else y.val(g[0]),I(d).hasClass("asp_gochosen")||I(d).hasClass("asp_goselect2")?ae(function(x){x(d).trigger("change.asp_select2")},function(){return le("asp_select2")},50,3):I(d).hasClass("hasDatepicker")&&ae(function(x){const C=y.get(0);if(C===void 0)return;let N=g[0],P=x(C).datepicker("option","dateFormat");x(C).datepicker("option","dateFormat","yy-mm-dd"),x(C).datepicker("setDate",N),x(C).datepicker("option","dateFormat",P),x(C).trigger("selectnochange")},function(){return le("datepicker")},50,3)}else(d.type==="checkbox"||d.type==="radio")&&I(d).prop("checked",!1)}),i}},dt=function(i,r,c,f="self"){let d;d=I('<form style="display: none;" />'),d.attr("action",i),d.attr("method",r),I("body").append(d),typeof c<"u"&&c!==null&&Object.keys(c).forEach(function(g){let y=c[g],x=I('<input type="hidden" />');x.attr("name",g),x.attr("value",y),d.append(x)}),f=="new"&&d.attr("target","_blank"),d.get(0).submit()},We=function(i){Object.assign(document.createElement("a"),{target:"_blank",href:i}).click()},Be=function(i){if(typeof i.checkVisibility>"u")return!0;let r=i,c=!0;for(;r!==null;){if(!r.checkVisibility({opacityProperty:!0,visibilityProperty:!0,contentVisibilityAuto:!0})){c=!1;break}r=r.parentElement}return c},ut=function(i,r=0){for(const c of i)if(Be(c))return window.scrollTo({top:c.getBoundingClientRect().top-120+window.pageYOffset+r,behavior:"smooth"}),!0;return!1};var Fe=window.wp.apiFetch,ce=T.n(Fe);const Ue=()=>{const{addSuccess:i,addError:r}=m(),[c,f]=(0,h.useState)(!1),[d,g]=(0,h.useState)(!1),[y,x]=(0,h.useState)(!1),[C,N]=(0,h.useState)(!1),P=()=>{f(!0),ce()({path:"/ajax-search-lite/maintenance/reset",method:"POST"}).then(()=>{i((0,v.__)("Plugin data reset successfully. Reloading...","ajax-search-lite")),setTimeout(()=>{window.location.reload()},2e3)}).catch(R=>{r(R)}).finally(()=>{f(!1),x(!1)})},F=()=>{g(!0),ce()({path:"/ajax-search-lite/maintenance/wipe",method:"POST"}).then(()=>{i((0,v.__)("Plugin wiped. Redirecting to the plugin manager...","ajax-search-lite")),setTimeout(()=>{window.location.href=ASL_BACKEND.admin_url+"plugins.php"},3e3)}).catch(R=>{r(R)}).finally(()=>{g(!1),N(!1)})};return(0,s.jsxs)("div",{className:"wdo:flex wdo:flex-col wdo:gap-4 wdo:m-4",children:[(0,s.jsxs)("div",{className:"wdo:flex wdo:flex-col wdo:card",children:[(0,s.jsxs)("div",{className:"wdo:p-6",children:[(0,s.jsx)("h2",{className:"wdo:text-[1.4em] wdo:dark:text-white wdo:mb-3",children:(0,v.__)("Maintenance - Reset","ajax-search-lite")}),(0,s.jsx)("p",{className:"wdo:text-sm wdo:dark:text-gray-300 wdo:mb-2",children:(0,v.__)("This option will reset all the plugin options to the defaults. Use this option if you want to keep using the plugin, but you need to reset the default options.","ajax-search-lite")}),(0,s.jsxs)("ul",{className:"wdo:list-disc wdo:ml-6 wdo:text-sm wdo:dark:text-gray-300 wdo:space-y-1",children:[(0,s.jsx)("li",{children:(0,v.__)("All plugin options will reset to defaults (performance, compatibility, analytics)","ajax-search-lite")}),(0,s.jsx)("li",{children:(0,v.__)("The search instance options will not be changed","ajax-search-lite")}),(0,s.jsx)("li",{children:(0,v.__)("The database tables, contents and the files will not be deleted either.","ajax-search-lite")})]})]}),(0,s.jsx)("div",{className:"wdo:px-6 wdo:pb-6",children:(0,s.jsx)(V,{isLoading:c,disabled:c,onClick:()=>x(!0),children:(0,v.__)("Reset all options to defaults","ajax-search-lite")})})]}),(0,s.jsxs)("div",{className:"wdo:flex wdo:flex-col wdo:card",children:[(0,s.jsxs)("div",{className:"wdo:p-6",children:[(0,s.jsx)("h2",{className:"wdo:text-[1.4em] wdo:dark:text-white wdo:mb-3",children:(0,v.__)("Maintenance - Wipe & Deactivate","ajax-search-lite")}),(0,s.jsx)("p",{className:"wdo:text-sm wdo:dark:text-gray-300 wdo:mb-2",children:(0,v.__)("This option will wipe everything related to Ajax Search Lite, as if it was never installed. Use this if you don't want to use the plugin anymore, or if you want to perform a clean installation.","ajax-search-lite")}),(0,s.jsxs)("ul",{className:"wdo:list-disc wdo:ml-6 wdo:text-sm wdo:dark:text-gray-300 wdo:space-y-1",children:[(0,s.jsx)("li",{children:(0,v.__)("All plugin options will be deleted","ajax-search-lite")}),(0,s.jsx)("li",{children:(0,v.__)("The search instance options will be deleted","ajax-search-lite")}),(0,s.jsx)("li",{children:(0,v.__)("The database tables, contents and the files will be deleted","ajax-search-lite")}),(0,s.jsx)("li",{children:(0,v.__)("The plugin will deactivate and redirect to the plugin manager screen after, where you can delete it or re-install it again.","ajax-search-lite")})]})]}),(0,s.jsx)("div",{className:"wdo:px-6 wdo:pb-6",children:(0,s.jsx)(re,{isLoading:d,disabled:d,onClick:()=>N(!0),children:(0,v.__)("Wipe all plugin data & deactivate Ajax Search Lite","ajax-search-lite")})})]}),(0,s.jsxs)(ie,{isOpen:y,onOverlayClick:()=>x(!1),children:[(0,s.jsx)("h2",{className:"wdo:mb-2",children:(0,v.__)("Confirm Reset","ajax-search-lite")}),(0,s.jsx)("p",{children:(0,v.__)("Are you sure you want to reset Ajax Search Lite to its default state?","ajax-search-lite")}),(0,s.jsx)("p",{className:"wdo:mt-2 wdo:text-sm wdo:dark:text-gray-400",children:(0,v.__)("This will reset all plugin options. Search instances and database tables will not be affected.","ajax-search-lite")}),(0,s.jsxs)("div",{className:"wdo:flex wdo:mt-6 wdo:gap-6",children:[(0,s.jsx)(Ie,{isLoading:c,disabled:c,onClick:R=>{R.preventDefault(),P()},children:(0,v.__)("Reset","ajax-search-lite")}),(0,s.jsx)(V,{disabled:c,onClick:()=>x(!1),children:(0,v.__)("Cancel","ajax-search-lite")})]})]}),(0,s.jsxs)(ie,{isOpen:C,onOverlayClick:()=>N(!1),children:[(0,s.jsx)("h2",{className:"wdo:mb-2",children:(0,v.__)("Confirm Wipe & Deactivate","ajax-search-lite")}),(0,s.jsx)("p",{children:(0,v.__)("Are you sure you want to completely remove Ajax Search Lite? (including instances, database content etc.)","ajax-search-lite")}),(0,s.jsx)("p",{className:"wdo:mt-2 wdo:text-sm wdo:dark:text-gray-400",children:(0,v.__)("This action cannot be undone. All data will be permanently deleted and the plugin will be deactivated.","ajax-search-lite")}),(0,s.jsxs)("div",{className:"wdo:flex wdo:mt-6 wdo:gap-6",children:[(0,s.jsx)(re,{isLoading:d,disabled:d,onClick:R=>{R.preventDefault(),F()},children:(0,v.__)("Wipe & Deactivate","ajax-search-lite")}),(0,s.jsx)(V,{disabled:d,onClick:()=>N(!1),children:(0,v.__)("Cancel","ajax-search-lite")})]})]})]})},He=()=>{switch((0,h.useContext)(K)?.activeId){default:return(0,s.jsx)(Ue,{})}};var $e=()=>{const{messages:i}=m();return(0,s.jsxs)(je,{children:[(0,s.jsx)(ye,{messages:i}),(0,s.jsx)(Ne,{subtitle:(0,v.__)("Maintenance","ajax-search-lite"),logo:(0,s.jsx)("h1",{className:"wdo:text-[1.85em]! wdo:leading-[1.45em]! wdo:font-bold",children:"Ajax Search Lite"})}),(0,s.jsx)(Me,{children:(0,s.jsxs)("div",{className:"wdo:panel-container",children:[(0,s.jsx)("nav",{className:"wdo:menu-panel",children:(0,s.jsxs)(Ae,{children:[(0,s.jsx)(se,{label:(0,v.__)("Operations","ajax-search-lite"),id:"operations",defaultActive:!0,iconBefore:(0,s.jsx)(Re,{})}),(0,s.jsx)(se,{label:(0,v.__)("Documentation","ajax-search-lite"),id:"documentation",onClick:r=>{r.preventDefault(),We("https://documentation.ajaxsearchpro.com/maintenance")},iconAfter:(0,s.jsx)(De,{})})]})}),(0,s.jsx)("div",{className:"wdo:content-panel",children:(0,s.jsx)(He,{})})]})})]})};const de=document.getElementById("asp-root");de!==null&&k().render((0,s.jsx)($e,{}),de)})()})();