@univerjs-pro/docs-print 0.20.1 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 _0x4f0ace=_0x2f34;(function(_0xfd90df,_0x375ece){const _0x51afa6=_0x2f34,_0x1f9e0c=_0xfd90df();while(!![]){try{const _0x11f72b=-parseInt(_0x51afa6(0x130))/0x1*(-parseInt(_0x51afa6(0x170))/0x2)+parseInt(_0x51afa6(0x1ca))/0x3*(-parseInt(_0x51afa6(0x15c))/0x4)+-parseInt(_0x51afa6(0x149))/0x5+parseInt(_0x51afa6(0x1cb))/0x6*(parseInt(_0x51afa6(0x196))/0x7)+parseInt(_0x51afa6(0x12a))/0x8*(parseInt(_0x51afa6(0x165))/0x9)+parseInt(_0x51afa6(0x11f))/0xa*(parseInt(_0x51afa6(0x120))/0xb)+parseInt(_0x51afa6(0x14b))/0xc*(-parseInt(_0x51afa6(0x1cd))/0xd);if(_0x11f72b===_0x375ece)break;else _0x1f9e0c['push'](_0x1f9e0c['shift']());}catch(_0x308f03){_0x1f9e0c['push'](_0x1f9e0c['shift']());}}}(_0x594d,0x513bb),Object[_0x4f0ace(0x1b2)](exports,Symbol[_0x4f0ace(0x166)],{'value':_0x4f0ace(0x159)}));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(_0x4c66c7){'@babel/helpers - typeof';const _0x1ca69=_0x4f0ace;return _typeof=_0x1ca69(0x187)==typeof Symbol&&_0x1ca69(0x18d)==typeof Symbol[_0x1ca69(0x122)]?function(_0x131a7d){return typeof _0x131a7d;}:function(_0xaa8328){const _0x1e8cc2=_0x1ca69;return _0xaa8328&&_0x1e8cc2(0x187)==typeof Symbol&&_0xaa8328[_0x1e8cc2(0x1b4)]===Symbol&&_0xaa8328!==Symbol[_0x1e8cc2(0x169)]?_0x1e8cc2(0x18d):typeof _0xaa8328;},_typeof(_0x4c66c7);}function toPrimitive(_0x577e00,_0x2319f3){const _0x243d00=_0x4f0ace;if(_0x243d00(0x131)!=_typeof(_0x577e00)||!_0x577e00)return _0x577e00;var _0x3c1d8c=_0x577e00[Symbol[_0x243d00(0x15d)]];if(void 0x0!==_0x3c1d8c){var _0x2bce99=_0x3c1d8c['call'](_0x577e00,_0x2319f3||_0x243d00(0x12b));if(_0x243d00(0x131)!=_typeof(_0x2bce99))return _0x2bce99;throw new TypeError(_0x243d00(0x123));}return(_0x243d00(0x1c8)===_0x2319f3?String:Number)(_0x577e00);}function toPropertyKey(_0x4ddbac){const _0x45b2d7=_0x4f0ace;var _0x5ecade=toPrimitive(_0x4ddbac,_0x45b2d7(0x1c8));return'symbol'==_typeof(_0x5ecade)?_0x5ecade:_0x5ecade+'';}function _defineProperty(_0x40954f,_0x2ae06e,_0x3a1e63){const _0x35d1e3=_0x4f0ace;return(_0x2ae06e=toPropertyKey(_0x2ae06e))in _0x40954f?Object[_0x35d1e3(0x1b2)](_0x40954f,_0x2ae06e,{'value':_0x3a1e63,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x40954f[_0x2ae06e]=_0x3a1e63,_0x40954f;}var DocPrintPageCanvasView=class extends _univerjs_core[_0x4f0ace(0x16f)]{get['container'](){const _0x5ce9ea=_0x4f0ace;return this[_0x5ce9ea(0x1bf)];}get[_0x4f0ace(0x153)](){const _0x3c1a0c=_0x4f0ace;return this[_0x3c1a0c(0x1c0)];}get[_0x4f0ace(0x198)](){const _0x5e504e=_0x4f0ace,_0x2a0178=this[_0x5e504e(0x192)][_0x5e504e(0x19d)](_univerjs_engine_render[_0x5e504e(0x13f)])['getRenderById'](this[_0x5e504e(0x191)]);if(!_0x2a0178)throw new Error(_0x5e504e(0x1b0));return _0x2a0178;}get[_0x4f0ace(0x1a4)](){const _0x3a8680=_0x4f0ace;return this[_0x3a8680(0x198)][_0x3a8680(0x16a)](_univerjs_docs[_0x3a8680(0x1cc)])[_0x3a8680(0x194)]();}get[_0x4f0ace(0x150)](){const _0x3e8b1b=_0x4f0ace,_0x1bd7b4=this['_skeleton'][_0x3e8b1b(0x18a)]();if(!_0x1bd7b4)throw new Error(_0x3e8b1b(0x19f));return _0x1bd7b4;}get[_0x4f0ace(0x199)](){const _0x53bce0=_0x4f0ace,_0x55325d=this[_0x53bce0(0x150)][_0x53bce0(0x1bb)][0x0];return{'width':_0x55325d[_0x53bce0(0x127)],'height':_0x55325d[_0x53bce0(0x1a6)]};}constructor(_0x59c8d4,_0xd02f31,_0x418f62,_0x2a7a6){const _0x300059=_0x4f0ace;super(),this[_0x300059(0x192)]=_0x59c8d4,this['_page']=_0xd02f31,this[_0x300059(0x191)]=_0x418f62,this[_0x300059(0x1a3)]=_0x2a7a6,_defineProperty(this,_0x300059(0x1bf),document[_0x300059(0x180)]('div')),_defineProperty(this,_0x300059(0x1c0),document[_0x300059(0x180)](_0x300059(0x142))),_defineProperty(this,_0x300059(0x124),void 0x0),_defineProperty(this,_0x300059(0x1d3),void 0x0),_defineProperty(this,_0x300059(0x121),void 0x0),_defineProperty(this,_0x300059(0x1ac),void 0x0),_defineProperty(this,_0x300059(0x132),void 0x0),_defineProperty(this,_0x300059(0x1c3),new _univerjs_core[(_0x300059(0x13c))]()),this[_0x300059(0x121)]=(0x0,_univerjs_core[_0x300059(0x1bc)])(0x4),this['_initRenderer'](),this[_0x300059(0x12d)]({'dispose':()=>{const _0x4e0440=_0x300059;this[_0x4e0440(0x124)][_0x4e0440(0x15f)](),this[_0x4e0440(0x1d3)][_0x4e0440(0x15f)](),this['_effects'][_0x4e0440(0x15f)]();}});}[_0x4f0ace(0x18c)](){const _0x125981=_0x4f0ace,{docsTop:_0x59a86a,docsLeft:_0x4645cd}=this['_documents']['getOffsetConfig'](),_0x4c0d3f=this[_0x125981(0x199)][_0x125981(0x1d6)],_0x1f17f0=this[_0x125981(0x199)][_0x125981(0x1c2)];return{'top':_0x59a86a+(_0x59a86a+_0x4c0d3f)*this[_0x125981(0x1a1)],'bottom':_0x59a86a+(_0x59a86a+_0x4c0d3f)*(this[_0x125981(0x1a1)]+0x1),'left':_0x4645cd,'right':_0x4645cd+_0x1f17f0};}[_0x4f0ace(0x1c9)](){const _0x555b24=_0x4f0ace,_0x33b4ef=0x1;this[_0x555b24(0x124)]=new _univerjs_engine_render[(_0x555b24(0x1b7))]('',{'elementWidth':this[_0x555b24(0x199)][_0x555b24(0x1c2)],'elementHeight':this[_0x555b24(0x199)][_0x555b24(0x1d6)],'dpr':0x1,'renderMode':_univerjs_engine_render[_0x555b24(0x15b)][_0x555b24(0x1b1)]}),this[_0x555b24(0x1d3)]=new _univerjs_engine_render[(_0x555b24(0x140))](this[_0x555b24(0x121)],this['_engine']),this['_scene'][_0x555b24(0x19a)](_0x33b4ef,_0x33b4ef),this['_engine']['setContainer'](this[_0x555b24(0x1bf)],![]),this[_0x555b24(0x124)][_0x555b24(0x1c6)]()['getContext']()[_0x555b24(0x1d2)](this[_0x555b24(0x121)]+'_'+(0x0,_univerjs_core[_0x555b24(0x1bc)])(0x4)),this[_0x555b24(0x134)](),this['_addViewport']();}[_0x4f0ace(0x134)](){const _0x537e7d=_0x4f0ace,{pageMarginLeft:_0x4de9e7,pageMarginTop:_0xdba8d2,docsLeft:_0x249887,docsTop:_0x4af64e}=this[_0x537e7d(0x1a3)],_0x167cf5={'pageMarginLeft':_0x4de9e7,'pageMarginTop':_0xdba8d2},_0x3ab1b9=new _univerjs_engine_render['Documents'](_0x537e7d(0x16c),this[_0x537e7d(0x1a4)],_0x167cf5);_0x3ab1b9['translate'](_0x249887,_0x4af64e),this[_0x537e7d(0x1d3)][_0x537e7d(0x188)](_0x3ab1b9),this[_0x537e7d(0x1ac)]=_0x3ab1b9;const _0x50618b=this[_0x537e7d(0x192)]['get'](_univerjs_docs_ui[_0x537e7d(0x163)]);_0x50618b[_0x537e7d(0x18f)][_0x537e7d(0x1d5)](_0x50618b[_0x537e7d(0x18f)]['getInterceptPoints']()[_0x537e7d(0x167)])(void 0x0,{'unitId':this[_0x537e7d(0x191)],'scene':this[_0x537e7d(0x1d3)],'engine':this['_engine'],'root':this['_root'],'documents':this[_0x537e7d(0x1ac)],'skeleton':this[_0x537e7d(0x1a4)]});}[_0x4f0ace(0x137)](){const _0x5acda5=_0x4f0ace;this['_viewMain']=new _univerjs_engine_render[(_0x5acda5(0x14e))](_univerjs_docs_ui['VIEWPORT_KEY'][_0x5acda5(0x11c)],this[_0x5acda5(0x1d3)],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}['prepare'](){const _0x3d2f70=_0x4f0ace,_0x334ef9=this['_calculateLayout']();this['_viewMain'][_0x3d2f70(0x193)]({'viewportScrollX':_0x334ef9['left'],'viewportScrollY':_0x334ef9[_0x3d2f70(0x179)]}),this[_0x3d2f70(0x1c0)][_0x3d2f70(0x14a)][_0x3d2f70(0x17e)]=_0x3d2f70(0x13b),this[_0x3d2f70(0x1c0)]['style'][_0x3d2f70(0x179)]=_0x3d2f70(0x1be),this[_0x3d2f70(0x1c0)][_0x3d2f70(0x14a)][_0x3d2f70(0x128)]='0px',this[_0x3d2f70(0x1c0)][_0x3d2f70(0x14a)][_0x3d2f70(0x1c2)]=_0x3d2f70(0x139),this[_0x3d2f70(0x1c0)][_0x3d2f70(0x14a)][_0x3d2f70(0x1d6)]='100%',this[_0x3d2f70(0x1c3)]=new _univerjs_core['DisposableCollection']();const _0x7207a6=this[_0x3d2f70(0x192)]['get'](_univerjs_docs_ui[_0x3d2f70(0x163)]);_0x7207a6['interceptor'][_0x3d2f70(0x1d5)](_0x7207a6['interceptor'][_0x3d2f70(0x152)]()[_0x3d2f70(0x15e)])(this[_0x3d2f70(0x1c3)],{'unitId':this[_0x3d2f70(0x191)],'scene':this['_scene'],'engine':this[_0x3d2f70(0x124)],'root':this['_root'],'skeleton':this[_0x3d2f70(0x1a4)],'offset':{'x':_0x334ef9[_0x3d2f70(0x128)],'y':_0x334ef9[_0x3d2f70(0x179)]},'bound':{'top':_0x334ef9[_0x3d2f70(0x179)],'left':_0x334ef9[_0x3d2f70(0x128)],'right':_0x334ef9[_0x3d2f70(0x158)],'bottom':_0x334ef9[_0x3d2f70(0x151)]}});}[_0x4f0ace(0x143)](){const _0x586422=_0x4f0ace,_0x464866=this['_engine'][_0x586422(0x1c6)]()[_0x586422(0x17d)]();this[_0x586422(0x1ac)][_0x586422(0x19e)](),this[_0x586422(0x1d3)][_0x586422(0x154)](),_0x464866[_0x586422(0x135)](),this[_0x586422(0x1d3)][_0x586422(0x143)](),_0x464866[_0x586422(0x1cf)]();}};function __decorateParam(_0x2cb8a1,_0x1e7b9f){return function(_0x14be78,_0x19e6fc){_0x1e7b9f(_0x14be78,_0x19e6fc,_0x2cb8a1);};}function __decorate(_0x1e2ed5,_0x5deb77,_0x18fb99,_0x6270c){const _0x5eadd1=_0x4f0ace;var _0x5de724=arguments['length'],_0x59d1ca=_0x5de724<0x3?_0x5deb77:_0x6270c===null?_0x6270c=Object[_0x5eadd1(0x1d4)](_0x5deb77,_0x18fb99):_0x6270c,_0x17b651;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0x5eadd1(0x187))_0x59d1ca=Reflect['decorate'](_0x1e2ed5,_0x5deb77,_0x18fb99,_0x6270c);else{for(var _0xe2c974=_0x1e2ed5[_0x5eadd1(0x1b6)]-0x1;_0xe2c974>=0x0;_0xe2c974--)if(_0x17b651=_0x1e2ed5[_0xe2c974])_0x59d1ca=(_0x5de724<0x3?_0x17b651(_0x59d1ca):_0x5de724>0x3?_0x17b651(_0x5deb77,_0x18fb99,_0x59d1ca):_0x17b651(_0x5deb77,_0x18fb99))||_0x59d1ca;}return _0x5de724>0x3&&_0x59d1ca&&Object['defineProperty'](_0x5deb77,_0x18fb99,_0x59d1ca),_0x59d1ca;}const BUILD_TIMESTAMP=Number[_0x4f0ace(0x155)](0x69e3503e),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x1e043d,_0xe6db1b,_0x53f366)=>{const _0x33fec9=_0x4f0ace,_0x343f9b={'page':_0x1e043d,'isPro':![],'timeValid':![]};if(!_0xe6db1b||!_0x53f366)return _0x343f9b;const _0x4c64b4=(0x0,_univerjs_pro_license[_0x33fec9(0x17c)])(_0xe6db1b,_0x53f366);if(_0x4c64b4[_0x33fec9(0x146)]){const _0x58ccfc=_0x4c64b4['message'],_0x710820=(0x0,_univerjs_pro_license[_0x33fec9(0x1a2)])(_0x58ccfc,'df',BUILD_TIMESTAMP);_0x343f9b[_0x33fec9(0x195)]=_0x710820,_0x343f9b['timeValid']=_0x710820,_0x343f9b['page']=(0x0,_univerjs_pro_license['getDocFeatureLimit'])(_0x58ccfc,_0x710820,_0x33fec9(0x1b3),_0x1e043d,_0x1e043d,0x0);}return _0x343f9b;};function _0x2f34(_0x56ac51,_0x1277f6){_0x56ac51=_0x56ac51-0x11a;const _0x594d71=_0x594d();let _0x2f3466=_0x594d71[_0x56ac51];return _0x2f3466;}function _0x594d(){const _0x4e2657=['DocPrintInterceptorService','body','9emvFvS','toStringTag','PRINTING_COMPONENT_COLLECT','BUTTON','prototype','with','type','__DocPrintRender__','onafterprint','_initMenus','Disposable','172GpVjzg','map','UNIVER_DOC','_configService','DocumentDataModel\x20is\x20not\x20found','OTHERS','OPERATION','_config','registerCommand','top','forEach','getConfig','getLicenseInfo','getContext','position','getUnit','createElement','removeChild','_menuManagerService','getMenuHiddenObservable','CommandType','createPrintStyle','getCurrentUnitOfType','function','addObject','Portrait','getSkeletonData','Pages\x20are\x20not\x20found','_calculateLayout','symbol','ComponentManager','interceptor','RibbonStartGroup','_unitId','_injector','updateScrollVal','getSkeleton','isPro','45171tZFacc','_initCommands','_currentRender','_paperSize','scale','setConfig','isLocalCheck','get','makeForceDirty','Skeleton\x20data\x20is\x20not\x20found','pluginName','_page','isFeatureAuthorizedWithinTime','_offsetConfig','_skeleton','documentFlavor','pageHeight','POSITIVE_INFINITY','registerDependencies','MenuItemType','register','Inject','_documents','_commandService','prepare','_renderManagerService','Render\x20is\x20not\x20found','Printing','defineProperty','mpn','constructor','syncExecuteCommand','length','Engine','Injector','print','getDocumentStyle','pages','generateRandomId','_componentManager','0px','_container','_root','PRINT_CONTAINER_CLASS','width','_effects','IConfigService','UniverLicensePlugin','getCanvas','Plugin','string','_initRenderer','1547142CKOLsi','498HTigmO','DocSkeletonManagerService','13ZkvNnm','getOffsetConfig','restore','_univerInstanceService','container','setId','_scene','getOwnPropertyDescriptor','fetchThroughInterceptors','height','UniverInstanceType','appendChild','VIEW_MAIN','mergeMenu','PRINT_CANVAS_CLASS','3430aqDzkA','15983WBjXzW','_key','iterator','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_engine','DependentOn','fill','pageWidth','left','@univerjs-pro/docs-print','1801864oavict','default','onStarting','disposeWithMe','LS_CONFIG_KEY','PrintIcon','129CSwojx','object','_viewMain','min','_addComponent','save','menu','_addViewport','PrintDirection','100%','_globalZoneService','absolute','DisposableCollection','IGlobalZoneService','UNIVER_DOCS_PRINT','IRenderManagerService','Scene','_initComponents','div','render','onbeforeprint','ICommandService','valid','packageName','page','1416470mLnipz','style','1662792SveGVZ','IUniverInstanceService','DocPrintOperation','Viewport','IMenuManagerService','_skeletonData','bottom','getInterceptPoints','root','makeDirty','parseInt','docs.operation.print','getUnitId','right','Module','print.menu','CanvasRenderMode','4qScmPa','toPrimitive','PRINTING_DOM_COLLECT','dispose','getRenderById','merge','mainComponent'];_0x594d=function(){return _0x4e2657;};return _0x594d();}let DocPrintService=class DocPrintService extends _univerjs_core[_0x4f0ace(0x16f)]{constructor(_0x24ca7a,_0x58fc72,_0x1c527e,_0x1a5666,_0x3b34f8){const _0x1348b4=_0x4f0ace;super(),this[_0x1348b4(0x1d0)]=_0x24ca7a,this[_0x1348b4(0x1af)]=_0x58fc72,this[_0x1348b4(0x192)]=_0x1c527e,this[_0x1348b4(0x173)]=_0x1a5666,this['_globalZoneService']=_0x3b34f8;}['print'](_0x3d681a){const _0x3e6e92=_0x4f0ace;var _0x11b23f,_0x26218d;const {ls:_0x4e004c,pbk:_0x9b4a2e}=(_0x11b23f=this[_0x3e6e92(0x173)][_0x3e6e92(0x17b)](_univerjs_pro_license[_0x3e6e92(0x12e)]))!==null&&_0x11b23f!==void 0x0?_0x11b23f:{},_0x1e5c45=(0x0,_univerjs_pro_license[_0x3e6e92(0x19c)])()?Number[_0x3e6e92(0x1a7)]:getPrintInfoByLicense(0x1,_0x4e004c,_0x9b4a2e)[_0x3e6e92(0x148)];if(!this['_univerInstanceService'][_0x3e6e92(0x17f)](_0x3d681a,_univerjs_core['UniverInstanceType'][_0x3e6e92(0x172)]))throw new Error(_0x3e6e92(0x174));const _0x1f8831=this[_0x3e6e92(0x1af)][_0x3e6e92(0x160)](_0x3d681a);if(!_0x1f8831)throw new Error(_0x3e6e92(0x1b0));const _0x5329cc=(_0x26218d=_0x1f8831[_0x3e6e92(0x16a)](_univerjs_docs[_0x3e6e92(0x1cc)])[_0x3e6e92(0x194)]()[_0x3e6e92(0x18a)]())===null||_0x26218d===void 0x0?void 0x0:_0x26218d[_0x3e6e92(0x1bb)];if(!_0x5329cc)throw new Error(_0x3e6e92(0x18b));const _0x325e09={'width':_0x5329cc[0x0]['pageWidth'],'height':_0x5329cc[0x0][_0x3e6e92(0x1a6)]},_0x4c93f4=_0x5329cc[_0x3e6e92(0x1b6)],_0x5a55b6=Math[_0x3e6e92(0x133)](_0x1e5c45,_0x4c93f4),_0x3e86dc=_0x1f8831[_0x3e6e92(0x162)][_0x3e6e92(0x1ce)](),_0x2299bd=document['createElement'](_0x3e6e92(0x142));_0x2299bd['className']=_univerjs_pro_print[_0x3e6e92(0x1c1)];const _0x5213cf=new Array(_0x5a55b6)[_0x3e6e92(0x126)](null)[_0x3e6e92(0x171)]((_0x372aaf,_0x7c8ac6)=>{const _0x35922d=_0x3e6e92,_0x555f45=new DocPrintPageCanvasView(this['_injector'],_0x7c8ac6,_0x3d681a,_0x3e86dc);return _0x555f45[_0x35922d(0x1d1)]['className']=_univerjs_pro_print[_0x35922d(0x11e)],_0x555f45;});_0x5213cf[_0x3e6e92(0x17a)](_0x11b35f=>{const _0x5e7dad=_0x3e6e92;_0x2299bd[_0x5e7dad(0x11b)](_0x11b35f[_0x5e7dad(0x1d1)]),_0x11b35f[_0x5e7dad(0x1d1)][_0x5e7dad(0x11b)](_0x11b35f['root']),_0x11b35f[_0x5e7dad(0x1ae)]();});const _0x1d9650=(0x0,_univerjs_pro_print[_0x3e6e92(0x185)])(_0x325e09['width'],_0x325e09[_0x3e6e92(0x1d6)],_univerjs_pro_print[_0x3e6e92(0x138)][_0x3e6e92(0x189)]);return document[_0x3e6e92(0x164)][_0x3e6e92(0x11b)](_0x1d9650),document['body'][_0x3e6e92(0x11b)](_0x2299bd),new Promise(_0xdbd6d3=>{setTimeout(()=>{const _0x135af5=_0x2f34;window[_0x135af5(0x144)]=()=>{const _0x11b3d9=_0x135af5;_0x5213cf[_0x11b3d9(0x17a)](_0x490b01=>{const _0x484144=_0x11b3d9;_0x490b01[_0x484144(0x143)]();});},window[_0x135af5(0x16d)]=()=>{const _0x2281eb=_0x135af5;_0x5213cf['forEach'](_0x2ce960=>{const _0x218497=_0x2f34;_0x2ce960[_0x218497(0x15f)]();}),document[_0x2281eb(0x164)][_0x2281eb(0x181)](_0x2299bd),document[_0x2281eb(0x164)][_0x2281eb(0x181)](_0x1d9650),this[_0x2281eb(0x13a)]['close'](),_0xdbd6d3(!![]);},window[_0x135af5(0x1b9)]();},0x64);});}};DocPrintService=__decorate([__decorateParam(0x0,_univerjs_core[_0x4f0ace(0x14c)]),__decorateParam(0x1,_univerjs_engine_render[_0x4f0ace(0x13f)]),__decorateParam(0x2,(0x0,_univerjs_core['Inject'])(_univerjs_core[_0x4f0ace(0x1b8)])),__decorateParam(0x3,_univerjs_core[_0x4f0ace(0x1c4)]),__decorateParam(0x4,_univerjs_ui[_0x4f0ace(0x13d)])],DocPrintService);const DocPrintOperation={'id':_0x4f0ace(0x156),'type':_univerjs_core[_0x4f0ace(0x184)][_0x4f0ace(0x176)],'handler':async _0x57037c=>{const _0x428d21=_0x4f0ace,_0x21a08f=_0x57037c[_0x428d21(0x19d)](_univerjs_core[_0x428d21(0x14c)]),_0x30964d=_0x57037c[_0x428d21(0x19d)](DocPrintService),_0x20dab5=_0x57037c[_0x428d21(0x19d)](_univerjs_engine_render['IRenderManagerService']),_0x32d606=_0x57037c[_0x428d21(0x19d)](_univerjs_core[_0x428d21(0x145)]),_0x85494b=_0x21a08f[_0x428d21(0x186)](_univerjs_core[_0x428d21(0x11a)][_0x428d21(0x172)]);if(!_0x85494b)return![];if(!_0x20dab5[_0x428d21(0x160)](_0x85494b[_0x428d21(0x157)]()))throw new Error('Render\x20is\x20not\x20found');const _0x337f2b=_0x85494b[_0x428d21(0x1ba)]()[_0x428d21(0x1a5)];if(_0x337f2b!==_univerjs_core['DocumentFlavor']['TRADITIONAL'])_0x32d606[_0x428d21(0x1b5)](_univerjs_docs_ui['SwitchDocModeCommand']['id']);await _0x30964d[_0x428d21(0x1b9)](_0x85494b[_0x428d21(0x157)]());if(_0x337f2b!==_univerjs_core['DocumentFlavor']['TRADITIONAL'])_0x32d606[_0x428d21(0x1b5)](_univerjs_docs_ui['SwitchDocModeCommand']['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY=_0x4f0ace(0x13e),defaultPluginConfig={};var name=_0x4f0ace(0x129),version='0.21.0';const DOCS_PRINT_PLUGIN_NAME=_0x4f0ace(0x13e);function DocPrintMenuItemFactory(_0x41a951){const _0x5c78ef=_0x4f0ace;return{'id':DocPrintOperation['id'],'type':_univerjs_ui[_0x5c78ef(0x1a9)][_0x5c78ef(0x168)],'title':_0x5c78ef(0x15a),'icon':'PrintIcon','tooltip':_0x5c78ef(0x15a),'hidden$':(0x0,_univerjs_ui[_0x5c78ef(0x183)])(_0x41a951,_univerjs_core[_0x5c78ef(0x11a)][_0x5c78ef(0x172)])};}const menuSchema={[_univerjs_ui[_0x4f0ace(0x190)][_0x4f0ace(0x175)]]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};let DocsPrintUIController=class DocsPrintUIController extends _univerjs_core[_0x4f0ace(0x16f)]{constructor(_0x8a26d9,_0x52f45f,_0x14c89d){const _0x1af926=_0x4f0ace;super(),this[_0x1af926(0x1ad)]=_0x8a26d9,this[_0x1af926(0x182)]=_0x52f45f,this[_0x1af926(0x1bd)]=_0x14c89d,this[_0x1af926(0x16e)](),this['_initCommands'](),this[_0x1af926(0x141)]();}[_0x4f0ace(0x16e)](){const _0x1ce6f1=_0x4f0ace;this[_0x1ce6f1(0x182)][_0x1ce6f1(0x11d)](menuSchema);}[_0x4f0ace(0x197)](){const _0x2da1bf=_0x4f0ace;this['disposeWithMe'](this[_0x2da1bf(0x1ad)][_0x2da1bf(0x178)](DocPrintOperation));}[_0x4f0ace(0x141)](){const _0x5abd0c=_0x4f0ace;[[_0x5abd0c(0x12f),_univerjs_icons[_0x5abd0c(0x12f)]]]['forEach'](([_0x17a650,_0x59c70b])=>{const _0xa738e9=_0x5abd0c;this['_componentManager'][_0xa738e9(0x1aa)](_0x17a650,_0x59c70b);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,_univerjs_core[_0x4f0ace(0x145)]),__decorateParam(0x1,_univerjs_ui[_0x4f0ace(0x14f)]),__decorateParam(0x2,(0x0,_univerjs_core[_0x4f0ace(0x1ab)])(_univerjs_ui[_0x4f0ace(0x18e)]))],DocsPrintUIController);let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends _univerjs_core[_0x4f0ace(0x1c7)]{constructor(_0x257fb9=defaultPluginConfig,_0x403c36,_0x3f19ce){const _0x23b34e=_0x4f0ace;super(),this[_0x23b34e(0x177)]=_0x257fb9,this['_injector']=_0x403c36,this[_0x23b34e(0x173)]=_0x3f19ce;const {menu:_0x584313,..._0x35b3b1}=(0x0,_univerjs_core[_0x23b34e(0x161)])({},defaultPluginConfig,this[_0x23b34e(0x177)]);if(_0x584313)this['_configService']['setConfig'](_0x23b34e(0x136),_0x584313,{'merge':!![]});this[_0x23b34e(0x173)][_0x23b34e(0x19b)](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0x35b3b1);}[_0x4f0ace(0x12c)](){const _0x38343e=_0x4f0ace;(0x0,_univerjs_core[_0x38343e(0x1a8)])(this['_injector'],[[DocPrintService],[DocsPrintUIController]]);}['onReady'](){const _0x37d406=_0x4f0ace;this[_0x37d406(0x192)]['get'](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,_0x4f0ace(0x1a0),DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,_0x4f0ace(0x147),name),_defineProperty(UniverDocsPrintPlugin,'version',version),_defineProperty(UniverDocsPrintPlugin,_0x4f0ace(0x16b),_univerjs_core[_0x4f0ace(0x11a)][_0x4f0ace(0x172)]),UniverDocsPrintPlugin=__decorate([(0x0,_univerjs_core[_0x4f0ace(0x125)])(_univerjs_network['UniverNetworkPlugin'],_univerjs_pro_license[_0x4f0ace(0x1c5)]),__decorateParam(0x1,(0x0,_univerjs_core['Inject'])(_univerjs_core[_0x4f0ace(0x1b8)])),__decorateParam(0x2,_univerjs_core[_0x4f0ace(0x1c4)])],UniverDocsPrintPlugin),exports['DOCS_PRINT_PLUGIN_CONFIG_KEY']=DOCS_PRINT_PLUGIN_CONFIG_KEY,exports[_0x4f0ace(0x14d)]=DocPrintOperation,Object[_0x4f0ace(0x1b2)](exports,'UniverDocsPrintPlugin',{'enumerable':!![],'get':function(){return UniverDocsPrintPlugin;}});
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xc4d7(){const _0xd067ac=['21huggKR','3829200ezhVuQ','258112VoREYc','Print','5966464HtWPaR','29254OrLXBI','240487EIzQjr','1015091wmGgEv','1581885Tyslqy'];_0xc4d7=function(){return _0xd067ac;};return _0xc4d7();}function _0x549b(_0x2c02b4,_0x40a571){_0x2c02b4=_0x2c02b4-0x1c9;const _0xc4d755=_0xc4d7();let _0x549b0a=_0xc4d755[_0x2c02b4];return _0x549b0a;}const _0x6e62ab=_0x549b;(function(_0x91b4d3,_0x2626e5){const _0x49c615=_0x549b,_0x26a3b3=_0x91b4d3();while(!![]){try{const _0x37f69e=parseInt(_0x49c615(0x1ca))/0x1+-parseInt(_0x49c615(0x1c9))/0x2*(-parseInt(_0x49c615(0x1cd))/0x3)+-parseInt(_0x49c615(0x1cf))/0x4+parseInt(_0x49c615(0x1cc))/0x5+parseInt(_0x49c615(0x1ce))/0x6+-parseInt(_0x49c615(0x1cb))/0x7+-parseInt(_0x49c615(0x1d1))/0x8;if(_0x37f69e===_0x2626e5)break;else _0x26a3b3['push'](_0x26a3b3['shift']());}catch(_0x59341b){_0x26a3b3['push'](_0x26a3b3['shift']());}}}(_0xc4d7,0x53858));const locale$1={'print':{'menu':_0x6e62ab(0x1d0)}},locale=locale$1;module['exports']=locale;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x3a7226=_0x1b66;function _0x3687(){const _0x15cdae=['9SWZBvh','12410811wJLwBU','exports','488601GAMGbP','8016602EMVJJr','Print','80WnqZLK','2ciVUGY','518744RopsnL','60bkGLEv','526195BFlpbt','799593ULcaun','5479326RAfdwd'];_0x3687=function(){return _0x15cdae;};return _0x3687();}(function(_0xc8d8e7,_0x2257dd){const _0x552ab6=_0x1b66,_0xb451de=_0xc8d8e7();while(!![]){try{const _0x2c7841=-parseInt(_0x552ab6(0x163))/0x1+-parseInt(_0x552ab6(0x15f))/0x2*(-parseInt(_0x552ab6(0x168))/0x3)+parseInt(_0x552ab6(0x161))/0x4*(-parseInt(_0x552ab6(0x162))/0x5)+-parseInt(_0x552ab6(0x164))/0x6+-parseInt(_0x552ab6(0x166))/0x7+-parseInt(_0x552ab6(0x160))/0x8*(-parseInt(_0x552ab6(0x165))/0x9)+parseInt(_0x552ab6(0x15e))/0xa*(parseInt(_0x552ab6(0x15c))/0xb);if(_0x2c7841===_0x2257dd)break;else _0xb451de['push'](_0xb451de['shift']());}catch(_0xcd0f5e){_0xb451de['push'](_0xb451de['shift']());}}}(_0x3687,0xf293a));function _0x1b66(_0x39c11d,_0x400c28){_0x39c11d=_0x39c11d-0x15c;const _0x3687bd=_0x3687();let _0x1b66c4=_0x3687bd[_0x39c11d];return _0x1b66c4;}const locale={'print':{'menu':_0x3a7226(0x15d)}};module[_0x3a7226(0x167)]=locale;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4ae2e3=_0x10fa;(function(_0x194bc6,_0x242acb){const _0x4025ad=_0x10fa,_0x5ef17c=_0x194bc6();while(!![]){try{const _0x302a3f=parseInt(_0x4025ad(0xf8))/0x1+-parseInt(_0x4025ad(0xf3))/0x2*(parseInt(_0x4025ad(0xf6))/0x3)+parseInt(_0x4025ad(0xee))/0x4*(-parseInt(_0x4025ad(0xf4))/0x5)+-parseInt(_0x4025ad(0xf9))/0x6*(parseInt(_0x4025ad(0xf5))/0x7)+parseInt(_0x4025ad(0xf7))/0x8*(-parseInt(_0x4025ad(0xf0))/0x9)+-parseInt(_0x4025ad(0xed))/0xa+parseInt(_0x4025ad(0xf1))/0xb;if(_0x302a3f===_0x242acb)break;else _0x5ef17c['push'](_0x5ef17c['shift']());}catch(_0x803bd0){_0x5ef17c['push'](_0x5ef17c['shift']());}}}(_0x3663,0x40a8a));function _0x10fa(_0x2427ab,_0x46e497){_0x2427ab=_0x2427ab-0xed;const _0x366360=_0x3663();let _0x10fae7=_0x366360[_0x2427ab];return _0x10fae7;}function _0x3663(){const _0x2ad6f5=['exports','419949XzuCoS','13927067RICfld','Print','4102nLwHah','1201480lroBZO','1466654yINHVW','294zOlnaH','40RLSrVo','357367ptSKOq','6nvWtkN','2342050XxGHNs','8TvMvbx'];_0x3663=function(){return _0x2ad6f5;};return _0x3663();}const locale$1={'print':{'menu':_0x4ae2e3(0xf2)}},locale=locale$1;module[_0x4ae2e3(0xef)]=locale;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x25d4(_0x2b366a,_0x31595c){_0x2b366a=_0x2b366a-0x67;const _0x14554a=_0x1455();let _0x25d4f4=_0x14554a[_0x2b366a];return _0x25d4f4;}const _0x76f4ff=_0x25d4;function _0x1455(){const _0x99fcae=['34065TtCQvQ','1309469Roywyo','1952wJPDnj','159024sZdkyP','2379125ZngRGx','846537byNJJk','88890mYyytm','12XpdOdo','131362QyRfag','exports','چاپ'];_0x1455=function(){return _0x99fcae;};return _0x1455();}(function(_0x7fd4c,_0x2a8fbc){const _0xe7aee2=_0x25d4,_0x14eb3f=_0x7fd4c();while(!![]){try{const _0x38f9d3=parseInt(_0xe7aee2(0x71))/0x1+parseInt(_0xe7aee2(0x68))/0x2+parseInt(_0xe7aee2(0x70))/0x3+-parseInt(_0xe7aee2(0x6e))/0x4+parseInt(_0xe7aee2(0x6f))/0x5+parseInt(_0xe7aee2(0x67))/0x6*(parseInt(_0xe7aee2(0x6c))/0x7)+parseInt(_0xe7aee2(0x6d))/0x8*(-parseInt(_0xe7aee2(0x6b))/0x9);if(_0x38f9d3===_0x2a8fbc)break;else _0x14eb3f['push'](_0x14eb3f['shift']());}catch(_0x90b3af){_0x14eb3f['push'](_0x14eb3f['shift']());}}}(_0x1455,0x4ef55));const locale={'print':{'menu':_0x76f4ff(0x6a)}};module[_0x76f4ff(0x69)]=locale;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x104330=_0x4ca2;(function(_0x3178f7,_0xff8f8e){const _0x427bfd=_0x4ca2,_0x10e116=_0x3178f7();while(!![]){try{const _0x122e87=parseInt(_0x427bfd(0x93))/0x1+parseInt(_0x427bfd(0x9a))/0x2+parseInt(_0x427bfd(0x9b))/0x3+parseInt(_0x427bfd(0x94))/0x4*(parseInt(_0x427bfd(0x91))/0x5)+-parseInt(_0x427bfd(0x95))/0x6+parseInt(_0x427bfd(0x99))/0x7+parseInt(_0x427bfd(0x97))/0x8*(-parseInt(_0x427bfd(0x96))/0x9);if(_0x122e87===_0xff8f8e)break;else _0x10e116['push'](_0x10e116['shift']());}catch(_0x9fced7){_0x10e116['push'](_0x10e116['shift']());}}}(_0x7887,0x54747));const locale={'print':{'menu':_0x104330(0x92)}};module[_0x104330(0x98)]=locale;function _0x4ca2(_0x62d151,_0x28740d){_0x62d151=_0x62d151-0x91;const _0x78872=_0x7887();let _0x4ca215=_0x78872[_0x62d151];return _0x4ca215;}function _0x7887(){const _0x228a38=['575440kRkvLx','exports','3602480KjBduT','756448VvBRAE','1633293mIOumD','5355ZNaImO','Imprimer','40079XgfyAc','1284ipjlUC','219828ZwDyTZ','180omocGv'];_0x7887=function(){return _0x228a38;};return _0x7887();}
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3b384a,_0xe83b8){const _0xd6e5d1=_0x42d0,_0x49c981=_0x3b384a();while(!![]){try{const _0xb2dede=parseInt(_0xd6e5d1(0x128))/0x1*(parseInt(_0xd6e5d1(0x12e))/0x2)+-parseInt(_0xd6e5d1(0x12a))/0x3*(-parseInt(_0xd6e5d1(0x130))/0x4)+parseInt(_0xd6e5d1(0x12d))/0x5*(parseInt(_0xd6e5d1(0x12b))/0x6)+parseInt(_0xd6e5d1(0x126))/0x7*(-parseInt(_0xd6e5d1(0x12f))/0x8)+parseInt(_0xd6e5d1(0x123))/0x9*(parseInt(_0xd6e5d1(0x127))/0xa)+parseInt(_0xd6e5d1(0x125))/0xb*(-parseInt(_0xd6e5d1(0x124))/0xc)+parseInt(_0xd6e5d1(0x12c))/0xd*(-parseInt(_0xd6e5d1(0x129))/0xe);if(_0xb2dede===_0xe83b8)break;else _0x49c981['push'](_0x49c981['shift']());}catch(_0x345c1f){_0x49c981['push'](_0x49c981['shift']());}}}(_0x54f1,0x53b6d));function _0x42d0(_0x4612e8,_0x47675f){_0x4612e8=_0x4612e8-0x123;const _0x54f1f3=_0x54f1();let _0x42d084=_0x54f1f3[_0x4612e8];return _0x42d084;}function _0x54f1(){const _0x4719b7=['80HcOhJf','70168JqnLof','92QKSPlN','5918013qJzxwQ','12JsQstb','6282617zRnnMX','385fBWNfv','10tKYMSj','6544mQQULN','288862GPwdrJ','52911AKrByd','4398KwrbdV','130BOMvey','1895hvYtRo'];_0x54f1=function(){return _0x4719b7;};return _0x54f1();}const locale={'print':{'menu':'印刷'}};module['exports']=locale;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3c2e9c=_0x2413;function _0x2413(_0x4ba402,_0x32a0ca){_0x4ba402=_0x4ba402-0xbf;const _0x20f7c9=_0x20f7();let _0x24134b=_0x20f7c9[_0x4ba402];return _0x24134b;}function _0x20f7(){const _0x4d1460=['69TBFjrp','exports','7403958UpoiLB','669065mlZFNG','122207MLgYcb','11312854aWduZv','9804472lDSnPo','281024hKdiiZ','20PhkziM','6qlUtej','25811790BUaATZ'];_0x20f7=function(){return _0x4d1460;};return _0x20f7();}(function(_0x1f1987,_0x79c018){const _0x27d79e=_0x2413,_0x19db5e=_0x1f1987();while(!![]){try{const _0x111f8c=-parseInt(_0x27d79e(0xc0))/0x1*(-parseInt(_0x27d79e(0xc4))/0x2)+parseInt(_0x27d79e(0xc7))/0x3*(-parseInt(_0x27d79e(0xc3))/0x4)+parseInt(_0x27d79e(0xbf))/0x5*(-parseInt(_0x27d79e(0xc5))/0x6)+-parseInt(_0x27d79e(0xc1))/0x7+parseInt(_0x27d79e(0xc2))/0x8+-parseInt(_0x27d79e(0xc9))/0x9+parseInt(_0x27d79e(0xc6))/0xa;if(_0x111f8c===_0x79c018)break;else _0x19db5e['push'](_0x19db5e['shift']());}catch(_0x4c6273){_0x19db5e['push'](_0x19db5e['shift']());}}}(_0x20f7,0xcd283));const locale={'print':{'menu':'인쇄'}};module[_0x3c2e9c(0xc8)]=locale;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3f04(_0x43e173,_0x4bbaa1){_0x43e173=_0x43e173-0xc5;const _0x4b66e6=_0x4b66();let _0x3f042f=_0x4b66e6[_0x43e173];return _0x3f042f;}const _0x26d9c5=_0x3f04;(function(_0x563675,_0x204e64){const _0x2bf265=_0x3f04,_0x4279c3=_0x563675();while(!![]){try{const _0x1f6400=-parseInt(_0x2bf265(0xcd))/0x1*(-parseInt(_0x2bf265(0xca))/0x2)+-parseInt(_0x2bf265(0xd1))/0x3*(-parseInt(_0x2bf265(0xc5))/0x4)+-parseInt(_0x2bf265(0xc6))/0x5*(parseInt(_0x2bf265(0xcc))/0x6)+parseInt(_0x2bf265(0xc8))/0x7*(-parseInt(_0x2bf265(0xc7))/0x8)+parseInt(_0x2bf265(0xc9))/0x9*(parseInt(_0x2bf265(0xcf))/0xa)+parseInt(_0x2bf265(0xce))/0xb+-parseInt(_0x2bf265(0xcb))/0xc;if(_0x1f6400===_0x204e64)break;else _0x4279c3['push'](_0x4279c3['shift']());}catch(_0x15c2c9){_0x4279c3['push'](_0x4279c3['shift']());}}}(_0x4b66,0x73e03));const locale={'print':{'menu':_0x26d9c5(0xd0)}};function _0x4b66(){const _0x453ba0=['7IFpuQS','9DlYmMn','32746maHfcQ','11902956Zdtnhw','31014OKaBZR','17snVBQE','8964758xFiUsu','9199220VRmKdi','Печать','3TBkTql','1788404zKjcEJ','575WWReBj','3194936YQDeWn'];_0x4b66=function(){return _0x453ba0;};return _0x4b66();}module['exports']=locale;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x34040d=_0x2d18;(function(_0x25d455,_0x9caf7){const _0x58b5b4=_0x2d18,_0x48746d=_0x25d455();while(!![]){try{const _0x30ef5c=-parseInt(_0x58b5b4(0x19f))/0x1*(-parseInt(_0x58b5b4(0x19a))/0x2)+parseInt(_0x58b5b4(0x197))/0x3*(-parseInt(_0x58b5b4(0x196))/0x4)+-parseInt(_0x58b5b4(0x198))/0x5*(parseInt(_0x58b5b4(0x199))/0x6)+-parseInt(_0x58b5b4(0x1a3))/0x7*(parseInt(_0x58b5b4(0x19b))/0x8)+parseInt(_0x58b5b4(0x19e))/0x9*(parseInt(_0x58b5b4(0x1a2))/0xa)+-parseInt(_0x58b5b4(0x19d))/0xb*(parseInt(_0x58b5b4(0x1a1))/0xc)+parseInt(_0x58b5b4(0x19c))/0xd;if(_0x30ef5c===_0x9caf7)break;else _0x48746d['push'](_0x48746d['shift']());}catch(_0x59c4f5){_0x48746d['push'](_0x48746d['shift']());}}}(_0x712c,0xe77b7));function _0x712c(){const _0x2cde02=['22669855qRZLBD','4631bgwgeD','9LpRSmx','1lvhlkq','exports','40536EjkyII','18462770CWwnzc','6714953ecLTXl','39224IYWBxE','123XeyKTP','55KqLImS','13242ERslpw','331558qUoUss','8WBHhWB'];_0x712c=function(){return _0x2cde02;};return _0x712c();}function _0x2d18(_0x20ccb4,_0x2fe2ae){_0x20ccb4=_0x20ccb4-0x196;const _0x712cc3=_0x712c();let _0x2d189c=_0x712cc3[_0x20ccb4];return _0x2d189c;}const locale={'print':{'menu':'Tlač'}};module[_0x34040d(0x1a0)]=locale;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1297(){const _0x5f49b2=['36DymklF','190pXBtQd','148192vqXIPj','4472FBLXMJ','22941ZNFjPP','64853rZRPsx','3604250lKiGLf','1126023lVldzo','182980dcZbAt','6izPNET','12olDyQm','45168696DmhtsG'];_0x1297=function(){return _0x5f49b2;};return _0x1297();}function _0x4c99(_0x47d6a1,_0x46fdf0){_0x47d6a1=_0x47d6a1-0xb0;const _0x1297cf=_0x1297();let _0x4c9903=_0x1297cf[_0x47d6a1];return _0x4c9903;}(function(_0x30d9e5,_0x1ebd57){const _0x52d9a7=_0x4c99,_0x40ae43=_0x30d9e5();while(!![]){try{const _0x68bc50=-parseInt(_0x52d9a7(0xb9))/0x1*(-parseInt(_0x52d9a7(0xb1))/0x2)+parseInt(_0x52d9a7(0xbb))/0x3*(-parseInt(_0x52d9a7(0xb2))/0x4)+-parseInt(_0x52d9a7(0xba))/0x5+parseInt(_0x52d9a7(0xb4))/0x6*(-parseInt(_0x52d9a7(0xb0))/0x7)+-parseInt(_0x52d9a7(0xb7))/0x8*(parseInt(_0x52d9a7(0xb8))/0x9)+parseInt(_0x52d9a7(0xb5))/0xa*(parseInt(_0x52d9a7(0xb6))/0xb)+parseInt(_0x52d9a7(0xb3))/0xc;if(_0x68bc50===_0x1ebd57)break;else _0x40ae43['push'](_0x40ae43['shift']());}catch(_0x596bef){_0x40ae43['push'](_0x40ae43['shift']());}}}(_0x1297,0xbfe3d));const locale={'print':{'menu':'In'}};module['exports']=locale;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x130fac=_0x1cc7;(function(_0x19fa65,_0x343a33){const _0x1db945=_0x1cc7,_0x25ba16=_0x19fa65();while(!![]){try{const _0x5372b7=-parseInt(_0x1db945(0x159))/0x1+-parseInt(_0x1db945(0x158))/0x2*(-parseInt(_0x1db945(0x156))/0x3)+parseInt(_0x1db945(0x157))/0x4*(parseInt(_0x1db945(0x15b))/0x5)+-parseInt(_0x1db945(0x154))/0x6+parseInt(_0x1db945(0x15d))/0x7+-parseInt(_0x1db945(0x15c))/0x8+parseInt(_0x1db945(0x155))/0x9;if(_0x5372b7===_0x343a33)break;else _0x25ba16['push'](_0x25ba16['shift']());}catch(_0x4e1f20){_0x25ba16['push'](_0x25ba16['shift']());}}}(_0x3c6f,0x954a9));function _0x1cc7(_0x50d2ec,_0x50e547){_0x50d2ec=_0x50d2ec-0x154;const _0x3c6fdd=_0x3c6f();let _0x1cc73e=_0x3c6fdd[_0x50d2ec];return _0x1cc73e;}function _0x3c6f(){const _0x5623af=['10VXSIZB','654362cPkmcm','exports','32180uqpeqd','5385432YjeSSz','8101051mCihyq','541086MkpUxV','4535577bIbref','170583KzMyXg','52jQPqxE'];_0x3c6f=function(){return _0x5623af;};return _0x3c6f();}const locale={'print':{'menu':'打印'}};module[_0x130fac(0x15a)]=locale;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x58e9(_0x3aaff9,_0x511634){_0x3aaff9=_0x3aaff9-0x71;const _0x2ccabe=_0x2cca();let _0x58e953=_0x2ccabe[_0x3aaff9];return _0x58e953;}(function(_0x3a1f3f,_0x4ccdd0){const _0x3f29c6=_0x58e9,_0x4fa816=_0x3a1f3f();while(!![]){try{const _0x55f374=-parseInt(_0x3f29c6(0x78))/0x1+parseInt(_0x3f29c6(0x7b))/0x2+-parseInt(_0x3f29c6(0x75))/0x3*(parseInt(_0x3f29c6(0x74))/0x4)+parseInt(_0x3f29c6(0x77))/0x5*(-parseInt(_0x3f29c6(0x72))/0x6)+parseInt(_0x3f29c6(0x7a))/0x7+parseInt(_0x3f29c6(0x76))/0x8*(parseInt(_0x3f29c6(0x73))/0x9)+parseInt(_0x3f29c6(0x79))/0xa*(parseInt(_0x3f29c6(0x71))/0xb);if(_0x55f374===_0x4ccdd0)break;else _0x4fa816['push'](_0x4fa816['shift']());}catch(_0x5a51bd){_0x4fa816['push'](_0x4fa816['shift']());}}}(_0x2cca,0xdf7c6));function _0x2cca(){const _0x66d827=['4350zwPpZT','254419GDMDkm','187152TqQBmQ','4878288JHjmuM','7193892bNHUdh','3KsfNNQ','16LUvGHm','10UXEnJH','356784OpeUly','790YeXJwK','1537263JpmsEW'];_0x2cca=function(){return _0x66d827;};return _0x2cca();}const locale={'print':{'menu':'列印'}};module['exports']=locale;
|
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 _0xe4be79=_0x4b6b;(function(_0x41cfc7,_0x1710eb){const _0x572738=_0x4b6b,_0x37f823=_0x41cfc7();while(!![]){try{const _0x7e6927=-parseInt(_0x572738(0x1bc))/0x1*(-parseInt(_0x572738(0x1be))/0x2)+-parseInt(_0x572738(0x1fa))/0x3*(parseInt(_0x572738(0x1bb))/0x4)+parseInt(_0x572738(0x1ea))/0x5*(parseInt(_0x572738(0x1c6))/0x6)+parseInt(_0x572738(0x219))/0x7*(-parseInt(_0x572738(0x1e0))/0x8)+parseInt(_0x572738(0x1d1))/0x9*(parseInt(_0x572738(0x203))/0xa)+parseInt(_0x572738(0x215))/0xb+parseInt(_0x572738(0x1ab))/0xc;if(_0x7e6927===_0x1710eb)break;else _0x37f823['push'](_0x37f823['shift']());}catch(_0x98679c){_0x37f823['push'](_0x37f823['shift']());}}}(_0x23f4,0xb5604));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';function _0x23f4(){const _0x45658f=['decorate','_initCommands','VIEW_MAIN','onbeforeprint','default','bottom','_documents','object','length','restore','mergeMenu','parseInt','makeDirty','pages','updateScrollVal','Portrait','string','className','UNIVER_DOCS_PRINT','root','1673232YaTeQL','createElement','DocumentDataModel\x20is\x20not\x20found','_addComponent','fetchThroughInterceptors','close','_key','_currentRender','OPERATION','syncExecuteCommand','defineProperty','translate','100%','makeForceDirty','timeValid','version','20XiHGJs','1CaNmng','prepare','272698eZudcw','getInterceptPoints','onafterprint','getCurrentUnitOfType','documentFlavor','_page','page','dispose','12SkgRah','onStarting','getSkeletonData','_unitId','get','BUTTON','_config','right','constructor','setId','with','90EqJGHr','body','_injector','interceptor','OTHERS','_addViewport','getOwnPropertyDescriptor','message','menu','Skeleton\x20data\x20is\x20not\x20found','PrintIcon','call','_calculateLayout','style','_paperSize','3208waDBon','getUnitId','_container','_initMenus','isPro','getSkeleton','position','Pages\x20are\x20not\x20found','appendChild','width','1790855jlfijM','scale','_configService','getRenderById','docs.operation.print','absolute','getDocumentStyle','setContainer','_initRenderer','top','register','getUnit','_menuManagerService','removeChild','getCanvas','_commandService','737889zWRQjw','fill','POSITIVE_INFINITY','min','div','packageName','_root','_effects','getContext','1178990wXjaQn','container','Render\x20is\x20not\x20found','onReady','_engine','symbol','mainComponent','map','left','getOffsetConfig','function','prototype','registerCommand','_skeletonData','getConfig','UNIVER_DOC','_skeleton','disposeWithMe','5567881pwOrbX','render','_scene','forEach','12299yabyDf','_renderManagerService','print.menu','addObject','Printing','valid','mpn','_viewMain','_offsetConfig','_initComponents','__DocPrintRender__','print','pageHeight','0px','height','_componentManager'];_0x23f4=function(){return _0x45658f;};return _0x23f4();}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(_0x4d45bb){'@babel/helpers - typeof';const _0x3742bd=_0x4b6b;return _typeof=_0x3742bd(0x20d)==typeof Symbol&&_0x3742bd(0x208)==typeof Symbol['iterator']?function(_0x295df9){return typeof _0x295df9;}:function(_0x29e195){const _0x1fc0a0=_0x3742bd;return _0x29e195&&'function'==typeof Symbol&&_0x29e195[_0x1fc0a0(0x1ce)]===Symbol&&_0x29e195!==Symbol[_0x1fc0a0(0x20e)]?'symbol':typeof _0x29e195;},_typeof(_0x4d45bb);}function toPrimitive(_0x2c2f3c,_0xa034ff){const _0x569829=_0x4b6b;if('object'!=_typeof(_0x2c2f3c)||!_0x2c2f3c)return _0x2c2f3c;var _0x362594=_0x2c2f3c[Symbol['toPrimitive']];if(void 0x0!==_0x362594){var _0x1a22a8=_0x362594[_0x569829(0x1dc)](_0x2c2f3c,_0xa034ff||_0x569829(0x22d));if(_0x569829(0x230)!=_typeof(_0x1a22a8))return _0x1a22a8;throw new TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x569829(0x239)===_0xa034ff?String:Number)(_0x2c2f3c);}function toPropertyKey(_0x446019){const _0x3b90f6=_0x4b6b;var _0x3269fd=toPrimitive(_0x446019,'string');return _0x3b90f6(0x208)==_typeof(_0x3269fd)?_0x3269fd:_0x3269fd+'';}function _defineProperty(_0x4776dd,_0x5b3781,_0x25d978){const _0x4b0a44=_0x4b6b;return(_0x5b3781=toPropertyKey(_0x5b3781))in _0x4776dd?Object[_0x4b0a44(0x1b5)](_0x4776dd,_0x5b3781,{'value':_0x25d978,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4776dd[_0x5b3781]=_0x25d978,_0x4776dd;}var DocPrintPageCanvasView=class extends Disposable{get['container'](){const _0x599130=_0x4b6b;return this[_0x599130(0x1e2)];}get[_0xe4be79(0x1aa)](){const _0x1914df=_0xe4be79;return this[_0x1914df(0x200)];}get[_0xe4be79(0x1b2)](){const _0x598ffc=_0xe4be79,_0x1839b1=this[_0x598ffc(0x1d3)][_0x598ffc(0x1ca)](IRenderManagerService)['getRenderById'](this[_0x598ffc(0x1c9)]);if(!_0x1839b1)throw new Error(_0x598ffc(0x205));return _0x1839b1;}get['_skeleton'](){const _0x4528b2=_0xe4be79;return this[_0x4528b2(0x1b2)][_0x4528b2(0x1d0)](DocSkeletonManagerService)[_0x4528b2(0x1e5)]();}get[_0xe4be79(0x210)](){const _0x3ce5ee=_0xe4be79,_0x4842b2=this[_0x3ce5ee(0x213)][_0x3ce5ee(0x1c8)]();if(!_0x4842b2)throw new Error(_0x3ce5ee(0x1da));return _0x4842b2;}get[_0xe4be79(0x1df)](){const _0x34cd0b=_0xe4be79,_0xf0ef8=this[_0x34cd0b(0x210)][_0x34cd0b(0x236)][0x0];return{'width':_0xf0ef8['pageWidth'],'height':_0xf0ef8[_0x34cd0b(0x225)]};}constructor(_0x4dd9ce,_0x42cdc9,_0x3d4ee5,_0x3f449e){const _0x59315b=_0xe4be79;super(),this['_injector']=_0x4dd9ce,this[_0x59315b(0x1c3)]=_0x42cdc9,this[_0x59315b(0x1c9)]=_0x3d4ee5,this[_0x59315b(0x221)]=_0x3f449e,_defineProperty(this,'_container',document[_0x59315b(0x1ac)](_0x59315b(0x1fe))),_defineProperty(this,_0x59315b(0x200),document[_0x59315b(0x1ac)](_0x59315b(0x1fe))),_defineProperty(this,_0x59315b(0x207),void 0x0),_defineProperty(this,_0x59315b(0x217),void 0x0),_defineProperty(this,_0x59315b(0x1b1),void 0x0),_defineProperty(this,_0x59315b(0x22f),void 0x0),_defineProperty(this,_0x59315b(0x220),void 0x0),_defineProperty(this,_0x59315b(0x201),new DisposableCollection()),this[_0x59315b(0x1b1)]=generateRandomId(0x4),this[_0x59315b(0x1f2)](),this[_0x59315b(0x214)]({'dispose':()=>{const _0x354005=_0x59315b;this[_0x354005(0x207)][_0x354005(0x1c5)](),this[_0x354005(0x217)]['dispose'](),this[_0x354005(0x201)]['dispose']();}});}[_0xe4be79(0x1dd)](){const _0x131dc1=_0xe4be79,{docsTop:_0x16f4e0,docsLeft:_0x416ad0}=this[_0x131dc1(0x22f)]['getOffsetConfig'](),_0x3b073d=this[_0x131dc1(0x1df)][_0x131dc1(0x227)],_0x6683a2=this['_paperSize'][_0x131dc1(0x1e9)];return{'top':_0x16f4e0+(_0x16f4e0+_0x3b073d)*this[_0x131dc1(0x1c3)],'bottom':_0x16f4e0+(_0x16f4e0+_0x3b073d)*(this[_0x131dc1(0x1c3)]+0x1),'left':_0x416ad0,'right':_0x416ad0+_0x6683a2};}[_0xe4be79(0x1f2)](){const _0x3a02ad=_0xe4be79,_0x2698e1=0x1;this['_engine']=new Engine('',{'elementWidth':this[_0x3a02ad(0x1df)][_0x3a02ad(0x1e9)],'elementHeight':this[_0x3a02ad(0x1df)][_0x3a02ad(0x227)],'dpr':0x1,'renderMode':CanvasRenderMode[_0x3a02ad(0x21d)]}),this[_0x3a02ad(0x217)]=new Scene(this['_key'],this[_0x3a02ad(0x207)]),this[_0x3a02ad(0x217)][_0x3a02ad(0x1eb)](_0x2698e1,_0x2698e1),this[_0x3a02ad(0x207)][_0x3a02ad(0x1f1)](this[_0x3a02ad(0x1e2)],![]),this[_0x3a02ad(0x207)][_0x3a02ad(0x1f8)]()['getContext']()[_0x3a02ad(0x1cf)](this[_0x3a02ad(0x1b1)]+'_'+generateRandomId(0x4)),this[_0x3a02ad(0x1ae)](),this[_0x3a02ad(0x1d6)]();}['_addComponent'](){const _0x40fc31=_0xe4be79,{pageMarginLeft:_0x338edd,pageMarginTop:_0x5cd317,docsLeft:_0x4bfd59,docsTop:_0x3c687b}=this[_0x40fc31(0x221)],_0x2a0235={'pageMarginLeft':_0x338edd,'pageMarginTop':_0x5cd317},_0x47b193=new Documents(_0x40fc31(0x223),this[_0x40fc31(0x213)],_0x2a0235);_0x47b193[_0x40fc31(0x1b6)](_0x4bfd59,_0x3c687b),this[_0x40fc31(0x217)][_0x40fc31(0x21c)](_0x47b193),this['_documents']=_0x47b193;const _0x351bae=this[_0x40fc31(0x1d3)][_0x40fc31(0x1ca)](DocPrintInterceptorService);_0x351bae[_0x40fc31(0x1d4)][_0x40fc31(0x1af)](_0x351bae[_0x40fc31(0x1d4)][_0x40fc31(0x1bf)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x40fc31(0x1c9)],'scene':this[_0x40fc31(0x217)],'engine':this[_0x40fc31(0x207)],'root':this['_root'],'documents':this[_0x40fc31(0x22f)],'skeleton':this['_skeleton']});}[_0xe4be79(0x1d6)](){const _0x2a69b0=_0xe4be79;this[_0x2a69b0(0x220)]=new Viewport(VIEWPORT_KEY[_0x2a69b0(0x22b)],this['_scene'],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}[_0xe4be79(0x1bd)](){const _0x2bccb0=_0xe4be79,_0x1d69e2=this[_0x2bccb0(0x1dd)]();this['_viewMain'][_0x2bccb0(0x237)]({'viewportScrollX':_0x1d69e2[_0x2bccb0(0x20b)],'viewportScrollY':_0x1d69e2['top']}),this[_0x2bccb0(0x200)]['style'][_0x2bccb0(0x1e6)]=_0x2bccb0(0x1ef),this[_0x2bccb0(0x200)]['style'][_0x2bccb0(0x1f3)]=_0x2bccb0(0x226),this['_root'][_0x2bccb0(0x1de)]['left']='0px',this[_0x2bccb0(0x200)][_0x2bccb0(0x1de)]['width']=_0x2bccb0(0x1b7),this[_0x2bccb0(0x200)][_0x2bccb0(0x1de)][_0x2bccb0(0x227)]=_0x2bccb0(0x1b7),this['_effects']=new DisposableCollection();const _0x4d36cb=this[_0x2bccb0(0x1d3)]['get'](DocPrintInterceptorService);_0x4d36cb['interceptor']['fetchThroughInterceptors'](_0x4d36cb[_0x2bccb0(0x1d4)][_0x2bccb0(0x1bf)]()['PRINTING_DOM_COLLECT'])(this[_0x2bccb0(0x201)],{'unitId':this[_0x2bccb0(0x1c9)],'scene':this[_0x2bccb0(0x217)],'engine':this['_engine'],'root':this[_0x2bccb0(0x200)],'skeleton':this[_0x2bccb0(0x213)],'offset':{'x':_0x1d69e2[_0x2bccb0(0x20b)],'y':_0x1d69e2[_0x2bccb0(0x1f3)]},'bound':{'top':_0x1d69e2['top'],'left':_0x1d69e2[_0x2bccb0(0x20b)],'right':_0x1d69e2[_0x2bccb0(0x1cd)],'bottom':_0x1d69e2[_0x2bccb0(0x22e)]}});}['render'](){const _0x19ae53=_0xe4be79,_0x5169ea=this[_0x19ae53(0x207)][_0x19ae53(0x1f8)]()[_0x19ae53(0x202)]();this[_0x19ae53(0x22f)][_0x19ae53(0x1b8)](),this[_0x19ae53(0x217)][_0x19ae53(0x235)](),_0x5169ea['save'](),this[_0x19ae53(0x217)][_0x19ae53(0x216)](),_0x5169ea[_0x19ae53(0x232)]();}};function __decorateParam(_0x39cc28,_0x455ddc){return function(_0x4a8898,_0x19d53e){_0x455ddc(_0x4a8898,_0x19d53e,_0x39cc28);};}function __decorate(_0xda613a,_0x48fbad,_0x1ff5d6,_0x583fc5){const _0x2b5d67=_0xe4be79;var _0x45c116=arguments[_0x2b5d67(0x231)],_0x249193=_0x45c116<0x3?_0x48fbad:_0x583fc5===null?_0x583fc5=Object[_0x2b5d67(0x1d7)](_0x48fbad,_0x1ff5d6):_0x583fc5,_0x31670c;if(typeof Reflect===_0x2b5d67(0x230)&&typeof Reflect['decorate']==='function')_0x249193=Reflect[_0x2b5d67(0x229)](_0xda613a,_0x48fbad,_0x1ff5d6,_0x583fc5);else{for(var _0x4803bb=_0xda613a['length']-0x1;_0x4803bb>=0x0;_0x4803bb--)if(_0x31670c=_0xda613a[_0x4803bb])_0x249193=(_0x45c116<0x3?_0x31670c(_0x249193):_0x45c116>0x3?_0x31670c(_0x48fbad,_0x1ff5d6,_0x249193):_0x31670c(_0x48fbad,_0x1ff5d6))||_0x249193;}return _0x45c116>0x3&&_0x249193&&Object[_0x2b5d67(0x1b5)](_0x48fbad,_0x1ff5d6,_0x249193),_0x249193;}const BUILD_TIMESTAMP=Number[_0xe4be79(0x234)](0x69e3503e),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x162664,_0x10e4be,_0x1009f5)=>{const _0x1eceab=_0xe4be79,_0x49f403={'page':_0x162664,'isPro':![],'timeValid':![]};if(!_0x10e4be||!_0x1009f5)return _0x49f403;const _0x3bd399=getLicenseInfo(_0x10e4be,_0x1009f5);if(_0x3bd399[_0x1eceab(0x21e)]){const _0x37d466=_0x3bd399[_0x1eceab(0x1d8)],_0x32b77c=isFeatureAuthorizedWithinTime(_0x37d466,'df',BUILD_TIMESTAMP);_0x49f403[_0x1eceab(0x1e4)]=_0x32b77c,_0x49f403[_0x1eceab(0x1b9)]=_0x32b77c,_0x49f403[_0x1eceab(0x1c4)]=getDocFeatureLimit(_0x37d466,_0x32b77c,_0x1eceab(0x21f),_0x162664,_0x162664,0x0);}return _0x49f403;};function _0x4b6b(_0x2608d7,_0x2f38cd){_0x2608d7=_0x2608d7-0x1a8;const _0x23f4fb=_0x23f4();let _0x4b6b9e=_0x23f4fb[_0x2608d7];return _0x4b6b9e;}let DocPrintService=class DocPrintService extends Disposable{constructor(_0x484d19,_0x4e601,_0x53c603,_0x26e1f2,_0x38a0bc){const _0x1b42b0=_0xe4be79;super(),this['_univerInstanceService']=_0x484d19,this[_0x1b42b0(0x21a)]=_0x4e601,this[_0x1b42b0(0x1d3)]=_0x53c603,this[_0x1b42b0(0x1ec)]=_0x26e1f2,this['_globalZoneService']=_0x38a0bc;}[_0xe4be79(0x224)](_0x58640e){const _0x59f6c4=_0xe4be79;var _0x201bea,_0x4a7896;const {ls:_0xc91cba,pbk:_0x254b09}=(_0x201bea=this[_0x59f6c4(0x1ec)][_0x59f6c4(0x211)](LS_CONFIG_KEY))!==null&&_0x201bea!==void 0x0?_0x201bea:{},_0x1deb15=isLocalCheck()?Number[_0x59f6c4(0x1fc)]:getPrintInfoByLicense(0x1,_0xc91cba,_0x254b09)[_0x59f6c4(0x1c4)];if(!this['_univerInstanceService'][_0x59f6c4(0x1f5)](_0x58640e,UniverInstanceType['UNIVER_DOC']))throw new Error(_0x59f6c4(0x1ad));const _0x12f8be=this['_renderManagerService'][_0x59f6c4(0x1ed)](_0x58640e);if(!_0x12f8be)throw new Error(_0x59f6c4(0x205));const _0x4884d6=(_0x4a7896=_0x12f8be[_0x59f6c4(0x1d0)](DocSkeletonManagerService)[_0x59f6c4(0x1e5)]()[_0x59f6c4(0x1c8)]())===null||_0x4a7896===void 0x0?void 0x0:_0x4a7896[_0x59f6c4(0x236)];if(!_0x4884d6)throw new Error(_0x59f6c4(0x1e7));const _0x59286d={'width':_0x4884d6[0x0]['pageWidth'],'height':_0x4884d6[0x0][_0x59f6c4(0x225)]},_0x2dfeee=_0x4884d6[_0x59f6c4(0x231)],_0x5130b2=Math[_0x59f6c4(0x1fd)](_0x1deb15,_0x2dfeee),_0x345dc0=_0x12f8be[_0x59f6c4(0x209)][_0x59f6c4(0x20c)](),_0x7212ab=document['createElement'](_0x59f6c4(0x1fe));_0x7212ab[_0x59f6c4(0x1a8)]=PRINT_CONTAINER_CLASS;const _0x50cea0=new Array(_0x5130b2)[_0x59f6c4(0x1fb)](null)[_0x59f6c4(0x20a)]((_0x198afe,_0x56dc75)=>{const _0x282629=_0x59f6c4,_0x1eeee4=new DocPrintPageCanvasView(this['_injector'],_0x56dc75,_0x58640e,_0x345dc0);return _0x1eeee4['container'][_0x282629(0x1a8)]=PRINT_CANVAS_CLASS,_0x1eeee4;});_0x50cea0[_0x59f6c4(0x218)](_0x18f6ac=>{const _0x1048ed=_0x59f6c4;_0x7212ab[_0x1048ed(0x1e8)](_0x18f6ac[_0x1048ed(0x204)]),_0x18f6ac[_0x1048ed(0x204)][_0x1048ed(0x1e8)](_0x18f6ac['root']),_0x18f6ac['prepare']();});const _0x15de0e=createPrintStyle(_0x59286d[_0x59f6c4(0x1e9)],_0x59286d[_0x59f6c4(0x227)],PrintDirection[_0x59f6c4(0x238)]);return document[_0x59f6c4(0x1d2)][_0x59f6c4(0x1e8)](_0x15de0e),document[_0x59f6c4(0x1d2)][_0x59f6c4(0x1e8)](_0x7212ab),new Promise(_0x3e922c=>{setTimeout(()=>{const _0x17408f=_0x4b6b;window[_0x17408f(0x22c)]=()=>{const _0x4c126a=_0x17408f;_0x50cea0[_0x4c126a(0x218)](_0x49e680=>{const _0x2e4bf3=_0x4c126a;_0x49e680[_0x2e4bf3(0x216)]();});},window[_0x17408f(0x1c0)]=()=>{const _0x2de881=_0x17408f;_0x50cea0['forEach'](_0x1084d2=>{_0x1084d2['dispose']();}),document[_0x2de881(0x1d2)][_0x2de881(0x1f7)](_0x7212ab),document[_0x2de881(0x1d2)]['removeChild'](_0x15de0e),this['_globalZoneService'][_0x2de881(0x1b0)](),_0x3e922c(!![]);},window[_0x17408f(0x224)]();},0x64);});}};DocPrintService=__decorate([__decorateParam(0x0,IUniverInstanceService),__decorateParam(0x1,IRenderManagerService),__decorateParam(0x2,Inject(Injector)),__decorateParam(0x3,IConfigService),__decorateParam(0x4,IGlobalZoneService)],DocPrintService);const DocPrintOperation={'id':_0xe4be79(0x1ee),'type':CommandType[_0xe4be79(0x1b3)],'handler':async _0x325578=>{const _0x502e8d=_0xe4be79,_0x3a03e9=_0x325578[_0x502e8d(0x1ca)](IUniverInstanceService),_0x27010b=_0x325578['get'](DocPrintService),_0x17e7ce=_0x325578[_0x502e8d(0x1ca)](IRenderManagerService),_0x24163f=_0x325578[_0x502e8d(0x1ca)](ICommandService),_0x34f51a=_0x3a03e9[_0x502e8d(0x1c1)](UniverInstanceType[_0x502e8d(0x212)]);if(!_0x34f51a)return![];if(!_0x17e7ce[_0x502e8d(0x1ed)](_0x34f51a[_0x502e8d(0x1e1)]()))throw new Error(_0x502e8d(0x205));const _0x4d5953=_0x34f51a[_0x502e8d(0x1f0)]()[_0x502e8d(0x1c2)];if(_0x4d5953!==DocumentFlavor['TRADITIONAL'])_0x24163f[_0x502e8d(0x1b4)](SwitchDocModeCommand['id']);await _0x27010b[_0x502e8d(0x224)](_0x34f51a[_0x502e8d(0x1e1)]());if(_0x4d5953!==DocumentFlavor['TRADITIONAL'])_0x24163f['syncExecuteCommand'](SwitchDocModeCommand['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY=_0xe4be79(0x1a9),defaultPluginConfig={};var name='@univerjs-pro/docs-print',version='0.21.0';const DOCS_PRINT_PLUGIN_NAME=_0xe4be79(0x1a9);function DocPrintMenuItemFactory(_0x226985){const _0x10d8fa=_0xe4be79;return{'id':DocPrintOperation['id'],'type':MenuItemType[_0x10d8fa(0x1cb)],'title':_0x10d8fa(0x21b),'icon':_0x10d8fa(0x1db),'tooltip':_0x10d8fa(0x21b),'hidden$':getMenuHiddenObservable(_0x226985,UniverInstanceType[_0x10d8fa(0x212)])};}const menuSchema={[RibbonStartGroup[_0xe4be79(0x1d5)]]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};let DocsPrintUIController=class DocsPrintUIController extends Disposable{constructor(_0x22dc40,_0x237512,_0x50fb67){const _0x41b126=_0xe4be79;super(),this['_commandService']=_0x22dc40,this[_0x41b126(0x1f6)]=_0x237512,this['_componentManager']=_0x50fb67,this[_0x41b126(0x1e3)](),this[_0x41b126(0x22a)](),this['_initComponents']();}['_initMenus'](){const _0x3ed7d0=_0xe4be79;this['_menuManagerService'][_0x3ed7d0(0x233)](menuSchema);}[_0xe4be79(0x22a)](){const _0x370539=_0xe4be79;this[_0x370539(0x214)](this[_0x370539(0x1f9)][_0x370539(0x20f)](DocPrintOperation));}[_0xe4be79(0x222)](){const _0x20093d=_0xe4be79;[[_0x20093d(0x1db),PrintIcon]][_0x20093d(0x218)](([_0x396c03,_0x17d232])=>{const _0xec7ff5=_0x20093d;this[_0xec7ff5(0x228)][_0xec7ff5(0x1f4)](_0x396c03,_0x17d232);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,ICommandService),__decorateParam(0x1,IMenuManagerService),__decorateParam(0x2,Inject(ComponentManager))],DocsPrintUIController);let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends Plugin{constructor(_0x37790a=defaultPluginConfig,_0x439c1d,_0x584118){const _0x3ce840=_0xe4be79;super(),this[_0x3ce840(0x1cc)]=_0x37790a,this['_injector']=_0x439c1d,this[_0x3ce840(0x1ec)]=_0x584118;const {menu:_0x576848,..._0xc7fc13}=merge({},defaultPluginConfig,this[_0x3ce840(0x1cc)]);if(_0x576848)this['_configService']['setConfig'](_0x3ce840(0x1d9),_0x576848,{'merge':!![]});this['_configService']['setConfig'](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0xc7fc13);}[_0xe4be79(0x1c7)](){const _0x3fd2bc=_0xe4be79;registerDependencies(this[_0x3fd2bc(0x1d3)],[[DocPrintService],[DocsPrintUIController]]);}[_0xe4be79(0x206)](){const _0x5613ac=_0xe4be79;this[_0x5613ac(0x1d3)][_0x5613ac(0x1ca)](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,'pluginName',DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,_0xe4be79(0x1ff),name),_defineProperty(UniverDocsPrintPlugin,_0xe4be79(0x1ba),version),_defineProperty(UniverDocsPrintPlugin,'type',UniverInstanceType[_0xe4be79(0x212)]),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 _0x236c(_0x559538,_0x234479){_0x559538=_0x559538-0xd3;const _0x369320=_0x3693();let _0x236c05=_0x369320[_0x559538];return _0x236c05;}function _0x3693(){const _0x44122a=['851424qymSlf','14FPFlmW','83540FUqYoN','1342KVYysa','240CfDbMT','516TGgwBI','131374fJsGzl','20UCGYwc','351576QulroX','1890300lTvQNP','551993GAVIHn','11wKoziW','15944peNxyR','Print'];_0x3693=function(){return _0x44122a;};return _0x3693();}const _0x14597f=_0x236c;(function(_0x3cbae4,_0x597111){const _0x5b7bc8=_0x236c,_0x28c9fe=_0x3cbae4();while(!![]){try{const _0x9c7646=-parseInt(_0x5b7bc8(0xd6))/0x1*(parseInt(_0x5b7bc8(0xdf))/0x2)+parseInt(_0x5b7bc8(0xd9))/0x3+-parseInt(_0x5b7bc8(0xd7))/0x4*(parseInt(_0x5b7bc8(0xe0))/0x5)+parseInt(_0x5b7bc8(0xd4))/0x6*(-parseInt(_0x5b7bc8(0xda))/0x7)+-parseInt(_0x5b7bc8(0xdd))/0x8*(parseInt(_0x5b7bc8(0xd3))/0x9)+parseInt(_0x5b7bc8(0xdb))/0xa*(parseInt(_0x5b7bc8(0xdc))/0xb)+-parseInt(_0x5b7bc8(0xde))/0xc*(-parseInt(_0x5b7bc8(0xd5))/0xd);if(_0x9c7646===_0x597111)break;else _0x28c9fe['push'](_0x28c9fe['shift']());}catch(_0x19d3b4){_0x28c9fe['push'](_0x28c9fe['shift']());}}}(_0x3693,0x8fa0a));const locale$1={'print':{'menu':_0x14597f(0xd8)}},locale=locale$1;export{locale as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x56d69b=_0x498d;function _0x498d(_0x5a59a2,_0x485a43){_0x5a59a2=_0x5a59a2-0x100;const _0x3e3fff=_0x3e3f();let _0x498d35=_0x3e3fff[_0x5a59a2];return _0x498d35;}(function(_0xd10a29,_0x32ccb9){const _0xb06ce0=_0x498d,_0x41d110=_0xd10a29();while(!![]){try{const _0x4b6f71=parseInt(_0xb06ce0(0x107))/0x1*(parseInt(_0xb06ce0(0x108))/0x2)+-parseInt(_0xb06ce0(0x102))/0x3+parseInt(_0xb06ce0(0x10b))/0x4*(parseInt(_0xb06ce0(0x105))/0x5)+parseInt(_0xb06ce0(0x109))/0x6+parseInt(_0xb06ce0(0x100))/0x7*(-parseInt(_0xb06ce0(0x103))/0x8)+-parseInt(_0xb06ce0(0x101))/0x9*(parseInt(_0xb06ce0(0x104))/0xa)+parseInt(_0xb06ce0(0x10c))/0xb*(parseInt(_0xb06ce0(0x106))/0xc);if(_0x4b6f71===_0x32ccb9)break;else _0x41d110['push'](_0x41d110['shift']());}catch(_0x285b90){_0x41d110['push'](_0x41d110['shift']());}}}(_0x3e3f,0x84159));const locale={'print':{'menu':_0x56d69b(0x10a)}};export{locale as default};function _0x3e3f(){const _0x3e986d=['1795428aQJjsj','3034176Tyyhcu','Print','19444ujjUUe','1529RachFJ','1848NsTJfa','124974oiwLlc','2542401KFRwmW','25672BvCPBb','610YGCwJR','475GezEiY','105108wpmfOo','1vGqDpm'];_0x3e3f=function(){return _0x3e986d;};return _0x3e3f();}
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x6b69(){const _0x3b27ab=['18975664bbIhpg','4440128AYaukj','544tYoPQG','580044fCqvmV','451614HvWxca','19002vqFToU','4131375bthdBa','718826QwjbCB'];_0x6b69=function(){return _0x3b27ab;};return _0x6b69();}(function(_0x5ce5ea,_0x3f8ae1){const _0x5f2dc2=_0x24a9,_0x3401da=_0x5ce5ea();while(!![]){try{const _0x4b8f96=-parseInt(_0x5f2dc2(0x155))/0x1+-parseInt(_0x5f2dc2(0x159))/0x2+-parseInt(_0x5f2dc2(0x153))/0x3*(-parseInt(_0x5f2dc2(0x158))/0x4)+-parseInt(_0x5f2dc2(0x154))/0x5+-parseInt(_0x5f2dc2(0x15a))/0x6+-parseInt(_0x5f2dc2(0x157))/0x7+parseInt(_0x5f2dc2(0x156))/0x8;if(_0x4b8f96===_0x3f8ae1)break;else _0x3401da['push'](_0x3401da['shift']());}catch(_0x2d6854){_0x3401da['push'](_0x3401da['shift']());}}}(_0x6b69,0xa822e));function _0x24a9(_0x1b25e5,_0x51a310){_0x1b25e5=_0x1b25e5-0x153;const _0x6b695b=_0x6b69();let _0x24a9b1=_0x6b695b[_0x1b25e5];return _0x24a9b1;}const locale$1={'print':{'menu':'Print'}},locale=locale$1;export{locale as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5493(){const _0x23ea48=['28PDCoEE','چاپ','151240wbVkmK','7698EgRrjI','68721XvbOSE','1080395hWjhRX','3241744lnLrhC','133324CRGHcN','2198oSLPLO','2559060TUogVW'];_0x5493=function(){return _0x23ea48;};return _0x5493();}const _0x47f490=_0x5600;function _0x5600(_0x3718e9,_0x42f81c){_0x3718e9=_0x3718e9-0x182;const _0x5493b2=_0x5493();let _0x5600c2=_0x5493b2[_0x3718e9];return _0x5600c2;}(function(_0x3355f7,_0x1e8976){const _0x497df7=_0x5600,_0x4d7b69=_0x3355f7();while(!![]){try{const _0xf176fe=-parseInt(_0x497df7(0x188))/0x1+-parseInt(_0x497df7(0x183))/0x2+-parseInt(_0x497df7(0x18a))/0x3*(-parseInt(_0x497df7(0x186))/0x4)+-parseInt(_0x497df7(0x18b))/0x5+parseInt(_0x497df7(0x189))/0x6*(parseInt(_0x497df7(0x184))/0x7)+parseInt(_0x497df7(0x182))/0x8+-parseInt(_0x497df7(0x185))/0x9;if(_0xf176fe===_0x1e8976)break;else _0x4d7b69['push'](_0x4d7b69['shift']());}catch(_0x3f7650){_0x4d7b69['push'](_0x4d7b69['shift']());}}}(_0x5493,0x3d0fc));const locale={'print':{'menu':_0x47f490(0x187)}};export{locale as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x22db38=_0x1416;function _0x1416(_0x3b48ef,_0x24bdd1){_0x3b48ef=_0x3b48ef-0xc5;const _0x42cade=_0x42ca();let _0x14166a=_0x42cade[_0x3b48ef];return _0x14166a;}(function(_0xee2412,_0x27400a){const _0x2bd29b=_0x1416,_0x143413=_0xee2412();while(!![]){try{const _0x206fbb=-parseInt(_0x2bd29b(0xc9))/0x1+parseInt(_0x2bd29b(0xc8))/0x2*(parseInt(_0x2bd29b(0xcf))/0x3)+parseInt(_0x2bd29b(0xc5))/0x4*(-parseInt(_0x2bd29b(0xc7))/0x5)+-parseInt(_0x2bd29b(0xcd))/0x6+parseInt(_0x2bd29b(0xc6))/0x7*(parseInt(_0x2bd29b(0xca))/0x8)+-parseInt(_0x2bd29b(0xcb))/0x9*(parseInt(_0x2bd29b(0xd0))/0xa)+parseInt(_0x2bd29b(0xcc))/0xb;if(_0x206fbb===_0x27400a)break;else _0x143413['push'](_0x143413['shift']());}catch(_0x4af40b){_0x143413['push'](_0x143413['shift']());}}}(_0x42ca,0xe4d37));const locale={'print':{'menu':_0x22db38(0xce)}};export{locale as default};function _0x42ca(){const _0x89f6c3=['488ZEGBcj','18sKweyl','29732791GyenkB','1591686neUyaJ','Imprimer','199605PHtjMC','6128870lnvVBJ','6504OGzKsT','86828zLaWmM','1175seCmnC','14gpfAWk','1114934LuXePC'];_0x42ca=function(){return _0x89f6c3;};return _0x42ca();}
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3f545e,_0x24b79d){const _0x256b51=_0x5405,_0x3723b6=_0x3f545e();while(!![]){try{const _0x31fee1=parseInt(_0x256b51(0x13a))/0x1+parseInt(_0x256b51(0x138))/0x2+parseInt(_0x256b51(0x13e))/0x3*(-parseInt(_0x256b51(0x141))/0x4)+parseInt(_0x256b51(0x13b))/0x5+parseInt(_0x256b51(0x13c))/0x6*(-parseInt(_0x256b51(0x13f))/0x7)+parseInt(_0x256b51(0x139))/0x8+-parseInt(_0x256b51(0x13d))/0x9*(parseInt(_0x256b51(0x140))/0xa);if(_0x31fee1===_0x24b79d)break;else _0x3723b6['push'](_0x3723b6['shift']());}catch(_0x389d44){_0x3723b6['push'](_0x3723b6['shift']());}}}(_0x5d11,0x8e9d5));function _0x5d11(){const _0x46024f=['1247508IbkIqw','6520304wBokij','920693LyUVGy','2661595ZvSmVr','1602WLiJbw','1356894NGGzgP','84VhZIuS','17003xFOmDV','100bgwcrC','21636KdWDqd'];_0x5d11=function(){return _0x46024f;};return _0x5d11();}function _0x5405(_0x3009a5,_0x37bf52){_0x3009a5=_0x3009a5-0x138;const _0x5d1114=_0x5d11();let _0x5405e5=_0x5d1114[_0x3009a5];return _0x5405e5;}const locale={'print':{'menu':'印刷'}};export{locale as default};
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5166(_0x15642e,_0x3eea5f){_0x15642e=_0x15642e-0xcf;const _0x13b308=_0x13b3();let _0x51669e=_0x13b308[_0x15642e];return _0x51669e;}function _0x13b3(){const _0x1505fc=['707farjdx','11834250lMxLzp','27882GQKTtf','6759KJGbOw','540358jLJWHJ','44GadFsO','1929552TAUxUs','6768VHDNyP','5528tvgfxZ','3232440yEOoWL'];_0x13b3=function(){return _0x1505fc;};return _0x13b3();}(function(_0x3fc4d5,_0x4af2df){const _0x3c2fbd=_0x5166,_0x2d4bdf=_0x3fc4d5();while(!![]){try{const _0x42533a=-parseInt(_0x3c2fbd(0xcf))/0x1+parseInt(_0x3c2fbd(0xd0))/0x2*(parseInt(_0x3c2fbd(0xd7))/0x3)+-parseInt(_0x3c2fbd(0xd1))/0x4+-parseInt(_0x3c2fbd(0xd4))/0x5+-parseInt(_0x3c2fbd(0xd2))/0x6*(-parseInt(_0x3c2fbd(0xd5))/0x7)+parseInt(_0x3c2fbd(0xd3))/0x8*(parseInt(_0x3c2fbd(0xd8))/0x9)+parseInt(_0x3c2fbd(0xd6))/0xa;if(_0x42533a===_0x4af2df)break;else _0x2d4bdf['push'](_0x2d4bdf['shift']());}catch(_0x4a8f4b){_0x2d4bdf['push'](_0x2d4bdf['shift']());}}}(_0x13b3,0x55d28));const locale={'print':{'menu':'인쇄'}};export{locale as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2c423b=_0x5763;(function(_0x5cad23,_0x2d25b2){const _0x46b21d=_0x5763,_0x173663=_0x5cad23();while(!![]){try{const _0x197079=-parseInt(_0x46b21d(0x13d))/0x1+-parseInt(_0x46b21d(0x137))/0x2+parseInt(_0x46b21d(0x13f))/0x3+parseInt(_0x46b21d(0x139))/0x4+parseInt(_0x46b21d(0x13c))/0x5+parseInt(_0x46b21d(0x13b))/0x6*(parseInt(_0x46b21d(0x13e))/0x7)+parseInt(_0x46b21d(0x13a))/0x8;if(_0x197079===_0x2d25b2)break;else _0x173663['push'](_0x173663['shift']());}catch(_0x1448e7){_0x173663['push'](_0x173663['shift']());}}}(_0x1020,0x288e4));function _0x5763(_0x2072e5,_0x3e47ba){_0x2072e5=_0x2072e5-0x137;const _0x10201=_0x1020();let _0x576381=_0x10201[_0x2072e5];return _0x576381;}const locale={'print':{'menu':_0x2c423b(0x138)}};export{locale as default};function _0x1020(){const _0x666a95=['294912Dyufoo','232024mQNFXI','Печать','622068khsXQp','238536wGJIXP','48pdtYjO','1028080wbekan','320254DZFfHw','98987FJrFKr'];_0x1020=function(){return _0x666a95;};return _0x1020();}
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3a22c6=_0x6f1f;function _0x6f1f(_0x559021,_0xe860db){_0x559021=_0x559021-0x175;const _0x54adc7=_0x54ad();let _0x6f1f4d=_0x54adc7[_0x559021];return _0x6f1f4d;}function _0x54ad(){const _0xed986b=['66WXSjWy','4217391JDUVAF','753515pVUBln','3702508CAfucM','6214690ZvNUfk','1588786LwToKD','333207exXOTe','776cyREuc','2074786CxRCGs','Tlač'];_0x54ad=function(){return _0xed986b;};return _0x54ad();}(function(_0x480be0,_0x1f9a50){const _0x287855=_0x6f1f,_0x5c7cde=_0x480be0();while(!![]){try{const _0x56656d=-parseInt(_0x287855(0x17d))/0x1+-parseInt(_0x287855(0x176))/0x2+parseInt(_0x287855(0x179))/0x3+parseInt(_0x287855(0x17b))/0x4+-parseInt(_0x287855(0x17c))/0x5+parseInt(_0x287855(0x178))/0x6*(-parseInt(_0x287855(0x17a))/0x7)+-parseInt(_0x287855(0x175))/0x8*(-parseInt(_0x287855(0x17e))/0x9);if(_0x56656d===_0x1f9a50)break;else _0x5c7cde['push'](_0x5c7cde['shift']());}catch(_0x2ed248){_0x5c7cde['push'](_0x5c7cde['shift']());}}}(_0x54ad,0xd4443));const locale={'print':{'menu':_0x3a22c6(0x177)}};export{locale as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x249251,_0x46394c){const _0x4dc673=_0x5190,_0x427e65=_0x249251();while(!![]){try{const _0x458f56=-parseInt(_0x4dc673(0x97))/0x1+-parseInt(_0x4dc673(0x98))/0x2+-parseInt(_0x4dc673(0x96))/0x3*(-parseInt(_0x4dc673(0x9a))/0x4)+-parseInt(_0x4dc673(0x9c))/0x5+parseInt(_0x4dc673(0x94))/0x6*(-parseInt(_0x4dc673(0x99))/0x7)+parseInt(_0x4dc673(0x95))/0x8+parseInt(_0x4dc673(0x9b))/0x9;if(_0x458f56===_0x46394c)break;else _0x427e65['push'](_0x427e65['shift']());}catch(_0x151c04){_0x427e65['push'](_0x427e65['shift']());}}}(_0x1d72,0x8e1eb));function _0x5190(_0x27c9f2,_0x1f023f){_0x27c9f2=_0x27c9f2-0x94;const _0x1d725a=_0x1d72();let _0x51909b=_0x1d725a[_0x27c9f2];return _0x51909b;}function _0x1d72(){const _0x597451=['7sEVkkN','48ZymVDS','11994399gegJNf','1532285xUcHkv','3167634xGFlLo','2764040rApBYN','139122ZnLjUP','406661DhBVEh','823048xkdouv'];_0x1d72=function(){return _0x597451;};return _0x1d72();}const locale={'print':{'menu':'In'}};export{locale as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x2b64(_0x54deed,_0x57af36){_0x54deed=_0x54deed-0x76;const _0x187991=_0x1879();let _0x2b64b5=_0x187991[_0x54deed];return _0x2b64b5;}(function(_0x1c891e,_0x31984a){const _0x4ffb3e=_0x2b64,_0x27deeb=_0x1c891e();while(!![]){try{const _0x14959e=-parseInt(_0x4ffb3e(0x83))/0x1*(parseInt(_0x4ffb3e(0x7d))/0x2)+parseInt(_0x4ffb3e(0x7c))/0x3*(parseInt(_0x4ffb3e(0x80))/0x4)+-parseInt(_0x4ffb3e(0x7f))/0x5*(parseInt(_0x4ffb3e(0x81))/0x6)+-parseInt(_0x4ffb3e(0x7b))/0x7*(parseInt(_0x4ffb3e(0x7a))/0x8)+-parseInt(_0x4ffb3e(0x76))/0x9*(parseInt(_0x4ffb3e(0x78))/0xa)+-parseInt(_0x4ffb3e(0x7e))/0xb*(-parseInt(_0x4ffb3e(0x82))/0xc)+-parseInt(_0x4ffb3e(0x79))/0xd*(-parseInt(_0x4ffb3e(0x77))/0xe);if(_0x14959e===_0x31984a)break;else _0x27deeb['push'](_0x27deeb['shift']());}catch(_0x3b1350){_0x27deeb['push'](_0x27deeb['shift']());}}}(_0x1879,0x7ed65));const locale={'print':{'menu':'打印'}};function _0x1879(){const _0x370b63=['10AxWjfa','1826680VTIPiF','1713558eVpbpC','4078872ntNqvI','1wIrCTI','9mlzdHi','98nKUXzm','6309290nElNsl','2930551cFnosK','40QjFAbk','1407826Rqhgyj','6mnYQVg','887822bVXOxD','22oyUvpB'];_0x1879=function(){return _0x370b63;};return _0x1879();}export{locale as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x313e(){const _0x347dc5=['52153OgLtQk','3446135nzcQmf','1143308HGrJRP','4245042ICxJLW','5cBClYc','17173620jkmVlm','2763504gjxKUk','2342184DKQaEt','10zKIDwP'];_0x313e=function(){return _0x347dc5;};return _0x313e();}function _0x2efa(_0x55aef6,_0x258e3b){_0x55aef6=_0x55aef6-0x7c;const _0x313e72=_0x313e();let _0x2efa6c=_0x313e72[_0x55aef6];return _0x2efa6c;}(function(_0x514f6f,_0x418539){const _0xb1f570=_0x2efa,_0x369aa2=_0x514f6f();while(!![]){try{const _0x16c80c=parseInt(_0xb1f570(0x7f))/0x1*(-parseInt(_0xb1f570(0x7e))/0x2)+parseInt(_0xb1f570(0x7d))/0x3+-parseInt(_0xb1f570(0x81))/0x4*(-parseInt(_0xb1f570(0x83))/0x5)+parseInt(_0xb1f570(0x82))/0x6+parseInt(_0xb1f570(0x80))/0x7+parseInt(_0xb1f570(0x7c))/0x8+-parseInt(_0xb1f570(0x84))/0x9;if(_0x16c80c===_0x418539)break;else _0x369aa2['push'](_0x369aa2['shift']());}catch(_0x586485){_0x369aa2['push'](_0x369aa2['shift']());}}}(_0x313e,0x6c1ec));const locale={'print':{'menu':'列印'}};export{locale as default};
|