/*! For license information please see editor-canvas.min.js.LICENSE.txt */ !function(){"use strict";var e,t,n={},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var l={};e=e||[null,t({}),t([]),t(t)];for(var u=2&r&&n;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach((function(e){l[e]=function(){return n[e]}}));return l.default=function(){return n},o.d(i,l),i},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i=window.elementorV2.editor,l=window.React,u=o.t(l,2),c=window.elementorV2.editorElements,s=window.elementorV2.editorV1Adapters,a=window.elementorV2.ui;function f(){return"undefined"!=typeof window}function d(e){return h(e)?(e.nodeName||"").toLowerCase():"#document"}function p(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function m(e){var t;return null==(t=(h(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function h(e){return!!f()&&(e instanceof Node||e instanceof p(e).Node)}function v(e){return!!f()&&(e instanceof Element||e instanceof p(e).Element)}function g(e){return!!f()&&(e instanceof HTMLElement||e instanceof p(e).HTMLElement)}function y(e){return!(!f()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof p(e).ShadowRoot)}function w(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=O(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function b(e){return["table","td","th"].includes(d(e))}function x(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function E(e){const t=R(),n=v(e)?O(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function R(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function S(e){return["html","body","#document"].includes(d(e))}function O(e){return p(e).getComputedStyle(e)}function C(e){return v(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function T(e){if("html"===d(e))return e;const t=e.assignedSlot||e.parentNode||y(e)&&e.host||m(e);return y(t)?t.host:t}function L(e){const t=T(e);return S(t)?e.ownerDocument?e.ownerDocument.body:e.body:g(t)&&w(t)?t:L(t)}function A(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=L(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=p(o);if(i){const e=M(l);return t.concat(l,l.visualViewport||[],w(o)?o:[],e&&n?A(e):[])}return t.concat(o,A(o,[],n))}function M(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function P(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&y(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function $(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function k(e){return(null==e?void 0:e.ownerDocument)||document}var j=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),D="undefined"==typeof Element,I=D?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,N=!D&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},F=function e(t,n){var r;void 0===n&&(n=!0);var o=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},V=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var l=i.shift();if(!F(l,!1))if("SLOT"===l.tagName){var u=l.assignedElements(),c=e(u.length?u:l.children,!0,r);r.flatten?o.push.apply(o,c):o.push({scopeParent:l,candidates:c})}else{I.call(l,j)&&r.filter(l)&&(n||!t.includes(l))&&o.push(l);var s=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),a=!F(s,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(s&&a){var f=e(!0===s?l.children:s.children,!0,r);r.flatten?o.push.apply(o,f):o.push({scopeParent:l,candidates:f})}else i.unshift.apply(i,l.children)}}return o},_=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},B=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!_(e)?0:e.tabIndex},z=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},H=function(e){return"INPUT"===e.tagName},W=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},q=function(e,t){return!(t.disabled||F(t)||function(e){return H(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=I.call(e,"details>summary:first-of-type")?e.parentElement:e;if(I.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return W(e)}else{if("function"==typeof r){for(var i=e;e;){var l=e.parentElement,u=N(e);if(l&&!l.shadowRoot&&!0===r(l))return W(e);e=e.assignedSlot?e.assignedSlot:l||u===e.ownerDocument?l:u.host}e=i}if(function(e){var t,n,r,o,i=e&&N(e),l=null===(t=i)||void 0===t?void 0:t.host,u=!1;if(i&&i!==e)for(u=!!(null!==(n=l)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(l)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!u&&l;){var c,s,a;u=!(null===(s=l=null===(c=i=N(l))||void 0===c?void 0:c.host)||void 0===s||null===(a=s.ownerDocument)||void 0===a||!a.contains(l))}return u}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n=0)},Y=function e(t){var n=[],r=[];return t.forEach((function(t,o){var i=!!t.scopeParent,l=i?t.scopeParent:t,u=function(e,t){var n=B(e);return n<0&&t&&!_(e)?0:n}(l,i),c=i?e(t.candidates):l;0===u?i?n.push.apply(n,c):n.push(l):r.push({documentOrder:o,tabIndex:u,item:t,isScope:i,content:c})})),r.sort(z).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},G=function(e,t){var n;return n=(t=t||{}).getShadowRoot?V([e],t.includeContainer,{filter:U.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:X}):function(e,t,n){if(F(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(j));return t&&I.call(e,j)&&r.unshift(e),r.filter(n)}(e,t.includeContainer,U.bind(null,t)),Y(n)},Z=window.ReactDOM;const J=Math.min,K=Math.max,Q=Math.round,ee=Math.floor,te=e=>({x:e,y:e});function ne(e,t){return"function"==typeof e?e(t):e}function re(e){return e.split("-")[0]}function oe(e){return e.split("-")[1]}function ie(e){return["top","bottom"].includes(re(e))?"y":"x"}function le(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ue(e,t,n){let{reference:r,floating:o}=e;const i=ie(t),l=function(e){return"x"===ie(e)?"y":"x"}(t),u="y"===l?"height":"width",c=re(t),s="y"===i,a=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[u]/2-o[u]/2;let p;switch(c){case"top":p={x:a,y:r.y-o.height};break;case"bottom":p={x:a,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(oe(t)){case"start":p[l]-=d*(n&&s?-1:1);break;case"end":p[l]+=d*(n&&s?-1:1)}return p}function ce(e){const t=O(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=g(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,u=Q(n)!==i||Q(r)!==l;return u&&(n=i,r=l),{width:n,height:r,$:u}}function se(e){return v(e)?e:e.contextElement}function ae(e){const t=se(e);if(!g(t))return te(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ce(t);let l=(i?Q(n.width):n.width)/r,u=(i?Q(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),u&&Number.isFinite(u)||(u=1),{x:l,y:u}}const fe=te(0);function de(e){const t=p(e);return R()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:fe}function pe(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=se(e);let l=te(1);t&&(r?v(r)&&(l=ae(r)):l=ae(e));const u=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==p(e))&&t}(i,n,r)?de(i):te(0);let c=(o.left+u.x)/l.x,s=(o.top+u.y)/l.y,a=o.width/l.x,f=o.height/l.y;if(i){const e=p(i),t=r&&v(r)?p(r):r;let n=e,o=M(n);for(;o&&r&&t!==n;){const e=ae(o),t=o.getBoundingClientRect(),r=O(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,s*=e.y,a*=e.x,f*=e.y,c+=i,s+=l,n=p(o),o=M(n)}}return le({width:a,height:f,x:c,y:s})}function me(e,t){const n=C(e).scrollLeft;return t?t.left+n:pe(m(e)).left+n}function he(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:me(e,r)),y:r.top+t.scrollTop}}function ve(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=p(e),r=m(e),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,u=0,c=0;if(o){i=o.width,l=o.height;const e=R();(!e||e&&"fixed"===t)&&(u=o.offsetLeft,c=o.offsetTop)}return{width:i,height:l,x:u,y:c}}(e,n);else if("document"===t)r=function(e){const t=m(e),n=C(e),r=e.ownerDocument.body,o=K(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=K(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+me(e);const u=-n.scrollTop;return"rtl"===O(r).direction&&(l+=K(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:u}}(m(e));else if(v(t))r=function(e,t){const n=pe(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=g(e)?ae(e):te(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=de(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return le(r)}function ge(e,t){const n=T(e);return!(n===t||!v(n)||S(n))&&("fixed"===O(n).position||ge(n,t))}function ye(e,t,n){const r=g(t),o=m(t),i="fixed"===n,l=pe(e,!0,i,t);let u={scrollLeft:0,scrollTop:0};const c=te(0);if(r||!r&&!i)if(("body"!==d(t)||w(o))&&(u=C(t)),r){const e=pe(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=me(o));const s=!o||r||i?te(0):he(o,u);return{x:l.left+u.scrollLeft-c.x-s.x,y:l.top+u.scrollTop-c.y-s.y,width:l.width,height:l.height}}function we(e){return"static"===O(e).position}function be(e,t){if(!g(e)||"fixed"===O(e).position)return null;if(t)return t(e);let n=e.offsetParent;return m(e)===n&&(n=n.ownerDocument.body),n}function xe(e,t){const n=p(e);if(x(e))return n;if(!g(e)){let t=T(e);for(;t&&!S(t);){if(v(t)&&!we(t))return t;t=T(t)}return n}let r=be(e,t);for(;r&&b(r)&&we(r);)r=be(r,t);return r&&S(r)&&we(r)&&!E(r)?n:r||function(e){let t=T(e);for(;g(t)&&!S(t);){if(E(t))return t;if(x(t))return null;t=T(t)}return null}(e)||n}const Ee={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,l=m(r),u=!!t&&x(t.floating);if(r===l||u&&i)return n;let c={scrollLeft:0,scrollTop:0},s=te(1);const a=te(0),f=g(r);if((f||!f&&!i)&&(("body"!==d(r)||w(l))&&(c=C(r)),g(r))){const e=pe(r);s=ae(r),a.x=e.x+r.clientLeft,a.y=e.y+r.clientTop}const p=!l||f||i?te(0):he(l,c,!0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-c.scrollLeft*s.x+a.x+p.x,y:n.y*s.y-c.scrollTop*s.y+a.y+p.y}},getDocumentElement:m,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?x(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=A(e,[],!1).filter((e=>v(e)&&"body"!==d(e))),o=null;const i="fixed"===O(e).position;let l=i?T(e):e;for(;v(l)&&!S(l);){const t=O(l),n=E(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||w(l)&&!n&&ge(e,l))?r=r.filter((e=>e!==l)):o=t,l=T(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=i[0],u=i.reduce(((e,n)=>{const r=ve(t,n,o);return e.top=K(r.top,e.top),e.right=J(r.right,e.right),e.bottom=J(r.bottom,e.bottom),e.left=K(r.left,e.left),e}),ve(t,l,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:xe,getElementRects:async function(e){const t=this.getOffsetParent||xe,n=this.getDimensions,r=await n(e.floating);return{reference:ye(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=ce(e);return{width:t,height:n}},getScale:ae,isElement:v,isRTL:function(e){return"rtl"===O(e).direction}};const Re=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:l,middlewareData:u}=t,c=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),l=re(n),u=oe(n),c="y"===ie(n),s=["left","top"].includes(l)?-1:1,a=i&&c?-1:1,f=ne(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return u&&"number"==typeof m&&(p="end"===u?-1*m:m),c?{x:p*a,y:d*s}:{x:d*s,y:p*a}}(t,e);return l===(null==(n=u.offset)?void 0:n.placement)&&null!=(r=u.arrow)&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:l}}}}},Se=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:l,elements:u}=t,{apply:c=()=>{},...s}=ne(e,t),a=await async function(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:l,elements:u,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:a="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=ne(t,e),m=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),h=u[d?"floating"===f?"reference":"floating":f],v=le(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(u.floating)),boundary:s,rootBoundary:a,strategy:c})),g="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(u.floating)),w=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=le(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:g,offsetParent:y,strategy:c}):g);return{top:(v.top-b.top+m.top)/w.y,bottom:(b.bottom-v.bottom+m.bottom)/w.y,left:(v.left-b.left+m.left)/w.x,right:(b.right-v.right+m.right)/w.x}}(t,s),f=re(o),d=oe(o),p="y"===ie(o),{width:m,height:h}=i.floating;let v,g;"top"===f||"bottom"===f?(v=f,g=d===(await(null==l.isRTL?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(g=f,v="end"===d?"top":"bottom");const y=h-a.top-a.bottom,w=m-a.left-a.right,b=J(h-a[v],y),x=J(m-a[g],w),E=!t.middlewareData.shift;let R=b,S=x;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(S=w),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(R=y),E&&!d){const e=K(a.left,0),t=K(a.right,0),n=K(a.top,0),r=K(a.bottom,0);p?S=m-2*(0!==e||0!==t?e+t:K(a.left,a.right)):R=h-2*(0!==n||0!==r?n+r:K(a.top,a.bottom))}await c({...t,availableWidth:S,availableHeight:R});const O=await l.getDimensions(u.floating);return m!==O.width||h!==O.height?{reset:{rects:!0}}:{}}}},Oe=(e,t,n)=>{const r=new Map,o={platform:Ee,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,u=i.filter(Boolean),c=await(null==l.isRTL?void 0:l.isRTL(t));let s=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:a,y:f}=ue(s,r,c),d=r,p={},m=0;for(let n=0;n{t.current=e})),t}const Pe=(e,t)=>({...Re(e),options:[e,t]}),$e={...u},ke=$e.useInsertionEffect||(e=>e());function je(e){const t=l.useRef((()=>{}));return ke((()=>{t.current=e})),l.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r"floating-ui-"+Math.random().toString(36).slice(2,6)+Fe++,_e=$e.useId||function(){const[e,t]=l.useState((()=>Ne?Ve():void 0));return De((()=>{null==e&&t(Ve())}),[]),l.useEffect((()=>{Ne=!0}),[]),e};const Be=l.createContext(null),ze=l.createContext(null),He=()=>{var e;return(null==(e=l.useContext(Be))?void 0:e.id)||null},We=()=>l.useContext(ze);function qe(e){return"data-floating-ui-"+e}function Ue(e){const t=(0,l.useRef)(e);return De((()=>{t.current=e})),t}const Xe=qe("safe-polygon");function Ye(e,t,n){return n&&!$(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function Ge(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:i,elements:u}=e,{enabled:c=!0,delay:s=0,handleClose:a=null,mouseOnly:f=!1,restMs:d=0,move:p=!0}=t,m=We(),h=He(),g=Ue(a),y=Ue(s),w=Ue(n),b=l.useRef(),x=l.useRef(-1),E=l.useRef(),R=l.useRef(-1),S=l.useRef(!0),O=l.useRef(!1),C=l.useRef((()=>{})),T=l.useRef(!1),L=l.useCallback((()=>{var e;const t=null==(e=o.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[o]);l.useEffect((()=>{if(c)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(x.current),clearTimeout(R.current),S.current=!0,T.current=!1)}}),[c,i]),l.useEffect((()=>{if(!c)return;if(!g.current)return;if(!n)return;function e(e){L()&&r(!1,e,"hover")}const t=k(u.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[u.floating,n,r,c,g,L]);const A=l.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const o=Ye(y.current,"close",b.current);o&&!E.current?(clearTimeout(x.current),x.current=window.setTimeout((()=>r(!1,e,n)),o)):t&&(clearTimeout(x.current),r(!1,e,n))}),[y,r]),M=je((()=>{C.current(),E.current=void 0})),j=je((()=>{if(O.current){const e=k(u.floating).body;e.style.pointerEvents="",e.removeAttribute(Xe),O.current=!1}})),D=je((()=>!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)));l.useEffect((()=>{if(c&&v(u.domReference)){var e;const r=u.domReference;return n&&r.addEventListener("mouseleave",l),null==(e=u.floating)||e.addEventListener("mouseleave",l),p&&r.addEventListener("mousemove",t,{once:!0}),r.addEventListener("mouseenter",t),r.addEventListener("mouseleave",i),()=>{var e;n&&r.removeEventListener("mouseleave",l),null==(e=u.floating)||e.removeEventListener("mouseleave",l),p&&r.removeEventListener("mousemove",t),r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",i)}}function t(e){if(clearTimeout(x.current),S.current=!1,f&&!$(b.current)||d>0&&!Ye(y.current,"open"))return;const t=Ye(y.current,"open",b.current);t?x.current=window.setTimeout((()=>{w.current||r(!0,e,"hover")}),t):n||r(!0,e,"hover")}function i(e){if(D())return;C.current();const t=k(u.floating);if(clearTimeout(R.current),T.current=!1,g.current&&o.current.floatingContext){n||clearTimeout(x.current),E.current=g.current({...o.current.floatingContext,tree:m,x:e.clientX,y:e.clientY,onClose(){j(),M(),D()||A(e,!0,"safe-polygon")}});const r=E.current;return t.addEventListener("mousemove",r),void(C.current=()=>{t.removeEventListener("mousemove",r)})}("touch"!==b.current||!P(u.floating,e.relatedTarget))&&A(e)}function l(e){D()||o.current.floatingContext&&(null==g.current||g.current({...o.current.floatingContext,tree:m,x:e.clientX,y:e.clientY,onClose(){j(),M(),D()||A(e)}})(e))}}),[u,c,e,f,d,p,A,M,j,r,n,w,m,y,g,o,D]),De((()=>{var e;if(c&&n&&null!=(e=g.current)&&e.__options.blockPointerEvents&&L()){O.current=!0;const e=u.floating;if(v(u.domReference)&&e){var t;const n=k(u.floating).body;n.setAttribute(Xe,"");const r=u.domReference,o=null==m||null==(t=m.nodesRef.current.find((e=>e.id===h)))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[c,n,h,u,m,g,L]),De((()=>{n||(b.current=void 0,T.current=!1,M(),j())}),[n,M,j]),l.useEffect((()=>()=>{M(),clearTimeout(x.current),clearTimeout(R.current),j()}),[c,u.domReference,M,j]);const I=l.useMemo((()=>{function e(e){b.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function o(){S.current||w.current||r(!0,t,"hover")}f&&!$(b.current)||n||0===d||T.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(R.current),"touch"===b.current?o():(T.current=!0,R.current=window.setTimeout(o,d)))}}}),[f,r,n,w,d]),N=l.useMemo((()=>({onMouseEnter(){clearTimeout(x.current)},onMouseLeave(e){D()||A(e.nativeEvent,!1)}})),[A,D]);return l.useMemo((()=>c?{reference:I,floating:N}:{}),[c,I,N])}const Ze=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function Je(e,t){const n=G(e,Ze());"prev"===t&&n.reverse();const r=n.indexOf(function(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}(k(e)));return n.slice(r+1)[0]}function Ke(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!P(n,r)}function Qe(e){G(e,Ze()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function et(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const tt={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function nt(e){"Tab"===e.key&&(e.target,clearTimeout(void 0))}const rt=l.forwardRef((function(e,t){const[n,r]=l.useState();De((()=>(/apple/i.test(navigator.vendor)&&r("button"),document.addEventListener("keydown",nt),()=>{document.removeEventListener("keydown",nt)})),[]);const o={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[qe("focus-guard")]:"",style:tt};return l.createElement("span",Ie({},e,o))})),ot=l.createContext(null),it=qe("portal");function lt(e){const{children:t,id:n,root:r,preserveTabOrder:o=!0}=e,i=function(e){void 0===e&&(e={});const{id:t,root:n}=e,r=_e(),o=ut(),[i,u]=l.useState(null),c=l.useRef(null);return De((()=>()=>{null==i||i.remove(),queueMicrotask((()=>{c.current=null}))}),[i]),De((()=>{if(!r)return;if(c.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=r,n.setAttribute(it,""),e.appendChild(n),c.current=n,u(n)}),[t,r]),De((()=>{if(null===n)return;if(!r)return;if(c.current)return;let e=n||(null==o?void 0:o.portalNode);e&&!v(e)&&(e=e.current),e=e||document.body;let i=null;t&&(i=document.createElement("div"),i.id=t,e.appendChild(i));const l=document.createElement("div");l.id=r,l.setAttribute(it,""),e=i||e,e.appendChild(l),c.current=l,u(l)}),[t,n,r,o]),i}({id:n,root:r}),[u,c]=l.useState(null),s=l.useRef(null),a=l.useRef(null),f=l.useRef(null),d=l.useRef(null),p=null==u?void 0:u.modal,m=null==u?void 0:u.open,h=!!u&&!u.modal&&u.open&&o&&!(!r&&!i);return l.useEffect((()=>{if(i&&o&&!p)return i.addEventListener("focusin",e,!0),i.addEventListener("focusout",e,!0),()=>{i.removeEventListener("focusin",e,!0),i.removeEventListener("focusout",e,!0)};function e(e){i&&Ke(e)&&("focusin"===e.type?et:Qe)(i)}}),[i,o,p]),l.useEffect((()=>{i&&(m||et(i))}),[m,i]),l.createElement(ot.Provider,{value:l.useMemo((()=>({preserveTabOrder:o,beforeOutsideRef:s,afterOutsideRef:a,beforeInsideRef:f,afterInsideRef:d,portalNode:i,setFocusManagerState:c})),[o,i])},h&&i&&l.createElement(rt,{"data-type":"outside",ref:s,onFocus:e=>{if(Ke(e,i)){var t;null==(t=f.current)||t.focus()}else{const e=Je(document.body,"prev")||(null==u?void 0:u.refs.domReference.current);null==e||e.focus()}}}),h&&i&&l.createElement("span",{"aria-owns":i.id,style:tt}),i&&Z.createPortal(t,i),h&&i&&l.createElement(rt,{"data-type":"outside",ref:a,onFocus:e=>{if(Ke(e,i)){var t;null==(t=d.current)||t.focus()}else{const t=Je(document.body,"next")||(null==u?void 0:u.refs.domReference.current);null==t||t.focus(),(null==u?void 0:u.closeOnFocusOut)&&(null==u||u.onOpenChange(!1,e.nativeEvent,"focus-out"))}}}))}const ut=()=>l.useContext(ot),ct="data-floating-ui-focusable";function st(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=_e(),i=l.useRef({}),[u]=l.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}())),c=null!=He(),[s,a]=l.useState(r.reference),f=je(((e,t,r)=>{i.current.openEvent=e?t:void 0,u.emit("openchange",{open:e,event:t,reason:r,nested:c}),null==n||n(e,t,r)})),d=l.useMemo((()=>({setPositionReference:a})),[]),p=l.useMemo((()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference})),[s,r.reference,r.floating]);return l.useMemo((()=>({dataRef:i,open:t,onOpenChange:f,elements:p,events:u,floatingId:o,refs:d})),[t,f,p,u,o,d])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,u]=l.useState(null),[c,s]=l.useState(null),a=(null==o?void 0:o.domReference)||i,f=l.useRef(null),d=We();De((()=>{a&&(f.current=a)}),[a]);const p=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:u}={},transform:c=!0,whileElementsMounted:s,open:a}=e,[f,d]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=l.useState(r);Te(p,r)||m(r);const[h,v]=l.useState(null),[g,y]=l.useState(null),w=l.useCallback((e=>{e!==R.current&&(R.current=e,v(e))}),[]),b=l.useCallback((e=>{e!==S.current&&(S.current=e,y(e))}),[]),x=i||h,E=u||g,R=l.useRef(null),S=l.useRef(null),O=l.useRef(f),C=null!=s,T=Me(s),L=Me(o),A=Me(a),M=l.useCallback((()=>{if(!R.current||!S.current)return;const e={placement:t,strategy:n,middleware:p};L.current&&(e.platform=L.current),Oe(R.current,S.current,e).then((e=>{const t={...e,isPositioned:!1!==A.current};P.current&&!Te(O.current,t)&&(O.current=t,Z.flushSync((()=>{d(t)})))}))}),[p,t,n,L,A]);Ce((()=>{!1===a&&O.current.isPositioned&&(O.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[a]);const P=l.useRef(!1);Ce((()=>(P.current=!0,()=>{P.current=!1})),[]),Ce((()=>{if(x&&(R.current=x),E&&(S.current=E),x&&E){if(T.current)return T.current(x,E,M);M()}}),[x,E,M,T,C]);const $=l.useMemo((()=>({reference:R,floating:S,setReference:w,setFloating:b})),[w,b]),k=l.useMemo((()=>({reference:x,floating:E})),[x,E]),j=l.useMemo((()=>{const e={position:n,left:0,top:0};if(!k.floating)return e;const t=Ae(k.floating,f.x),r=Ae(k.floating,f.y);return c?{...e,transform:"translate("+t+"px, "+r+"px)",...Le(k.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,c,k.floating,f.x,f.y]);return l.useMemo((()=>({...f,update:M,refs:$,elements:k,floatingStyles:j})),[f,M,$,k,j])}({...e,elements:{...o,...c&&{reference:c}}}),m=l.useCallback((e=>{const t=v(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;s(t),p.refs.setReference(t)}),[p.refs]),h=l.useCallback((e=>{(v(e)||null===e)&&(f.current=e,u(e)),(v(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!v(e))&&p.refs.setReference(e)}),[p.refs]),g=l.useMemo((()=>({...p.refs,setReference:h,setPositionReference:m,domReference:f})),[p.refs,h,m]),y=l.useMemo((()=>({...p.elements,domReference:a})),[p.elements,a]),w=l.useMemo((()=>({...p,...r,refs:g,elements:y,nodeId:t})),[p,g,y,t,r]);return De((()=>{r.dataRef.current.floatingContext=w;const e=null==d?void 0:d.nodesRef.current.find((e=>e.id===t));e&&(e.context=w)})),l.useMemo((()=>({...p,context:w,refs:g,elements:y})),[p,g,y,w])}const at="active",ft="selected";function dt(e,t,n){const r=new Map,o="item"===n;let i=e;if(o&&e){const{[at]:t,[ft]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,[ct]:""},...i,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,i]=t;var l;o&&[at,ft].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(l=r.get(n))||l.push(i),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;ie(...o))).find((e=>void 0!==e))})):e[n]=i)})),e):e),{})}}var pt=window.elementorV2.editorResponsive,mt=window.elementorV2.editorStylesRepository,ht=window.elementorV2.utils,vt=window.elementorV2.editorProps;var gt=(0,a.styled)(a.Box,{shouldForwardProp:e=>"isSelected"!==e})((({theme:e,isSelected:t})=>({outline:`${t?"2px":"1px"} solid ${e.palette.primary.light}`,outlineOffset:t?"-2px":"-1px",pointerEvents:"none"})));function yt({element:e,isSelected:t}){const{context:n,floating:r,isVisible:o}=function({element:e,isSelected:t}){const[n,r]=(0,l.useState)(!1),{refs:o,floatingStyles:i,context:u}=st({open:n||t,onOpenChange:r,whileElementsMounted:(...e)=>function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,s=se(e),a=o||i?[...s?A(s):[],...A(t)]:[];a.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const f=s&&u?function(e,t){let n,r=null;const o=m(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function l(u,c){void 0===u&&(u=!1),void 0===c&&(c=1),i();const{left:s,top:a,width:f,height:d}=e.getBoundingClientRect();if(u||t(),!f||!d)return;const p={rootMargin:-ee(a)+"px "+-ee(o.clientWidth-(s+f))+"px "+-ee(o.clientHeight-(a+d))+"px "+-ee(s)+"px",threshold:K(0,J(1,c))||1};let m=!0;function h(e){const t=e[0].intersectionRatio;if(t!==c){if(!m)return l();t?l(!1,t):n=setTimeout((()=>{l(!1,1e-7)}),1e3)}m=!1}try{r=new IntersectionObserver(h,{...p,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(h,p)}r.observe(e)}(!0),i}(s,n):null;let d,p=-1,h=null;l&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===s&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),s&&!c&&h.observe(s),h.observe(t));let v=c?pe(e):null;return c&&function t(){const r=pe(e);!v||r.x===v.x&&r.y===v.y&&r.width===v.width&&r.height===v.height||n(),v=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;a.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==f||f(),null==(e=h)||e.disconnect(),h=null,c&&cancelAnimationFrame(d)}}(...e,{animationFrame:!0}),elements:{reference:e.firstElementChild},middleware:[(c={apply({elements:e,rects:t}){Object.assign(e.floating.style,{width:`${t.reference.width}px`,height:`${t.reference.height}px`})}},{...Se(c),options:[c,undefined]}),Pe((({rects:e})=>-e.reference.height/2-e.floating.height/2))]});var c;return{isVisible:n||t,context:u,floating:{setRef:o.setFloating,ref:o.floating,styles:i}}}({element:e,isSelected:t}),{getFloatingProps:i,getReferenceProps:u}=function(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),o=l.useCallback((t=>dt(t,e,"reference")),t),i=l.useCallback((t=>dt(t,e,"floating")),n),u=l.useCallback((t=>dt(t,e,"item")),r);return l.useMemo((()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:u})),[o,i,u])}([Ge(n)]);return function(e,t){(0,l.useEffect)((()=>{const n=e,{events:r,attrs:o}=function(e){const t=/^on(?=[A-Z])/;return Object.entries(e).reduce(((e,[n,r])=>{if(!t.test(n))return e.attrs.push([n,r]),e;const o=n.replace(t,"").toLowerCase(),i=r;return e.events.push([o,i]),e}),{events:[],attrs:[]})}(t());return r.forEach((([e,t])=>n.addEventListener(e,t))),o.forEach((([e,t])=>n.setAttribute(e,t))),()=>{r.forEach((([e,t])=>n.removeEventListener(e,t))),o.forEach((([e])=>n.removeAttribute(e)))}}),[t,e])}(e,u),o&&l.createElement(lt,{id:"elementor-preview-responsive-wrapper"},l.createElement(gt,{ref:r.setRef,isSelected:t,style:r.styles,"data-element-overlay":e.dataset.id,role:"presentation",...i()}))}var wt,bt=e=>t=>t.filter(Boolean).join(e),xt=e=>({"$$multi-props":!0,value:e}),Et=["top-left","top-right","bottom-left","bottom-right"],Rt=["top","right","bottom","left"],St=["row","column"],Ot=["top","right","bottom","left"],Ct=e=>e,Tt={size:e=>`${e.size}${e.unit}`,shadow:e=>[e.hOffset,e.vOffset,e.blur,e.spread,e.color,e.position].filter(Boolean).join(" "),stroke:e=>`${e.width} ${e.color}`,gap:(e,t)=>{const n=Object.entries(e).reduce(((e,[n,r])=>(r&&St.includes(n)&&(e[`${n}-${t}`]=r),e)),{});return xt(n)},color:Ct,number:Ct,string:Ct,"linked-dimensions":(e,t)=>{const n=Object.entries(e).reduce(((e,[n,r])=>(r&&Ot.includes(n)&&(e[`${t}-${n}`]=r),e)),{});return xt(n)},"background-overlay":e=>`linear-gradient(${e.color},${e.color})`,"box-shadow":bt(","),"background-image":bt(","),"border-width":(wt=e=>`border-${e}-width`,e=>{const t=Object.entries(e).reduce(((e,[t,n])=>(Rt.includes(t)&&(e[wt(t)]=n),e)),{});return xt(t)}),"border-radius":(e=>t=>{const n=Object.entries(t).reduce(((t,[n,r])=>(Et.includes(n)&&(t[e(n)]=r),t)),{});return xt(n)})((e=>`border-${e}-radius`))};function Lt({props:e,schema:t,transformers:n}){const r={};return Object.entries(t).forEach((([t,o])=>{const i=At(e[t]??o.default,t,o,n);var l;null!==i&&((l=i)&&"object"==typeof l&&"$$multi-props"in l&&!0===l["$$multi-props"]?Object.assign(r,i.value):r[t]=i)})),r}function At(e,t,n,r,o=0){if(!e&&0!==e)return null;if(!(0,vt.isTransformable)(e))return e;if(o>3)return null;if(!0===e.disabled)return null;if("union"===n.kind&&!(n=n.prop_types[e.$$type]))return null;let i=e.value;"object"===n.kind&&(i=Lt({transformers:r,props:i,schema:n.shape})),"array"===n.kind&&(i=i.map((e=>At(e,t,n.item_prop_type,r,o))));const l=r[e.$$type];if(!l)return null;try{return At(l(i,t),t,n,r,o+1)}catch{return null}}var Mt="data-styles-container";mt.stylesRepository.subscribe((()=>{const e=function(){const e=function(){const e=window;return e.elementor?.$preview?.[0]?.contentDocument?.body}(),t=e?.querySelector(`[${Mt}]`);if(t)return t;const n=function(){const e=document.createElement("div");return e.style.display="none",e.setAttribute(Mt,""),e}();return e?.prepend(n),n}(),t=mt.stylesRepository.all(),n=(0,pt.getBreakpointsMap)();e.innerHTML=function({transformers:e,styles:t,breakpoints:n}){const r=[];try{t.forEach((t=>{const o=function(e,t,n){const r=function(e){return`${{class:"."}[e.type]}${e.id}`}(e);if(!r)return"";const o=[];return Object.values(e.variants).forEach((e=>{const i=function(e,t,n,r){const o=function(e,t){const n=Lt({props:e,schema:(()=>{const e=window;return e.elementor?.config?.atomic?.styles_schema??{}})(),transformers:t});return Object.entries(n).reduce(((e,[t,n])=>(e.push(t+":"+n+";"),e)),[]).join("")}(t.props,n);if(!o)return"";let i=`${e}${t.meta.state?`:${t.meta.state}`:""}{${o}}`;return t.meta.breakpoint&&(i=function(e,t,n){const r=function(e){return e.type?`${e.type}:${e.width}px`:null}(e[t]);return r?`@media(${r}){${n}}`:n}(r,t.meta.breakpoint,i)),i}(r,e,t,n);i&&o.push(i)})),o.join("")}(t,e,n);r.push(``)}))}catch(e){console.error(`Cannot render style': ${(0,ht.ensureError)(e).message}`)}return r.join("")}({transformers:Tt,styles:t,breakpoints:n}),function(e){try{e.forEach((e=>{Object.values(e.variants).forEach((e=>{const t=e.props["font-family"]??null;t&&"string"==typeof t&&((e,t="preview")=>{const n=window;n.elementor?.helpers?.enqueueFont?.(e,t)})(t)}))}))}catch(e){console.error(`Cannot enqueue font': ${(0,ht.ensureError)(e).message}`)}}(t)})),(0,i.injectIntoTop)({id:"elements-overlays",component:function(){const e=(0,c.useSelectedElement)(),t=(0,c.useElementsDomRef)(),n=(0,s.__privateUseIsPreviewMode)(),r=(0,s.__privateUseIsRouteActive)("panel/global");return!n&&!r&&t.map((t=>l.createElement(yt,{element:t,key:t.dataset.id,isSelected:e.element?.id===t.dataset.id})))}}),(window.elementorV2=window.elementorV2||{}).editorCanvas={}}();