/*! For license information please see index.js.LICENSE.txt */
(()=>{var e={500(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=l(e,a(r)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=l(t,r));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()}};const t={};function r(n){const o=t[n];if(void 0!==o)return o.exports;const a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{if(Array.isArray(t))for(var n=0;n<t.length;){var o=t[n++],a=t[n++];r.o(e,o)?0===a&&n++:0===a?Object.defineProperty(e,o,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,o,{enumerable:!0,get:a})}else for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.hasOwn(e,t),r.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};let n={};(()=>{"use strict";r.r(n),r.d(n,{Badge:()=>c,Modal:()=>i});const e=window.React,t=window.wp.element;var o=r(500),a=r.n(o);const l=window.wp.components,i=({title:r,show:n=!0,onClose:o,children:i,className:c,__experimentalHideHeader:s=!1})=>{const u=(0,t.useRef)(null);return(0,t.useEffect)(()=>{const e=e=>{n&&u.current&&u.current===e.target&&o()},t=u.current;return t?.addEventListener("click",e),()=>{t?.removeEventListener("click",e)}},[u,n,o]),n?(0,e.createElement)(l.Modal,{ref:u,title:r,onRequestClose:()=>o(),shouldCloseOnClickOutside:!1,className:a()("wp-whatsapp-chat__modal media-modal wp-core-ui upload-php",c),__experimentalHideHeader:s},i):null};function c({children:t}){return(0,e.createElement)("span",{className:"qlwapp__badge"},(0,e.createElement)("span",null,t))}})(),(window.qlwapp=window.qlwapp||{}).components=n})();