@univerjs-pro/docs-print 1.0.0-alpha.0 → 1.0.0-alpha.1
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/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.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-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.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-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.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-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x162d46=_0x362e;(function(_0x11cb40,_0x36fd4f){const _0xf88fe5=_0x362e,_0x129057=_0x11cb40();while(!![]){try{const _0x24c482=parseInt(_0xf88fe5(0x17b))/0x1+parseInt(_0xf88fe5(0x15b))/0x2+-parseInt(_0xf88fe5(0x1b8))/0x3*(-parseInt(_0xf88fe5(0x190))/0x4)+-parseInt(_0xf88fe5(0x1c4))/0x5*(parseInt(_0xf88fe5(0x1ce))/0x6)+parseInt(_0xf88fe5(0x141))/0x7*(parseInt(_0xf88fe5(0x1d0))/0x8)+-parseInt(_0xf88fe5(0x187))/0x9+-parseInt(_0xf88fe5(0x15c))/0xa;if(_0x24c482===_0x36fd4f)break;else _0x129057['push'](_0x129057['shift']());}catch(_0x50b782){_0x129057['push'](_0x129057['shift']());}}}(_0x5969,0xc6c67),Object[_0x162d46(0x1b9)](exports,Symbol['toStringTag'],{'value':_0x162d46(0x18c)}));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/network'),s=require('@univerjs/icons'),c=require('@univerjs/ui');function l(_0xa51009){'@babel/helpers - typeof';const _0x57c594=_0x162d46;return l=typeof Symbol==_0x57c594(0x159)&&typeof Symbol[_0x57c594(0x160)]==_0x57c594(0x1b4)?function(_0x4b9d39){return typeof _0x4b9d39;}:function(_0x4032ea){const _0x23df40=_0x57c594;return _0x4032ea&&typeof Symbol==_0x23df40(0x159)&&_0x4032ea[_0x23df40(0x1bd)]===Symbol&&_0x4032ea!==Symbol['prototype']?_0x23df40(0x1b4):typeof _0x4032ea;},l(_0xa51009);}function _0x5969(){const _0x583c09=['_paperSize','makeForceDirty','_documents','object','OTHERS','getMenuHiddenObservable','Viewport','pageWidth','getOffsetConfig','VIEW_MAIN','length','menu','UniverInstanceType','render','0px','docs-print.menu','getLicenseInfo','interceptor','type','getDocFeatureLimit','isLocalCheck','symbol','DocumentDataModel\x20is\x20not\x20found','updateScrollVal','_offsetConfig','3xmCGyb','defineProperty','_addComponent','getCanvas','_config','constructor','getInterceptPoints','PRINTING_DOM_COLLECT','forEach','fill','removeChild','mergeMenu','5EhBTfS','getUnitId','_page','Inject','IUniverInstanceService','CommandType','registerDependencies','valid','get','style','401118DphSFn','UniverDocsPrintPlugin','8PoVihM','setContainer','_calculateLayout','DocumentFlavor','fetchThroughInterceptors','pages','getUnit','100%','merge','_container','_initMenus','_iconManager','Plugin','Injector','Pages\x20are\x20not\x20found','makeDirty','onStarting','ICommandService','documentFlavor','print','height','_effects','DOCS_PRINT_PLUGIN_CONFIG_KEY','_key','container','setId','syncExecuteCommand','DocSkeletonManagerService','onReady','isFeatureAuthorizedWithinTime','Portrait','UNIVER_DOC','_renderManagerService','@univerjs-pro/docs-print','11130133CazEjF','UniverNetworkPlugin','DocPrintOperation','getOwnPropertyDescriptor','IMenuManagerService','_skeletonData','disposeWithMe','map','DocPrintInterceptorService','_configService','call','mainComponent','PrintIcon','page','getSkeletonData','div','className','Disposable','_addViewport','isPro','_currentRender','dispose','_unitId','IRenderManagerService','function','PrintDirection','552722DARBRI','19949100LBSOil','IConfigService','onafterprint','root','iterator','restore','SwitchDocModeCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','VIEWPORT_KEY','decorate','position','_initCommands','UniverLicensePlugin','_menuManagerService','_registerIcons','RibbonStartGroup','translate','pageHeight','createElement','Printing','appendChild','_commandService','scale','OPERATION','getSkeleton','width','top','1.0.0-alpha.0','DependentOn','Engine','pluginName','1142380jmZPEH','BUTTON','_viewMain','Render\x20is\x20not\x20found','docs.operation.print','with','min','right','_initRenderer','PRINTING_COMPONENT_COLLECT','Scene','Skeleton\x20data\x20is\x20not\x20found','8985312Nyaibw','getConfig','getCurrentUnitOfType','string','_univerInstanceService','Module','left','getRenderById','DisposableCollection','3462216qfGTNf','prepare','_root','__DocPrintRender__','_injector','setConfig','PRINT_CANVAS_CLASS','Documents','_scene','body','CanvasRenderMode','_engine','generateRandomId','bottom','_skeleton'];_0x5969=function(){return _0x583c09;};return _0x5969();}function u(_0x48b0af,_0x5157c0){const _0x4687f4=_0x162d46;if(l(_0x48b0af)!=_0x4687f4(0x1a2)||!_0x48b0af)return _0x48b0af;var _0x471d2c=_0x48b0af[Symbol['toPrimitive']];if(_0x471d2c!==void 0x0){var _0x3a8c9e=_0x471d2c[_0x4687f4(0x14b)](_0x48b0af,_0x5157c0||'default');if(l(_0x3a8c9e)!='object')return _0x3a8c9e;throw TypeError(_0x4687f4(0x163));}return(_0x5157c0===_0x4687f4(0x18a)?String:Number)(_0x48b0af);}function d(_0x64d2e1){var _0x2dc8ce=u(_0x64d2e1,'string');return l(_0x2dc8ce)=='symbol'?_0x2dc8ce:_0x2dc8ce+'';}function f(_0x5fb29f,_0x1181a1,_0x449e40){const _0x28a0a7=_0x162d46;return(_0x1181a1=d(_0x1181a1))in _0x5fb29f?Object[_0x28a0a7(0x1b9)](_0x5fb29f,_0x1181a1,{'value':_0x449e40,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5fb29f[_0x1181a1]=_0x449e40,_0x5fb29f;}var p=class extends e['Disposable']{get['container'](){const _0x40456a=_0x162d46;return this[_0x40456a(0x1d9)];}get[_0x162d46(0x15f)](){const _0xb6d222=_0x162d46;return this[_0xb6d222(0x192)];}get[_0x162d46(0x155)](){const _0x550193=_0x162d46;let _0x31a84e=this[_0x550193(0x194)]['get'](n[_0x550193(0x158)])[_0x550193(0x18e)](this[_0x550193(0x157)]);if(!_0x31a84e)throw Error(_0x550193(0x17e));return _0x31a84e;}get[_0x162d46(0x19e)](){const _0x4b86b8=_0x162d46;return this[_0x4b86b8(0x155)][_0x4b86b8(0x180)](a['DocSkeletonManagerService'])[_0x4b86b8(0x174)]();}get[_0x162d46(0x146)](){const _0x194821=_0x162d46;let _0x36cb3e=this[_0x194821(0x19e)][_0x194821(0x14f)]();if(!_0x36cb3e)throw Error(_0x194821(0x186));return _0x36cb3e;}get[_0x162d46(0x19f)](){const _0x341025=_0x162d46;let _0x30f126=this[_0x341025(0x146)][_0x341025(0x1d5)][0x0];return{'width':_0x30f126['pageWidth'],'height':_0x30f126[_0x341025(0x16d)]};}constructor(_0x3fbb3e,_0xf6fc0,_0x14e26a,_0x59a8a7){const _0xf70c1e=_0x162d46;super(),this['_injector']=_0x3fbb3e,this[_0xf70c1e(0x1c6)]=_0xf6fc0,this[_0xf70c1e(0x157)]=_0x14e26a,this[_0xf70c1e(0x1b7)]=_0x59a8a7,f(this,_0xf70c1e(0x1d9),document[_0xf70c1e(0x16e)](_0xf70c1e(0x150))),f(this,_0xf70c1e(0x192),document[_0xf70c1e(0x16e)](_0xf70c1e(0x150))),f(this,'_engine',void 0x0),f(this,_0xf70c1e(0x198),void 0x0),f(this,_0xf70c1e(0x136),void 0x0),f(this,'_documents',void 0x0),f(this,_0xf70c1e(0x17d),void 0x0),f(this,_0xf70c1e(0x1e5),new e[(_0xf70c1e(0x18f))]()),this[_0xf70c1e(0x136)]=(0x0,e[_0xf70c1e(0x19c)])(0x4),this[_0xf70c1e(0x183)](),this['disposeWithMe']({'dispose':()=>{const _0x35fca1=_0xf70c1e;this['_engine'][_0x35fca1(0x156)](),this['_scene'][_0x35fca1(0x156)](),this['_effects'][_0x35fca1(0x156)]();}});}[_0x162d46(0x1d2)](){const _0x5b92f2=_0x162d46;let {docsTop:_0x10d2d8,docsLeft:_0x348592}=this[_0x5b92f2(0x1a1)][_0x5b92f2(0x1a7)](),_0x1a5adf=this['_paperSize'][_0x5b92f2(0x1e4)],_0x55af64=this[_0x5b92f2(0x19f)][_0x5b92f2(0x175)];return{'top':_0x10d2d8+(_0x10d2d8+_0x1a5adf)*this['_page'],'bottom':_0x10d2d8+(_0x10d2d8+_0x1a5adf)*(this[_0x5b92f2(0x1c6)]+0x1),'left':_0x348592,'right':_0x348592+_0x55af64};}[_0x162d46(0x183)](){const _0x27474a=_0x162d46;this[_0x27474a(0x19b)]=new n[(_0x27474a(0x179))]('',{'elementWidth':this[_0x27474a(0x19f)][_0x27474a(0x175)],'elementHeight':this[_0x27474a(0x19f)][_0x27474a(0x1e4)],'dpr':0x1,'renderMode':n[_0x27474a(0x19a)][_0x27474a(0x16f)]}),this[_0x27474a(0x198)]=new n[(_0x27474a(0x185))](this[_0x27474a(0x136)],this[_0x27474a(0x19b)]),this['_scene'][_0x27474a(0x172)](0x1,0x1),this[_0x27474a(0x19b)][_0x27474a(0x1d1)](this[_0x27474a(0x1d9)],!0x1),this[_0x27474a(0x19b)][_0x27474a(0x1bb)]()['getContext']()[_0x27474a(0x138)](this['_key']+'_'+(0x0,e[_0x27474a(0x19c)])(0x4)),this[_0x27474a(0x1ba)](),this[_0x27474a(0x153)]();}['_addComponent'](){const _0xc7c348=_0x162d46;let {pageMarginLeft:_0x3e2e4a,pageMarginTop:_0x40e4b6,docsLeft:_0xa884eb,docsTop:_0xb5a2f1}=this['_offsetConfig'],_0x56debb={'pageMarginLeft':_0x3e2e4a,'pageMarginTop':_0x40e4b6},_0x66d431=new n[(_0xc7c348(0x197))](_0xc7c348(0x193),this[_0xc7c348(0x19e)],_0x56debb);_0x66d431[_0xc7c348(0x16c)](_0xa884eb,_0xb5a2f1),this['_scene']['addObject'](_0x66d431),this['_documents']=_0x66d431;let _0x34fce0=this['_injector'][_0xc7c348(0x1cc)](t[_0xc7c348(0x149)]);_0x34fce0[_0xc7c348(0x1b0)][_0xc7c348(0x1d4)](_0x34fce0['interceptor'][_0xc7c348(0x1be)]()[_0xc7c348(0x184)])(void 0x0,{'unitId':this[_0xc7c348(0x157)],'scene':this[_0xc7c348(0x198)],'engine':this[_0xc7c348(0x19b)],'root':this[_0xc7c348(0x192)],'documents':this['_documents'],'skeleton':this['_skeleton']});}[_0x162d46(0x153)](){const _0x4abaf5=_0x162d46;this[_0x4abaf5(0x17d)]=new n[(_0x4abaf5(0x1a5))](t[_0x4abaf5(0x164)][_0x4abaf5(0x1a8)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x162d46(0x191)](){const _0x1abd15=_0x162d46;let _0x3d6084=this[_0x1abd15(0x1d2)]();this['_viewMain'][_0x1abd15(0x1b6)]({'viewportScrollX':_0x3d6084['left'],'viewportScrollY':_0x3d6084['top']}),this[_0x1abd15(0x192)]['style'][_0x1abd15(0x166)]='absolute',this[_0x1abd15(0x192)][_0x1abd15(0x1cd)][_0x1abd15(0x176)]='0px',this[_0x1abd15(0x192)][_0x1abd15(0x1cd)]['left']=_0x1abd15(0x1ad),this[_0x1abd15(0x192)][_0x1abd15(0x1cd)][_0x1abd15(0x175)]='100%',this['_root'][_0x1abd15(0x1cd)][_0x1abd15(0x1e4)]=_0x1abd15(0x1d7),this[_0x1abd15(0x1e5)]=new e[(_0x1abd15(0x18f))]();let _0x5de23=this[_0x1abd15(0x194)][_0x1abd15(0x1cc)](t[_0x1abd15(0x149)]);_0x5de23[_0x1abd15(0x1b0)][_0x1abd15(0x1d4)](_0x5de23['interceptor'][_0x1abd15(0x1be)]()[_0x1abd15(0x1bf)])(this[_0x1abd15(0x1e5)],{'unitId':this[_0x1abd15(0x157)],'scene':this[_0x1abd15(0x198)],'engine':this['_engine'],'root':this[_0x1abd15(0x192)],'skeleton':this['_skeleton'],'offset':{'x':_0x3d6084[_0x1abd15(0x18d)],'y':_0x3d6084['top']},'bound':{'top':_0x3d6084['top'],'left':_0x3d6084[_0x1abd15(0x18d)],'right':_0x3d6084[_0x1abd15(0x182)],'bottom':_0x3d6084[_0x1abd15(0x19d)]}});}[_0x162d46(0x1ac)](){const _0x4939d9=_0x162d46;let _0x2e8af2=this[_0x4939d9(0x19b)][_0x4939d9(0x1bb)]()['getContext']();this['_documents'][_0x4939d9(0x1a0)](),this['_scene'][_0x4939d9(0x1df)](),_0x2e8af2['save'](),this[_0x4939d9(0x198)][_0x4939d9(0x1ac)](),_0x2e8af2[_0x4939d9(0x161)]();}};function m(_0x5cd816,_0x559f38){return function(_0x248505,_0x15059c){_0x559f38(_0x248505,_0x15059c,_0x5cd816);};}function h(_0x18c30c,_0x59a315,_0x2c02e6,_0x402275){const _0x38241a=_0x162d46;var _0x2fc30d=arguments[_0x38241a(0x1a9)],_0x11c345=_0x2fc30d<0x3?_0x59a315:_0x402275===null?_0x402275=Object[_0x38241a(0x144)](_0x59a315,_0x2c02e6):_0x402275,_0x3194eb;if(typeof Reflect=='object'&&typeof Reflect[_0x38241a(0x165)]==_0x38241a(0x159))_0x11c345=Reflect[_0x38241a(0x165)](_0x18c30c,_0x59a315,_0x2c02e6,_0x402275);else{for(var _0x388507=_0x18c30c[_0x38241a(0x1a9)]-0x1;_0x388507>=0x0;_0x388507--)(_0x3194eb=_0x18c30c[_0x388507])&&(_0x11c345=(_0x2fc30d<0x3?_0x3194eb(_0x11c345):_0x2fc30d>0x3?_0x3194eb(_0x59a315,_0x2c02e6,_0x11c345):_0x3194eb(_0x59a315,_0x2c02e6))||_0x11c345);}return _0x2fc30d>0x3&&_0x11c345&&Object[_0x38241a(0x1b9)](_0x59a315,_0x2c02e6,_0x11c345),_0x11c345;}const g=Number['parseInt'](0x6a3b85bc),_=(_0x3d0157,_0x511f6f,_0x244264)=>{const _0x1c025d=_0x162d46;let _0x55e815={'page':_0x3d0157,'isPro':!0x1,'timeValid':!0x1};if(!_0x511f6f||!_0x244264)return _0x55e815;let _0x4d3814=(0x0,r[_0x1c025d(0x1af)])(_0x511f6f,_0x244264);if(_0x4d3814[_0x1c025d(0x1cb)]){let _0x4334f7=_0x4d3814['message'],_0xd47603=(0x0,r[_0x1c025d(0x13c)])(_0x4334f7,'df',g);_0x55e815[_0x1c025d(0x154)]=_0xd47603,_0x55e815['timeValid']=_0xd47603,_0x55e815['page']=(0x0,r[_0x1c025d(0x1b2)])(_0x4334f7,_0xd47603,'mpn',_0x3d0157,_0x3d0157,0x0);}return _0x55e815;};function _0x362e(_0x26ea3d,_0x5811e4){_0x26ea3d=_0x26ea3d-0x136;const _0x5969e1=_0x5969();let _0x362e2c=_0x5969e1[_0x26ea3d];return _0x362e2c;}let v=class extends e[_0x162d46(0x152)]{constructor(_0x2a49bb,_0x37364d,_0xccc8f4,_0x2921a2){const _0x2f3143=_0x162d46;super(),this[_0x2f3143(0x18b)]=_0x2a49bb,this[_0x2f3143(0x13f)]=_0x37364d,this['_injector']=_0xccc8f4,this[_0x2f3143(0x14a)]=_0x2921a2;}[_0x162d46(0x1e3)](_0x311880){const _0x22fb84=_0x162d46;var _0x38ee96,_0x32503a;let {ls:_0x560cef,pbk:_0x2dfbbe}=(_0x38ee96=this[_0x22fb84(0x14a)][_0x22fb84(0x188)](r['LS_CONFIG_KEY']))==null?{}:_0x38ee96,_0x559568=(0x0,r[_0x22fb84(0x1b3)])()?0x1/0x0:_(0x1,_0x560cef,_0x2dfbbe)[_0x22fb84(0x14e)];if(!this['_univerInstanceService'][_0x22fb84(0x1d6)](_0x311880,e['UniverInstanceType']['UNIVER_DOC']))throw Error(_0x22fb84(0x1b5));let _0x5bae83=this[_0x22fb84(0x13f)][_0x22fb84(0x18e)](_0x311880);if(!_0x5bae83)throw Error('Render\x20is\x20not\x20found');let _0x18b59b=(_0x32503a=_0x5bae83['with'](a[_0x22fb84(0x13a)])[_0x22fb84(0x174)]()[_0x22fb84(0x14f)]())==null?void 0x0:_0x32503a['pages'];if(!_0x18b59b)throw Error(_0x22fb84(0x1de));let _0x1fb80b={'width':_0x18b59b[0x0][_0x22fb84(0x1a6)],'height':_0x18b59b[0x0]['pageHeight']},_0x36dcc6=_0x18b59b[_0x22fb84(0x1a9)],_0x4aaa82=Math[_0x22fb84(0x181)](_0x559568,_0x36dcc6),_0x4843ab=_0x5bae83[_0x22fb84(0x14c)][_0x22fb84(0x1a7)](),_0x1190e2=document[_0x22fb84(0x16e)]('div');_0x1190e2[_0x22fb84(0x151)]=i['PRINT_CONTAINER_CLASS'];let _0xf494fb=Array(_0x4aaa82)[_0x22fb84(0x1c1)](null)[_0x22fb84(0x148)]((_0x26da39,_0x10787c)=>{const _0x2f7350=_0x22fb84;let _0x495468=new p(this[_0x2f7350(0x194)],_0x10787c,_0x311880,_0x4843ab);return _0x495468[_0x2f7350(0x137)][_0x2f7350(0x151)]=i[_0x2f7350(0x196)],_0x495468;});_0xf494fb[_0x22fb84(0x1c0)](_0x4dd08e=>{const _0xd16114=_0x22fb84;_0x1190e2[_0xd16114(0x170)](_0x4dd08e['container']),_0x4dd08e['container']['appendChild'](_0x4dd08e[_0xd16114(0x15f)]),_0x4dd08e[_0xd16114(0x191)]();});let _0x2aaafc=(0x0,i['createPrintStyle'])(_0x1fb80b[_0x22fb84(0x175)],_0x1fb80b[_0x22fb84(0x1e4)],i[_0x22fb84(0x15a)][_0x22fb84(0x13d)]);return document[_0x22fb84(0x199)][_0x22fb84(0x170)](_0x2aaafc),document[_0x22fb84(0x199)]['appendChild'](_0x1190e2),new Promise(_0x1db196=>{setTimeout(()=>{const _0x3ffeae=_0x362e;window['onbeforeprint']=()=>{const _0x946554=_0x362e;_0xf494fb[_0x946554(0x1c0)](_0xa6cb48=>{const _0x46d46f=_0x946554;_0xa6cb48[_0x46d46f(0x1ac)]();});},window[_0x3ffeae(0x15e)]=()=>{const _0x5ccc87=_0x3ffeae;_0xf494fb[_0x5ccc87(0x1c0)](_0x1c50b1=>{const _0x554b36=_0x5ccc87;_0x1c50b1[_0x554b36(0x156)]();}),document[_0x5ccc87(0x199)][_0x5ccc87(0x1c2)](_0x1190e2),document['body'][_0x5ccc87(0x1c2)](_0x2aaafc),_0x1db196(!0x0);},window[_0x3ffeae(0x1e3)]();},0x64);});}};v=h([m(0x0,e[_0x162d46(0x1c8)]),m(0x1,n['IRenderManagerService']),m(0x2,(0x0,e[_0x162d46(0x1c7)])(e[_0x162d46(0x1dd)])),m(0x3,e[_0x162d46(0x15d)])],v);const y={'id':_0x162d46(0x17f),'type':e[_0x162d46(0x1c9)][_0x162d46(0x173)],'handler':async _0x1b0f95=>{const _0xc45562=_0x162d46;let _0x4b1e8a=_0x1b0f95[_0xc45562(0x1cc)](e[_0xc45562(0x1c8)]),_0x25265f=_0x1b0f95[_0xc45562(0x1cc)](v),_0x328774=_0x1b0f95[_0xc45562(0x1cc)](n[_0xc45562(0x158)]),_0xa31896=_0x1b0f95[_0xc45562(0x1cc)](e['ICommandService']),_0x584fee=_0x4b1e8a[_0xc45562(0x189)](e[_0xc45562(0x1ab)][_0xc45562(0x13e)]);if(!_0x584fee)return!0x1;if(!_0x328774[_0xc45562(0x18e)](_0x584fee[_0xc45562(0x1c5)]()))throw Error('Render\x20is\x20not\x20found');let _0x2392f2=_0x584fee['getDocumentStyle']()[_0xc45562(0x1e2)];return _0x2392f2!==e[_0xc45562(0x1d3)]['TRADITIONAL']&&_0xa31896[_0xc45562(0x139)](t[_0xc45562(0x162)]['id']),await _0x25265f['print'](_0x584fee[_0xc45562(0x1c5)]()),_0x2392f2!==e[_0xc45562(0x1d3)]['TRADITIONAL']&&_0xa31896[_0xc45562(0x139)](t['SwitchDocModeCommand']['id']),!0x0;}},b='UNIVER_DOCS_PRINT',x={};var S=_0x162d46(0x140),C=_0x162d46(0x177);let w=class extends e[_0x162d46(0x152)]{constructor(_0x353558){const _0x42d76f=_0x162d46;super(),this[_0x42d76f(0x1db)]=_0x353558,this[_0x42d76f(0x16a)]();}[_0x162d46(0x16a)](){const _0x74438a=_0x162d46;this[_0x74438a(0x147)](this[_0x74438a(0x1db)]['register']({'PrintIcon':s[_0x74438a(0x14d)]}));}};w=h([m(0x0,(0x0,e['Inject'])(c['IconManager']))],w);function T(_0x30f64d){const _0x49cb96=_0x162d46;return{'id':y['id'],'type':c['MenuItemType'][_0x49cb96(0x17c)],'title':_0x49cb96(0x1ae),'icon':_0x49cb96(0x14d),'tooltip':_0x49cb96(0x1ae),'hidden$':(0x0,c[_0x49cb96(0x1a4)])(_0x30f64d,e[_0x49cb96(0x1ab)]['UNIVER_DOC'])};}const E={[c[_0x162d46(0x16b)][_0x162d46(0x1a3)]]:{[y['id']]:{'order':0.1,'menuItemFactory':T}}};let D=class extends e[_0x162d46(0x152)]{constructor(_0x9b9181,_0x36aec3){const _0x269acb=_0x162d46;super(),this[_0x269acb(0x171)]=_0x9b9181,this[_0x269acb(0x169)]=_0x36aec3,this[_0x269acb(0x1da)](),this[_0x269acb(0x167)]();}['_initMenus'](){const _0x204c9d=_0x162d46;this[_0x204c9d(0x169)][_0x204c9d(0x1c3)](E);}[_0x162d46(0x167)](){const _0x127a3e=_0x162d46;this[_0x127a3e(0x147)](this[_0x127a3e(0x171)]['registerCommand'](y));}};D=h([m(0x0,e[_0x162d46(0x1e1)]),m(0x1,c[_0x162d46(0x145)])],D);let O=class extends e[_0x162d46(0x1dc)]{constructor(_0x4da9c6=x,_0x29b6fe,_0x3a0c7d){const _0x41c7da=_0x162d46;super(),this[_0x41c7da(0x1bc)]=_0x4da9c6,this[_0x41c7da(0x194)]=_0x29b6fe,this[_0x41c7da(0x14a)]=_0x3a0c7d;let {menu:_0x19e1f6,..._0x953d60}=(0x0,e[_0x41c7da(0x1d8)])({},x,this[_0x41c7da(0x1bc)]);_0x19e1f6&&this[_0x41c7da(0x14a)][_0x41c7da(0x195)](_0x41c7da(0x1aa),_0x19e1f6,{'merge':!0x0}),this[_0x41c7da(0x14a)][_0x41c7da(0x195)](b,_0x953d60);}[_0x162d46(0x1e0)](){const _0x59b886=_0x162d46;this[_0x59b886(0x194)]['add']([w]),this['_injector'][_0x59b886(0x1cc)](w),(0x0,e[_0x59b886(0x1ca)])(this['_injector'],[[v],[D]]);}[_0x162d46(0x13b)](){const _0x3fd1d4=_0x162d46;this[_0x3fd1d4(0x194)][_0x3fd1d4(0x1cc)](D);}};f(O,_0x162d46(0x17a),'UNIVER_DOCS_PRINT'),f(O,'packageName',S),f(O,'version',C),f(O,_0x162d46(0x1b1),e['UniverInstanceType'][_0x162d46(0x13e)]),O=h([(0x0,e[_0x162d46(0x178)])(o[_0x162d46(0x142)],r[_0x162d46(0x168)]),m(0x1,(0x0,e['Inject'])(e[_0x162d46(0x1dd)])),m(0x2,e[_0x162d46(0x15d)])],O),exports[_0x162d46(0x1e6)]=b,exports[_0x162d46(0x143)]=y,Object[_0x162d46(0x1b9)](exports,_0x162d46(0x1cf),{'enumerable':!0x0,'get':function(){return O;}});
|
|
1
|
+
const _0x5c30d7=_0x4cb2;(function(_0x432499,_0x3c97ac){const _0x60b470=_0x4cb2,_0x1145cf=_0x432499();while(!![]){try{const _0x2f6371=-parseInt(_0x60b470(0x25a))/0x1+-parseInt(_0x60b470(0x1e7))/0x2*(parseInt(_0x60b470(0x24c))/0x3)+-parseInt(_0x60b470(0x1f8))/0x4+-parseInt(_0x60b470(0x200))/0x5*(-parseInt(_0x60b470(0x1bc))/0x6)+parseInt(_0x60b470(0x233))/0x7*(parseInt(_0x60b470(0x215))/0x8)+parseInt(_0x60b470(0x1e3))/0x9*(parseInt(_0x60b470(0x1f6))/0xa)+-parseInt(_0x60b470(0x1aa))/0xb*(-parseInt(_0x60b470(0x239))/0xc);if(_0x2f6371===_0x3c97ac)break;else _0x1145cf['push'](_0x1145cf['shift']());}catch(_0x24ba5d){_0x1145cf['push'](_0x1145cf['shift']());}}}(_0x2a73,0x29cbe),Object[_0x5c30d7(0x1a7)](exports,Symbol[_0x5c30d7(0x20c)],{'value':_0x5c30d7(0x225)}));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/network'),s=require('@univerjs/icons'),c=require('@univerjs/ui');function l(_0x242bc2){'@babel/helpers - typeof';const _0x320bc8=_0x5c30d7;return l=typeof Symbol==_0x320bc8(0x22b)&&typeof Symbol[_0x320bc8(0x1ec)]==_0x320bc8(0x1b9)?function(_0x583546){return typeof _0x583546;}:function(_0x39d4d3){const _0x15f580=_0x320bc8;return _0x39d4d3&&typeof Symbol=='function'&&_0x39d4d3[_0x15f580(0x1da)]===Symbol&&_0x39d4d3!==Symbol[_0x15f580(0x1cf)]?_0x15f580(0x1b9):typeof _0x39d4d3;},l(_0x242bc2);}function u(_0x14eaa5,_0x1495ef){const _0x17787a=_0x5c30d7;if(l(_0x14eaa5)!=_0x17787a(0x1b5)||!_0x14eaa5)return _0x14eaa5;var _0x4ff402=_0x14eaa5[Symbol[_0x17787a(0x1ab)]];if(_0x4ff402!==void 0x0){var _0x10afc5=_0x4ff402[_0x17787a(0x20a)](_0x14eaa5,_0x1495ef||_0x17787a(0x1d5));if(l(_0x10afc5)!=_0x17787a(0x1b5))return _0x10afc5;throw TypeError(_0x17787a(0x241));}return(_0x1495ef===_0x17787a(0x1b3)?String:Number)(_0x14eaa5);}function d(_0x1a02a9){const _0x2b8abf=_0x5c30d7;var _0x53a1ab=u(_0x1a02a9,_0x2b8abf(0x1b3));return l(_0x53a1ab)==_0x2b8abf(0x1b9)?_0x53a1ab:_0x53a1ab+'';}function f(_0xdabd19,_0x4b1481,_0x5eadce){const _0x15db84=_0x5c30d7;return(_0x4b1481=d(_0x4b1481))in _0xdabd19?Object[_0x15db84(0x1a7)](_0xdabd19,_0x4b1481,{'value':_0x5eadce,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xdabd19[_0x4b1481]=_0x5eadce,_0xdabd19;}var p=class extends e[_0x5c30d7(0x1b0)]{get[_0x5c30d7(0x1cc)](){return this['_container'];}get[_0x5c30d7(0x1b7)](){const _0x573649=_0x5c30d7;return this[_0x573649(0x229)];}get[_0x5c30d7(0x1eb)](){const _0x3afd3a=_0x5c30d7;let _0x2d5353=this[_0x3afd3a(0x248)][_0x3afd3a(0x227)](n[_0x3afd3a(0x244)])['getRenderById'](this[_0x3afd3a(0x1d7)]);if(!_0x2d5353)throw Error(_0x3afd3a(0x1ba));return _0x2d5353;}get[_0x5c30d7(0x202)](){const _0x550246=_0x5c30d7;return this[_0x550246(0x1eb)][_0x550246(0x251)](a[_0x550246(0x1c7)])[_0x550246(0x1ce)]();}get[_0x5c30d7(0x1ef)](){const _0x62cefa=_0x5c30d7;let _0x8909de=this['_skeleton'][_0x62cefa(0x1df)]();if(!_0x8909de)throw Error(_0x62cefa(0x209));return _0x8909de;}get['_paperSize'](){const _0x4a02dc=_0x5c30d7;let _0x579f89=this['_skeletonData'][_0x4a02dc(0x1e9)][0x0];return{'width':_0x579f89['pageWidth'],'height':_0x579f89[_0x4a02dc(0x1ad)]};}constructor(_0x5c9e85,_0x8a1641,_0x261280,_0x2d5b19){const _0x49cc03=_0x5c30d7;super(),this[_0x49cc03(0x248)]=_0x5c9e85,this['_page']=_0x8a1641,this[_0x49cc03(0x1d7)]=_0x261280,this[_0x49cc03(0x22a)]=_0x2d5b19,f(this,_0x49cc03(0x23f),document[_0x49cc03(0x1d9)](_0x49cc03(0x220))),f(this,'_root',document[_0x49cc03(0x1d9)](_0x49cc03(0x220))),f(this,_0x49cc03(0x23c),void 0x0),f(this,'_scene',void 0x0),f(this,_0x49cc03(0x1bb),void 0x0),f(this,'_documents',void 0x0),f(this,_0x49cc03(0x242),void 0x0),f(this,_0x49cc03(0x234),new e[(_0x49cc03(0x1af))]()),this[_0x49cc03(0x1bb)]=(0x0,e['generateRandomId'])(0x4),this[_0x49cc03(0x22c)](),this[_0x49cc03(0x238)]({'dispose':()=>{const _0xa89bd9=_0x49cc03;this[_0xa89bd9(0x23c)][_0xa89bd9(0x1fd)](),this[_0xa89bd9(0x1a3)][_0xa89bd9(0x1fd)](),this[_0xa89bd9(0x234)][_0xa89bd9(0x1fd)]();}});}[_0x5c30d7(0x201)](){const _0x20f85e=_0x5c30d7;let {docsTop:_0x1adc1b,docsLeft:_0x421902}=this[_0x20f85e(0x1c6)][_0x20f85e(0x1de)](),_0x4cdd9a=this[_0x20f85e(0x1c5)][_0x20f85e(0x217)],_0x4dedc1=this[_0x20f85e(0x1c5)]['width'];return{'top':_0x1adc1b+(_0x1adc1b+_0x4cdd9a)*this['_page'],'bottom':_0x1adc1b+(_0x1adc1b+_0x4cdd9a)*(this[_0x20f85e(0x1f7)]+0x1),'left':_0x421902,'right':_0x421902+_0x4dedc1};}['_initRenderer'](){const _0x2737cc=_0x5c30d7;this['_engine']=new n[(_0x2737cc(0x1c1))]('',{'elementWidth':this[_0x2737cc(0x1c5)][_0x2737cc(0x212)],'elementHeight':this[_0x2737cc(0x1c5)][_0x2737cc(0x217)],'dpr':0x1,'renderMode':n[_0x2737cc(0x231)][_0x2737cc(0x1d8)]}),this[_0x2737cc(0x1a3)]=new n['Scene'](this[_0x2737cc(0x1bb)],this[_0x2737cc(0x23c)]),this['_scene'][_0x2737cc(0x1ac)](0x1,0x1),this['_engine'][_0x2737cc(0x1a4)](this[_0x2737cc(0x23f)],!0x1),this[_0x2737cc(0x23c)][_0x2737cc(0x1e8)]()[_0x2737cc(0x1f9)]()[_0x2737cc(0x1a8)](this[_0x2737cc(0x1bb)]+'_'+(0x0,e[_0x2737cc(0x208)])(0x4)),this[_0x2737cc(0x20e)](),this[_0x2737cc(0x226)]();}[_0x5c30d7(0x20e)](){const _0x41c406=_0x5c30d7;let {pageMarginLeft:_0x2fa6ee,pageMarginTop:_0x5ee78b,docsLeft:_0x3f242b,docsTop:_0x1a9e75}=this[_0x41c406(0x22a)],_0x36af2e={'pageMarginLeft':_0x2fa6ee,'pageMarginTop':_0x5ee78b},_0x4574a3=new n[(_0x41c406(0x1fe))](_0x41c406(0x21e),this[_0x41c406(0x202)],_0x36af2e);_0x4574a3['translate'](_0x3f242b,_0x1a9e75),this['_scene'][_0x41c406(0x1f5)](_0x4574a3),this[_0x41c406(0x1c6)]=_0x4574a3;let _0x41f0a4=this[_0x41c406(0x248)][_0x41c406(0x227)](t[_0x41c406(0x1ff)]);_0x41f0a4[_0x41c406(0x1f4)][_0x41c406(0x207)](_0x41f0a4[_0x41c406(0x1f4)][_0x41c406(0x23b)]()[_0x41c406(0x1b2)])(void 0x0,{'unitId':this[_0x41c406(0x1d7)],'scene':this[_0x41c406(0x1a3)],'engine':this[_0x41c406(0x23c)],'root':this['_root'],'documents':this[_0x41c406(0x1c6)],'skeleton':this[_0x41c406(0x202)]});}[_0x5c30d7(0x226)](){const _0x3a956c=_0x5c30d7;this[_0x3a956c(0x242)]=new n['Viewport'](t[_0x3a956c(0x1ca)][_0x3a956c(0x1d1)],this[_0x3a956c(0x1a3)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}['prepare'](){const _0x5c8bf6=_0x5c30d7;let _0x1ca5a0=this[_0x5c8bf6(0x201)]();this[_0x5c8bf6(0x242)]['updateScrollVal']({'viewportScrollX':_0x1ca5a0[_0x5c8bf6(0x1cb)],'viewportScrollY':_0x1ca5a0[_0x5c8bf6(0x210)]}),this[_0x5c8bf6(0x229)]['style'][_0x5c8bf6(0x224)]=_0x5c8bf6(0x1bd),this[_0x5c8bf6(0x229)][_0x5c8bf6(0x240)]['top']=_0x5c8bf6(0x1c8),this[_0x5c8bf6(0x229)]['style'][_0x5c8bf6(0x1cb)]=_0x5c8bf6(0x1c8),this[_0x5c8bf6(0x229)]['style'][_0x5c8bf6(0x212)]='100%',this[_0x5c8bf6(0x229)]['style']['height']=_0x5c8bf6(0x1dc),this[_0x5c8bf6(0x234)]=new e[(_0x5c8bf6(0x1af))]();let _0x44a296=this[_0x5c8bf6(0x248)][_0x5c8bf6(0x227)](t['DocPrintInterceptorService']);_0x44a296[_0x5c8bf6(0x1f4)][_0x5c8bf6(0x207)](_0x44a296[_0x5c8bf6(0x1f4)][_0x5c8bf6(0x23b)]()[_0x5c8bf6(0x206)])(this['_effects'],{'unitId':this[_0x5c8bf6(0x1d7)],'scene':this['_scene'],'engine':this['_engine'],'root':this[_0x5c8bf6(0x229)],'skeleton':this['_skeleton'],'offset':{'x':_0x1ca5a0[_0x5c8bf6(0x1cb)],'y':_0x1ca5a0['top']},'bound':{'top':_0x1ca5a0[_0x5c8bf6(0x210)],'left':_0x1ca5a0[_0x5c8bf6(0x1cb)],'right':_0x1ca5a0[_0x5c8bf6(0x249)],'bottom':_0x1ca5a0[_0x5c8bf6(0x205)]}});}[_0x5c30d7(0x1ed)](){const _0x4aae79=_0x5c30d7;let _0xa8e96e=this[_0x4aae79(0x23c)][_0x4aae79(0x1e8)]()[_0x4aae79(0x1f9)]();this[_0x4aae79(0x1c6)]['makeForceDirty'](),this['_scene'][_0x4aae79(0x1fa)](),_0xa8e96e[_0x4aae79(0x214)](),this[_0x4aae79(0x1a3)]['render'](),_0xa8e96e[_0x4aae79(0x1e6)]();}};function m(_0x4f79d3,_0x107881){return function(_0x6a84e9,_0x1480c2){_0x107881(_0x6a84e9,_0x1480c2,_0x4f79d3);};}function _0x4cb2(_0x21039,_0x4c1179){_0x21039=_0x21039-0x1a3;const _0x2a7319=_0x2a73();let _0x4cb28a=_0x2a7319[_0x21039];return _0x4cb28a;}function h(_0x4f3a38,_0x5ded9a,_0x172e9b,_0xc0624){const _0xa6b4ea=_0x5c30d7;var _0x327b8c=arguments[_0xa6b4ea(0x23d)],_0x46b39e=_0x327b8c<0x3?_0x5ded9a:_0xc0624===null?_0xc0624=Object[_0xa6b4ea(0x246)](_0x5ded9a,_0x172e9b):_0xc0624,_0x1c9249;if(typeof Reflect==_0xa6b4ea(0x1b5)&&typeof Reflect[_0xa6b4ea(0x24d)]==_0xa6b4ea(0x22b))_0x46b39e=Reflect['decorate'](_0x4f3a38,_0x5ded9a,_0x172e9b,_0xc0624);else{for(var _0x27743f=_0x4f3a38[_0xa6b4ea(0x23d)]-0x1;_0x27743f>=0x0;_0x27743f--)(_0x1c9249=_0x4f3a38[_0x27743f])&&(_0x46b39e=(_0x327b8c<0x3?_0x1c9249(_0x46b39e):_0x327b8c>0x3?_0x1c9249(_0x5ded9a,_0x172e9b,_0x46b39e):_0x1c9249(_0x5ded9a,_0x172e9b))||_0x46b39e);}return _0x327b8c>0x3&&_0x46b39e&&Object[_0xa6b4ea(0x1a7)](_0x5ded9a,_0x172e9b,_0x46b39e),_0x46b39e;}const g=Number[_0x5c30d7(0x1a9)](0x6a3fb83b),_=(_0x76dbbe,_0x2a3bc4,_0x11d0a3)=>{const _0x7d9762=_0x5c30d7;let _0x25a3e9={'page':_0x76dbbe,'isPro':!0x1,'timeValid':!0x1};if(!_0x2a3bc4||!_0x11d0a3)return _0x25a3e9;let _0x8bc77a=(0x0,r[_0x7d9762(0x1d6)])(_0x2a3bc4,_0x11d0a3);if(_0x8bc77a[_0x7d9762(0x250)]){let _0x417d2b=_0x8bc77a[_0x7d9762(0x21b)],_0x4dd455=(0x0,r[_0x7d9762(0x22d)])(_0x417d2b,'df',g);_0x25a3e9['isPro']=_0x4dd455,_0x25a3e9[_0x7d9762(0x1f3)]=_0x4dd455,_0x25a3e9['page']=(0x0,r[_0x7d9762(0x221)])(_0x417d2b,_0x4dd455,_0x7d9762(0x1e4),_0x76dbbe,_0x76dbbe,0x0);}return _0x25a3e9;};let v=class extends e['Disposable']{constructor(_0x48de8c,_0xe60a00,_0x3e6c97,_0x538275){const _0x417219=_0x5c30d7;super(),this[_0x417219(0x1b6)]=_0x48de8c,this[_0x417219(0x1c0)]=_0xe60a00,this['_injector']=_0x3e6c97,this[_0x417219(0x24f)]=_0x538275;}[_0x5c30d7(0x1c4)](_0x41bce2){const _0xbeca23=_0x5c30d7;var _0x281dd8,_0x3b19a5;let {ls:_0x525d6e,pbk:_0x136943}=(_0x281dd8=this['_configService'][_0xbeca23(0x243)](r[_0xbeca23(0x223)]))==null?{}:_0x281dd8,_0x2f3e6d=(0x0,r[_0xbeca23(0x1b1)])()?0x1/0x0:_(0x1,_0x525d6e,_0x136943)[_0xbeca23(0x1a5)];if(!this[_0xbeca23(0x1b6)][_0xbeca23(0x1ee)](_0x41bce2,e[_0xbeca23(0x1ea)][_0xbeca23(0x228)]))throw Error(_0xbeca23(0x1d0));let _0x4cbf01=this['_renderManagerService'][_0xbeca23(0x213)](_0x41bce2);if(!_0x4cbf01)throw Error(_0xbeca23(0x1ba));let _0x25e0b7=(_0x3b19a5=_0x4cbf01['with'](a['DocSkeletonManagerService'])[_0xbeca23(0x1ce)]()[_0xbeca23(0x1df)]())==null?void 0x0:_0x3b19a5[_0xbeca23(0x1e9)];if(!_0x25e0b7)throw Error(_0xbeca23(0x24e));let _0x419147={'width':_0x25e0b7[0x0]['pageWidth'],'height':_0x25e0b7[0x0][_0xbeca23(0x1ad)]},_0xf981dc=_0x25e0b7[_0xbeca23(0x23d)],_0x23aae1=Math[_0xbeca23(0x1f2)](_0x2f3e6d,_0xf981dc),_0x100b81=_0x4cbf01['mainComponent'][_0xbeca23(0x1de)](),_0x3859ef=document[_0xbeca23(0x1d9)](_0xbeca23(0x220));_0x3859ef[_0xbeca23(0x235)]=i['PRINT_CONTAINER_CLASS'];let _0x45c0f4=Array(_0x23aae1)['fill'](null)['map']((_0x56cae5,_0x1cc8d2)=>{const _0x2a32e8=_0xbeca23;let _0x3e03b8=new p(this['_injector'],_0x1cc8d2,_0x41bce2,_0x100b81);return _0x3e03b8[_0x2a32e8(0x1cc)][_0x2a32e8(0x235)]=i[_0x2a32e8(0x218)],_0x3e03b8;});_0x45c0f4[_0xbeca23(0x211)](_0x25de2b=>{const _0x197deb=_0xbeca23;_0x3859ef[_0x197deb(0x222)](_0x25de2b[_0x197deb(0x1cc)]),_0x25de2b[_0x197deb(0x1cc)]['appendChild'](_0x25de2b[_0x197deb(0x1b7)]),_0x25de2b['prepare']();});let _0x2aa14f=(0x0,i['createPrintStyle'])(_0x419147[_0xbeca23(0x212)],_0x419147[_0xbeca23(0x217)],i['PrintDirection'][_0xbeca23(0x23e)]);return document[_0xbeca23(0x22e)][_0xbeca23(0x222)](_0x2aa14f),document['body'][_0xbeca23(0x222)](_0x3859ef),new Promise(_0x2bc805=>{setTimeout(()=>{const _0x1e4c87=_0x4cb2;window[_0x1e4c87(0x1cd)]=()=>{const _0x3298a9=_0x1e4c87;_0x45c0f4[_0x3298a9(0x211)](_0x129b1d=>{const _0x3c1c7f=_0x3298a9;_0x129b1d[_0x3c1c7f(0x1ed)]();});},window[_0x1e4c87(0x230)]=()=>{const _0x4e45a5=_0x1e4c87;_0x45c0f4[_0x4e45a5(0x211)](_0x2e05bf=>{const _0x839fd2=_0x4e45a5;_0x2e05bf[_0x839fd2(0x1fd)]();}),document[_0x4e45a5(0x22e)][_0x4e45a5(0x254)](_0x3859ef),document[_0x4e45a5(0x22e)]['removeChild'](_0x2aa14f),_0x2bc805(!0x0);},window[_0x1e4c87(0x1c4)]();},0x64);});}};v=h([m(0x0,e[_0x5c30d7(0x21a)]),m(0x1,n['IRenderManagerService']),m(0x2,(0x0,e[_0x5c30d7(0x21f)])(e[_0x5c30d7(0x21c)])),m(0x3,e[_0x5c30d7(0x1c9)])],v);const y={'id':_0x5c30d7(0x1f1),'type':e[_0x5c30d7(0x216)]['OPERATION'],'handler':async _0x102231=>{const _0x3da6f6=_0x5c30d7;let _0x5922ca=_0x102231[_0x3da6f6(0x227)](e['IUniverInstanceService']),_0x17a0bb=_0x102231[_0x3da6f6(0x227)](v),_0x460759=_0x102231[_0x3da6f6(0x227)](n['IRenderManagerService']),_0x3947cc=_0x102231[_0x3da6f6(0x227)](e['ICommandService']),_0x1b4875=_0x5922ca['getCurrentUnitOfType'](e[_0x3da6f6(0x1ea)][_0x3da6f6(0x228)]);if(!_0x1b4875)return!0x1;if(!_0x460759[_0x3da6f6(0x213)](_0x1b4875[_0x3da6f6(0x1dd)]()))throw Error(_0x3da6f6(0x1ba));let _0x5cdeca=_0x1b4875[_0x3da6f6(0x1c3)]()['documentFlavor'];return _0x5cdeca!==e[_0x3da6f6(0x20f)][_0x3da6f6(0x256)]&&_0x3947cc[_0x3da6f6(0x1b8)](t[_0x3da6f6(0x253)]['id']),await _0x17a0bb['print'](_0x1b4875['getUnitId']()),_0x5cdeca!==e[_0x3da6f6(0x20f)][_0x3da6f6(0x256)]&&_0x3947cc[_0x3da6f6(0x1b8)](t[_0x3da6f6(0x253)]['id']),!0x0;}},b=_0x5c30d7(0x203),x={};var S=_0x5c30d7(0x1e2),C=_0x5c30d7(0x257);let w=class extends e[_0x5c30d7(0x1b0)]{constructor(_0x2d2dcb){const _0x1ba992=_0x5c30d7;super(),this[_0x1ba992(0x23a)]=_0x2d2dcb,this[_0x1ba992(0x24b)]();}[_0x5c30d7(0x24b)](){const _0x1ebc77=_0x5c30d7;this['disposeWithMe'](this[_0x1ebc77(0x23a)][_0x1ebc77(0x1c2)]({'PrintIcon':s['PrintIcon']}));}};w=h([m(0x0,(0x0,e[_0x5c30d7(0x21f)])(c[_0x5c30d7(0x252)]))],w);function T(_0x3fe7dd){const _0x5715ee=_0x5c30d7;return{'id':y['id'],'type':c['MenuItemType']['BUTTON'],'title':_0x5715ee(0x1fb),'icon':_0x5715ee(0x259),'tooltip':_0x5715ee(0x1fb),'hidden$':(0x0,c[_0x5715ee(0x237)])(_0x3fe7dd,e[_0x5715ee(0x1ea)][_0x5715ee(0x228)])};}const E={[c[_0x5c30d7(0x219)][_0x5c30d7(0x1db)]]:{[y['id']]:{'order':0.1,'menuItemFactory':T}}};let D=class extends e[_0x5c30d7(0x1b0)]{constructor(_0x52f0b6,_0x5163c8){const _0x63be01=_0x5c30d7;super(),this[_0x63be01(0x24a)]=_0x52f0b6,this[_0x63be01(0x1b4)]=_0x5163c8,this[_0x63be01(0x1e5)](),this['_initCommands']();}[_0x5c30d7(0x1e5)](){const _0x1d9258=_0x5c30d7;this[_0x1d9258(0x1b4)][_0x1d9258(0x1e0)](E);}[_0x5c30d7(0x258)](){const _0x225c00=_0x5c30d7;this[_0x225c00(0x238)](this[_0x225c00(0x24a)][_0x225c00(0x247)](y));}};D=h([m(0x0,e[_0x5c30d7(0x1d4)]),m(0x1,c[_0x5c30d7(0x1bf)])],D);let O=class extends e[_0x5c30d7(0x1ae)]{constructor(_0x20b6f1=x,_0x3f59a2,_0x106067){const _0x320bf8=_0x5c30d7;super(),this[_0x320bf8(0x204)]=_0x20b6f1,this['_injector']=_0x3f59a2,this[_0x320bf8(0x24f)]=_0x106067;let {menu:_0xf2b612,..._0x3d918f}=(0x0,e[_0x320bf8(0x1a6)])({},x,this['_config']);_0xf2b612&&this[_0x320bf8(0x24f)][_0x320bf8(0x1d3)](_0x320bf8(0x1d2),_0xf2b612,{'merge':!0x0}),this[_0x320bf8(0x24f)]['setConfig'](b,_0x3d918f);}[_0x5c30d7(0x1fc)](){const _0x562740=_0x5c30d7;this['_injector']['add']([w]),this[_0x562740(0x248)]['get'](w),(0x0,e[_0x562740(0x1e1)])(this[_0x562740(0x248)],[[v],[D]]);}[_0x5c30d7(0x232)](){const _0x4194f8=_0x5c30d7;this[_0x4194f8(0x248)]['get'](D);}};f(O,_0x5c30d7(0x20d),_0x5c30d7(0x203)),f(O,_0x5c30d7(0x22f),S),f(O,'version',C),f(O,_0x5c30d7(0x21d),e[_0x5c30d7(0x1ea)][_0x5c30d7(0x228)]),O=h([(0x0,e[_0x5c30d7(0x255)])(o[_0x5c30d7(0x236)],r[_0x5c30d7(0x1be)]),m(0x1,(0x0,e[_0x5c30d7(0x21f)])(e[_0x5c30d7(0x21c)])),m(0x2,e[_0x5c30d7(0x1c9)])],O),exports[_0x5c30d7(0x20b)]=b,exports[_0x5c30d7(0x245)]=y,Object[_0x5c30d7(0x1a7)](exports,_0x5c30d7(0x1f0),{'enumerable':!0x0,'get':function(){return O;}});function _0x2a73(){const _0x5c32e8=['_key','2994lSOXgt','absolute','UniverLicensePlugin','IMenuManagerService','_renderManagerService','Engine','register','getDocumentStyle','print','_paperSize','_documents','DocSkeletonManagerService','0px','IConfigService','VIEWPORT_KEY','left','container','onbeforeprint','getSkeleton','prototype','DocumentDataModel\x20is\x20not\x20found','VIEW_MAIN','menu','setConfig','ICommandService','default','getLicenseInfo','_unitId','Printing','createElement','constructor','OTHERS','100%','getUnitId','getOffsetConfig','getSkeletonData','mergeMenu','registerDependencies','@univerjs-pro/docs-print','595611xfwwKC','mpn','_initMenus','restore','2262IAIbqr','getCanvas','pages','UniverInstanceType','_currentRender','iterator','render','getUnit','_skeletonData','UniverDocsPrintPlugin','docs.operation.print','min','timeValid','interceptor','addObject','10DfAkOL','_page','226484VkWoal','getContext','makeDirty','docs-print.menu','onStarting','dispose','Documents','DocPrintInterceptorService','1940WuiCDU','_calculateLayout','_skeleton','UNIVER_DOCS_PRINT','_config','bottom','PRINTING_DOM_COLLECT','fetchThroughInterceptors','generateRandomId','Skeleton\x20data\x20is\x20not\x20found','call','DOCS_PRINT_PLUGIN_CONFIG_KEY','toStringTag','pluginName','_addComponent','DocumentFlavor','top','forEach','width','getRenderById','save','445576euTdel','CommandType','height','PRINT_CANVAS_CLASS','RibbonStartGroup','IUniverInstanceService','message','Injector','type','__DocPrintRender__','Inject','div','getDocFeatureLimit','appendChild','LS_CONFIG_KEY','position','Module','_addViewport','get','UNIVER_DOC','_root','_offsetConfig','function','_initRenderer','isFeatureAuthorizedWithinTime','body','packageName','onafterprint','CanvasRenderMode','onReady','7dCRUEP','_effects','className','UniverNetworkPlugin','getMenuHiddenObservable','disposeWithMe','2172AQxkLu','_iconManager','getInterceptPoints','_engine','length','Portrait','_container','style','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_viewMain','getConfig','IRenderManagerService','DocPrintOperation','getOwnPropertyDescriptor','registerCommand','_injector','right','_commandService','_registerIcons','831lKkxEn','decorate','Pages\x20are\x20not\x20found','_configService','valid','with','IconManager','SwitchDocModeCommand','removeChild','DependentOn','TRADITIONAL','1.0.0-alpha.1','_initCommands','PrintIcon','264349yXlcQI','_scene','setContainer','page','merge','defineProperty','setId','parseInt','29777szJCDS','toPrimitive','scale','pageHeight','Plugin','DisposableCollection','Disposable','isLocalCheck','PRINTING_COMPONENT_COLLECT','string','_menuManagerService','object','_univerInstanceService','root','syncExecuteCommand','symbol','Render\x20is\x20not\x20found'];_0x2a73=function(){return _0x5c32e8;};return _0x2a73();}
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2cc191=_0x2972;(function(_0x385dff,_0x461ab9){const _0x4b5225=_0x2972,_0x4e0bcd=_0x385dff();while(!![]){try{const _0x1668c6=parseInt(_0x4b5225(0x8a))/0x1+-parseInt(_0x4b5225(0x88))/0x2+-parseInt(_0x4b5225(0x85))/0x3+parseInt(_0x4b5225(0x82))/0x4+parseInt(_0x4b5225(0x86))/0x5*(-parseInt(_0x4b5225(0x83))/0x6)+-parseInt(_0x4b5225(0x89))/0x7*(-parseInt(_0x4b5225(0x87))/0x8)+parseInt(_0x4b5225(0x7f))/0x9*(parseInt(_0x4b5225(0x80))/0xa);if(_0x1668c6===_0x461ab9)break;else _0x4e0bcd['push'](_0x4e0bcd['shift']());}catch(_0x1f0b95){_0x4e0bcd['push'](_0x4e0bcd['shift']());}}}(_0x4b12,0xb6acf));function _0x4b12(){const _0x14b2ac=['طباعة','1804248dZdobP','1267734knKrXZ','exports','677754VOOHPv','35GSJwzP','8DAnjgV','645196ZsuhGv','2796283cSgYSz','842850jXxMwR','17001THHuaA','5730xGJvZN'];_0x4b12=function(){return _0x14b2ac;};return _0x4b12();}function _0x2972(_0x53dd57,_0xf8d749){_0x53dd57=_0x53dd57-0x7f;const _0x4b12e3=_0x4b12();let _0x29727a=_0x4b12e3[_0x53dd57];return _0x29727a;}const e={'docs-print':{'menu':_0x2cc191(0x81)}};module[_0x2cc191(0x84)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4cdda0=_0x2b3a;function _0x2b3a(_0x66f957,_0x31a6a4){_0x66f957=_0x66f957-0x11f;const _0x1fe79f=_0x1fe7();let _0x2b3ab6=_0x1fe79f[_0x66f957];return _0x2b3ab6;}(function(_0xa2e6af,_0x3537bb){const _0x14a185=_0x2b3a,_0x3ffd9d=_0xa2e6af();while(!![]){try{const _0x20e2e6=parseInt(_0x14a185(0x124))/0x1+-parseInt(_0x14a185(0x11f))/0x2+-parseInt(_0x14a185(0x121))/0x3+parseInt(_0x14a185(0x122))/0x4+-parseInt(_0x14a185(0x123))/0x5+-parseInt(_0x14a185(0x120))/0x6+parseInt(_0x14a185(0x126))/0x7;if(_0x20e2e6===_0x3537bb)break;else _0x3ffd9d['push'](_0x3ffd9d['shift']());}catch(_0x557947){_0x3ffd9d['push'](_0x3ffd9d['shift']());}}}(_0x1fe7,0x3a55d));function _0x1fe7(){const _0x14af5b=['169043axucgn','Imprimir','3366622TmNxHG','379776IvmEoH','2196816ijVyFl','295971oIFVlU','1494092XFrYEO','649450TzNSdr'];_0x1fe7=function(){return _0x14af5b;};return _0x1fe7();}const e={'docs-print':{'menu':_0x4cdda0(0x125)}};module['exports']=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3102(_0xf0c72c,_0x22fca8){_0xf0c72c=_0xf0c72c-0x181;const _0x68791d=_0x6879();let _0x3102d8=_0x68791d[_0xf0c72c];return _0x3102d8;}function _0x6879(){const _0x17c513=['904sELIiU','1082530GUCoYV','9206qluMjc','47529mXCJfH','exports','31339vkiNUT','1210TNouZL','18505068LVoBWA','6yFGxmB','11XbTgaw','9qtvNtr','2421496iPZMYX','716672eJLXnT'];_0x6879=function(){return _0x17c513;};return _0x6879();}const _0x398b82=_0x3102;(function(_0x1fe8a3,_0x169e41){const _0xf109c0=_0x3102,_0x1166e5=_0x1fe8a3();while(!![]){try{const _0x9e4f89=-parseInt(_0xf109c0(0x181))/0x1*(parseInt(_0xf109c0(0x187))/0x2)+parseInt(_0xf109c0(0x182))/0x3*(-parseInt(_0xf109c0(0x184))/0x4)+-parseInt(_0xf109c0(0x186))/0x5*(parseInt(_0xf109c0(0x18d))/0x6)+-parseInt(_0xf109c0(0x18a))/0x7*(-parseInt(_0xf109c0(0x185))/0x8)+-parseInt(_0xf109c0(0x188))/0x9*(parseInt(_0xf109c0(0x18b))/0xa)+-parseInt(_0xf109c0(0x183))/0xb+parseInt(_0xf109c0(0x18c))/0xc;if(_0x9e4f89===_0x169e41)break;else _0x1166e5['push'](_0x1166e5['shift']());}catch(_0x1e6a8d){_0x1166e5['push'](_0x1166e5['shift']());}}}(_0x6879,0x5dcd2));const e={'docs-print':{'menu':'Drucken'}};module[_0x398b82(0x189)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x27d600=_0x51c3;(function(_0x35cd1f,_0x3cd38d){const _0x4500ce=_0x51c3,_0x41ec0a=_0x35cd1f();while(!![]){try{const _0x45640c=-parseInt(_0x4500ce(0xed))/0x1+parseInt(_0x4500ce(0xe8))/0x2+-parseInt(_0x4500ce(0xea))/0x3+parseInt(_0x4500ce(0xe7))/0x4+-parseInt(_0x4500ce(0xe6))/0x5+parseInt(_0x4500ce(0xe9))/0x6+parseInt(_0x4500ce(0xec))/0x7;if(_0x45640c===_0x3cd38d)break;else _0x41ec0a['push'](_0x41ec0a['shift']());}catch(_0x3d7ed7){_0x41ec0a['push'](_0x41ec0a['shift']());}}}(_0x2972,0x8f06a));function _0x2972(){const _0x5536a7=['3381248HVbhdi','274732REBJdc','1435782YTVflL','800328ZihXzs','exports','7461944RleAGi','1023434YVLbIk','Print','2059615iZIFSK'];_0x2972=function(){return _0x5536a7;};return _0x2972();}const e={'docs-print':{'menu':_0x27d600(0xee)}};function _0x51c3(_0x59cefb,_0x213e34){_0x59cefb=_0x59cefb-0xe6;const _0x297261=_0x2972();let _0x51c3ed=_0x297261[_0x59cefb];return _0x51c3ed;}module[_0x27d600(0xeb)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5b994e=_0x579a;(function(_0x5814ea,_0x544be7){const _0x2d8ad7=_0x579a,_0x1b8c64=_0x5814ea();while(!![]){try{const _0x47d28a=parseInt(_0x2d8ad7(0x184))/0x1*(parseInt(_0x2d8ad7(0x180))/0x2)+parseInt(_0x2d8ad7(0x18c))/0x3*(-parseInt(_0x2d8ad7(0x188))/0x4)+-parseInt(_0x2d8ad7(0x18a))/0x5+-parseInt(_0x2d8ad7(0x183))/0x6*(-parseInt(_0x2d8ad7(0x185))/0x7)+parseInt(_0x2d8ad7(0x182))/0x8*(parseInt(_0x2d8ad7(0x18b))/0x9)+-parseInt(_0x2d8ad7(0x187))/0xa*(-parseInt(_0x2d8ad7(0x189))/0xb)+parseInt(_0x2d8ad7(0x18d))/0xc;if(_0x47d28a===_0x544be7)break;else _0x1b8c64['push'](_0x1b8c64['shift']());}catch(_0x116451){_0x1b8c64['push'](_0x1b8c64['shift']());}}}(_0x5530,0x93576));const e={'docs-print':{'menu':_0x5b994e(0x186)}};function _0x579a(_0x1799b7,_0x28a454){_0x1799b7=_0x1799b7-0x180;const _0x553090=_0x5530();let _0x579a29=_0x553090[_0x1799b7];return _0x579a29;}function _0x5530(){const _0x34d3ff=['5838240jKTNlB','148042ljOYrX','exports','104pgUBNs','30kgeLXb','12HbUqRe','854pEARLI','Imprimir','10NTSfTc','251308dQcPao','2461921kdxWJB','2579250uivNpu','450729fVXCdz','54lTQMRW'];_0x5530=function(){return _0x34d3ff;};return _0x5530();}module[_0x5b994e(0x181)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x59b7(){const _0x34f315=['exports','118756PGXtxR','3222yZaWbf','چاپ','154vqrQJH','1215357YPqfVV','215sjoqyV','46700xxqrIn','4076720UzSZtP','823VizdHQ','927024gPIpZD','3502FmJayh','366EmOTZV','121562PKNpbI'];_0x59b7=function(){return _0x34f315;};return _0x59b7();}const _0x4fbd88=_0x5e86;function _0x5e86(_0x27a2de,_0x3f9aab){_0x27a2de=_0x27a2de-0x1ca;const _0x59b776=_0x59b7();let _0x5e867e=_0x59b776[_0x27a2de];return _0x5e867e;}(function(_0x1bb6d9,_0x2af0f0){const _0x4ca4a8=_0x5e86,_0x54fc16=_0x1bb6d9();while(!![]){try{const _0x405f11=parseInt(_0x4ca4a8(0x1d5))/0x1*(parseInt(_0x4ca4a8(0x1d7))/0x2)+parseInt(_0x4ca4a8(0x1d1))/0x3+-parseInt(_0x4ca4a8(0x1cd))/0x4*(-parseInt(_0x4ca4a8(0x1d2))/0x5)+parseInt(_0x4ca4a8(0x1ca))/0x6*(-parseInt(_0x4ca4a8(0x1cb))/0x7)+-parseInt(_0x4ca4a8(0x1d4))/0x8+parseInt(_0x4ca4a8(0x1ce))/0x9*(-parseInt(_0x4ca4a8(0x1d3))/0xa)+-parseInt(_0x4ca4a8(0x1d0))/0xb*(-parseInt(_0x4ca4a8(0x1d6))/0xc);if(_0x405f11===_0x2af0f0)break;else _0x54fc16['push'](_0x54fc16['shift']());}catch(_0x1f9629){_0x54fc16['push'](_0x54fc16['shift']());}}}(_0x59b7,0xeb3f3));const e={'docs-print':{'menu':_0x4fbd88(0x1cf)}};module[_0x4fbd88(0x1cc)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2c2ebd=_0x29db;(function(_0x5e14ca,_0x26750c){const _0x31f55a=_0x29db,_0x24af42=_0x5e14ca();while(!![]){try{const _0x85f683=parseInt(_0x31f55a(0x127))/0x1*(parseInt(_0x31f55a(0x129))/0x2)+parseInt(_0x31f55a(0x12b))/0x3*(parseInt(_0x31f55a(0x12f))/0x4)+-parseInt(_0x31f55a(0x12e))/0x5*(parseInt(_0x31f55a(0x131))/0x6)+parseInt(_0x31f55a(0x12a))/0x7+-parseInt(_0x31f55a(0x124))/0x8+parseInt(_0x31f55a(0x125))/0x9*(parseInt(_0x31f55a(0x12d))/0xa)+-parseInt(_0x31f55a(0x128))/0xb*(parseInt(_0x31f55a(0x126))/0xc);if(_0x85f683===_0x26750c)break;else _0x24af42['push'](_0x24af42['shift']());}catch(_0x1cd5d6){_0x24af42['push'](_0x24af42['shift']());}}}(_0x5399,0xf3a39));const e={'docs-print':{'menu':_0x2c2ebd(0x130)}};function _0x29db(_0x3e7b0d,_0x143dfe){_0x3e7b0d=_0x3e7b0d-0x124;const _0x53993e=_0x5399();let _0x29db9b=_0x53993e[_0x3e7b0d];return _0x29db9b;}module[_0x2c2ebd(0x12c)]=e;function _0x5399(){const _0xc538be=['3983128GPHkco','Imprimer','3402ZzQvjV','15357248FzyHwE','2880099WBukHr','12gfxlsW','20364dClEJK','9944968MkGpOE','16FHzdrs','11089652UYQQJf','3HbDtVE','exports','40WUVqzy','1775tyRRRC'];_0x5399=function(){return _0xc538be;};return _0x5399();}
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xc93da8,_0x77515b){const _0x5be013=_0x2c7f,_0x482a98=_0xc93da8();while(!![]){try{const _0x552b30=-parseInt(_0x5be013(0x168))/0x1*(parseInt(_0x5be013(0x16a))/0x2)+-parseInt(_0x5be013(0x164))/0x3+parseInt(_0x5be013(0x16c))/0x4*(-parseInt(_0x5be013(0x167))/0x5)+-parseInt(_0x5be013(0x165))/0x6+-parseInt(_0x5be013(0x166))/0x7+parseInt(_0x5be013(0x16b))/0x8*(parseInt(_0x5be013(0x169))/0x9)+parseInt(_0x5be013(0x163))/0xa;if(_0x552b30===_0x77515b)break;else _0x482a98['push'](_0x482a98['shift']());}catch(_0x5c668c){_0x482a98['push'](_0x482a98['shift']());}}}(_0xd70f,0x78ba4));const e={'docs-print':{'menu':'Cetak'}};function _0xd70f(){const _0x174807=['378483uZfAaO','5096184ELyMlJ','3353343vRqFsA','75dJmMmG','743957tAPImY','6120747rBGSXA','2JllyHB','8PAuXKL','220204fGUWTz','28387130qWnscy'];_0xd70f=function(){return _0x174807;};return _0xd70f();}function _0x2c7f(_0x69c594,_0x16b36e){_0x69c594=_0x69c594-0x163;const _0xd70f91=_0xd70f();let _0x2c7ff3=_0xd70f91[_0x69c594];return _0x2c7ff3;}module['exports']=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0xc7c459=_0x3393;function _0x65c2(){const _0x171300=['50uyWBBz','253244qFLKjI','Stampa','exports','2547ODMAVZ','33056MDFGCr','7562268fNDgJx','1926yTBbqM','2028609JeROmH','886rBFVUO','21236680mEkgsR','6813485UNVVAO'];_0x65c2=function(){return _0x171300;};return _0x65c2();}(function(_0x292cf4,_0x4695c6){const _0x4d355f=_0x3393,_0x1b4c4a=_0x292cf4();while(!![]){try{const _0x971245=-parseInt(_0x4d355f(0xef))/0x1*(-parseInt(_0x4d355f(0xe8))/0x2)+parseInt(_0x4d355f(0xe7))/0x3+-parseInt(_0x4d355f(0xec))/0x4*(-parseInt(_0x4d355f(0xeb))/0x5)+-parseInt(_0x4d355f(0xf1))/0x6+parseInt(_0x4d355f(0xea))/0x7+parseInt(_0x4d355f(0xf0))/0x8*(parseInt(_0x4d355f(0xf2))/0x9)+-parseInt(_0x4d355f(0xe9))/0xa;if(_0x971245===_0x4695c6)break;else _0x1b4c4a['push'](_0x1b4c4a['shift']());}catch(_0x10c4ba){_0x1b4c4a['push'](_0x1b4c4a['shift']());}}}(_0x65c2,0xde757));const e={'docs-print':{'menu':_0xc7c459(0xed)}};function _0x3393(_0x1b7759,_0x571e69){_0x1b7759=_0x1b7759-0xe7;const _0x65c2c9=_0x65c2();let _0x3393f6=_0x65c2c9[_0x1b7759];return _0x3393f6;}module[_0xc7c459(0xee)]=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5cba61,_0x48825a){const _0x8c9879=_0x4745,_0xcbcf01=_0x5cba61();while(!![]){try{const _0xbf1aa1=-parseInt(_0x8c9879(0xa5))/0x1*(-parseInt(_0x8c9879(0xa4))/0x2)+parseInt(_0x8c9879(0xa6))/0x3*(parseInt(_0x8c9879(0xa2))/0x4)+-parseInt(_0x8c9879(0xab))/0x5*(parseInt(_0x8c9879(0xa0))/0x6)+parseInt(_0x8c9879(0xa1))/0x7*(parseInt(_0x8c9879(0xa7))/0x8)+parseInt(_0x8c9879(0xaa))/0x9*(-parseInt(_0x8c9879(0xa3))/0xa)+parseInt(_0x8c9879(0xa9))/0xb+-parseInt(_0x8c9879(0xa8))/0xc;if(_0xbf1aa1===_0x48825a)break;else _0xcbcf01['push'](_0xcbcf01['shift']());}catch(_0x4882ea){_0xcbcf01['push'](_0xcbcf01['shift']());}}}(_0x23ab,0xa3b8e));const e={'docs-print':{'menu':'印刷'}};function _0x4745(_0x419b9f,_0x5dc9df){_0x419b9f=_0x419b9f-0xa0;const _0x23aba8=_0x23ab();let _0x474563=_0x23aba8[_0x419b9f];return _0x474563;}function _0x23ab(){const _0x5fbffd=['775906mYWYyZ','9mlmbdy','10208392UnqAZw','27798036gWKaOh','4676474adUAeJ','99OsHYIz','15270pDRJXk','1038cqtplY','7kSzRNu','1635356olRyyh','171050Ktinsd','2sGTUcb'];_0x23ab=function(){return _0x5fbffd;};return _0x23ab();}module['exports']=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x549b(_0xff805c,_0x134bd4){_0xff805c=_0xff805c-0x18d;const _0x1e308b=_0x1e30();let _0x549b06=_0x1e308b[_0xff805c];return _0x549b06;}const _0x2a27d0=_0x549b;(function(_0x33b836,_0x3a4eac){const _0x4fde31=_0x549b,_0x18cf52=_0x33b836();while(!![]){try{const _0x2d5266=parseInt(_0x4fde31(0x196))/0x1*(-parseInt(_0x4fde31(0x18e))/0x2)+parseInt(_0x4fde31(0x194))/0x3*(-parseInt(_0x4fde31(0x199))/0x4)+parseInt(_0x4fde31(0x18f))/0x5+-parseInt(_0x4fde31(0x192))/0x6*(-parseInt(_0x4fde31(0x198))/0x7)+parseInt(_0x4fde31(0x191))/0x8+parseInt(_0x4fde31(0x195))/0x9*(-parseInt(_0x4fde31(0x18d))/0xa)+-parseInt(_0x4fde31(0x190))/0xb*(-parseInt(_0x4fde31(0x197))/0xc);if(_0x2d5266===_0x3a4eac)break;else _0x18cf52['push'](_0x18cf52['shift']());}catch(_0x47a0e0){_0x18cf52['push'](_0x18cf52['shift']());}}}(_0x1e30,0xbb2c6));const e={'docs-print':{'menu':'인쇄'}};module[_0x2a27d0(0x193)]=e;function _0x1e30(){const _0x30a3fc=['1097544grQhik','222vqkWPD','exports','9gbVInD','36XYVssI','43vmaDKq','2022888UFAVxE','29533ODqMCs','1583532VPcbaD','1928110VwbjwK','18694SgpXNZ','684980sflCEU','176CuvNVO'];_0x1e30=function(){return _0x30a3fc;};return _0x1e30();}
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1b27fc,_0x480b95){const _0x10c93b=_0x2f35,_0x4b2041=_0x1b27fc();while(!![]){try{const _0x2f013e=-parseInt(_0x10c93b(0x15a))/0x1+-parseInt(_0x10c93b(0x158))/0x2+parseInt(_0x10c93b(0x159))/0x3*(-parseInt(_0x10c93b(0x15b))/0x4)+parseInt(_0x10c93b(0x15f))/0x5*(-parseInt(_0x10c93b(0x15e))/0x6)+parseInt(_0x10c93b(0x155))/0x7*(parseInt(_0x10c93b(0x15c))/0x8)+parseInt(_0x10c93b(0x15d))/0x9+-parseInt(_0x10c93b(0x157))/0xa*(-parseInt(_0x10c93b(0x156))/0xb);if(_0x2f013e===_0x480b95)break;else _0x4b2041['push'](_0x4b2041['shift']());}catch(_0xcb4a41){_0x4b2041['push'](_0x4b2041['shift']());}}}(_0x12b7,0x4430d));function _0x2f35(_0xe4a2ad,_0x52f724){_0xe4a2ad=_0xe4a2ad-0x155;const _0x12b74e=_0x12b7();let _0x2f359c=_0x12b74e[_0xe4a2ad];return _0x2f359c;}function _0x12b7(){const _0x58f345=['342jMCNBg','33765CIUTLc','2753121pHpcuz','11jZzzRJ','8803990uAZddG','518986YwPsBE','9GhhZmZ','225136wDAjYj','660988yhLSXo','8hUvJKg','3338082cnqkkD'];_0x12b7=function(){return _0x58f345;};return _0x12b7();}const e={'docs-print':{'menu':'Drukuj'}};module['exports']=e;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xfb0e0f=_0x243e;(function(_0xbb169,_0x49f947){const _0x585c8d=_0x243e,_0x56b3b4=_0xbb169();while(!![]){try{const _0x35f404=parseInt(_0x585c8d(0x143))/0x1+parseInt(_0x585c8d(0x145))/0x2*(-parseInt(_0x585c8d(0x147))/0x3)+-parseInt(_0x585c8d(0x146))/0x4+parseInt(_0x585c8d(0x13f))/0x5*(parseInt(_0x585c8d(0x142))/0x6)+-parseInt(_0x585c8d(0x148))/0x7+-parseInt(_0x585c8d(0x13e))/0x8*(-parseInt(_0x585c8d(0x149))/0x9)+parseInt(_0x585c8d(0x141))/0xa*(parseInt(_0x585c8d(0x144))/0xb);if(_0x35f404===_0x49f947)break;else _0x56b3b4['push'](_0x56b3b4['shift']());}catch(_0xf7f742){_0x56b3b4['push'](_0x56b3b4['shift']());}}}(_0x22a8,0x42d3b));function _0x22a8(){const _0x52b4c5=['1499001GpBYcl','153dStiHG','exports','145888oyZXjk','72595VCMVmQ','Imprimir','50Cgspnk','18EisYnZ','227930OcSEpN','1174261ayjYZJ','3902awZdwg','1081420FYGGcc','549yexdYj'];_0x22a8=function(){return _0x52b4c5;};return _0x22a8();}const e={'docs-print':{'menu':_0xfb0e0f(0x140)}};function _0x243e(_0x51acc2,_0x2e477a){_0x51acc2=_0x51acc2-0x13e;const _0x22a845=_0x22a8();let _0x243edd=_0x22a845[_0x51acc2];return _0x243edd;}module[_0xfb0e0f(0x14a)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xbb4b5a=_0x36aa;(function(_0x472e01,_0x23574f){const _0x2d2371=_0x36aa,_0xe8c403=_0x472e01();while(!![]){try{const _0x42450d=parseInt(_0x2d2371(0xca))/0x1+parseInt(_0x2d2371(0xc6))/0x2*(-parseInt(_0x2d2371(0xcf))/0x3)+-parseInt(_0x2d2371(0xd1))/0x4+parseInt(_0x2d2371(0xc9))/0x5*(-parseInt(_0x2d2371(0xcc))/0x6)+-parseInt(_0x2d2371(0xce))/0x7*(parseInt(_0x2d2371(0xcd))/0x8)+parseInt(_0x2d2371(0xcb))/0x9*(-parseInt(_0x2d2371(0xc7))/0xa)+-parseInt(_0x2d2371(0xd2))/0xb*(-parseInt(_0x2d2371(0xc8))/0xc);if(_0x42450d===_0x23574f)break;else _0xe8c403['push'](_0xe8c403['shift']());}catch(_0x461d8e){_0xe8c403['push'](_0xe8c403['shift']());}}}(_0xf6de,0x4e2e4));function _0x36aa(_0x542bee,_0x5088f5){_0x542bee=_0x542bee-0xc6;const _0xf6de82=_0xf6de();let _0x36aaf0=_0xf6de82[_0x542bee];return _0x36aaf0;}const e={'docs-print':{'menu':'Печать'}};function _0xf6de(){const _0x15b6f9=['1573490xVTMUf','9032328jNsoBc','55XnfJYx','171735ZwCEDf','9phljFm','82986tpjbxo','1184zCzyQR','28497tUrPDl','1077QEQKHO','exports','218656cugLZc','22slOCEK','2174uFAcwc'];_0xf6de=function(){return _0x15b6f9;};return _0xf6de();}module[_0xbb4b5a(0xd0)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x536a0e=_0x336e;(function(_0xe300cd,_0x7a0fb0){const _0x211c7c=_0x336e,_0x34f4e5=_0xe300cd();while(!![]){try{const _0x1999db=parseInt(_0x211c7c(0x1cf))/0x1*(parseInt(_0x211c7c(0x1c5))/0x2)+parseInt(_0x211c7c(0x1cd))/0x3*(-parseInt(_0x211c7c(0x1c7))/0x4)+parseInt(_0x211c7c(0x1c6))/0x5+parseInt(_0x211c7c(0x1d0))/0x6*(-parseInt(_0x211c7c(0x1c8))/0x7)+-parseInt(_0x211c7c(0x1ce))/0x8+parseInt(_0x211c7c(0x1cb))/0x9+-parseInt(_0x211c7c(0x1ca))/0xa*(-parseInt(_0x211c7c(0x1cc))/0xb);if(_0x1999db===_0x7a0fb0)break;else _0x34f4e5['push'](_0x34f4e5['shift']());}catch(_0x59ccd0){_0x34f4e5['push'](_0x34f4e5['shift']());}}}(_0x1753,0xb0876));function _0x1753(){const _0x544de5=['598564jzydXX','63077YujUYo','exports','20UgIeaA','3865257aeFoie','472879kHMcGi','15GqRgkA','318328GAfPaj','21NskUuS','282EibPNh','37218etUrTd','5141675fwHnFv'];_0x1753=function(){return _0x544de5;};return _0x1753();}const e={'docs-print':{'menu':'Tlač'}};function _0x336e(_0x46e550,_0x4b5cf4){_0x46e550=_0x46e550-0x1c5;const _0x1753d0=_0x1753();let _0x336e4a=_0x1753d0[_0x46e550];return _0x336e4a;}module[_0x536a0e(0x1c9)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1e6d(_0x48e66a,_0x1c1982){_0x48e66a=_0x48e66a-0x96;const _0x598ae4=_0x598a();let _0x1e6d62=_0x598ae4[_0x48e66a];return _0x1e6d62;}function _0x598a(){const _0x59de7d=['813623GXyNht','10kQUJav','6197640kcchLQ','194853UfDSER','1325bOISQo','2KschzM','2074702UBLkUd','1590KLThwf','771892TtHJGb','2788848RBjdMV','4Acjzmu'];_0x598a=function(){return _0x59de7d;};return _0x598a();}(function(_0x58e6b5,_0x33857f){const _0x436788=_0x1e6d,_0x2f27b3=_0x58e6b5();while(!![]){try{const _0x5c699c=-parseInt(_0x436788(0x9b))/0x1*(-parseInt(_0x436788(0xa0))/0x2)+-parseInt(_0x436788(0x9e))/0x3*(parseInt(_0x436788(0x9a))/0x4)+parseInt(_0x436788(0x9f))/0x5*(-parseInt(_0x436788(0x97))/0x6)+parseInt(_0x436788(0x96))/0x7+-parseInt(_0x436788(0x9d))/0x8+-parseInt(_0x436788(0x99))/0x9*(-parseInt(_0x436788(0x9c))/0xa)+-parseInt(_0x436788(0x98))/0xb;if(_0x5c699c===_0x33857f)break;else _0x2f27b3['push'](_0x2f27b3['shift']());}catch(_0x254e58){_0x2f27b3['push'](_0x2f27b3['shift']());}}}(_0x598a,0x6b614));const e={'docs-print':{'menu':'In'}};module['exports']=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2eab(){const _0x1e0355=['9060UoccwF','14524lqCWuD','2172545vfKHRx','2036741ndjRet','23937KKSozf','9CVqaoJ','4547930pVGuqq','8yqyOZf','162ONvRkw','8338HCRmyF','exports','2eggPDC','1191480Wssxaw'];_0x2eab=function(){return _0x1e0355;};return _0x2eab();}const _0x5beb8c=_0x33ab;function _0x33ab(_0x3e5425,_0x5586f1){_0x3e5425=_0x3e5425-0x195;const _0x2eabf2=_0x2eab();let _0x33ab1f=_0x2eabf2[_0x3e5425];return _0x33ab1f;}(function(_0x5cfbd6,_0x2b8a84){const _0x3f2e0e=_0x33ab,_0x347230=_0x5cfbd6();while(!![]){try{const _0x41f94a=parseInt(_0x3f2e0e(0x19a))/0x1*(parseInt(_0x3f2e0e(0x1a1))/0x2)+parseInt(_0x3f2e0e(0x19e))/0x3*(-parseInt(_0x3f2e0e(0x197))/0x4)+parseInt(_0x3f2e0e(0x198))/0x5+parseInt(_0x3f2e0e(0x195))/0x6+parseInt(_0x3f2e0e(0x199))/0x7*(-parseInt(_0x3f2e0e(0x19d))/0x8)+parseInt(_0x3f2e0e(0x19b))/0x9*(-parseInt(_0x3f2e0e(0x19c))/0xa)+parseInt(_0x3f2e0e(0x19f))/0xb*(parseInt(_0x3f2e0e(0x196))/0xc);if(_0x41f94a===_0x2b8a84)break;else _0x347230['push'](_0x347230['shift']());}catch(_0xe3e4e){_0x347230['push'](_0x347230['shift']());}}}(_0x2eab,0x462fe));const e={'docs-print':{'menu':'打印'}};module[_0x5beb8c(0x1a0)]=e;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x32ab3d=_0x5bac;(function(_0xac762,_0x1e54d8){const _0xb79356=_0x5bac,_0xff955d=_0xac762();while(!![]){try{const _0x4f3ed2=-parseInt(_0xb79356(0x6c))/0x1+-parseInt(_0xb79356(0x73))/0x2*(-parseInt(_0xb79356(0x6d))/0x3)+parseInt(_0xb79356(0x6a))/0x4+parseInt(_0xb79356(0x71))/0x5*(parseInt(_0xb79356(0x72))/0x6)+-parseInt(_0xb79356(0x70))/0x7+parseInt(_0xb79356(0x6b))/0x8+parseInt(_0xb79356(0x6f))/0x9;if(_0x4f3ed2===_0x1e54d8)break;else _0xff955d['push'](_0xff955d['shift']());}catch(_0x42d8db){_0xff955d['push'](_0xff955d['shift']());}}}(_0x4f88,0x80cc5));const e={'docs-print':{'menu':'列印'}};function _0x4f88(){const _0x10e38f=['3AjVPjO','exports','1464786EJwltK','6006966nfVLXw','72655LjvunX','126jRPVkm','1265642QCsGSa','1045008kPGIqe','498616yKdAbQ','38610VaNnkx'];_0x4f88=function(){return _0x10e38f;};return _0x4f88();}function _0x5bac(_0x47ad4f,_0x30c426){_0x47ad4f=_0x47ad4f-0x6a;const _0x4f88c9=_0x4f88();let _0x5bac78=_0x4f88c9[_0x47ad4f];return _0x5bac78;}module[_0x32ab3d(0x6e)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x10d2fc,_0x3ce793){const _0x5a2b0c=_0x55ec,_0x1b2da0=_0x10d2fc();while(!![]){try{const _0x24bd8e=parseInt(_0x5a2b0c(0x188))/0x1*(parseInt(_0x5a2b0c(0x18d))/0x2)+parseInt(_0x5a2b0c(0x18f))/0x3+parseInt(_0x5a2b0c(0x18c))/0x4+-parseInt(_0x5a2b0c(0x18e))/0x5*(parseInt(_0x5a2b0c(0x186))/0x6)+-parseInt(_0x5a2b0c(0x18a))/0x7*(-parseInt(_0x5a2b0c(0x189))/0x8)+-parseInt(_0x5a2b0c(0x187))/0x9+-parseInt(_0x5a2b0c(0x18b))/0xa*(parseInt(_0x5a2b0c(0x190))/0xb);if(_0x24bd8e===_0x3ce793)break;else _0x1b2da0['push'](_0x1b2da0['shift']());}catch(_0x17bfdd){_0x1b2da0['push'](_0x1b2da0['shift']());}}}(_0xddd0,0xb16f2));function _0x55ec(_0x1ce52e,_0x51dbc1){_0x1ce52e=_0x1ce52e-0x186;const _0xddd034=_0xddd0();let _0x55ecfd=_0xddd034[_0x1ce52e];return _0x55ecfd;}function _0xddd0(){const _0xcfe036=['72ZbENaL','984396LEydMg','14810RUfzmD','3405116DPilzJ','1659820GmSOKX','835ZHsYpc','2107968PyoutZ','5797sHHsmD','30090aFvogv','11742615DSPWfH','1vVGtVF'];_0xddd0=function(){return _0xcfe036;};return _0xddd0();}const e={'docs-print':{'menu':'列印'}};module['exports']=e;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x58665d=_0x38cc;(function(_0x583e6c,_0x279c40){const _0x32e55d=_0x38cc,_0x28b5a1=_0x583e6c();while(!![]){try{const _0x3f1bbc=parseInt(_0x32e55d(0xf4))/0x1+-parseInt(_0x32e55d(0xfb))/0x2*(parseInt(_0x32e55d(0xcf))/0x3)+parseInt(_0x32e55d(0xef))/0x4+-parseInt(_0x32e55d(0xde))/0x5*(-parseInt(_0x32e55d(0x104))/0x6)+-parseInt(_0x32e55d(0xc2))/0x7+parseInt(_0x32e55d(0x114))/0x8*(parseInt(_0x32e55d(0x11b))/0x9)+-parseInt(_0x32e55d(0xf3))/0xa;if(_0x3f1bbc===_0x279c40)break;else _0x28b5a1['push'](_0x28b5a1['shift']());}catch(_0x45f87c){_0x28b5a1['push'](_0x28b5a1['shift']());}}}(_0xc1d0,0x4a256));import{CommandType as _0x547361,DependentOn as _0x23edf8,Disposable as _0x2b074d,DisposableCollection as _0x16d581,DocumentFlavor as _0x29fc79,ICommandService as _0x2f825d,IConfigService as _0x51e27a,IUniverInstanceService as _0x2ee2e7,Inject as _0x5b28a6,Injector as _0x534b06,Plugin as _0x150077,UniverInstanceType as _0x2c5f7c,generateRandomId as _0x5672ff,merge as _0x4b908d,registerDependencies as _0x12c360}from'@univerjs/core';import{DocPrintInterceptorService as _0x1546ce,SwitchDocModeCommand as _0x13849b,VIEWPORT_KEY as _0x18656d}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x3f90b1,Documents as _0x5bc9bd,Engine as _0x48e499,IRenderManagerService as _0x57ff0e,Scene as _0x462ff1,Viewport as _0x5f0399}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0xd393c8,UniverLicensePlugin as _0x2a1585,getDocFeatureLimit as _0x18ef66,getLicenseInfo as _0x9b58f,isFeatureAuthorizedWithinTime as _0x463f32,isLocalCheck as _0x2a14d3}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0xc3e3ef,PRINT_CONTAINER_CLASS as _0x3ac422,PrintDirection as _0x470b1b,createPrintStyle as _0x439a2d}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x2baedc}from'@univerjs/docs';import{UniverNetworkPlugin as _0x290c3a}from'@univerjs/network';import{PrintIcon as _0x43d5b8}from'@univerjs/icons';import{IMenuManagerService as _0x24e87b,IconManager as _0x261b98,MenuItemType as _0x1542db,RibbonStartGroup as _0x224315,getMenuHiddenObservable as _0x56c637}from'@univerjs/ui';function R(_0x686426){'@babel/helpers - typeof';const _0x1ccc89=_0x38cc;return R=typeof Symbol==_0x1ccc89(0xc6)&&typeof Symbol[_0x1ccc89(0xf1)]==_0x1ccc89(0x111)?function(_0x36665d){return typeof _0x36665d;}:function(_0x23865){const _0x1c3c91=_0x1ccc89;return _0x23865&&typeof Symbol==_0x1c3c91(0xc6)&&_0x23865[_0x1c3c91(0xd8)]===Symbol&&_0x23865!==Symbol[_0x1c3c91(0xad)]?_0x1c3c91(0x111):typeof _0x23865;},R(_0x686426);}function z(_0x34ee52,_0x1d8518){const _0x2e1691=_0x38cc;if(R(_0x34ee52)!=_0x2e1691(0xa5)||!_0x34ee52)return _0x34ee52;var _0x3c72dd=_0x34ee52[Symbol[_0x2e1691(0xd6)]];if(_0x3c72dd!==void 0x0){var _0x478fc1=_0x3c72dd['call'](_0x34ee52,_0x1d8518||_0x2e1691(0xeb));if(R(_0x478fc1)!=_0x2e1691(0xa5))return _0x478fc1;throw TypeError(_0x2e1691(0xe6));}return(_0x1d8518==='string'?String:Number)(_0x34ee52);}function B(_0x4aa02c){const _0x47fd6c=_0x38cc;var _0x38be3f=z(_0x4aa02c,_0x47fd6c(0xbd));return R(_0x38be3f)=='symbol'?_0x38be3f:_0x38be3f+'';}function V(_0x50005b,_0x558f3c,_0x137aa8){const _0xaeea10=_0x38cc;return(_0x558f3c=B(_0x558f3c))in _0x50005b?Object[_0xaeea10(0xbf)](_0x50005b,_0x558f3c,{'value':_0x137aa8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x50005b[_0x558f3c]=_0x137aa8,_0x50005b;}var H=class extends _0x2b074d{get[_0x58665d(0xfa)](){const _0x24d8ce=_0x58665d;return this[_0x24d8ce(0xed)];}get[_0x58665d(0x105)](){return this['_root'];}get[_0x58665d(0x11a)](){const _0x1da702=_0x58665d;let _0x377a7e=this[_0x1da702(0xc9)][_0x1da702(0xa2)](_0x57ff0e)[_0x1da702(0x11f)](this[_0x1da702(0xc0)]);if(!_0x377a7e)throw Error(_0x1da702(0xb2));return _0x377a7e;}get['_skeleton'](){const _0x3b74bd=_0x58665d;return this[_0x3b74bd(0x11a)]['with'](_0x2baedc)[_0x3b74bd(0xba)]();}get[_0x58665d(0x10b)](){const _0x1e10ee=_0x58665d;let _0x3dcdc3=this[_0x1e10ee(0xf9)]['getSkeletonData']();if(!_0x3dcdc3)throw Error(_0x1e10ee(0x113));return _0x3dcdc3;}get[_0x58665d(0xca)](){const _0x9bb676=_0x58665d;let _0x142535=this['_skeletonData'][_0x9bb676(0xb5)][0x0];return{'width':_0x142535[_0x9bb676(0xcc)],'height':_0x142535[_0x9bb676(0xa8)]};}constructor(_0x4c6090,_0x4a2769,_0x44f2b3,_0x168dea){const _0x2d9b6c=_0x58665d;super(),this[_0x2d9b6c(0xc9)]=_0x4c6090,this[_0x2d9b6c(0xfc)]=_0x4a2769,this[_0x2d9b6c(0xc0)]=_0x44f2b3,this[_0x2d9b6c(0xdc)]=_0x168dea,V(this,_0x2d9b6c(0xed),document[_0x2d9b6c(0x103)](_0x2d9b6c(0x10e))),V(this,_0x2d9b6c(0xc8),document[_0x2d9b6c(0x103)]('div')),V(this,'_engine',void 0x0),V(this,_0x2d9b6c(0x9f),void 0x0),V(this,'_key',void 0x0),V(this,_0x2d9b6c(0xf0),void 0x0),V(this,_0x2d9b6c(0xd1),void 0x0),V(this,_0x2d9b6c(0xb9),new _0x16d581()),this['_key']=_0x5672ff(0x4),this[_0x2d9b6c(0xaa)](),this[_0x2d9b6c(0xe1)]({'dispose':()=>{const _0x504263=_0x2d9b6c;this[_0x504263(0x9d)]['dispose'](),this[_0x504263(0x9f)][_0x504263(0x102)](),this[_0x504263(0xb9)][_0x504263(0x102)]();}});}[_0x58665d(0xd2)](){const _0x4c198c=_0x58665d;let {docsTop:_0x37f44e,docsLeft:_0x2fe49d}=this[_0x4c198c(0xf0)][_0x4c198c(0x11e)](),_0x12a5e1=this[_0x4c198c(0xca)]['height'],_0x14fc0f=this['_paperSize'][_0x4c198c(0xe9)];return{'top':_0x37f44e+(_0x37f44e+_0x12a5e1)*this[_0x4c198c(0xfc)],'bottom':_0x37f44e+(_0x37f44e+_0x12a5e1)*(this[_0x4c198c(0xfc)]+0x1),'left':_0x2fe49d,'right':_0x2fe49d+_0x14fc0f};}[_0x58665d(0xaa)](){const _0x10e264=_0x58665d;this[_0x10e264(0x9d)]=new _0x48e499('',{'elementWidth':this[_0x10e264(0xca)][_0x10e264(0xe9)],'elementHeight':this[_0x10e264(0xca)][_0x10e264(0xe8)],'dpr':0x1,'renderMode':_0x3f90b1[_0x10e264(0xaf)]}),this[_0x10e264(0x9f)]=new _0x462ff1(this[_0x10e264(0xa0)],this['_engine']),this[_0x10e264(0x9f)][_0x10e264(0xb7)](0x1,0x1),this[_0x10e264(0x9d)][_0x10e264(0xe5)](this['_container'],!0x1),this[_0x10e264(0x9d)]['getCanvas']()[_0x10e264(0xcd)]()[_0x10e264(0xb4)](this[_0x10e264(0xa0)]+'_'+_0x5672ff(0x4)),this['_addComponent'](),this[_0x10e264(0xbc)]();}[_0x58665d(0x9b)](){const _0x5d98a8=_0x58665d;let {pageMarginLeft:_0x2dcb29,pageMarginTop:_0x46f37a,docsLeft:_0x2db3b0,docsTop:_0x2715fd}=this['_offsetConfig'],_0x3a2293={'pageMarginLeft':_0x2dcb29,'pageMarginTop':_0x46f37a},_0x2190d7=new _0x5bc9bd(_0x5d98a8(0xf5),this[_0x5d98a8(0xf9)],_0x3a2293);_0x2190d7[_0x5d98a8(0xf2)](_0x2db3b0,_0x2715fd),this[_0x5d98a8(0x9f)][_0x5d98a8(0xfe)](_0x2190d7),this[_0x5d98a8(0xf0)]=_0x2190d7;let _0x4a5cbf=this[_0x5d98a8(0xc9)][_0x5d98a8(0xa2)](_0x1546ce);_0x4a5cbf[_0x5d98a8(0xdd)]['fetchThroughInterceptors'](_0x4a5cbf['interceptor'][_0x5d98a8(0xae)]()[_0x5d98a8(0xf7)])(void 0x0,{'unitId':this[_0x5d98a8(0xc0)],'scene':this['_scene'],'engine':this[_0x5d98a8(0x9d)],'root':this[_0x5d98a8(0xc8)],'documents':this[_0x5d98a8(0xf0)],'skeleton':this[_0x5d98a8(0xf9)]});}[_0x58665d(0xbc)](){const _0x10cecc=_0x58665d;this['_viewMain']=new _0x5f0399(_0x18656d['VIEW_MAIN'],this[_0x10cecc(0x9f)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x58665d(0xe3)](){const _0x2bc5f1=_0x58665d;let _0x4c82d8=this[_0x2bc5f1(0xd2)]();this[_0x2bc5f1(0xd1)]['updateScrollVal']({'viewportScrollX':_0x4c82d8[_0x2bc5f1(0xd4)],'viewportScrollY':_0x4c82d8[_0x2bc5f1(0xf6)]}),this['_root'][_0x2bc5f1(0x112)][_0x2bc5f1(0x10a)]=_0x2bc5f1(0x94),this[_0x2bc5f1(0xc8)][_0x2bc5f1(0x112)]['top']=_0x2bc5f1(0xe2),this['_root'][_0x2bc5f1(0x112)]['left']='0px',this[_0x2bc5f1(0xc8)][_0x2bc5f1(0x112)][_0x2bc5f1(0xe9)]=_0x2bc5f1(0x115),this['_root']['style']['height']='100%',this['_effects']=new _0x16d581();let _0x62ca76=this['_injector'][_0x2bc5f1(0xa2)](_0x1546ce);_0x62ca76[_0x2bc5f1(0xdd)][_0x2bc5f1(0xea)](_0x62ca76[_0x2bc5f1(0xdd)][_0x2bc5f1(0xae)]()[_0x2bc5f1(0xd5)])(this['_effects'],{'unitId':this[_0x2bc5f1(0xc0)],'scene':this[_0x2bc5f1(0x9f)],'engine':this['_engine'],'root':this['_root'],'skeleton':this['_skeleton'],'offset':{'x':_0x4c82d8['left'],'y':_0x4c82d8[_0x2bc5f1(0xf6)]},'bound':{'top':_0x4c82d8[_0x2bc5f1(0xf6)],'left':_0x4c82d8[_0x2bc5f1(0xd4)],'right':_0x4c82d8[_0x2bc5f1(0xb3)],'bottom':_0x4c82d8[_0x2bc5f1(0x109)]}});}[_0x58665d(0x100)](){const _0x39304b=_0x58665d;let _0x1f7f20=this[_0x39304b(0x9d)][_0x39304b(0xb6)]()[_0x39304b(0xcd)]();this[_0x39304b(0xf0)]['makeForceDirty'](),this[_0x39304b(0x9f)][_0x39304b(0x99)](),_0x1f7f20['save'](),this[_0x39304b(0x9f)]['render'](),_0x1f7f20['restore']();}};function U(_0x3bed98,_0x3a3a9a){return function(_0xaed19e,_0x59ab57){_0x3a3a9a(_0xaed19e,_0x59ab57,_0x3bed98);};}function W(_0x1da20d,_0x5d0957,_0x108c98,_0x1186d8){const _0x51f273=_0x58665d;var _0x2e7586=arguments[_0x51f273(0x116)],_0xd435d9=_0x2e7586<0x3?_0x5d0957:_0x1186d8===null?_0x1186d8=Object[_0x51f273(0xb0)](_0x5d0957,_0x108c98):_0x1186d8,_0x3a67c5;if(typeof Reflect==_0x51f273(0xa5)&&typeof Reflect[_0x51f273(0x96)]=='function')_0xd435d9=Reflect[_0x51f273(0x96)](_0x1da20d,_0x5d0957,_0x108c98,_0x1186d8);else{for(var _0x4a5ade=_0x1da20d[_0x51f273(0x116)]-0x1;_0x4a5ade>=0x0;_0x4a5ade--)(_0x3a67c5=_0x1da20d[_0x4a5ade])&&(_0xd435d9=(_0x2e7586<0x3?_0x3a67c5(_0xd435d9):_0x2e7586>0x3?_0x3a67c5(_0x5d0957,_0x108c98,_0xd435d9):_0x3a67c5(_0x5d0957,_0x108c98))||_0xd435d9);}return _0x2e7586>0x3&&_0xd435d9&&Object[_0x51f273(0xbf)](_0x5d0957,_0x108c98,_0xd435d9),_0xd435d9;}const G=Number['parseInt'](0x6a3b85bc),K=(_0x51fdef,_0x3caba4,_0x16b132)=>{const _0xa02539=_0x58665d;let _0x4d1e7e={'page':_0x51fdef,'isPro':!0x1,'timeValid':!0x1};if(!_0x3caba4||!_0x16b132)return _0x4d1e7e;let _0xfcc5af=_0x9b58f(_0x3caba4,_0x16b132);if(_0xfcc5af[_0xa02539(0x106)]){let _0x3f4015=_0xfcc5af[_0xa02539(0x11c)],_0x42069f=_0x463f32(_0x3f4015,'df',G);_0x4d1e7e[_0xa02539(0xe4)]=_0x42069f,_0x4d1e7e[_0xa02539(0xe0)]=_0x42069f,_0x4d1e7e['page']=_0x18ef66(_0x3f4015,_0x42069f,_0xa02539(0xdf),_0x51fdef,_0x51fdef,0x0);}return _0x4d1e7e;};let q=class extends _0x2b074d{constructor(_0x40e944,_0x31fa9c,_0x44c2d1,_0x11da8f){const _0x51e926=_0x58665d;super(),this[_0x51e926(0x9e)]=_0x40e944,this[_0x51e926(0x10d)]=_0x31fa9c,this[_0x51e926(0xc9)]=_0x44c2d1,this[_0x51e926(0x101)]=_0x11da8f;}[_0x58665d(0x108)](_0x1d7b0b){const _0x3d950b=_0x58665d;var _0x504577,_0x58fa44;let {ls:_0x14dd1f,pbk:_0x53b8ec}=(_0x504577=this[_0x3d950b(0x101)]['getConfig'](_0xd393c8))==null?{}:_0x504577,_0x2458e1=_0x2a14d3()?0x1/0x0:K(0x1,_0x14dd1f,_0x53b8ec)[_0x3d950b(0xdb)];if(!this['_univerInstanceService'][_0x3d950b(0xac)](_0x1d7b0b,_0x2c5f7c[_0x3d950b(0x10f)]))throw Error(_0x3d950b(0xbb));let _0x49b733=this[_0x3d950b(0x10d)][_0x3d950b(0x11f)](_0x1d7b0b);if(!_0x49b733)throw Error(_0x3d950b(0xb2));let _0xf82a4d=(_0x58fa44=_0x49b733['with'](_0x2baedc)['getSkeleton']()['getSkeletonData']())==null?void 0x0:_0x58fa44[_0x3d950b(0xb5)];if(!_0xf82a4d)throw Error(_0x3d950b(0x9a));let _0x3705a8={'width':_0xf82a4d[0x0][_0x3d950b(0xcc)],'height':_0xf82a4d[0x0][_0x3d950b(0xa8)]},_0x39f855=_0xf82a4d[_0x3d950b(0x116)],_0x208123=Math['min'](_0x2458e1,_0x39f855),_0x21d999=_0x49b733[_0x3d950b(0xc5)][_0x3d950b(0x11e)](),_0x38ff47=document[_0x3d950b(0x103)](_0x3d950b(0x10e));_0x38ff47['className']=_0x3ac422;let _0x39b99b=Array(_0x208123)[_0x3d950b(0xc1)](null)[_0x3d950b(0xc3)]((_0x3552b8,_0x3ec6a2)=>{const _0x46bd3f=_0x3d950b;let _0x4a29ad=new H(this[_0x46bd3f(0xc9)],_0x3ec6a2,_0x1d7b0b,_0x21d999);return _0x4a29ad['container'][_0x46bd3f(0xe7)]=_0xc3e3ef,_0x4a29ad;});_0x39b99b['forEach'](_0x186d11=>{const _0x20c1d6=_0x3d950b;_0x38ff47[_0x20c1d6(0xb8)](_0x186d11[_0x20c1d6(0xfa)]),_0x186d11[_0x20c1d6(0xfa)][_0x20c1d6(0xb8)](_0x186d11['root']),_0x186d11[_0x20c1d6(0xe3)]();});let _0x312c26=_0x439a2d(_0x3705a8[_0x3d950b(0xe9)],_0x3705a8['height'],_0x470b1b[_0x3d950b(0xa7)]);return document['body'][_0x3d950b(0xb8)](_0x312c26),document[_0x3d950b(0xff)][_0x3d950b(0xb8)](_0x38ff47),new Promise(_0xf823e4=>{setTimeout(()=>{const _0x2e90bf=_0x38cc;window[_0x2e90bf(0xa9)]=()=>{const _0x2447f0=_0x2e90bf;_0x39b99b[_0x2447f0(0xfd)](_0x2d5d45=>{const _0x59308d=_0x2447f0;_0x2d5d45[_0x59308d(0x100)]();});},window[_0x2e90bf(0xa3)]=()=>{const _0x393c20=_0x2e90bf;_0x39b99b['forEach'](_0x374183=>{const _0x431674=_0x38cc;_0x374183[_0x431674(0x102)]();}),document['body']['removeChild'](_0x38ff47),document[_0x393c20(0xff)][_0x393c20(0x98)](_0x312c26),_0xf823e4(!0x0);},window['print']();},0x64);});}};q=W([U(0x0,_0x2ee2e7),U(0x1,_0x57ff0e),U(0x2,_0x5b28a6(_0x534b06)),U(0x3,_0x51e27a)],q);const J={'id':_0x58665d(0xb1),'type':_0x547361[_0x58665d(0xda)],'handler':async _0x50360d=>{const _0x56274d=_0x58665d;let _0x29009c=_0x50360d[_0x56274d(0xa2)](_0x2ee2e7),_0x26b4fa=_0x50360d[_0x56274d(0xa2)](q),_0x103817=_0x50360d[_0x56274d(0xa2)](_0x57ff0e),_0x5e184d=_0x50360d[_0x56274d(0xa2)](_0x2f825d),_0x23a803=_0x29009c[_0x56274d(0xd0)](_0x2c5f7c[_0x56274d(0x10f)]);if(!_0x23a803)return!0x1;if(!_0x103817['getRenderById'](_0x23a803[_0x56274d(0xd9)]()))throw Error(_0x56274d(0xb2));let _0x159482=_0x23a803[_0x56274d(0xc4)]()[_0x56274d(0xcb)];return _0x159482!==_0x29fc79['TRADITIONAL']&&_0x5e184d[_0x56274d(0x9c)](_0x13849b['id']),await _0x26b4fa['print'](_0x23a803[_0x56274d(0xd9)]()),_0x159482!==_0x29fc79[_0x56274d(0x118)]&&_0x5e184d[_0x56274d(0x9c)](_0x13849b['id']),!0x0;}},Y='UNIVER_DOCS_PRINT',X={};var ie=_0x58665d(0x107),ae='1.0.0-alpha.0';let Z=class extends _0x2b074d{constructor(_0x1cfb25){const _0x2f0287=_0x58665d;super(),this[_0x2f0287(0xa1)]=_0x1cfb25,this['_registerIcons']();}[_0x58665d(0x10c)](){const _0x11f90f=_0x58665d;this[_0x11f90f(0xe1)](this[_0x11f90f(0xa1)][_0x11f90f(0xce)]({'PrintIcon':_0x43d5b8}));}};function _0x38cc(_0x30cc70,_0x3e7df1){_0x30cc70=_0x30cc70-0x94;const _0xc1d04e=_0xc1d0();let _0x38ccac=_0xc1d04e[_0x30cc70];return _0x38ccac;}Z=W([U(0x0,_0x5b28a6(_0x261b98))],Z);function oe(_0x4de0c5){const _0x36d11f=_0x58665d;return{'id':J['id'],'type':_0x1542db[_0x36d11f(0xd7)],'title':_0x36d11f(0xc7),'icon':'PrintIcon','tooltip':_0x36d11f(0xc7),'hidden$':_0x56c637(_0x4de0c5,_0x2c5f7c[_0x36d11f(0x10f)])};}const se={[_0x224315[_0x58665d(0xd3)]]:{[J['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x2b074d{constructor(_0x24130f,_0x324305){const _0x510d45=_0x58665d;super(),this[_0x510d45(0x117)]=_0x24130f,this[_0x510d45(0x11d)]=_0x324305,this[_0x510d45(0xee)](),this[_0x510d45(0x97)]();}[_0x58665d(0xee)](){const _0x1bd5d0=_0x58665d;this[_0x1bd5d0(0x11d)][_0x1bd5d0(0xf8)](se);}['_initCommands'](){this['disposeWithMe'](this['_commandService']['registerCommand'](J));}};Q=W([U(0x0,_0x2f825d),U(0x1,_0x24e87b)],Q);function _0xc1d0(){const _0x5c4ac8=['toPrimitive','BUTTON','constructor','getUnitId','OPERATION','page','_offsetConfig','interceptor','5UunFeZ','mpn','timeValid','disposeWithMe','0px','prepare','isPro','setContainer','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','className','height','width','fetchThroughInterceptors','default','add','_container','_initMenus','2065068VQIasF','_documents','iterator','translate','8495820nawcaf','388975dysmfK','__DocPrintRender__','top','PRINTING_COMPONENT_COLLECT','mergeMenu','_skeleton','container','156kFWlLK','_page','forEach','addObject','body','render','_configService','dispose','createElement','3224454tttkrE','root','valid','@univerjs-pro/docs-print','print','bottom','position','_skeletonData','_registerIcons','_renderManagerService','div','UNIVER_DOC','version','symbol','style','Skeleton\x20data\x20is\x20not\x20found','8UKNsnP','100%','length','_commandService','TRADITIONAL','onStarting','_currentRender','3747069OoQEeE','message','_menuManagerService','getOffsetConfig','getRenderById','absolute','menu','decorate','_initCommands','removeChild','makeDirty','Pages\x20are\x20not\x20found','_addComponent','syncExecuteCommand','_engine','_univerInstanceService','_scene','_key','_iconManager','get','onafterprint','_config','object','setConfig','Portrait','pageHeight','onbeforeprint','_initRenderer','packageName','getUnit','prototype','getInterceptPoints','Printing','getOwnPropertyDescriptor','docs.operation.print','Render\x20is\x20not\x20found','right','setId','pages','getCanvas','scale','appendChild','_effects','getSkeleton','DocumentDataModel\x20is\x20not\x20found','_addViewport','string','pluginName','defineProperty','_unitId','fill','3050250oqEhxX','map','getDocumentStyle','mainComponent','function','docs-print.menu','_root','_injector','_paperSize','documentFlavor','pageWidth','getContext','register','10383oCbzyG','getCurrentUnitOfType','_viewMain','_calculateLayout','OTHERS','left','PRINTING_DOM_COLLECT'];_0xc1d0=function(){return _0x5c4ac8;};return _0xc1d0();}let $=class extends _0x150077{constructor(_0x2dde1b=X,_0x3f98ee,_0x59639e){const _0x4ef906=_0x58665d;super(),this[_0x4ef906(0xa4)]=_0x2dde1b,this['_injector']=_0x3f98ee,this[_0x4ef906(0x101)]=_0x59639e;let {menu:_0x196705,..._0x14787c}=_0x4b908d({},X,this['_config']);_0x196705&&this['_configService'][_0x4ef906(0xa6)](_0x4ef906(0x95),_0x196705,{'merge':!0x0}),this['_configService']['setConfig'](Y,_0x14787c);}[_0x58665d(0x119)](){const _0x2b5fe2=_0x58665d;this[_0x2b5fe2(0xc9)][_0x2b5fe2(0xec)]([Z]),this[_0x2b5fe2(0xc9)][_0x2b5fe2(0xa2)](Z),_0x12c360(this[_0x2b5fe2(0xc9)],[[q],[Q]]);}['onReady'](){const _0x2868b8=_0x58665d;this[_0x2868b8(0xc9)][_0x2868b8(0xa2)](Q);}};V($,_0x58665d(0xbe),'UNIVER_DOCS_PRINT'),V($,_0x58665d(0xab),ie),V($,_0x58665d(0x110),ae),V($,'type',_0x2c5f7c[_0x58665d(0x10f)]),$=W([_0x23edf8(_0x290c3a,_0x2a1585),U(0x1,_0x5b28a6(_0x534b06)),U(0x2,_0x51e27a)],$);export{Y as DOCS_PRINT_PLUGIN_CONFIG_KEY,J as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x24eff4=_0x5223;(function(_0x1dedf0,_0x554fd7){const _0xbcd408=_0x5223,_0xdb6799=_0x1dedf0();while(!![]){try{const _0x2dae3d=-parseInt(_0xbcd408(0x120))/0x1*(parseInt(_0xbcd408(0x10f))/0x2)+-parseInt(_0xbcd408(0xa8))/0x3*(parseInt(_0xbcd408(0xf6))/0x4)+parseInt(_0xbcd408(0x10d))/0x5+-parseInt(_0xbcd408(0xa4))/0x6*(-parseInt(_0xbcd408(0xa7))/0x7)+-parseInt(_0xbcd408(0x105))/0x8*(parseInt(_0xbcd408(0xdc))/0x9)+parseInt(_0xbcd408(0xb9))/0xa+parseInt(_0xbcd408(0xec))/0xb;if(_0x2dae3d===_0x554fd7)break;else _0xdb6799['push'](_0xdb6799['shift']());}catch(_0x31cf3){_0xdb6799['push'](_0xdb6799['shift']());}}}(_0x50d4,0xde5a5));import{CommandType as _0x25541c,DependentOn as _0x3331bc,Disposable as _0x1432a9,DisposableCollection as _0x61a42a,DocumentFlavor as _0x1d43f3,ICommandService as _0x7f09c7,IConfigService as _0x445c20,IUniverInstanceService as _0x17c172,Inject as _0x108da3,Injector as _0x2a1f09,Plugin as _0x443640,UniverInstanceType as _0x63c0de,generateRandomId as _0x3334ea,merge as _0x51eea3,registerDependencies as _0x456e00}from'@univerjs/core';import{DocPrintInterceptorService as _0x29edf8,SwitchDocModeCommand as _0x2ead00,VIEWPORT_KEY as _0x53e730}from'@univerjs/docs-ui';import{CanvasRenderMode as _0xda7d2b,Documents as _0xbf8b06,Engine as _0x5e6635,IRenderManagerService as _0x2d2062,Scene as _0x10367e,Viewport as _0x85846d}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x596eb7,UniverLicensePlugin as _0x468070,getDocFeatureLimit as _0x1d8676,getLicenseInfo as _0x35b3e5,isFeatureAuthorizedWithinTime as _0x5ab22f,isLocalCheck as _0x312d6a}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x42e119,PRINT_CONTAINER_CLASS as _0x49f039,PrintDirection as _0x4acbb1,createPrintStyle as _0x2e347d}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x5aaec0}from'@univerjs/docs';import{UniverNetworkPlugin as _0xe1b8ac}from'@univerjs/network';import{PrintIcon as _0x1a0e81}from'@univerjs/icons';import{IMenuManagerService as _0x5a06ba,IconManager as _0x49e8b3,MenuItemType as _0x6dda1e,RibbonStartGroup as _0x373b0f,getMenuHiddenObservable as _0x517551}from'@univerjs/ui';function R(_0x17e648){'@babel/helpers - typeof';const _0x33d2f1=_0x5223;return R=typeof Symbol=='function'&&typeof Symbol[_0x33d2f1(0xd2)]==_0x33d2f1(0xb2)?function(_0x3b284d){return typeof _0x3b284d;}:function(_0x4792a3){const _0x4f0919=_0x33d2f1;return _0x4792a3&&typeof Symbol=='function'&&_0x4792a3[_0x4f0919(0xb6)]===Symbol&&_0x4792a3!==Symbol[_0x4f0919(0xc2)]?_0x4f0919(0xb2):typeof _0x4792a3;},R(_0x17e648);}function z(_0xf7edbc,_0x356c43){const _0x121767=_0x5223;if(R(_0xf7edbc)!='object'||!_0xf7edbc)return _0xf7edbc;var _0x44f40a=_0xf7edbc[Symbol['toPrimitive']];if(_0x44f40a!==void 0x0){var _0x317d63=_0x44f40a['call'](_0xf7edbc,_0x356c43||_0x121767(0xc7));if(R(_0x317d63)!=_0x121767(0x110))return _0x317d63;throw TypeError(_0x121767(0xda));}return(_0x356c43===_0x121767(0xf7)?String:Number)(_0xf7edbc);}function B(_0x5ad8a7){const _0x1b3166=_0x5223;var _0x598fae=z(_0x5ad8a7,_0x1b3166(0xf7));return R(_0x598fae)==_0x1b3166(0xb2)?_0x598fae:_0x598fae+'';}function V(_0x2734ef,_0x115367,_0x159a3b){const _0x22134e=_0x5223;return(_0x115367=B(_0x115367))in _0x2734ef?Object[_0x22134e(0xf9)](_0x2734ef,_0x115367,{'value':_0x159a3b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2734ef[_0x115367]=_0x159a3b,_0x2734ef;}var H=class extends _0x1432a9{get[_0x24eff4(0x109)](){const _0x146261=_0x24eff4;return this[_0x146261(0x11b)];}get['root'](){const _0x2bca00=_0x24eff4;return this[_0x2bca00(0xa0)];}get[_0x24eff4(0x102)](){const _0x3bc411=_0x24eff4;let _0x515b3b=this['_injector'][_0x3bc411(0x11f)](_0x2d2062)[_0x3bc411(0xf1)](this[_0x3bc411(0xe6)]);if(!_0x515b3b)throw Error(_0x3bc411(0xf2));return _0x515b3b;}get[_0x24eff4(0xee)](){const _0x4ae382=_0x24eff4;return this['_currentRender'][_0x4ae382(0xac)](_0x5aaec0)['getSkeleton']();}get[_0x24eff4(0x118)](){const _0x3fa205=_0x24eff4;let _0x3a75ac=this[_0x3fa205(0xee)][_0x3fa205(0xe5)]();if(!_0x3a75ac)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x3a75ac;}get['_paperSize'](){const _0x3d1180=_0x24eff4;let _0x4d0ab8=this[_0x3d1180(0x118)][_0x3d1180(0xb7)][0x0];return{'width':_0x4d0ab8[_0x3d1180(0x108)],'height':_0x4d0ab8[_0x3d1180(0xdb)]};}constructor(_0x21df18,_0x21c727,_0xe33cc5,_0x3f5aa6){const _0x514062=_0x24eff4;super(),this['_injector']=_0x21df18,this['_page']=_0x21c727,this[_0x514062(0xe6)]=_0xe33cc5,this[_0x514062(0xc6)]=_0x3f5aa6,V(this,_0x514062(0x11b),document['createElement']('div')),V(this,_0x514062(0xa0),document[_0x514062(0x104)]('div')),V(this,_0x514062(0xa9),void 0x0),V(this,_0x514062(0xcc),void 0x0),V(this,_0x514062(0xbb),void 0x0),V(this,_0x514062(0xd1),void 0x0),V(this,'_viewMain',void 0x0),V(this,_0x514062(0xd9),new _0x61a42a()),this['_key']=_0x3334ea(0x4),this[_0x514062(0xfd)](),this[_0x514062(0xab)]({'dispose':()=>{const _0x1eb092=_0x514062;this[_0x1eb092(0xa9)][_0x1eb092(0xbd)](),this[_0x1eb092(0xcc)]['dispose'](),this[_0x1eb092(0xd9)]['dispose']();}});}[_0x24eff4(0xcf)](){const _0x17d263=_0x24eff4;let {docsTop:_0x3f87f7,docsLeft:_0x2f8eea}=this[_0x17d263(0xd1)][_0x17d263(0xcd)](),_0x17ad82=this[_0x17d263(0xca)][_0x17d263(0xaa)],_0x35fee0=this[_0x17d263(0xca)]['width'];return{'top':_0x3f87f7+(_0x3f87f7+_0x17ad82)*this[_0x17d263(0x116)],'bottom':_0x3f87f7+(_0x3f87f7+_0x17ad82)*(this['_page']+0x1),'left':_0x2f8eea,'right':_0x2f8eea+_0x35fee0};}[_0x24eff4(0xfd)](){const _0x2fd08f=_0x24eff4;this[_0x2fd08f(0xa9)]=new _0x5e6635('',{'elementWidth':this[_0x2fd08f(0xca)][_0x2fd08f(0xb5)],'elementHeight':this['_paperSize'][_0x2fd08f(0xaa)],'dpr':0x1,'renderMode':_0xda7d2b[_0x2fd08f(0xe7)]}),this[_0x2fd08f(0xcc)]=new _0x10367e(this[_0x2fd08f(0xbb)],this[_0x2fd08f(0xa9)]),this[_0x2fd08f(0xcc)]['scale'](0x1,0x1),this['_engine']['setContainer'](this[_0x2fd08f(0x11b)],!0x1),this[_0x2fd08f(0xa9)]['getCanvas']()['getContext']()['setId'](this[_0x2fd08f(0xbb)]+'_'+_0x3334ea(0x4)),this[_0x2fd08f(0xaf)](),this[_0x2fd08f(0xa2)]();}['_addComponent'](){const _0x2c5e2c=_0x24eff4;let {pageMarginLeft:_0x3c439e,pageMarginTop:_0x2a0aca,docsLeft:_0x51683c,docsTop:_0x30391e}=this[_0x2c5e2c(0xc6)],_0x174666={'pageMarginLeft':_0x3c439e,'pageMarginTop':_0x2a0aca},_0x4d0938=new _0xbf8b06(_0x2c5e2c(0xce),this['_skeleton'],_0x174666);_0x4d0938['translate'](_0x51683c,_0x30391e),this[_0x2c5e2c(0xcc)][_0x2c5e2c(0xf4)](_0x4d0938),this[_0x2c5e2c(0xd1)]=_0x4d0938;let _0x51aa5d=this['_injector'][_0x2c5e2c(0x11f)](_0x29edf8);_0x51aa5d[_0x2c5e2c(0x117)][_0x2c5e2c(0xd0)](_0x51aa5d[_0x2c5e2c(0x117)][_0x2c5e2c(0xf0)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this['_unitId'],'scene':this['_scene'],'engine':this[_0x2c5e2c(0xa9)],'root':this['_root'],'documents':this['_documents'],'skeleton':this[_0x2c5e2c(0xee)]});}[_0x24eff4(0xa2)](){const _0xd1ecb7=_0x24eff4;this['_viewMain']=new _0x85846d(_0x53e730[_0xd1ecb7(0xfb)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x24eff4(0xc0)](){const _0x31403b=_0x24eff4;let _0x1fee81=this[_0x31403b(0xcf)]();this['_viewMain']['updateScrollVal']({'viewportScrollX':_0x1fee81[_0x31403b(0x101)],'viewportScrollY':_0x1fee81[_0x31403b(0x103)]}),this[_0x31403b(0xa0)][_0x31403b(0x106)][_0x31403b(0xff)]=_0x31403b(0x11d),this[_0x31403b(0xa0)][_0x31403b(0x106)][_0x31403b(0x103)]='0px',this[_0x31403b(0xa0)]['style']['left']=_0x31403b(0xad),this[_0x31403b(0xa0)][_0x31403b(0x106)][_0x31403b(0xb5)]=_0x31403b(0xe1),this['_root'][_0x31403b(0x106)][_0x31403b(0xaa)]=_0x31403b(0xe1),this[_0x31403b(0xd9)]=new _0x61a42a();let _0xca3f93=this[_0x31403b(0xbf)][_0x31403b(0x11f)](_0x29edf8);_0xca3f93['interceptor'][_0x31403b(0xd0)](_0xca3f93['interceptor'][_0x31403b(0xf0)]()[_0x31403b(0x100)])(this[_0x31403b(0xd9)],{'unitId':this[_0x31403b(0xe6)],'scene':this[_0x31403b(0xcc)],'engine':this[_0x31403b(0xa9)],'root':this[_0x31403b(0xa0)],'skeleton':this['_skeleton'],'offset':{'x':_0x1fee81[_0x31403b(0x101)],'y':_0x1fee81[_0x31403b(0x103)]},'bound':{'top':_0x1fee81['top'],'left':_0x1fee81['left'],'right':_0x1fee81['right'],'bottom':_0x1fee81[_0x31403b(0xbc)]}});}[_0x24eff4(0x11a)](){const _0x41345d=_0x24eff4;let _0x28abb9=this['_engine'][_0x41345d(0x10e)]()['getContext']();this[_0x41345d(0xd1)][_0x41345d(0xc3)](),this['_scene'][_0x41345d(0xdd)](),_0x28abb9['save'](),this[_0x41345d(0xcc)]['render'](),_0x28abb9['restore']();}};function U(_0x548180,_0x2b783a){return function(_0x513004,_0x33b843){_0x2b783a(_0x513004,_0x33b843,_0x548180);};}function W(_0x17285a,_0x564fda,_0x310e36,_0x5350b2){const _0x364ecc=_0x24eff4;var _0x50d9ca=arguments[_0x364ecc(0x119)],_0x1e93c2=_0x50d9ca<0x3?_0x564fda:_0x5350b2===null?_0x5350b2=Object[_0x364ecc(0x107)](_0x564fda,_0x310e36):_0x5350b2,_0x34514a;if(typeof Reflect==_0x364ecc(0x110)&&typeof Reflect[_0x364ecc(0xb1)]==_0x364ecc(0xb0))_0x1e93c2=Reflect['decorate'](_0x17285a,_0x564fda,_0x310e36,_0x5350b2);else{for(var _0x3cd38f=_0x17285a[_0x364ecc(0x119)]-0x1;_0x3cd38f>=0x0;_0x3cd38f--)(_0x34514a=_0x17285a[_0x3cd38f])&&(_0x1e93c2=(_0x50d9ca<0x3?_0x34514a(_0x1e93c2):_0x50d9ca>0x3?_0x34514a(_0x564fda,_0x310e36,_0x1e93c2):_0x34514a(_0x564fda,_0x310e36))||_0x1e93c2);}return _0x50d9ca>0x3&&_0x1e93c2&&Object[_0x364ecc(0xf9)](_0x564fda,_0x310e36,_0x1e93c2),_0x1e93c2;}const G=Number['parseInt'](0x6a3fb83b),K=(_0x56df4f,_0x253d89,_0x157e96)=>{const _0x351042=_0x24eff4;let _0x40eb47={'page':_0x56df4f,'isPro':!0x1,'timeValid':!0x1};if(!_0x253d89||!_0x157e96)return _0x40eb47;let _0x2d0782=_0x35b3e5(_0x253d89,_0x157e96);if(_0x2d0782['valid']){let _0x3237be=_0x2d0782[_0x351042(0xf5)],_0xa3d908=_0x5ab22f(_0x3237be,'df',G);_0x40eb47[_0x351042(0xe3)]=_0xa3d908,_0x40eb47[_0x351042(0xb4)]=_0xa3d908,_0x40eb47[_0x351042(0xe9)]=_0x1d8676(_0x3237be,_0xa3d908,_0x351042(0xd8),_0x56df4f,_0x56df4f,0x0);}return _0x40eb47;};let q=class extends _0x1432a9{constructor(_0x3fc28c,_0x3848ff,_0x568d8d,_0x3f43a7){const _0x50e26f=_0x24eff4;super(),this['_univerInstanceService']=_0x3fc28c,this[_0x50e26f(0xb8)]=_0x3848ff,this['_injector']=_0x568d8d,this[_0x50e26f(0xfa)]=_0x3f43a7;}['print'](_0x4a0f9b){const _0x137818=_0x24eff4;var _0x56ae0c,_0x4ff1fb;let {ls:_0x18f0dc,pbk:_0x37aa0a}=(_0x56ae0c=this[_0x137818(0xfa)][_0x137818(0x121)](_0x596eb7))==null?{}:_0x56ae0c,_0x13b5ee=_0x312d6a()?0x1/0x0:K(0x1,_0x18f0dc,_0x37aa0a)[_0x137818(0xe9)];if(!this[_0x137818(0x113)][_0x137818(0xeb)](_0x4a0f9b,_0x63c0de['UNIVER_DOC']))throw Error(_0x137818(0xe0));let _0x271045=this[_0x137818(0xb8)]['getRenderById'](_0x4a0f9b);if(!_0x271045)throw Error(_0x137818(0xf2));let _0x5cc37f=(_0x4ff1fb=_0x271045[_0x137818(0xac)](_0x5aaec0)[_0x137818(0x9f)]()[_0x137818(0xe5)]())==null?void 0x0:_0x4ff1fb[_0x137818(0xb7)];if(!_0x5cc37f)throw Error(_0x137818(0x114));let _0x405780={'width':_0x5cc37f[0x0][_0x137818(0x108)],'height':_0x5cc37f[0x0][_0x137818(0xdb)]},_0x3fa3c3=_0x5cc37f[_0x137818(0x119)],_0x4a0aa9=Math[_0x137818(0xc4)](_0x13b5ee,_0x3fa3c3),_0x491c74=_0x271045['mainComponent'][_0x137818(0xcd)](),_0x3311ed=document[_0x137818(0x104)](_0x137818(0xd7));_0x3311ed[_0x137818(0xb3)]=_0x49f039;let _0xb35548=Array(_0x4a0aa9)[_0x137818(0x111)](null)['map']((_0x48c8ee,_0x9a2ce4)=>{const _0x4c4738=_0x137818;let _0x5a006c=new H(this[_0x4c4738(0xbf)],_0x9a2ce4,_0x4a0f9b,_0x491c74);return _0x5a006c['container'][_0x4c4738(0xb3)]=_0x42e119,_0x5a006c;});_0xb35548['forEach'](_0x154df1=>{const _0x2c491e=_0x137818;_0x3311ed[_0x2c491e(0xdf)](_0x154df1[_0x2c491e(0x109)]),_0x154df1[_0x2c491e(0x109)][_0x2c491e(0xdf)](_0x154df1[_0x2c491e(0x11e)]),_0x154df1[_0x2c491e(0xc0)]();});let _0x51df84=_0x2e347d(_0x405780[_0x137818(0xb5)],_0x405780[_0x137818(0xaa)],_0x4acbb1[_0x137818(0xa5)]);return document['body'][_0x137818(0xdf)](_0x51df84),document[_0x137818(0x115)]['appendChild'](_0x3311ed),new Promise(_0x21ca2b=>{setTimeout(()=>{const _0x232474=_0x5223;window['onbeforeprint']=()=>{const _0x1017a5=_0x5223;_0xb35548[_0x1017a5(0xf3)](_0x315f57=>{const _0x31d857=_0x1017a5;_0x315f57[_0x31d857(0x11a)]();});},window[_0x232474(0xa3)]=()=>{const _0x3a5d76=_0x232474;_0xb35548[_0x3a5d76(0xf3)](_0x2028e3=>{_0x2028e3['dispose']();}),document['body']['removeChild'](_0x3311ed),document[_0x3a5d76(0x115)][_0x3a5d76(0x9e)](_0x51df84),_0x21ca2b(!0x0);},window[_0x232474(0xe8)]();},0x64);});}};q=W([U(0x0,_0x17c172),U(0x1,_0x2d2062),U(0x2,_0x108da3(_0x2a1f09)),U(0x3,_0x445c20)],q);const J={'id':_0x24eff4(0xf8),'type':_0x25541c[_0x24eff4(0xc1)],'handler':async _0x435cde=>{const _0x50b2cc=_0x24eff4;let _0x31e378=_0x435cde[_0x50b2cc(0x11f)](_0x17c172),_0x95c118=_0x435cde[_0x50b2cc(0x11f)](q),_0x4a9da2=_0x435cde['get'](_0x2d2062),_0xcd2484=_0x435cde[_0x50b2cc(0x11f)](_0x7f09c7),_0x54ef08=_0x31e378[_0x50b2cc(0x10b)](_0x63c0de['UNIVER_DOC']);if(!_0x54ef08)return!0x1;if(!_0x4a9da2[_0x50b2cc(0xf1)](_0x54ef08[_0x50b2cc(0x112)]()))throw Error(_0x50b2cc(0xf2));let _0x12f7f7=_0x54ef08[_0x50b2cc(0xc5)]()['documentFlavor'];return _0x12f7f7!==_0x1d43f3[_0x50b2cc(0xc9)]&&_0xcd2484[_0x50b2cc(0x10a)](_0x2ead00['id']),await _0x95c118[_0x50b2cc(0xe8)](_0x54ef08[_0x50b2cc(0x112)]()),_0x12f7f7!==_0x1d43f3[_0x50b2cc(0xc9)]&&_0xcd2484[_0x50b2cc(0x10a)](_0x2ead00['id']),!0x0;}},Y=_0x24eff4(0xef),X={};var ie=_0x24eff4(0xd6),ae='1.0.0-alpha.1';let Z=class extends _0x1432a9{constructor(_0x151a1e){super(),this['_iconManager']=_0x151a1e,this['_registerIcons']();}[_0x24eff4(0xba)](){const _0x355b20=_0x24eff4;this[_0x355b20(0xab)](this[_0x355b20(0xe4)][_0x355b20(0xe2)]({'PrintIcon':_0x1a0e81}));}};Z=W([U(0x0,_0x108da3(_0x49e8b3))],Z);function _0x50d4(){const _0x36943e=['decorate','symbol','className','timeValid','width','constructor','pages','_renderManagerService','985470BzFlyA','_registerIcons','_key','bottom','dispose','docs-print.menu','_injector','prepare','OPERATION','prototype','makeForceDirty','min','getDocumentStyle','_offsetConfig','default','registerCommand','TRADITIONAL','_paperSize','version','_scene','getOffsetConfig','__DocPrintRender__','_calculateLayout','fetchThroughInterceptors','_documents','iterator','_menuManagerService','type','setConfig','@univerjs-pro/docs-print','div','mpn','_effects','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','pageHeight','15678TpDKuz','makeDirty','OTHERS','appendChild','DocumentDataModel\x20is\x20not\x20found','100%','register','isPro','_iconManager','getSkeletonData','_unitId','Printing','print','page','_initMenus','getUnit','492756GOskny','UNIVER_DOC','_skeleton','UNIVER_DOCS_PRINT','getInterceptPoints','getRenderById','Render\x20is\x20not\x20found','forEach','addObject','message','4bfIytW','string','docs.operation.print','defineProperty','_configService','VIEW_MAIN','packageName','_initRenderer','BUTTON','position','PRINTING_DOM_COLLECT','left','_currentRender','top','createElement','6744igMhFy','style','getOwnPropertyDescriptor','pageWidth','container','syncExecuteCommand','getCurrentUnitOfType','menu','8349000awNlKS','getCanvas','10yKymuh','object','fill','getUnitId','_univerInstanceService','Pages\x20are\x20not\x20found','body','_page','interceptor','_skeletonData','length','render','_container','mergeMenu','absolute','root','get','142829CXOXSx','getConfig','removeChild','getSkeleton','_root','_initCommands','_addViewport','onafterprint','9995124ixsnaP','Portrait','PrintIcon','7lCHyhV','1156767hVLnHG','_engine','height','disposeWithMe','with','0px','_config','_addComponent','function'];_0x50d4=function(){return _0x36943e;};return _0x50d4();}function oe(_0x2426f5){const _0xadcc40=_0x24eff4;return{'id':J['id'],'type':_0x6dda1e[_0xadcc40(0xfe)],'title':_0xadcc40(0xbe),'icon':_0xadcc40(0xa6),'tooltip':'docs-print.menu','hidden$':_0x517551(_0x2426f5,_0x63c0de[_0xadcc40(0xed)])};}const se={[_0x373b0f[_0x24eff4(0xde)]]:{[J['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x1432a9{constructor(_0x64cac3,_0x2dfed1){const _0x197603=_0x24eff4;super(),this['_commandService']=_0x64cac3,this[_0x197603(0xd3)]=_0x2dfed1,this[_0x197603(0xea)](),this[_0x197603(0xa1)]();}['_initMenus'](){const _0x1b8fea=_0x24eff4;this[_0x1b8fea(0xd3)][_0x1b8fea(0x11c)](se);}['_initCommands'](){const _0x5a92fe=_0x24eff4;this[_0x5a92fe(0xab)](this['_commandService'][_0x5a92fe(0xc8)](J));}};function _0x5223(_0x12711f,_0x268327){_0x12711f=_0x12711f-0x9e;const _0x50d471=_0x50d4();let _0x5223e9=_0x50d471[_0x12711f];return _0x5223e9;}Q=W([U(0x0,_0x7f09c7),U(0x1,_0x5a06ba)],Q);let $=class extends _0x443640{constructor(_0x58cb4b=X,_0x10fc44,_0x4b82cb){const _0x3b5c66=_0x24eff4;super(),this[_0x3b5c66(0xae)]=_0x58cb4b,this[_0x3b5c66(0xbf)]=_0x10fc44,this[_0x3b5c66(0xfa)]=_0x4b82cb;let {menu:_0x198ee4,..._0x5ccec3}=_0x51eea3({},X,this[_0x3b5c66(0xae)]);_0x198ee4&&this[_0x3b5c66(0xfa)]['setConfig'](_0x3b5c66(0x10c),_0x198ee4,{'merge':!0x0}),this['_configService'][_0x3b5c66(0xd5)](Y,_0x5ccec3);}['onStarting'](){const _0x43a527=_0x24eff4;this[_0x43a527(0xbf)]['add']([Z]),this[_0x43a527(0xbf)]['get'](Z),_0x456e00(this[_0x43a527(0xbf)],[[q],[Q]]);}['onReady'](){const _0x4d3bec=_0x24eff4;this[_0x4d3bec(0xbf)][_0x4d3bec(0x11f)](Q);}};V($,'pluginName',_0x24eff4(0xef)),V($,_0x24eff4(0xfc),ie),V($,_0x24eff4(0xcb),ae),V($,_0x24eff4(0xd4),_0x63c0de[_0x24eff4(0xed)]),$=W([_0x3331bc(_0xe1b8ac,_0x468070),U(0x1,_0x108da3(_0x2a1f09)),U(0x2,_0x445c20)],$);export{Y as DOCS_PRINT_PLUGIN_CONFIG_KEY,J as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xf93196=_0x5912;function _0x5912(_0x5cf64a,_0x2dfa50){_0x5cf64a=_0x5cf64a-0x12f;const _0x5358fb=_0x5358();let _0x5912c2=_0x5358fb[_0x5cf64a];return _0x5912c2;}(function(_0x2ea8d8,_0x1efb5b){const _0x1d3c5c=_0x5912,_0x65ea1e=_0x2ea8d8();while(!![]){try{const _0x4de64c=-parseInt(_0x1d3c5c(0x139))/0x1*(-parseInt(_0x1d3c5c(0x12f))/0x2)+-parseInt(_0x1d3c5c(0x137))/0x3*(-parseInt(_0x1d3c5c(0x136))/0x4)+-parseInt(_0x1d3c5c(0x134))/0x5+parseInt(_0x1d3c5c(0x131))/0x6*(parseInt(_0x1d3c5c(0x130))/0x7)+parseInt(_0x1d3c5c(0x138))/0x8+parseInt(_0x1d3c5c(0x135))/0x9+parseInt(_0x1d3c5c(0x133))/0xa*(-parseInt(_0x1d3c5c(0x13a))/0xb);if(_0x4de64c===_0x1efb5b)break;else _0x65ea1e['push'](_0x65ea1e['shift']());}catch(_0x46aafd){_0x65ea1e['push'](_0x65ea1e['shift']());}}}(_0x5358,0x1e65a));const e={'docs-print':{'menu':_0xf93196(0x132)}};function _0x5358(){const _0x5c091a=['طباعة','60sxptoR','92770XnqmNW','1156797fzCqCU','10592yvSwON','114ooKzeY','604512WmWPrx','44869FzaEqJ','910668iJpGdV','6lsvTtk','273OsLkmh','30840APTzeC'];_0x5358=function(){return _0x5c091a;};return _0x5358();}export{e as default};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3d7c(){const _0xf7a804=['6DCufxQ','277802PlPjdc','10420927vYtYQg','714574wTPpkU','944540ZlJUYr','9cCZtAn','10RIMVjD','554535JymlMq','411682Ttdiyp','1750041zfBuOm','32CkLpHQ','Imprimir'];_0x3d7c=function(){return _0xf7a804;};return _0x3d7c();}const _0x34a29c=_0x5639;(function(_0x1c9862,_0x5bdc4c){const _0xef6522=_0x5639,_0x55a548=_0x1c9862();while(!![]){try{const _0x298056=parseInt(_0xef6522(0xae))/0x1+parseInt(_0xef6522(0xb3))/0x2*(-parseInt(_0xef6522(0xab))/0x3)+-parseInt(_0xef6522(0xaa))/0x4+-parseInt(_0xef6522(0xad))/0x5*(-parseInt(_0xef6522(0xb2))/0x6)+parseInt(_0xef6522(0xa9))/0x7*(-parseInt(_0xef6522(0xb0))/0x8)+-parseInt(_0xef6522(0xaf))/0x9*(parseInt(_0xef6522(0xac))/0xa)+parseInt(_0xef6522(0xb4))/0xb;if(_0x298056===_0x5bdc4c)break;else _0x55a548['push'](_0x55a548['shift']());}catch(_0x557ff4){_0x55a548['push'](_0x55a548['shift']());}}}(_0x3d7c,0x3453b));const e={'docs-print':{'menu':_0x34a29c(0xb1)}};function _0x5639(_0x52cb3c,_0x12c9b5){_0x52cb3c=_0x52cb3c-0xa9;const _0x3d7c70=_0x3d7c();let _0x5639cb=_0x3d7c70[_0x52cb3c];return _0x5639cb;}export{e as default};
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5d06df=_0x1677;(function(_0x440f5d,_0x2d7af2){const _0x15194e=_0x1677,_0xeb573=_0x440f5d();while(!![]){try{const _0x183069=-parseInt(_0x15194e(0x141))/0x1+-parseInt(_0x15194e(0x142))/0x2*(parseInt(_0x15194e(0x145))/0x3)+parseInt(_0x15194e(0x143))/0x4+-parseInt(_0x15194e(0x148))/0x5*(-parseInt(_0x15194e(0x146))/0x6)+parseInt(_0x15194e(0x147))/0x7+parseInt(_0x15194e(0x13e))/0x8*(parseInt(_0x15194e(0x140))/0x9)+-parseInt(_0x15194e(0x149))/0xa*(parseInt(_0x15194e(0x144))/0xb);if(_0x183069===_0x2d7af2)break;else _0xeb573['push'](_0xeb573['shift']());}catch(_0x358690){_0xeb573['push'](_0xeb573['shift']());}}}(_0x66e5,0xced7d));const e={'docs-print':{'menu':_0x5d06df(0x13f)}};export{e as default};function _0x1677(_0x168198,_0x273c34){_0x168198=_0x168198-0x13e;const _0x66e567=_0x66e5();let _0x167773=_0x66e567[_0x168198];return _0x167773;}function _0x66e5(){const _0x3f08b4=['1155YZTWva','6lucdwk','20058VHrVii','1811432Rziivz','970VvQpoI','101810NoOjtg','2344zkaJiM','Drucken','27585xZgbmI','372398rwNnIa','1037206uIoWSX','6081900FfHtuB'];_0x66e5=function(){return _0x3f08b4;};return _0x66e5();}
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1b52(){const _0xb6ca5e=['Print','8221782cNwIep','4887050FImQmB','2403NBGbqi','2260ukRyFZ','2472996NMJxYo','4126947AtRBVe','10208UUznQG','40912zBUQco','785952zIEJwf','10Hbaatd','2vNxBPV'];_0x1b52=function(){return _0xb6ca5e;};return _0x1b52();}const _0x1ccc02=_0x34fa;(function(_0x19e64b,_0x8c4157){const _0x161b3a=_0x34fa,_0x1c5e4d=_0x19e64b();while(!![]){try{const _0x55264e=-parseInt(_0x161b3a(0x19a))/0x1+parseInt(_0x161b3a(0x19c))/0x2*(parseInt(_0x161b3a(0x197))/0x3)+-parseInt(_0x161b3a(0x196))/0x4*(-parseInt(_0x161b3a(0x19b))/0x5)+-parseInt(_0x161b3a(0x192))/0x6+-parseInt(_0x161b3a(0x193))/0x7+parseInt(_0x161b3a(0x199))/0x8*(parseInt(_0x161b3a(0x194))/0x9)+-parseInt(_0x161b3a(0x195))/0xa*(parseInt(_0x161b3a(0x198))/0xb);if(_0x55264e===_0x8c4157)break;else _0x1c5e4d['push'](_0x1c5e4d['shift']());}catch(_0x18045f){_0x1c5e4d['push'](_0x1c5e4d['shift']());}}}(_0x1b52,0xdf032));function _0x34fa(_0x309634,_0x18714a){_0x309634=_0x309634-0x191;const _0x1b526b=_0x1b52();let _0x34fac2=_0x1b526b[_0x309634];return _0x34fac2;}const e={'docs-print':{'menu':_0x1ccc02(0x191)}};export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x45553f=_0x4a4a;function _0x4a4a(_0x3e56a0,_0x154fc3){_0x3e56a0=_0x3e56a0-0xe8;const _0x4ff820=_0x4ff8();let _0x4a4a17=_0x4ff820[_0x3e56a0];return _0x4a4a17;}function _0x4ff8(){const _0x5cda5d=['4232793OInIvR','12925566xSdWYI','974470hWtWJj','4jqPcEV','Imprimir','13213520LZpTAd','2895045tFjBSX','6iUfyLN','9979809jebhDs','3472892BwCJbq'];_0x4ff8=function(){return _0x5cda5d;};return _0x4ff8();}(function(_0x51344b,_0x4b8dbd){const _0x18dc7e=_0x4a4a,_0x2fbe64=_0x51344b();while(!![]){try{const _0x1c181d=-parseInt(_0x18dc7e(0xe8))/0x1+-parseInt(_0x18dc7e(0xef))/0x2+-parseInt(_0x18dc7e(0xf0))/0x3*(-parseInt(_0x18dc7e(0xe9))/0x4)+parseInt(_0x18dc7e(0xec))/0x5+-parseInt(_0x18dc7e(0xed))/0x6*(parseInt(_0x18dc7e(0xee))/0x7)+parseInt(_0x18dc7e(0xeb))/0x8+parseInt(_0x18dc7e(0xf1))/0x9;if(_0x1c181d===_0x4b8dbd)break;else _0x2fbe64['push'](_0x2fbe64['shift']());}catch(_0x356e86){_0x2fbe64['push'](_0x2fbe64['shift']());}}}(_0x4ff8,0xe5c91));const e={'docs-print':{'menu':_0x45553f(0xea)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3a93(_0x5375b0,_0x2c4957){_0x5375b0=_0x5375b0-0xd4;const _0x4d639f=_0x4d63();let _0x3a936f=_0x4d639f[_0x5375b0];return _0x3a936f;}(function(_0x3f9b91,_0x41f97f){const _0x170043=_0x3a93,_0x235fa0=_0x3f9b91();while(!![]){try{const _0x2fca42=-parseInt(_0x170043(0xe0))/0x1*(parseInt(_0x170043(0xdc))/0x2)+parseInt(_0x170043(0xd9))/0x3*(-parseInt(_0x170043(0xd4))/0x4)+parseInt(_0x170043(0xd6))/0x5*(-parseInt(_0x170043(0xde))/0x6)+-parseInt(_0x170043(0xd7))/0x7*(parseInt(_0x170043(0xd8))/0x8)+-parseInt(_0x170043(0xdd))/0x9*(-parseInt(_0x170043(0xdf))/0xa)+parseInt(_0x170043(0xdb))/0xb*(-parseInt(_0x170043(0xda))/0xc)+parseInt(_0x170043(0xd5))/0xd;if(_0x2fca42===_0x41f97f)break;else _0x235fa0['push'](_0x235fa0['shift']());}catch(_0x5cdda9){_0x235fa0['push'](_0x235fa0['shift']());}}}(_0x4d63,0x72790));const e={'docs-print':{'menu':'چاپ'}};export{e as default};function _0x4d63(){const _0x3167c1=['3320280ToANnY','880744oOdTAt','108312nsjNzl','39854022IADUWG','130535iDVUOJ','469iYMTPN','52888WHEamF','27bBWGWZ','3939420VEYnvj','22TgEdYp','2DNEnvR','9xlfqgq','162HNqnLm'];_0x4d63=function(){return _0x3167c1;};return _0x4d63();}
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x130e(){const _0x5ee854=['110sPjumj','2146215xSfjsu','13573tZZMak','2176XNfFce','2388714UwoUTO','3308388ijkgCY','3BuQtgD','10559142hpYPky','764548rcDeAu','766667zQOijw','Imprimer','1MzfMNP'];_0x130e=function(){return _0x5ee854;};return _0x130e();}const _0x505496=_0x50fd;function _0x50fd(_0x24388a,_0x1c79d4){_0x24388a=_0x24388a-0x15b;const _0x130ef6=_0x130e();let _0x50fd7a=_0x130ef6[_0x24388a];return _0x50fd7a;}(function(_0x3665d4,_0x123d57){const _0x1a5780=_0x50fd,_0x18c55a=_0x3665d4();while(!![]){try{const _0x163734=-parseInt(_0x1a5780(0x164))/0x1*(-parseInt(_0x1a5780(0x161))/0x2)+-parseInt(_0x1a5780(0x15f))/0x3*(-parseInt(_0x1a5780(0x15e))/0x4)+parseInt(_0x1a5780(0x166))/0x5+parseInt(_0x1a5780(0x15d))/0x6+-parseInt(_0x1a5780(0x15b))/0x7*(-parseInt(_0x1a5780(0x15c))/0x8)+-parseInt(_0x1a5780(0x160))/0x9+parseInt(_0x1a5780(0x165))/0xa*(-parseInt(_0x1a5780(0x162))/0xb);if(_0x163734===_0x123d57)break;else _0x18c55a['push'](_0x18c55a['shift']());}catch(_0x32b130){_0x18c55a['push'](_0x18c55a['shift']());}}}(_0x130e,0x9866c));const e={'docs-print':{'menu':_0x505496(0x163)}};export{e as default};
|
package/lib/es/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x75c3(){const _0x54f14b=['4633145CWuXLS','2765424KGSZEa','1103462ccPkpO','1180kZgNcW','70DvBgoZ','980264UHLwqC','7uyHMNQ','1857AQNyOK','1354653bkWkmR','330144giXVOF'];_0x75c3=function(){return _0x54f14b;};return _0x75c3();}function _0xf06f(_0x21e3b7,_0x51343b){_0x21e3b7=_0x21e3b7-0x1e9;const _0x75c39e=_0x75c3();let _0xf06fec=_0x75c39e[_0x21e3b7];return _0xf06fec;}(function(_0x3ed205,_0x433308){const _0x2e46ce=_0xf06f,_0x509bfa=_0x3ed205();while(!![]){try{const _0x1589a3=parseInt(_0x2e46ce(0x1eb))/0x1+parseInt(_0x2e46ce(0x1f2))/0x2+-parseInt(_0x2e46ce(0x1ed))/0x3*(parseInt(_0x2e46ce(0x1e9))/0x4)+parseInt(_0x2e46ce(0x1f0))/0x5+parseInt(_0x2e46ce(0x1ef))/0x6+-parseInt(_0x2e46ce(0x1ec))/0x7*(parseInt(_0x2e46ce(0x1f1))/0x8)+-parseInt(_0x2e46ce(0x1ee))/0x9*(parseInt(_0x2e46ce(0x1ea))/0xa);if(_0x1589a3===_0x433308)break;else _0x509bfa['push'](_0x509bfa['shift']());}catch(_0x5e28cb){_0x509bfa['push'](_0x509bfa['shift']());}}}(_0x75c3,0xe37a2));const e={'docs-print':{'menu':'Cetak'}};export{e as default};
|
package/lib/es/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xe4ef38=_0x17b4;(function(_0x5a21dd,_0x4e6c){const _0x249fe1=_0x17b4,_0x518533=_0x5a21dd();while(!![]){try{const _0x28ce74=parseInt(_0x249fe1(0x103))/0x1+-parseInt(_0x249fe1(0x10b))/0x2*(parseInt(_0x249fe1(0x101))/0x3)+-parseInt(_0x249fe1(0x102))/0x4+-parseInt(_0x249fe1(0x10a))/0x5*(parseInt(_0x249fe1(0x104))/0x6)+-parseInt(_0x249fe1(0x107))/0x7+parseInt(_0x249fe1(0x10c))/0x8*(-parseInt(_0x249fe1(0x105))/0x9)+-parseInt(_0x249fe1(0x108))/0xa*(-parseInt(_0x249fe1(0x106))/0xb);if(_0x28ce74===_0x4e6c)break;else _0x518533['push'](_0x518533['shift']());}catch(_0x33c8c7){_0x518533['push'](_0x518533['shift']());}}}(_0x5761,0xbd765));function _0x5761(){const _0x570119=['1381162dhRbRZ','54ybtddE','1332nNfhDn','1773222hAnAKh','5382566gFdlgA','140vCMCTg','Stampa','107230DRSgXb','858842MXZpcL','18520efSCjZ','3RfPEGa','4511840UDRytN'];_0x5761=function(){return _0x570119;};return _0x5761();}const e={'docs-print':{'menu':_0xe4ef38(0x109)}};function _0x17b4(_0x1509b4,_0x3e7c96){_0x1509b4=_0x1509b4-0x101;const _0x576179=_0x5761();let _0x17b449=_0x576179[_0x1509b4];return _0x17b449;}export{e as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x430c59,_0x53c091){const _0x350374=_0x201b,_0x3d3b19=_0x430c59();while(!![]){try{const _0x2bd3e6=parseInt(_0x350374(0x184))/0x1+parseInt(_0x350374(0x17e))/0x2*(-parseInt(_0x350374(0x17f))/0x3)+parseInt(_0x350374(0x183))/0x4+-parseInt(_0x350374(0x181))/0x5+-parseInt(_0x350374(0x180))/0x6+-parseInt(_0x350374(0x17d))/0x7*(-parseInt(_0x350374(0x182))/0x8)+-parseInt(_0x350374(0x17c))/0x9;if(_0x2bd3e6===_0x53c091)break;else _0x3d3b19['push'](_0x3d3b19['shift']());}catch(_0x106da6){_0x3d3b19['push'](_0x3d3b19['shift']());}}}(_0x597a,0xb69d1));function _0x597a(){const _0xaf0ec7=['4074282TUgHbB','1231785QPLxds','1355696qiGPmS','2683700mdgiJJ','1272788qKCJBu','11598714DUMPbr','49PHTBEf','335624bHZtzm','3qNThSW'];_0x597a=function(){return _0xaf0ec7;};return _0x597a();}const e={'docs-print':{'menu':'印刷'}};function _0x201b(_0x1ab6b8,_0x2aed84){_0x1ab6b8=_0x1ab6b8-0x17c;const _0x597a02=_0x597a();let _0x201bab=_0x597a02[_0x1ab6b8];return _0x201bab;}export{e as default};
|