@guanghechen/kit-ppt 0.5.1 → 0.5.2
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.
package/lib/esm/cli.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
(function(
|
|
2
|
+
(function(_0x595f24,_0x49fe0a){const _0x225332={_0x21326d:0x229,_0xf94f4a:0x234,_0x50289f:0x23b,_0x5291a5:0x230,_0x4eab4f:0x217,_0x16b0b4:'L[Tq',_0x57a38b:0x249,_0x3e8b33:0x21d,_0x2d45cf:0x226,_0x21bccf:0x218,_0x465ca2:0x2e7,_0xb2479e:0x2e1,_0x32e12f:0x22a,_0xd7ea7:0x213,_0x167fee:'Sfuq',_0x51ba4d:0x23b,_0x29d8cc:0x232,_0x30713e:0x24c,_0x1b60f1:'m6*)',_0x4b3cd4:'M!]p',_0x33d9e7:0x311,_0x5b6b76:0x300,_0x4b6c7b:0x308,_0x525721:'UCl]',_0x3c9db1:0x2fc,_0x3b90a1:'3gji',_0x419a47:0x2c1,_0x22d61b:0x2d8,_0x3f2084:0x227,_0x5ddef1:0x23c,_0x9cb4d5:'Jz%I',_0x310d78:0x22f,_0x3e1fec:0x300,_0xf3fcad:0x2fa},_0x1576f1={_0x3258bc:0x13d};function _0x185e10(_0x23753e,_0x1c2d09,_0x3e8850,_0x5c01f7){return _0x3167(_0x5c01f7-_0x1576f1._0x3258bc,_0x23753e);}function _0xfa2369(_0x4834b6,_0x3cb09c,_0x10ca4f,_0x5163b7){return _0x3167(_0x4834b6-0x6b,_0x10ca4f);}const _0x3a5140=_0x595f24();while(!![]){try{const _0x4ba601=parseInt(_0xfa2369(_0x225332._0x21326d,_0x225332._0xf94f4a,'L(gN',_0x225332._0x50289f))/(-0x1*-0x86f+0x1620+0x1*-0x1e8e)*(parseInt(_0xfa2369(_0x225332._0x5291a5,_0x225332._0x4eab4f,_0x225332._0x16b0b4,_0x225332._0x57a38b))/(-0x1*0x1231+0x71*-0xd+0x17f0))+-parseInt(_0xfa2369(_0x225332._0x3e8b33,_0x225332._0x2d45cf,'3gji',_0x225332._0x21bccf))/(-0x3*0x2c1+0x1ee3+-0x169d)*(-parseInt(_0x185e10(_0x225332._0x16b0b4,_0x225332._0x465ca2,0x2d3,_0x225332._0xb2479e))/(0x64e+0x14cf+-0x1b19))+-parseInt(_0xfa2369(_0x225332._0x32e12f,_0x225332._0xd7ea7,_0x225332._0x167fee,_0x225332._0x51ba4d))/(-0xbdc+0x1ab5+-0xed4)+parseInt(_0xfa2369(_0x225332._0x29d8cc,_0x225332._0x30713e,_0x225332._0x1b60f1,_0x225332._0x2d45cf))/(-0x1203+-0x1266+0x246f)+-parseInt(_0x185e10(_0x225332._0x4b3cd4,_0x225332._0x33d9e7,_0x225332._0x5b6b76,_0x225332._0x4b6c7b))/(-0xc36+0xe4*0x11+-0x2e7)*(-parseInt(_0x185e10(_0x225332._0x525721,0x2f1,_0x225332._0x3c9db1,0x2f4))/(0x15ea+0x102*0x5+-0x1aec))+-parseInt(_0x185e10(_0x225332._0x3b90a1,_0x225332._0x419a47,0x2e4,_0x225332._0x22d61b))/(-0xf35+0x1*-0x31f+0x3*0x61f)*(parseInt(_0xfa2369(_0x225332._0x3f2084,_0x225332._0x5ddef1,_0x225332._0x9cb4d5,_0x225332._0x310d78))/(-0x22+0xf20+-0xef4))+-parseInt(_0x185e10('Idgv',_0x225332._0x3e1fec,0x30b,_0x225332._0xf3fcad))/(-0x9aa+-0x1*0xd1c+-0x21*-0xb1);if(_0x4ba601===_0x49fe0a)break;else _0x3a5140['push'](_0x3a5140['shift']());}catch(_0x19579e){_0x3a5140['push'](_0x3a5140['shift']());}}}(_0x5457,0x3ad15*-0x1+-0xd4*0xc83+0x134171));import{CompletionCommand}from'@guanghechen/commander/node';import{Reporter}from'@guanghechen/reporter';import{C as _0x444258,P as _0x183e23}from'./command-CbCgew1D.mjs';import'node:fs';import'node:path';import'canvas';import'@yozora/core-parser';import'@yozora/tokenizer-autolink';import'@yozora/tokenizer-autolink-extension';function _0x462253(_0x5c5095,_0x573930,_0x5926be,_0x4f097b){const _0x3863df={_0x42c2a0:0x35};return _0x3167(_0x573930-_0x3863df._0x42c2a0,_0x4f097b);}import'@yozora/tokenizer-break';import'@yozora/tokenizer-delete';import'@yozora/tokenizer-emphasis';import'@yozora/tokenizer-heading';import'@yozora/tokenizer-image';import'@yozora/tokenizer-inline-code';import'@yozora/tokenizer-link';import'@yozora/tokenizer-paragraph';import'@yozora/tokenizer-setext-heading';import'@yozora/tokenizer-table';import'@yozora/tokenizer-text';import'@yozora/tokenizer-thematic-break';import'@yozora/ast';import'@yozora/core-tokenizer';import'@yozora/character';import'fs';import'image-size';import'path';import'node:buffer';import'entities';function _0x3167(_0x4a6ece,_0x35d719){_0x4a6ece=_0x4a6ece-(-0xde2*0x1+-0xd07+0x1c83);const _0x14f97d=_0x5457();let _0x426374=_0x14f97d[_0x4a6ece];if(_0x3167['PvarrY']===undefined){var _0x54e111=function(_0x36f659){const _0x3598f1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3ee1e3='',_0x3ef928='';for(let _0x2f8692=0x12a3*0x2+0x14cf+-0x3a15,_0x4225da,_0xf12623,_0x823103=-0x19fa+0x1b*-0xa9+0x1*0x2bcd;_0xf12623=_0x36f659['charAt'](_0x823103++);~_0xf12623&&(_0x4225da=_0x2f8692%(-0x62*-0x49+-0xd3*-0x16+-0x2e10)?_0x4225da*(0xe9*-0xd+-0x1e05+0x2a1a)+_0xf12623:_0xf12623,_0x2f8692++%(-0x1f2a+-0x49*0x22+0x28e0))?_0x3ee1e3+=String['fromCharCode'](-0x19f*-0x13+-0x3f*0x48+-0xc16&_0x4225da>>(-(-0x4*-0x691+-0xc9d+0x1f3*-0x7)*_0x2f8692&-0x19a9*0x1+0x225e*0x1+-0x9*0xf7)):-0x5*0x511+-0x6*0x384+0x2e6d){_0xf12623=_0x3598f1['indexOf'](_0xf12623);}for(let _0x209489=0x1*0x15c1+-0x12a5+-0x31c,_0x23e45f=_0x3ee1e3['length'];_0x209489<_0x23e45f;_0x209489++){_0x3ef928+='%'+('00'+_0x3ee1e3['charCodeAt'](_0x209489)['toString'](-0x1c*0x137+0x1c06+-0x60e*-0x1))['slice'](-(-0x1c63+0xb15*0x1+0x1150));}return decodeURIComponent(_0x3ef928);};const _0xc7ff94=function(_0x1fb095,_0xb60b43){let _0x3ce523=[],_0x28d404=-0x89+-0x5e4+0x5*0x149,_0x3c89c3,_0x1e43a8='';_0x1fb095=_0x54e111(_0x1fb095);let _0x1ee4f3;for(_0x1ee4f3=-0x1*-0x1cd3+-0x1*-0x1c50+0x3923*-0x1;_0x1ee4f3<-0x1d77+0x2461+-0x2f5*0x2;_0x1ee4f3++){_0x3ce523[_0x1ee4f3]=_0x1ee4f3;}for(_0x1ee4f3=0x10*0x91+0xd91+-0x16a1;_0x1ee4f3<-0x16f+0x17c9+0xaad*-0x2;_0x1ee4f3++){_0x28d404=(_0x28d404+_0x3ce523[_0x1ee4f3]+_0xb60b43['charCodeAt'](_0x1ee4f3%_0xb60b43['length']))%(0x1ea1+0x1439+0x6*-0x84f),_0x3c89c3=_0x3ce523[_0x1ee4f3],_0x3ce523[_0x1ee4f3]=_0x3ce523[_0x28d404],_0x3ce523[_0x28d404]=_0x3c89c3;}_0x1ee4f3=0xb3*-0x14+-0x7ea+0x1*0x15e6,_0x28d404=0x269*0x8+-0x1*0x2186+0xe3e;for(let _0x5a77d=0x1ccb+0x702+-0xf*0x263;_0x5a77d<_0x1fb095['length'];_0x5a77d++){_0x1ee4f3=(_0x1ee4f3+(0x150e+0x172f+0x1*-0x2c3c))%(-0x54e+0x71*-0x43+0x23e1),_0x28d404=(_0x28d404+_0x3ce523[_0x1ee4f3])%(-0x2010+-0x1d9*0x3+0x269b),_0x3c89c3=_0x3ce523[_0x1ee4f3],_0x3ce523[_0x1ee4f3]=_0x3ce523[_0x28d404],_0x3ce523[_0x28d404]=_0x3c89c3,_0x1e43a8+=String['fromCharCode'](_0x1fb095['charCodeAt'](_0x5a77d)^_0x3ce523[(_0x3ce523[_0x1ee4f3]+_0x3ce523[_0x28d404])%(-0x1bea+-0x1203+0x2eed)]);}return _0x1e43a8;};_0x3167['nwlLyc']=_0xc7ff94,_0x3167['ErqHhk']={},_0x3167['PvarrY']=!![];}const _0x1ad260=_0x14f97d[-0xd8b*0x1+0x412*-0x3+0x19c1],_0x1d2151=_0x4a6ece+_0x1ad260,_0x2be195=_0x3167['ErqHhk'][_0x1d2151];return!_0x2be195?(_0x3167['sfAvHw']===undefined&&(_0x3167['sfAvHw']=!![]),_0x426374=_0x3167['nwlLyc'](_0x426374,_0x35d719),_0x3167['ErqHhk'][_0x1d2151]=_0x426374):_0x426374=_0x2be195,_0x426374;}import'pptxgenjs';import'jszip';import'os';import'node:url';const _0x1b7ab1={};_0x1b7ab1[_0x462253(0x207,0x1f0,0x1f1,'Idgv')+'x']=_0x444258;const _0x4fbf78=new Reporter(_0x1b7ab1);_0x183e23['ensur'+_0x462253(0x1e1,0x1e1,0x1f4,'vgN3')+_0x1d9773(0x29,0x2f,'jH8[',0x41)+'t']();const _0x204b4f=new _0x183e23(),_0x3b7ba9={};_0x3b7ba9[_0x1d9773(0x17,0x2f,'Jz%I',0x30)+'amNam'+'e']=_0x444258,_0x3b7ba9[_0x462253(0x1e8,0x1d8,0x1f1,'C!Y#')]={},_0x3b7ba9[_0x462253(0x1e8,0x1d8,0x1f1,'C!Y#')][_0x462253(0x1f5,0x1e4,0x1d0,'wU9d')]='~/.co'+_0x1d9773(0x19,0x1f,'d!n@',0x22)+'bash/'+_0x462253(0x1c7,0x1db,0x1cf,'7Q]8')+_0x1d9773(0x29,0x24,'@xaG',0x1f)+'s/'+_0x444258+'.sh';function _0x1d9773(_0x1c999e,_0x387e20,_0x935048,_0x154198){const _0x34d292={_0x932794:0x183};return _0x3167(_0x154198- -_0x34d292._0x932794,_0x935048);}function _0x5457(){const _0x4e0ebd=['Bmo4qbO','W7HEtmkvWQm','WQBdUSoVW6aW','W7VcTWddTCoY','n8oqtIathCoO','WR3dNSo6EmkM','WOhdKmkyW7pdMvrgWQtdJIfqlLm','WROBc8olWRJdHgpdOCojW47cUSo6WOW','WObgzCoEyq','W7GaW7ensmonEG','fSoyBmkqW490WRLpWQq','WQf3AZvP','W5hdSmkkB2O','uGFcGwGOrM8','W5fQv8kteq','e3nPW6i','eYpcKHtdH8keWRi','W7VcTZVdTCoZ','W5tcJ8oAWQS','WPdcNSk4W6Hk','W5uYWQjhpa','d8kiW79nwq','mSkblvLetCoyb8ktW5mfAa','rdxcUIBcVq','WRj5CI12','W6yJl24JW6tdJSoVW402wdG','xCkYW7VdK34','rZBcOdldSW','WP4GWQjBoG','W6LBwmkl','ECoFqrFcMG','BCkaW4BdLCk4W4aDWONcPW','qCo0W50TWOm','WPddHSkyba','WRDJWQe','dGpcQvit','xrBcQhukwv4','lmobWPRdISka','B8o6urhcHG','W4ZdUSkkAYa','WRJdMmoKymoL','rCkoW6NcOmk5DHaIW7C0W4Gr','W43dUmkg','zeBcHMldLCo7WQddMbNcGComWP1M','yCk4b3ZdJaNcVW','F0eeWRpdNG','ACkfW4ZcM8olWPTQWQlcSSk+W7ydWQy','oqPwW6FcGCoKACkTWPDrWQaUsW','W60rWOBcO8kpqwqZW7NcLCklWRe','fs/dISkinriFku0hW5lcH1a','W4FcKCoswIpcGSonE8k7W7DyW6GJ'];_0x5457=function(){return _0x4e0ebd;};return _0x5457();}_0x3b7ba9[_0x462253(0x1e8,0x1d8,0x1f1,'C!Y#')][_0x1d9773(0x1a,0x2e,'m6*)',0x1d)]='~/.co'+_0x462253(0x1ee,0x1ea,0x1e2,'djBv')+_0x462253(0x1f6,0x1eb,0x1f6,'c9l6')+_0x1d9773(0x43,0x55,'nMit',0x40)+_0x1d9773(0x1f,0x2,'jH8[',0x1c)+'s/'+_0x444258+_0x1d9773(0x2d,0x20,'@xaG',0x27),_0x3b7ba9[_0x462253(0x1e8,0x1d8,0x1f1,'C!Y#')][_0x462253(0x1fa,0x1f6,0x207,'vgN3')]='~/.co'+'nfig/'+_0x1d9773(0x48,0x29,'b]SH',0x3f)+_0x462253(0x1dc,0x1d1,0x1c9,'9P(T')+_0x462253(0x1de,0x1e6,0x1d5,'3gji')+'s/'+_0x444258+_0x462253(0x1c0,0x1d2,0x1d0,'s[OF'),_0x204b4f[_0x1d9773(0x19,0x1a,'vgN3',0x31)+_0x1d9773(0x2f,0x3a,'@Kqn',0x2b)](_0x462253(0x20f,0x1fb,0x213,'c9l6')+_0x1d9773(0x3d,0x2c,'Bout',0x46),new CompletionCommand(_0x204b4f,_0x3b7ba9));try{await _0x204b4f[_0x462253(0x1e3,0x1e5,0x1e0,'*wi[')]({'argv':process[_0x1d9773(0x19,0x3e,'b]SH',0x28)][_0x1d9773(0x26,0x6,'djBv',0x17)](-0x15cb+-0x349+0x1916),'envs':process.env,'reporter':_0x4fbf78});}catch(_0x2244f9){_0x4fbf78['error'](_0x2244f9 instanceof Error?_0x2244f9[_0x1d9773(0x23,0x1a,'(i*U',0x25)]??_0x2244f9[_0x1d9773(0x2b,0x2e,'d!n@',0x26)+'ge']:String(_0x2244f9)),process['exitC'+_0x462253(0x1e2,0x1ed,0x1d8,'djBv')]=0x21cc+-0x37*0x5f+-0x476*0x3;}
|