Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/wp-content/plugins/elementor/assets/js/packages/editor-app-bar/editor-app-bar.min.js
Arrière
!function(){"use strict";var e={d:function(t,n){for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},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,{documentOptionsMenu:function(){return j},injectIntoPageIndication:function(){return B},injectIntoPrimaryAction:function(){return L},injectIntoResponsive:function(){return x},integrationsMenu:function(){return V},mainMenu:function(){return D},toolsMenu:function(){return R},utilitiesMenu:function(){return O}});var n=window.React,o=window.elementorV2.locations,r=window.elementorV2.ui,i=window.elementorV2.icons,l=window.wp.i18n,a=window.elementorV2.editorDocuments,c=window.elementorV2.editor,s=window.elementorV2.editorV1Adapters,u=window.elementorV2.editorResponsive,p=(0,n.createContext)({type:"toolbar"});function m({type:e,popupState:t,children:o}){return n.createElement(p.Provider,{value:{type:e,popupState:t}},o)}function d(){return(0,n.useContext)(p)}function g({title:e,...t}){return n.createElement(v,{title:e},n.createElement(r.Box,{component:"span","aria-label":void 0},n.createElement(r.IconButton,{...t,"aria-label":e,size:"medium",sx:{"& svg":{fontSize:"1.25rem",height:"1em",width:"1em"},"&:hover":{color:"text.primary"}}})))}function v(e){return n.createElement(r.Tooltip,{PopperProps:{sx:{"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementBottom":{mt:2}}},...e})}var E=(0,r.withDirection)(i.ArrowUpRightIcon),f=(0,r.withDirection)(i.ChevronRightIcon);function _({text:e,icon:t,onClick:o,href:i,target:l,disabled:a,isGroupParent:c,...s}){const u=i&&"_blank"===l;return n.createElement(r.MenuItem,{...s,disabled:a,onClick:o,component:i?"a":"div",href:i,target:l,sx:{"&:hover":{color:"text.primary"}}},n.createElement(r.ListItemIcon,null,t),n.createElement(r.ListItemText,{primary:e}),u&&n.createElement(E,null),c&&n.createElement(f,null))}function y({icon:e,title:t,visible:o=!0,...r}){const{type:i}=d();return o?"toolbar"===i?n.createElement(g,{title:t,...r},n.createElement(e,null)):n.createElement(_,{...r,text:t,icon:n.createElement(e,null)}):null}function b({title:e,onClick:t,...o}){return n.createElement(r.Tooltip,{title:e},n.createElement(r.Box,{component:"span","aria-label":void 0},n.createElement(r.ToggleButton,{...o,onChange:t,"aria-label":e,size:"small",sx:{border:0,"&.Mui-disabled":{border:0},"& svg":{fontSize:"1.25rem",height:"1em",width:"1em"}}})))}function h({icon:e,title:t,value:o,visible:r=!0,...i}){const{type:l}=d();return r?"toolbar"===l?n.createElement(b,{value:o||t,title:t,...i},n.createElement(e,null)):n.createElement(_,{...i,text:t,icon:n.createElement(e,null)}):null}function w({icon:e,title:t,visible:o=!0,...r}){const{type:i}=d();return o?"toolbar"===i?n.createElement(g,{title:t,...r},n.createElement(e,null)):n.createElement(_,{...r,text:t,icon:n.createElement(e,null)}):null}function k({children:e,popupState:t,...o}){return n.createElement(m,{type:"popover",popupState:t},n.createElement(r.Menu,{PaperProps:{sx:{mt:1.5}},...o,MenuListProps:{component:"div",dense:!0}},e))}function I({children:e,...t}){const o="rtl"===(0,r.useTheme)().direction;return n.createElement(k,{sx:{pointerEvents:"none"},PaperProps:{sx:{...o?{marginInlineEnd:-1}:{marginInlineStart:1},pointerEvents:"auto"}},anchorOrigin:{vertical:"center",horizontal:o?"left":"right"},transformOrigin:{vertical:"center",horizontal:o?"right":"left"},...t},e)}function M({icon:e,title:t,visible:o=!0,items:i,...l}){const a=(0,n.useId)(),{type:c,popupState:s}=d(),u=(0,r.usePopupState)({parentPopupState:s,variant:"popover",popupId:"elementor-v2-app-bar-actions-group-"+a});return o?"toolbar"===c?n.createElement(n.Fragment,null,n.createElement(g,{...(0,r.bindTrigger)(u),title:t,...l},n.createElement(e,null)),n.createElement(k,{onClick:u.close,...(0,r.bindMenu)(u),marginThreshold:8,open:u.isOpen,popupState:u},i.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t}))))):n.createElement(n.Fragment,null,n.createElement(_,{...l,...(0,r.bindHover)(u),...(0,r.bindFocus)(u),text:t,icon:n.createElement(e,null),isGroupParent:!0}),n.createElement(I,{...l,...(0,r.bindPopover)(u),popupState:u},i.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t}))))):null}function P(e=[]){const t=[...e,"default"],r=t.reduce(((e,t)=>({...e,[t]:(0,o.createLocation)()})),{}),[i,l,a]=[y,h,w].map((e=>S({locations:r,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})))})),{})),[])}(r),s=function({locations:e,menuGroups:t}){return n=>{const o=P();return S({locations:e,menuGroups:t,component:M,useMenuItems:()=>o.useMenuItems().default})(n),o}}({locations:r,menuGroups:t});return{registerAction:i,registerToggleAction:l,registerLink:a,registerSubMenu:s,useMenuItems:c}}function S({locations:e,menuGroups:t,component:o,useMenuItems:r}){return({group:i="default",id:l,overwrite:a,priority:c,...s})=>{if(!t.includes(i))return;const u="props"in s?()=>s.props:s.useProps,p=o;e[i].inject({id:l,component:e=>{const t=u(),o=r?.();return o?.length?n.createElement(p,{...e,...t,items:o}):n.createElement(p,{...e,...t})},options:{priority:c,overwrite:a}})}}var{inject:B,Slot:C}=(0,o.createLocation)(),{inject:x,Slot:T}=(0,o.createLocation)(),{inject:L,Slot:A}=(0,o.createLocation)(),D=P(["exits"]),R=P(),O=P(),V=P(),j=P(["save"]),z=(0,r.styled)(r.ToggleButton)((({theme:e})=>({padding:0,border:0,color:e.palette.text.primary,"&.MuiToggleButton-root:hover":{backgroundColor:"initial"},"&.MuiToggleButton-root.Mui-selected":{backgroundColor:"initial"}}))),H=(0,r.styled)((e=>n.createElement(r.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 G(e){const[t,o]=(0,n.useState)(!1),r=e.selected||t;return n.createElement(z,{...e,value:"selected",size:"large",onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1)},n.createElement(H,{fontSize:"large",showMenuIcon:r,titleAccess:(0,l.__)("Elementor Logo","elementor")}))}var{useMenuItems:F}=D;function U(){const e=F(),t=(0,r.usePopupState)({variant:"popover",popupId:"elementor-v2-app-bar-main-menu"}),o=(0,r.bindTrigger)(t);return n.createElement(r.Stack,{sx:{paddingInlineStart:3},direction:"row",alignItems:"center"},n.createElement(G,{...o,onClick:e=>{const t=window,n=t?.elementor?.editorEvents?.config;n&&t.elementor.editorEvents.dispatchEvent(n.names.topBar.elementorLogoDropdown,{location:n.locations.topBar,secondaryLocation:n.secondaryLocations.elementorLogo,trigger:n.triggers.dropdownClick,element:n.elements.buttonIcon}),o.onClick(e)},selected:t.isOpen}),n.createElement(k,{onClick:t.close,...(0,r.bindMenu)(t),marginThreshold:8},e.default.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t}))),e.exits.length>0&&n.createElement(r.Divider,null),e.exits.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t})))))}function W({children:e,...t}){return n.createElement(m,{type:"toolbar"},n.createElement(r.Stack,{sx:{px:1.5},spacing:1.5,direction:"row",alignItems:"center",...t},e))}function K({children:e,id:t}){const o=(0,r.usePopupState)({variant:"popover",popupId:t});return n.createElement(n.Fragment,null,n.createElement(g,{...(0,r.bindTrigger)(o),title:(0,l.__)("More","elementor")},n.createElement(i.DotsVerticalIcon,null)),n.createElement(k,{onClick:o.close,...(0,r.bindMenu)(o)},e))}var{useMenuItems:Z}=V;function $(){const e=Z(),t=(0,r.usePopupState)({variant:"popover",popupId:"elementor-v2-app-bar-integrations"});return 0===e.default.length?null:n.createElement(n.Fragment,null,n.createElement(g,{...(0,r.bindTrigger)(t),title:(0,l.__)("Integrations","elementor")},n.createElement(i.PlugIcon,null)),n.createElement(k,{onClick:t.close,...(0,r.bindMenu)(t),marginThreshold:8,open:t.isOpen},e.default.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t})))))}var q=5,{useMenuItems:X}=R;function Y(){const e=X(),t=e.default.slice(0,q),o=e.default.slice(q);return n.createElement(W,null,t.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t}))),n.createElement($,null),o.length>0&&n.createElement(K,{id:"elementor-editor-app-bar-tools-more"},o.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t})))))}var J=4,{useMenuItems:N}=O;function Q(){const e=N(),t=e.default.slice(0,J),o=e.default.slice(J);return n.createElement(W,null,t.map((({MenuItem:e,id:t},o)=>n.createElement(n.Fragment,{key:t},0===o&&n.createElement(r.Divider,{orientation:"vertical"}),n.createElement(e,null)))),o.length>0&&n.createElement(K,{id:"elementor-editor-app-bar-utilities-more"},o.map((({MenuItem:e,id:t})=>n.createElement(e,{key:t})))))}function ee(){return n.createElement(A,null)}function te(){return n.createElement(C,null)}function ne(){return n.createElement(T,null)}function oe(){const e=(0,a.__useActiveDocument)(),t=(0,a.__useHostDocument)(),o=e&&"kit"!==e.type.value?e:t,{isActive:c,isBlocked:u}=(0,s.__privateUseRouteStatus)("panel/page-settings");if(!o)return null;const p=(0,l.__)("%s Settings","elementor").replace("%s",o.type.label);return n.createElement(re,{title:p},n.createElement(r.Box,{component:"span","aria-label":void 0},n.createElement(r.ToggleButton,{value:"document-settings",selected:c,disabled:u,onChange:()=>{const e=window,t=e?.elementor?.editorEvents?.config;t&&e.elementor.editorEvents.dispatchEvent(t.names.topBar.documentSettings,{location:t.locations.topBar,secondaryLocation:t.secondaryLocations["document-settings"],trigger:t.triggers.click,element:t.elements.buttonIcon}),(0,s.__privateOpenRoute)("panel/page-settings/settings")},"aria-label":p,size:"small",sx:{border:0,"&.Mui-disabled":{border:0}}},n.createElement(i.SettingsIcon,{fontSize:"small"}))))}function re(e){return n.createElement(r.Tooltip,{PopperProps:{sx:{"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementBottom":{mt:1.7}}},...e})}function ie(){const e=(0,a.__useActiveDocument)();return{icon:i.EyeIcon,title:(0,l.__)("Preview Changes","elementor"),onClick:()=>{const t=window,n=t?.elementor?.editorEvents?.config;n&&t.elementor.editorEvents.dispatchEvent(n.names.topBar.previewPage,{location:n.locations.topBar,secondaryLocation:n.secondaryLocations["preview-page"],trigger:n.triggers.click,element:n.elements.buttonIcon}),e&&(0,s.__privateRunCommand)("editor/documents/preview",{id:e.id,force:!0})}}}function le(){const e=(0,a.__useActiveDocument)(),{saveDraft:t}=(0,a.__useActiveDocumentActions)();return{icon:i.FileReportIcon,title:(0,l.__)("Save Draft","elementor"),onClick:t,disabled:!e||e.isSaving||e.isSavingDraft||!e.isDirty}}function ae(){const{saveTemplate:e}=(0,a.__useActiveDocumentActions)();return{icon:i.FolderIcon,title:(0,l.__)("Save as Template","elementor"),onClick:e}}function ce(){const e=(0,a.__useActiveDocument)();return{icon:i.EyeIcon,title:(0,l.__)("View Page","elementor"),onClick:()=>e?.id&&(0,s.__privateRunCommand)("editor/documents/view",{id:e.id})}}var{useMenuItems:se}=j,ue=(0,r.styled)(k)` & > .MuiPopover-paper > .MuiList-root { & > .MuiDivider-root { display: none; } & > *:not( .MuiDivider-root ):not( :last-of-type ) + .MuiDivider-root { display: block; } } `;function pe(e){const{save:t,default:o}=se();return n.createElement(ue,{...e,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},marginThreshold:4,PaperProps:{sx:{mt:.5}}},t.map((({MenuItem:e,id:t},o)=>[o>0&&n.createElement(r.Divider,{key:`${t}-divider`}),n.createElement(e,{key:t})])),t.length>0&&o.length>0&&n.createElement(r.Divider,null),o.map((({MenuItem:e,id:t},o)=>[o>0&&n.createElement(r.Divider,{key:`${t}-divider`}),n.createElement(e,{key:t})])))}function me(){const e=(0,a.__useActiveDocument)(),{save:t}=(0,a.__useActiveDocumentActions)(),o=(0,s.__privateUseIsPreviewMode)(),c=(0,r.usePopupState)({variant:"popover",popupId:"document-save-options"});if(!e)return null;const u=o||!function(e){return"kit"!==e.type.value&&(e.isDirty||"draft"===e.status.value)}(e),p=o||"kit"===e.type.value,m=e.isSaving&&!u;return n.createElement(n.Fragment,null,n.createElement(r.ButtonGroup,{size:"large",variant:"contained"},n.createElement(r.Button,{onClick:()=>{const n=window,o=n?.elementor?.editorEvents?.config;o&&n.elementor.editorEvents.dispatchEvent(o.names.topBar.publishButton,{location:o.locations.topBar,secondaryLocation:o.secondaryLocations["publish-button"],trigger:o.triggers.click,element:o.elements.mainCta}),e.isSaving||t()},sx:{height:"100%",borderRadius:0,maxWidth:"158px","&.MuiButtonBase-root.MuiButtonGroup-grouped":{minWidth:"110px"}},disabled:u},m?n.createElement(r.CircularProgress,{color:"inherit",size:"1.5em"}):function(e){return e.userCan.publish?(0,l.__)("Publish","elementor"):(0,l.__)("Submit","elementor")}(e)),n.createElement(r.Tooltip,{title:(0,l.__)("Save Options","elementor"),PopperProps:{sx:{"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementBottom":{mt:1,mr:.25}}}},n.createElement(r.Box,{component:"span","aria-label":void 0},n.createElement(r.Button,{size:"small",...(0,r.bindTrigger)(c),sx:{px:0,height:"100%",borderRadius:0},disabled:p,"aria-label":(0,l.__)("Save Options","elementor")},n.createElement(i.ChevronDownIcon,null))))),n.createElement(pe,{...(0,r.bindMenu)(c),onClick:c.close}))}function de(){const e=(0,a.__useActiveDocument)(),{copyAndShare:t}=(0,a.__useActiveDocumentActions)();return{icon:i.LinkIcon,title:(0,l.__)("Copy and Share","elementor"),onClick:t,disabled:!e||e.isSaving||e.isSavingDraft||!("publish"===e.status.value),visible:e?.permissions?.showCopyAndShare}}function ge(e){window.elementor?.getPanelView?.()?.getHeaderView?.()?.setTitle?.(e)}function ve(e){const t=document.querySelector('.elementor-component-tab[data-tab="categories"]');t&&(t.textContent=e)}function Ee(){const{isActive:e,isBlocked:t}=(0,s.__privateUseRouteStatus)("panel/elements");return{title:(0,l.__)("Add Element","elementor"),icon:i.PlusIcon,onClick:()=>{const e=window,t=e?.elementor?.editorEvents?.config;t&&e.elementor.editorEvents.dispatchEvent(t.names.topBar.widgetPanel,{location:t.locations.topBar,secondaryLocation:t.secondaryLocations["widget-panel"],trigger:t.triggers.toggleClick,element:t.elements.buttonIcon}),(0,s.__privateOpenRoute)("panel/elements/categories")},selected:e,disabled:t}}function fe(){const{isBlocked:e}=(0,s.__privateUseRouteStatus)("finder",{blockOnKitRoutes:!1,blockOnPreviewMode:!1});return{title:(0,l.__)("Finder","elementor"),icon:i.SearchIcon,onClick:()=>{const e=window,t=e?.elementor?.editorEvents?.config;t&&e.elementor.editorEvents.dispatchEvent(t.names.topBar.finder,{location:t.locations.topBar,secondaryLocation:t.secondaryLocations.finder,trigger:t.triggers.toggleClick,element:t.elements.buttonIcon}),(0,s.__privateRunCommand)("finder/toggle")},disabled:e}}function _e(){const{isActive:e,isBlocked:t}=(0,s.__privateUseRouteStatus)("panel/history");return{title:(0,l.__)("History","elementor"),icon:i.HistoryIcon,onClick:()=>{const e=window,t=e?.elementor?.editorEvents?.config;t&&e.elementor.editorEvents.dispatchEvent(t.names.topBar.history,{location:t.locations.topBar,secondaryLocation:t.secondaryLocations.elementorLogo,trigger:t.triggers.click,element:t.elements.link}),(0,s.__privateOpenRoute)("panel/history/actions")},selected:e,disabled:t}}function ye(){return{icon:i.KeyboardIcon,title:(0,l.__)("Keyboard Shortcuts","elementor"),onClick:()=>{const e=window,t=e?.elementor?.editorEvents?.config;t&&e.elementor.editorEvents.dispatchEvent(t.names.topBar.keyboardShortcuts,{location:t.locations.topBar,secondaryLocation:t.secondaryLocations.elementorLogo,trigger:t.triggers.click,element:t.elements.link}),(0,s.__privateRunCommand)("shortcuts/open")}}}function be(){const e=(0,u.useBreakpoints)(),t=(0,u.useActiveBreakpoint)(),o=(0,u.useActivateBreakpoint)();return e.length&&t?n.createElement(r.Tabs,{textColor:"inherit",indicatorColor:"secondary",value:t,onChange:(e,t)=>{const n=window,r=n?.elementor?.editorEvents?.config;r&&n.elementor.editorEvents.dispatchEvent(r.names.topBar.responsiveControls,{location:r.locations.topBar,secondaryLocation:r.secondaryLocations.responsiveControls,trigger:r.triggers.click,element:r.elements.buttonIcon,mode:t}),o(t)},"aria-label":(0,l.__)("Switch Device","elementor"),sx:{"& .MuiTabs-indicator":{backgroundColor:"text.primary"}}},e.map((({id:e,label:t,type:o,width:i})=>{const l=we[e],a=ke[o||"default"].replace("%s",t).replace("%d",i?.toString()||"");return n.createElement(r.Tab,{value:e,key:e,"aria-label":a,icon:n.createElement(he,{title:a},n.createElement(l,null)),sx:{minWidth:"auto"},"data-testid":`switch-device-to-${e}`})}))):null}function he(e){return n.createElement(r.Tooltip,{PopperProps:{sx:{"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementBottom":{mt:2.5}}},...e})}var we={widescreen:i.WidescreenIcon,desktop:i.DesktopIcon,laptop:i.LaptopIcon,tablet_extra:i.TabletLandscapeIcon,tablet:i.TabletPortraitIcon,mobile_extra:i.MobileLandscapeIcon,mobile:i.MobilePortraitIcon},ke={default:"%s","min-width":(0,l.__)("%s (%dpx and up)","elementor"),"max-width":(0,l.__)("%s (up to %dpx)","elementor")};function Ie(e){const t=(0,s.__privateUseListenTo)([(0,s.routeOpenEvent)("panel/global"),(0,s.routeCloseEvent)("panel/global")],Me);return t.current?n.createElement(r.Portal,{container:t.current,...e}):null}function Me(){return(0,s.__privateIsRouteActive)("panel/global")?{current:document.querySelector("#elementor-panel-inner")}:{current:null}}function Pe(){const e=(0,a.__useActiveDocument)(),{save:t}=(0,a.__useActiveDocumentActions)();return n.createElement(r.Paper,{sx:{px:5,py:4,borderTop:1,borderColor:"divider"}},n.createElement(r.Button,{variant:"contained",disabled:!e||!e.isDirty,size:"medium",sx:{width:"100%"},onClick:()=>e&&!e.isSaving?t():null},e?.isSaving?n.createElement(r.CircularProgress,null):(0,l.__)("Save Changes","elementor")))}function Se(){return n.createElement(Ie,null,n.createElement(Pe,null))}function Be(){const{isActive:e,isBlocked:t}=(0,s.__privateUseRouteStatus)("panel/global",{blockOnKitRoutes:!1});return{title:(0,l.__)("Site Settings","elementor"),icon:i.AdjustmentsHorizontalIcon,onClick:()=>{const t=window,n=t?.elementor?.editorEvents?.config;n&&t.elementor.editorEvents.dispatchEvent(n.names.topBar.siteSettings,{location:n.locations.topBar,secondaryLocation:n.secondaryLocations.siteSettings,trigger:n.triggers.toggleClick,element:n.elements.buttonIcon}),e?(0,s.__privateRunCommand)("panel/global/close"):(0,s.__privateRunCommand)("panel/global/open")},selected:e,disabled:t}}function Ce(){const{isActive:e,isBlocked:t}=(0,s.__privateUseRouteStatus)("navigator");return{title:(0,l.__)("Structure","elementor"),icon:i.StructureIcon,onClick:()=>{const e=window,t=e?.elementor?.editorEvents?.config;t&&e.elementor.editorEvents.dispatchEvent(t.names.topBar.structure,{location:t.locations.topBar,secondaryLocation:t.secondaryLocations.structure,trigger:t.triggers.toggleClick,element:t.elements.buttonIcon}),(0,s.__privateRunCommand)("navigator/toggle")},selected:e,disabled:t}}function xe(){return{icon:i.ThemeBuilderIcon,title:(0,l.__)("Theme Builder","elementor"),onClick:()=>{const e=window,t=e?.elementor?.editorEvents?.config;t&&e.elementor.editorEvents.dispatchEvent(t.names.topBar.themeBuilder,{location:t.locations.topBar,secondaryLocation:t.secondaryLocations.elementorLogo,trigger:t.triggers.click,element:t.elements.link}),(0,s.__privateRunCommand)("app/open")}}}function Te(){const{isActive:e,isBlocked:t}=(0,s.__privateUseRouteStatus)("panel/editor-preferences");return{icon:i.ToggleRightIcon,title:(0,l.__)("User Preferences","elementor"),onClick:()=>{const e=window,t=e?.elementor?.editorEvents?.config;t&&e.elementor.editorEvents.dispatchEvent(t.names.topBar.userPreferences,{location:t.locations.topBar,secondaryLocation:t.secondaryLocations.elementorLogo,trigger:t.triggers.click,element:t.elements.link}),(0,s.__privateOpenRoute)("panel/editor-preferences")},selected:e,disabled:t}}(0,s.__privateListenTo)((0,s.routeOpenEvent)("panel/menu"),(()=>{(0,s.__privateOpenRoute)("panel/elements/categories")})),B({id:"document-settings-button",component:oe,options:{priority:20}}),O.registerAction({id:"document-preview-button",priority:30,useProps:ie}),L({id:"document-primary-action",component:me}),j.registerAction({group:"save",id:"document-save-draft",priority:10,useProps:le}),j.registerAction({group:"save",id:"document-save-as-template",priority:20,useProps:ae}),j.registerAction({id:"document-copy-and-share",priority:10,useProps:de}),j.registerAction({id:"document-view-page",priority:50,useProps:ce}),function(){const e=(0,l.__)("Elements","elementor"),t=(0,l.__)("Widgets","elementor");(0,s.__privateListenTo)((0,s.routeOpenEvent)("panel/elements"),(()=>{ge(e),ve(t)})),(0,s.__privateListenTo)((0,s.v1ReadyEvent)(),(()=>{(0,s.__privateIsRouteActive)("panel/elements")&&(ge(e),ve(t))}))}(),R.registerToggleAction({id:"open-elements-panel",priority:1,useProps:Ee}),O.registerAction({id:"toggle-finder",priority:10,useProps:fe}),O.registerLink({id:"open-help-center",priority:20,useProps:()=>({title:(0,l.__)("Help","elementor"),href:"https://go.elementor.com/editor-top-bar-learn/",icon:i.HelpIcon,target:"_blank",onClick:()=>{const e=window,t=e?.elementor?.editorEvents?.config;t&&e.elementor.editorEvents.dispatchEvent(t.names.topBar.help,{location:t.locations.topBar,secondaryLocation:t.secondaryLocations.help,trigger:t.triggers.click,element:t.elements.buttonIcon})}})}),D.registerToggleAction({id:"open-history",priority:20,useProps:_e}),D.registerAction({id:"open-keyboard-shortcuts",group:"default",priority:40,useProps:ye}),x({id:"responsive-breakpoints-switcher",component:be,options:{priority:20}}),(0,c.injectIntoTop)({id:"site-settings-primary-action-portal",component:Se}),R.registerToggleAction({id:"toggle-site-settings",priority:2,useProps:Be}),R.registerToggleAction({id:"toggle-structure-view",priority:3,useProps:Ce}),D.registerAction({id:"open-theme-builder",useProps:xe}),D.registerToggleAction({id:"open-user-preferences",priority:30,useProps:Te}),D.registerLink({id:"exit-to-wordpress",group:"exits",useProps:()=>{const e=(0,a.__useActiveDocument)();return{title:(0,l.__)("Exit to WordPress","elementor"),href:e?.links?.platformEdit,icon:i.WordpressIcon,onClick:()=>{const e=window,t=e?.elementor?.editorEvents?.config;t&&e.elementor.editorEvents.dispatchEvent(t.names.topBar.exitToWordpress,{location:t.locations.topBar,secondaryLocation:t.secondaryLocations.elementorLogo,trigger:t.triggers.click,element:t.elements.link})}}}}),(0,c.injectIntoTop)({id:"app-bar",component:function(){const e=(0,a.__useActiveDocument)();return n.createElement(r.ThemeProvider,{colorScheme:"dark"},n.createElement(r.AppBar,{position:"sticky"},n.createElement(r.Toolbar,{disableGutters:!0,variant:"dense"},n.createElement(r.Box,{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",flexGrow:1},n.createElement(r.Grid,{container:!0},n.createElement(U,null),e?.permissions?.allowAddingWidgets&&n.createElement(Y,null)),n.createElement(r.Grid,{container:!0,justifyContent:"center"},n.createElement(W,{spacing:1.5},n.createElement(r.Divider,{orientation:"vertical"}),n.createElement(te,null),n.createElement(r.Divider,{orientation:"vertical"}),n.createElement(ne,null),n.createElement(r.Divider,{orientation:"vertical"}))),n.createElement(r.Grid,{container:!0,justifyContent:"flex-end"},n.createElement(Q,null),n.createElement(ee,null))))))}}),(window.elementorV2=window.elementorV2||{}).editorAppBar=t}();
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.02 |
proxy
|
phpinfo
|
Réglages