@univer-cli/content-inspection-command 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- const _0x1aa870=_0x3a2a;(function(_0x21eae8,_0x4e5c9f){const _0x5d9b4d=_0x3a2a,_0x5a48a5=_0x21eae8();while(!![]){try{const _0x3f63fb=parseInt(_0x5d9b4d(0x10a))/0x1*(-parseInt(_0x5d9b4d(0x184))/0x2)+parseInt(_0x5d9b4d(0xf0))/0x3*(parseInt(_0x5d9b4d(0x12f))/0x4)+parseInt(_0x5d9b4d(0xcd))/0x5+parseInt(_0x5d9b4d(0xe6))/0x6*(-parseInt(_0x5d9b4d(0x17d))/0x7)+-parseInt(_0x5d9b4d(0x145))/0x8*(parseInt(_0x5d9b4d(0x19f))/0x9)+-parseInt(_0x5d9b4d(0x162))/0xa*(parseInt(_0x5d9b4d(0x183))/0xb)+parseInt(_0x5d9b4d(0xbe))/0xc;if(_0x3f63fb===_0x4e5c9f)break;else _0x5a48a5['push'](_0x5a48a5['shift']());}catch(_0x37c30f){_0x5a48a5['push'](_0x5a48a5['shift']());}}}(_0x3cdc,0x981fa));import{ContentInspectionError as _0x138c99,inspectContent as _0x2485d5}from'@univer-cli/content-inspection';import{Argument as _0x38aff1,Command as _0x42bf00,Option as _0x37f1bb}from'commander';var a=class extends Error{};function o(_0x2ff7eb,_0x1f89ce,_0x23ea64){const _0x3c18ac=_0x3a2a;if(_0x2ff7eb===_0x3c18ac(0x14f)||_0x2ff7eb==='document'||_0x2ff7eb==='presentation'||_0x2ff7eb==='base'||_0x2ff7eb===_0x3c18ac(0x188))return m(_0x2ff7eb,_0x1f89ce),h(_0x2ff7eb,_0x23ea64[_0x3c18ac(0x139)]),{'kind':_0x2ff7eb};if(_0x2ff7eb===_0x3c18ac(0x139))return h(_0x2ff7eb,_0x23ea64[_0x3c18ac(0x139)]),{'kind':_0x2ff7eb,'worksheets':p(_0x1f89ce,c)};if(_0x2ff7eb===_0x3c18ac(0xff))return h(_0x2ff7eb,_0x23ea64[_0x3c18ac(0x139)]),{'kind':_0x2ff7eb,'slides':p(_0x1f89ce,l)};if(_0x2ff7eb===_0x3c18ac(0x152))return h(_0x2ff7eb,_0x23ea64[_0x3c18ac(0x139)]),{'kind':_0x2ff7eb,'paragraphs':p(_0x1f89ce,u)};if(_0x2ff7eb==='board-element')return h(_0x2ff7eb,_0x23ea64[_0x3c18ac(0x139)]),{'kind':_0x2ff7eb,'elements':p(_0x1f89ce,s)};if(_0x23ea64[_0x3c18ac(0x139)]===void 0x0)throw new a(_0x3c18ac(0x18a));let _0x152859=c(_0x23ea64[_0x3c18ac(0x139)]);return{'kind':_0x2ff7eb,'ranges':p(_0x1f89ce,_0x4a4e9f=>{const _0x26ece9=_0x3c18ac;if(_0x4a4e9f['length']===0x0)throw new a(_0x26ece9(0x1a8));return{'range':_0x4a4e9f,'worksheet':_0x152859};})};}function s(_0x35dc91){const _0x582362=_0x3a2a;let _0x2bd279=d(_0x35dc91);if(_0x2bd279['prefix']==='id')return{'id':_0x2bd279[_0x582362(0x131)]};throw new a(_0x582362(0x1a5)+_0x2bd279[_0x582362(0x102)]+_0x582362(0xc5));}function c(_0x29593f){const _0x4f5512=_0x3a2a;let _0x40fb60=d(_0x29593f);if(_0x40fb60[_0x4f5512(0x102)]==='id')return{'id':_0x40fb60[_0x4f5512(0x131)]};if(_0x40fb60[_0x4f5512(0x102)]===_0x4f5512(0x196))return{'name':_0x40fb60[_0x4f5512(0x131)]};if(_0x40fb60['prefix']===_0x4f5512(0x124))return{'index':f(_0x40fb60[_0x4f5512(0x131)])};throw new a(_0x4f5512(0x133)+_0x40fb60[_0x4f5512(0x102)]+'\x22;\x20use\x20id:,\x20name:,\x20or\x20index:');}function l(_0x2131bf){const _0x58c4ea=_0x3a2a;let _0x1ce76a=d(_0x2131bf);if(_0x1ce76a['prefix']==='id')return{'id':_0x1ce76a[_0x58c4ea(0x131)]};if(_0x1ce76a[_0x58c4ea(0x102)]===_0x58c4ea(0x124))return{'index':f(_0x1ce76a[_0x58c4ea(0x131)])};throw new a(_0x58c4ea(0x176)+_0x1ce76a[_0x58c4ea(0x102)]+_0x58c4ea(0x125));}function u(_0x4d92dd){const _0x5dcff0=_0x3a2a;let _0x33cfaf=d(_0x4d92dd);if(_0x33cfaf[_0x5dcff0(0x102)]==='id')return{'id':_0x33cfaf[_0x5dcff0(0x131)]};if(_0x33cfaf[_0x5dcff0(0x102)]===_0x5dcff0(0x124))return{'index':f(_0x33cfaf[_0x5dcff0(0x131)])};throw new a('Unknown\x20paragraph\x20selector\x20prefix\x20\x22'+_0x33cfaf[_0x5dcff0(0x102)]+_0x5dcff0(0x125));}function d(_0x19d98e){const _0x3c5d31=_0x3a2a;let _0x3e2c33=_0x19d98e[_0x3c5d31(0x11f)](':');if(_0x3e2c33<=0x0||_0x3e2c33===_0x19d98e['length']-0x1)throw new a(_0x3c5d31(0x175)+_0x19d98e+_0x3c5d31(0x148));return{'prefix':_0x19d98e['slice'](0x0,_0x3e2c33),'value':_0x19d98e[_0x3c5d31(0x198)](_0x3e2c33+0x1)};}function f(_0x221338){const _0x559859=_0x3a2a;if(!/^\d+$/[_0x559859(0x17b)](_0x221338))throw new a(_0x559859(0x187)+_0x221338+'\x22;\x20index\x20must\x20be\x20an\x20integer');let _0x10c687=Number(_0x221338);if(!Number['isSafeInteger'](_0x10c687)||_0x10c687<0x1)throw new a(_0x559859(0x187)+_0x221338+_0x559859(0x121));return _0x10c687-0x1;}function p(_0x4e889d,_0x1dd689){const _0x5e9979=_0x3a2a;if(_0x4e889d[_0x5e9979(0x12d)]===0x0)throw new a('This\x20inspection\x20target\x20requires\x20at\x20least\x20one\x20selector');let _0x572a68=_0x4e889d[0x0];if(_0x572a68===void 0x0)throw new a(_0x5e9979(0xd3));return[_0x1dd689(_0x572a68),..._0x4e889d[_0x5e9979(0x198)](0x1)['map'](_0x1dd689)];}function m(_0x3f4ecc,_0x8cf529){const _0x299844=_0x3a2a;if(_0x8cf529['length']>0x0)throw new a(_0x3f4ecc+_0x299844(0x177));}function _0x3a2a(_0x217cdd,_0x30add0){_0x217cdd=_0x217cdd-0xb3;const _0x3cdc93=_0x3cdc();let _0x3a2ad0=_0x3cdc93[_0x217cdd];return _0x3a2ad0;}function h(_0x2f649b,_0x462c10){const _0x489d45=_0x3a2a;if(_0x462c10!==void 0x0)throw new a(_0x489d45(0xe4)+_0x2f649b);}var g=0xc,_=0x8,v=0xc;function y(_0xdd383a){const _0x44f210=_0x3a2a;switch(_0xdd383a[_0x44f210(0xfb)]){case'base':return[_0x44f210(0x163)+_0xdd383a[_0x44f210(0x196)]+'\x20('+_0xdd383a[_0x44f210(0x193)]+')',_0xdd383a['tables'][_0x44f210(0x12d)]+_0x44f210(0x150),'',..._0xdd383a[_0x44f210(0x127)]['map'](k)][_0x44f210(0x132)]('\x0a');case _0x44f210(0x14f):return['workbook\x20'+_0xdd383a['name']+'\x20('+_0xdd383a[_0x44f210(0x193)]+')',..._0xdd383a['worksheets'][_0x44f210(0x138)](A)][_0x44f210(0x132)]('\x0a');case _0x44f210(0x139):return _0xdd383a[_0x44f210(0x11e)][_0x44f210(0x138)](A)['join']('\x0a');case _0x44f210(0xca):return _0xdd383a['ranges'][_0x44f210(0x138)](_0x46cf2f=>_0x46cf2f['worksheet'][_0x44f210(0x196)]+'!'+_0x46cf2f[_0x44f210(0xcb)]+(_0x46cf2f[_0x44f210(0x117)]?_0x44f210(0x18d)+_0x46cf2f[_0x44f210(0x190)]+')':'')+'\x0a'+j(_0x46cf2f[_0x44f210(0xbf)]))[_0x44f210(0x132)]('\x0a\x0a');case _0x44f210(0x17e):return[_0x44f210(0xc2)+_0xdd383a[_0x44f210(0x196)]+'\x20('+_0xdd383a[_0x44f210(0x193)]+')\x20'+_0xdd383a[_0x44f210(0xb4)][_0x44f210(0x11b)]+'x'+_0xdd383a[_0x44f210(0xb4)][_0x44f210(0xb6)],_0x44f210(0x146)+_0xdd383a[_0x44f210(0xf6)]+_0x44f210(0x186)+_0xdd383a[_0x44f210(0xd6)],..._0xdd383a[_0x44f210(0xf4)][_0x44f210(0x138)](_0x5f570a=>_0x44f210(0x16f)+(_0x5f570a[_0x44f210(0x124)]+0x1)+']\x20'+_0x5f570a['id']+'\x20'+_0x5f570a[_0x44f210(0x196)]+_0x44f210(0xb5)+_0x5f570a[_0x44f210(0x126)][_0x44f210(0x134)]+'\x20elements'+(_0x5f570a[_0x44f210(0x104)]===void 0x0?'':_0x44f210(0xb5)+_0x5f570a['textPreview']))][_0x44f210(0x132)]('\x0a');case _0x44f210(0xff):return _0xdd383a[_0x44f210(0xf4)][_0x44f210(0x138)](_0x1ac7bc=>['slide\x20['+(_0x1ac7bc['index']+0x1)+']\x20'+_0x1ac7bc['id']+'\x20'+_0x1ac7bc[_0x44f210(0x196)],..._0x1ac7bc[_0x44f210(0x105)][_0x44f210(0x138)](_0x29ae09=>M(_0x29ae09,'\x20\x20')),..._0x1ac7bc['speakerNotes']===''?[]:[_0x44f210(0x110)+_0x1ac7bc[_0x44f210(0x15a)]]][_0x44f210(0x132)]('\x0a'))[_0x44f210(0x132)]('\x0a\x0a');case _0x44f210(0x11a):return[_0x44f210(0x158)+_0xdd383a[_0x44f210(0xd0)]+'\x20('+_0xdd383a[_0x44f210(0x193)]+_0x44f210(0x19a)+_0xdd383a[_0x44f210(0x130)]+']',_0xdd383a[_0x44f210(0x192)]+'\x20paragraphs,\x20'+_0xdd383a[_0x44f210(0x114)]+_0x44f210(0x18c),..._0xdd383a[_0x44f210(0xdd)][_0x44f210(0x138)](_0x162001=>_0x44f210(0x16f)+(_0x162001[_0x44f210(0x124)]+0x1)+']\x20'+_0x162001['id']+_0x44f210(0xb5)+_0x162001[_0x44f210(0x104)])][_0x44f210(0x132)]('\x0a');case'paragraph':return _0xdd383a[_0x44f210(0xdd)]['map'](_0x5083ba=>'paragraph\x20['+(_0x5083ba[_0x44f210(0x124)]+0x1)+']\x20'+_0x5083ba['id']+'\x0a'+_0x5083ba[_0x44f210(0xba)]+(_0x5083ba[_0x44f210(0x14a)]['length']===0x0?'':_0x44f210(0x14b)+_0x5083ba[_0x44f210(0x14a)][_0x44f210(0x12d)]))[_0x44f210(0x132)]('\x0a\x0a');case _0x44f210(0x188):return[_0x44f210(0x10f)+_0xdd383a[_0x44f210(0x196)]+'\x20('+_0xdd383a[_0x44f210(0x193)]+')',_0xdd383a[_0x44f210(0x126)][_0x44f210(0x134)]+'\x20elements\x20—\x20'+C(_0xdd383a[_0x44f210(0x126)][_0x44f210(0xeb)]),..._0xdd383a['elements'][_0x44f210(0x138)](_0x33a94a=>b(_0x33a94a,'\x20\x20'))][_0x44f210(0x132)]('\x0a');case _0x44f210(0xc0):return _0xdd383a[_0x44f210(0x105)][_0x44f210(0x138)](x)[_0x44f210(0x132)]('\x0a\x0a');}}function b(_0x5c9426,_0x25b472){const _0x28860c=_0x3a2a;let _0x34d3d1=_0x5c9426[_0x28860c(0x169)]===void 0x0?'':':'+_0x5c9426['subtype'],_0x32ee07=_0x5c9426[_0x28860c(0x196)]===void 0x0||_0x5c9426[_0x28860c(0x196)]===''?'':'\x20'+_0x5c9426[_0x28860c(0x196)],_0x5d218d=_0x5c9426['startElementId']===void 0x0&&_0x5c9426['endElementId']===void 0x0?'':'\x20'+(_0x5c9426[_0x28860c(0xc4)]??'?')+'\x20->\x20'+(_0x5c9426[_0x28860c(0x18e)]??'?'),_0x258fc2=_0x5c9426[_0x28860c(0xba)]===void 0x0||_0x5c9426['text']===''?'':_0x28860c(0xb5)+D(_0x5c9426[_0x28860c(0xba)]);return _0x25b472+'['+(_0x5c9426[_0x28860c(0xc8)]+0x1)+']\x20'+_0x5c9426[_0x28860c(0xf2)]+_0x34d3d1+'\x20'+_0x5c9426['id']+_0x32ee07+_0x5d218d+_0x258fc2;}function x(_0x2d7b5d){const _0x193d23=_0x3a2a;let _0x1a844a=[_0x2d7b5d[_0x193d23(0xf2)]+'\x20'+_0x2d7b5d['id']+'\x20['+(_0x2d7b5d[_0x193d23(0xc8)]+0x1)+']'+(_0x2d7b5d[_0x193d23(0x196)]===void 0x0||_0x2d7b5d[_0x193d23(0x196)]===''?'':'\x20'+_0x2d7b5d[_0x193d23(0x196)]),_0x193d23(0x14d)+T(_0x2d7b5d[_0x193d23(0xee)]),_0x193d23(0x112)+(_0x2d7b5d[_0x193d23(0x179)]===null?'unresolved':T(_0x2d7b5d['bounds'])),'\x20\x20state:\x20visible='+_0x2d7b5d['visible']+_0x193d23(0x143)+_0x2d7b5d[_0x193d23(0x10d)]+_0x193d23(0xed)+_0x2d7b5d[_0x193d23(0x15b)]];return _0x2d7b5d['description']!==void 0x0&&_0x1a844a[_0x193d23(0xcc)](_0x193d23(0x19e)+D(_0x2d7b5d['description'])),_0x2d7b5d[_0x193d23(0x10c)]!==void 0x0&&_0x1a844a[_0x193d23(0xcc)](_0x193d23(0x178)+_0x2d7b5d[_0x193d23(0x10c)]),_0x2d7b5d['laneId']!==void 0x0&&_0x1a844a[_0x193d23(0xcc)](_0x193d23(0xb9)+_0x2d7b5d[_0x193d23(0x156)]),_0x2d7b5d[_0x193d23(0xf2)]==='connector'?(_0x1a844a[_0x193d23(0xcc)]('\x20\x20connection:\x20'+S(_0x2d7b5d[_0x193d23(0x17f)][_0x193d23(0xe3)])+_0x193d23(0xd8)+S(_0x2d7b5d['connection'][_0x193d23(0x107)]),_0x193d23(0xe0)+_0x2d7b5d[_0x193d23(0x17f)]['routing']+'\x20('+_0x2d7b5d[_0x193d23(0x17f)]['routingMode']+'),\x20'+_0x2d7b5d['connection'][_0x193d23(0x153)][_0x193d23(0x12d)]+_0x193d23(0x10b),'\x20\x20style:\x20'+T(_0x2d7b5d['style']),'\x20\x20labels:\x20'+T(_0x2d7b5d['labels']),_0x193d23(0xb8)+w(_0x2d7b5d['labelText']),_0x193d23(0x13a)+T(_0x2d7b5d[_0x193d23(0x151)])),_0x1a844a[_0x193d23(0x132)]('\x0a')):(_0x2d7b5d['type']===_0x193d23(0x108)?_0x1a844a['push'](_0x193d23(0x13e)+T(_0x2d7b5d[_0x193d23(0xd1)])):_0x2d7b5d[_0x193d23(0xf2)]===_0x193d23(0xba)?_0x1a844a[_0x193d23(0xcc)](_0x193d23(0xbc)+w(_0x2d7b5d['textContent']),_0x193d23(0x159)+T(_0x2d7b5d[_0x193d23(0x171)])):_0x2d7b5d['type']===_0x193d23(0xf1)?(_0x1a844a['push'](_0x193d23(0x15d)+E(_0x2d7b5d[_0x193d23(0x128)])),_0x2d7b5d[_0x193d23(0x166)]!==void 0x0&&_0x1a844a[_0x193d23(0xcc)](_0x193d23(0x182)+_0x2d7b5d['imageSourceType']),_0x2d7b5d[_0x193d23(0x157)]!==void 0x0&&_0x1a844a[_0x193d23(0xcc)](_0x193d23(0x140)+T(_0x2d7b5d[_0x193d23(0x157)])),_0x2d7b5d[_0x193d23(0x173)]!==void 0x0&&_0x1a844a[_0x193d23(0xcc)](_0x193d23(0x109)+_0x2d7b5d[_0x193d23(0x173)]),_0x2d7b5d[_0x193d23(0x147)]!==void 0x0&&_0x1a844a[_0x193d23(0xcc)](_0x193d23(0x195)+T(_0x2d7b5d[_0x193d23(0x147)]))):_0x2d7b5d[_0x193d23(0xf2)]===_0x193d23(0x119)?(_0x1a844a[_0x193d23(0xcc)]('\x20\x20chartId:\x20'+_0x2d7b5d[_0x193d23(0x161)]),_0x2d7b5d[_0x193d23(0x13c)]!==void 0x0&&_0x1a844a[_0x193d23(0xcc)]('\x20\x20placeholder:\x20'+T(_0x2d7b5d[_0x193d23(0x13c)])),_0x2d7b5d[_0x193d23(0xe2)]!==void 0x0&&_0x1a844a[_0x193d23(0xcc)](_0x193d23(0xc3)+T(_0x2d7b5d[_0x193d23(0xe2)]))):_0x2d7b5d[_0x193d23(0xf2)]===_0x193d23(0xdf)?_0x1a844a[_0x193d23(0xcc)]('\x20\x20containerData:\x20'+T(_0x2d7b5d[_0x193d23(0x16e)])):_0x2d7b5d['type']===_0x193d23(0xd9)?_0x1a844a['push'](_0x193d23(0x1a6)+T(_0x2d7b5d[_0x193d23(0xf5)])):_0x2d7b5d[_0x193d23(0xf2)]===_0x193d23(0x116)?(_0x1a844a['push'](_0x193d23(0x199)+_0x2d7b5d[_0x193d23(0x100)]),_0x2d7b5d[_0x193d23(0x13c)]!==void 0x0&&_0x1a844a[_0x193d23(0xcc)](_0x193d23(0x10e)+T(_0x2d7b5d[_0x193d23(0x13c)]))):_0x2d7b5d[_0x193d23(0xf2)]===_0x193d23(0x106)?_0x1a844a[_0x193d23(0xcc)](_0x193d23(0x103)+N(_0x2d7b5d[_0x193d23(0x14c)])):_0x2d7b5d[_0x193d23(0xf2)]===_0x193d23(0xe8)?(_0x1a844a['push']('\x20\x20mediaType:\x20'+_0x2d7b5d[_0x193d23(0x1a9)],_0x193d23(0x15d)+E(_0x2d7b5d[_0x193d23(0x128)])),_0x2d7b5d[_0x193d23(0xfc)]!==void 0x0&&_0x1a844a['push'](_0x193d23(0xc1)+E(_0x2d7b5d[_0x193d23(0xfc)]))):_0x2d7b5d[_0x193d23(0xf2)]===_0x193d23(0x13c)?(_0x1a844a[_0x193d23(0xcc)](_0x193d23(0x10e)+T(_0x2d7b5d[_0x193d23(0x13c)])),_0x2d7b5d['text']!==void 0x0&&_0x1a844a[_0x193d23(0xcc)](_0x193d23(0xd4)+D(_0x2d7b5d[_0x193d23(0xba)])),_0x2d7b5d[_0x193d23(0x123)]!==void 0x0&&_0x1a844a['push'](_0x193d23(0xda)+T(_0x2d7b5d['style']))):_0x1a844a['push'](_0x193d23(0x155)+_0x2d7b5d[_0x193d23(0x115)],_0x193d23(0x1a6)+T(_0x2d7b5d[_0x193d23(0xf5)])),_0x1a844a[_0x193d23(0x132)]('\x0a'));}function _0x3cdc(){const _0x400982=['masterSlideCount','json','--json','views','formulaUsedRanges','kind','poster','dataValidation','inspect.failed','slide','tableId','argument','prefix','\x20\x20children:\x20','textPreview','elements','group','end','shape','\x20\x20prstGeom:\x20','603ZDMDMT','\x20waypoints','parentId','selectable','\x20\x20placeholder:\x20','board\x20','\x20\x20notes:\x20','inspect\x20a\x20worktree','\x20\x20bounds:\x20','trim','characterCount','originalType','table','clipped','Inspect\x20structured\x20Univer\x20content','chart','document','width','explicit\x20selectors\x20such\x20as\x20id:sheet-1,\x20name:Plan,\x20or\x20index:2','\x20\x20views:\x20','worksheets','indexOf','top','\x22;\x20CLI\x20indices\x20start\x20at\x201','count','style','index','\x22;\x20use\x20id:\x20or\x20index:','elementCounts','tables','source','\x20omitted','object','<target>','base','length','recordCount','188bWrtqf','mode','value','join','Unknown\x20worksheet\x20selector\x20prefix\x20\x22','total','--worksheet\x20<selector>','shapes','action','map','worksheet','\x20\x20labelStyle:\x20','--trunk','placeholder','\x20\x20conditional\x20formatting:\x20','\x20\x20shapeData:\x20','inspect.invalid-input','\x20\x20crop:\x20','find','\x20\x20formulas:\x20',',\x20selectable=','outlineIndex','88zrtexe','masters:\x20','adjustValues','\x22;\x20selectors\x20require\x20an\x20explicit\x20prefix','error','textRuns','\x0atext\x20runs:\x20','children','\x20\x20transform:\x20','entries','workbook','\x20tables','labelStyle','paragraph','waypoints','mergedRanges','\x20\x20originalType:\x20','laneId','crop','document\x20','\x20\x20textStyle:\x20','speakerNotes','locked',',\x20images\x20','\x20\x20source:\x20','option','worktree','drawings','chartId','10QkdzQD','Base\x20','replace','shapeId','imageSourceType','conditionalFormatting','localeCompare','subtype','release','\x20\x20styles:\x20','connectionPosition','\x20columns\x20omitted','containerData','\x20\x20[',')\x20·\x20primary\x20','textStyle','trunk','prstGeom',':lifeline@','Invalid\x20selector\x20\x22','Unknown\x20slide\x20selector\x20prefix\x20\x22','\x20inspection\x20does\x20not\x20accept\x20selectors','\x20\x20parentId:\x20','bounds',',\x20…\x20','test','rowCount','7kOJAtD','presentation','connection','message','[selectors...]','\x20\x20imageSourceType:\x20','5043643DCBtbl','2866OowVdw','choices',',\x20layouts:\x20','Invalid\x20index\x20\x22','board','isArray','range\x20requires\x20--worksheet\x20<selector>',',\x20shapes\x20','\x20characters','\x20(clipped\x20from\x20','endElementId','worksheet\x20[','requestedRange','string','paragraphCount','unitId','Unit\x20to\x20inspect','\x20\x20adjustValues:\x20','name','range','slice','\x20\x20tableId:\x20',')\x20[','addArgument','--unit\x20<unit-id>','connectionSiteId','\x20\x20description:\x20','218097lDivxc','write\x20the\x20complete\x20structured\x20result\x20as\x20JSON','\x09…\x20','stringify','conflicts','--trunk\x20and\x20--worktree\x20cannot\x20be\x20used\x20together','Unknown\x20board\x20element\x20selector\x20prefix\x20\x22','\x20\x20data:\x20','charts','Range\x20cannot\x20be\x20empty','mediaType','primaryFieldId','size','\x20—\x20','height','code','\x20\x20labelText:\x20','\x20\x20laneId:\x20','text','addOption','\x20\x20textContent:\x20','\x20·\x20','36844980lqgPuu','displayValues','board-element','\x20\x20poster:\x20','presentation\x20','\x20\x20stroke:\x20','startElementId','\x22;\x20use\x20id:','fields',':boundary(','orderIndex','free(','worksheet-range','resolvedRange','push','206490GUoQNk','\x20(charts\x20','lifeline','title','shapeData','dataStream','Missing\x20selector','\x20\x20text:\x20','\x20records\x20·\x20','layoutSlideCount','sort','\x20->\x20','diagram','\x20\x20style:\x20','\x20\x20merged:\x20','\x20\x20fields:\x20','paragraphs','\x20fields\x20·\x20','container','\x20\x20routing:\x20','images','stroke','start','--worksheet\x20is\x20only\x20valid\x20for\x20range,\x20not\x20','free','6159732HzUhDX','acquireRuntime','media','offsetY','segmentT','byType','styleUsedRanges',',\x20locked=','transform','none','8118fboOjO','image','type','\x20\x20tables:\x20','slides','data'];_0x3cdc=function(){return _0x400982;};return _0x3cdc();}function S(_0x34951d){const _0x2508dd=_0x3a2a;if(_0x34951d['kind']===_0x2508dd(0xe5))return _0x2508dd(0xc9)+_0x34951d['x']+','+_0x34951d['y']+')';if(_0x34951d['kind']===_0x2508dd(0xcf))return _0x34951d['shapeId']+_0x2508dd(0x174)+_0x34951d[_0x2508dd(0xe9)];if(_0x34951d[_0x2508dd(0xfb)]==='shapeBoundary')return _0x34951d[_0x2508dd(0x165)]+_0x2508dd(0xc7)+_0x34951d[_0x2508dd(0x144)]+','+_0x34951d['segmentIndex']+','+_0x34951d[_0x2508dd(0xea)]+')';let _0x366520=[_0x2508dd(0x120),'right','bottom','left'][_0x34951d[_0x2508dd(0x19d)]]??'site-'+_0x34951d['connectionSiteId'];return _0x34951d['shapeId']+':'+_0x366520+(_0x34951d[_0x2508dd(0x16c)]===void 0x0?'':'@'+_0x34951d[_0x2508dd(0x16c)]);}function C(_0x46b29f){const _0x314562=_0x3a2a;let _0x7c5caa=Object[_0x314562(0x14e)](_0x46b29f)[_0x314562(0xd7)](([_0x21460a],[_0x4cede4])=>_0x21460a[_0x314562(0x168)](_0x4cede4));return _0x7c5caa[_0x314562(0x12d)]===0x0?_0x314562(0xef):_0x7c5caa[_0x314562(0x138)](([_0x1bd074,_0x2c2527])=>_0x1bd074+'\x20'+_0x2c2527)[_0x314562(0x132)](',\x20');}function w(_0x27dad7){const _0x475930=_0x3a2a;if(O(_0x27dad7)){let _0x18df89=_0x27dad7['body'];if(O(_0x18df89)&&typeof _0x18df89[_0x475930(0xd2)]==_0x475930(0x191))return D(_0x18df89[_0x475930(0xd2)][_0x475930(0x164)](/[\r\n]+$/u,''));}return T(_0x27dad7);}function T(_0x111e4e){const _0x19641e=_0x3a2a;return E(JSON[_0x19641e(0x1a2)](_0x111e4e));}function E(_0x1fe0f5){const _0x40225b=_0x3a2a;return _0x1fe0f5[_0x40225b(0x12d)]<=0xc8?_0x1fe0f5:_0x1fe0f5[_0x40225b(0x198)](0x0,0xc5)+'…';}function D(_0x38b75f){const _0x3a001=_0x3a2a;return E(_0x38b75f['replace'](/\s+/gu,'\x20')[_0x3a001(0x113)]());}function O(_0x5802aa){const _0x3fcf5f=_0x3a2a;return typeof _0x5802aa==_0x3fcf5f(0x12a)&&!!_0x5802aa&&!Array[_0x3fcf5f(0x189)](_0x5802aa);}function k(_0x16c053){const _0x168f47=_0x3a2a;let _0x260847=_0x16c053['fields'][_0x168f47(0x141)](_0x35f737=>_0x35f737['id']===_0x16c053[_0x168f47(0xb3)]);return['['+_0x16c053['index']+']\x20'+_0x16c053[_0x168f47(0x196)]+'\x20('+_0x16c053['id']+_0x168f47(0x170)+(_0x260847?.['name']??_0x16c053['primaryFieldId'])+_0x168f47(0xbd)+_0x16c053[_0x168f47(0xc6)][_0x168f47(0x12d)]+_0x168f47(0xde)+_0x16c053[_0x168f47(0x12e)]+_0x168f47(0xd5)+_0x16c053['views'][_0x168f47(0x12d)]+'\x20'+(_0x16c053['views']['length']===0x1?'view':'views'),_0x168f47(0xdc)+N(_0x16c053[_0x168f47(0xc6)][_0x168f47(0x138)](_0x1d329f=>_0x1d329f[_0x168f47(0x196)]+':'+_0x1d329f['type'])),_0x168f47(0x11d)+N(_0x16c053[_0x168f47(0xf9)][_0x168f47(0x138)](_0x4f112e=>_0x4f112e[_0x168f47(0x196)]+':'+_0x4f112e[_0x168f47(0xf2)]))][_0x168f47(0x132)]('\x0a');}function A(_0x31e70e){const _0x4ab6c1=_0x3a2a;let _0x4329c0=[_0x4ab6c1(0x18f)+(_0x31e70e['index']+0x1)+']\x20'+_0x31e70e['id']+'\x20'+_0x31e70e['name']+'\x20('+_0x31e70e[_0x4ab6c1(0x17c)]+'x'+_0x31e70e['columnCount']+')','\x20\x20values:\x20'+N(_0x31e70e['valueUsedRanges']),_0x4ab6c1(0x142)+N(_0x31e70e[_0x4ab6c1(0xfa)]),_0x4ab6c1(0x16b)+N(_0x31e70e[_0x4ab6c1(0xec)]),_0x4ab6c1(0xdb)+N(_0x31e70e[_0x4ab6c1(0x154)])];return _0x31e70e['tables'][_0x4ab6c1(0x12d)]>0x0&&_0x4329c0[_0x4ab6c1(0xcc)](_0x4ab6c1(0xf3)+N(_0x31e70e['tables'][_0x4ab6c1(0x138)](_0x25f90d=>_0x25f90d[_0x4ab6c1(0x196)]+'('+_0x25f90d[_0x4ab6c1(0x197)]+')'))),_0x4329c0[_0x4ab6c1(0xcc)](_0x4ab6c1(0x13d)+_0x31e70e[_0x4ab6c1(0x167)][_0x4ab6c1(0x122)],'\x20\x20data\x20validation:\x20'+_0x31e70e[_0x4ab6c1(0xfd)][_0x4ab6c1(0x122)],'\x20\x20drawings:\x20'+_0x31e70e['drawings'][_0x4ab6c1(0x134)]+_0x4ab6c1(0xce)+_0x31e70e[_0x4ab6c1(0x160)][_0x4ab6c1(0x1a7)]+_0x4ab6c1(0x15c)+_0x31e70e[_0x4ab6c1(0x160)][_0x4ab6c1(0xe1)]+_0x4ab6c1(0x18b)+_0x31e70e[_0x4ab6c1(0x160)][_0x4ab6c1(0x136)]+')'),_0x4329c0[_0x4ab6c1(0x132)]('\x0a');}function j(_0x35b4ac){const _0x253ddf=_0x3a2a;let _0x40c8c4=_0x35b4ac[_0x253ddf(0x198)](0x0,g)[_0x253ddf(0x138)](_0x5aa74f=>{const _0x1c206f=_0x253ddf;let _0x747268=_0x5aa74f[_0x1c206f(0x198)](0x0,_),_0x49d537=_0x5aa74f['length']-_0x747268[_0x1c206f(0x12d)];return''+_0x747268[_0x1c206f(0x138)](_0x108958=>JSON[_0x1c206f(0x1a2)](_0x108958))[_0x1c206f(0x132)]('\x09')+(_0x49d537>0x0?_0x1c206f(0x1a1)+_0x49d537+_0x1c206f(0x16d):'');}),_0x1070d1=_0x35b4ac[_0x253ddf(0x12d)]-_0x40c8c4['length'];return _0x1070d1>0x0&&_0x40c8c4['push']('…\x20'+_0x1070d1+'\x20rows\x20omitted'),_0x40c8c4['join']('\x0a');}function M(_0x4e9183,_0x3f74ae){const _0xe4cdd5=_0x3a2a;let _0x1ecd17=_0x4e9183[_0xe4cdd5(0xba)]?.[_0xe4cdd5(0xba)][_0xe4cdd5(0x164)](/\s+/g,'\x20')[_0xe4cdd5(0x113)]();return[''+_0x3f74ae+_0x4e9183[_0xe4cdd5(0xf2)]+'\x20'+_0x4e9183['id']+(_0x4e9183[_0xe4cdd5(0x196)]===''?'':'\x20'+_0x4e9183[_0xe4cdd5(0x196)])+(_0x1ecd17===void 0x0||_0x1ecd17===''?'':_0xe4cdd5(0xb5)+_0x1ecd17),...(_0x4e9183[_0xe4cdd5(0x14c)]??[])[_0xe4cdd5(0x138)](_0x5c67eb=>M(_0x5c67eb,_0x3f74ae+'\x20\x20'))][_0xe4cdd5(0x132)]('\x0a');}function N(_0x5f1434){const _0x4a7e75=_0x3a2a;if(_0x5f1434[_0x4a7e75(0x12d)]===0x0)return _0x4a7e75(0xef);let _0x531436=_0x5f1434[_0x4a7e75(0x198)](0x0,v),_0x459829=_0x5f1434[_0x4a7e75(0x12d)]-_0x531436[_0x4a7e75(0x12d)];return''+_0x531436['join'](',\x20')+(_0x459829>0x0?_0x4a7e75(0x17a)+_0x459829+_0x4a7e75(0x129):'');}var P=[_0x1aa870(0x14f),_0x1aa870(0x139),_0x1aa870(0x197),'document','paragraph','presentation','slide',_0x1aa870(0x12c),_0x1aa870(0x188),_0x1aa870(0xc0)];function F(_0x5162b4){const _0x5597e3=_0x1aa870;return L({'acquireRuntime':async _0x4abe54=>await _0x5162b4[_0x5597e3(0xe7)]({'unitId':_0x4abe54}),'worktree':!0x1});}function I(_0x4ffd5f){return L({'acquireRuntime':async(_0x236254,_0x4ee33e)=>{const _0x605669=_0x3a2a;if(_0x4ee33e[_0x605669(0x172)]===!0x0&&_0x4ee33e[_0x605669(0x15f)]!==void 0x0)throw new a(_0x605669(0x1a4));if(_0x4ee33e['trunk']!==!0x0&&_0x4ee33e['worktree']===void 0x0)throw new a('Specify\x20exactly\x20one\x20of\x20--trunk\x20or\x20--worktree\x20<id>');return await _0x4ffd5f['acquireRuntime']({'unitId':_0x236254,..._0x4ee33e[_0x605669(0x15f)]===void 0x0?{}:{'worktreeID':_0x4ee33e[_0x605669(0x15f)]}});},'worktree':!0x0});}function L(_0x346e9c){const _0x16d84f=_0x1aa870;let _0x1eead5=new _0x42bf00('inspect')['description'](_0x16d84f(0x118))[_0x16d84f(0x19b)](new _0x38aff1(_0x16d84f(0x12b),'content\x20target')[_0x16d84f(0x185)](P))[_0x16d84f(0x101)](_0x16d84f(0x181),_0x16d84f(0x11c))['requiredOption'](_0x16d84f(0x19c),_0x16d84f(0x194))[_0x16d84f(0x15e)](_0x16d84f(0x135),'worksheet\x20selector\x20for\x20range')[_0x16d84f(0x15e)](_0x16d84f(0xf8),_0x16d84f(0x1a0));return _0x346e9c[_0x16d84f(0x15f)]&&_0x1eead5[_0x16d84f(0xbb)](new _0x37f1bb(_0x16d84f(0x13b),'inspect\x20the\x20trunk')[_0x16d84f(0x1a3)](_0x16d84f(0x15f)))[_0x16d84f(0xbb)](new _0x37f1bb('--worktree\x20<id>',_0x16d84f(0x111))[_0x16d84f(0x1a3)](_0x16d84f(0x172))),_0x1eead5[_0x16d84f(0x137)](async(_0x4ac8ce,_0x501561,_0x3034bb)=>{const _0x223a57=_0x16d84f;let _0x7101c5=_0x4ac8ce===_0x223a57(0x197)?_0x223a57(0xca):_0x4ac8ce,_0x328f9c;try{_0x328f9c=o(_0x7101c5,_0x501561,_0x3034bb);}catch(_0x3fcc40){throw _0x3fcc40 instanceof a&&_0x1eead5['error'](_0x3fcc40[_0x223a57(0x180)],{'code':'inspect.invalid-input','exitCode':0x1}),_0x3fcc40;}let _0x38b047,_0x43d198;try{_0x38b047=await _0x346e9c[_0x223a57(0xe7)](_0x3034bb['unit'],_0x3034bb),_0x43d198=await _0x2485d5(_0x38b047,_0x328f9c);}catch(_0x2213a6){throw _0x38b047!==void 0x0&&await R(_0x38b047),(_0x2213a6 instanceof _0x138c99||z(_0x2213a6))&&_0x1eead5[_0x223a57(0x149)](_0x2213a6[_0x223a57(0xb7)]+':\x20'+_0x2213a6[_0x223a57(0x180)],{'code':_0x223a57(0xfe),'exitCode':0x1}),_0x2213a6 instanceof a&&_0x1eead5['error'](_0x2213a6[_0x223a57(0x180)],{'code':_0x223a57(0x13f),'exitCode':0x1}),_0x2213a6;}await _0x38b047[_0x223a57(0x16a)](),_0x1eead5['configureOutput']()['writeOut']?.((_0x3034bb[_0x223a57(0xf7)]===!0x0?JSON[_0x223a57(0x1a2)](_0x43d198,null,0x2):y(_0x43d198))+'\x0a');}),_0x1eead5;}async function R(_0x3c3fbc){const _0x4dbe93=_0x1aa870;await _0x3c3fbc[_0x4dbe93(0x16a)]();}function z(_0x198ecd){return _0x198ecd instanceof Error&&typeof _0x198ecd['code']=='string';}export{a as InspectionCommandInputError,F as createContentInspectionCommand,I as createWorktreeContentInspectionCommand,o as parseInspectionQuery,y as renderContentInspection};
1
+ const _0x2bddb6=_0x4a8b;(function(_0x5b7b6c,_0x1f0030){const _0x5f4f89=_0x4a8b,_0x5357d0=_0x5b7b6c();while(!![]){try{const _0x394fc4=-parseInt(_0x5f4f89(0x2a4))/0x1*(parseInt(_0x5f4f89(0x29b))/0x2)+-parseInt(_0x5f4f89(0x230))/0x3+parseInt(_0x5f4f89(0x24a))/0x4+-parseInt(_0x5f4f89(0x26b))/0x5+parseInt(_0x5f4f89(0x21c))/0x6*(parseInt(_0x5f4f89(0x26e))/0x7)+-parseInt(_0x5f4f89(0x1e2))/0x8*(parseInt(_0x5f4f89(0x249))/0x9)+parseInt(_0x5f4f89(0x2c2))/0xa*(parseInt(_0x5f4f89(0x221))/0xb);if(_0x394fc4===_0x1f0030)break;else _0x5357d0['push'](_0x5357d0['shift']());}catch(_0x13b37b){_0x5357d0['push'](_0x5357d0['shift']());}}}(_0x4f01,0xeaeb0));import{ContentInspectionError as _0x3b6d94,inspectContent as _0x309324}from'@univer-cli/content-inspection';import{Argument as _0x552076,Command as _0xa87128,Option as _0xade8e7}from'commander';var a=class extends Error{};function o(_0x1f1f26,_0x5c5b15,_0x50836f){const _0x5d0cda=_0x4a8b;if(_0x1f1f26===_0x5d0cda(0x258)||_0x1f1f26==='document'||_0x1f1f26==='presentation'||_0x1f1f26==='base'||_0x1f1f26===_0x5d0cda(0x27d))return m(_0x1f1f26,_0x5c5b15),h(_0x1f1f26,_0x50836f[_0x5d0cda(0x283)]),{'kind':_0x1f1f26};if(_0x1f1f26===_0x5d0cda(0x283))return h(_0x1f1f26,_0x50836f['worksheet']),{'kind':_0x1f1f26,'worksheets':p(_0x5c5b15,c)};if(_0x1f1f26==='slide')return h(_0x1f1f26,_0x50836f[_0x5d0cda(0x283)]),{'kind':_0x1f1f26,'slides':p(_0x5c5b15,l)};if(_0x1f1f26===_0x5d0cda(0x20b))return h(_0x1f1f26,_0x50836f[_0x5d0cda(0x283)]),{'kind':_0x1f1f26,'paragraphs':p(_0x5c5b15,u)};if(_0x1f1f26===_0x5d0cda(0x1de))return h(_0x1f1f26,_0x50836f[_0x5d0cda(0x283)]),{'kind':_0x1f1f26,'elements':p(_0x5c5b15,s)};if(_0x50836f[_0x5d0cda(0x283)]===void 0x0)throw new a('range\x20requires\x20--worksheet\x20<selector>');let _0x4ebb17=c(_0x50836f['worksheet']);return{'kind':_0x1f1f26,'ranges':p(_0x5c5b15,_0x1470a0=>{if(_0x1470a0['length']===0x0)throw new a('Range\x20cannot\x20be\x20empty');return{'range':_0x1470a0,'worksheet':_0x4ebb17};})};}function s(_0x28ee9a){const _0x21cd27=_0x4a8b;let _0x1e0c11=d(_0x28ee9a);if(_0x1e0c11['prefix']==='id')return{'id':_0x1e0c11['value']};throw new a(_0x21cd27(0x1f5)+_0x1e0c11[_0x21cd27(0x233)]+_0x21cd27(0x200));}function c(_0x2623f7){const _0x32022a=_0x4a8b;let _0x24929=d(_0x2623f7);if(_0x24929['prefix']==='id')return{'id':_0x24929[_0x32022a(0x1e4)]};if(_0x24929['prefix']===_0x32022a(0x22f))return{'name':_0x24929[_0x32022a(0x1e4)]};if(_0x24929['prefix']===_0x32022a(0x1df))return{'index':f(_0x24929[_0x32022a(0x1e4)])};throw new a(_0x32022a(0x1fd)+_0x24929[_0x32022a(0x233)]+_0x32022a(0x266));}function l(_0x349010){const _0x4314a4=_0x4a8b;let _0x525ce3=d(_0x349010);if(_0x525ce3[_0x4314a4(0x233)]==='id')return{'id':_0x525ce3[_0x4314a4(0x1e4)]};if(_0x525ce3[_0x4314a4(0x233)]===_0x4314a4(0x1df))return{'index':f(_0x525ce3['value'])};throw new a(_0x4314a4(0x27a)+_0x525ce3[_0x4314a4(0x233)]+_0x4314a4(0x281));}function u(_0x5df60b){const _0x281583=_0x4a8b;let _0x1f0478=d(_0x5df60b);if(_0x1f0478['prefix']==='id')return{'id':_0x1f0478[_0x281583(0x1e4)]};if(_0x1f0478[_0x281583(0x233)]==='index')return{'index':f(_0x1f0478[_0x281583(0x1e4)])};throw new a('Unknown\x20paragraph\x20selector\x20prefix\x20\x22'+_0x1f0478[_0x281583(0x233)]+_0x281583(0x281));}function d(_0x4a6778){const _0x29f08e=_0x4a8b;let _0x266059=_0x4a6778['indexOf'](':');if(_0x266059<=0x0||_0x266059===_0x4a6778[_0x29f08e(0x267)]-0x1)throw new a(_0x29f08e(0x1eb)+_0x4a6778+_0x29f08e(0x285));return{'prefix':_0x4a6778[_0x29f08e(0x251)](0x0,_0x266059),'value':_0x4a6778['slice'](_0x266059+0x1)};}function f(_0x47cb78){const _0x1dfdf1=_0x4a8b;if(!/^\d+$/[_0x1dfdf1(0x23c)](_0x47cb78))throw new a(_0x1dfdf1(0x23d)+_0x47cb78+_0x1dfdf1(0x28c));let _0xafd336=Number(_0x47cb78);if(!Number[_0x1dfdf1(0x250)](_0xafd336)||_0xafd336<0x1)throw new a(_0x1dfdf1(0x23d)+_0x47cb78+_0x1dfdf1(0x225));return _0xafd336-0x1;}function p(_0x2ff566,_0x15b6ed){const _0x2de652=_0x4a8b;if(_0x2ff566[_0x2de652(0x267)]===0x0)throw new a(_0x2de652(0x213));let _0x38c01e=_0x2ff566[0x0];if(_0x38c01e===void 0x0)throw new a('Missing\x20selector');return[_0x15b6ed(_0x38c01e),..._0x2ff566[_0x2de652(0x251)](0x1)[_0x2de652(0x1f3)](_0x15b6ed)];}function _0x4a8b(_0x4b6728,_0x5767bb){_0x4b6728=_0x4b6728-0x1dc;const _0x4f01b4=_0x4f01();let _0x4a8b6e=_0x4f01b4[_0x4b6728];return _0x4a8b6e;}function m(_0x348337,_0xbcde0e){const _0x2b931c=_0x4a8b;if(_0xbcde0e[_0x2b931c(0x267)]>0x0)throw new a(_0x348337+_0x2b931c(0x299));}function h(_0x51d15d,_0x44f160){const _0x599434=_0x4a8b;if(_0x44f160!==void 0x0)throw new a(_0x599434(0x261)+_0x51d15d);}var g=0xc,_=0x8,v=0xc;function y(_0x1ee8b3){const _0x318bf0=_0x4a8b;switch(_0x1ee8b3[_0x318bf0(0x293)]){case _0x318bf0(0x1ee):return[_0x318bf0(0x2b1)+_0x1ee8b3['name']+'\x20('+_0x1ee8b3['unitId']+')',_0x1ee8b3['tables'][_0x318bf0(0x267)]+_0x318bf0(0x2bc),'',..._0x1ee8b3[_0x318bf0(0x245)][_0x318bf0(0x1f3)](k)][_0x318bf0(0x29a)]('\x0a');case _0x318bf0(0x258):return[_0x318bf0(0x264)+_0x1ee8b3[_0x318bf0(0x22f)]+'\x20('+_0x1ee8b3['unitId']+')',..._0x1ee8b3[_0x318bf0(0x2b2)]['map'](A)][_0x318bf0(0x29a)]('\x0a');case _0x318bf0(0x283):return _0x1ee8b3[_0x318bf0(0x2b2)][_0x318bf0(0x1f3)](A)[_0x318bf0(0x29a)]('\x0a');case _0x318bf0(0x228):return _0x1ee8b3[_0x318bf0(0x2a3)][_0x318bf0(0x1f3)](_0x59cd77=>_0x59cd77[_0x318bf0(0x283)][_0x318bf0(0x22f)]+'!'+_0x59cd77[_0x318bf0(0x22a)]+(_0x59cd77[_0x318bf0(0x223)]?_0x318bf0(0x26a)+_0x59cd77[_0x318bf0(0x271)]+')':'')+'\x0a'+j(_0x59cd77['displayValues']))['join']('\x0a\x0a');case _0x318bf0(0x20e):return[_0x318bf0(0x263)+_0x1ee8b3['name']+'\x20('+_0x1ee8b3[_0x318bf0(0x1ea)]+')\x20'+_0x1ee8b3[_0x318bf0(0x294)][_0x318bf0(0x280)]+'x'+_0x1ee8b3[_0x318bf0(0x294)][_0x318bf0(0x297)],_0x318bf0(0x284)+_0x1ee8b3[_0x318bf0(0x2a7)]+',\x20layouts:\x20'+_0x1ee8b3[_0x318bf0(0x232)],..._0x1ee8b3['slides'][_0x318bf0(0x1f3)](_0x56863d=>_0x318bf0(0x2ca)+(_0x56863d[_0x318bf0(0x1df)]+0x1)+']\x20'+_0x56863d['id']+'\x20'+_0x56863d['name']+'\x20—\x20'+_0x56863d[_0x318bf0(0x1ef)][_0x318bf0(0x2ae)]+_0x318bf0(0x207)+(_0x56863d[_0x318bf0(0x21e)]===void 0x0?'':_0x318bf0(0x1ed)+_0x56863d[_0x318bf0(0x21e)]))][_0x318bf0(0x29a)]('\x0a');case _0x318bf0(0x214):return _0x1ee8b3[_0x318bf0(0x219)]['map'](_0x6eb217=>['slide\x20['+(_0x6eb217[_0x318bf0(0x1df)]+0x1)+']\x20'+_0x6eb217['id']+'\x20'+_0x6eb217[_0x318bf0(0x22f)],..._0x6eb217['elements'][_0x318bf0(0x1f3)](_0x4d6eb9=>M(_0x4d6eb9,'\x20\x20')),..._0x6eb217[_0x318bf0(0x2bb)]===''?[]:[_0x318bf0(0x234)+_0x6eb217[_0x318bf0(0x2bb)]]][_0x318bf0(0x29a)]('\x0a'))[_0x318bf0(0x29a)]('\x0a\x0a');case'document':return[_0x318bf0(0x2c1)+_0x1ee8b3[_0x318bf0(0x244)]+'\x20('+_0x1ee8b3[_0x318bf0(0x1ea)]+_0x318bf0(0x2af)+_0x1ee8b3['mode']+']',_0x1ee8b3['paragraphCount']+_0x318bf0(0x28a)+_0x1ee8b3[_0x318bf0(0x270)]+'\x20characters',..._0x1ee8b3['paragraphs'][_0x318bf0(0x1f3)](_0x319c82=>_0x318bf0(0x2ca)+(_0x319c82[_0x318bf0(0x1df)]+0x1)+']\x20'+_0x319c82['id']+_0x318bf0(0x1ed)+_0x319c82['textPreview'])]['join']('\x0a');case _0x318bf0(0x20b):return _0x1ee8b3[_0x318bf0(0x220)][_0x318bf0(0x1f3)](_0x1009be=>'paragraph\x20['+(_0x1009be[_0x318bf0(0x1df)]+0x1)+']\x20'+_0x1009be['id']+'\x0a'+_0x1009be[_0x318bf0(0x1fb)]+(_0x1009be['textRuns'][_0x318bf0(0x267)]===0x0?'':_0x318bf0(0x2c7)+_0x1009be[_0x318bf0(0x26c)][_0x318bf0(0x267)]))[_0x318bf0(0x29a)]('\x0a\x0a');case _0x318bf0(0x27d):return['board\x20'+_0x1ee8b3[_0x318bf0(0x22f)]+'\x20('+_0x1ee8b3[_0x318bf0(0x1ea)]+')',_0x1ee8b3[_0x318bf0(0x1ef)][_0x318bf0(0x2ae)]+_0x318bf0(0x2b8)+C(_0x1ee8b3[_0x318bf0(0x1ef)][_0x318bf0(0x23e)]),..._0x1ee8b3['elements']['map'](_0x558096=>b(_0x558096,'\x20\x20'))]['join']('\x0a');case _0x318bf0(0x1de):return _0x1ee8b3[_0x318bf0(0x27e)][_0x318bf0(0x1f3)](x)[_0x318bf0(0x29a)]('\x0a\x0a');}}function b(_0x322c13,_0x323c63){const _0x1f19b3=_0x4a8b;let _0x5765b7=_0x322c13[_0x1f19b3(0x25d)]===void 0x0?'':':'+_0x322c13[_0x1f19b3(0x25d)],_0x39cd83=_0x322c13['name']===void 0x0||_0x322c13[_0x1f19b3(0x22f)]===''?'':'\x20'+_0x322c13[_0x1f19b3(0x22f)],_0x12e23d=_0x322c13[_0x1f19b3(0x236)]===void 0x0&&_0x322c13[_0x1f19b3(0x29d)]===void 0x0?'':'\x20'+(_0x322c13[_0x1f19b3(0x236)]??'?')+_0x1f19b3(0x1fc)+(_0x322c13['endElementId']??'?'),_0x14903f=_0x322c13[_0x1f19b3(0x1fb)]===void 0x0||_0x322c13[_0x1f19b3(0x1fb)]===''?'':'\x20—\x20'+D(_0x322c13['text']);return _0x323c63+'['+(_0x322c13[_0x1f19b3(0x277)]+0x1)+']\x20'+_0x322c13[_0x1f19b3(0x210)]+_0x5765b7+'\x20'+_0x322c13['id']+_0x39cd83+_0x12e23d+_0x14903f;}function x(_0x53e8bc){const _0x1a70b0=_0x4a8b;let _0x645ef2=[_0x53e8bc[_0x1a70b0(0x210)]+'\x20'+_0x53e8bc['id']+'\x20['+(_0x53e8bc[_0x1a70b0(0x277)]+0x1)+']'+(_0x53e8bc[_0x1a70b0(0x22f)]===void 0x0||_0x53e8bc[_0x1a70b0(0x22f)]===''?'':'\x20'+_0x53e8bc[_0x1a70b0(0x22f)]),_0x1a70b0(0x229)+T(_0x53e8bc[_0x1a70b0(0x288)]),_0x1a70b0(0x25a)+(_0x53e8bc['bounds']===null?_0x1a70b0(0x289):T(_0x53e8bc[_0x1a70b0(0x206)])),_0x1a70b0(0x27b)+_0x53e8bc['visible']+_0x1a70b0(0x1dd)+_0x53e8bc[_0x1a70b0(0x248)]+',\x20locked='+_0x53e8bc[_0x1a70b0(0x2bd)]];return _0x53e8bc[_0x1a70b0(0x255)]!==void 0x0&&_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x215)+D(_0x53e8bc[_0x1a70b0(0x255)])),_0x53e8bc[_0x1a70b0(0x2aa)]!==void 0x0&&_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x29f)+_0x53e8bc[_0x1a70b0(0x2aa)]),_0x53e8bc['laneId']!==void 0x0&&_0x645ef2[_0x1a70b0(0x24f)]('\x20\x20laneId:\x20'+_0x53e8bc[_0x1a70b0(0x1e7)]),_0x53e8bc[_0x1a70b0(0x210)]===_0x1a70b0(0x227)?(_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x2ad)+S(_0x53e8bc[_0x1a70b0(0x295)][_0x1a70b0(0x222)])+_0x1a70b0(0x1fc)+S(_0x53e8bc[_0x1a70b0(0x295)][_0x1a70b0(0x20f)]),'\x20\x20routing:\x20'+_0x53e8bc[_0x1a70b0(0x295)][_0x1a70b0(0x25b)]+'\x20('+_0x53e8bc[_0x1a70b0(0x295)][_0x1a70b0(0x290)]+_0x1a70b0(0x218)+_0x53e8bc[_0x1a70b0(0x295)]['waypoints']['length']+_0x1a70b0(0x231),_0x1a70b0(0x25e)+T(_0x53e8bc['style']),'\x20\x20labels:\x20'+T(_0x53e8bc[_0x1a70b0(0x2a2)]),_0x1a70b0(0x1e0)+w(_0x53e8bc[_0x1a70b0(0x211)]),_0x1a70b0(0x237)+T(_0x53e8bc['labelStyle'])),_0x645ef2['join']('\x0a')):(_0x53e8bc[_0x1a70b0(0x210)]===_0x1a70b0(0x22b)?_0x645ef2['push']('\x20\x20shapeData:\x20'+T(_0x53e8bc[_0x1a70b0(0x29c)])):_0x53e8bc[_0x1a70b0(0x210)]===_0x1a70b0(0x1fb)?_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x256)+w(_0x53e8bc[_0x1a70b0(0x2b3)]),'\x20\x20textStyle:\x20'+T(_0x53e8bc[_0x1a70b0(0x29e)])):_0x53e8bc[_0x1a70b0(0x210)]==='image'?(_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x252)+E(_0x53e8bc[_0x1a70b0(0x246)])),_0x53e8bc['imageSourceType']!==void 0x0&&_0x645ef2[_0x1a70b0(0x24f)]('\x20\x20imageSourceType:\x20'+_0x53e8bc[_0x1a70b0(0x1fe)]),_0x53e8bc[_0x1a70b0(0x268)]!==void 0x0&&_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x21f)+T(_0x53e8bc['crop'])),_0x53e8bc[_0x1a70b0(0x205)]!==void 0x0&&_0x645ef2['push'](_0x1a70b0(0x279)+_0x53e8bc['prstGeom']),_0x53e8bc[_0x1a70b0(0x2b7)]!==void 0x0&&_0x645ef2['push'](_0x1a70b0(0x24c)+T(_0x53e8bc['adjustValues']))):_0x53e8bc[_0x1a70b0(0x210)]===_0x1a70b0(0x240)?(_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x241)+_0x53e8bc['chartId']),_0x53e8bc[_0x1a70b0(0x20c)]!==void 0x0&&_0x645ef2[_0x1a70b0(0x24f)]('\x20\x20placeholder:\x20'+T(_0x53e8bc[_0x1a70b0(0x20c)])),_0x53e8bc[_0x1a70b0(0x24d)]!==void 0x0&&_0x645ef2['push']('\x20\x20stroke:\x20'+T(_0x53e8bc[_0x1a70b0(0x24d)]))):_0x53e8bc['type']===_0x1a70b0(0x2c4)?_0x645ef2[_0x1a70b0(0x24f)]('\x20\x20containerData:\x20'+T(_0x53e8bc[_0x1a70b0(0x1f8)])):_0x53e8bc[_0x1a70b0(0x210)]===_0x1a70b0(0x27c)?_0x645ef2[_0x1a70b0(0x24f)]('\x20\x20data:\x20'+T(_0x53e8bc[_0x1a70b0(0x2ac)])):_0x53e8bc[_0x1a70b0(0x210)]==='table'?(_0x645ef2[_0x1a70b0(0x24f)]('\x20\x20tableId:\x20'+_0x53e8bc[_0x1a70b0(0x1e6)]),_0x53e8bc[_0x1a70b0(0x20c)]!==void 0x0&&_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x21d)+T(_0x53e8bc[_0x1a70b0(0x20c)]))):_0x53e8bc[_0x1a70b0(0x210)]===_0x1a70b0(0x2c5)?_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x278)+N(_0x53e8bc['children'])):_0x53e8bc[_0x1a70b0(0x210)]==='media'?(_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x1e5)+_0x53e8bc['mediaType'],'\x20\x20source:\x20'+E(_0x53e8bc[_0x1a70b0(0x246)])),_0x53e8bc['poster']!==void 0x0&&_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x28b)+E(_0x53e8bc[_0x1a70b0(0x22e)]))):_0x53e8bc[_0x1a70b0(0x210)]===_0x1a70b0(0x20c)?(_0x645ef2[_0x1a70b0(0x24f)]('\x20\x20placeholder:\x20'+T(_0x53e8bc[_0x1a70b0(0x20c)])),_0x53e8bc['text']!==void 0x0&&_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x1f9)+D(_0x53e8bc['text'])),_0x53e8bc[_0x1a70b0(0x24e)]!==void 0x0&&_0x645ef2[_0x1a70b0(0x24f)]('\x20\x20style:\x20'+T(_0x53e8bc[_0x1a70b0(0x24e)]))):_0x645ef2[_0x1a70b0(0x24f)](_0x1a70b0(0x2ba)+_0x53e8bc[_0x1a70b0(0x282)],_0x1a70b0(0x2a8)+T(_0x53e8bc[_0x1a70b0(0x2ac)])),_0x645ef2[_0x1a70b0(0x29a)]('\x0a'));}function S(_0x17a22e){const _0x35ce33=_0x4a8b;if(_0x17a22e[_0x35ce33(0x293)]===_0x35ce33(0x2c0))return _0x35ce33(0x22d)+_0x17a22e['x']+','+_0x17a22e['y']+')';if(_0x17a22e[_0x35ce33(0x293)]==='lifeline')return _0x17a22e[_0x35ce33(0x23f)]+_0x35ce33(0x2b6)+_0x17a22e['offsetY'];if(_0x17a22e[_0x35ce33(0x293)]==='shapeBoundary')return _0x17a22e['shapeId']+':boundary('+_0x17a22e['outlineIndex']+','+_0x17a22e['segmentIndex']+','+_0x17a22e['segmentT']+')';let _0x2d4201=[_0x35ce33(0x2a1),_0x35ce33(0x2c6),_0x35ce33(0x296),_0x35ce33(0x238)][_0x17a22e[_0x35ce33(0x2a9)]]??_0x35ce33(0x23a)+_0x17a22e[_0x35ce33(0x2a9)];return _0x17a22e[_0x35ce33(0x23f)]+':'+_0x2d4201+(_0x17a22e[_0x35ce33(0x275)]===void 0x0?'':'@'+_0x17a22e['connectionPosition']);}function C(_0x218ec0){const _0x30f9b0=_0x4a8b;let _0x571464=Object['entries'](_0x218ec0)[_0x30f9b0(0x24b)](([_0x4ce888],[_0x5dcfca])=>_0x4ce888[_0x30f9b0(0x224)](_0x5dcfca));return _0x571464[_0x30f9b0(0x267)]===0x0?'none':_0x571464[_0x30f9b0(0x1f3)](([_0x36fe4c,_0x1d87dc])=>_0x36fe4c+'\x20'+_0x1d87dc)[_0x30f9b0(0x29a)](',\x20');}function w(_0x29f125){const _0x5f0f4f=_0x4a8b;if(O(_0x29f125)){let _0x549bd1=_0x29f125[_0x5f0f4f(0x2ab)];if(O(_0x549bd1)&&typeof _0x549bd1['dataStream']==_0x5f0f4f(0x2c9))return D(_0x549bd1[_0x5f0f4f(0x292)][_0x5f0f4f(0x265)](/[\r\n]+$/u,''));}return T(_0x29f125);}function T(_0x3e4a6c){const _0x144814=_0x4a8b;return E(JSON[_0x144814(0x21b)](_0x3e4a6c));}function E(_0xa5526){const _0x26079d=_0x4a8b;return _0xa5526[_0x26079d(0x267)]<=0xc8?_0xa5526:_0xa5526[_0x26079d(0x251)](0x0,0xc5)+'…';}function D(_0x432ba1){const _0x1f37f6=_0x4a8b;return E(_0x432ba1[_0x1f37f6(0x265)](/\s+/gu,'\x20')[_0x1f37f6(0x28f)]());}function O(_0x358c33){const _0x3278fd=_0x4a8b;return typeof _0x358c33=='object'&&!!_0x358c33&&!Array[_0x3278fd(0x1fa)](_0x358c33);}function k(_0x1b4373){const _0x9f4d19=_0x4a8b;let _0x47c25b=_0x1b4373['fields']['find'](_0x4105dc=>_0x4105dc['id']===_0x1b4373[_0x9f4d19(0x235)]);return['['+_0x1b4373[_0x9f4d19(0x1df)]+']\x20'+_0x1b4373[_0x9f4d19(0x22f)]+'\x20('+_0x1b4373['id']+_0x9f4d19(0x2be)+(_0x47c25b?.[_0x9f4d19(0x22f)]??_0x1b4373[_0x9f4d19(0x235)])+'\x20·\x20'+_0x1b4373[_0x9f4d19(0x22c)][_0x9f4d19(0x267)]+_0x9f4d19(0x298)+_0x1b4373[_0x9f4d19(0x2c3)]+_0x9f4d19(0x226)+_0x1b4373[_0x9f4d19(0x28d)][_0x9f4d19(0x267)]+'\x20'+(_0x1b4373['views'][_0x9f4d19(0x267)]===0x1?_0x9f4d19(0x21a):_0x9f4d19(0x28d)),_0x9f4d19(0x20d)+N(_0x1b4373['fields'][_0x9f4d19(0x1f3)](_0x38d1b0=>_0x38d1b0[_0x9f4d19(0x22f)]+':'+_0x38d1b0['type'])),_0x9f4d19(0x243)+N(_0x1b4373[_0x9f4d19(0x28d)][_0x9f4d19(0x1f3)](_0x2edd62=>_0x2edd62['name']+':'+_0x2edd62[_0x9f4d19(0x210)]))][_0x9f4d19(0x29a)]('\x0a');}function A(_0x353a8d){const _0x53c0d5=_0x4a8b;let _0x13eb48=['worksheet\x20['+(_0x353a8d[_0x53c0d5(0x1df)]+0x1)+']\x20'+_0x353a8d['id']+'\x20'+_0x353a8d['name']+'\x20('+_0x353a8d[_0x53c0d5(0x25f)]+'x'+_0x353a8d[_0x53c0d5(0x259)]+')','\x20\x20values:\x20'+N(_0x353a8d[_0x53c0d5(0x2c8)]),_0x53c0d5(0x209)+N(_0x353a8d[_0x53c0d5(0x2bf)]),_0x53c0d5(0x208)+N(_0x353a8d[_0x53c0d5(0x2b5)]),'\x20\x20merged:\x20'+N(_0x353a8d['mergedRanges'])];return _0x353a8d[_0x53c0d5(0x245)]['length']>0x0&&_0x13eb48[_0x53c0d5(0x24f)](_0x53c0d5(0x216)+N(_0x353a8d[_0x53c0d5(0x245)][_0x53c0d5(0x1f3)](_0xc24a73=>_0xc24a73[_0x53c0d5(0x22f)]+'('+_0xc24a73[_0x53c0d5(0x276)]+')'))),_0x13eb48['push'](_0x53c0d5(0x27f)+_0x353a8d[_0x53c0d5(0x1ff)]['count'],_0x53c0d5(0x202)+_0x353a8d[_0x53c0d5(0x2a6)][_0x53c0d5(0x291)],_0x53c0d5(0x2b4)+_0x353a8d[_0x53c0d5(0x1f0)][_0x53c0d5(0x2ae)]+'\x20(charts\x20'+_0x353a8d[_0x53c0d5(0x1f0)]['charts']+',\x20images\x20'+_0x353a8d['drawings'][_0x53c0d5(0x1e1)]+_0x53c0d5(0x2a0)+_0x353a8d[_0x53c0d5(0x1f0)]['shapes']+')'),_0x13eb48[_0x53c0d5(0x29a)]('\x0a');}function j(_0x4320e6){const _0x438d9c=_0x4a8b;let _0x70cdd2=_0x4320e6[_0x438d9c(0x251)](0x0,g)[_0x438d9c(0x1f3)](_0x223196=>{const _0x420f0e=_0x438d9c;let _0x3e8c4f=_0x223196[_0x420f0e(0x251)](0x0,_),_0xd8c35e=_0x223196[_0x420f0e(0x267)]-_0x3e8c4f[_0x420f0e(0x267)];return''+_0x3e8c4f['map'](_0x3aced7=>JSON[_0x420f0e(0x21b)](_0x3aced7))[_0x420f0e(0x29a)]('\x09')+(_0xd8c35e>0x0?_0x420f0e(0x287)+_0xd8c35e+_0x420f0e(0x1f2):'');}),_0x4590f0=_0x4320e6[_0x438d9c(0x267)]-_0x70cdd2[_0x438d9c(0x267)];return _0x4590f0>0x0&&_0x70cdd2[_0x438d9c(0x24f)]('…\x20'+_0x4590f0+'\x20rows\x20omitted'),_0x70cdd2['join']('\x0a');}function _0x4f01(){const _0x291853=['552936YfQjtD','acquireRuntime','value','\x20\x20mediaType:\x20','tableId','laneId','error','action','unitId','Invalid\x20selector\x20\x22','inspect','\x20—\x20','base','elementCounts','drawings','addOption','\x20columns\x20omitted','map','inspect.invalid-input','Unknown\x20board\x20element\x20selector\x20prefix\x20\x22','code','--trunk\x20and\x20--worktree\x20cannot\x20be\x20used\x20together','containerData','\x20\x20text:\x20','isArray','text','\x20->\x20','Unknown\x20worksheet\x20selector\x20prefix\x20\x22','imageSourceType','conditionalFormatting','\x22;\x20use\x20id:','Unit\x20to\x20inspect','\x20\x20data\x20validation:\x20','document','--worktree\x20<id>','prstGeom','bounds','\x20elements','\x20\x20styles:\x20','\x20\x20formulas:\x20','writeOut','paragraph','placeholder','\x20\x20fields:\x20','presentation','end','type','labelText',',\x20…\x20','This\x20inspection\x20target\x20requires\x20at\x20least\x20one\x20selector','slide','\x20\x20description:\x20','\x20\x20tables:\x20','--unit\x20<unit-id>','),\x20','slides','view','stringify','6uJjhRj','\x20\x20placeholder:\x20','textPreview','\x20\x20crop:\x20','paragraphs','121KenvkV','start','clipped','localeCompare','\x22;\x20CLI\x20indices\x20start\x20at\x201','\x20records\x20·\x20','connector','worksheet-range','\x20\x20transform:\x20','resolvedRange','shape','fields','free(','poster','name','3585966OAgYGL','\x20waypoints','layoutSlideCount','prefix','\x20\x20notes:\x20','primaryFieldId','startElementId','\x20\x20labelStyle:\x20','left','requiredOption','site-','worktree','test','Invalid\x20index\x20\x22','byType','shapeId','chart','\x20\x20chartId:\x20','argument','\x20\x20views:\x20','title','tables','source','content\x20target','selectable','216KhUwRo','44480rJqMpS','sort','\x20\x20adjustValues:\x20','stroke','style','push','isSafeInteger','slice','\x20\x20source:\x20','inspect\x20the\x20trunk','Inspect\x20structured\x20Univer\x20content','description','\x20\x20textContent:\x20','release','workbook','columnCount','\x20\x20bounds:\x20','routing','Specify\x20exactly\x20one\x20of\x20--trunk\x20or\x20--worktree\x20<id>','subtype','\x20\x20style:\x20','rowCount','option','--worksheet\x20is\x20only\x20valid\x20for\x20range,\x20not\x20','message','presentation\x20','workbook\x20','replace','\x22;\x20use\x20id:,\x20name:,\x20or\x20index:','length','crop','worksheet\x20selector\x20for\x20range','\x20(clipped\x20from\x20','3424380zSUhSx','textRuns','write\x20the\x20complete\x20structured\x20result\x20as\x20JSON','13340089kBuNHv','json','characterCount','requestedRange','<target>','--worksheet\x20<selector>','none','connectionPosition','range','orderIndex','\x20\x20children:\x20','\x20\x20prstGeom:\x20','Unknown\x20slide\x20selector\x20prefix\x20\x22','\x20\x20state:\x20visible=','diagram','board','elements','\x20\x20conditional\x20formatting:\x20','width','\x22;\x20use\x20id:\x20or\x20index:','originalType','worksheet','masters:\x20','\x22;\x20selectors\x20require\x20an\x20explicit\x20prefix','--json','\x09…\x20','transform','unresolved','\x20paragraphs,\x20','\x20\x20poster:\x20','\x22;\x20index\x20must\x20be\x20an\x20integer','views','trunk','trim','routingMode','count','dataStream','kind','size','connection','bottom','height','\x20fields\x20·\x20','\x20inspection\x20does\x20not\x20accept\x20selectors','join','2764flWBFk','shapeData','endElementId','textStyle','\x20\x20parentId:\x20',',\x20shapes\x20','top','labels','ranges','1009BfhhtG','\x20omitted','dataValidation','masterSlideCount','\x20\x20data:\x20','connectionSiteId','parentId','body','data','\x20\x20connection:\x20','total',')\x20[','explicit\x20selectors\x20such\x20as\x20id:sheet-1,\x20name:Plan,\x20or\x20index:2','Base\x20','worksheets','textContent','\x20\x20drawings:\x20','styleUsedRanges',':lifeline@','adjustValues','\x20elements\x20—\x20','configureOutput','\x20\x20originalType:\x20','speakerNotes','\x20tables','locked',')\x20·\x20primary\x20','formulaUsedRanges','free','document\x20','3617110sryVfo','recordCount','container','group','right','\x0atext\x20runs:\x20','valueUsedRanges','string','\x20\x20[','unit',',\x20selectable=','board-element','index','\x20\x20labelText:\x20','images'];_0x4f01=function(){return _0x291853;};return _0x4f01();}function M(_0x40b951,_0x42d2d8){const _0x3f99c4=_0x4a8b;let _0x352d96=_0x40b951[_0x3f99c4(0x1fb)]?.[_0x3f99c4(0x1fb)][_0x3f99c4(0x265)](/\s+/g,'\x20')[_0x3f99c4(0x28f)]();return[''+_0x42d2d8+_0x40b951[_0x3f99c4(0x210)]+'\x20'+_0x40b951['id']+(_0x40b951['name']===''?'':'\x20'+_0x40b951[_0x3f99c4(0x22f)])+(_0x352d96===void 0x0||_0x352d96===''?'':_0x3f99c4(0x1ed)+_0x352d96),...(_0x40b951['children']??[])[_0x3f99c4(0x1f3)](_0x5f193b=>M(_0x5f193b,_0x42d2d8+'\x20\x20'))][_0x3f99c4(0x29a)]('\x0a');}function N(_0x425084){const _0x2278c0=_0x4a8b;if(_0x425084[_0x2278c0(0x267)]===0x0)return _0x2278c0(0x274);let _0x9a4492=_0x425084['slice'](0x0,v),_0x4b141f=_0x425084[_0x2278c0(0x267)]-_0x9a4492['length'];return''+_0x9a4492[_0x2278c0(0x29a)](',\x20')+(_0x4b141f>0x0?_0x2278c0(0x212)+_0x4b141f+_0x2278c0(0x2a5):'');}var P=[_0x2bddb6(0x258),_0x2bddb6(0x283),_0x2bddb6(0x276),_0x2bddb6(0x203),_0x2bddb6(0x20b),_0x2bddb6(0x20e),_0x2bddb6(0x214),'base',_0x2bddb6(0x27d),_0x2bddb6(0x1de)];function F(_0x5e9717){return L({'acquireRuntime':async _0x2dd264=>await _0x5e9717['acquireRuntime']({'unitId':_0x2dd264}),'worktree':!0x1});}function I(_0x22ba86){return L({'acquireRuntime':async(_0x239d62,_0x28a616)=>{const _0x1d22f0=_0x4a8b;if(_0x28a616[_0x1d22f0(0x28e)]===!0x0&&_0x28a616[_0x1d22f0(0x23b)]!==void 0x0)throw new a(_0x1d22f0(0x1f7));if(_0x28a616[_0x1d22f0(0x28e)]!==!0x0&&_0x28a616[_0x1d22f0(0x23b)]===void 0x0)throw new a(_0x1d22f0(0x25c));return await _0x22ba86['acquireRuntime']({'unitId':_0x239d62,..._0x28a616['worktree']===void 0x0?{}:{'worktreeID':_0x28a616[_0x1d22f0(0x23b)]}});},'worktree':!0x0});}function L(_0x16b7af){const _0x2dc94f=_0x2bddb6;let _0x3559c8=new _0xa87128(_0x2dc94f(0x1ec))[_0x2dc94f(0x255)](_0x2dc94f(0x254))['addArgument'](new _0x552076(_0x2dc94f(0x272),_0x2dc94f(0x247))['choices'](P))[_0x2dc94f(0x242)]('[selectors...]',_0x2dc94f(0x2b0))[_0x2dc94f(0x239)](_0x2dc94f(0x217),_0x2dc94f(0x201))[_0x2dc94f(0x260)](_0x2dc94f(0x273),_0x2dc94f(0x269))[_0x2dc94f(0x260)](_0x2dc94f(0x286),_0x2dc94f(0x26d));return _0x16b7af['worktree']&&_0x3559c8[_0x2dc94f(0x1f1)](new _0xade8e7('--trunk',_0x2dc94f(0x253))['conflicts']('worktree'))[_0x2dc94f(0x1f1)](new _0xade8e7(_0x2dc94f(0x204),'inspect\x20a\x20worktree')['conflicts']('trunk')),_0x3559c8[_0x2dc94f(0x1e9)](async(_0x12708d,_0x146891,_0x25347f)=>{const _0x1402c5=_0x2dc94f;let _0x5d64d6=_0x12708d==='range'?_0x1402c5(0x228):_0x12708d,_0x51f98c;try{_0x51f98c=o(_0x5d64d6,_0x146891,_0x25347f);}catch(_0xd348a9){throw _0xd348a9 instanceof a&&_0x3559c8[_0x1402c5(0x1e8)](_0xd348a9['message'],{'code':_0x1402c5(0x1f4),'exitCode':0x1}),_0xd348a9;}let _0x3976aa,_0x31153c;try{_0x3976aa=await _0x16b7af[_0x1402c5(0x1e3)](_0x25347f[_0x1402c5(0x1dc)],_0x25347f),_0x31153c=await _0x309324(_0x3976aa,_0x51f98c);}catch(_0x5345fb){throw _0x3976aa!==void 0x0&&await R(_0x3976aa),(_0x5345fb instanceof _0x3b6d94||z(_0x5345fb))&&_0x3559c8[_0x1402c5(0x1e8)](_0x5345fb['code']+':\x20'+_0x5345fb[_0x1402c5(0x262)],{'code':'inspect.failed','exitCode':0x1}),_0x5345fb instanceof a&&_0x3559c8[_0x1402c5(0x1e8)](_0x5345fb[_0x1402c5(0x262)],{'code':_0x1402c5(0x1f4),'exitCode':0x1}),_0x5345fb;}await _0x3976aa[_0x1402c5(0x257)](),_0x3559c8[_0x1402c5(0x2b9)]()[_0x1402c5(0x20a)]?.((_0x25347f[_0x1402c5(0x26f)]===!0x0?JSON['stringify'](_0x31153c,null,0x2):y(_0x31153c))+'\x0a');}),_0x3559c8;}async function R(_0x45abde){const _0x168cc0=_0x2bddb6;await _0x45abde[_0x168cc0(0x257)]();}function z(_0x57eea9){const _0x3cc82e=_0x2bddb6;return _0x57eea9 instanceof Error&&typeof _0x57eea9[_0x3cc82e(0x1f6)]=='string';}export{a as InspectionCommandInputError,F as createContentInspectionCommand,I as createWorktreeContentInspectionCommand,o as parseInspectionQuery,y as renderContentInspection};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@univer-cli/content-inspection-command",
3
3
  "type": "module",
4
- "version": "1.1.0",
4
+ "version": "1.2.0",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "README.zh-CN.md"
19
19
  ],
20
20
  "dependencies": {
21
- "@univer-cli/content-inspection": "1.1.0"
21
+ "@univer-cli/content-inspection": "1.2.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "commander": "^15.0.0"