@univerjs-pro/docs-print 0.20.1 → 0.21.0-insiders.20260422-d7fcb4d
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/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x495728=_0x59dd;function _0x32e2(){const _0x466e33=['620542zipoJI','translate','OPERATION','scale','ICommandService','object','getConfig','100%','min','IConfigService','length','_addComponent','UNIVER_DOC','Disposable','_componentManager','default','disposeWithMe','getContext','parseInt','toPrimitive','render','Plugin','PrintDirection','merge','_renderManagerService','pages','string','get','position','getInterceptPoints','CommandType','getDocFeatureLimit','docs.operation.print','isPro','setContainer','getSkeleton','getOwnPropertyDescriptor','fetchThroughInterceptors','_menuManagerService','Inject','_configService','register','DependentOn','_univerInstanceService','MenuItemType','_unitId','_calculateLayout','VIEWPORT_KEY','width','2214136pqroSI','Render\x20is\x20not\x20found','DOCS_PRINT_PLUGIN_CONFIG_KEY','Injector','0.20.1','mergeMenu','getUnit','absolute','DocPrintInterceptorService','function','onbeforeprint','_container','Portrait','_paperSize','PRINTING_DOM_COLLECT','CanvasRenderMode','Documents','5302881vOkoWl','_initCommands','toStringTag','_key','133604gHhiVp','PRINT_CONTAINER_CLASS','print','IUniverInstanceService','addObject','setId','onafterprint','print.menu','OTHERS','iterator','SwitchDocModeCommand','DocumentFlavor','_root','pageHeight','UNIVER_DOCS_PRINT','TRADITIONAL','defineProperty','Skeleton\x20data\x20is\x20not\x20found','className','right','IMenuManagerService','Printing','root','mainComponent','_commandService','isFeatureAuthorizedWithinTime','_skeletonData','getRenderById','getUnitId','UniverInstanceType','_addViewport','0px','syncExecuteCommand','onStarting','getSkeletonData','generateRandomId','with','IRenderManagerService','removeChild','_engine','_initMenus','version','IGlobalZoneService','documentFlavor','_config','page','getCurrentUnitOfType','save','packageName','dispose','406128NKFgUJ','pageWidth','DocPrintOperation','pluginName','_skeleton','getCanvas','div','onReady','VIEW_MAIN','restore','mpn','PrintIcon','PRINT_CANVAS_CLASS','top','createPrintStyle','makeForceDirty','prepare','_effects','symbol','138HSbOkk','style','_initComponents','left','height','forEach','_scene','makeDirty','15XbMSWx','_documents','prototype','setConfig','constructor','_viewMain','fill','valid','DocSkeletonManagerService','_currentRender','Engine','call','Viewport','getDocumentStyle','updateScrollVal','body','interceptor','_injector','DocumentDataModel\x20is\x20not\x20found','appendChild','_initRenderer','registerDependencies','268751nCwyyV','getOffsetConfig','type','_page','createElement','container','3995145TsAvEI'];_0x32e2=function(){return _0x466e33;};return _0x32e2();}(function(_0x3cdcff,_0x174aee){const _0x2b2941=_0x59dd,_0x1536c5=_0x3cdcff();while(!![]){try{const _0xf9ff1f=parseInt(_0x2b2941(0xd3))/0x1+parseInt(_0x2b2941(0x119))/0x2*(-parseInt(_0x2b2941(0xb6))/0x3)+-parseInt(_0x2b2941(0x104))/0x4+-parseInt(_0x2b2941(0xd2))/0x5+parseInt(_0x2b2941(0xae))/0x6*(parseInt(_0x2b2941(0xcc))/0x7)+parseInt(_0x2b2941(0x14b))/0x8+parseInt(_0x2b2941(0x115))/0x9;if(_0xf9ff1f===_0x174aee)break;else _0x1536c5['push'](_0x1536c5['shift']());}catch(_0x55c9fe){_0x1536c5['push'](_0x1536c5['shift']());}}}(_0x32e2,0x6f917),Object[_0x495728(0x129)](exports,Symbol[_0x495728(0x117)],{'value':'Module'}));let e=require(`@univerjs/core`),t=require(`@univerjs/docs-ui`),n=require(`@univerjs/engine-render`),r=require(`@univerjs-pro/license`),i=require(`@univerjs-pro/print`),a=require(`@univerjs/docs`),o=require(`@univerjs/ui`),s=require(`@univerjs/network`),c=require(`@univerjs/icons`);function l(_0x18ffca){'@babel/helpers - typeof';const _0x4597aa=_0x495728;return l=typeof Symbol==_0x4597aa(0x10d)&&typeof Symbol[_0x4597aa(0x122)]==_0x4597aa(0xad)?function(_0x197459){return typeof _0x197459;}:function(_0x14dfd6){const _0x1a239d=_0x4597aa;return _0x14dfd6&&typeof Symbol=='function'&&_0x14dfd6[_0x1a239d(0xba)]===Symbol&&_0x14dfd6!==Symbol[_0x1a239d(0xb8)]?_0x1a239d(0xad):typeof _0x14dfd6;},l(_0x18ffca);}function u(_0x2b840e,_0x99e134){const _0x530bbb=_0x495728;if(l(_0x2b840e)!=_0x530bbb(0xd8)||!_0x2b840e)return _0x2b840e;var _0x14089b=_0x2b840e[Symbol[_0x530bbb(0xe6)]];if(_0x14089b!==void 0x0){var _0x5a797d=_0x14089b[_0x530bbb(0xc1)](_0x2b840e,_0x99e134||_0x530bbb(0xe2));if(l(_0x5a797d)!=_0x530bbb(0xd8))return _0x5a797d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x99e134===_0x530bbb(0xed)?String:Number)(_0x2b840e);}function _0x59dd(_0x147a5b,_0x253b94){_0x147a5b=_0x147a5b-0x9e;const _0x32e2c6=_0x32e2();let _0x59dd96=_0x32e2c6[_0x147a5b];return _0x59dd96;}function d(_0x4141d8){const _0x506f47=_0x495728;var _0x498fd4=u(_0x4141d8,'string');return l(_0x498fd4)==_0x506f47(0xad)?_0x498fd4:_0x498fd4+'';}function f(_0x42c211,_0x93d3eb,_0x492824){const _0x37970b=_0x495728;return(_0x93d3eb=d(_0x93d3eb))in _0x42c211?Object[_0x37970b(0x129)](_0x42c211,_0x93d3eb,{'value':_0x492824,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x42c211[_0x93d3eb]=_0x492824,_0x42c211;}var p=class extends e[_0x495728(0xe0)]{get[_0x495728(0xd1)](){const _0x481c02=_0x495728;return this[_0x481c02(0x10f)];}get[_0x495728(0x12f)](){const _0x156cc9=_0x495728;return this[_0x156cc9(0x125)];}get['_currentRender'](){const _0x2b71ae=_0x495728;let _0x10c922=this[_0x2b71ae(0xc7)][_0x2b71ae(0xee)](n[_0x2b71ae(0x13e)])['getRenderById'](this[_0x2b71ae(0x100)]);if(!_0x10c922)throw Error(_0x2b71ae(0x105));return _0x10c922;}get[_0x495728(0x9f)](){const _0x28538d=_0x495728;return this[_0x28538d(0xbf)][_0x28538d(0x13d)](a['DocSkeletonManagerService'])[_0x28538d(0xf6)]();}get[_0x495728(0x133)](){const _0x3f7d94=_0x495728;let _0x24ba13=this['_skeleton'][_0x3f7d94(0x13b)]();if(!_0x24ba13)throw Error(_0x3f7d94(0x12a));return _0x24ba13;}get[_0x495728(0x111)](){const _0xc4fd8e=_0x495728;let _0xfc4f7d=this[_0xc4fd8e(0x133)][_0xc4fd8e(0xec)][0x0];return{'width':_0xfc4f7d[_0xc4fd8e(0x14c)],'height':_0xfc4f7d[_0xc4fd8e(0x126)]};}constructor(_0x2a4a68,_0x5d9c17,_0x6078cb,_0x3ec13d){const _0x3e6452=_0x495728;super(),this['_injector']=_0x2a4a68,this[_0x3e6452(0xcf)]=_0x5d9c17,this[_0x3e6452(0x100)]=_0x6078cb,this['_offsetConfig']=_0x3ec13d,f(this,_0x3e6452(0x10f),document[_0x3e6452(0xd0)]('div')),f(this,_0x3e6452(0x125),document[_0x3e6452(0xd0)](_0x3e6452(0xa1))),f(this,'_engine',void 0x0),f(this,_0x3e6452(0xb4),void 0x0),f(this,_0x3e6452(0x118),void 0x0),f(this,_0x3e6452(0xb7),void 0x0),f(this,_0x3e6452(0xbb),void 0x0),f(this,_0x3e6452(0xac),new e['DisposableCollection']()),this[_0x3e6452(0x118)]=(0x0,e[_0x3e6452(0x13c)])(0x4),this[_0x3e6452(0xca)](),this['disposeWithMe']({'dispose':()=>{const _0x18d34a=_0x3e6452;this['_engine'][_0x18d34a(0x14a)](),this[_0x18d34a(0xb4)][_0x18d34a(0x14a)](),this[_0x18d34a(0xac)][_0x18d34a(0x14a)]();}});}['_calculateLayout'](){const _0x2d086a=_0x495728;let {docsTop:_0x280231,docsLeft:_0x52a47f}=this['_documents']['getOffsetConfig'](),_0x1784c=this['_paperSize'][_0x2d086a(0xb2)],_0x58c157=this[_0x2d086a(0x111)][_0x2d086a(0x103)];return{'top':_0x280231+(_0x280231+_0x1784c)*this[_0x2d086a(0xcf)],'bottom':_0x280231+(_0x280231+_0x1784c)*(this['_page']+0x1),'left':_0x52a47f,'right':_0x52a47f+_0x58c157};}['_initRenderer'](){const _0x5df8f7=_0x495728;this['_engine']=new n[(_0x5df8f7(0xc0))]('',{'elementWidth':this[_0x5df8f7(0x111)][_0x5df8f7(0x103)],'elementHeight':this['_paperSize']['height'],'dpr':0x1,'renderMode':n[_0x5df8f7(0x113)][_0x5df8f7(0x12e)]}),this['_scene']=new n['Scene'](this[_0x5df8f7(0x118)],this['_engine']),this[_0x5df8f7(0xb4)][_0x5df8f7(0xd6)](0x1,0x1),this[_0x5df8f7(0x140)][_0x5df8f7(0xf5)](this['_container'],!0x1),this[_0x5df8f7(0x140)][_0x5df8f7(0xa0)]()[_0x5df8f7(0xe4)]()[_0x5df8f7(0x11e)](this[_0x5df8f7(0x118)]+'_'+(0x0,e[_0x5df8f7(0x13c)])(0x4)),this[_0x5df8f7(0xde)](),this[_0x5df8f7(0x137)]();}[_0x495728(0xde)](){const _0x3bc97d=_0x495728;let {pageMarginLeft:_0x5130cd,pageMarginTop:_0x539b80,docsLeft:_0x201f6a,docsTop:_0x5bec10}=this['_offsetConfig'],_0x261a52={'pageMarginLeft':_0x5130cd,'pageMarginTop':_0x539b80},_0x5b43c2=new n[(_0x3bc97d(0x114))]('__DocPrintRender__',this['_skeleton'],_0x261a52);_0x5b43c2[_0x3bc97d(0xd4)](_0x201f6a,_0x5bec10),this[_0x3bc97d(0xb4)][_0x3bc97d(0x11d)](_0x5b43c2),this['_documents']=_0x5b43c2;let _0x492e6c=this[_0x3bc97d(0xc7)][_0x3bc97d(0xee)](t[_0x3bc97d(0x10c)]);_0x492e6c[_0x3bc97d(0xc6)][_0x3bc97d(0xf8)](_0x492e6c[_0x3bc97d(0xc6)][_0x3bc97d(0xf0)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x3bc97d(0x100)],'scene':this[_0x3bc97d(0xb4)],'engine':this[_0x3bc97d(0x140)],'root':this[_0x3bc97d(0x125)],'documents':this[_0x3bc97d(0xb7)],'skeleton':this[_0x3bc97d(0x9f)]});}[_0x495728(0x137)](){const _0x8a6459=_0x495728;this[_0x8a6459(0xbb)]=new n[(_0x8a6459(0xc2))](t[_0x8a6459(0x102)][_0x8a6459(0xa3)],this[_0x8a6459(0xb4)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x495728(0xab)](){const _0x59da78=_0x495728;let _0x162216=this[_0x59da78(0x101)]();this[_0x59da78(0xbb)][_0x59da78(0xc4)]({'viewportScrollX':_0x162216[_0x59da78(0xb1)],'viewportScrollY':_0x162216[_0x59da78(0xa8)]}),this[_0x59da78(0x125)][_0x59da78(0xaf)][_0x59da78(0xef)]=_0x59da78(0x10b),this[_0x59da78(0x125)][_0x59da78(0xaf)][_0x59da78(0xa8)]='0px',this[_0x59da78(0x125)]['style'][_0x59da78(0xb1)]=_0x59da78(0x138),this[_0x59da78(0x125)][_0x59da78(0xaf)][_0x59da78(0x103)]=_0x59da78(0xda),this['_root'][_0x59da78(0xaf)][_0x59da78(0xb2)]=_0x59da78(0xda),this[_0x59da78(0xac)]=new e['DisposableCollection']();let _0x18eea4=this[_0x59da78(0xc7)][_0x59da78(0xee)](t[_0x59da78(0x10c)]);_0x18eea4[_0x59da78(0xc6)]['fetchThroughInterceptors'](_0x18eea4[_0x59da78(0xc6)][_0x59da78(0xf0)]()[_0x59da78(0x112)])(this[_0x59da78(0xac)],{'unitId':this[_0x59da78(0x100)],'scene':this[_0x59da78(0xb4)],'engine':this[_0x59da78(0x140)],'root':this['_root'],'skeleton':this[_0x59da78(0x9f)],'offset':{'x':_0x162216[_0x59da78(0xb1)],'y':_0x162216[_0x59da78(0xa8)]},'bound':{'top':_0x162216[_0x59da78(0xa8)],'left':_0x162216[_0x59da78(0xb1)],'right':_0x162216[_0x59da78(0x12c)],'bottom':_0x162216['bottom']}});}['render'](){const _0x126e6a=_0x495728;let _0x1b1ff5=this[_0x126e6a(0x140)][_0x126e6a(0xa0)]()[_0x126e6a(0xe4)]();this[_0x126e6a(0xb7)][_0x126e6a(0xaa)](),this[_0x126e6a(0xb4)][_0x126e6a(0xb5)](),_0x1b1ff5[_0x126e6a(0x148)](),this['_scene'][_0x126e6a(0xe7)](),_0x1b1ff5[_0x126e6a(0xa4)]();}};function m(_0x13bca4,_0x2061e8){return function(_0x53e3d3,_0x321992){_0x2061e8(_0x53e3d3,_0x321992,_0x13bca4);};}function h(_0x5ec96a,_0x4dd869,_0xf81f12,_0x111908){const _0x5ec906=_0x495728;var _0x5630b4=arguments[_0x5ec906(0xdd)],_0x3fe6a7=_0x5630b4<0x3?_0x4dd869:_0x111908===null?_0x111908=Object[_0x5ec906(0xf7)](_0x4dd869,_0xf81f12):_0x111908,_0x54e80e;if(typeof Reflect==_0x5ec906(0xd8)&&typeof Reflect['decorate']=='function')_0x3fe6a7=Reflect['decorate'](_0x5ec96a,_0x4dd869,_0xf81f12,_0x111908);else{for(var _0x15aa6f=_0x5ec96a[_0x5ec906(0xdd)]-0x1;_0x15aa6f>=0x0;_0x15aa6f--)(_0x54e80e=_0x5ec96a[_0x15aa6f])&&(_0x3fe6a7=(_0x5630b4<0x3?_0x54e80e(_0x3fe6a7):_0x5630b4>0x3?_0x54e80e(_0x4dd869,_0xf81f12,_0x3fe6a7):_0x54e80e(_0x4dd869,_0xf81f12))||_0x3fe6a7);}return _0x5630b4>0x3&&_0x3fe6a7&&Object[_0x5ec906(0x129)](_0x4dd869,_0xf81f12,_0x3fe6a7),_0x3fe6a7;}const g=Number[_0x495728(0xe5)](0x69d9f405),_=(_0x21c5d0,_0x7c9ffe,_0x327d58)=>{const _0x560fb2=_0x495728;let _0x15b99a={'page':_0x21c5d0,'isPro':!0x1,'timeValid':!0x1};if(!_0x7c9ffe||!_0x327d58)return _0x15b99a;let _0x1d4901=(0x0,r['getLicenseInfo'])(_0x7c9ffe,_0x327d58);if(_0x1d4901[_0x560fb2(0xbd)]){let _0x2b1990=_0x1d4901['message'],_0x42960f=(0x0,r[_0x560fb2(0x132)])(_0x2b1990,'df',g);_0x15b99a[_0x560fb2(0xf4)]=_0x42960f,_0x15b99a['timeValid']=_0x42960f,_0x15b99a[_0x560fb2(0x146)]=(0x0,r[_0x560fb2(0xf2)])(_0x2b1990,_0x42960f,_0x560fb2(0xa5),_0x21c5d0,_0x21c5d0,0x0);}return _0x15b99a;};let v=class extends e[_0x495728(0xe0)]{constructor(_0x1a7b48,_0x108c38,_0x3affca,_0x3ce846,_0x5462a6){const _0x50bdfa=_0x495728;super(),this[_0x50bdfa(0xfe)]=_0x1a7b48,this[_0x50bdfa(0xeb)]=_0x108c38,this[_0x50bdfa(0xc7)]=_0x3affca,this[_0x50bdfa(0xfb)]=_0x3ce846,this['_globalZoneService']=_0x5462a6;}[_0x495728(0x11b)](_0x44b8be){const _0x8bbe97=_0x495728;var _0x3186dc,_0x55ea2e;let {ls:_0x36fac8,pbk:_0x60df9d}=(_0x3186dc=this[_0x8bbe97(0xfb)][_0x8bbe97(0xd9)](r['LS_CONFIG_KEY']))==null?{}:_0x3186dc,_0x3ff441=(0x0,r['isLocalCheck'])()?0x1/0x0:_(0x1,_0x36fac8,_0x60df9d)[_0x8bbe97(0x146)];if(!this[_0x8bbe97(0xfe)][_0x8bbe97(0x10a)](_0x44b8be,e[_0x8bbe97(0x136)][_0x8bbe97(0xdf)]))throw Error(_0x8bbe97(0xc8));let _0x3ca0bd=this['_renderManagerService'][_0x8bbe97(0x134)](_0x44b8be);if(!_0x3ca0bd)throw Error(_0x8bbe97(0x105));let _0x573e67=(_0x55ea2e=_0x3ca0bd[_0x8bbe97(0x13d)](a[_0x8bbe97(0xbe)])[_0x8bbe97(0xf6)]()[_0x8bbe97(0x13b)]())==null?void 0x0:_0x55ea2e[_0x8bbe97(0xec)];if(!_0x573e67)throw Error('Pages\x20are\x20not\x20found');let _0x16a0a7={'width':_0x573e67[0x0][_0x8bbe97(0x14c)],'height':_0x573e67[0x0][_0x8bbe97(0x126)]},_0x3081d3=_0x573e67[_0x8bbe97(0xdd)],_0x418877=Math[_0x8bbe97(0xdb)](_0x3ff441,_0x3081d3),_0x5c5aa8=_0x3ca0bd[_0x8bbe97(0x130)][_0x8bbe97(0xcd)](),_0x50bdaa=document[_0x8bbe97(0xd0)]('div');_0x50bdaa['className']=i[_0x8bbe97(0x11a)];let _0x36cd35=Array(_0x418877)[_0x8bbe97(0xbc)](null)['map']((_0x37d9a9,_0xb1853a)=>{const _0x2cef36=_0x8bbe97;let _0x5c3eb0=new p(this[_0x2cef36(0xc7)],_0xb1853a,_0x44b8be,_0x5c5aa8);return _0x5c3eb0[_0x2cef36(0xd1)][_0x2cef36(0x12b)]=i[_0x2cef36(0xa7)],_0x5c3eb0;});_0x36cd35['forEach'](_0x48c69f=>{const _0x502147=_0x8bbe97;_0x50bdaa[_0x502147(0xc9)](_0x48c69f[_0x502147(0xd1)]),_0x48c69f['container'][_0x502147(0xc9)](_0x48c69f['root']),_0x48c69f[_0x502147(0xab)]();});let _0x16c586=(0x0,i[_0x8bbe97(0xa9)])(_0x16a0a7['width'],_0x16a0a7['height'],i[_0x8bbe97(0xe9)][_0x8bbe97(0x110)]);return document['body']['appendChild'](_0x16c586),document['body']['appendChild'](_0x50bdaa),new Promise(_0x5348e1=>{setTimeout(()=>{const _0x36c69a=_0x59dd;window[_0x36c69a(0x10e)]=()=>{const _0xfbd1c1=_0x36c69a;_0x36cd35[_0xfbd1c1(0xb3)](_0x135726=>{const _0xef839e=_0xfbd1c1;_0x135726[_0xef839e(0xe7)]();});},window[_0x36c69a(0x11f)]=()=>{const _0x4bb4b6=_0x36c69a;_0x36cd35['forEach'](_0x4c79db=>{const _0x24db41=_0x59dd;_0x4c79db[_0x24db41(0x14a)]();}),document[_0x4bb4b6(0xc5)][_0x4bb4b6(0x13f)](_0x50bdaa),document[_0x4bb4b6(0xc5)][_0x4bb4b6(0x13f)](_0x16c586),this['_globalZoneService']['close'](),_0x5348e1(!0x0);},window[_0x36c69a(0x11b)]();},0x64);});}};v=h([m(0x0,e[_0x495728(0x11c)]),m(0x1,n[_0x495728(0x13e)]),m(0x2,(0x0,e[_0x495728(0xfa)])(e[_0x495728(0x107)])),m(0x3,e[_0x495728(0xdc)]),m(0x4,o[_0x495728(0x143)])],v);const y={'id':_0x495728(0xf3),'type':e[_0x495728(0xf1)][_0x495728(0xd5)],'handler':async _0x4610eb=>{const _0x12713e=_0x495728;let _0x1e9e0a=_0x4610eb[_0x12713e(0xee)](e[_0x12713e(0x11c)]),_0x272da4=_0x4610eb[_0x12713e(0xee)](v),_0x3f3934=_0x4610eb[_0x12713e(0xee)](n[_0x12713e(0x13e)]),_0x69d843=_0x4610eb[_0x12713e(0xee)](e[_0x12713e(0xd7)]),_0x2d2b6a=_0x1e9e0a[_0x12713e(0x147)](e[_0x12713e(0x136)][_0x12713e(0xdf)]);if(!_0x2d2b6a)return!0x1;if(!_0x3f3934[_0x12713e(0x134)](_0x2d2b6a[_0x12713e(0x135)]()))throw Error(_0x12713e(0x105));let _0xacef7d=_0x2d2b6a[_0x12713e(0xc3)]()[_0x12713e(0x144)];return _0xacef7d!==e[_0x12713e(0x124)][_0x12713e(0x128)]&&_0x69d843['syncExecuteCommand'](t[_0x12713e(0x123)]['id']),await _0x272da4['print'](_0x2d2b6a[_0x12713e(0x135)]()),_0xacef7d!==e[_0x12713e(0x124)]['TRADITIONAL']&&_0x69d843[_0x12713e(0x139)](t[_0x12713e(0x123)]['id']),!0x0;}},b=_0x495728(0x127),x={};var S='@univerjs-pro/docs-print',C=_0x495728(0x108);function w(_0x2eb546){const _0x42de49=_0x495728;return{'id':y['id'],'type':o[_0x42de49(0xff)]['BUTTON'],'title':_0x42de49(0x120),'icon':_0x42de49(0xa6),'tooltip':'print.menu','hidden$':(0x0,o['getMenuHiddenObservable'])(_0x2eb546,e['UniverInstanceType'][_0x42de49(0xdf)])};}const T={[o['RibbonStartGroup'][_0x495728(0x121)]]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x495728(0xe0)]{constructor(_0x48af5e,_0xae97fe,_0x4ec98e){const _0x445470=_0x495728;super(),this[_0x445470(0x131)]=_0x48af5e,this[_0x445470(0xf9)]=_0xae97fe,this['_componentManager']=_0x4ec98e,this[_0x445470(0x141)](),this[_0x445470(0x116)](),this[_0x445470(0xb0)]();}['_initMenus'](){const _0x1353a4=_0x495728;this[_0x1353a4(0xf9)][_0x1353a4(0x109)](T);}[_0x495728(0x116)](){const _0x158201=_0x495728;this[_0x158201(0xe3)](this[_0x158201(0x131)]['registerCommand'](y));}['_initComponents'](){const _0x4247aa=_0x495728;[[_0x4247aa(0xa6),c['PrintIcon']]][_0x4247aa(0xb3)](([_0x353180,_0x4796e6])=>{const _0xf42b7d=_0x4247aa;this[_0xf42b7d(0xe1)][_0xf42b7d(0xfc)](_0x353180,_0x4796e6);});}};E=h([m(0x0,e[_0x495728(0xd7)]),m(0x1,o[_0x495728(0x12d)]),m(0x2,(0x0,e[_0x495728(0xfa)])(o['ComponentManager']))],E);let D=class extends e[_0x495728(0xe8)]{constructor(_0x557cf=x,_0x1a1501,_0x2e5bb3){const _0x4fbaa3=_0x495728;super(),this[_0x4fbaa3(0x145)]=_0x557cf,this['_injector']=_0x1a1501,this['_configService']=_0x2e5bb3;let {menu:_0x3caa51,..._0x4488b2}=(0x0,e[_0x4fbaa3(0xea)])({},x,this['_config']);_0x3caa51&&this[_0x4fbaa3(0xfb)]['setConfig']('menu',_0x3caa51,{'merge':!0x0}),this[_0x4fbaa3(0xfb)][_0x4fbaa3(0xb9)](b,_0x4488b2);}[_0x495728(0x13a)](){const _0x15cb6e=_0x495728;(0x0,e[_0x15cb6e(0xcb)])(this[_0x15cb6e(0xc7)],[[v],[E]]);}[_0x495728(0xa2)](){this['_injector']['get'](E);}};f(D,_0x495728(0x9e),_0x495728(0x127)),f(D,_0x495728(0x149),S),f(D,_0x495728(0x142),C),f(D,_0x495728(0xce),e[_0x495728(0x136)][_0x495728(0xdf)]),D=h([(0x0,e[_0x495728(0xfd)])(s['UniverNetworkPlugin'],r['UniverLicensePlugin']),m(0x1,(0x0,e[_0x495728(0xfa)])(e['Injector'])),m(0x2,e[_0x495728(0xdc)])],D),exports[_0x495728(0x106)]=b,exports[_0x495728(0x14d)]=y,Object[_0x495728(0x129)](exports,'UniverDocsPrintPlugin',{'enumerable':!0x0,'get':function(){return D;}});
|
|
1
|
+
const _0x43f9ff=_0x3e1e;(function(_0x54775d,_0x6c455d){const _0x497aba=_0x3e1e,_0xa91b37=_0x54775d();while(!![]){try{const _0x13396c=parseInt(_0x497aba(0x9f))/0x1+-parseInt(_0x497aba(0xb3))/0x2*(parseInt(_0x497aba(0xdd))/0x3)+parseInt(_0x497aba(0x128))/0x4*(parseInt(_0x497aba(0xe9))/0x5)+-parseInt(_0x497aba(0x12b))/0x6+parseInt(_0x497aba(0xaa))/0x7+parseInt(_0x497aba(0x103))/0x8+parseInt(_0x497aba(0xf4))/0x9;if(_0x13396c===_0x6c455d)break;else _0xa91b37['push'](_0xa91b37['shift']());}catch(_0x2220c8){_0xa91b37['push'](_0xa91b37['shift']());}}}(_0x42cf,0x85477),Object[_0x43f9ff(0xa4)](exports,Symbol[_0x43f9ff(0xbb)],{'value':_0x43f9ff(0x102)}));let _univerjs_core=require('@univerjs/core'),_univerjs_docs_ui=require('@univerjs/docs-ui'),_univerjs_engine_render=require('@univerjs/engine-render'),_univerjs_pro_license=require('@univerjs-pro/license'),_univerjs_pro_print=require('@univerjs-pro/print'),_univerjs_docs=require('@univerjs/docs'),_univerjs_ui=require('@univerjs/ui'),_univerjs_network=require('@univerjs/network'),_univerjs_icons=require('@univerjs/icons');function _typeof(_0x44d170){'@babel/helpers - typeof';const _0x2af51c=_0x43f9ff;return _typeof=_0x2af51c(0xbd)==typeof Symbol&&_0x2af51c(0x8d)==typeof Symbol[_0x2af51c(0xbe)]?function(_0x282c8a){return typeof _0x282c8a;}:function(_0x47e2ca){const _0x102a28=_0x2af51c;return _0x47e2ca&&_0x102a28(0xbd)==typeof Symbol&&_0x47e2ca[_0x102a28(0x119)]===Symbol&&_0x47e2ca!==Symbol[_0x102a28(0x137)]?_0x102a28(0x8d):typeof _0x47e2ca;},_typeof(_0x44d170);}function toPrimitive(_0x94f9d1,_0x4d1b36){const _0x70ca88=_0x43f9ff;if('object'!=_typeof(_0x94f9d1)||!_0x94f9d1)return _0x94f9d1;var _0x237677=_0x94f9d1[Symbol[_0x70ca88(0xae)]];if(void 0x0!==_0x237677){var _0x71994c=_0x237677[_0x70ca88(0xdb)](_0x94f9d1,_0x4d1b36||'default');if('object'!=_typeof(_0x71994c))return _0x71994c;throw new TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x70ca88(0x109)===_0x4d1b36?String:Number)(_0x94f9d1);}function _0x42cf(){const _0x3a43ea=['14649507zlOXtY','merge','_container','top','IGlobalZoneService','setId','0px','_initComponents','UniverInstanceType','pageWidth','mergeMenu','Engine','getRenderById','print','Module','2555232jXuqlw','100%','DocumentFlavor','Disposable','_componentManager','bottom','string','DocSkeletonManagerService','Pages\x20are\x20not\x20found','_page','0.21.0-insiders.20260422-d7fcb4d','_currentRender','_unitId','IUniverInstanceService','scale','object','UNIVER_DOCS_PRINT','_configService','UNIVER_DOC','removeChild','_paperSize','_skeleton','constructor','VIEW_MAIN','message','registerCommand','onafterprint','_scene','PRINTING_DOM_COLLECT','div','PRINTING_COMPONENT_COLLECT','fill','createElement','DocPrintOperation','pageHeight','UniverDocsPrintPlugin','with','12OREytD','DocPrintInterceptorService','left','5540220SnCDGg','className','prepare','UniverLicensePlugin','page','_engine','_univerInstanceService','_globalZoneService','_commandService','root','CommandType','generateRandomId','prototype','timeValid','height','getDocFeatureLimit','getConfig','MenuItemType','symbol','__DocPrintRender__','getSkeletonData','disposeWithMe','ComponentManager','_effects','map','fetchThroughInterceptors','Portrait','getOffsetConfig','parseInt','pages','style','Viewport','setContainer','getMenuHiddenObservable','getCurrentUnitOfType','getSkeleton','295066GfCIEZ','IRenderManagerService','Injector','_calculateLayout','get','defineProperty','_renderManagerService','Inject','render','Plugin','interceptor','104440WttsYs','IMenuManagerService','isPro','position','toPrimitive','documentFlavor','packageName','translate','TRADITIONAL','4MbrssU','_addViewport','DOCS_PRINT_PLUGIN_CONFIG_KEY','docs.operation.print','absolute','Render\x20is\x20not\x20found','min','decorate','toStringTag','_key','function','iterator','LS_CONFIG_KEY','Documents','mpn','syncExecuteCommand','appendChild','container','VIEWPORT_KEY','_initMenus','IConfigService','valid','DependentOn','_documents','isFeatureAuthorizedWithinTime','body','_addComponent','makeDirty','RibbonStartGroup','dispose','register','PRINT_CONTAINER_CLASS','mainComponent','_initCommands','_skeletonData','print.menu','_menuManagerService','width','getUnit','PrintIcon','call','_initRenderer','1605729VWKGAO','setConfig','ICommandService','_root','length','getCanvas','getOwnPropertyDescriptor','Printing','getDocumentStyle','getContext','_offsetConfig','makeForceDirty','471090LQJCYj','DocumentDataModel\x20is\x20not\x20found','DisposableCollection','BUTTON','forEach','Scene','getLicenseInfo','_injector','_viewMain','UniverNetworkPlugin','PrintDirection'];_0x42cf=function(){return _0x3a43ea;};return _0x42cf();}function toPropertyKey(_0x53af76){const _0x5ed6a1=_0x43f9ff;var _0x985bf9=toPrimitive(_0x53af76,_0x5ed6a1(0x109));return _0x5ed6a1(0x8d)==_typeof(_0x985bf9)?_0x985bf9:_0x985bf9+'';}function _defineProperty(_0x4c53cc,_0x20b4b2,_0x300a7c){const _0x104941=_0x43f9ff;return(_0x20b4b2=toPropertyKey(_0x20b4b2))in _0x4c53cc?Object[_0x104941(0xa4)](_0x4c53cc,_0x20b4b2,{'value':_0x300a7c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4c53cc[_0x20b4b2]=_0x300a7c,_0x4c53cc;}var DocPrintPageCanvasView=class extends _univerjs_core['Disposable']{get['container'](){const _0x6472c2=_0x43f9ff;return this[_0x6472c2(0xf6)];}get[_0x43f9ff(0x134)](){const _0x41986f=_0x43f9ff;return this[_0x41986f(0xe0)];}get['_currentRender'](){const _0x26d9d5=_0x43f9ff,_0x2af121=this[_0x26d9d5(0xf0)][_0x26d9d5(0xa3)](_univerjs_engine_render[_0x26d9d5(0xa0)])[_0x26d9d5(0x100)](this['_unitId']);if(!_0x2af121)throw new Error('Render\x20is\x20not\x20found');return _0x2af121;}get[_0x43f9ff(0x118)](){const _0x11c257=_0x43f9ff;return this[_0x11c257(0x10e)][_0x11c257(0x127)](_univerjs_docs[_0x11c257(0x10a)])[_0x11c257(0x9e)]();}get[_0x43f9ff(0xd5)](){const _0x52ae5a=this['_skeleton']['getSkeletonData']();if(!_0x52ae5a)throw new Error('Skeleton\x20data\x20is\x20not\x20found');return _0x52ae5a;}get[_0x43f9ff(0x117)](){const _0x39294e=_0x43f9ff,_0xc1fc9b=this[_0x39294e(0xd5)]['pages'][0x0];return{'width':_0xc1fc9b[_0x39294e(0xfd)],'height':_0xc1fc9b[_0x39294e(0x125)]};}constructor(_0x5a72f4,_0x4327e4,_0x41a74a,_0x587739){const _0x4fc859=_0x43f9ff;super(),this['_injector']=_0x5a72f4,this[_0x4fc859(0x10c)]=_0x4327e4,this[_0x4fc859(0x10f)]=_0x41a74a,this[_0x4fc859(0xe7)]=_0x587739,_defineProperty(this,_0x4fc859(0xf6),document[_0x4fc859(0x123)](_0x4fc859(0x120))),_defineProperty(this,'_root',document[_0x4fc859(0x123)](_0x4fc859(0x120))),_defineProperty(this,_0x4fc859(0x130),void 0x0),_defineProperty(this,_0x4fc859(0x11e),void 0x0),_defineProperty(this,'_key',void 0x0),_defineProperty(this,_0x4fc859(0xca),void 0x0),_defineProperty(this,'_viewMain',void 0x0),_defineProperty(this,_0x4fc859(0x92),new _univerjs_core['DisposableCollection']()),this['_key']=(0x0,_univerjs_core[_0x4fc859(0x136)])(0x4),this[_0x4fc859(0xdc)](),this[_0x4fc859(0x90)]({'dispose':()=>{const _0x5115f4=_0x4fc859;this[_0x5115f4(0x130)][_0x5115f4(0xd0)](),this[_0x5115f4(0x11e)][_0x5115f4(0xd0)](),this[_0x5115f4(0x92)][_0x5115f4(0xd0)]();}});}[_0x43f9ff(0xa2)](){const _0x1baaa0=_0x43f9ff,{docsTop:_0x2399ef,docsLeft:_0x5ef0bd}=this[_0x1baaa0(0xca)][_0x1baaa0(0x96)](),_0x1ef448=this[_0x1baaa0(0x117)][_0x1baaa0(0x139)],_0x338204=this[_0x1baaa0(0x117)][_0x1baaa0(0xd8)];return{'top':_0x2399ef+(_0x2399ef+_0x1ef448)*this[_0x1baaa0(0x10c)],'bottom':_0x2399ef+(_0x2399ef+_0x1ef448)*(this['_page']+0x1),'left':_0x5ef0bd,'right':_0x5ef0bd+_0x338204};}['_initRenderer'](){const _0x4583b8=_0x43f9ff,_0x5ee483=0x1;this[_0x4583b8(0x130)]=new _univerjs_engine_render[(_0x4583b8(0xff))]('',{'elementWidth':this[_0x4583b8(0x117)][_0x4583b8(0xd8)],'elementHeight':this[_0x4583b8(0x117)][_0x4583b8(0x139)],'dpr':0x1,'renderMode':_univerjs_engine_render['CanvasRenderMode'][_0x4583b8(0xe4)]}),this[_0x4583b8(0x11e)]=new _univerjs_engine_render[(_0x4583b8(0xee))](this[_0x4583b8(0xbc)],this[_0x4583b8(0x130)]),this[_0x4583b8(0x11e)][_0x4583b8(0x111)](_0x5ee483,_0x5ee483),this[_0x4583b8(0x130)][_0x4583b8(0x9b)](this[_0x4583b8(0xf6)],![]),this[_0x4583b8(0x130)][_0x4583b8(0xe2)]()[_0x4583b8(0xe6)]()[_0x4583b8(0xf9)](this[_0x4583b8(0xbc)]+'_'+(0x0,_univerjs_core['generateRandomId'])(0x4)),this[_0x4583b8(0xcd)](),this[_0x4583b8(0xb4)]();}[_0x43f9ff(0xcd)](){const _0x44fb44=_0x43f9ff,{pageMarginLeft:_0x4ebcb1,pageMarginTop:_0x16dbef,docsLeft:_0xcdeafe,docsTop:_0x18c3d}=this[_0x44fb44(0xe7)],_0x465504={'pageMarginLeft':_0x4ebcb1,'pageMarginTop':_0x16dbef},_0x4476c1=new _univerjs_engine_render[(_0x44fb44(0xc0))](_0x44fb44(0x8e),this['_skeleton'],_0x465504);_0x4476c1[_0x44fb44(0xb1)](_0xcdeafe,_0x18c3d),this['_scene']['addObject'](_0x4476c1),this[_0x44fb44(0xca)]=_0x4476c1;const _0xf7078c=this[_0x44fb44(0xf0)][_0x44fb44(0xa3)](_univerjs_docs_ui[_0x44fb44(0x129)]);_0xf7078c[_0x44fb44(0xa9)][_0x44fb44(0x94)](_0xf7078c[_0x44fb44(0xa9)]['getInterceptPoints']()[_0x44fb44(0x121)])(void 0x0,{'unitId':this[_0x44fb44(0x10f)],'scene':this[_0x44fb44(0x11e)],'engine':this[_0x44fb44(0x130)],'root':this[_0x44fb44(0xe0)],'documents':this['_documents'],'skeleton':this['_skeleton']});}[_0x43f9ff(0xb4)](){const _0x2b2e44=_0x43f9ff;this[_0x2b2e44(0xf1)]=new _univerjs_engine_render[(_0x2b2e44(0x9a))](_univerjs_docs_ui[_0x2b2e44(0xc5)][_0x2b2e44(0x11a)],this['_scene'],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}[_0x43f9ff(0x12d)](){const _0x26bc3c=_0x43f9ff,_0x5867a8=this[_0x26bc3c(0xa2)]();this['_viewMain']['updateScrollVal']({'viewportScrollX':_0x5867a8[_0x26bc3c(0x12a)],'viewportScrollY':_0x5867a8[_0x26bc3c(0xf7)]}),this[_0x26bc3c(0xe0)]['style'][_0x26bc3c(0xad)]=_0x26bc3c(0xb7),this['_root'][_0x26bc3c(0x99)][_0x26bc3c(0xf7)]=_0x26bc3c(0xfa),this[_0x26bc3c(0xe0)][_0x26bc3c(0x99)]['left']=_0x26bc3c(0xfa),this[_0x26bc3c(0xe0)][_0x26bc3c(0x99)][_0x26bc3c(0xd8)]=_0x26bc3c(0x104),this[_0x26bc3c(0xe0)][_0x26bc3c(0x99)][_0x26bc3c(0x139)]=_0x26bc3c(0x104),this[_0x26bc3c(0x92)]=new _univerjs_core[(_0x26bc3c(0xeb))]();const _0x2eccdc=this[_0x26bc3c(0xf0)][_0x26bc3c(0xa3)](_univerjs_docs_ui['DocPrintInterceptorService']);_0x2eccdc[_0x26bc3c(0xa9)][_0x26bc3c(0x94)](_0x2eccdc[_0x26bc3c(0xa9)]['getInterceptPoints']()[_0x26bc3c(0x11f)])(this[_0x26bc3c(0x92)],{'unitId':this[_0x26bc3c(0x10f)],'scene':this['_scene'],'engine':this[_0x26bc3c(0x130)],'root':this[_0x26bc3c(0xe0)],'skeleton':this[_0x26bc3c(0x118)],'offset':{'x':_0x5867a8[_0x26bc3c(0x12a)],'y':_0x5867a8[_0x26bc3c(0xf7)]},'bound':{'top':_0x5867a8[_0x26bc3c(0xf7)],'left':_0x5867a8[_0x26bc3c(0x12a)],'right':_0x5867a8['right'],'bottom':_0x5867a8[_0x26bc3c(0x108)]}});}[_0x43f9ff(0xa7)](){const _0x34f1ec=_0x43f9ff,_0x50d1d6=this['_engine'][_0x34f1ec(0xe2)]()[_0x34f1ec(0xe6)]();this[_0x34f1ec(0xca)][_0x34f1ec(0xe8)](),this['_scene'][_0x34f1ec(0xce)](),_0x50d1d6['save'](),this['_scene'][_0x34f1ec(0xa7)](),_0x50d1d6['restore']();}};function __decorateParam(_0x72903a,_0x228119){return function(_0x5e1ec9,_0x2d30d1){_0x228119(_0x5e1ec9,_0x2d30d1,_0x72903a);};}function __decorate(_0x1b8c10,_0x2c08e7,_0x2c6079,_0x5348f2){const _0x51bfc0=_0x43f9ff;var _0x3f976f=arguments[_0x51bfc0(0xe1)],_0x40d4e1=_0x3f976f<0x3?_0x2c08e7:_0x5348f2===null?_0x5348f2=Object[_0x51bfc0(0xe3)](_0x2c08e7,_0x2c6079):_0x5348f2,_0x289432;if(typeof Reflect===_0x51bfc0(0x112)&&typeof Reflect[_0x51bfc0(0xba)]===_0x51bfc0(0xbd))_0x40d4e1=Reflect[_0x51bfc0(0xba)](_0x1b8c10,_0x2c08e7,_0x2c6079,_0x5348f2);else{for(var _0x19bdca=_0x1b8c10['length']-0x1;_0x19bdca>=0x0;_0x19bdca--)if(_0x289432=_0x1b8c10[_0x19bdca])_0x40d4e1=(_0x3f976f<0x3?_0x289432(_0x40d4e1):_0x3f976f>0x3?_0x289432(_0x2c08e7,_0x2c6079,_0x40d4e1):_0x289432(_0x2c08e7,_0x2c6079))||_0x40d4e1;}return _0x3f976f>0x3&&_0x40d4e1&&Object[_0x51bfc0(0xa4)](_0x2c08e7,_0x2c6079,_0x40d4e1),_0x40d4e1;}const BUILD_TIMESTAMP=Number[_0x43f9ff(0x97)](0x69e87aa7),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x3bc41d,_0xbe6280,_0x259725)=>{const _0x323466=_0x43f9ff,_0x5548b1={'page':_0x3bc41d,'isPro':![],'timeValid':![]};if(!_0xbe6280||!_0x259725)return _0x5548b1;const _0xefa8cc=(0x0,_univerjs_pro_license[_0x323466(0xef)])(_0xbe6280,_0x259725);if(_0xefa8cc[_0x323466(0xc8)]){const _0x3636a0=_0xefa8cc[_0x323466(0x11b)],_0xe49c03=(0x0,_univerjs_pro_license[_0x323466(0xcb)])(_0x3636a0,'df',BUILD_TIMESTAMP);_0x5548b1[_0x323466(0xac)]=_0xe49c03,_0x5548b1[_0x323466(0x138)]=_0xe49c03,_0x5548b1[_0x323466(0x12f)]=(0x0,_univerjs_pro_license[_0x323466(0x13a)])(_0x3636a0,_0xe49c03,_0x323466(0xc1),_0x3bc41d,_0x3bc41d,0x0);}return _0x5548b1;};let DocPrintService=class DocPrintService extends _univerjs_core[_0x43f9ff(0x106)]{constructor(_0x3709e9,_0x51c8e3,_0x3a3cdc,_0x48f1b1,_0x79af96){const _0x2ef74d=_0x43f9ff;super(),this[_0x2ef74d(0x131)]=_0x3709e9,this['_renderManagerService']=_0x51c8e3,this['_injector']=_0x3a3cdc,this[_0x2ef74d(0x114)]=_0x48f1b1,this[_0x2ef74d(0x132)]=_0x79af96;}[_0x43f9ff(0x101)](_0x341be0){const _0x39b6b6=_0x43f9ff;var _0x146674,_0x2efe9b;const {ls:_0x5f5238,pbk:_0x3dda78}=(_0x146674=this[_0x39b6b6(0x114)][_0x39b6b6(0x8b)](_univerjs_pro_license[_0x39b6b6(0xbf)]))!==null&&_0x146674!==void 0x0?_0x146674:{},_0x586cd6=(0x0,_univerjs_pro_license['isLocalCheck'])()?Number['POSITIVE_INFINITY']:getPrintInfoByLicense(0x1,_0x5f5238,_0x3dda78)['page'];if(!this[_0x39b6b6(0x131)][_0x39b6b6(0xd9)](_0x341be0,_univerjs_core['UniverInstanceType']['UNIVER_DOC']))throw new Error(_0x39b6b6(0xea));const _0x26395a=this[_0x39b6b6(0xa5)][_0x39b6b6(0x100)](_0x341be0);if(!_0x26395a)throw new Error(_0x39b6b6(0xb8));const _0x388ac4=(_0x2efe9b=_0x26395a[_0x39b6b6(0x127)](_univerjs_docs['DocSkeletonManagerService'])['getSkeleton']()[_0x39b6b6(0x8f)]())===null||_0x2efe9b===void 0x0?void 0x0:_0x2efe9b[_0x39b6b6(0x98)];if(!_0x388ac4)throw new Error(_0x39b6b6(0x10b));const _0x3da6ba={'width':_0x388ac4[0x0][_0x39b6b6(0xfd)],'height':_0x388ac4[0x0][_0x39b6b6(0x125)]},_0x2f4bb5=_0x388ac4[_0x39b6b6(0xe1)],_0x1ffc97=Math[_0x39b6b6(0xb9)](_0x586cd6,_0x2f4bb5),_0x31dc32=_0x26395a[_0x39b6b6(0xd3)][_0x39b6b6(0x96)](),_0x4401b9=document[_0x39b6b6(0x123)](_0x39b6b6(0x120));_0x4401b9[_0x39b6b6(0x12c)]=_univerjs_pro_print[_0x39b6b6(0xd2)];const _0x34755e=new Array(_0x1ffc97)[_0x39b6b6(0x122)](null)[_0x39b6b6(0x93)]((_0x22a3c4,_0x137594)=>{const _0x48bd2b=_0x39b6b6,_0x564736=new DocPrintPageCanvasView(this[_0x48bd2b(0xf0)],_0x137594,_0x341be0,_0x31dc32);return _0x564736[_0x48bd2b(0xc4)][_0x48bd2b(0x12c)]=_univerjs_pro_print['PRINT_CANVAS_CLASS'],_0x564736;});_0x34755e[_0x39b6b6(0xed)](_0x34b1fa=>{const _0x2b2f76=_0x39b6b6;_0x4401b9['appendChild'](_0x34b1fa[_0x2b2f76(0xc4)]),_0x34b1fa['container'][_0x2b2f76(0xc3)](_0x34b1fa[_0x2b2f76(0x134)]),_0x34b1fa['prepare']();});const _0x1f7238=(0x0,_univerjs_pro_print['createPrintStyle'])(_0x3da6ba['width'],_0x3da6ba['height'],_univerjs_pro_print[_0x39b6b6(0xf3)][_0x39b6b6(0x95)]);return document[_0x39b6b6(0xcc)][_0x39b6b6(0xc3)](_0x1f7238),document[_0x39b6b6(0xcc)][_0x39b6b6(0xc3)](_0x4401b9),new Promise(_0x1c8113=>{setTimeout(()=>{const _0x1af8e1=_0x3e1e;window['onbeforeprint']=()=>{_0x34755e['forEach'](_0x3a9c4e=>{const _0x25b0c9=_0x3e1e;_0x3a9c4e[_0x25b0c9(0xa7)]();});},window[_0x1af8e1(0x11d)]=()=>{const _0x5a1b66=_0x1af8e1;_0x34755e[_0x5a1b66(0xed)](_0x1c7bd4=>{const _0x529cf2=_0x5a1b66;_0x1c7bd4[_0x529cf2(0xd0)]();}),document['body'][_0x5a1b66(0x116)](_0x4401b9),document['body'][_0x5a1b66(0x116)](_0x1f7238),this[_0x5a1b66(0x132)]['close'](),_0x1c8113(!![]);},window['print']();},0x64);});}};DocPrintService=__decorate([__decorateParam(0x0,_univerjs_core[_0x43f9ff(0x110)]),__decorateParam(0x1,_univerjs_engine_render[_0x43f9ff(0xa0)]),__decorateParam(0x2,(0x0,_univerjs_core['Inject'])(_univerjs_core['Injector'])),__decorateParam(0x3,_univerjs_core[_0x43f9ff(0xc7)]),__decorateParam(0x4,_univerjs_ui[_0x43f9ff(0xf8)])],DocPrintService);const DocPrintOperation={'id':_0x43f9ff(0xb6),'type':_univerjs_core[_0x43f9ff(0x135)]['OPERATION'],'handler':async _0xaaa8a7=>{const _0x2cf17e=_0x43f9ff,_0x4e7524=_0xaaa8a7['get'](_univerjs_core['IUniverInstanceService']),_0x577ed1=_0xaaa8a7[_0x2cf17e(0xa3)](DocPrintService),_0x490a0a=_0xaaa8a7[_0x2cf17e(0xa3)](_univerjs_engine_render[_0x2cf17e(0xa0)]),_0x3e6e4a=_0xaaa8a7[_0x2cf17e(0xa3)](_univerjs_core[_0x2cf17e(0xdf)]),_0x274c0a=_0x4e7524[_0x2cf17e(0x9d)](_univerjs_core[_0x2cf17e(0xfc)][_0x2cf17e(0x115)]);if(!_0x274c0a)return![];if(!_0x490a0a['getRenderById'](_0x274c0a['getUnitId']()))throw new Error(_0x2cf17e(0xb8));const _0x453bc9=_0x274c0a[_0x2cf17e(0xe5)]()[_0x2cf17e(0xaf)];if(_0x453bc9!==_univerjs_core['DocumentFlavor'][_0x2cf17e(0xb2)])_0x3e6e4a[_0x2cf17e(0xc2)](_univerjs_docs_ui['SwitchDocModeCommand']['id']);await _0x577ed1['print'](_0x274c0a['getUnitId']());if(_0x453bc9!==_univerjs_core[_0x2cf17e(0x105)][_0x2cf17e(0xb2)])_0x3e6e4a['syncExecuteCommand'](_univerjs_docs_ui['SwitchDocModeCommand']['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY='UNIVER_DOCS_PRINT',defaultPluginConfig={};var name='@univerjs-pro/docs-print',version=_0x43f9ff(0x10d);const DOCS_PRINT_PLUGIN_NAME=_0x43f9ff(0x113);function DocPrintMenuItemFactory(_0x2e32cf){const _0x34f29a=_0x43f9ff;return{'id':DocPrintOperation['id'],'type':_univerjs_ui[_0x34f29a(0x8c)][_0x34f29a(0xec)],'title':_0x34f29a(0xd6),'icon':_0x34f29a(0xda),'tooltip':_0x34f29a(0xd6),'hidden$':(0x0,_univerjs_ui[_0x34f29a(0x9c)])(_0x2e32cf,_univerjs_core['UniverInstanceType'][_0x34f29a(0x115)])};}const menuSchema={[_univerjs_ui[_0x43f9ff(0xcf)]['OTHERS']]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};function _0x3e1e(_0x7fe4da,_0x402ece){_0x7fe4da=_0x7fe4da-0x8b;const _0x42cff5=_0x42cf();let _0x3e1e4d=_0x42cff5[_0x7fe4da];return _0x3e1e4d;}let DocsPrintUIController=class DocsPrintUIController extends _univerjs_core['Disposable']{constructor(_0x3a5215,_0x367e6a,_0xbb6949){const _0x9c2f7=_0x43f9ff;super(),this[_0x9c2f7(0x133)]=_0x3a5215,this[_0x9c2f7(0xd7)]=_0x367e6a,this[_0x9c2f7(0x107)]=_0xbb6949,this[_0x9c2f7(0xc6)](),this[_0x9c2f7(0xd4)](),this[_0x9c2f7(0xfb)]();}[_0x43f9ff(0xc6)](){const _0x253f75=_0x43f9ff;this['_menuManagerService'][_0x253f75(0xfe)](menuSchema);}[_0x43f9ff(0xd4)](){const _0x49edf2=_0x43f9ff;this[_0x49edf2(0x90)](this[_0x49edf2(0x133)][_0x49edf2(0x11c)](DocPrintOperation));}['_initComponents'](){const _0x416f6f=_0x43f9ff;[[_0x416f6f(0xda),_univerjs_icons[_0x416f6f(0xda)]]][_0x416f6f(0xed)](([_0x5420a0,_0x5a5c8b])=>{const _0x3f59bc=_0x416f6f;this['_componentManager'][_0x3f59bc(0xd1)](_0x5420a0,_0x5a5c8b);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,_univerjs_core[_0x43f9ff(0xdf)]),__decorateParam(0x1,_univerjs_ui[_0x43f9ff(0xab)]),__decorateParam(0x2,(0x0,_univerjs_core[_0x43f9ff(0xa6)])(_univerjs_ui[_0x43f9ff(0x91)]))],DocsPrintUIController);let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends _univerjs_core[_0x43f9ff(0xa8)]{constructor(_0x4bfd0f=defaultPluginConfig,_0x81ca6e,_0x2bf6c5){const _0x5926cd=_0x43f9ff;super(),this['_config']=_0x4bfd0f,this['_injector']=_0x81ca6e,this[_0x5926cd(0x114)]=_0x2bf6c5;const {menu:_0x5dedb4,..._0x3173d6}=(0x0,_univerjs_core[_0x5926cd(0xf5)])({},defaultPluginConfig,this['_config']);if(_0x5dedb4)this['_configService'][_0x5926cd(0xde)]('menu',_0x5dedb4,{'merge':!![]});this[_0x5926cd(0x114)][_0x5926cd(0xde)](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0x3173d6);}['onStarting'](){const _0x1b63a3=_0x43f9ff;(0x0,_univerjs_core['registerDependencies'])(this[_0x1b63a3(0xf0)],[[DocPrintService],[DocsPrintUIController]]);}['onReady'](){const _0x46b8da=_0x43f9ff;this[_0x46b8da(0xf0)]['get'](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,'pluginName',DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,_0x43f9ff(0xb0),name),_defineProperty(UniverDocsPrintPlugin,'version',version),_defineProperty(UniverDocsPrintPlugin,'type',_univerjs_core[_0x43f9ff(0xfc)][_0x43f9ff(0x115)]),UniverDocsPrintPlugin=__decorate([(0x0,_univerjs_core[_0x43f9ff(0xc9)])(_univerjs_network[_0x43f9ff(0xf2)],_univerjs_pro_license[_0x43f9ff(0x12e)]),__decorateParam(0x1,(0x0,_univerjs_core[_0x43f9ff(0xa6)])(_univerjs_core[_0x43f9ff(0xa1)])),__decorateParam(0x2,_univerjs_core[_0x43f9ff(0xc7)])],UniverDocsPrintPlugin),exports[_0x43f9ff(0xb5)]=DOCS_PRINT_PLUGIN_CONFIG_KEY,exports[_0x43f9ff(0x124)]=DocPrintOperation,Object[_0x43f9ff(0xa4)](exports,_0x43f9ff(0x126),{'enumerable':!![],'get':function(){return UniverDocsPrintPlugin;}});
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1850(_0x139157,_0x22e4c5){_0x139157=_0x139157-0x1de;const _0x14883d=_0x1488();let _0x185026=_0x14883d[_0x139157];return _0x185026;}function _0x1488(){const _0x301bbd=['20222430CGdzDh','211838MBgVEf','9020151fUBOWv','Print','1652492lNkrBf','6cKrour','3818970aKKbPn','5859632RWyilR','7JepOfP','9oItYtm','1275702bnVhHj','exports'];_0x1488=function(){return _0x301bbd;};return _0x1488();}const _0x4f3cdb=_0x1850;(function(_0x3a9ac9,_0x377af9){const _0x459cf6=_0x1850,_0x4ca40d=_0x3a9ac9();while(!![]){try{const _0x17051b=parseInt(_0x459cf6(0x1e7))/0x1*(-parseInt(_0x459cf6(0x1e0))/0x2)+-parseInt(_0x459cf6(0x1e9))/0x3+-parseInt(_0x459cf6(0x1e3))/0x4+parseInt(_0x459cf6(0x1e5))/0x5+-parseInt(_0x459cf6(0x1e4))/0x6*(parseInt(_0x459cf6(0x1e1))/0x7)+parseInt(_0x459cf6(0x1e6))/0x8+-parseInt(_0x459cf6(0x1e8))/0x9*(-parseInt(_0x459cf6(0x1df))/0xa);if(_0x17051b===_0x377af9)break;else _0x4ca40d['push'](_0x4ca40d['shift']());}catch(_0x29d9b0){_0x4ca40d['push'](_0x4ca40d['shift']());}}}(_0x1488,0x9eb7c));const locale$1={'print':{'menu':_0x4f3cdb(0x1e2)}},locale=locale$1;module[_0x4f3cdb(0x1de)]=locale;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3735(){const _0xae425b=['1706148UAcwcy','1085574NuvIsE','33qujsjK','1645947fbyvgj','2plSgSz','975877NLKSxT','7036MlsXpm','10UOWYXH','145547FlAmfp','65tVcRCM','Print','348ZDPjdu','56aXUQNr','exports','2873180owSWUb'];_0x3735=function(){return _0xae425b;};return _0x3735();}const _0x416dbd=_0x46b8;(function(_0x4dbe78,_0x163a94){const _0x29f066=_0x46b8,_0x489a75=_0x4dbe78();while(!![]){try{const _0xaa279f=-parseInt(_0x29f066(0x11f))/0x1*(parseInt(_0x29f066(0x12a))/0x2)+-parseInt(_0x29f066(0x122))/0x3*(parseInt(_0x29f066(0x12c))/0x4)+parseInt(_0x29f066(0x11e))/0x5*(-parseInt(_0x29f066(0x127))/0x6)+parseInt(_0x29f066(0x12b))/0x7*(parseInt(_0x29f066(0x123))/0x8)+parseInt(_0x29f066(0x129))/0x9+parseInt(_0x29f066(0x125))/0xa*(parseInt(_0x29f066(0x128))/0xb)+parseInt(_0x29f066(0x126))/0xc*(-parseInt(_0x29f066(0x120))/0xd);if(_0xaa279f===_0x163a94)break;else _0x489a75['push'](_0x489a75['shift']());}catch(_0x108575){_0x489a75['push'](_0x489a75['shift']());}}}(_0x3735,0x92162));function _0x46b8(_0x26b29c,_0x1dca4e){_0x26b29c=_0x26b29c-0x11e;const _0x3735b3=_0x3735();let _0x46b87a=_0x3735b3[_0x26b29c];return _0x46b87a;}const locale={'print':{'menu':_0x416dbd(0x121)}};module[_0x416dbd(0x124)]=locale;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x87df(){const _0x4ec2fb=['Print','1247256ISAJqy','940720qthsCI','3118689MfEhLy','6WAzpZN','480158wfcTGO','63LROZRH','exports','1290619RWkmiR','10MiNatn','5zXmJbW','1371976RGROhF','45887820YkRbMc','2vYTLnX'];_0x87df=function(){return _0x4ec2fb;};return _0x87df();}const _0x1a5377=_0x2100;function _0x2100(_0x29d279,_0x3f5e62){_0x29d279=_0x29d279-0x1b1;const _0x87df0e=_0x87df();let _0x210042=_0x87df0e[_0x29d279];return _0x210042;}(function(_0x18b013,_0x364449){const _0x3fb683=_0x2100,_0x49207c=_0x18b013();while(!![]){try{const _0xf0e631=parseInt(_0x3fb683(0x1b4))/0x1*(-parseInt(_0x3fb683(0x1b6))/0x2)+-parseInt(_0x3fb683(0x1ba))/0x3+-parseInt(_0x3fb683(0x1b8))/0x4*(-parseInt(_0x3fb683(0x1b3))/0x5)+parseInt(_0x3fb683(0x1bb))/0x6*(-parseInt(_0x3fb683(0x1bc))/0x7)+parseInt(_0x3fb683(0x1b9))/0x8*(-parseInt(_0x3fb683(0x1bd))/0x9)+parseInt(_0x3fb683(0x1b2))/0xa*(-parseInt(_0x3fb683(0x1b1))/0xb)+parseInt(_0x3fb683(0x1b5))/0xc;if(_0xf0e631===_0x364449)break;else _0x49207c['push'](_0x49207c['shift']());}catch(_0x49bd75){_0x49207c['push'](_0x49207c['shift']());}}}(_0x87df,0xae9c7));const locale$1={'print':{'menu':_0x1a5377(0x1b7)}},locale=locale$1;module[_0x1a5377(0x1be)]=locale;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5181f1=_0x98df;(function(_0x1a2c76,_0x3eba19){const _0x21803b=_0x98df,_0x4ed0db=_0x1a2c76();while(!![]){try{const _0x3be33e=parseInt(_0x21803b(0xc6))/0x1+-parseInt(_0x21803b(0xbf))/0x2*(-parseInt(_0x21803b(0xc5))/0x3)+parseInt(_0x21803b(0xc0))/0x4+-parseInt(_0x21803b(0xbc))/0x5+parseInt(_0x21803b(0xbd))/0x6*(parseInt(_0x21803b(0xbe))/0x7)+-parseInt(_0x21803b(0xc4))/0x8*(-parseInt(_0x21803b(0xc1))/0x9)+-parseInt(_0x21803b(0xc2))/0xa;if(_0x3be33e===_0x3eba19)break;else _0x4ed0db['push'](_0x4ed0db['shift']());}catch(_0x5c80ce){_0x4ed0db['push'](_0x4ed0db['shift']());}}}(_0x34c2,0xf206e));const locale={'print':{'menu':'چاپ'}};function _0x34c2(){const _0x29b9b4=['12GdQPoZ','6756463BYzkfU','2OTyltv','46608kOaAeU','1270287cVJNxB','21058530ccBrch','exports','16MfORCp','3354783lmexlf','1179531RmeUeF','7124765KlSgWM'];_0x34c2=function(){return _0x29b9b4;};return _0x34c2();}function _0x98df(_0x3b28ca,_0x7bcb39){_0x3b28ca=_0x3b28ca-0xbc;const _0x34c24d=_0x34c2();let _0x98df4f=_0x34c24d[_0x3b28ca];return _0x98df4f;}module[_0x5181f1(0xc3)]=locale;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5bca98=_0x528e;function _0x528e(_0x53d9e9,_0x2d2577){_0x53d9e9=_0x53d9e9-0x9c;const _0x236ef4=_0x236e();let _0x528e5c=_0x236ef4[_0x53d9e9];return _0x528e5c;}(function(_0x4666a1,_0x252f83){const _0x7fc660=_0x528e,_0x5f1f15=_0x4666a1();while(!![]){try{const _0x593851=-parseInt(_0x7fc660(0x9e))/0x1+parseInt(_0x7fc660(0xa0))/0x2*(-parseInt(_0x7fc660(0xa2))/0x3)+parseInt(_0x7fc660(0xa4))/0x4*(parseInt(_0x7fc660(0xa5))/0x5)+parseInt(_0x7fc660(0x9f))/0x6+parseInt(_0x7fc660(0xa1))/0x7+parseInt(_0x7fc660(0x9d))/0x8*(-parseInt(_0x7fc660(0xa7))/0x9)+-parseInt(_0x7fc660(0xa3))/0xa*(parseInt(_0x7fc660(0x9c))/0xb);if(_0x593851===_0x252f83)break;else _0x5f1f15['push'](_0x5f1f15['shift']());}catch(_0x2d33ff){_0x5f1f15['push'](_0x5f1f15['shift']());}}}(_0x236e,0xa3de9));const locale={'print':{'menu':_0x5bca98(0xa6)}};function _0x236e(){const _0x34285a=['Imprimer','9KZWtTs','6652514EnRSSZ','7567432PZoQgs','451001iTjyPx','7119588hcnaSB','2846nDuXBv','8666105Dmzdja','891OCVHvD','20yEtUsT','20MjjGNw','1275705mSXnpb'];_0x236e=function(){return _0x34285a;};return _0x236e();}module['exports']=locale;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x56c1df,_0x1a5976){const _0x3aae69=_0x29a9,_0x1cbfb0=_0x56c1df();while(!![]){try{const _0x279182=-parseInt(_0x3aae69(0xd2))/0x1+parseInt(_0x3aae69(0xd5))/0x2+parseInt(_0x3aae69(0xd3))/0x3+parseInt(_0x3aae69(0xd1))/0x4*(-parseInt(_0x3aae69(0xd6))/0x5)+-parseInt(_0x3aae69(0xd4))/0x6*(parseInt(_0x3aae69(0xd8))/0x7)+parseInt(_0x3aae69(0xd9))/0x8*(parseInt(_0x3aae69(0xd7))/0x9)+parseInt(_0x3aae69(0xda))/0xa;if(_0x279182===_0x1a5976)break;else _0x1cbfb0['push'](_0x1cbfb0['shift']());}catch(_0x356605){_0x1cbfb0['push'](_0x1cbfb0['shift']());}}}(_0xf2e2,0x8c91a));const locale={'print':{'menu':'印刷'}};function _0x29a9(_0x75d64,_0x69ea3d){_0x75d64=_0x75d64-0xd1;const _0xf2e275=_0xf2e2();let _0x29a91c=_0xf2e275[_0x75d64];return _0x29a91c;}module['exports']=locale;function _0xf2e2(){const _0x31e012=['32QRRtnR','5814640xBQQIw','34612ZqwaQN','907589NqbcXm','1989417ltiDrs','58974gGzGDZ','425024RIAFdP','75JaxJXp','1169352PxgZKH','259pCGRhY'];_0xf2e2=function(){return _0x31e012;};return _0xf2e2();}
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x50c807=_0x5238;(function(_0x330c8f,_0x2ed7d9){const _0x1ca969=_0x5238,_0x88affe=_0x330c8f();while(!![]){try{const _0x476f20=parseInt(_0x1ca969(0x13e))/0x1+-parseInt(_0x1ca969(0x13b))/0x2*(-parseInt(_0x1ca969(0x138))/0x3)+parseInt(_0x1ca969(0x140))/0x4*(parseInt(_0x1ca969(0x13a))/0x5)+parseInt(_0x1ca969(0x13d))/0x6+parseInt(_0x1ca969(0x143))/0x7+-parseInt(_0x1ca969(0x139))/0x8*(-parseInt(_0x1ca969(0x141))/0x9)+-parseInt(_0x1ca969(0x13f))/0xa*(parseInt(_0x1ca969(0x13c))/0xb);if(_0x476f20===_0x2ed7d9)break;else _0x88affe['push'](_0x88affe['shift']());}catch(_0x2c0b94){_0x88affe['push'](_0x88affe['shift']());}}}(_0x20a9,0x71f23));function _0x5238(_0xe44712,_0x464674){_0xe44712=_0xe44712-0x138;const _0x20a921=_0x20a9();let _0x5238f2=_0x20a921[_0xe44712];return _0x5238f2;}function _0x20a9(){const _0x540c77=['395880LHglST','10CCvUkH','4cnePpQ','1733436zqfstF','exports','3810989SnKTHQ','603ECUDro','8xfBCzu','1133215apVqez','6492uKUBpH','26890963OSXFyq','5396136OOksvf'];_0x20a9=function(){return _0x540c77;};return _0x20a9();}const locale={'print':{'menu':'인쇄'}};module[_0x50c807(0x142)]=locale;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1780(_0x3970a9,_0x3b173a){_0x3970a9=_0x3970a9-0xfc;const _0x1302e5=_0x1302();let _0x1780ad=_0x1302e5[_0x3970a9];return _0x1780ad;}const _0x17596d=_0x1780;function _0x1302(){const _0x298073=['478ZCmgyf','6618lUmZfl','8CyuDvd','exports','12790pTTbtv','630xsPfsT','449HXqOHS','Печать','2038456HFHRcT','227297obPmoD','3983320LLmGjz','1818eUScKK','7707fxOJtd'];_0x1302=function(){return _0x298073;};return _0x1302();}(function(_0x3964f5,_0x2fd709){const _0xfafc45=_0x1780,_0x49a2eb=_0x3964f5();while(!![]){try{const _0x4a48a0=parseInt(_0xfafc45(0xfc))/0x1*(-parseInt(_0xfafc45(0x103))/0x2)+-parseInt(_0xfafc45(0x102))/0x3*(-parseInt(_0xfafc45(0x105))/0x4)+-parseInt(_0xfafc45(0x108))/0x5*(-parseInt(_0xfafc45(0x104))/0x6)+parseInt(_0xfafc45(0xff))/0x7+parseInt(_0xfafc45(0xfe))/0x8+-parseInt(_0xfafc45(0x101))/0x9*(-parseInt(_0xfafc45(0x107))/0xa)+-parseInt(_0xfafc45(0x100))/0xb;if(_0x4a48a0===_0x2fd709)break;else _0x49a2eb['push'](_0x49a2eb['shift']());}catch(_0x45a97d){_0x49a2eb['push'](_0x49a2eb['shift']());}}}(_0x1302,0x35ca1));const locale={'print':{'menu':_0x17596d(0xfd)}};module[_0x17596d(0x106)]=locale;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x3f2c42=_0x1cb2;(function(_0x45a495,_0x9ceb1e){const _0x1f473d=_0x1cb2,_0x2f1504=_0x45a495();while(!![]){try{const _0x108f10=parseInt(_0x1f473d(0x164))/0x1*(parseInt(_0x1f473d(0x168))/0x2)+-parseInt(_0x1f473d(0x166))/0x3+parseInt(_0x1f473d(0x16a))/0x4+parseInt(_0x1f473d(0x162))/0x5*(parseInt(_0x1f473d(0x16e))/0x6)+-parseInt(_0x1f473d(0x161))/0x7*(-parseInt(_0x1f473d(0x165))/0x8)+parseInt(_0x1f473d(0x16b))/0x9*(-parseInt(_0x1f473d(0x169))/0xa)+-parseInt(_0x1f473d(0x16c))/0xb*(parseInt(_0x1f473d(0x167))/0xc);if(_0x108f10===_0x9ceb1e)break;else _0x2f1504['push'](_0x2f1504['shift']());}catch(_0x6d6f62){_0x2f1504['push'](_0x2f1504['shift']());}}}(_0x3aa1,0x42787));function _0x1cb2(_0x52cde6,_0x39ef0c){_0x52cde6=_0x52cde6-0x161;const _0x3aa128=_0x3aa1();let _0x1cb2ab=_0x3aa128[_0x52cde6];return _0x1cb2ab;}const locale={'print':{'menu':_0x3f2c42(0x163)}};module[_0x3f2c42(0x16d)]=locale;function _0x3aa1(){const _0x40d598=['867823FWRWXV','exports','217290NERart','1869931PsMkUs','60qxWAWr','Tlač','10mXfjvo','8uzoZBb','864759QxGVxe','72sajEIJ','80994Yrkjgf','530eeRvQq','415572sCYywT','30006QZPGAD'];_0x3aa1=function(){return _0x40d598;};return _0x3aa1();}
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5f3b92=_0xd94d;(function(_0x31c33d,_0x378486){const _0x241875=_0xd94d,_0x17fb3e=_0x31c33d();while(!![]){try{const _0x37bd13=parseInt(_0x241875(0x1ed))/0x1+-parseInt(_0x241875(0x1f2))/0x2+parseInt(_0x241875(0x1f4))/0x3*(parseInt(_0x241875(0x1eb))/0x4)+parseInt(_0x241875(0x1f0))/0x5+parseInt(_0x241875(0x1ee))/0x6*(-parseInt(_0x241875(0x1f1))/0x7)+-parseInt(_0x241875(0x1f3))/0x8*(parseInt(_0x241875(0x1ec))/0x9)+-parseInt(_0x241875(0x1ea))/0xa*(-parseInt(_0x241875(0x1ef))/0xb);if(_0x37bd13===_0x378486)break;else _0x17fb3e['push'](_0x17fb3e['shift']());}catch(_0x4d9418){_0x17fb3e['push'](_0x17fb3e['shift']());}}}(_0xdeec,0xc56d7));function _0xdeec(){const _0x166928=['18kFDFNq','1004318CJWtiq','8366406dDEois','187LCNfTx','7722705XMgjfk','7xXZQNf','1193724wzubBJ','5672776gmVqRz','4174800pXWMtr','exports','163330eWHooc','4fExeCU'];_0xdeec=function(){return _0x166928;};return _0xdeec();}const locale={'print':{'menu':'In'}};function _0xd94d(_0x4741ca,_0x5b69ba){_0x4741ca=_0x4741ca-0x1e9;const _0xdeec96=_0xdeec();let _0xd94d3e=_0xdeec96[_0x4741ca];return _0xd94d3e;}module[_0x5f3b92(0x1e9)]=locale;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0xa947(_0x148701,_0x3df522){_0x148701=_0x148701-0x1d2;const _0x444334=_0x4443();let _0xa947e1=_0x444334[_0x148701];return _0xa947e1;}const _0x42f706=_0xa947;(function(_0x541a88,_0x3e6899){const _0x30de02=_0xa947,_0x58f91f=_0x541a88();while(!![]){try{const _0xf089dd=parseInt(_0x30de02(0x1d9))/0x1+-parseInt(_0x30de02(0x1d5))/0x2*(-parseInt(_0x30de02(0x1d8))/0x3)+-parseInt(_0x30de02(0x1dc))/0x4*(parseInt(_0x30de02(0x1d4))/0x5)+parseInt(_0x30de02(0x1da))/0x6+-parseInt(_0x30de02(0x1db))/0x7+-parseInt(_0x30de02(0x1d3))/0x8*(parseInt(_0x30de02(0x1d2))/0x9)+-parseInt(_0x30de02(0x1d6))/0xa;if(_0xf089dd===_0x3e6899)break;else _0x58f91f['push'](_0x58f91f['shift']());}catch(_0x330f4e){_0x58f91f['push'](_0x58f91f['shift']());}}}(_0x4443,0xe884e));const locale={'print':{'menu':'打印'}};function _0x4443(){const _0x34df89=['exports','423jVfqVV','1653023wrGYPV','10163862iTsZrf','3568075kyxmkG','76riSbeu','4694247jXtIqr','24dorZKM','85135WfaXrb','19952szoTwa','14032310Kxlwzu'];_0x4443=function(){return _0x34df89;};return _0x4443();}module[_0x42f706(0x1d7)]=locale;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2f16b2=_0x28c8;function _0x28c8(_0x37987c,_0x4864fd){_0x37987c=_0x37987c-0x1be;const _0x17afcc=_0x17af();let _0x28c871=_0x17afcc[_0x37987c];return _0x28c871;}(function(_0x3893f6,_0x55c33d){const _0x3254c6=_0x28c8,_0x2b4660=_0x3893f6();while(!![]){try{const _0x3c1e14=parseInt(_0x3254c6(0x1c5))/0x1+parseInt(_0x3254c6(0x1c1))/0x2+parseInt(_0x3254c6(0x1be))/0x3*(-parseInt(_0x3254c6(0x1bf))/0x4)+-parseInt(_0x3254c6(0x1c3))/0x5+-parseInt(_0x3254c6(0x1c0))/0x6*(-parseInt(_0x3254c6(0x1c4))/0x7)+-parseInt(_0x3254c6(0x1c2))/0x8+parseInt(_0x3254c6(0x1c6))/0x9;if(_0x3c1e14===_0x55c33d)break;else _0x2b4660['push'](_0x2b4660['shift']());}catch(_0x1873ae){_0x2b4660['push'](_0x2b4660['shift']());}}}(_0x17af,0x8d2c1));const locale={'print':{'menu':'列印'}};module[_0x2f16b2(0x1c7)]=locale;function _0x17af(){const _0x17887a=['1043PAUqJo','819687pKTjSn','14352462FwKSQy','exports','3kBXJnk','4529204bcENUd','10080tRNbco','373822Znxgdw','5975152silwNb','1971000YhLSAN'];_0x17af=function(){return _0x17887a;};return _0x17af();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1d2396=_0x40f3;(function(_0x5d6590,_0x282ecd){const _0x3ef2c8=_0x40f3,_0x4e3d83=_0x5d6590();while(!![]){try{const _0x20e138=-parseInt(_0x3ef2c8(0xd0))/0x1*(-parseInt(_0x3ef2c8(0xbe))/0x2)+-parseInt(_0x3ef2c8(0xc2))/0x3*(parseInt(_0x3ef2c8(0xd9))/0x4)+parseInt(_0x3ef2c8(0xf1))/0x5+parseInt(_0x3ef2c8(0xc7))/0x6+parseInt(_0x3ef2c8(0xcf))/0x7+-parseInt(_0x3ef2c8(0x140))/0x8*(-parseInt(_0x3ef2c8(0xbc))/0x9)+-parseInt(_0x3ef2c8(0x137))/0xa*(parseInt(_0x3ef2c8(0x107))/0xb);if(_0x20e138===_0x282ecd)break;else _0x4e3d83['push'](_0x4e3d83['shift']());}catch(_0x168d24){_0x4e3d83['push'](_0x4e3d83['shift']());}}}(_0x5c89,0x20723));import{CommandType as _0x55b3d7,DependentOn as _0x40da35,Disposable as _0x4aa79b,DisposableCollection as _0x420e97,DocumentFlavor as _0x405a93,ICommandService as _0x148390,IConfigService as _0x4d6c2f,IUniverInstanceService as _0x1f29ec,Inject as _0x5dd5c2,Injector as _0x564c2e,Plugin as _0x58cf96,UniverInstanceType as _0x3293f0,generateRandomId as _0x1c9c42,merge as _0x7313bb,registerDependencies as _0x15c93e}from'@univerjs/core';import{DocPrintInterceptorService as _0x46603a,SwitchDocModeCommand as _0x1b61b9,VIEWPORT_KEY as _0x2314ac}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x413b4f,Documents as _0x31447c,Engine as _0x86a510,IRenderManagerService as _0x5d04f1,Scene as _0x595ec1,Viewport as _0x4097fd}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x53ea4d,UniverLicensePlugin as _0x4c48f8,getDocFeatureLimit as _0x5c8930,getLicenseInfo as _0x3d9cad,isFeatureAuthorizedWithinTime as _0x4e4567,isLocalCheck as _0x353877}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x110180,PRINT_CONTAINER_CLASS as _0x1dad64,PrintDirection as _0x152c11,createPrintStyle as _0x57ffc4}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x51ae21}from'@univerjs/docs';import{ComponentManager as _0x1c5eea,IGlobalZoneService as _0x3b6f41,IMenuManagerService as _0x40daf9,MenuItemType as _0x3619ee,RibbonStartGroup as _0x4d66e0,getMenuHiddenObservable as _0x35bcf4}from'@univerjs/ui';import{UniverNetworkPlugin as _0x134407}from'@univerjs/network';import{PrintIcon as _0x2fcbea}from'@univerjs/icons';function _0x40f3(_0x3f6452,_0x43f917){_0x3f6452=_0x3f6452-0xbc;const _0x5c8961=_0x5c89();let _0x40f3fb=_0x5c8961[_0x3f6452];return _0x40f3fb;}function z(_0x2b721f){'@babel/helpers - typeof';const _0x1488d9=_0x40f3;return z=typeof Symbol==_0x1488d9(0xd4)&&typeof Symbol['iterator']=='symbol'?function(_0x26272a){return typeof _0x26272a;}:function(_0x5561ec){const _0x218b44=_0x1488d9;return _0x5561ec&&typeof Symbol==_0x218b44(0xd4)&&_0x5561ec['constructor']===Symbol&&_0x5561ec!==Symbol[_0x218b44(0xc4)]?_0x218b44(0xc1):typeof _0x5561ec;},z(_0x2b721f);}function _0x5c89(){const _0x399bd2=['setConfig','7490iZCHQB','absolute','_effects','div','onbeforeprint','_renderManagerService','VIEW_MAIN','_unitId','map','8gGtuIA','print.menu','UNIVER_DOCS_PRINT','left','1756341rNqAtT','_page','262sMkofj','root','with','symbol','18YxbHgX','render','prototype','getUnitId','_documents','1188360PNchza','BUTTON','_initMenus','length','getDocumentStyle','OTHERS','_skeleton','mainComponent','507269YhrNhr','1681xmIjjG','onReady','prepare','appendChild','function','PrintIcon','type','_addViewport','PRINTING_DOM_COLLECT','140516sRkaBg','Skeleton\x20data\x20is\x20not\x20found','call','_commandService','top','pageWidth','addObject','min','OPERATION','Printing','string','removeChild','print','getCurrentUnitOfType','100%','width','message','getOffsetConfig','syncExecuteCommand','_univerInstanceService','className','onStarting','0px','_initRenderer','828040AUqMHI','getUnit','_currentRender','style','get','mpn','valid','getInterceptPoints','save','_injector','__DocPrintRender__','_addComponent','_paperSize','version','_engine','restore','dispose','setId','forEach','_configService','_initCommands','_componentManager','7458FGmlcI','menu','packageName','createElement','makeDirty','disposeWithMe','pages','_config','getConfig','_menuManagerService','_globalZoneService','timeValid','Render\x20is\x20not\x20found','getSkeletonData','defineProperty','_root','isPro','TRADITIONAL','fill','mergeMenu','getContext','_viewMain','getRenderById','_skeletonData','_key','container','getCanvas','PRINTING_COMPONENT_COLLECT','_offsetConfig','_scene','_calculateLayout','body','pluginName','setContainer','page','Pages\x20are\x20not\x20found','getOwnPropertyDescriptor','_container','decorate','height','interceptor','scale','getSkeleton','bottom','UNIVER_DOC','object','0.20.1'];_0x5c89=function(){return _0x399bd2;};return _0x5c89();}function B(_0x1ac3aa,_0x43ec25){const _0x3433da=_0x40f3;if(z(_0x1ac3aa)!=_0x3433da(0x134)||!_0x1ac3aa)return _0x1ac3aa;var _0x9dc417=_0x1ac3aa[Symbol['toPrimitive']];if(_0x9dc417!==void 0x0){var _0x3fee89=_0x9dc417[_0x3433da(0xdb)](_0x1ac3aa,_0x43ec25||'default');if(z(_0x3fee89)!=_0x3433da(0x134))return _0x3fee89;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x43ec25===_0x3433da(0xe3)?String:Number)(_0x1ac3aa);}function V(_0x141c46){const _0x3bd46d=_0x40f3;var _0x410833=B(_0x141c46,_0x3bd46d(0xe3));return z(_0x410833)==_0x3bd46d(0xc1)?_0x410833:_0x410833+'';}function H(_0x3ae3ef,_0x27251d,_0x5d3055){const _0x5b9c8d=_0x40f3;return(_0x27251d=V(_0x27251d))in _0x3ae3ef?Object[_0x5b9c8d(0x115)](_0x3ae3ef,_0x27251d,{'value':_0x5d3055,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3ae3ef[_0x27251d]=_0x5d3055,_0x3ae3ef;}var U=class extends _0x4aa79b{get[_0x1d2396(0x120)](){const _0x30a1bd=_0x1d2396;return this[_0x30a1bd(0x12c)];}get[_0x1d2396(0xbf)](){const _0x5d4d7c=_0x1d2396;return this[_0x5d4d7c(0x116)];}get[_0x1d2396(0xf3)](){const _0x3b63e0=_0x1d2396;let _0x3159de=this[_0x3b63e0(0xfa)]['get'](_0x5d04f1)[_0x3b63e0(0x11d)](this[_0x3b63e0(0x13e)]);if(!_0x3159de)throw Error(_0x3b63e0(0x113));return _0x3159de;}get[_0x1d2396(0xcd)](){const _0x4d9868=_0x1d2396;return this[_0x4d9868(0xf3)][_0x4d9868(0xc0)](_0x51ae21)[_0x4d9868(0x131)]();}get[_0x1d2396(0x11e)](){const _0x4af31e=_0x1d2396;let _0x157463=this['_skeleton'][_0x4af31e(0x114)]();if(!_0x157463)throw Error(_0x4af31e(0xda));return _0x157463;}get[_0x1d2396(0xfd)](){const _0x396ae0=_0x1d2396;let _0x560781=this[_0x396ae0(0x11e)]['pages'][0x0];return{'width':_0x560781[_0x396ae0(0xde)],'height':_0x560781['pageHeight']};}constructor(_0x3880bb,_0xa5ae29,_0x5a8c62,_0x22c007){const _0x283662=_0x1d2396;super(),this[_0x283662(0xfa)]=_0x3880bb,this[_0x283662(0xbd)]=_0xa5ae29,this[_0x283662(0x13e)]=_0x5a8c62,this[_0x283662(0x123)]=_0x22c007,H(this,_0x283662(0x12c),document[_0x283662(0x10a)]('div')),H(this,_0x283662(0x116),document['createElement'](_0x283662(0x13a))),H(this,_0x283662(0xff),void 0x0),H(this,'_scene',void 0x0),H(this,'_key',void 0x0),H(this,_0x283662(0xc6),void 0x0),H(this,_0x283662(0x11c),void 0x0),H(this,'_effects',new _0x420e97()),this[_0x283662(0x11f)]=_0x1c9c42(0x4),this[_0x283662(0xf0)](),this[_0x283662(0x10c)]({'dispose':()=>{const _0x2f5279=_0x283662;this[_0x2f5279(0xff)][_0x2f5279(0x101)](),this[_0x2f5279(0x124)][_0x2f5279(0x101)](),this[_0x2f5279(0x139)][_0x2f5279(0x101)]();}});}[_0x1d2396(0x125)](){const _0xebbf0e=_0x1d2396;let {docsTop:_0x4f75f,docsLeft:_0x4c9d9f}=this[_0xebbf0e(0xc6)][_0xebbf0e(0xea)](),_0x2bb1d7=this[_0xebbf0e(0xfd)]['height'],_0x48d674=this[_0xebbf0e(0xfd)][_0xebbf0e(0xe8)];return{'top':_0x4f75f+(_0x4f75f+_0x2bb1d7)*this[_0xebbf0e(0xbd)],'bottom':_0x4f75f+(_0x4f75f+_0x2bb1d7)*(this['_page']+0x1),'left':_0x4c9d9f,'right':_0x4c9d9f+_0x48d674};}[_0x1d2396(0xf0)](){const _0x238e7e=_0x1d2396;this[_0x238e7e(0xff)]=new _0x86a510('',{'elementWidth':this[_0x238e7e(0xfd)][_0x238e7e(0xe8)],'elementHeight':this[_0x238e7e(0xfd)]['height'],'dpr':0x1,'renderMode':_0x413b4f[_0x238e7e(0xe2)]}),this[_0x238e7e(0x124)]=new _0x595ec1(this[_0x238e7e(0x11f)],this[_0x238e7e(0xff)]),this[_0x238e7e(0x124)][_0x238e7e(0x130)](0x1,0x1),this[_0x238e7e(0xff)][_0x238e7e(0x128)](this[_0x238e7e(0x12c)],!0x1),this[_0x238e7e(0xff)][_0x238e7e(0x121)]()[_0x238e7e(0x11b)]()[_0x238e7e(0x102)](this['_key']+'_'+_0x1c9c42(0x4)),this[_0x238e7e(0xfc)](),this[_0x238e7e(0xd7)]();}[_0x1d2396(0xfc)](){const _0x47c544=_0x1d2396;let {pageMarginLeft:_0x44dff0,pageMarginTop:_0x2bca3e,docsLeft:_0x528495,docsTop:_0x2f8774}=this[_0x47c544(0x123)],_0x431021={'pageMarginLeft':_0x44dff0,'pageMarginTop':_0x2bca3e},_0x1df20b=new _0x31447c(_0x47c544(0xfb),this[_0x47c544(0xcd)],_0x431021);_0x1df20b['translate'](_0x528495,_0x2f8774),this[_0x47c544(0x124)][_0x47c544(0xdf)](_0x1df20b),this[_0x47c544(0xc6)]=_0x1df20b;let _0x8309b8=this[_0x47c544(0xfa)]['get'](_0x46603a);_0x8309b8['interceptor']['fetchThroughInterceptors'](_0x8309b8[_0x47c544(0x12f)][_0x47c544(0xf8)]()[_0x47c544(0x122)])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x47c544(0x124)],'engine':this[_0x47c544(0xff)],'root':this[_0x47c544(0x116)],'documents':this[_0x47c544(0xc6)],'skeleton':this[_0x47c544(0xcd)]});}['_addViewport'](){const _0x2f88a0=_0x1d2396;this[_0x2f88a0(0x11c)]=new _0x4097fd(_0x2314ac[_0x2f88a0(0x13d)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x1d2396(0xd2)](){const _0x286ae3=_0x1d2396;let _0x21338a=this[_0x286ae3(0x125)]();this[_0x286ae3(0x11c)]['updateScrollVal']({'viewportScrollX':_0x21338a[_0x286ae3(0x143)],'viewportScrollY':_0x21338a[_0x286ae3(0xdd)]}),this[_0x286ae3(0x116)][_0x286ae3(0xf4)]['position']=_0x286ae3(0x138),this[_0x286ae3(0x116)]['style'][_0x286ae3(0xdd)]=_0x286ae3(0xef),this[_0x286ae3(0x116)][_0x286ae3(0xf4)]['left']=_0x286ae3(0xef),this[_0x286ae3(0x116)]['style'][_0x286ae3(0xe8)]='100%',this[_0x286ae3(0x116)][_0x286ae3(0xf4)]['height']=_0x286ae3(0xe7),this[_0x286ae3(0x139)]=new _0x420e97();let _0x36e3d7=this[_0x286ae3(0xfa)][_0x286ae3(0xf5)](_0x46603a);_0x36e3d7['interceptor']['fetchThroughInterceptors'](_0x36e3d7[_0x286ae3(0x12f)][_0x286ae3(0xf8)]()[_0x286ae3(0xd8)])(this[_0x286ae3(0x139)],{'unitId':this['_unitId'],'scene':this[_0x286ae3(0x124)],'engine':this['_engine'],'root':this[_0x286ae3(0x116)],'skeleton':this[_0x286ae3(0xcd)],'offset':{'x':_0x21338a[_0x286ae3(0x143)],'y':_0x21338a[_0x286ae3(0xdd)]},'bound':{'top':_0x21338a[_0x286ae3(0xdd)],'left':_0x21338a['left'],'right':_0x21338a['right'],'bottom':_0x21338a[_0x286ae3(0x132)]}});}[_0x1d2396(0xc3)](){const _0x1f879f=_0x1d2396;let _0x2b35c5=this[_0x1f879f(0xff)][_0x1f879f(0x121)]()[_0x1f879f(0x11b)]();this[_0x1f879f(0xc6)]['makeForceDirty'](),this[_0x1f879f(0x124)][_0x1f879f(0x10b)](),_0x2b35c5[_0x1f879f(0xf9)](),this[_0x1f879f(0x124)][_0x1f879f(0xc3)](),_0x2b35c5[_0x1f879f(0x100)]();}};function W(_0x4c5f76,_0x32ef96){return function(_0x5d0d57,_0x4abf69){_0x32ef96(_0x5d0d57,_0x4abf69,_0x4c5f76);};}function G(_0x2faf2f,_0x4dec53,_0x100918,_0x1625a1){const _0x1e2466=_0x1d2396;var _0x1e6b8a=arguments['length'],_0x5b09bc=_0x1e6b8a<0x3?_0x4dec53:_0x1625a1===null?_0x1625a1=Object[_0x1e2466(0x12b)](_0x4dec53,_0x100918):_0x1625a1,_0x382adf;if(typeof Reflect==_0x1e2466(0x134)&&typeof Reflect[_0x1e2466(0x12d)]=='function')_0x5b09bc=Reflect[_0x1e2466(0x12d)](_0x2faf2f,_0x4dec53,_0x100918,_0x1625a1);else{for(var _0x363e07=_0x2faf2f[_0x1e2466(0xca)]-0x1;_0x363e07>=0x0;_0x363e07--)(_0x382adf=_0x2faf2f[_0x363e07])&&(_0x5b09bc=(_0x1e6b8a<0x3?_0x382adf(_0x5b09bc):_0x1e6b8a>0x3?_0x382adf(_0x4dec53,_0x100918,_0x5b09bc):_0x382adf(_0x4dec53,_0x100918))||_0x5b09bc);}return _0x1e6b8a>0x3&&_0x5b09bc&&Object[_0x1e2466(0x115)](_0x4dec53,_0x100918,_0x5b09bc),_0x5b09bc;}const K=Number['parseInt'](0x69d9f405),q=(_0x1bf7c2,_0x2c8085,_0x5b1a96)=>{const _0x268e07=_0x1d2396;let _0x1cd5ce={'page':_0x1bf7c2,'isPro':!0x1,'timeValid':!0x1};if(!_0x2c8085||!_0x5b1a96)return _0x1cd5ce;let _0x523344=_0x3d9cad(_0x2c8085,_0x5b1a96);if(_0x523344[_0x268e07(0xf7)]){let _0x37b01=_0x523344[_0x268e07(0xe9)],_0x2192d9=_0x4e4567(_0x37b01,'df',K);_0x1cd5ce[_0x268e07(0x117)]=_0x2192d9,_0x1cd5ce[_0x268e07(0x112)]=_0x2192d9,_0x1cd5ce[_0x268e07(0x129)]=_0x5c8930(_0x37b01,_0x2192d9,_0x268e07(0xf6),_0x1bf7c2,_0x1bf7c2,0x0);}return _0x1cd5ce;};let J=class extends _0x4aa79b{constructor(_0x7e5b01,_0x476dea,_0x31e7d6,_0x56e070,_0x3c94ce){const _0x2aa25c=_0x1d2396;super(),this[_0x2aa25c(0xec)]=_0x7e5b01,this['_renderManagerService']=_0x476dea,this[_0x2aa25c(0xfa)]=_0x31e7d6,this['_configService']=_0x56e070,this[_0x2aa25c(0x111)]=_0x3c94ce;}['print'](_0x2d9295){const _0x16f2fc=_0x1d2396;var _0x39d57a,_0x4c6273;let {ls:_0x5649aa,pbk:_0x1b5497}=(_0x39d57a=this[_0x16f2fc(0x104)][_0x16f2fc(0x10f)](_0x53ea4d))==null?{}:_0x39d57a,_0x5d931c=_0x353877()?0x1/0x0:q(0x1,_0x5649aa,_0x1b5497)['page'];if(!this['_univerInstanceService'][_0x16f2fc(0xf2)](_0x2d9295,_0x3293f0[_0x16f2fc(0x133)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x2d10f0=this[_0x16f2fc(0x13c)][_0x16f2fc(0x11d)](_0x2d9295);if(!_0x2d10f0)throw Error(_0x16f2fc(0x113));let _0x26fb56=(_0x4c6273=_0x2d10f0[_0x16f2fc(0xc0)](_0x51ae21)[_0x16f2fc(0x131)]()['getSkeletonData']())==null?void 0x0:_0x4c6273[_0x16f2fc(0x10d)];if(!_0x26fb56)throw Error(_0x16f2fc(0x12a));let _0x5d8074={'width':_0x26fb56[0x0][_0x16f2fc(0xde)],'height':_0x26fb56[0x0]['pageHeight']},_0xff8e46=_0x26fb56['length'],_0x153f00=Math[_0x16f2fc(0xe0)](_0x5d931c,_0xff8e46),_0x1406ad=_0x2d10f0[_0x16f2fc(0xce)]['getOffsetConfig'](),_0x242817=document[_0x16f2fc(0x10a)]('div');_0x242817['className']=_0x1dad64;let _0x3631f6=Array(_0x153f00)[_0x16f2fc(0x119)](null)[_0x16f2fc(0x13f)]((_0x39bd40,_0x269a16)=>{const _0x19744d=_0x16f2fc;let _0xd13775=new U(this[_0x19744d(0xfa)],_0x269a16,_0x2d9295,_0x1406ad);return _0xd13775[_0x19744d(0x120)][_0x19744d(0xed)]=_0x110180,_0xd13775;});_0x3631f6[_0x16f2fc(0x103)](_0x558748=>{const _0x58a0b6=_0x16f2fc;_0x242817[_0x58a0b6(0xd3)](_0x558748['container']),_0x558748[_0x58a0b6(0x120)][_0x58a0b6(0xd3)](_0x558748[_0x58a0b6(0xbf)]),_0x558748[_0x58a0b6(0xd2)]();});let _0xf4eacb=_0x57ffc4(_0x5d8074[_0x16f2fc(0xe8)],_0x5d8074[_0x16f2fc(0x12e)],_0x152c11['Portrait']);return document[_0x16f2fc(0x126)]['appendChild'](_0xf4eacb),document[_0x16f2fc(0x126)][_0x16f2fc(0xd3)](_0x242817),new Promise(_0x474f1b=>{setTimeout(()=>{const _0x1885f4=_0x40f3;window[_0x1885f4(0x13b)]=()=>{_0x3631f6['forEach'](_0x39b008=>{_0x39b008['render']();});},window['onafterprint']=()=>{const _0x170412=_0x1885f4;_0x3631f6[_0x170412(0x103)](_0x2ba341=>{const _0x4768d3=_0x170412;_0x2ba341[_0x4768d3(0x101)]();}),document[_0x170412(0x126)][_0x170412(0xe4)](_0x242817),document['body']['removeChild'](_0xf4eacb),this[_0x170412(0x111)]['close'](),_0x474f1b(!0x0);},window[_0x1885f4(0xe5)]();},0x64);});}};J=G([W(0x0,_0x1f29ec),W(0x1,_0x5d04f1),W(0x2,_0x5dd5c2(_0x564c2e)),W(0x3,_0x4d6c2f),W(0x4,_0x3b6f41)],J);const Y={'id':'docs.operation.print','type':_0x55b3d7[_0x1d2396(0xe1)],'handler':async _0x47206f=>{const _0x3d4f39=_0x1d2396;let _0x4fd832=_0x47206f[_0x3d4f39(0xf5)](_0x1f29ec),_0x55a103=_0x47206f[_0x3d4f39(0xf5)](J),_0xde5703=_0x47206f[_0x3d4f39(0xf5)](_0x5d04f1),_0x341a37=_0x47206f['get'](_0x148390),_0x30f5c6=_0x4fd832[_0x3d4f39(0xe6)](_0x3293f0[_0x3d4f39(0x133)]);if(!_0x30f5c6)return!0x1;if(!_0xde5703['getRenderById'](_0x30f5c6['getUnitId']()))throw Error(_0x3d4f39(0x113));let _0x4552ee=_0x30f5c6[_0x3d4f39(0xcb)]()['documentFlavor'];return _0x4552ee!==_0x405a93[_0x3d4f39(0x118)]&&_0x341a37[_0x3d4f39(0xeb)](_0x1b61b9['id']),await _0x55a103[_0x3d4f39(0xe5)](_0x30f5c6[_0x3d4f39(0xc5)]()),_0x4552ee!==_0x405a93[_0x3d4f39(0x118)]&&_0x341a37[_0x3d4f39(0xeb)](_0x1b61b9['id']),!0x0;}},X=_0x1d2396(0x142),Z={};var ie='@univerjs-pro/docs-print',ae=_0x1d2396(0x135);function oe(_0x51d184){const _0x33e45b=_0x1d2396;return{'id':Y['id'],'type':_0x3619ee[_0x33e45b(0xc8)],'title':_0x33e45b(0x141),'icon':_0x33e45b(0xd5),'tooltip':_0x33e45b(0x141),'hidden$':_0x35bcf4(_0x51d184,_0x3293f0[_0x33e45b(0x133)])};}const se={[_0x4d66e0[_0x1d2396(0xcc)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x4aa79b{constructor(_0x3f9c1b,_0x3b4167,_0x51554f){const _0x407e6f=_0x1d2396;super(),this['_commandService']=_0x3f9c1b,this[_0x407e6f(0x110)]=_0x3b4167,this['_componentManager']=_0x51554f,this[_0x407e6f(0xc9)](),this[_0x407e6f(0x105)](),this['_initComponents']();}[_0x1d2396(0xc9)](){const _0x1c4845=_0x1d2396;this['_menuManagerService'][_0x1c4845(0x11a)](se);}[_0x1d2396(0x105)](){const _0x345ff1=_0x1d2396;this['disposeWithMe'](this[_0x345ff1(0xdc)]['registerCommand'](Y));}['_initComponents'](){const _0x25bba0=_0x1d2396;[[_0x25bba0(0xd5),_0x2fcbea]][_0x25bba0(0x103)](([_0xb1859a,_0x33f566])=>{const _0x32ad76=_0x25bba0;this[_0x32ad76(0x106)]['register'](_0xb1859a,_0x33f566);});}};Q=G([W(0x0,_0x148390),W(0x1,_0x40daf9),W(0x2,_0x5dd5c2(_0x1c5eea))],Q);let $=class extends _0x58cf96{constructor(_0x3df94c=Z,_0x4a423a,_0x1b1fa1){const _0x4b4750=_0x1d2396;super(),this[_0x4b4750(0x10e)]=_0x3df94c,this[_0x4b4750(0xfa)]=_0x4a423a,this[_0x4b4750(0x104)]=_0x1b1fa1;let {menu:_0x55643e,..._0x44db79}=_0x7313bb({},Z,this[_0x4b4750(0x10e)]);_0x55643e&&this['_configService'][_0x4b4750(0x136)](_0x4b4750(0x108),_0x55643e,{'merge':!0x0}),this[_0x4b4750(0x104)][_0x4b4750(0x136)](X,_0x44db79);}[_0x1d2396(0xee)](){const _0x5d7660=_0x1d2396;_0x15c93e(this[_0x5d7660(0xfa)],[[J],[Q]]);}[_0x1d2396(0xd1)](){const _0x34e202=_0x1d2396;this[_0x34e202(0xfa)][_0x34e202(0xf5)](Q);}};H($,_0x1d2396(0x127),_0x1d2396(0x142)),H($,_0x1d2396(0x109),ie),H($,_0x1d2396(0xfe),ae),H($,_0x1d2396(0xd6),_0x3293f0[_0x1d2396(0x133)]),$=G([_0x40da35(_0x134407,_0x4c48f8),W(0x1,_0x5dd5c2(_0x564c2e)),W(0x2,_0x4d6c2f)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x482482=_0x176c;function _0xe7aa(){const _0x172b87=['getOwnPropertyDescriptor','_documents','_unitId','PRINTING_DOM_COLLECT','position','onafterprint','className','mainComponent','documentFlavor','onStarting','500862jMoULZ','menu','_componentManager','_scene','div','_currentRender','30414hACKxu','Render\x20is\x20not\x20found','map','restore','left','isPro','root','457200vqqgMs','width','save','12276lXNPpN','getSkeletonData','_addComponent','pageHeight','TRADITIONAL','_commandService','_page','OTHERS','_injector','toPrimitive','UNIVER_DOCS_PRINT','_initComponents','style','appendChild','top','8921pPjNSB','dispose','packageName','parseInt','interceptor','timeValid','makeForceDirty','function','getConfig','pluginName','0.21.0-insiders.20260422-d7fcb4d','_engine','_container','setId','_calculateLayout','min','Skeleton\x20data\x20is\x20not\x20found','setConfig','prepare','676OdHsFp','scale','getCurrentUnitOfType','_renderManagerService','DocumentDataModel\x20is\x20not\x20found','Portrait','2CSfcuN','_skeleton','fill','_globalZoneService','with','_initCommands','_configService','OPERATION','_menuManagerService','getContext','string','UNIVER_DOC','translate','symbol','1085430gsIGWF','forEach','7465GueWLa','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getSkeleton','mpn','right','100%','_root','body','183552kxfLZD','height','0px','print.menu','mergeMenu','_skeletonData','onbeforeprint','get','defineProperty','register','_univerInstanceService','_viewMain','getUnitId','object','getInterceptPoints','close','version','constructor','_addViewport','syncExecuteCommand','page','docs.operation.print','_initMenus','createElement','fetchThroughInterceptors','168KMgxFH','length','getRenderById','pages','VIEW_MAIN','PrintIcon','getCanvas','_effects','print','_key','decorate','pageWidth','disposeWithMe','removeChild','render','setContainer','prototype','Printing','getOffsetConfig','onReady','container','9hVosNk','_paperSize','_offsetConfig','addObject'];_0xe7aa=function(){return _0x172b87;};return _0xe7aa();}(function(_0x4cc5ca,_0x32c4f1){const _0x434d2f=_0x176c,_0x3a3ba4=_0x4cc5ca();while(!![]){try{const _0x50bebb=parseInt(_0x434d2f(0x163))/0x1+-parseInt(_0x434d2f(0x102))/0x2*(parseInt(_0x434d2f(0x15c))/0x3)+-parseInt(_0x434d2f(0xfc))/0x4*(parseInt(_0x434d2f(0x112))/0x5)+-parseInt(_0x434d2f(0x156))/0x6+-parseInt(_0x434d2f(0x133))/0x7*(parseInt(_0x434d2f(0x11a))/0x8)+parseInt(_0x434d2f(0x148))/0x9*(-parseInt(_0x434d2f(0x110))/0xa)+parseInt(_0x434d2f(0xe9))/0xb*(parseInt(_0x434d2f(0x166))/0xc);if(_0x50bebb===_0x32c4f1)break;else _0x3a3ba4['push'](_0x3a3ba4['shift']());}catch(_0xa6e0b7){_0x3a3ba4['push'](_0x3a3ba4['shift']());}}}(_0xe7aa,0x44c7a));import{CommandType,DependentOn,Disposable,DisposableCollection,DocumentFlavor,ICommandService,IConfigService,IUniverInstanceService,Inject,Injector,Plugin,UniverInstanceType,generateRandomId,merge,registerDependencies}from'@univerjs/core';import{DocPrintInterceptorService,SwitchDocModeCommand,VIEWPORT_KEY}from'@univerjs/docs-ui';import{CanvasRenderMode,Documents,Engine,IRenderManagerService,Scene,Viewport}from'@univerjs/engine-render';import{LS_CONFIG_KEY,UniverLicensePlugin,getDocFeatureLimit,getLicenseInfo,isFeatureAuthorizedWithinTime,isLocalCheck}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS,PRINT_CONTAINER_CLASS,PrintDirection,createPrintStyle}from'@univerjs-pro/print';import{DocSkeletonManagerService}from'@univerjs/docs';import{ComponentManager,IGlobalZoneService,IMenuManagerService,MenuItemType,RibbonStartGroup,getMenuHiddenObservable}from'@univerjs/ui';import{UniverNetworkPlugin}from'@univerjs/network';import{PrintIcon}from'@univerjs/icons';function _typeof(_0x5a1711){'@babel/helpers - typeof';const _0x646459=_0x176c;return _typeof='function'==typeof Symbol&&_0x646459(0x10f)==typeof Symbol['iterator']?function(_0x490c63){return typeof _0x490c63;}:function(_0xdbe747){const _0x5e94d8=_0x646459;return _0xdbe747&&_0x5e94d8(0xf0)==typeof Symbol&&_0xdbe747[_0x5e94d8(0x12b)]===Symbol&&_0xdbe747!==Symbol[_0x5e94d8(0x143)]?_0x5e94d8(0x10f):typeof _0xdbe747;},_typeof(_0x5a1711);}function toPrimitive(_0x442919,_0x55ba2b){const _0x40c7c4=_0x176c;if(_0x40c7c4(0x127)!=_typeof(_0x442919)||!_0x442919)return _0x442919;var _0x368913=_0x442919[Symbol[_0x40c7c4(0xe3)]];if(void 0x0!==_0x368913){var _0x34c719=_0x368913['call'](_0x442919,_0x55ba2b||'default');if(_0x40c7c4(0x127)!=_typeof(_0x34c719))return _0x34c719;throw new TypeError(_0x40c7c4(0x113));}return(_0x40c7c4(0x10c)===_0x55ba2b?String:Number)(_0x442919);}function toPropertyKey(_0x692b56){const _0x3a319f=_0x176c;var _0x176794=toPrimitive(_0x692b56,_0x3a319f(0x10c));return _0x3a319f(0x10f)==_typeof(_0x176794)?_0x176794:_0x176794+'';}function _defineProperty(_0x26a652,_0x4f8b78,_0x12de89){const _0x14cb04=_0x176c;return(_0x4f8b78=toPropertyKey(_0x4f8b78))in _0x26a652?Object[_0x14cb04(0x122)](_0x26a652,_0x4f8b78,{'value':_0x12de89,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x26a652[_0x4f8b78]=_0x12de89,_0x26a652;}var DocPrintPageCanvasView=class extends Disposable{get[_0x482482(0x147)](){return this['_container'];}get[_0x482482(0x162)](){const _0xdd23f9=_0x482482;return this[_0xdd23f9(0x118)];}get[_0x482482(0x15b)](){const _0x131108=_0x482482,_0x1b7e9c=this['_injector'][_0x131108(0x121)](IRenderManagerService)[_0x131108(0x135)](this['_unitId']);if(!_0x1b7e9c)throw new Error(_0x131108(0x15d));return _0x1b7e9c;}get[_0x482482(0x103)](){const _0x946751=_0x482482;return this['_currentRender'][_0x946751(0x106)](DocSkeletonManagerService)[_0x946751(0x114)]();}get[_0x482482(0x11f)](){const _0xacf1ee=_0x482482,_0x3c52d2=this['_skeleton'][_0xacf1ee(0xdb)]();if(!_0x3c52d2)throw new Error(_0xacf1ee(0xf9));return _0x3c52d2;}get[_0x482482(0x149)](){const _0x4fa52b=_0x482482,_0x2efbf4=this[_0x4fa52b(0x11f)][_0x4fa52b(0x136)][0x0];return{'width':_0x2efbf4[_0x4fa52b(0x13e)],'height':_0x2efbf4[_0x4fa52b(0xdd)]};}constructor(_0x549382,_0x2c55f5,_0x35d868,_0x56805e){const _0x26ef9f=_0x482482;super(),this[_0x26ef9f(0xe2)]=_0x549382,this[_0x26ef9f(0xe0)]=_0x2c55f5,this[_0x26ef9f(0x14e)]=_0x35d868,this[_0x26ef9f(0x14a)]=_0x56805e,_defineProperty(this,_0x26ef9f(0xf5),document[_0x26ef9f(0x131)]('div')),_defineProperty(this,_0x26ef9f(0x118),document['createElement'](_0x26ef9f(0x15a))),_defineProperty(this,_0x26ef9f(0xf4),void 0x0),_defineProperty(this,_0x26ef9f(0x159),void 0x0),_defineProperty(this,_0x26ef9f(0x13c),void 0x0),_defineProperty(this,'_documents',void 0x0),_defineProperty(this,_0x26ef9f(0x125),void 0x0),_defineProperty(this,'_effects',new DisposableCollection()),this['_key']=generateRandomId(0x4),this['_initRenderer'](),this[_0x26ef9f(0x13f)]({'dispose':()=>{const _0x231141=_0x26ef9f;this[_0x231141(0xf4)][_0x231141(0xea)](),this[_0x231141(0x159)][_0x231141(0xea)](),this[_0x231141(0x13a)][_0x231141(0xea)]();}});}[_0x482482(0xf7)](){const _0xbdde37=_0x482482,{docsTop:_0x5d6f07,docsLeft:_0x463004}=this[_0xbdde37(0x14d)]['getOffsetConfig'](),_0x59c806=this[_0xbdde37(0x149)][_0xbdde37(0x11b)],_0x61e8f6=this['_paperSize'][_0xbdde37(0x164)];return{'top':_0x5d6f07+(_0x5d6f07+_0x59c806)*this[_0xbdde37(0xe0)],'bottom':_0x5d6f07+(_0x5d6f07+_0x59c806)*(this[_0xbdde37(0xe0)]+0x1),'left':_0x463004,'right':_0x463004+_0x61e8f6};}['_initRenderer'](){const _0x2adbe3=_0x482482,_0x219fe3=0x1;this[_0x2adbe3(0xf4)]=new Engine('',{'elementWidth':this[_0x2adbe3(0x149)][_0x2adbe3(0x164)],'elementHeight':this[_0x2adbe3(0x149)][_0x2adbe3(0x11b)],'dpr':0x1,'renderMode':CanvasRenderMode[_0x2adbe3(0x144)]}),this[_0x2adbe3(0x159)]=new Scene(this[_0x2adbe3(0x13c)],this['_engine']),this[_0x2adbe3(0x159)][_0x2adbe3(0xfd)](_0x219fe3,_0x219fe3),this[_0x2adbe3(0xf4)][_0x2adbe3(0x142)](this[_0x2adbe3(0xf5)],![]),this[_0x2adbe3(0xf4)][_0x2adbe3(0x139)]()[_0x2adbe3(0x10b)]()[_0x2adbe3(0xf6)](this[_0x2adbe3(0x13c)]+'_'+generateRandomId(0x4)),this['_addComponent'](),this[_0x2adbe3(0x12c)]();}[_0x482482(0xdc)](){const _0x569272=_0x482482,{pageMarginLeft:_0x21d571,pageMarginTop:_0x5b36d8,docsLeft:_0x6ce05,docsTop:_0x1f8c62}=this[_0x569272(0x14a)],_0x41d72c={'pageMarginLeft':_0x21d571,'pageMarginTop':_0x5b36d8},_0x4ab5e0=new Documents('__DocPrintRender__',this[_0x569272(0x103)],_0x41d72c);_0x4ab5e0[_0x569272(0x10e)](_0x6ce05,_0x1f8c62),this[_0x569272(0x159)][_0x569272(0x14b)](_0x4ab5e0),this[_0x569272(0x14d)]=_0x4ab5e0;const _0x2deac3=this['_injector'][_0x569272(0x121)](DocPrintInterceptorService);_0x2deac3[_0x569272(0xed)][_0x569272(0x132)](_0x2deac3[_0x569272(0xed)][_0x569272(0x128)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this['_unitId'],'scene':this['_scene'],'engine':this[_0x569272(0xf4)],'root':this['_root'],'documents':this[_0x569272(0x14d)],'skeleton':this[_0x569272(0x103)]});}[_0x482482(0x12c)](){const _0x34e4df=_0x482482;this[_0x34e4df(0x125)]=new Viewport(VIEWPORT_KEY[_0x34e4df(0x137)],this[_0x34e4df(0x159)],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}[_0x482482(0xfb)](){const _0x20093b=_0x482482,_0x2731c7=this[_0x20093b(0xf7)]();this[_0x20093b(0x125)]['updateScrollVal']({'viewportScrollX':_0x2731c7[_0x20093b(0x160)],'viewportScrollY':_0x2731c7['top']}),this[_0x20093b(0x118)][_0x20093b(0xe6)][_0x20093b(0x150)]='absolute',this[_0x20093b(0x118)][_0x20093b(0xe6)][_0x20093b(0xe8)]='0px',this[_0x20093b(0x118)][_0x20093b(0xe6)][_0x20093b(0x160)]=_0x20093b(0x11c),this['_root'][_0x20093b(0xe6)][_0x20093b(0x164)]=_0x20093b(0x117),this[_0x20093b(0x118)][_0x20093b(0xe6)][_0x20093b(0x11b)]=_0x20093b(0x117),this[_0x20093b(0x13a)]=new DisposableCollection();const _0x471d4c=this[_0x20093b(0xe2)][_0x20093b(0x121)](DocPrintInterceptorService);_0x471d4c[_0x20093b(0xed)][_0x20093b(0x132)](_0x471d4c[_0x20093b(0xed)][_0x20093b(0x128)]()[_0x20093b(0x14f)])(this[_0x20093b(0x13a)],{'unitId':this[_0x20093b(0x14e)],'scene':this[_0x20093b(0x159)],'engine':this[_0x20093b(0xf4)],'root':this[_0x20093b(0x118)],'skeleton':this[_0x20093b(0x103)],'offset':{'x':_0x2731c7[_0x20093b(0x160)],'y':_0x2731c7[_0x20093b(0xe8)]},'bound':{'top':_0x2731c7[_0x20093b(0xe8)],'left':_0x2731c7[_0x20093b(0x160)],'right':_0x2731c7[_0x20093b(0x116)],'bottom':_0x2731c7['bottom']}});}[_0x482482(0x141)](){const _0xd49a6b=_0x482482,_0x5af2f3=this[_0xd49a6b(0xf4)][_0xd49a6b(0x139)]()[_0xd49a6b(0x10b)]();this['_documents'][_0xd49a6b(0xef)](),this[_0xd49a6b(0x159)]['makeDirty'](),_0x5af2f3[_0xd49a6b(0x165)](),this[_0xd49a6b(0x159)][_0xd49a6b(0x141)](),_0x5af2f3[_0xd49a6b(0x15f)]();}};function __decorateParam(_0x50dd31,_0x4bb056){return function(_0x28a953,_0x576792){_0x4bb056(_0x28a953,_0x576792,_0x50dd31);};}function __decorate(_0x5ede40,_0x3a3bda,_0x475619,_0x404888){const _0x3e5bb9=_0x482482;var _0xe3a084=arguments[_0x3e5bb9(0x134)],_0xba5946=_0xe3a084<0x3?_0x3a3bda:_0x404888===null?_0x404888=Object[_0x3e5bb9(0x14c)](_0x3a3bda,_0x475619):_0x404888,_0x33e500;if(typeof Reflect===_0x3e5bb9(0x127)&&typeof Reflect[_0x3e5bb9(0x13d)]===_0x3e5bb9(0xf0))_0xba5946=Reflect['decorate'](_0x5ede40,_0x3a3bda,_0x475619,_0x404888);else{for(var _0x262b3a=_0x5ede40[_0x3e5bb9(0x134)]-0x1;_0x262b3a>=0x0;_0x262b3a--)if(_0x33e500=_0x5ede40[_0x262b3a])_0xba5946=(_0xe3a084<0x3?_0x33e500(_0xba5946):_0xe3a084>0x3?_0x33e500(_0x3a3bda,_0x475619,_0xba5946):_0x33e500(_0x3a3bda,_0x475619))||_0xba5946;}return _0xe3a084>0x3&&_0xba5946&&Object[_0x3e5bb9(0x122)](_0x3a3bda,_0x475619,_0xba5946),_0xba5946;}const BUILD_TIMESTAMP=Number[_0x482482(0xec)](0x69e87aa7),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x37be92,_0x2bd206,_0x42f26e)=>{const _0x4ccdde=_0x482482,_0x5a71c1={'page':_0x37be92,'isPro':![],'timeValid':![]};if(!_0x2bd206||!_0x42f26e)return _0x5a71c1;const _0x33640f=getLicenseInfo(_0x2bd206,_0x42f26e);if(_0x33640f['valid']){const _0x2b80d6=_0x33640f['message'],_0x10d842=isFeatureAuthorizedWithinTime(_0x2b80d6,'df',BUILD_TIMESTAMP);_0x5a71c1[_0x4ccdde(0x161)]=_0x10d842,_0x5a71c1[_0x4ccdde(0xee)]=_0x10d842,_0x5a71c1[_0x4ccdde(0x12e)]=getDocFeatureLimit(_0x2b80d6,_0x10d842,_0x4ccdde(0x115),_0x37be92,_0x37be92,0x0);}return _0x5a71c1;};let DocPrintService=class DocPrintService extends Disposable{constructor(_0x554858,_0x363649,_0x21f26c,_0x309ca8,_0x37711b){const _0x328b15=_0x482482;super(),this[_0x328b15(0x124)]=_0x554858,this['_renderManagerService']=_0x363649,this[_0x328b15(0xe2)]=_0x21f26c,this[_0x328b15(0x108)]=_0x309ca8,this[_0x328b15(0x105)]=_0x37711b;}[_0x482482(0x13b)](_0x4c4b80){const _0x5a4ce5=_0x482482;var _0x53232f,_0x4f79c2;const {ls:_0x3a2ed5,pbk:_0x46241c}=(_0x53232f=this['_configService'][_0x5a4ce5(0xf1)](LS_CONFIG_KEY))!==null&&_0x53232f!==void 0x0?_0x53232f:{},_0x1d6d7d=isLocalCheck()?Number['POSITIVE_INFINITY']:getPrintInfoByLicense(0x1,_0x3a2ed5,_0x46241c)['page'];if(!this[_0x5a4ce5(0x124)]['getUnit'](_0x4c4b80,UniverInstanceType[_0x5a4ce5(0x10d)]))throw new Error(_0x5a4ce5(0x100));const _0x5b2474=this[_0x5a4ce5(0xff)][_0x5a4ce5(0x135)](_0x4c4b80);if(!_0x5b2474)throw new Error(_0x5a4ce5(0x15d));const _0x2187b7=(_0x4f79c2=_0x5b2474[_0x5a4ce5(0x106)](DocSkeletonManagerService)[_0x5a4ce5(0x114)]()[_0x5a4ce5(0xdb)]())===null||_0x4f79c2===void 0x0?void 0x0:_0x4f79c2[_0x5a4ce5(0x136)];if(!_0x2187b7)throw new Error('Pages\x20are\x20not\x20found');const _0x209649={'width':_0x2187b7[0x0][_0x5a4ce5(0x13e)],'height':_0x2187b7[0x0]['pageHeight']},_0x4cc1ba=_0x2187b7[_0x5a4ce5(0x134)],_0x5651b3=Math[_0x5a4ce5(0xf8)](_0x1d6d7d,_0x4cc1ba),_0x497813=_0x5b2474[_0x5a4ce5(0x153)][_0x5a4ce5(0x145)](),_0x6f2122=document[_0x5a4ce5(0x131)]('div');_0x6f2122[_0x5a4ce5(0x152)]=PRINT_CONTAINER_CLASS;const _0x48e924=new Array(_0x5651b3)[_0x5a4ce5(0x104)](null)[_0x5a4ce5(0x15e)]((_0x4192b6,_0x3dd909)=>{const _0x1c38d3=_0x5a4ce5,_0x5498ae=new DocPrintPageCanvasView(this['_injector'],_0x3dd909,_0x4c4b80,_0x497813);return _0x5498ae['container'][_0x1c38d3(0x152)]=PRINT_CANVAS_CLASS,_0x5498ae;});_0x48e924[_0x5a4ce5(0x111)](_0x4eff7c=>{const _0xa5b8ae=_0x5a4ce5;_0x6f2122['appendChild'](_0x4eff7c[_0xa5b8ae(0x147)]),_0x4eff7c['container'][_0xa5b8ae(0xe7)](_0x4eff7c[_0xa5b8ae(0x162)]),_0x4eff7c[_0xa5b8ae(0xfb)]();});const _0x2c3a4a=createPrintStyle(_0x209649[_0x5a4ce5(0x164)],_0x209649[_0x5a4ce5(0x11b)],PrintDirection[_0x5a4ce5(0x101)]);return document[_0x5a4ce5(0x119)][_0x5a4ce5(0xe7)](_0x2c3a4a),document[_0x5a4ce5(0x119)][_0x5a4ce5(0xe7)](_0x6f2122),new Promise(_0x294830=>{setTimeout(()=>{const _0x2cf7d3=_0x176c;window[_0x2cf7d3(0x120)]=()=>{const _0x43648c=_0x2cf7d3;_0x48e924[_0x43648c(0x111)](_0x543645=>{const _0x38ae43=_0x43648c;_0x543645[_0x38ae43(0x141)]();});},window[_0x2cf7d3(0x151)]=()=>{const _0x1b5ba4=_0x2cf7d3;_0x48e924[_0x1b5ba4(0x111)](_0x303dbc=>{const _0x2f72b1=_0x1b5ba4;_0x303dbc[_0x2f72b1(0xea)]();}),document[_0x1b5ba4(0x119)]['removeChild'](_0x6f2122),document[_0x1b5ba4(0x119)][_0x1b5ba4(0x140)](_0x2c3a4a),this[_0x1b5ba4(0x105)][_0x1b5ba4(0x129)](),_0x294830(!![]);},window['print']();},0x64);});}};DocPrintService=__decorate([__decorateParam(0x0,IUniverInstanceService),__decorateParam(0x1,IRenderManagerService),__decorateParam(0x2,Inject(Injector)),__decorateParam(0x3,IConfigService),__decorateParam(0x4,IGlobalZoneService)],DocPrintService);function _0x176c(_0x5bf3db,_0x27efa6){_0x5bf3db=_0x5bf3db-0xdb;const _0xe7aaae=_0xe7aa();let _0x176c35=_0xe7aaae[_0x5bf3db];return _0x176c35;}const DocPrintOperation={'id':_0x482482(0x12f),'type':CommandType[_0x482482(0x109)],'handler':async _0xc17963=>{const _0x2c683b=_0x482482,_0x20970b=_0xc17963[_0x2c683b(0x121)](IUniverInstanceService),_0x4cf5df=_0xc17963[_0x2c683b(0x121)](DocPrintService),_0x10600b=_0xc17963[_0x2c683b(0x121)](IRenderManagerService),_0xf751ee=_0xc17963[_0x2c683b(0x121)](ICommandService),_0x5a27af=_0x20970b[_0x2c683b(0xfe)](UniverInstanceType[_0x2c683b(0x10d)]);if(!_0x5a27af)return![];if(!_0x10600b[_0x2c683b(0x135)](_0x5a27af['getUnitId']()))throw new Error(_0x2c683b(0x15d));const _0x982309=_0x5a27af['getDocumentStyle']()[_0x2c683b(0x154)];if(_0x982309!==DocumentFlavor['TRADITIONAL'])_0xf751ee[_0x2c683b(0x12d)](SwitchDocModeCommand['id']);await _0x4cf5df['print'](_0x5a27af[_0x2c683b(0x126)]());if(_0x982309!==DocumentFlavor[_0x2c683b(0xde)])_0xf751ee[_0x2c683b(0x12d)](SwitchDocModeCommand['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY=_0x482482(0xe4),defaultPluginConfig={};var name='@univerjs-pro/docs-print',version=_0x482482(0xf3);const DOCS_PRINT_PLUGIN_NAME=_0x482482(0xe4);function DocPrintMenuItemFactory(_0x346fca){const _0x3b1b47=_0x482482;return{'id':DocPrintOperation['id'],'type':MenuItemType['BUTTON'],'title':_0x3b1b47(0x11d),'icon':'PrintIcon','tooltip':_0x3b1b47(0x11d),'hidden$':getMenuHiddenObservable(_0x346fca,UniverInstanceType['UNIVER_DOC'])};}const menuSchema={[RibbonStartGroup[_0x482482(0xe1)]]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};let DocsPrintUIController=class DocsPrintUIController extends Disposable{constructor(_0x1abcf4,_0x56e624,_0x2132ab){const _0x415314=_0x482482;super(),this[_0x415314(0xdf)]=_0x1abcf4,this['_menuManagerService']=_0x56e624,this[_0x415314(0x158)]=_0x2132ab,this['_initMenus'](),this[_0x415314(0x107)](),this[_0x415314(0xe5)]();}[_0x482482(0x130)](){const _0x4dbf00=_0x482482;this[_0x4dbf00(0x10a)][_0x4dbf00(0x11e)](menuSchema);}[_0x482482(0x107)](){const _0xdb39b5=_0x482482;this[_0xdb39b5(0x13f)](this[_0xdb39b5(0xdf)]['registerCommand'](DocPrintOperation));}[_0x482482(0xe5)](){const _0x523403=_0x482482;[[_0x523403(0x138),PrintIcon]][_0x523403(0x111)](([_0x584493,_0x79c936])=>{const _0x4a6fbe=_0x523403;this[_0x4a6fbe(0x158)][_0x4a6fbe(0x123)](_0x584493,_0x79c936);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,ICommandService),__decorateParam(0x1,IMenuManagerService),__decorateParam(0x2,Inject(ComponentManager))],DocsPrintUIController);let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends Plugin{constructor(_0x26c38e=defaultPluginConfig,_0x57c1cf,_0x4823e3){const _0x267469=_0x482482;super(),this['_config']=_0x26c38e,this[_0x267469(0xe2)]=_0x57c1cf,this['_configService']=_0x4823e3;const {menu:_0x734d5d,..._0x2516b2}=merge({},defaultPluginConfig,this['_config']);if(_0x734d5d)this['_configService'][_0x267469(0xfa)](_0x267469(0x157),_0x734d5d,{'merge':!![]});this[_0x267469(0x108)][_0x267469(0xfa)](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0x2516b2);}[_0x482482(0x155)](){const _0x4cbdf9=_0x482482;registerDependencies(this[_0x4cbdf9(0xe2)],[[DocPrintService],[DocsPrintUIController]]);}[_0x482482(0x146)](){const _0x53be11=_0x482482;this['_injector'][_0x53be11(0x121)](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,_0x482482(0xf2),DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,_0x482482(0xeb),name),_defineProperty(UniverDocsPrintPlugin,_0x482482(0x12a),version),_defineProperty(UniverDocsPrintPlugin,'type',UniverInstanceType['UNIVER_DOC']),UniverDocsPrintPlugin=__decorate([DependentOn(UniverNetworkPlugin,UniverLicensePlugin),__decorateParam(0x1,Inject(Injector)),__decorateParam(0x2,IConfigService)],UniverDocsPrintPlugin);export{DOCS_PRINT_PLUGIN_CONFIG_KEY,DocPrintOperation,UniverDocsPrintPlugin};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x30e7(){const _0x2f44f6=['8373429zrfMJw','24VwKvBW','216882YAbCiq','40814vkYyJn','Print','2303367WzDwop','2449433hJYbKW','25sYYadq','7YYgpjp','180844QsdkXz','11705060pUerFM'];_0x30e7=function(){return _0x2f44f6;};return _0x30e7();}const _0x18a255=_0x2b5d;function _0x2b5d(_0x495f7a,_0x31af47){_0x495f7a=_0x495f7a-0x17e;const _0x30e7c8=_0x30e7();let _0x2b5d5c=_0x30e7c8[_0x495f7a];return _0x2b5d5c;}(function(_0x5786c4,_0x3da572){const _0x2b1412=_0x2b5d,_0x1038ef=_0x5786c4();while(!![]){try{const _0x5afd20=parseInt(_0x2b1412(0x180))/0x1*(-parseInt(_0x2b1412(0x186))/0x2)+-parseInt(_0x2b1412(0x188))/0x3+parseInt(_0x2b1412(0x181))/0x4*(parseInt(_0x2b1412(0x17f))/0x5)+-parseInt(_0x2b1412(0x185))/0x6+-parseInt(_0x2b1412(0x17e))/0x7*(-parseInt(_0x2b1412(0x184))/0x8)+-parseInt(_0x2b1412(0x183))/0x9+parseInt(_0x2b1412(0x182))/0xa;if(_0x5afd20===_0x3da572)break;else _0x1038ef['push'](_0x1038ef['shift']());}catch(_0x5c418f){_0x1038ef['push'](_0x1038ef['shift']());}}}(_0x30e7,0x8af40));const locale$1={'print':{'menu':_0x18a255(0x187)}},locale=locale$1;export{locale as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5b59(_0x47e95c,_0x214dd2){_0x47e95c=_0x47e95c-0x1f3;const _0x1505a7=_0x1505();let _0x5b59e7=_0x1505a7[_0x47e95c];return _0x5b59e7;}(function(_0x3d78a6,_0x1df954){const _0xdbc241=_0x5b59,_0x2acd1a=_0x3d78a6();while(!![]){try{const _0x371202=parseInt(_0xdbc241(0x1f4))/0x1*(parseInt(_0xdbc241(0x1f9))/0x2)+parseInt(_0xdbc241(0x1fa))/0x3+parseInt(_0xdbc241(0x1f3))/0x4+-parseInt(_0xdbc241(0x1f8))/0x5+-parseInt(_0xdbc241(0x1f5))/0x6*(parseInt(_0xdbc241(0x1fb))/0x7)+-parseInt(_0xdbc241(0x1f6))/0x8+-parseInt(_0xdbc241(0x1f7))/0x9;if(_0x371202===_0x1df954)break;else _0x2acd1a['push'](_0x2acd1a['shift']());}catch(_0x1084d8){_0x2acd1a['push'](_0x2acd1a['shift']());}}}(_0x1505,0x5c23f));const locale={'print':{'menu':'Print'}};export{locale as default};function _0x1505(){const _0x259eaa=['431857zHSmJc','425388wHNbHM','673216LzbAbd','1118547unNBAF','2205330eatiku','2GVjNwW','1363515lraHtR','7kUnjRq','845776RsFGkd'];_0x1505=function(){return _0x259eaa;};return _0x1505();}
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5014(_0xc7d0bc,_0x82377d){_0xc7d0bc=_0xc7d0bc-0xfb;const _0x3296da=_0x3296();let _0x5014e4=_0x3296da[_0xc7d0bc];return _0x5014e4;}const _0x365c47=_0x5014;function _0x3296(){const _0x2474dc=['716364drIeLk','14YQUvPm','193azwpxP','Print','12651672GdRhPk','8123240gunTGq','2570agzLVa','2426cEmnSB','6004peLbUX','12oJslsR','2449908QfYOuB','1472814ZHmxZa','24aeuotd'];_0x3296=function(){return _0x2474dc;};return _0x3296();}(function(_0x48e133,_0x513b21){const _0x799f4d=_0x5014,_0x505673=_0x48e133();while(!![]){try{const _0xb35781=parseInt(_0x799f4d(0x101))/0x1*(-parseInt(_0x799f4d(0x106))/0x2)+-parseInt(_0x799f4d(0xff))/0x3+-parseInt(_0x799f4d(0x107))/0x4*(-parseInt(_0x799f4d(0x105))/0x5)+-parseInt(_0x799f4d(0xfd))/0x6*(parseInt(_0x799f4d(0x100))/0x7)+-parseInt(_0x799f4d(0xfe))/0x8*(-parseInt(_0x799f4d(0xfc))/0x9)+-parseInt(_0x799f4d(0x104))/0xa+parseInt(_0x799f4d(0x103))/0xb*(parseInt(_0x799f4d(0xfb))/0xc);if(_0xb35781===_0x513b21)break;else _0x505673['push'](_0x505673['shift']());}catch(_0x1180c6){_0x505673['push'](_0x505673['shift']());}}}(_0x3296,0xeae5f));const locale$1={'print':{'menu':_0x365c47(0x102)}},locale=locale$1;export{locale as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x53eb7c=_0x431b;(function(_0x4c9df2,_0x3a1e4d){const _0x195e67=_0x431b,_0x542a78=_0x4c9df2();while(!![]){try{const _0x2eb0eb=-parseInt(_0x195e67(0x92))/0x1*(parseInt(_0x195e67(0x94))/0x2)+-parseInt(_0x195e67(0x8f))/0x3+-parseInt(_0x195e67(0x89))/0x4*(parseInt(_0x195e67(0x8d))/0x5)+-parseInt(_0x195e67(0x8c))/0x6+-parseInt(_0x195e67(0x90))/0x7+parseInt(_0x195e67(0x8a))/0x8*(-parseInt(_0x195e67(0x91))/0x9)+-parseInt(_0x195e67(0x8b))/0xa*(-parseInt(_0x195e67(0x8e))/0xb);if(_0x2eb0eb===_0x3a1e4d)break;else _0x542a78['push'](_0x542a78['shift']());}catch(_0x29bf52){_0x542a78['push'](_0x542a78['shift']());}}}(_0x150d,0x52579));function _0x431b(_0x2123a7,_0x250cc3){_0x2123a7=_0x2123a7-0x89;const _0x150dcf=_0x150d();let _0x431b95=_0x150dcf[_0x2123a7];return _0x431b95;}const locale={'print':{'menu':_0x53eb7c(0x93)}};export{locale as default};function _0x150d(){const _0x5e6f11=['10hOyIsZ','52564fXlBgR','109192tzptSE','2392730WSRXVk','2732514Gofjtb','60IRGdAu','88FgCDoE','43440gnwiDh','1753948YiCZxP','306lefmcM','46938efRVWn','چاپ'];_0x150d=function(){return _0x5e6f11;};return _0x150d();}
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x34b2(){const _0x16ac96=['659676QgifyH','1670qSDiwl','Imprimer','2681bOZvoD','113558nZNWYM','2343272CnAiiv','3714UBzilD','2077992dblUTW','23589UHCnhB','1108490iBjrPN','11eilBcF'];_0x34b2=function(){return _0x16ac96;};return _0x34b2();}const _0xd90150=_0x3507;(function(_0x34ad36,_0x1ff475){const _0x1a9fa4=_0x3507,_0x19d2f3=_0x34ad36();while(!![]){try{const _0x29db7f=parseInt(_0x1a9fa4(0xa9))/0x1*(parseInt(_0x1a9fa4(0xae))/0x2)+-parseInt(_0x1a9fa4(0xaa))/0x3+parseInt(_0x1a9fa4(0xa6))/0x4+-parseInt(_0x1a9fa4(0xa8))/0x5+parseInt(_0x1a9fa4(0xa5))/0x6*(-parseInt(_0x1a9fa4(0xad))/0x7)+parseInt(_0x1a9fa4(0xa4))/0x8+-parseInt(_0x1a9fa4(0xa7))/0x9*(parseInt(_0x1a9fa4(0xab))/0xa);if(_0x29db7f===_0x1ff475)break;else _0x19d2f3['push'](_0x19d2f3['shift']());}catch(_0x330b33){_0x19d2f3['push'](_0x19d2f3['shift']());}}}(_0x34b2,0x4e45a));function _0x3507(_0x210ab2,_0x2b5293){_0x210ab2=_0x210ab2-0xa4;const _0x34b20d=_0x34b2();let _0x35077a=_0x34b20d[_0x210ab2];return _0x35077a;}const locale={'print':{'menu':_0xd90150(0xac)}};export{locale as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x4853(_0x37fdf0,_0x1ef0b9){_0x37fdf0=_0x37fdf0-0xc7;const _0x3aa916=_0x3aa9();let _0x48537b=_0x3aa916[_0x37fdf0];return _0x48537b;}(function(_0x1f522f,_0x3d2746){const _0x4b5a58=_0x4853,_0x1aeceb=_0x1f522f();while(!![]){try{const _0x1f7436=-parseInt(_0x4b5a58(0xd2))/0x1*(-parseInt(_0x4b5a58(0xc9))/0x2)+-parseInt(_0x4b5a58(0xd1))/0x3*(parseInt(_0x4b5a58(0xd3))/0x4)+parseInt(_0x4b5a58(0xcd))/0x5*(-parseInt(_0x4b5a58(0xc7))/0x6)+-parseInt(_0x4b5a58(0xcb))/0x7+-parseInt(_0x4b5a58(0xd0))/0x8*(-parseInt(_0x4b5a58(0xc8))/0x9)+-parseInt(_0x4b5a58(0xce))/0xa*(-parseInt(_0x4b5a58(0xcf))/0xb)+-parseInt(_0x4b5a58(0xca))/0xc*(-parseInt(_0x4b5a58(0xcc))/0xd);if(_0x1f7436===_0x3d2746)break;else _0x1aeceb['push'](_0x1aeceb['shift']());}catch(_0x2c599d){_0x1aeceb['push'](_0x1aeceb['shift']());}}}(_0x3aa9,0xe4ae7));const locale={'print':{'menu':'印刷'}};function _0x3aa9(){const _0x49ce94=['3830516HcMExW','6rNZyFn','9nvKVFd','86XqtWzl','3096ytBQjp','11593302TvALQX','104624ZgEBsz','30910nXsevR','7180kaSrBH','13046rJfnls','4594792ciNbkU','3hCVHVS','1265vWvvso'];_0x3aa9=function(){return _0x49ce94;};return _0x3aa9();}export{locale as default};
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1f4c(){const _0x4af8cf=['105FJDmbP','6vWcrZT','108582BdKRFZ','892079VvTmuO','234928CvWEEn','8912916rpZoie','10641288NqiPDC','12254030jhcsIH','8010359JuVrla','12jJQPEb'];_0x1f4c=function(){return _0x4af8cf;};return _0x1f4c();}(function(_0x519181,_0x42f24b){const _0x5150c3=_0xf543,_0x5b0a16=_0x519181();while(!![]){try{const _0x5777b6=-parseInt(_0x5150c3(0x1bd))/0x1+-parseInt(_0x5150c3(0x1c3))/0x2*(-parseInt(_0x5150c3(0x1bc))/0x3)+-parseInt(_0x5150c3(0x1be))/0x4*(-parseInt(_0x5150c3(0x1c4))/0x5)+-parseInt(_0x5150c3(0x1c5))/0x6*(-parseInt(_0x5150c3(0x1c2))/0x7)+parseInt(_0x5150c3(0x1c0))/0x8+-parseInt(_0x5150c3(0x1bf))/0x9+-parseInt(_0x5150c3(0x1c1))/0xa;if(_0x5777b6===_0x42f24b)break;else _0x5b0a16['push'](_0x5b0a16['shift']());}catch(_0x3e2865){_0x5b0a16['push'](_0x5b0a16['shift']());}}}(_0x1f4c,0xc784c));const locale={'print':{'menu':'인쇄'}};function _0xf543(_0x51399c,_0x2d1766){_0x51399c=_0x51399c-0x1bc;const _0x1f4cf2=_0x1f4c();let _0xf543a2=_0x1f4cf2[_0x51399c];return _0xf543a2;}export{locale as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x440f(){const _0x3a676e=['Печать','1134TnRcxG','1371537ysVQEu','4170ZyaDjU','22416pRezlv','718980TamDEx','148420pbpDsv','79959yKYdLK','28WBTjVp','28289KlOHUB'];_0x440f=function(){return _0x3a676e;};return _0x440f();}const _0x58cf1b=_0x134e;function _0x134e(_0x1d7485,_0x10cc2a){_0x1d7485=_0x1d7485-0x1ed;const _0x440f49=_0x440f();let _0x134e09=_0x440f49[_0x1d7485];return _0x134e09;}(function(_0xc4f84a,_0x193865){const _0x283b20=_0x134e,_0x340190=_0xc4f84a();while(!![]){try{const _0x3a5a74=-parseInt(_0x283b20(0x1f5))/0x1+parseInt(_0x283b20(0x1f2))/0x2+-parseInt(_0x283b20(0x1f3))/0x3*(-parseInt(_0x283b20(0x1f4))/0x4)+parseInt(_0x283b20(0x1f1))/0x5+parseInt(_0x283b20(0x1ef))/0x6*(-parseInt(_0x283b20(0x1ed))/0x7)+-parseInt(_0x283b20(0x1f0))/0x8+-parseInt(_0x283b20(0x1ee))/0x9;if(_0x3a5a74===_0x193865)break;else _0x340190['push'](_0x340190['shift']());}catch(_0x3934d4){_0x340190['push'](_0x340190['shift']());}}}(_0x440f,0x1a7d7));const locale={'print':{'menu':_0x58cf1b(0x1f6)}};export{locale as default};
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2e038b=_0x2b4b;function _0x2b4b(_0x85ab98,_0x5d4bcf){_0x85ab98=_0x85ab98-0xcf;const _0x58f322=_0x58f3();let _0x2b4b04=_0x58f322[_0x85ab98];return _0x2b4b04;}(function(_0x1943e3,_0x49a9e7){const _0x49d107=_0x2b4b,_0x4df0e5=_0x1943e3();while(!![]){try{const _0x551e2e=parseInt(_0x49d107(0xd5))/0x1+-parseInt(_0x49d107(0xd7))/0x2*(-parseInt(_0x49d107(0xd8))/0x3)+parseInt(_0x49d107(0xd4))/0x4*(-parseInt(_0x49d107(0xda))/0x5)+-parseInt(_0x49d107(0xd3))/0x6*(-parseInt(_0x49d107(0xd9))/0x7)+-parseInt(_0x49d107(0xd2))/0x8+-parseInt(_0x49d107(0xd0))/0x9*(parseInt(_0x49d107(0xd6))/0xa)+-parseInt(_0x49d107(0xcf))/0xb;if(_0x551e2e===_0x49a9e7)break;else _0x4df0e5['push'](_0x4df0e5['shift']());}catch(_0x2cc0de){_0x4df0e5['push'](_0x4df0e5['shift']());}}}(_0x58f3,0x2669b));const locale={'print':{'menu':_0x2e038b(0xd1)}};export{locale as default};function _0x58f3(){const _0x36d0ef=['261448jFrLHo','3390WfFNCd','6VEyqrv','55236yKyrzP','7BcANKE','25wyfjKb','2668369fuUOgO','3654SiRtWo','Tlač','232672Oquedp','1564302vwYcSA','8612XLSDTT'];_0x58f3=function(){return _0x36d0ef;};return _0x58f3();}
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5cbd1c,_0x45465d){const _0x63d8e5=_0x4960,_0x28efd5=_0x5cbd1c();while(!![]){try{const _0x1bcde0=parseInt(_0x63d8e5(0x1db))/0x1*(parseInt(_0x63d8e5(0x1df))/0x2)+-parseInt(_0x63d8e5(0x1de))/0x3*(parseInt(_0x63d8e5(0x1d9))/0x4)+parseInt(_0x63d8e5(0x1dc))/0x5+parseInt(_0x63d8e5(0x1d8))/0x6*(-parseInt(_0x63d8e5(0x1da))/0x7)+-parseInt(_0x63d8e5(0x1e0))/0x8+-parseInt(_0x63d8e5(0x1d7))/0x9*(parseInt(_0x63d8e5(0x1e1))/0xa)+parseInt(_0x63d8e5(0x1dd))/0xb;if(_0x1bcde0===_0x45465d)break;else _0x28efd5['push'](_0x28efd5['shift']());}catch(_0x381821){_0x28efd5['push'](_0x28efd5['shift']());}}}(_0x4b24,0x44ba1));function _0x4960(_0x8a7e63,_0x504c17){_0x8a7e63=_0x8a7e63-0x1d7;const _0x4b2481=_0x4b24();let _0x4960ea=_0x4b2481[_0x8a7e63];return _0x4960ea;}const locale={'print':{'menu':'In'}};export{locale as default};function _0x4b24(){const _0x22d4b1=['3ImZpoZ','2oCPDMJ','2623432nCQqaZ','690XQdueS','42939pkhbss','155520KAeRSu','1767548iZzrVm','119pZXNhr','561289sSiEjK','1301750ovQacM','10994731ndFMJr'];_0x4b24=function(){return _0x22d4b1;};return _0x4b24();}
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3efe(_0x470423,_0x1cbf9a){_0x470423=_0x470423-0x13c;const _0x6fe79a=_0x6fe7();let _0x3efead=_0x6fe79a[_0x470423];return _0x3efead;}function _0x6fe7(){const _0x5c22d9=['52duUIBO','31476242NIFLFk','13NwLqRN','274vdPqSh','1038268vwinCM','2539180jMuaaD','157677gjHogN','9491ZQEBNF','48065mkPWnP','24twjsvk','712YZxEtO','1002gZRIfh','9961YkQuBh','63JSWTtZ'];_0x6fe7=function(){return _0x5c22d9;};return _0x6fe7();}(function(_0x351e52,_0x18c0b4){const _0x213005=_0x3efe,_0x15ed0b=_0x351e52();while(!![]){try{const _0x1d8912=parseInt(_0x213005(0x13c))/0x1*(parseInt(_0x213005(0x146))/0x2)+parseInt(_0x213005(0x149))/0x3*(parseInt(_0x213005(0x143))/0x4)+-parseInt(_0x213005(0x13d))/0x5*(parseInt(_0x213005(0x140))/0x6)+-parseInt(_0x213005(0x141))/0x7*(parseInt(_0x213005(0x13f))/0x8)+-parseInt(_0x213005(0x142))/0x9*(parseInt(_0x213005(0x148))/0xa)+-parseInt(_0x213005(0x147))/0xb*(-parseInt(_0x213005(0x13e))/0xc)+parseInt(_0x213005(0x145))/0xd*(parseInt(_0x213005(0x144))/0xe);if(_0x1d8912===_0x18c0b4)break;else _0x15ed0b['push'](_0x15ed0b['shift']());}catch(_0x3c9c07){_0x15ed0b['push'](_0x15ed0b['shift']());}}}(_0x6fe7,0xde741));const locale={'print':{'menu':'打印'}};export{locale as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1ecc(_0x12fae8,_0x1a6712){_0x12fae8=_0x12fae8-0x8b;const _0xb4ae66=_0xb4ae();let _0x1eccb8=_0xb4ae66[_0x12fae8];return _0x1eccb8;}(function(_0x5bff90,_0x2417ef){const _0x4e8fcb=_0x1ecc,_0x4a1d8a=_0x5bff90();while(!![]){try{const _0x9dd088=-parseInt(_0x4e8fcb(0x91))/0x1*(-parseInt(_0x4e8fcb(0x8b))/0x2)+-parseInt(_0x4e8fcb(0x90))/0x3*(-parseInt(_0x4e8fcb(0x8f))/0x4)+parseInt(_0x4e8fcb(0x92))/0x5+parseInt(_0x4e8fcb(0x8e))/0x6+-parseInt(_0x4e8fcb(0x8d))/0x7*(-parseInt(_0x4e8fcb(0x95))/0x8)+-parseInt(_0x4e8fcb(0x8c))/0x9+-parseInt(_0x4e8fcb(0x94))/0xa*(parseInt(_0x4e8fcb(0x93))/0xb);if(_0x9dd088===_0x2417ef)break;else _0x4a1d8a['push'](_0x4a1d8a['shift']());}catch(_0x124200){_0x4a1d8a['push'](_0x4a1d8a['shift']());}}}(_0xb4ae,0x45bf4));function _0xb4ae(){const _0x379792=['1080828JwPOHL','92792QAppKj','66TiShZs','4mKJFHa','1771655igZEUq','9185WITbVy','12770PRGBaf','13296SPDUfe','213866pgRozy','1997640GontMT','427kVsiHy'];_0xb4ae=function(){return _0x379792;};return _0xb4ae();}const locale={'print':{'menu':'列印'}};export{locale as default};
|