import{c as a}from"./lodash.clonedeep.js";function c(o){o===void 0&&(o={shift:!1,ctrl:!1,left:!1}),document.addEventListener(o.left?"click":"contextmenu",function(n){if((!o.ctrl||n.ctrlKey)&&(!o.shift||n.shiftKey)){o.stop&&(n.preventDefault(),n.stopPropagation());var t=p(n.target);t&&i(t)}})}c.install=function(o,n){c(n)};function e(o){for(;o.length<8;)o+=" ";return o}function r(o){console.log(e(o)+" %cnone","color:grey")}var s="background:#42b983;color:white;border-radius:99px;padding:0px 6px;";function p(o){var n=o&&o.__vue__;if(n)return n;if(o.parentNode)return p(o.parentNode);console.info("no Vue component found")}function i(o,n){if(n?console.groupCollapsed("%cparent   %c"+(o.$parent?o.$options.name||o.$options._componentTag||"anonymous":"Root"),"font-weight:normal",s,o):console.group("%c"+(o.$parent?o.$options.name||o.$options._componentTag||"anonymous":"Root"),s,o),Object.keys(o.$data).length?console.log(e("data"),a(o.$data)):r("data"),o._computedWatchers&&Object.keys(o._computedWatchers).length){var t={};for(var l in o._computedWatchers)try{t[l]=a(o[l])}catch(f){t[l]="["+f.message+"]"}console.log(e("computed"),t)}else r("computed");o._props&&Object.keys(o._props).length?console.log(e("props"),a(o._props)):r("props"),console.log(e("element"),o.$el),!n&&o.$route&&console.log(e("route"),o.$route),o.$parent?i(o.$parent,!0):r("parent"),console.groupEnd()}export{c as i};
