@univer-cli/content-inspection-command 1.2.0 → 1.3.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 _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};
1
+ const _0x59fc16=_0x332f;(function(_0x3e9c55,_0x5be0c4){const _0x4e43ac=_0x332f,_0xc174ed=_0x3e9c55();while(!![]){try{const _0x594a5c=-parseInt(_0x4e43ac(0x1bc))/0x1*(-parseInt(_0x4e43ac(0x19d))/0x2)+parseInt(_0x4e43ac(0x228))/0x3+-parseInt(_0x4e43ac(0x1b7))/0x4+-parseInt(_0x4e43ac(0x1fc))/0x5*(parseInt(_0x4e43ac(0x182))/0x6)+parseInt(_0x4e43ac(0x1a8))/0x7*(parseInt(_0x4e43ac(0x194))/0x8)+-parseInt(_0x4e43ac(0x1d5))/0x9*(parseInt(_0x4e43ac(0x1bf))/0xa)+parseInt(_0x4e43ac(0x180))/0xb*(parseInt(_0x4e43ac(0x153))/0xc);if(_0x594a5c===_0x5be0c4)break;else _0xc174ed['push'](_0xc174ed['shift']());}catch(_0x11cb60){_0xc174ed['push'](_0xc174ed['shift']());}}}(_0x5760,0xec1a7));import{ContentInspectionError as _0x548b0a,inspectContent as _0x20d57f}from'@univer-cli/content-inspection';import{Argument as _0x3eaefa,Command as _0x35d29b,Option as _0x17da62}from'commander';var a=class extends Error{};function o(_0x592bee,_0x580191,_0x81909f){const _0x3ade4b=_0x332f;if(_0x592bee===_0x3ade4b(0x190)||_0x592bee===_0x3ade4b(0x222)||_0x592bee===_0x3ade4b(0x1b8)||_0x592bee===_0x3ade4b(0x164)||_0x592bee===_0x3ade4b(0x197))return m(_0x592bee,_0x580191),h(_0x592bee,_0x81909f[_0x3ade4b(0x173)]),{'kind':_0x592bee};if(_0x592bee==='worksheet')return h(_0x592bee,_0x81909f[_0x3ade4b(0x173)]),{'kind':_0x592bee,'worksheets':p(_0x580191,c)};if(_0x592bee===_0x3ade4b(0x158))return h(_0x592bee,_0x81909f[_0x3ade4b(0x173)]),{'kind':_0x592bee,'slides':p(_0x580191,l)};if(_0x592bee===_0x3ade4b(0x1f0))return h(_0x592bee,_0x81909f['worksheet']),{'kind':_0x592bee,'paragraphs':p(_0x580191,u)};if(_0x592bee==='board-element')return h(_0x592bee,_0x81909f[_0x3ade4b(0x173)]),{'kind':_0x592bee,'elements':p(_0x580191,s)};if(_0x81909f[_0x3ade4b(0x173)]===void 0x0)throw new a(_0x3ade4b(0x1c9));let _0x4f1b50=c(_0x81909f[_0x3ade4b(0x173)]);return{'kind':_0x592bee,'ranges':p(_0x580191,_0x298b67=>{const _0x30d1c3=_0x3ade4b;if(_0x298b67[_0x30d1c3(0x221)]===0x0)throw new a(_0x30d1c3(0x196));return{'range':_0x298b67,'worksheet':_0x4f1b50};})};}function s(_0x26962b){const _0x59d95c=_0x332f;let _0x58f3a1=d(_0x26962b);if(_0x58f3a1[_0x59d95c(0x1f2)]==='id')return{'id':_0x58f3a1[_0x59d95c(0x1e4)]};throw new a(_0x59d95c(0x1ed)+_0x58f3a1[_0x59d95c(0x1f2)]+_0x59d95c(0x1e2));}function c(_0xecd0b5){const _0x12b4f8=_0x332f;let _0x281080=d(_0xecd0b5);if(_0x281080['prefix']==='id')return{'id':_0x281080[_0x12b4f8(0x1e4)]};if(_0x281080[_0x12b4f8(0x1f2)]===_0x12b4f8(0x1c2))return{'name':_0x281080[_0x12b4f8(0x1e4)]};if(_0x281080[_0x12b4f8(0x1f2)]===_0x12b4f8(0x1ff))return{'index':f(_0x281080[_0x12b4f8(0x1e4)])};throw new a(_0x12b4f8(0x20e)+_0x281080['prefix']+_0x12b4f8(0x175));}function l(_0x12ff30){const _0x1f0239=_0x332f;let _0x11951b=d(_0x12ff30);if(_0x11951b['prefix']==='id')return{'id':_0x11951b[_0x1f0239(0x1e4)]};if(_0x11951b['prefix']==='index')return{'index':f(_0x11951b[_0x1f0239(0x1e4)])};throw new a('Unknown\x20slide\x20selector\x20prefix\x20\x22'+_0x11951b[_0x1f0239(0x1f2)]+'\x22;\x20use\x20id:\x20or\x20index:');}function u(_0x1ad803){const _0xab8789=_0x332f;let _0x4814cb=d(_0x1ad803);if(_0x4814cb[_0xab8789(0x1f2)]==='id')return{'id':_0x4814cb['value']};if(_0x4814cb[_0xab8789(0x1f2)]==='index')return{'index':f(_0x4814cb[_0xab8789(0x1e4)])};throw new a(_0xab8789(0x1ad)+_0x4814cb['prefix']+_0xab8789(0x1aa));}function d(_0x185162){const _0xf2d75f=_0x332f;let _0x161482=_0x185162[_0xf2d75f(0x152)](':');if(_0x161482<=0x0||_0x161482===_0x185162[_0xf2d75f(0x221)]-0x1)throw new a(_0xf2d75f(0x21a)+_0x185162+_0xf2d75f(0x234));return{'prefix':_0x185162[_0xf2d75f(0x1c1)](0x0,_0x161482),'value':_0x185162[_0xf2d75f(0x1c1)](_0x161482+0x1)};}function f(_0x238104){const _0xe034a=_0x332f;if(!/^\d+$/[_0xe034a(0x19c)](_0x238104))throw new a(_0xe034a(0x205)+_0x238104+'\x22;\x20index\x20must\x20be\x20an\x20integer');let _0x173418=Number(_0x238104);if(!Number[_0xe034a(0x21f)](_0x173418)||_0x173418<0x1)throw new a(_0xe034a(0x205)+_0x238104+_0xe034a(0x207));return _0x173418-0x1;}function _0x5760(){const _0x23278c=['localeCompare','\x22;\x20selectors\x20require\x20an\x20explicit\x20prefix','requiredOption','worksheet\x20[','text','elementCounts','\x20\x20labelStyle:\x20','sort','\x20\x20merged:\x20','charts','count','visible','chart','stroke','object','textRuns','),\x20','top','\x20omitted','valueUsedRanges','workbook\x20','left','waypoints','--worksheet\x20<selector>','indexOf','7032uUOkcT','string','transform','\x20·\x20','formulaUsedRanges','slide','\x20\x20placeholder:\x20','shapeBoundary','title','push','--worktree\x20<id>','<target>','content\x20target','parentId','\x20\x20drawings:\x20','\x20records\x20·\x20','\x20\x20source:\x20','base','\x20\x20notes:\x20','textPreview','segmentT','action','\x20paragraphs,\x20','shapeId','byType','\x20\x20imageSourceType:\x20','laneId','\x20—\x20','\x20\x20style:\x20',',\x20images\x20','connectionSiteId','bottom','worksheet','configureOutput','\x22;\x20use\x20id:,\x20name:,\x20or\x20index:','masters:\x20','\x20\x20crop:\x20','\x20\x20state:\x20visible=','elements','release','Specify\x20exactly\x20one\x20of\x20--trunk\x20or\x20--worktree\x20<id>','\x20\x20views:\x20','\x0atext\x20runs:\x20','\x20\x20text:\x20','\x20\x20connection:\x20','29447msijIL','adjustValues','390ezdIjS','description','textStyle','routingMode','lifeline','styleUsedRanges','\x20\x20values:\x20','connector','board-element','view','tables','inspect.invalid-input','size','unitId','workbook','\x20\x20stroke:\x20','ranges','table','597160HFeDwA','shape','Range\x20cannot\x20be\x20empty','board','mediaType','stringify','\x09…\x20','primaryFieldId','test','1330106hcTXyi','\x20\x20styles:\x20','fields','placeholder','characterCount','\x20characters','\x20\x20data:\x20','\x20\x20textStyle:\x20','paragraphs','\x20\x20prstGeom:\x20','replace','77YcUjBo','option','\x22;\x20use\x20id:\x20or\x20index:','\x20\x20tableId:\x20','addArgument','Unknown\x20paragraph\x20selector\x20prefix\x20\x22','This\x20inspection\x20target\x20requires\x20at\x20least\x20one\x20selector','labels','type','\x20\x20tables:\x20','site-','width','[selectors...]','unit','free','4117348EVMxii','presentation','message','document\x20','argument','1fUbgOb','poster','views','2058470wAnlNr','group','slice','name','\x20\x20originalType:\x20','startElementId','map','Unit\x20to\x20inspect','join','originalType','range\x20requires\x20--worksheet\x20<selector>','\x20elements','\x20\x20textContent:\x20','worksheets','shapes','total','textContent','\x20rows\x20omitted','drawings','container','--unit\x20<unit-id>','\x20\x20data\x20validation:\x20','18ZjTnbp','trim','entries','\x20\x20labelText:\x20','range','\x20inspection\x20does\x20not\x20accept\x20selectors','\x20elements\x20—\x20','labelStyle','\x20\x20shapeData:\x20','dataStream','inspect\x20a\x20worktree','Base\x20','\x20\x20laneId:\x20','\x22;\x20use\x20id:','imageSourceType','value','code','worktree',':lifeline@','\x20tables','locked','\x20\x20description:\x20',')\x20·\x20primary\x20','paragraph\x20[','Unknown\x20board\x20element\x20selector\x20prefix\x20\x22',')\x20[','style','paragraph','inspect\x20the\x20trunk','prefix','image','containerData','worksheet-range','orderIndex','displayValues','\x20fields\x20·\x20','\x20(charts\x20','addOption','\x20\x20conditional\x20formatting:\x20','119590vlXwyW','children','layoutSlideCount','index','presentation\x20','requestedRange','conflicts',',\x20…\x20','writeOut','Invalid\x20index\x20\x22','crop','\x22;\x20CLI\x20indices\x20start\x20at\x201','choices','data','\x20(clipped\x20from\x20','none','slide\x20[','routing','Unknown\x20worksheet\x20selector\x20prefix\x20\x22','images','trunk','\x20\x20chartId:\x20','\x20waypoints','mergedRanges','json','slides','acquireRuntime','error','end','tableId','Invalid\x20selector\x20\x22','clipped','isArray','masterSlideCount','kind','isSafeInteger','endElementId','length','document','columnCount','diagram','subtype','\x20\x20poster:\x20','start','2723730JjdEdT','prstGeom','recordCount','--json',':boundary(',',\x20locked=','body','unresolved','\x20->\x20','connection','right'];_0x5760=function(){return _0x23278c;};return _0x5760();}function p(_0x298e75,_0x410572){const _0x512165=_0x332f;if(_0x298e75[_0x512165(0x221)]===0x0)throw new a(_0x512165(0x1ae));let _0x59b8ab=_0x298e75[0x0];if(_0x59b8ab===void 0x0)throw new a('Missing\x20selector');return[_0x410572(_0x59b8ab),..._0x298e75[_0x512165(0x1c1)](0x1)[_0x512165(0x1c5)](_0x410572)];}function m(_0x53d136,_0x597dce){const _0x427963=_0x332f;if(_0x597dce[_0x427963(0x221)]>0x0)throw new a(_0x53d136+_0x427963(0x1da));}function h(_0x4c9b21,_0x4e23df){if(_0x4e23df!==void 0x0)throw new a('--worksheet\x20is\x20only\x20valid\x20for\x20range,\x20not\x20'+_0x4c9b21);}var g=0xc,_=0x8,v=0xc;function y(_0x353a88){const _0x26c42b=_0x332f;switch(_0x353a88[_0x26c42b(0x21e)]){case _0x26c42b(0x164):return[_0x26c42b(0x1e0)+_0x353a88[_0x26c42b(0x1c2)]+'\x20('+_0x353a88['unitId']+')',_0x353a88['tables'][_0x26c42b(0x221)]+_0x26c42b(0x1e8),'',..._0x353a88[_0x26c42b(0x18c)][_0x26c42b(0x1c5)](k)]['join']('\x0a');case _0x26c42b(0x190):return[_0x26c42b(0x14e)+_0x353a88[_0x26c42b(0x1c2)]+'\x20('+_0x353a88[_0x26c42b(0x18f)]+')',..._0x353a88[_0x26c42b(0x1cc)][_0x26c42b(0x1c5)](A)][_0x26c42b(0x1c7)]('\x0a');case _0x26c42b(0x173):return _0x353a88['worksheets'][_0x26c42b(0x1c5)](A)[_0x26c42b(0x1c7)]('\x0a');case _0x26c42b(0x1f5):return _0x353a88[_0x26c42b(0x192)][_0x26c42b(0x1c5)](_0x33af40=>_0x33af40[_0x26c42b(0x173)][_0x26c42b(0x1c2)]+'!'+_0x33af40['resolvedRange']+(_0x33af40[_0x26c42b(0x21b)]?_0x26c42b(0x20a)+_0x33af40[_0x26c42b(0x201)]+')':'')+'\x0a'+j(_0x33af40[_0x26c42b(0x1f7)]))[_0x26c42b(0x1c7)]('\x0a\x0a');case _0x26c42b(0x1b8):return[_0x26c42b(0x200)+_0x353a88['name']+'\x20('+_0x353a88[_0x26c42b(0x18f)]+')\x20'+_0x353a88[_0x26c42b(0x18e)][_0x26c42b(0x1b3)]+'x'+_0x353a88[_0x26c42b(0x18e)]['height'],_0x26c42b(0x176)+_0x353a88[_0x26c42b(0x21d)]+',\x20layouts:\x20'+_0x353a88[_0x26c42b(0x1fe)],..._0x353a88[_0x26c42b(0x215)]['map'](_0x44134d=>'\x20\x20['+(_0x44134d[_0x26c42b(0x1ff)]+0x1)+']\x20'+_0x44134d['id']+'\x20'+_0x44134d[_0x26c42b(0x1c2)]+'\x20—\x20'+_0x44134d[_0x26c42b(0x238)][_0x26c42b(0x1ce)]+_0x26c42b(0x1ca)+(_0x44134d[_0x26c42b(0x166)]===void 0x0?'':_0x26c42b(0x16e)+_0x44134d[_0x26c42b(0x166)]))][_0x26c42b(0x1c7)]('\x0a');case _0x26c42b(0x158):return _0x353a88[_0x26c42b(0x215)]['map'](_0x3f6d87=>[_0x26c42b(0x20c)+(_0x3f6d87[_0x26c42b(0x1ff)]+0x1)+']\x20'+_0x3f6d87['id']+'\x20'+_0x3f6d87[_0x26c42b(0x1c2)],..._0x3f6d87[_0x26c42b(0x179)]['map'](_0x18f994=>M(_0x18f994,'\x20\x20')),..._0x3f6d87['speakerNotes']===''?[]:[_0x26c42b(0x165)+_0x3f6d87['speakerNotes']]][_0x26c42b(0x1c7)]('\x0a'))[_0x26c42b(0x1c7)]('\x0a\x0a');case _0x26c42b(0x222):return[_0x26c42b(0x1ba)+_0x353a88[_0x26c42b(0x15b)]+'\x20('+_0x353a88['unitId']+_0x26c42b(0x1ee)+_0x353a88['mode']+']',_0x353a88['paragraphCount']+_0x26c42b(0x169)+_0x353a88[_0x26c42b(0x1a1)]+_0x26c42b(0x1a2),..._0x353a88[_0x26c42b(0x1a5)][_0x26c42b(0x1c5)](_0x5190b7=>'\x20\x20['+(_0x5190b7[_0x26c42b(0x1ff)]+0x1)+']\x20'+_0x5190b7['id']+_0x26c42b(0x16e)+_0x5190b7[_0x26c42b(0x166)])][_0x26c42b(0x1c7)]('\x0a');case _0x26c42b(0x1f0):return _0x353a88['paragraphs'][_0x26c42b(0x1c5)](_0x2f3c9f=>_0x26c42b(0x1ec)+(_0x2f3c9f[_0x26c42b(0x1ff)]+0x1)+']\x20'+_0x2f3c9f['id']+'\x0a'+_0x2f3c9f[_0x26c42b(0x237)]+(_0x2f3c9f[_0x26c42b(0x242)][_0x26c42b(0x221)]===0x0?'':_0x26c42b(0x17d)+_0x2f3c9f[_0x26c42b(0x242)][_0x26c42b(0x221)]))['join']('\x0a\x0a');case _0x26c42b(0x197):return['board\x20'+_0x353a88['name']+'\x20('+_0x353a88[_0x26c42b(0x18f)]+')',_0x353a88[_0x26c42b(0x238)][_0x26c42b(0x1ce)]+_0x26c42b(0x1db)+C(_0x353a88['elementCounts'][_0x26c42b(0x16b)]),..._0x353a88[_0x26c42b(0x179)][_0x26c42b(0x1c5)](_0x5411b6=>b(_0x5411b6,'\x20\x20'))]['join']('\x0a');case'board-element':return _0x353a88[_0x26c42b(0x179)][_0x26c42b(0x1c5)](x)[_0x26c42b(0x1c7)]('\x0a\x0a');}}function b(_0x3818f6,_0x550906){const _0x6633fb=_0x332f;let _0xdae663=_0x3818f6[_0x6633fb(0x225)]===void 0x0?'':':'+_0x3818f6[_0x6633fb(0x225)],_0x50dfa6=_0x3818f6[_0x6633fb(0x1c2)]===void 0x0||_0x3818f6[_0x6633fb(0x1c2)]===''?'':'\x20'+_0x3818f6[_0x6633fb(0x1c2)],_0x5322fc=_0x3818f6[_0x6633fb(0x1c4)]===void 0x0&&_0x3818f6[_0x6633fb(0x220)]===void 0x0?'':'\x20'+(_0x3818f6[_0x6633fb(0x1c4)]??'?')+_0x6633fb(0x230)+(_0x3818f6[_0x6633fb(0x220)]??'?'),_0x17c252=_0x3818f6[_0x6633fb(0x237)]===void 0x0||_0x3818f6[_0x6633fb(0x237)]===''?'':_0x6633fb(0x16e)+D(_0x3818f6['text']);return _0x550906+'['+(_0x3818f6[_0x6633fb(0x1f6)]+0x1)+']\x20'+_0x3818f6[_0x6633fb(0x1b0)]+_0xdae663+'\x20'+_0x3818f6['id']+_0x50dfa6+_0x5322fc+_0x17c252;}function _0x332f(_0x1df98b,_0x479b32){_0x1df98b=_0x1df98b-0x14d;const _0x576028=_0x5760();let _0x332f60=_0x576028[_0x1df98b];return _0x332f60;}function x(_0x4588e0){const _0x12dbf8=_0x332f;let _0x55de00=[_0x4588e0[_0x12dbf8(0x1b0)]+'\x20'+_0x4588e0['id']+'\x20['+(_0x4588e0[_0x12dbf8(0x1f6)]+0x1)+']'+(_0x4588e0['name']===void 0x0||_0x4588e0['name']===''?'':'\x20'+_0x4588e0[_0x12dbf8(0x1c2)]),'\x20\x20transform:\x20'+T(_0x4588e0[_0x12dbf8(0x155)]),'\x20\x20bounds:\x20'+(_0x4588e0['bounds']===null?_0x12dbf8(0x22f):T(_0x4588e0['bounds'])),_0x12dbf8(0x178)+_0x4588e0[_0x12dbf8(0x23e)]+',\x20selectable='+_0x4588e0['selectable']+_0x12dbf8(0x22d)+_0x4588e0[_0x12dbf8(0x1e9)]];return _0x4588e0[_0x12dbf8(0x183)]!==void 0x0&&_0x55de00['push'](_0x12dbf8(0x1ea)+D(_0x4588e0[_0x12dbf8(0x183)])),_0x4588e0[_0x12dbf8(0x160)]!==void 0x0&&_0x55de00[_0x12dbf8(0x15c)]('\x20\x20parentId:\x20'+_0x4588e0['parentId']),_0x4588e0[_0x12dbf8(0x16d)]!==void 0x0&&_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x1e1)+_0x4588e0['laneId']),_0x4588e0['type']===_0x12dbf8(0x189)?(_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x17f)+S(_0x4588e0[_0x12dbf8(0x231)][_0x12dbf8(0x227)])+_0x12dbf8(0x230)+S(_0x4588e0['connection'][_0x12dbf8(0x218)]),'\x20\x20routing:\x20'+_0x4588e0[_0x12dbf8(0x231)][_0x12dbf8(0x20d)]+'\x20('+_0x4588e0[_0x12dbf8(0x231)][_0x12dbf8(0x185)]+_0x12dbf8(0x243)+_0x4588e0['connection'][_0x12dbf8(0x150)][_0x12dbf8(0x221)]+_0x12dbf8(0x212),_0x12dbf8(0x16f)+T(_0x4588e0[_0x12dbf8(0x1ef)]),'\x20\x20labels:\x20'+T(_0x4588e0[_0x12dbf8(0x1af)]),_0x12dbf8(0x1d8)+w(_0x4588e0['labelText']),_0x12dbf8(0x239)+T(_0x4588e0[_0x12dbf8(0x1dc)])),_0x55de00[_0x12dbf8(0x1c7)]('\x0a')):(_0x4588e0[_0x12dbf8(0x1b0)]===_0x12dbf8(0x195)?_0x55de00['push'](_0x12dbf8(0x1dd)+T(_0x4588e0['shapeData'])):_0x4588e0[_0x12dbf8(0x1b0)]===_0x12dbf8(0x237)?_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x1cb)+w(_0x4588e0[_0x12dbf8(0x1cf)]),_0x12dbf8(0x1a4)+T(_0x4588e0[_0x12dbf8(0x184)])):_0x4588e0[_0x12dbf8(0x1b0)]===_0x12dbf8(0x1f3)?(_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x163)+E(_0x4588e0['source'])),_0x4588e0[_0x12dbf8(0x1e3)]!==void 0x0&&_0x55de00['push'](_0x12dbf8(0x16c)+_0x4588e0[_0x12dbf8(0x1e3)]),_0x4588e0[_0x12dbf8(0x206)]!==void 0x0&&_0x55de00['push'](_0x12dbf8(0x177)+T(_0x4588e0[_0x12dbf8(0x206)])),_0x4588e0['prstGeom']!==void 0x0&&_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x1a6)+_0x4588e0[_0x12dbf8(0x229)]),_0x4588e0[_0x12dbf8(0x181)]!==void 0x0&&_0x55de00['push']('\x20\x20adjustValues:\x20'+T(_0x4588e0['adjustValues']))):_0x4588e0[_0x12dbf8(0x1b0)]===_0x12dbf8(0x23f)?(_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x211)+_0x4588e0['chartId']),_0x4588e0[_0x12dbf8(0x1a0)]!==void 0x0&&_0x55de00['push'](_0x12dbf8(0x159)+T(_0x4588e0['placeholder'])),_0x4588e0[_0x12dbf8(0x240)]!==void 0x0&&_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x191)+T(_0x4588e0[_0x12dbf8(0x240)]))):_0x4588e0[_0x12dbf8(0x1b0)]===_0x12dbf8(0x1d2)?_0x55de00[_0x12dbf8(0x15c)]('\x20\x20containerData:\x20'+T(_0x4588e0[_0x12dbf8(0x1f4)])):_0x4588e0['type']===_0x12dbf8(0x224)?_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x1a3)+T(_0x4588e0[_0x12dbf8(0x209)])):_0x4588e0[_0x12dbf8(0x1b0)]===_0x12dbf8(0x193)?(_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x1ab)+_0x4588e0[_0x12dbf8(0x219)]),_0x4588e0['placeholder']!==void 0x0&&_0x55de00[_0x12dbf8(0x15c)]('\x20\x20placeholder:\x20'+T(_0x4588e0[_0x12dbf8(0x1a0)]))):_0x4588e0[_0x12dbf8(0x1b0)]===_0x12dbf8(0x1c0)?_0x55de00['push']('\x20\x20children:\x20'+N(_0x4588e0[_0x12dbf8(0x1fd)])):_0x4588e0[_0x12dbf8(0x1b0)]==='media'?(_0x55de00[_0x12dbf8(0x15c)]('\x20\x20mediaType:\x20'+_0x4588e0[_0x12dbf8(0x198)],_0x12dbf8(0x163)+E(_0x4588e0['source'])),_0x4588e0[_0x12dbf8(0x1bd)]!==void 0x0&&_0x55de00['push'](_0x12dbf8(0x226)+E(_0x4588e0[_0x12dbf8(0x1bd)]))):_0x4588e0[_0x12dbf8(0x1b0)]===_0x12dbf8(0x1a0)?(_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x159)+T(_0x4588e0[_0x12dbf8(0x1a0)])),_0x4588e0[_0x12dbf8(0x237)]!==void 0x0&&_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x17e)+D(_0x4588e0[_0x12dbf8(0x237)])),_0x4588e0['style']!==void 0x0&&_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x16f)+T(_0x4588e0['style']))):_0x55de00[_0x12dbf8(0x15c)](_0x12dbf8(0x1c3)+_0x4588e0[_0x12dbf8(0x1c8)],'\x20\x20data:\x20'+T(_0x4588e0[_0x12dbf8(0x209)])),_0x55de00[_0x12dbf8(0x1c7)]('\x0a'));}function S(_0x32486c){const _0xad8b33=_0x332f;if(_0x32486c['kind']===_0xad8b33(0x1b6))return'free('+_0x32486c['x']+','+_0x32486c['y']+')';if(_0x32486c[_0xad8b33(0x21e)]===_0xad8b33(0x186))return _0x32486c[_0xad8b33(0x16a)]+_0xad8b33(0x1e7)+_0x32486c['offsetY'];if(_0x32486c[_0xad8b33(0x21e)]===_0xad8b33(0x15a))return _0x32486c[_0xad8b33(0x16a)]+_0xad8b33(0x22c)+_0x32486c['outlineIndex']+','+_0x32486c['segmentIndex']+','+_0x32486c[_0xad8b33(0x167)]+')';let _0x17ee82=[_0xad8b33(0x244),_0xad8b33(0x232),_0xad8b33(0x172),_0xad8b33(0x14f)][_0x32486c[_0xad8b33(0x171)]]??_0xad8b33(0x1b2)+_0x32486c[_0xad8b33(0x171)];return _0x32486c[_0xad8b33(0x16a)]+':'+_0x17ee82+(_0x32486c['connectionPosition']===void 0x0?'':'@'+_0x32486c['connectionPosition']);}function C(_0x3cb735){const _0x1638e9=_0x332f;let _0x334765=Object[_0x1638e9(0x1d7)](_0x3cb735)[_0x1638e9(0x23a)](([_0xae6ca0],[_0x45e528])=>_0xae6ca0[_0x1638e9(0x233)](_0x45e528));return _0x334765[_0x1638e9(0x221)]===0x0?_0x1638e9(0x20b):_0x334765[_0x1638e9(0x1c5)](([_0x258988,_0x246e4e])=>_0x258988+'\x20'+_0x246e4e)['join'](',\x20');}function w(_0x2befaf){const _0x510734=_0x332f;if(O(_0x2befaf)){let _0x508f59=_0x2befaf[_0x510734(0x22e)];if(O(_0x508f59)&&typeof _0x508f59[_0x510734(0x1de)]==_0x510734(0x154))return D(_0x508f59[_0x510734(0x1de)][_0x510734(0x1a7)](/[\r\n]+$/u,''));}return T(_0x2befaf);}function T(_0x4c2bec){return E(JSON['stringify'](_0x4c2bec));}function E(_0x550800){const _0x5a61a9=_0x332f;return _0x550800[_0x5a61a9(0x221)]<=0xc8?_0x550800:_0x550800['slice'](0x0,0xc5)+'…';}function D(_0x15d344){const _0x3766b3=_0x332f;return E(_0x15d344[_0x3766b3(0x1a7)](/\s+/gu,'\x20')['trim']());}function O(_0x3bd056){const _0x248ce2=_0x332f;return typeof _0x3bd056==_0x248ce2(0x241)&&!!_0x3bd056&&!Array[_0x248ce2(0x21c)](_0x3bd056);}function k(_0x396e45){const _0x5b481b=_0x332f;let _0x126fd6=_0x396e45['fields']['find'](_0x2e9bfd=>_0x2e9bfd['id']===_0x396e45[_0x5b481b(0x19b)]);return['['+_0x396e45['index']+']\x20'+_0x396e45[_0x5b481b(0x1c2)]+'\x20('+_0x396e45['id']+_0x5b481b(0x1eb)+(_0x126fd6?.[_0x5b481b(0x1c2)]??_0x396e45[_0x5b481b(0x19b)])+_0x5b481b(0x156)+_0x396e45[_0x5b481b(0x19f)][_0x5b481b(0x221)]+_0x5b481b(0x1f8)+_0x396e45[_0x5b481b(0x22a)]+_0x5b481b(0x162)+_0x396e45['views'][_0x5b481b(0x221)]+'\x20'+(_0x396e45[_0x5b481b(0x1be)][_0x5b481b(0x221)]===0x1?_0x5b481b(0x18b):_0x5b481b(0x1be)),'\x20\x20fields:\x20'+N(_0x396e45[_0x5b481b(0x19f)][_0x5b481b(0x1c5)](_0x5065ae=>_0x5065ae[_0x5b481b(0x1c2)]+':'+_0x5065ae[_0x5b481b(0x1b0)])),_0x5b481b(0x17c)+N(_0x396e45['views'][_0x5b481b(0x1c5)](_0x19eedd=>_0x19eedd['name']+':'+_0x19eedd['type']))][_0x5b481b(0x1c7)]('\x0a');}function A(_0x572d75){const _0x46cec0=_0x332f;let _0x669b45=[_0x46cec0(0x236)+(_0x572d75['index']+0x1)+']\x20'+_0x572d75['id']+'\x20'+_0x572d75[_0x46cec0(0x1c2)]+'\x20('+_0x572d75['rowCount']+'x'+_0x572d75[_0x46cec0(0x223)]+')',_0x46cec0(0x188)+N(_0x572d75[_0x46cec0(0x14d)]),'\x20\x20formulas:\x20'+N(_0x572d75[_0x46cec0(0x157)]),_0x46cec0(0x19e)+N(_0x572d75[_0x46cec0(0x187)]),_0x46cec0(0x23b)+N(_0x572d75[_0x46cec0(0x213)])];return _0x572d75[_0x46cec0(0x18c)][_0x46cec0(0x221)]>0x0&&_0x669b45[_0x46cec0(0x15c)](_0x46cec0(0x1b1)+N(_0x572d75[_0x46cec0(0x18c)][_0x46cec0(0x1c5)](_0x24783c=>_0x24783c[_0x46cec0(0x1c2)]+'('+_0x24783c['range']+')'))),_0x669b45[_0x46cec0(0x15c)](_0x46cec0(0x1fb)+_0x572d75['conditionalFormatting']['count'],_0x46cec0(0x1d4)+_0x572d75['dataValidation'][_0x46cec0(0x23d)],_0x46cec0(0x161)+_0x572d75['drawings']['total']+_0x46cec0(0x1f9)+_0x572d75[_0x46cec0(0x1d1)][_0x46cec0(0x23c)]+_0x46cec0(0x170)+_0x572d75[_0x46cec0(0x1d1)][_0x46cec0(0x20f)]+',\x20shapes\x20'+_0x572d75[_0x46cec0(0x1d1)][_0x46cec0(0x1cd)]+')'),_0x669b45[_0x46cec0(0x1c7)]('\x0a');}function j(_0x1215ee){const _0x3a932f=_0x332f;let _0x4c12dd=_0x1215ee['slice'](0x0,g)[_0x3a932f(0x1c5)](_0xa4893c=>{const _0x570a9f=_0x3a932f;let _0x2c16ae=_0xa4893c[_0x570a9f(0x1c1)](0x0,_),_0x58a37c=_0xa4893c[_0x570a9f(0x221)]-_0x2c16ae[_0x570a9f(0x221)];return''+_0x2c16ae[_0x570a9f(0x1c5)](_0x1a91e3=>JSON[_0x570a9f(0x199)](_0x1a91e3))[_0x570a9f(0x1c7)]('\x09')+(_0x58a37c>0x0?_0x570a9f(0x19a)+_0x58a37c+'\x20columns\x20omitted':'');}),_0x4cc30a=_0x1215ee['length']-_0x4c12dd[_0x3a932f(0x221)];return _0x4cc30a>0x0&&_0x4c12dd['push']('…\x20'+_0x4cc30a+_0x3a932f(0x1d0)),_0x4c12dd[_0x3a932f(0x1c7)]('\x0a');}function M(_0x4d798a,_0x271902){const _0x1a44f0=_0x332f;let _0x27bb4b=_0x4d798a['text']?.['text'][_0x1a44f0(0x1a7)](/\s+/g,'\x20')[_0x1a44f0(0x1d6)]();return[''+_0x271902+_0x4d798a['type']+'\x20'+_0x4d798a['id']+(_0x4d798a[_0x1a44f0(0x1c2)]===''?'':'\x20'+_0x4d798a[_0x1a44f0(0x1c2)])+(_0x27bb4b===void 0x0||_0x27bb4b===''?'':_0x1a44f0(0x16e)+_0x27bb4b),...(_0x4d798a[_0x1a44f0(0x1fd)]??[])[_0x1a44f0(0x1c5)](_0x472073=>M(_0x472073,_0x271902+'\x20\x20'))][_0x1a44f0(0x1c7)]('\x0a');}function N(_0x3321f3){const _0x3fab3f=_0x332f;if(_0x3321f3[_0x3fab3f(0x221)]===0x0)return _0x3fab3f(0x20b);let _0x27f00b=_0x3321f3[_0x3fab3f(0x1c1)](0x0,v),_0x38642d=_0x3321f3[_0x3fab3f(0x221)]-_0x27f00b[_0x3fab3f(0x221)];return''+_0x27f00b[_0x3fab3f(0x1c7)](',\x20')+(_0x38642d>0x0?_0x3fab3f(0x203)+_0x38642d+_0x3fab3f(0x245):'');}var P=[_0x59fc16(0x190),'worksheet',_0x59fc16(0x1d9),_0x59fc16(0x222),'paragraph',_0x59fc16(0x1b8),'slide','base',_0x59fc16(0x197),_0x59fc16(0x18a)];function F(_0x24a727){const _0x415a8f=_0x59fc16;return L({'acquireRuntime':async _0x4726a3=>await _0x24a727[_0x415a8f(0x216)]({'unitId':_0x4726a3}),'worktree':!0x1});}function I(_0x1a1159){return L({'acquireRuntime':async(_0x51d9ef,_0x606e35)=>{const _0x1bb5c3=_0x332f;if(_0x606e35['trunk']===!0x0&&_0x606e35['worktree']!==void 0x0)throw new a('--trunk\x20and\x20--worktree\x20cannot\x20be\x20used\x20together');if(_0x606e35[_0x1bb5c3(0x210)]!==!0x0&&_0x606e35[_0x1bb5c3(0x1e6)]===void 0x0)throw new a(_0x1bb5c3(0x17b));return await _0x1a1159[_0x1bb5c3(0x216)]({'unitId':_0x51d9ef,..._0x606e35[_0x1bb5c3(0x1e6)]===void 0x0?{}:{'worktreeID':_0x606e35[_0x1bb5c3(0x1e6)]}});},'worktree':!0x0});}function L(_0x302cb3){const _0x1ee146=_0x59fc16;let _0x580a7f=new _0x35d29b('inspect')[_0x1ee146(0x183)]('Inspect\x20structured\x20Univer\x20content')[_0x1ee146(0x1ac)](new _0x3eaefa(_0x1ee146(0x15e),_0x1ee146(0x15f))[_0x1ee146(0x208)](P))[_0x1ee146(0x1bb)](_0x1ee146(0x1b4),'explicit\x20selectors\x20such\x20as\x20id:sheet-1,\x20name:Plan,\x20or\x20index:2')[_0x1ee146(0x235)](_0x1ee146(0x1d3),_0x1ee146(0x1c6))['option'](_0x1ee146(0x151),'worksheet\x20selector\x20for\x20range')[_0x1ee146(0x1a9)](_0x1ee146(0x22b),'write\x20the\x20complete\x20structured\x20result\x20as\x20JSON');return _0x302cb3['worktree']&&_0x580a7f[_0x1ee146(0x1fa)](new _0x17da62('--trunk',_0x1ee146(0x1f1))[_0x1ee146(0x202)](_0x1ee146(0x1e6)))[_0x1ee146(0x1fa)](new _0x17da62(_0x1ee146(0x15d),_0x1ee146(0x1df))[_0x1ee146(0x202)](_0x1ee146(0x210))),_0x580a7f[_0x1ee146(0x168)](async(_0x1ed314,_0x5254e1,_0x38c351)=>{const _0x4d04d9=_0x1ee146;let _0x336bdf=_0x1ed314===_0x4d04d9(0x1d9)?_0x4d04d9(0x1f5):_0x1ed314,_0x9970c;try{_0x9970c=o(_0x336bdf,_0x5254e1,_0x38c351);}catch(_0x47bf8a){throw _0x47bf8a instanceof a&&_0x580a7f[_0x4d04d9(0x217)](_0x47bf8a[_0x4d04d9(0x1b9)],{'code':'inspect.invalid-input','exitCode':0x1}),_0x47bf8a;}let _0xb0a76c,_0x454ede;try{_0xb0a76c=await _0x302cb3[_0x4d04d9(0x216)](_0x38c351[_0x4d04d9(0x1b5)],_0x38c351),_0x454ede=await _0x20d57f(_0xb0a76c,_0x9970c);}catch(_0x39a58a){throw _0xb0a76c!==void 0x0&&await R(_0xb0a76c),(_0x39a58a instanceof _0x548b0a||z(_0x39a58a))&&_0x580a7f[_0x4d04d9(0x217)](_0x39a58a[_0x4d04d9(0x1e5)]+':\x20'+_0x39a58a[_0x4d04d9(0x1b9)],{'code':'inspect.failed','exitCode':0x1}),_0x39a58a instanceof a&&_0x580a7f[_0x4d04d9(0x217)](_0x39a58a[_0x4d04d9(0x1b9)],{'code':_0x4d04d9(0x18d),'exitCode':0x1}),_0x39a58a;}await _0xb0a76c[_0x4d04d9(0x17a)](),_0x580a7f[_0x4d04d9(0x174)]()[_0x4d04d9(0x204)]?.((_0x38c351[_0x4d04d9(0x214)]===!0x0?JSON['stringify'](_0x454ede,null,0x2):y(_0x454ede))+'\x0a');}),_0x580a7f;}async function R(_0xf5a690){const _0x17ea05=_0x59fc16;await _0xf5a690[_0x17ea05(0x17a)]();}function z(_0x38b154){const _0x6b21ad=_0x59fc16;return _0x38b154 instanceof Error&&typeof _0x38b154[_0x6b21ad(0x1e5)]==_0x6b21ad(0x154);}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.2.0",
4
+ "version": "1.3.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.2.0"
21
+ "@univer-cli/content-inspection": "1.3.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "commander": "^15.0.0"