/*! 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)}()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{Badge:()=>u,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:u,__experimentalHideHeader:c=!1})=>{const p=(0,t.useRef)(null);return(0,t.useEffect)(()=>{const e=e=>{n&&p.current&&p.current===e.target&&o()},t=p.current;return t?.addEventListener("click",e),()=>{t?.removeEventListener("click",e)}},[p,n,o]),n?(0,e.createElement)(l.Modal,{ref:p,title:r,onRequestClose:()=>o(),shouldCloseOnClickOutside:!1,className:a()("wp-whatsapp-chat__modal media-modal wp-core-ui upload-php",u),__experimentalHideHeader:c},i):null};function u({children:t}){return(0,e.createElement)("span",{className:"qlwapp__badge"},(0,e.createElement)("span",null,t))}})(),(window.qlwapp=window.qlwapp||{}).components=n})();