/*! For license information please see command-palette-analytics.js.LICENSE.txt */
(()=>{"use strict";var e={94931:(e,o,r)=>{var t=r(51609),n=Symbol.for("react.element"),a=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,w={key:!0,ref:!0,__self:!0,__source:!0};o.jsx=function(e,o,r){var t,c={},l=null,d=null;for(t in void 0!==r&&(l=""+r),void 0!==o.key&&(l=""+o.key),void 0!==o.ref&&(d=o.ref),o)a.call(o,t)&&!w.hasOwnProperty(t)&&(c[t]=o[t]);if(e&&e.defaultProps)for(t in o=e.defaultProps)void 0===c[t]&&(c[t]=o[t]);return{$$typeof:n,type:e,key:l,ref:d,props:c,_owner:i.current}}},39793:(e,o,r)=>{e.exports=r(94931)},51609:e=>{e.exports=window.React}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var a=o[t]={exports:{}};return e[t](a,a.exports,r),a.exports}r.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return r.d(o,{a:o}),o},r.d=(e,o)=>{for(var t in o)r.o(o,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o);const t=window.wp.i18n,n=window.wp.primitives;var a=r(39793);const i=(0,a.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a.jsx)(n.Path,{fillRule:"evenodd",d:"M11.25 5h1.5v15h-1.5V5zM6 10h1.5v10H6V10zm12 4h-1.5v6H18v-6z",clipRule:"evenodd"})}),w=window.wp.domReady;var c=r.n(w);const l=window.wp.url,d=window.wp.commands,s=window.wp.data,p=window.wc.tracks,m=window.wp.htmlEntities;c()(()=>{window.hasOwnProperty("wcCommandPaletteAnalytics")&&window.wcCommandPaletteAnalytics.hasOwnProperty("reports")&&Array.isArray(window.wcCommandPaletteAnalytics.reports)&&window.wcCommandPaletteAnalytics.reports.forEach(e=>{(({label:e,path:o})=>{(({name:e,label:o,icon:r,callback:t,origin:n})=>{(0,s.dispatch)(d.store).registerCommand({name:e,label:(0,m.decodeEntities)(o),icon:r,callback:(...o)=>{(0,p.queueRecordEvent)("woocommerce_command_palette_submit",{name:e,origin:n}),t(...o)}})})({name:`woocommerce${o}`,label:(0,t.sprintf)((0,t.__)("WooCommerce Analytics: %s","woocommerce"),e),icon:i,callback:()=>{document.location=(0,l.addQueryArgs)("admin.php",{page:"wc-admin",path:o})}})})({label:e.title,path:e.path})})}),(window.wc=window.wc||{}).commandPaletteAnalytics={}})();