/*! 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=i(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=i(t,r));return t}function i(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,{Modal:()=>l});const e=window.wp.element,t=window.React;var o=r(500),a=r.n(o);const i=window.wp.components,l=({title:r,show:n=!0,onClose:o,children:l,className:u,__experimentalHideHeader:p=!1})=>{const c=(0,t.useRef)(null);return(0,t.useEffect)(()=>{const e=e=>{n&&c?.current&&c.current===e.target&&o()},t=c.current;return t?.addEventListener("click",e),()=>{t?.removeEventListener("click",e)}},[c,n,o]),n?(0,e.createElement)(i.Modal,{ref:c,title:r,onRequestClose:o,shouldCloseOnClickOutside:!1,className:a()("wp-whatsapp-chat__modal media-modal wp-core-ui upload-php",u),__experimentalHideHeader:p},l):null}})(),(window.qlwapp=window.qlwapp||{}).components=n})();