!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{__privateAppBar:function(){return K},__privateCreateMenu:function(){return h},__privateInjectIntoPageIndication:function(){return y},__privateInjectIntoPrimaryAction:function(){return x},__privateInjectIntoResponsive:function(){return M},__privateIntegrationsMenu:function(){return k},__privateMainMenu:function(){return _},__privatePopoverMenu:function(){return T},__privateToolsMenu:function(){return P},__privateUtilitiesMenu:function(){return S}});var n=window.React,r=window.elementorV2.locations,o=window.elementorV2.ui,i=window.elementorV2.icons,l=window.wp.i18n,a=(0,n.createContext)({type:"toolbar"});function c({type:e,children:t}){return n.createElement(a.Provider,{value:{type:e}},t)}function u(){return(0,n.useContext)(a)}function m({title:e,...t}){return n.createElement(p,{title:e},n.createElement(o.Box,{component:"span","aria-label":void 0},n.createElement(o.IconButton,{...t,"aria-label":e,size:"medium",sx:{"& svg":{fontSize:"1.25rem",height:"1em",width:"1em"},"&:hover":{color:"text.primary"}}})))}function p(e){return n.createElement(o.Tooltip,{PopperProps:{sx:{"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementBottom":{mt:2}}},...e})}var s=(0,o.withDirection)(i.ArrowUpRightIcon);function d({text:e,icon:t,onClick:r,href:i,target:l,disabled:a,...c}){const u=i&&"_blank"===l;return n.createElement(o.MenuItem,{...c,disabled:a,onClick:r,component:i?"a":"div",href:i,target:l,sx:{"&:hover":{color:"text.primary"}}},n.createElement(o.ListItemIcon,null,t),n.createElement(o.ListItemText,{primary:e}),u&&n.createElement(s,null))}function E({icon:e,title:t,visible:r=!0,...o}){const{type:i}=u();return r?"toolbar"===i?n.createElement(m,{title:t,...o},n.createElement(e,null)):n.createElement(d,{...o,text:t,icon:n.createElement(e,null)}):null}function f({title:e,onClick:t,...r}){return n.createElement(o.Tooltip,{title:e},n.createElement(o.Box,{component:"span","aria-label":void 0},n.createElement(o.ToggleButton,{...r,onChange:t,"aria-label":e,size:"small",sx:{border:0,"&.Mui-disabled":{border:0},"& svg":{fontSize:"1.25rem",height:"1em",width:"1em"}}})))}function v({icon:e,title:t,value:r,visible:o=!0,...i}){const{type:l}=u();return o?"toolbar"===l?n.createElement(f,{value:r||t,title:t,...i},n.createElement(e,null)):n.createElement(d,{...i,text:t,icon:n.createElement(e,null)}):null}function g({icon:e,title:t,visible:r=!0,...o}){const{type:i}=u();return r?"toolbar"===i?n.createElement(m,{title:t,...o},n.createElement(e,null)):n.createElement(d,{...o,text:t,icon:n.createElement(e,null)}):null}function h(e=[]){const t=[...e,"default"],o=t.reduce(((e,t)=>({...e,[t]:(0,r.createLocation)()})),{}),[i,l,a]=[E,v,g].map((e=>function({locations:e,menuGroups:t,component:r}){return({group:o="default",id:i,overwrite:l,priority:a,...c})=>{if(!t.includes(o))return;const u="props"in c?()=>c.props:c.useProps,m=r;e[o].inject({id:i,component:e=>{const t=u();return n.createElement(m,{...e,...t})},options:{priority:a,overwrite:l}})}}({locations:o,menuGroups:t,component:e}))),c=function(e){return()=>(0,n.useMemo)((()=>Object.entries(e).reduce(((e,[t,n])=>({...e,[t]:n.getInjections().map((e=>({id:e.id,MenuItem:e.component})))})),{})),[])}(o);return{registerAction:i,registerToggleAction:l,registerLink:a,useMenuItems:c}}var{inject:y,Slot:I}=(0,r.createLocation)(),{inject:M,Slot:b}=(0,r.createLocation)(),{inject:x,Slot:w}=(0,r.createLocation)(),_=h(["exits"]),P=h(),S=h(),k=h();function T({children:e,...t}){return n.createElement(c,{type:"popover"},n.createElement(o.Menu,{PaperProps:{sx:{mt:1.5}},...t,MenuListProps:{component:"div",dense:!0}},e))}var C=(0,o.styled)(o.ToggleButton)((({theme:e})=>({padding:0,border:0,color:e.palette.text.primary,"&.MuiToggleButton-root:hover":{backgroundColor:"initial"},"&.MuiToggleButton-root.Mui-selected":{backgroundColor:"initial"}}))),j=(0,o.styled)((e=>n.createElement(o.SvgIcon,{viewBox:"0 0 32 32",...e},n.createElement("g",null,n.createElement("circle",{cx:"16",cy:"16",r:"16"}),n.createElement("path",{d:"M11.7 9H9V22.3H11.7V9Z"}),n.createElement("path",{d:"M22.4 9H9V11.7H22.4V9Z"}),n.createElement("path",{d:"M22.4 14.4004H9V17.1004H22.4V14.4004Z"}),n.createElement("path",{d:"M22.4 19.6992H9V22.3992H22.4V19.6992Z"})))),{shouldForwardProp:e=>"showMenuIcon"!==e})((({theme:e,showMenuIcon:t})=>({"& path":{fill:e.palette.background.default,transition:"all 0.2s linear",transformOrigin:"bottom left","&:first-of-type":{transitionDelay:!t&&"0.2s",transform:t&&"translateY(-9px) scaleY(0)"},"&:not(:first-of-type)":{transform:!t&&`translateX(${"rtl"===e.direction?"4":"9"}px) scaleX(0.6)`},"&:nth-of-type(2)":{transitionDelay:t?"0":"0.2s"},"&:nth-of-type(3)":{transitionDelay:"0.1s"},"&:nth-of-type(4)":{transitionDelay:t?"0.2s":"0"}}})));function V(e){const[t,r]=(0,n.useState)(!1),o=e.selected||t;return n.createElement(C,{...e,value:"selected",size:"large",onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},n.createElement(j,{fontSize:"large",showMenuIcon:o,titleAccess:(0,l.__)("Elementor Logo","elementor")}))}function B({children:e,...t}){const r="rtl"===(0,o.useTheme)().direction;return n.createElement(T,{sx:{pointerEvents:"none"},PaperProps:{sx:{...r?{marginInlineEnd:-1}:{marginInlineStart:1},pointerEvents:"auto"}},anchorOrigin:{vertical:"center",horizontal:r?"left":"right"},transformOrigin:{vertical:"center",horizontal:r?"right":"left"},...t},e)}var{useMenuItems:D}=k,L=(0,o.withDirection)(i.ChevronRightIcon);function O({parentPopupState:e}){const t=D(),r=(0,o.usePopupState)({parentPopupState:e,variant:"popover",popupId:"elementor-v2-app-bar-integrations"});return 0===t.default.length?null:n.createElement(n.Fragment,null,n.createElement(o.Divider,null),n.createElement(o.MenuItem,{...(0,o.bindHover)(r),...(0,o.bindFocus)(r)},n.createElement(o.ListItemIcon,null,n.createElement(i.PlugIcon,null)),n.createElement(o.ListItemText,{primary:(0,l.__)("Integrations","elementor")}),n.createElement(L,null),n.createElement(B,{...(0,o.bindMenu)(r),onClick:r.close},t.default.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t}))))))}var{useMenuItems:H}=_;function z(){const e=H(),t=(0,o.usePopupState)({variant:"popover",popupId:"elementor-v2-app-bar-main-menu"});return n.createElement(o.Stack,{sx:{paddingInlineStart:3},direction:"row",alignItems:"center"},n.createElement(V,{...(0,o.bindTrigger)(t),selected:t.isOpen}),n.createElement(T,{onClick:t.close,...(0,o.bindMenu)(t),marginThreshold:8},e.default.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t}))),n.createElement(O,{key:"integrations-location",parentPopupState:t}),e.exits.length>0&&n.createElement(o.Divider,null),e.exits.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t})))))}function A({children:e,...t}){return n.createElement(c,{type:"toolbar"},n.createElement(o.Stack,{sx:{px:1.5},spacing:1.5,direction:"row",alignItems:"center",...t},e))}function F({children:e,id:t}){const r=(0,o.usePopupState)({variant:"popover",popupId:t});return n.createElement(n.Fragment,null,n.createElement(m,{...(0,o.bindTrigger)(r),title:(0,l.__)("More","elementor")},n.createElement(i.DotsVerticalIcon,null)),n.createElement(T,{onClick:r.close,...(0,o.bindMenu)(r)},e))}var G=5,{useMenuItems:R}=P;function Z(){const e=R(),t=e.default.slice(0,G),r=e.default.slice(G);return n.createElement(A,null,t.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t}))),r.length>0&&n.createElement(F,{id:"elementor-editor-app-bar-tools-more"},r.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t})))))}var U=4,{useMenuItems:X}=S;function Y(){const e=X(),t=e.default.slice(0,U),r=e.default.slice(U);return n.createElement(A,null,t.map((({MenuItem:e,id:t},r)=>n.createElement(n.Fragment,{key:t},0===r&&n.createElement(o.Divider,{orientation:"vertical"}),n.createElement(e,null)))),r.length>0&&n.createElement(F,{id:"elementor-editor-app-bar-utilities-more"},r.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t})))))}function $(){return n.createElement(w,null)}function q(){return n.createElement(I,null)}function J(){return n.createElement(b,null)}function K(){return n.createElement(o.ThemeProvider,{colorScheme:"dark"},n.createElement(o.AppBar,{position:"sticky"},n.createElement(o.Box,{display:"grid",gridTemplateColumns:"repeat(3, 1fr)"},n.createElement(o.Grid,{container:!0},n.createElement(z,null),n.createElement(Z,null)),n.createElement(o.Grid,{container:!0,justifyContent:"center"},n.createElement(A,{spacing:1.5},n.createElement(o.Divider,{orientation:"vertical"}),n.createElement(q,null),n.createElement(o.Divider,{orientation:"vertical"}),n.createElement(J,null),n.createElement(o.Divider,{orientation:"vertical"}))),n.createElement(o.Grid,{container:!0,justifyContent:"flex-end"},n.createElement(Y,null),n.createElement($,null)))))}(window.elementorV2=window.elementorV2||{}).editorAppBarUi=t}();