@univerjs-pro/docs-print 0.20.1 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1d2396=_0x40f3;(function(_0x5d6590,_0x282ecd){const _0x3ef2c8=_0x40f3,_0x4e3d83=_0x5d6590();while(!![]){try{const _0x20e138=-parseInt(_0x3ef2c8(0xd0))/0x1*(-parseInt(_0x3ef2c8(0xbe))/0x2)+-parseInt(_0x3ef2c8(0xc2))/0x3*(parseInt(_0x3ef2c8(0xd9))/0x4)+parseInt(_0x3ef2c8(0xf1))/0x5+parseInt(_0x3ef2c8(0xc7))/0x6+parseInt(_0x3ef2c8(0xcf))/0x7+-parseInt(_0x3ef2c8(0x140))/0x8*(-parseInt(_0x3ef2c8(0xbc))/0x9)+-parseInt(_0x3ef2c8(0x137))/0xa*(parseInt(_0x3ef2c8(0x107))/0xb);if(_0x20e138===_0x282ecd)break;else _0x4e3d83['push'](_0x4e3d83['shift']());}catch(_0x168d24){_0x4e3d83['push'](_0x4e3d83['shift']());}}}(_0x5c89,0x20723));import{CommandType as _0x55b3d7,DependentOn as _0x40da35,Disposable as _0x4aa79b,DisposableCollection as _0x420e97,DocumentFlavor as _0x405a93,ICommandService as _0x148390,IConfigService as _0x4d6c2f,IUniverInstanceService as _0x1f29ec,Inject as _0x5dd5c2,Injector as _0x564c2e,Plugin as _0x58cf96,UniverInstanceType as _0x3293f0,generateRandomId as _0x1c9c42,merge as _0x7313bb,registerDependencies as _0x15c93e}from'@univerjs/core';import{DocPrintInterceptorService as _0x46603a,SwitchDocModeCommand as _0x1b61b9,VIEWPORT_KEY as _0x2314ac}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x413b4f,Documents as _0x31447c,Engine as _0x86a510,IRenderManagerService as _0x5d04f1,Scene as _0x595ec1,Viewport as _0x4097fd}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x53ea4d,UniverLicensePlugin as _0x4c48f8,getDocFeatureLimit as _0x5c8930,getLicenseInfo as _0x3d9cad,isFeatureAuthorizedWithinTime as _0x4e4567,isLocalCheck as _0x353877}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x110180,PRINT_CONTAINER_CLASS as _0x1dad64,PrintDirection as _0x152c11,createPrintStyle as _0x57ffc4}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x51ae21}from'@univerjs/docs';import{ComponentManager as _0x1c5eea,IGlobalZoneService as _0x3b6f41,IMenuManagerService as _0x40daf9,MenuItemType as _0x3619ee,RibbonStartGroup as _0x4d66e0,getMenuHiddenObservable as _0x35bcf4}from'@univerjs/ui';import{UniverNetworkPlugin as _0x134407}from'@univerjs/network';import{PrintIcon as _0x2fcbea}from'@univerjs/icons';function _0x40f3(_0x3f6452,_0x43f917){_0x3f6452=_0x3f6452-0xbc;const _0x5c8961=_0x5c89();let _0x40f3fb=_0x5c8961[_0x3f6452];return _0x40f3fb;}function z(_0x2b721f){'@babel/helpers - typeof';const _0x1488d9=_0x40f3;return z=typeof Symbol==_0x1488d9(0xd4)&&typeof Symbol['iterator']=='symbol'?function(_0x26272a){return typeof _0x26272a;}:function(_0x5561ec){const _0x218b44=_0x1488d9;return _0x5561ec&&typeof Symbol==_0x218b44(0xd4)&&_0x5561ec['constructor']===Symbol&&_0x5561ec!==Symbol[_0x218b44(0xc4)]?_0x218b44(0xc1):typeof _0x5561ec;},z(_0x2b721f);}function _0x5c89(){const _0x399bd2=['setConfig','7490iZCHQB','absolute','_effects','div','onbeforeprint','_renderManagerService','VIEW_MAIN','_unitId','map','8gGtuIA','print.menu','UNIVER_DOCS_PRINT','left','1756341rNqAtT','_page','262sMkofj','root','with','symbol','18YxbHgX','render','prototype','getUnitId','_documents','1188360PNchza','BUTTON','_initMenus','length','getDocumentStyle','OTHERS','_skeleton','mainComponent','507269YhrNhr','1681xmIjjG','onReady','prepare','appendChild','function','PrintIcon','type','_addViewport','PRINTING_DOM_COLLECT','140516sRkaBg','Skeleton\x20data\x20is\x20not\x20found','call','_commandService','top','pageWidth','addObject','min','OPERATION','Printing','string','removeChild','print','getCurrentUnitOfType','100%','width','message','getOffsetConfig','syncExecuteCommand','_univerInstanceService','className','onStarting','0px','_initRenderer','828040AUqMHI','getUnit','_currentRender','style','get','mpn','valid','getInterceptPoints','save','_injector','__DocPrintRender__','_addComponent','_paperSize','version','_engine','restore','dispose','setId','forEach','_configService','_initCommands','_componentManager','7458FGmlcI','menu','packageName','createElement','makeDirty','disposeWithMe','pages','_config','getConfig','_menuManagerService','_globalZoneService','timeValid','Render\x20is\x20not\x20found','getSkeletonData','defineProperty','_root','isPro','TRADITIONAL','fill','mergeMenu','getContext','_viewMain','getRenderById','_skeletonData','_key','container','getCanvas','PRINTING_COMPONENT_COLLECT','_offsetConfig','_scene','_calculateLayout','body','pluginName','setContainer','page','Pages\x20are\x20not\x20found','getOwnPropertyDescriptor','_container','decorate','height','interceptor','scale','getSkeleton','bottom','UNIVER_DOC','object','0.20.1'];_0x5c89=function(){return _0x399bd2;};return _0x5c89();}function B(_0x1ac3aa,_0x43ec25){const _0x3433da=_0x40f3;if(z(_0x1ac3aa)!=_0x3433da(0x134)||!_0x1ac3aa)return _0x1ac3aa;var _0x9dc417=_0x1ac3aa[Symbol['toPrimitive']];if(_0x9dc417!==void 0x0){var _0x3fee89=_0x9dc417[_0x3433da(0xdb)](_0x1ac3aa,_0x43ec25||'default');if(z(_0x3fee89)!=_0x3433da(0x134))return _0x3fee89;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x43ec25===_0x3433da(0xe3)?String:Number)(_0x1ac3aa);}function V(_0x141c46){const _0x3bd46d=_0x40f3;var _0x410833=B(_0x141c46,_0x3bd46d(0xe3));return z(_0x410833)==_0x3bd46d(0xc1)?_0x410833:_0x410833+'';}function H(_0x3ae3ef,_0x27251d,_0x5d3055){const _0x5b9c8d=_0x40f3;return(_0x27251d=V(_0x27251d))in _0x3ae3ef?Object[_0x5b9c8d(0x115)](_0x3ae3ef,_0x27251d,{'value':_0x5d3055,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3ae3ef[_0x27251d]=_0x5d3055,_0x3ae3ef;}var U=class extends _0x4aa79b{get[_0x1d2396(0x120)](){const _0x30a1bd=_0x1d2396;return this[_0x30a1bd(0x12c)];}get[_0x1d2396(0xbf)](){const _0x5d4d7c=_0x1d2396;return this[_0x5d4d7c(0x116)];}get[_0x1d2396(0xf3)](){const _0x3b63e0=_0x1d2396;let _0x3159de=this[_0x3b63e0(0xfa)]['get'](_0x5d04f1)[_0x3b63e0(0x11d)](this[_0x3b63e0(0x13e)]);if(!_0x3159de)throw Error(_0x3b63e0(0x113));return _0x3159de;}get[_0x1d2396(0xcd)](){const _0x4d9868=_0x1d2396;return this[_0x4d9868(0xf3)][_0x4d9868(0xc0)](_0x51ae21)[_0x4d9868(0x131)]();}get[_0x1d2396(0x11e)](){const _0x4af31e=_0x1d2396;let _0x157463=this['_skeleton'][_0x4af31e(0x114)]();if(!_0x157463)throw Error(_0x4af31e(0xda));return _0x157463;}get[_0x1d2396(0xfd)](){const _0x396ae0=_0x1d2396;let _0x560781=this[_0x396ae0(0x11e)]['pages'][0x0];return{'width':_0x560781[_0x396ae0(0xde)],'height':_0x560781['pageHeight']};}constructor(_0x3880bb,_0xa5ae29,_0x5a8c62,_0x22c007){const _0x283662=_0x1d2396;super(),this[_0x283662(0xfa)]=_0x3880bb,this[_0x283662(0xbd)]=_0xa5ae29,this[_0x283662(0x13e)]=_0x5a8c62,this[_0x283662(0x123)]=_0x22c007,H(this,_0x283662(0x12c),document[_0x283662(0x10a)]('div')),H(this,_0x283662(0x116),document['createElement'](_0x283662(0x13a))),H(this,_0x283662(0xff),void 0x0),H(this,'_scene',void 0x0),H(this,'_key',void 0x0),H(this,_0x283662(0xc6),void 0x0),H(this,_0x283662(0x11c),void 0x0),H(this,'_effects',new _0x420e97()),this[_0x283662(0x11f)]=_0x1c9c42(0x4),this[_0x283662(0xf0)](),this[_0x283662(0x10c)]({'dispose':()=>{const _0x2f5279=_0x283662;this[_0x2f5279(0xff)][_0x2f5279(0x101)](),this[_0x2f5279(0x124)][_0x2f5279(0x101)](),this[_0x2f5279(0x139)][_0x2f5279(0x101)]();}});}[_0x1d2396(0x125)](){const _0xebbf0e=_0x1d2396;let {docsTop:_0x4f75f,docsLeft:_0x4c9d9f}=this[_0xebbf0e(0xc6)][_0xebbf0e(0xea)](),_0x2bb1d7=this[_0xebbf0e(0xfd)]['height'],_0x48d674=this[_0xebbf0e(0xfd)][_0xebbf0e(0xe8)];return{'top':_0x4f75f+(_0x4f75f+_0x2bb1d7)*this[_0xebbf0e(0xbd)],'bottom':_0x4f75f+(_0x4f75f+_0x2bb1d7)*(this['_page']+0x1),'left':_0x4c9d9f,'right':_0x4c9d9f+_0x48d674};}[_0x1d2396(0xf0)](){const _0x238e7e=_0x1d2396;this[_0x238e7e(0xff)]=new _0x86a510('',{'elementWidth':this[_0x238e7e(0xfd)][_0x238e7e(0xe8)],'elementHeight':this[_0x238e7e(0xfd)]['height'],'dpr':0x1,'renderMode':_0x413b4f[_0x238e7e(0xe2)]}),this[_0x238e7e(0x124)]=new _0x595ec1(this[_0x238e7e(0x11f)],this[_0x238e7e(0xff)]),this[_0x238e7e(0x124)][_0x238e7e(0x130)](0x1,0x1),this[_0x238e7e(0xff)][_0x238e7e(0x128)](this[_0x238e7e(0x12c)],!0x1),this[_0x238e7e(0xff)][_0x238e7e(0x121)]()[_0x238e7e(0x11b)]()[_0x238e7e(0x102)](this['_key']+'_'+_0x1c9c42(0x4)),this[_0x238e7e(0xfc)](),this[_0x238e7e(0xd7)]();}[_0x1d2396(0xfc)](){const _0x47c544=_0x1d2396;let {pageMarginLeft:_0x44dff0,pageMarginTop:_0x2bca3e,docsLeft:_0x528495,docsTop:_0x2f8774}=this[_0x47c544(0x123)],_0x431021={'pageMarginLeft':_0x44dff0,'pageMarginTop':_0x2bca3e},_0x1df20b=new _0x31447c(_0x47c544(0xfb),this[_0x47c544(0xcd)],_0x431021);_0x1df20b['translate'](_0x528495,_0x2f8774),this[_0x47c544(0x124)][_0x47c544(0xdf)](_0x1df20b),this[_0x47c544(0xc6)]=_0x1df20b;let _0x8309b8=this[_0x47c544(0xfa)]['get'](_0x46603a);_0x8309b8['interceptor']['fetchThroughInterceptors'](_0x8309b8[_0x47c544(0x12f)][_0x47c544(0xf8)]()[_0x47c544(0x122)])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x47c544(0x124)],'engine':this[_0x47c544(0xff)],'root':this[_0x47c544(0x116)],'documents':this[_0x47c544(0xc6)],'skeleton':this[_0x47c544(0xcd)]});}['_addViewport'](){const _0x2f88a0=_0x1d2396;this[_0x2f88a0(0x11c)]=new _0x4097fd(_0x2314ac[_0x2f88a0(0x13d)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x1d2396(0xd2)](){const _0x286ae3=_0x1d2396;let _0x21338a=this[_0x286ae3(0x125)]();this[_0x286ae3(0x11c)]['updateScrollVal']({'viewportScrollX':_0x21338a[_0x286ae3(0x143)],'viewportScrollY':_0x21338a[_0x286ae3(0xdd)]}),this[_0x286ae3(0x116)][_0x286ae3(0xf4)]['position']=_0x286ae3(0x138),this[_0x286ae3(0x116)]['style'][_0x286ae3(0xdd)]=_0x286ae3(0xef),this[_0x286ae3(0x116)][_0x286ae3(0xf4)]['left']=_0x286ae3(0xef),this[_0x286ae3(0x116)]['style'][_0x286ae3(0xe8)]='100%',this[_0x286ae3(0x116)][_0x286ae3(0xf4)]['height']=_0x286ae3(0xe7),this[_0x286ae3(0x139)]=new _0x420e97();let _0x36e3d7=this[_0x286ae3(0xfa)][_0x286ae3(0xf5)](_0x46603a);_0x36e3d7['interceptor']['fetchThroughInterceptors'](_0x36e3d7[_0x286ae3(0x12f)][_0x286ae3(0xf8)]()[_0x286ae3(0xd8)])(this[_0x286ae3(0x139)],{'unitId':this['_unitId'],'scene':this[_0x286ae3(0x124)],'engine':this['_engine'],'root':this[_0x286ae3(0x116)],'skeleton':this[_0x286ae3(0xcd)],'offset':{'x':_0x21338a[_0x286ae3(0x143)],'y':_0x21338a[_0x286ae3(0xdd)]},'bound':{'top':_0x21338a[_0x286ae3(0xdd)],'left':_0x21338a['left'],'right':_0x21338a['right'],'bottom':_0x21338a[_0x286ae3(0x132)]}});}[_0x1d2396(0xc3)](){const _0x1f879f=_0x1d2396;let _0x2b35c5=this[_0x1f879f(0xff)][_0x1f879f(0x121)]()[_0x1f879f(0x11b)]();this[_0x1f879f(0xc6)]['makeForceDirty'](),this[_0x1f879f(0x124)][_0x1f879f(0x10b)](),_0x2b35c5[_0x1f879f(0xf9)](),this[_0x1f879f(0x124)][_0x1f879f(0xc3)](),_0x2b35c5[_0x1f879f(0x100)]();}};function W(_0x4c5f76,_0x32ef96){return function(_0x5d0d57,_0x4abf69){_0x32ef96(_0x5d0d57,_0x4abf69,_0x4c5f76);};}function G(_0x2faf2f,_0x4dec53,_0x100918,_0x1625a1){const _0x1e2466=_0x1d2396;var _0x1e6b8a=arguments['length'],_0x5b09bc=_0x1e6b8a<0x3?_0x4dec53:_0x1625a1===null?_0x1625a1=Object[_0x1e2466(0x12b)](_0x4dec53,_0x100918):_0x1625a1,_0x382adf;if(typeof Reflect==_0x1e2466(0x134)&&typeof Reflect[_0x1e2466(0x12d)]=='function')_0x5b09bc=Reflect[_0x1e2466(0x12d)](_0x2faf2f,_0x4dec53,_0x100918,_0x1625a1);else{for(var _0x363e07=_0x2faf2f[_0x1e2466(0xca)]-0x1;_0x363e07>=0x0;_0x363e07--)(_0x382adf=_0x2faf2f[_0x363e07])&&(_0x5b09bc=(_0x1e6b8a<0x3?_0x382adf(_0x5b09bc):_0x1e6b8a>0x3?_0x382adf(_0x4dec53,_0x100918,_0x5b09bc):_0x382adf(_0x4dec53,_0x100918))||_0x5b09bc);}return _0x1e6b8a>0x3&&_0x5b09bc&&Object[_0x1e2466(0x115)](_0x4dec53,_0x100918,_0x5b09bc),_0x5b09bc;}const K=Number['parseInt'](0x69d9f405),q=(_0x1bf7c2,_0x2c8085,_0x5b1a96)=>{const _0x268e07=_0x1d2396;let _0x1cd5ce={'page':_0x1bf7c2,'isPro':!0x1,'timeValid':!0x1};if(!_0x2c8085||!_0x5b1a96)return _0x1cd5ce;let _0x523344=_0x3d9cad(_0x2c8085,_0x5b1a96);if(_0x523344[_0x268e07(0xf7)]){let _0x37b01=_0x523344[_0x268e07(0xe9)],_0x2192d9=_0x4e4567(_0x37b01,'df',K);_0x1cd5ce[_0x268e07(0x117)]=_0x2192d9,_0x1cd5ce[_0x268e07(0x112)]=_0x2192d9,_0x1cd5ce[_0x268e07(0x129)]=_0x5c8930(_0x37b01,_0x2192d9,_0x268e07(0xf6),_0x1bf7c2,_0x1bf7c2,0x0);}return _0x1cd5ce;};let J=class extends _0x4aa79b{constructor(_0x7e5b01,_0x476dea,_0x31e7d6,_0x56e070,_0x3c94ce){const _0x2aa25c=_0x1d2396;super(),this[_0x2aa25c(0xec)]=_0x7e5b01,this['_renderManagerService']=_0x476dea,this[_0x2aa25c(0xfa)]=_0x31e7d6,this['_configService']=_0x56e070,this[_0x2aa25c(0x111)]=_0x3c94ce;}['print'](_0x2d9295){const _0x16f2fc=_0x1d2396;var _0x39d57a,_0x4c6273;let {ls:_0x5649aa,pbk:_0x1b5497}=(_0x39d57a=this[_0x16f2fc(0x104)][_0x16f2fc(0x10f)](_0x53ea4d))==null?{}:_0x39d57a,_0x5d931c=_0x353877()?0x1/0x0:q(0x1,_0x5649aa,_0x1b5497)['page'];if(!this['_univerInstanceService'][_0x16f2fc(0xf2)](_0x2d9295,_0x3293f0[_0x16f2fc(0x133)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x2d10f0=this[_0x16f2fc(0x13c)][_0x16f2fc(0x11d)](_0x2d9295);if(!_0x2d10f0)throw Error(_0x16f2fc(0x113));let _0x26fb56=(_0x4c6273=_0x2d10f0[_0x16f2fc(0xc0)](_0x51ae21)[_0x16f2fc(0x131)]()['getSkeletonData']())==null?void 0x0:_0x4c6273[_0x16f2fc(0x10d)];if(!_0x26fb56)throw Error(_0x16f2fc(0x12a));let _0x5d8074={'width':_0x26fb56[0x0][_0x16f2fc(0xde)],'height':_0x26fb56[0x0]['pageHeight']},_0xff8e46=_0x26fb56['length'],_0x153f00=Math[_0x16f2fc(0xe0)](_0x5d931c,_0xff8e46),_0x1406ad=_0x2d10f0[_0x16f2fc(0xce)]['getOffsetConfig'](),_0x242817=document[_0x16f2fc(0x10a)]('div');_0x242817['className']=_0x1dad64;let _0x3631f6=Array(_0x153f00)[_0x16f2fc(0x119)](null)[_0x16f2fc(0x13f)]((_0x39bd40,_0x269a16)=>{const _0x19744d=_0x16f2fc;let _0xd13775=new U(this[_0x19744d(0xfa)],_0x269a16,_0x2d9295,_0x1406ad);return _0xd13775[_0x19744d(0x120)][_0x19744d(0xed)]=_0x110180,_0xd13775;});_0x3631f6[_0x16f2fc(0x103)](_0x558748=>{const _0x58a0b6=_0x16f2fc;_0x242817[_0x58a0b6(0xd3)](_0x558748['container']),_0x558748[_0x58a0b6(0x120)][_0x58a0b6(0xd3)](_0x558748[_0x58a0b6(0xbf)]),_0x558748[_0x58a0b6(0xd2)]();});let _0xf4eacb=_0x57ffc4(_0x5d8074[_0x16f2fc(0xe8)],_0x5d8074[_0x16f2fc(0x12e)],_0x152c11['Portrait']);return document[_0x16f2fc(0x126)]['appendChild'](_0xf4eacb),document[_0x16f2fc(0x126)][_0x16f2fc(0xd3)](_0x242817),new Promise(_0x474f1b=>{setTimeout(()=>{const _0x1885f4=_0x40f3;window[_0x1885f4(0x13b)]=()=>{_0x3631f6['forEach'](_0x39b008=>{_0x39b008['render']();});},window['onafterprint']=()=>{const _0x170412=_0x1885f4;_0x3631f6[_0x170412(0x103)](_0x2ba341=>{const _0x4768d3=_0x170412;_0x2ba341[_0x4768d3(0x101)]();}),document[_0x170412(0x126)][_0x170412(0xe4)](_0x242817),document['body']['removeChild'](_0xf4eacb),this[_0x170412(0x111)]['close'](),_0x474f1b(!0x0);},window[_0x1885f4(0xe5)]();},0x64);});}};J=G([W(0x0,_0x1f29ec),W(0x1,_0x5d04f1),W(0x2,_0x5dd5c2(_0x564c2e)),W(0x3,_0x4d6c2f),W(0x4,_0x3b6f41)],J);const Y={'id':'docs.operation.print','type':_0x55b3d7[_0x1d2396(0xe1)],'handler':async _0x47206f=>{const _0x3d4f39=_0x1d2396;let _0x4fd832=_0x47206f[_0x3d4f39(0xf5)](_0x1f29ec),_0x55a103=_0x47206f[_0x3d4f39(0xf5)](J),_0xde5703=_0x47206f[_0x3d4f39(0xf5)](_0x5d04f1),_0x341a37=_0x47206f['get'](_0x148390),_0x30f5c6=_0x4fd832[_0x3d4f39(0xe6)](_0x3293f0[_0x3d4f39(0x133)]);if(!_0x30f5c6)return!0x1;if(!_0xde5703['getRenderById'](_0x30f5c6['getUnitId']()))throw Error(_0x3d4f39(0x113));let _0x4552ee=_0x30f5c6[_0x3d4f39(0xcb)]()['documentFlavor'];return _0x4552ee!==_0x405a93[_0x3d4f39(0x118)]&&_0x341a37[_0x3d4f39(0xeb)](_0x1b61b9['id']),await _0x55a103[_0x3d4f39(0xe5)](_0x30f5c6[_0x3d4f39(0xc5)]()),_0x4552ee!==_0x405a93[_0x3d4f39(0x118)]&&_0x341a37[_0x3d4f39(0xeb)](_0x1b61b9['id']),!0x0;}},X=_0x1d2396(0x142),Z={};var ie='@univerjs-pro/docs-print',ae=_0x1d2396(0x135);function oe(_0x51d184){const _0x33e45b=_0x1d2396;return{'id':Y['id'],'type':_0x3619ee[_0x33e45b(0xc8)],'title':_0x33e45b(0x141),'icon':_0x33e45b(0xd5),'tooltip':_0x33e45b(0x141),'hidden$':_0x35bcf4(_0x51d184,_0x3293f0[_0x33e45b(0x133)])};}const se={[_0x4d66e0[_0x1d2396(0xcc)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x4aa79b{constructor(_0x3f9c1b,_0x3b4167,_0x51554f){const _0x407e6f=_0x1d2396;super(),this['_commandService']=_0x3f9c1b,this[_0x407e6f(0x110)]=_0x3b4167,this['_componentManager']=_0x51554f,this[_0x407e6f(0xc9)](),this[_0x407e6f(0x105)](),this['_initComponents']();}[_0x1d2396(0xc9)](){const _0x1c4845=_0x1d2396;this['_menuManagerService'][_0x1c4845(0x11a)](se);}[_0x1d2396(0x105)](){const _0x345ff1=_0x1d2396;this['disposeWithMe'](this[_0x345ff1(0xdc)]['registerCommand'](Y));}['_initComponents'](){const _0x25bba0=_0x1d2396;[[_0x25bba0(0xd5),_0x2fcbea]][_0x25bba0(0x103)](([_0xb1859a,_0x33f566])=>{const _0x32ad76=_0x25bba0;this[_0x32ad76(0x106)]['register'](_0xb1859a,_0x33f566);});}};Q=G([W(0x0,_0x148390),W(0x1,_0x40daf9),W(0x2,_0x5dd5c2(_0x1c5eea))],Q);let $=class extends _0x58cf96{constructor(_0x3df94c=Z,_0x4a423a,_0x1b1fa1){const _0x4b4750=_0x1d2396;super(),this[_0x4b4750(0x10e)]=_0x3df94c,this[_0x4b4750(0xfa)]=_0x4a423a,this[_0x4b4750(0x104)]=_0x1b1fa1;let {menu:_0x55643e,..._0x44db79}=_0x7313bb({},Z,this[_0x4b4750(0x10e)]);_0x55643e&&this['_configService'][_0x4b4750(0x136)](_0x4b4750(0x108),_0x55643e,{'merge':!0x0}),this[_0x4b4750(0x104)][_0x4b4750(0x136)](X,_0x44db79);}[_0x1d2396(0xee)](){const _0x5d7660=_0x1d2396;_0x15c93e(this[_0x5d7660(0xfa)],[[J],[Q]]);}[_0x1d2396(0xd1)](){const _0x34e202=_0x1d2396;this[_0x34e202(0xfa)][_0x34e202(0xf5)](Q);}};H($,_0x1d2396(0x127),_0x1d2396(0x142)),H($,_0x1d2396(0x109),ie),H($,_0x1d2396(0xfe),ae),H($,_0x1d2396(0xd6),_0x3293f0[_0x1d2396(0x133)]),$=G([_0x40da35(_0x134407,_0x4c48f8),W(0x1,_0x5dd5c2(_0x564c2e)),W(0x2,_0x4d6c2f)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0xe4be79=_0x4b6b;(function(_0x41cfc7,_0x1710eb){const _0x572738=_0x4b6b,_0x37f823=_0x41cfc7();while(!![]){try{const _0x7e6927=-parseInt(_0x572738(0x1bc))/0x1*(-parseInt(_0x572738(0x1be))/0x2)+-parseInt(_0x572738(0x1fa))/0x3*(parseInt(_0x572738(0x1bb))/0x4)+parseInt(_0x572738(0x1ea))/0x5*(parseInt(_0x572738(0x1c6))/0x6)+parseInt(_0x572738(0x219))/0x7*(-parseInt(_0x572738(0x1e0))/0x8)+parseInt(_0x572738(0x1d1))/0x9*(parseInt(_0x572738(0x203))/0xa)+parseInt(_0x572738(0x215))/0xb+parseInt(_0x572738(0x1ab))/0xc;if(_0x7e6927===_0x1710eb)break;else _0x37f823['push'](_0x37f823['shift']());}catch(_0x98679c){_0x37f823['push'](_0x37f823['shift']());}}}(_0x23f4,0xb5604));import{CommandType,DependentOn,Disposable,DisposableCollection,DocumentFlavor,ICommandService,IConfigService,IUniverInstanceService,Inject,Injector,Plugin,UniverInstanceType,generateRandomId,merge,registerDependencies}from'@univerjs/core';import{DocPrintInterceptorService,SwitchDocModeCommand,VIEWPORT_KEY}from'@univerjs/docs-ui';import{CanvasRenderMode,Documents,Engine,IRenderManagerService,Scene,Viewport}from'@univerjs/engine-render';function _0x23f4(){const _0x45658f=['decorate','_initCommands','VIEW_MAIN','onbeforeprint','default','bottom','_documents','object','length','restore','mergeMenu','parseInt','makeDirty','pages','updateScrollVal','Portrait','string','className','UNIVER_DOCS_PRINT','root','1673232YaTeQL','createElement','DocumentDataModel\x20is\x20not\x20found','_addComponent','fetchThroughInterceptors','close','_key','_currentRender','OPERATION','syncExecuteCommand','defineProperty','translate','100%','makeForceDirty','timeValid','version','20XiHGJs','1CaNmng','prepare','272698eZudcw','getInterceptPoints','onafterprint','getCurrentUnitOfType','documentFlavor','_page','page','dispose','12SkgRah','onStarting','getSkeletonData','_unitId','get','BUTTON','_config','right','constructor','setId','with','90EqJGHr','body','_injector','interceptor','OTHERS','_addViewport','getOwnPropertyDescriptor','message','menu','Skeleton\x20data\x20is\x20not\x20found','PrintIcon','call','_calculateLayout','style','_paperSize','3208waDBon','getUnitId','_container','_initMenus','isPro','getSkeleton','position','Pages\x20are\x20not\x20found','appendChild','width','1790855jlfijM','scale','_configService','getRenderById','docs.operation.print','absolute','getDocumentStyle','setContainer','_initRenderer','top','register','getUnit','_menuManagerService','removeChild','getCanvas','_commandService','737889zWRQjw','fill','POSITIVE_INFINITY','min','div','packageName','_root','_effects','getContext','1178990wXjaQn','container','Render\x20is\x20not\x20found','onReady','_engine','symbol','mainComponent','map','left','getOffsetConfig','function','prototype','registerCommand','_skeletonData','getConfig','UNIVER_DOC','_skeleton','disposeWithMe','5567881pwOrbX','render','_scene','forEach','12299yabyDf','_renderManagerService','print.menu','addObject','Printing','valid','mpn','_viewMain','_offsetConfig','_initComponents','__DocPrintRender__','print','pageHeight','0px','height','_componentManager'];_0x23f4=function(){return _0x45658f;};return _0x23f4();}import{LS_CONFIG_KEY,UniverLicensePlugin,getDocFeatureLimit,getLicenseInfo,isFeatureAuthorizedWithinTime,isLocalCheck}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS,PRINT_CONTAINER_CLASS,PrintDirection,createPrintStyle}from'@univerjs-pro/print';import{DocSkeletonManagerService}from'@univerjs/docs';import{ComponentManager,IGlobalZoneService,IMenuManagerService,MenuItemType,RibbonStartGroup,getMenuHiddenObservable}from'@univerjs/ui';import{UniverNetworkPlugin}from'@univerjs/network';import{PrintIcon}from'@univerjs/icons';function _typeof(_0x4d45bb){'@babel/helpers - typeof';const _0x3742bd=_0x4b6b;return _typeof=_0x3742bd(0x20d)==typeof Symbol&&_0x3742bd(0x208)==typeof Symbol['iterator']?function(_0x295df9){return typeof _0x295df9;}:function(_0x29e195){const _0x1fc0a0=_0x3742bd;return _0x29e195&&'function'==typeof Symbol&&_0x29e195[_0x1fc0a0(0x1ce)]===Symbol&&_0x29e195!==Symbol[_0x1fc0a0(0x20e)]?'symbol':typeof _0x29e195;},_typeof(_0x4d45bb);}function toPrimitive(_0x2c2f3c,_0xa034ff){const _0x569829=_0x4b6b;if('object'!=_typeof(_0x2c2f3c)||!_0x2c2f3c)return _0x2c2f3c;var _0x362594=_0x2c2f3c[Symbol['toPrimitive']];if(void 0x0!==_0x362594){var _0x1a22a8=_0x362594[_0x569829(0x1dc)](_0x2c2f3c,_0xa034ff||_0x569829(0x22d));if(_0x569829(0x230)!=_typeof(_0x1a22a8))return _0x1a22a8;throw new TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x569829(0x239)===_0xa034ff?String:Number)(_0x2c2f3c);}function toPropertyKey(_0x446019){const _0x3b90f6=_0x4b6b;var _0x3269fd=toPrimitive(_0x446019,'string');return _0x3b90f6(0x208)==_typeof(_0x3269fd)?_0x3269fd:_0x3269fd+'';}function _defineProperty(_0x4776dd,_0x5b3781,_0x25d978){const _0x4b0a44=_0x4b6b;return(_0x5b3781=toPropertyKey(_0x5b3781))in _0x4776dd?Object[_0x4b0a44(0x1b5)](_0x4776dd,_0x5b3781,{'value':_0x25d978,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4776dd[_0x5b3781]=_0x25d978,_0x4776dd;}var DocPrintPageCanvasView=class extends Disposable{get['container'](){const _0x599130=_0x4b6b;return this[_0x599130(0x1e2)];}get[_0xe4be79(0x1aa)](){const _0x1914df=_0xe4be79;return this[_0x1914df(0x200)];}get[_0xe4be79(0x1b2)](){const _0x598ffc=_0xe4be79,_0x1839b1=this[_0x598ffc(0x1d3)][_0x598ffc(0x1ca)](IRenderManagerService)['getRenderById'](this[_0x598ffc(0x1c9)]);if(!_0x1839b1)throw new Error(_0x598ffc(0x205));return _0x1839b1;}get['_skeleton'](){const _0x4528b2=_0xe4be79;return this[_0x4528b2(0x1b2)][_0x4528b2(0x1d0)](DocSkeletonManagerService)[_0x4528b2(0x1e5)]();}get[_0xe4be79(0x210)](){const _0x3ce5ee=_0xe4be79,_0x4842b2=this[_0x3ce5ee(0x213)][_0x3ce5ee(0x1c8)]();if(!_0x4842b2)throw new Error(_0x3ce5ee(0x1da));return _0x4842b2;}get[_0xe4be79(0x1df)](){const _0x34cd0b=_0xe4be79,_0xf0ef8=this[_0x34cd0b(0x210)][_0x34cd0b(0x236)][0x0];return{'width':_0xf0ef8['pageWidth'],'height':_0xf0ef8[_0x34cd0b(0x225)]};}constructor(_0x4dd9ce,_0x42cdc9,_0x3d4ee5,_0x3f449e){const _0x59315b=_0xe4be79;super(),this['_injector']=_0x4dd9ce,this[_0x59315b(0x1c3)]=_0x42cdc9,this[_0x59315b(0x1c9)]=_0x3d4ee5,this[_0x59315b(0x221)]=_0x3f449e,_defineProperty(this,'_container',document[_0x59315b(0x1ac)](_0x59315b(0x1fe))),_defineProperty(this,_0x59315b(0x200),document[_0x59315b(0x1ac)](_0x59315b(0x1fe))),_defineProperty(this,_0x59315b(0x207),void 0x0),_defineProperty(this,_0x59315b(0x217),void 0x0),_defineProperty(this,_0x59315b(0x1b1),void 0x0),_defineProperty(this,_0x59315b(0x22f),void 0x0),_defineProperty(this,_0x59315b(0x220),void 0x0),_defineProperty(this,_0x59315b(0x201),new DisposableCollection()),this[_0x59315b(0x1b1)]=generateRandomId(0x4),this[_0x59315b(0x1f2)](),this[_0x59315b(0x214)]({'dispose':()=>{const _0x354005=_0x59315b;this[_0x354005(0x207)][_0x354005(0x1c5)](),this[_0x354005(0x217)]['dispose'](),this[_0x354005(0x201)]['dispose']();}});}[_0xe4be79(0x1dd)](){const _0x131dc1=_0xe4be79,{docsTop:_0x16f4e0,docsLeft:_0x416ad0}=this[_0x131dc1(0x22f)]['getOffsetConfig'](),_0x3b073d=this[_0x131dc1(0x1df)][_0x131dc1(0x227)],_0x6683a2=this['_paperSize'][_0x131dc1(0x1e9)];return{'top':_0x16f4e0+(_0x16f4e0+_0x3b073d)*this[_0x131dc1(0x1c3)],'bottom':_0x16f4e0+(_0x16f4e0+_0x3b073d)*(this[_0x131dc1(0x1c3)]+0x1),'left':_0x416ad0,'right':_0x416ad0+_0x6683a2};}[_0xe4be79(0x1f2)](){const _0x3a02ad=_0xe4be79,_0x2698e1=0x1;this['_engine']=new Engine('',{'elementWidth':this[_0x3a02ad(0x1df)][_0x3a02ad(0x1e9)],'elementHeight':this[_0x3a02ad(0x1df)][_0x3a02ad(0x227)],'dpr':0x1,'renderMode':CanvasRenderMode[_0x3a02ad(0x21d)]}),this[_0x3a02ad(0x217)]=new Scene(this['_key'],this[_0x3a02ad(0x207)]),this[_0x3a02ad(0x217)][_0x3a02ad(0x1eb)](_0x2698e1,_0x2698e1),this[_0x3a02ad(0x207)][_0x3a02ad(0x1f1)](this[_0x3a02ad(0x1e2)],![]),this[_0x3a02ad(0x207)][_0x3a02ad(0x1f8)]()['getContext']()[_0x3a02ad(0x1cf)](this[_0x3a02ad(0x1b1)]+'_'+generateRandomId(0x4)),this[_0x3a02ad(0x1ae)](),this[_0x3a02ad(0x1d6)]();}['_addComponent'](){const _0x40fc31=_0xe4be79,{pageMarginLeft:_0x338edd,pageMarginTop:_0x5cd317,docsLeft:_0x4bfd59,docsTop:_0x3c687b}=this[_0x40fc31(0x221)],_0x2a0235={'pageMarginLeft':_0x338edd,'pageMarginTop':_0x5cd317},_0x47b193=new Documents(_0x40fc31(0x223),this[_0x40fc31(0x213)],_0x2a0235);_0x47b193[_0x40fc31(0x1b6)](_0x4bfd59,_0x3c687b),this[_0x40fc31(0x217)][_0x40fc31(0x21c)](_0x47b193),this['_documents']=_0x47b193;const _0x351bae=this[_0x40fc31(0x1d3)][_0x40fc31(0x1ca)](DocPrintInterceptorService);_0x351bae[_0x40fc31(0x1d4)][_0x40fc31(0x1af)](_0x351bae[_0x40fc31(0x1d4)][_0x40fc31(0x1bf)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x40fc31(0x1c9)],'scene':this[_0x40fc31(0x217)],'engine':this[_0x40fc31(0x207)],'root':this['_root'],'documents':this[_0x40fc31(0x22f)],'skeleton':this['_skeleton']});}[_0xe4be79(0x1d6)](){const _0x2a69b0=_0xe4be79;this[_0x2a69b0(0x220)]=new Viewport(VIEWPORT_KEY[_0x2a69b0(0x22b)],this['_scene'],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}[_0xe4be79(0x1bd)](){const _0x2bccb0=_0xe4be79,_0x1d69e2=this[_0x2bccb0(0x1dd)]();this['_viewMain'][_0x2bccb0(0x237)]({'viewportScrollX':_0x1d69e2[_0x2bccb0(0x20b)],'viewportScrollY':_0x1d69e2['top']}),this[_0x2bccb0(0x200)]['style'][_0x2bccb0(0x1e6)]=_0x2bccb0(0x1ef),this[_0x2bccb0(0x200)]['style'][_0x2bccb0(0x1f3)]=_0x2bccb0(0x226),this['_root'][_0x2bccb0(0x1de)]['left']='0px',this[_0x2bccb0(0x200)][_0x2bccb0(0x1de)]['width']=_0x2bccb0(0x1b7),this[_0x2bccb0(0x200)][_0x2bccb0(0x1de)][_0x2bccb0(0x227)]=_0x2bccb0(0x1b7),this['_effects']=new DisposableCollection();const _0x4d36cb=this[_0x2bccb0(0x1d3)]['get'](DocPrintInterceptorService);_0x4d36cb['interceptor']['fetchThroughInterceptors'](_0x4d36cb[_0x2bccb0(0x1d4)][_0x2bccb0(0x1bf)]()['PRINTING_DOM_COLLECT'])(this[_0x2bccb0(0x201)],{'unitId':this[_0x2bccb0(0x1c9)],'scene':this[_0x2bccb0(0x217)],'engine':this['_engine'],'root':this[_0x2bccb0(0x200)],'skeleton':this[_0x2bccb0(0x213)],'offset':{'x':_0x1d69e2[_0x2bccb0(0x20b)],'y':_0x1d69e2[_0x2bccb0(0x1f3)]},'bound':{'top':_0x1d69e2['top'],'left':_0x1d69e2[_0x2bccb0(0x20b)],'right':_0x1d69e2[_0x2bccb0(0x1cd)],'bottom':_0x1d69e2[_0x2bccb0(0x22e)]}});}['render'](){const _0x19ae53=_0xe4be79,_0x5169ea=this[_0x19ae53(0x207)][_0x19ae53(0x1f8)]()[_0x19ae53(0x202)]();this[_0x19ae53(0x22f)][_0x19ae53(0x1b8)](),this[_0x19ae53(0x217)][_0x19ae53(0x235)](),_0x5169ea['save'](),this[_0x19ae53(0x217)][_0x19ae53(0x216)](),_0x5169ea[_0x19ae53(0x232)]();}};function __decorateParam(_0x39cc28,_0x455ddc){return function(_0x4a8898,_0x19d53e){_0x455ddc(_0x4a8898,_0x19d53e,_0x39cc28);};}function __decorate(_0xda613a,_0x48fbad,_0x1ff5d6,_0x583fc5){const _0x2b5d67=_0xe4be79;var _0x45c116=arguments[_0x2b5d67(0x231)],_0x249193=_0x45c116<0x3?_0x48fbad:_0x583fc5===null?_0x583fc5=Object[_0x2b5d67(0x1d7)](_0x48fbad,_0x1ff5d6):_0x583fc5,_0x31670c;if(typeof Reflect===_0x2b5d67(0x230)&&typeof Reflect['decorate']==='function')_0x249193=Reflect[_0x2b5d67(0x229)](_0xda613a,_0x48fbad,_0x1ff5d6,_0x583fc5);else{for(var _0x4803bb=_0xda613a['length']-0x1;_0x4803bb>=0x0;_0x4803bb--)if(_0x31670c=_0xda613a[_0x4803bb])_0x249193=(_0x45c116<0x3?_0x31670c(_0x249193):_0x45c116>0x3?_0x31670c(_0x48fbad,_0x1ff5d6,_0x249193):_0x31670c(_0x48fbad,_0x1ff5d6))||_0x249193;}return _0x45c116>0x3&&_0x249193&&Object[_0x2b5d67(0x1b5)](_0x48fbad,_0x1ff5d6,_0x249193),_0x249193;}const BUILD_TIMESTAMP=Number[_0xe4be79(0x234)](0x69e3503e),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x162664,_0x10e4be,_0x1009f5)=>{const _0x1eceab=_0xe4be79,_0x49f403={'page':_0x162664,'isPro':![],'timeValid':![]};if(!_0x10e4be||!_0x1009f5)return _0x49f403;const _0x3bd399=getLicenseInfo(_0x10e4be,_0x1009f5);if(_0x3bd399[_0x1eceab(0x21e)]){const _0x37d466=_0x3bd399[_0x1eceab(0x1d8)],_0x32b77c=isFeatureAuthorizedWithinTime(_0x37d466,'df',BUILD_TIMESTAMP);_0x49f403[_0x1eceab(0x1e4)]=_0x32b77c,_0x49f403[_0x1eceab(0x1b9)]=_0x32b77c,_0x49f403[_0x1eceab(0x1c4)]=getDocFeatureLimit(_0x37d466,_0x32b77c,_0x1eceab(0x21f),_0x162664,_0x162664,0x0);}return _0x49f403;};function _0x4b6b(_0x2608d7,_0x2f38cd){_0x2608d7=_0x2608d7-0x1a8;const _0x23f4fb=_0x23f4();let _0x4b6b9e=_0x23f4fb[_0x2608d7];return _0x4b6b9e;}let DocPrintService=class DocPrintService extends Disposable{constructor(_0x484d19,_0x4e601,_0x53c603,_0x26e1f2,_0x38a0bc){const _0x1b42b0=_0xe4be79;super(),this['_univerInstanceService']=_0x484d19,this[_0x1b42b0(0x21a)]=_0x4e601,this[_0x1b42b0(0x1d3)]=_0x53c603,this[_0x1b42b0(0x1ec)]=_0x26e1f2,this['_globalZoneService']=_0x38a0bc;}[_0xe4be79(0x224)](_0x58640e){const _0x59f6c4=_0xe4be79;var _0x201bea,_0x4a7896;const {ls:_0xc91cba,pbk:_0x254b09}=(_0x201bea=this[_0x59f6c4(0x1ec)][_0x59f6c4(0x211)](LS_CONFIG_KEY))!==null&&_0x201bea!==void 0x0?_0x201bea:{},_0x1deb15=isLocalCheck()?Number[_0x59f6c4(0x1fc)]:getPrintInfoByLicense(0x1,_0xc91cba,_0x254b09)[_0x59f6c4(0x1c4)];if(!this['_univerInstanceService'][_0x59f6c4(0x1f5)](_0x58640e,UniverInstanceType['UNIVER_DOC']))throw new Error(_0x59f6c4(0x1ad));const _0x12f8be=this['_renderManagerService'][_0x59f6c4(0x1ed)](_0x58640e);if(!_0x12f8be)throw new Error(_0x59f6c4(0x205));const _0x4884d6=(_0x4a7896=_0x12f8be[_0x59f6c4(0x1d0)](DocSkeletonManagerService)[_0x59f6c4(0x1e5)]()[_0x59f6c4(0x1c8)]())===null||_0x4a7896===void 0x0?void 0x0:_0x4a7896[_0x59f6c4(0x236)];if(!_0x4884d6)throw new Error(_0x59f6c4(0x1e7));const _0x59286d={'width':_0x4884d6[0x0]['pageWidth'],'height':_0x4884d6[0x0][_0x59f6c4(0x225)]},_0x2dfeee=_0x4884d6[_0x59f6c4(0x231)],_0x5130b2=Math[_0x59f6c4(0x1fd)](_0x1deb15,_0x2dfeee),_0x345dc0=_0x12f8be[_0x59f6c4(0x209)][_0x59f6c4(0x20c)](),_0x7212ab=document['createElement'](_0x59f6c4(0x1fe));_0x7212ab[_0x59f6c4(0x1a8)]=PRINT_CONTAINER_CLASS;const _0x50cea0=new Array(_0x5130b2)[_0x59f6c4(0x1fb)](null)[_0x59f6c4(0x20a)]((_0x198afe,_0x56dc75)=>{const _0x282629=_0x59f6c4,_0x1eeee4=new DocPrintPageCanvasView(this['_injector'],_0x56dc75,_0x58640e,_0x345dc0);return _0x1eeee4['container'][_0x282629(0x1a8)]=PRINT_CANVAS_CLASS,_0x1eeee4;});_0x50cea0[_0x59f6c4(0x218)](_0x18f6ac=>{const _0x1048ed=_0x59f6c4;_0x7212ab[_0x1048ed(0x1e8)](_0x18f6ac[_0x1048ed(0x204)]),_0x18f6ac[_0x1048ed(0x204)][_0x1048ed(0x1e8)](_0x18f6ac['root']),_0x18f6ac['prepare']();});const _0x15de0e=createPrintStyle(_0x59286d[_0x59f6c4(0x1e9)],_0x59286d[_0x59f6c4(0x227)],PrintDirection[_0x59f6c4(0x238)]);return document[_0x59f6c4(0x1d2)][_0x59f6c4(0x1e8)](_0x15de0e),document[_0x59f6c4(0x1d2)][_0x59f6c4(0x1e8)](_0x7212ab),new Promise(_0x3e922c=>{setTimeout(()=>{const _0x17408f=_0x4b6b;window[_0x17408f(0x22c)]=()=>{const _0x4c126a=_0x17408f;_0x50cea0[_0x4c126a(0x218)](_0x49e680=>{const _0x2e4bf3=_0x4c126a;_0x49e680[_0x2e4bf3(0x216)]();});},window[_0x17408f(0x1c0)]=()=>{const _0x2de881=_0x17408f;_0x50cea0['forEach'](_0x1084d2=>{_0x1084d2['dispose']();}),document[_0x2de881(0x1d2)][_0x2de881(0x1f7)](_0x7212ab),document[_0x2de881(0x1d2)]['removeChild'](_0x15de0e),this['_globalZoneService'][_0x2de881(0x1b0)](),_0x3e922c(!![]);},window[_0x17408f(0x224)]();},0x64);});}};DocPrintService=__decorate([__decorateParam(0x0,IUniverInstanceService),__decorateParam(0x1,IRenderManagerService),__decorateParam(0x2,Inject(Injector)),__decorateParam(0x3,IConfigService),__decorateParam(0x4,IGlobalZoneService)],DocPrintService);const DocPrintOperation={'id':_0xe4be79(0x1ee),'type':CommandType[_0xe4be79(0x1b3)],'handler':async _0x325578=>{const _0x502e8d=_0xe4be79,_0x3a03e9=_0x325578[_0x502e8d(0x1ca)](IUniverInstanceService),_0x27010b=_0x325578['get'](DocPrintService),_0x17e7ce=_0x325578[_0x502e8d(0x1ca)](IRenderManagerService),_0x24163f=_0x325578[_0x502e8d(0x1ca)](ICommandService),_0x34f51a=_0x3a03e9[_0x502e8d(0x1c1)](UniverInstanceType[_0x502e8d(0x212)]);if(!_0x34f51a)return![];if(!_0x17e7ce[_0x502e8d(0x1ed)](_0x34f51a[_0x502e8d(0x1e1)]()))throw new Error(_0x502e8d(0x205));const _0x4d5953=_0x34f51a[_0x502e8d(0x1f0)]()[_0x502e8d(0x1c2)];if(_0x4d5953!==DocumentFlavor['TRADITIONAL'])_0x24163f[_0x502e8d(0x1b4)](SwitchDocModeCommand['id']);await _0x27010b[_0x502e8d(0x224)](_0x34f51a[_0x502e8d(0x1e1)]());if(_0x4d5953!==DocumentFlavor['TRADITIONAL'])_0x24163f['syncExecuteCommand'](SwitchDocModeCommand['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY=_0xe4be79(0x1a9),defaultPluginConfig={};var name='@univerjs-pro/docs-print',version='0.21.0';const DOCS_PRINT_PLUGIN_NAME=_0xe4be79(0x1a9);function DocPrintMenuItemFactory(_0x226985){const _0x10d8fa=_0xe4be79;return{'id':DocPrintOperation['id'],'type':MenuItemType[_0x10d8fa(0x1cb)],'title':_0x10d8fa(0x21b),'icon':_0x10d8fa(0x1db),'tooltip':_0x10d8fa(0x21b),'hidden$':getMenuHiddenObservable(_0x226985,UniverInstanceType[_0x10d8fa(0x212)])};}const menuSchema={[RibbonStartGroup[_0xe4be79(0x1d5)]]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};let DocsPrintUIController=class DocsPrintUIController extends Disposable{constructor(_0x22dc40,_0x237512,_0x50fb67){const _0x41b126=_0xe4be79;super(),this['_commandService']=_0x22dc40,this[_0x41b126(0x1f6)]=_0x237512,this['_componentManager']=_0x50fb67,this[_0x41b126(0x1e3)](),this[_0x41b126(0x22a)](),this['_initComponents']();}['_initMenus'](){const _0x3ed7d0=_0xe4be79;this['_menuManagerService'][_0x3ed7d0(0x233)](menuSchema);}[_0xe4be79(0x22a)](){const _0x370539=_0xe4be79;this[_0x370539(0x214)](this[_0x370539(0x1f9)][_0x370539(0x20f)](DocPrintOperation));}[_0xe4be79(0x222)](){const _0x20093d=_0xe4be79;[[_0x20093d(0x1db),PrintIcon]][_0x20093d(0x218)](([_0x396c03,_0x17d232])=>{const _0xec7ff5=_0x20093d;this[_0xec7ff5(0x228)][_0xec7ff5(0x1f4)](_0x396c03,_0x17d232);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,ICommandService),__decorateParam(0x1,IMenuManagerService),__decorateParam(0x2,Inject(ComponentManager))],DocsPrintUIController);let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends Plugin{constructor(_0x37790a=defaultPluginConfig,_0x439c1d,_0x584118){const _0x3ce840=_0xe4be79;super(),this[_0x3ce840(0x1cc)]=_0x37790a,this['_injector']=_0x439c1d,this[_0x3ce840(0x1ec)]=_0x584118;const {menu:_0x576848,..._0xc7fc13}=merge({},defaultPluginConfig,this[_0x3ce840(0x1cc)]);if(_0x576848)this['_configService']['setConfig'](_0x3ce840(0x1d9),_0x576848,{'merge':!![]});this['_configService']['setConfig'](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0xc7fc13);}[_0xe4be79(0x1c7)](){const _0x3fd2bc=_0xe4be79;registerDependencies(this[_0x3fd2bc(0x1d3)],[[DocPrintService],[DocsPrintUIController]]);}[_0xe4be79(0x206)](){const _0x5613ac=_0xe4be79;this[_0x5613ac(0x1d3)][_0x5613ac(0x1ca)](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,'pluginName',DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,_0xe4be79(0x1ff),name),_defineProperty(UniverDocsPrintPlugin,_0xe4be79(0x1ba),version),_defineProperty(UniverDocsPrintPlugin,'type',UniverInstanceType[_0xe4be79(0x212)]),UniverDocsPrintPlugin=__decorate([DependentOn(UniverNetworkPlugin,UniverLicensePlugin),__decorateParam(0x1,Inject(Injector)),__decorateParam(0x2,IConfigService)],UniverDocsPrintPlugin);export{DOCS_PRINT_PLUGIN_CONFIG_KEY,DocPrintOperation,UniverDocsPrintPlugin};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x236c(_0x559538,_0x234479){_0x559538=_0x559538-0xd3;const _0x369320=_0x3693();let _0x236c05=_0x369320[_0x559538];return _0x236c05;}function _0x3693(){const _0x44122a=['851424qymSlf','14FPFlmW','83540FUqYoN','1342KVYysa','240CfDbMT','516TGgwBI','131374fJsGzl','20UCGYwc','351576QulroX','1890300lTvQNP','551993GAVIHn','11wKoziW','15944peNxyR','Print'];_0x3693=function(){return _0x44122a;};return _0x3693();}const _0x14597f=_0x236c;(function(_0x3cbae4,_0x597111){const _0x5b7bc8=_0x236c,_0x28c9fe=_0x3cbae4();while(!![]){try{const _0x9c7646=-parseInt(_0x5b7bc8(0xd6))/0x1*(parseInt(_0x5b7bc8(0xdf))/0x2)+parseInt(_0x5b7bc8(0xd9))/0x3+-parseInt(_0x5b7bc8(0xd7))/0x4*(parseInt(_0x5b7bc8(0xe0))/0x5)+parseInt(_0x5b7bc8(0xd4))/0x6*(-parseInt(_0x5b7bc8(0xda))/0x7)+-parseInt(_0x5b7bc8(0xdd))/0x8*(parseInt(_0x5b7bc8(0xd3))/0x9)+parseInt(_0x5b7bc8(0xdb))/0xa*(parseInt(_0x5b7bc8(0xdc))/0xb)+-parseInt(_0x5b7bc8(0xde))/0xc*(-parseInt(_0x5b7bc8(0xd5))/0xd);if(_0x9c7646===_0x597111)break;else _0x28c9fe['push'](_0x28c9fe['shift']());}catch(_0x19d3b4){_0x28c9fe['push'](_0x28c9fe['shift']());}}}(_0x3693,0x8fa0a));const locale$1={'print':{'menu':_0x14597f(0xd8)}},locale=locale$1;export{locale as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x56d69b=_0x498d;function _0x498d(_0x5a59a2,_0x485a43){_0x5a59a2=_0x5a59a2-0x100;const _0x3e3fff=_0x3e3f();let _0x498d35=_0x3e3fff[_0x5a59a2];return _0x498d35;}(function(_0xd10a29,_0x32ccb9){const _0xb06ce0=_0x498d,_0x41d110=_0xd10a29();while(!![]){try{const _0x4b6f71=parseInt(_0xb06ce0(0x107))/0x1*(parseInt(_0xb06ce0(0x108))/0x2)+-parseInt(_0xb06ce0(0x102))/0x3+parseInt(_0xb06ce0(0x10b))/0x4*(parseInt(_0xb06ce0(0x105))/0x5)+parseInt(_0xb06ce0(0x109))/0x6+parseInt(_0xb06ce0(0x100))/0x7*(-parseInt(_0xb06ce0(0x103))/0x8)+-parseInt(_0xb06ce0(0x101))/0x9*(parseInt(_0xb06ce0(0x104))/0xa)+parseInt(_0xb06ce0(0x10c))/0xb*(parseInt(_0xb06ce0(0x106))/0xc);if(_0x4b6f71===_0x32ccb9)break;else _0x41d110['push'](_0x41d110['shift']());}catch(_0x285b90){_0x41d110['push'](_0x41d110['shift']());}}}(_0x3e3f,0x84159));const locale={'print':{'menu':_0x56d69b(0x10a)}};export{locale as default};function _0x3e3f(){const _0x3e986d=['1795428aQJjsj','3034176Tyyhcu','Print','19444ujjUUe','1529RachFJ','1848NsTJfa','124974oiwLlc','2542401KFRwmW','25672BvCPBb','610YGCwJR','475GezEiY','105108wpmfOo','1vGqDpm'];_0x3e3f=function(){return _0x3e986d;};return _0x3e3f();}
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x6b69(){const _0x3b27ab=['18975664bbIhpg','4440128AYaukj','544tYoPQG','580044fCqvmV','451614HvWxca','19002vqFToU','4131375bthdBa','718826QwjbCB'];_0x6b69=function(){return _0x3b27ab;};return _0x6b69();}(function(_0x5ce5ea,_0x3f8ae1){const _0x5f2dc2=_0x24a9,_0x3401da=_0x5ce5ea();while(!![]){try{const _0x4b8f96=-parseInt(_0x5f2dc2(0x155))/0x1+-parseInt(_0x5f2dc2(0x159))/0x2+-parseInt(_0x5f2dc2(0x153))/0x3*(-parseInt(_0x5f2dc2(0x158))/0x4)+-parseInt(_0x5f2dc2(0x154))/0x5+-parseInt(_0x5f2dc2(0x15a))/0x6+-parseInt(_0x5f2dc2(0x157))/0x7+parseInt(_0x5f2dc2(0x156))/0x8;if(_0x4b8f96===_0x3f8ae1)break;else _0x3401da['push'](_0x3401da['shift']());}catch(_0x2d6854){_0x3401da['push'](_0x3401da['shift']());}}}(_0x6b69,0xa822e));function _0x24a9(_0x1b25e5,_0x51a310){_0x1b25e5=_0x1b25e5-0x153;const _0x6b695b=_0x6b69();let _0x24a9b1=_0x6b695b[_0x1b25e5];return _0x24a9b1;}const locale$1={'print':{'menu':'Print'}},locale=locale$1;export{locale as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5493(){const _0x23ea48=['28PDCoEE','چاپ','151240wbVkmK','7698EgRrjI','68721XvbOSE','1080395hWjhRX','3241744lnLrhC','133324CRGHcN','2198oSLPLO','2559060TUogVW'];_0x5493=function(){return _0x23ea48;};return _0x5493();}const _0x47f490=_0x5600;function _0x5600(_0x3718e9,_0x42f81c){_0x3718e9=_0x3718e9-0x182;const _0x5493b2=_0x5493();let _0x5600c2=_0x5493b2[_0x3718e9];return _0x5600c2;}(function(_0x3355f7,_0x1e8976){const _0x497df7=_0x5600,_0x4d7b69=_0x3355f7();while(!![]){try{const _0xf176fe=-parseInt(_0x497df7(0x188))/0x1+-parseInt(_0x497df7(0x183))/0x2+-parseInt(_0x497df7(0x18a))/0x3*(-parseInt(_0x497df7(0x186))/0x4)+-parseInt(_0x497df7(0x18b))/0x5+parseInt(_0x497df7(0x189))/0x6*(parseInt(_0x497df7(0x184))/0x7)+parseInt(_0x497df7(0x182))/0x8+-parseInt(_0x497df7(0x185))/0x9;if(_0xf176fe===_0x1e8976)break;else _0x4d7b69['push'](_0x4d7b69['shift']());}catch(_0x3f7650){_0x4d7b69['push'](_0x4d7b69['shift']());}}}(_0x5493,0x3d0fc));const locale={'print':{'menu':_0x47f490(0x187)}};export{locale as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x22db38=_0x1416;function _0x1416(_0x3b48ef,_0x24bdd1){_0x3b48ef=_0x3b48ef-0xc5;const _0x42cade=_0x42ca();let _0x14166a=_0x42cade[_0x3b48ef];return _0x14166a;}(function(_0xee2412,_0x27400a){const _0x2bd29b=_0x1416,_0x143413=_0xee2412();while(!![]){try{const _0x206fbb=-parseInt(_0x2bd29b(0xc9))/0x1+parseInt(_0x2bd29b(0xc8))/0x2*(parseInt(_0x2bd29b(0xcf))/0x3)+parseInt(_0x2bd29b(0xc5))/0x4*(-parseInt(_0x2bd29b(0xc7))/0x5)+-parseInt(_0x2bd29b(0xcd))/0x6+parseInt(_0x2bd29b(0xc6))/0x7*(parseInt(_0x2bd29b(0xca))/0x8)+-parseInt(_0x2bd29b(0xcb))/0x9*(parseInt(_0x2bd29b(0xd0))/0xa)+parseInt(_0x2bd29b(0xcc))/0xb;if(_0x206fbb===_0x27400a)break;else _0x143413['push'](_0x143413['shift']());}catch(_0x4af40b){_0x143413['push'](_0x143413['shift']());}}}(_0x42ca,0xe4d37));const locale={'print':{'menu':_0x22db38(0xce)}};export{locale as default};function _0x42ca(){const _0x89f6c3=['488ZEGBcj','18sKweyl','29732791GyenkB','1591686neUyaJ','Imprimer','199605PHtjMC','6128870lnvVBJ','6504OGzKsT','86828zLaWmM','1175seCmnC','14gpfAWk','1114934LuXePC'];_0x42ca=function(){return _0x89f6c3;};return _0x42ca();}
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3f545e,_0x24b79d){const _0x256b51=_0x5405,_0x3723b6=_0x3f545e();while(!![]){try{const _0x31fee1=parseInt(_0x256b51(0x13a))/0x1+parseInt(_0x256b51(0x138))/0x2+parseInt(_0x256b51(0x13e))/0x3*(-parseInt(_0x256b51(0x141))/0x4)+parseInt(_0x256b51(0x13b))/0x5+parseInt(_0x256b51(0x13c))/0x6*(-parseInt(_0x256b51(0x13f))/0x7)+parseInt(_0x256b51(0x139))/0x8+-parseInt(_0x256b51(0x13d))/0x9*(parseInt(_0x256b51(0x140))/0xa);if(_0x31fee1===_0x24b79d)break;else _0x3723b6['push'](_0x3723b6['shift']());}catch(_0x389d44){_0x3723b6['push'](_0x3723b6['shift']());}}}(_0x5d11,0x8e9d5));function _0x5d11(){const _0x46024f=['1247508IbkIqw','6520304wBokij','920693LyUVGy','2661595ZvSmVr','1602WLiJbw','1356894NGGzgP','84VhZIuS','17003xFOmDV','100bgwcrC','21636KdWDqd'];_0x5d11=function(){return _0x46024f;};return _0x5d11();}function _0x5405(_0x3009a5,_0x37bf52){_0x3009a5=_0x3009a5-0x138;const _0x5d1114=_0x5d11();let _0x5405e5=_0x5d1114[_0x3009a5];return _0x5405e5;}const locale={'print':{'menu':'印刷'}};export{locale as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5166(_0x15642e,_0x3eea5f){_0x15642e=_0x15642e-0xcf;const _0x13b308=_0x13b3();let _0x51669e=_0x13b308[_0x15642e];return _0x51669e;}function _0x13b3(){const _0x1505fc=['707farjdx','11834250lMxLzp','27882GQKTtf','6759KJGbOw','540358jLJWHJ','44GadFsO','1929552TAUxUs','6768VHDNyP','5528tvgfxZ','3232440yEOoWL'];_0x13b3=function(){return _0x1505fc;};return _0x13b3();}(function(_0x3fc4d5,_0x4af2df){const _0x3c2fbd=_0x5166,_0x2d4bdf=_0x3fc4d5();while(!![]){try{const _0x42533a=-parseInt(_0x3c2fbd(0xcf))/0x1+parseInt(_0x3c2fbd(0xd0))/0x2*(parseInt(_0x3c2fbd(0xd7))/0x3)+-parseInt(_0x3c2fbd(0xd1))/0x4+-parseInt(_0x3c2fbd(0xd4))/0x5+-parseInt(_0x3c2fbd(0xd2))/0x6*(-parseInt(_0x3c2fbd(0xd5))/0x7)+parseInt(_0x3c2fbd(0xd3))/0x8*(parseInt(_0x3c2fbd(0xd8))/0x9)+parseInt(_0x3c2fbd(0xd6))/0xa;if(_0x42533a===_0x4af2df)break;else _0x2d4bdf['push'](_0x2d4bdf['shift']());}catch(_0x4a8f4b){_0x2d4bdf['push'](_0x2d4bdf['shift']());}}}(_0x13b3,0x55d28));const locale={'print':{'menu':'인쇄'}};export{locale as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2c423b=_0x5763;(function(_0x5cad23,_0x2d25b2){const _0x46b21d=_0x5763,_0x173663=_0x5cad23();while(!![]){try{const _0x197079=-parseInt(_0x46b21d(0x13d))/0x1+-parseInt(_0x46b21d(0x137))/0x2+parseInt(_0x46b21d(0x13f))/0x3+parseInt(_0x46b21d(0x139))/0x4+parseInt(_0x46b21d(0x13c))/0x5+parseInt(_0x46b21d(0x13b))/0x6*(parseInt(_0x46b21d(0x13e))/0x7)+parseInt(_0x46b21d(0x13a))/0x8;if(_0x197079===_0x2d25b2)break;else _0x173663['push'](_0x173663['shift']());}catch(_0x1448e7){_0x173663['push'](_0x173663['shift']());}}}(_0x1020,0x288e4));function _0x5763(_0x2072e5,_0x3e47ba){_0x2072e5=_0x2072e5-0x137;const _0x10201=_0x1020();let _0x576381=_0x10201[_0x2072e5];return _0x576381;}const locale={'print':{'menu':_0x2c423b(0x138)}};export{locale as default};function _0x1020(){const _0x666a95=['294912Dyufoo','232024mQNFXI','Печать','622068khsXQp','238536wGJIXP','48pdtYjO','1028080wbekan','320254DZFfHw','98987FJrFKr'];_0x1020=function(){return _0x666a95;};return _0x1020();}
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3a22c6=_0x6f1f;function _0x6f1f(_0x559021,_0xe860db){_0x559021=_0x559021-0x175;const _0x54adc7=_0x54ad();let _0x6f1f4d=_0x54adc7[_0x559021];return _0x6f1f4d;}function _0x54ad(){const _0xed986b=['66WXSjWy','4217391JDUVAF','753515pVUBln','3702508CAfucM','6214690ZvNUfk','1588786LwToKD','333207exXOTe','776cyREuc','2074786CxRCGs','Tlač'];_0x54ad=function(){return _0xed986b;};return _0x54ad();}(function(_0x480be0,_0x1f9a50){const _0x287855=_0x6f1f,_0x5c7cde=_0x480be0();while(!![]){try{const _0x56656d=-parseInt(_0x287855(0x17d))/0x1+-parseInt(_0x287855(0x176))/0x2+parseInt(_0x287855(0x179))/0x3+parseInt(_0x287855(0x17b))/0x4+-parseInt(_0x287855(0x17c))/0x5+parseInt(_0x287855(0x178))/0x6*(-parseInt(_0x287855(0x17a))/0x7)+-parseInt(_0x287855(0x175))/0x8*(-parseInt(_0x287855(0x17e))/0x9);if(_0x56656d===_0x1f9a50)break;else _0x5c7cde['push'](_0x5c7cde['shift']());}catch(_0x2ed248){_0x5c7cde['push'](_0x5c7cde['shift']());}}}(_0x54ad,0xd4443));const locale={'print':{'menu':_0x3a22c6(0x177)}};export{locale as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x249251,_0x46394c){const _0x4dc673=_0x5190,_0x427e65=_0x249251();while(!![]){try{const _0x458f56=-parseInt(_0x4dc673(0x97))/0x1+-parseInt(_0x4dc673(0x98))/0x2+-parseInt(_0x4dc673(0x96))/0x3*(-parseInt(_0x4dc673(0x9a))/0x4)+-parseInt(_0x4dc673(0x9c))/0x5+parseInt(_0x4dc673(0x94))/0x6*(-parseInt(_0x4dc673(0x99))/0x7)+parseInt(_0x4dc673(0x95))/0x8+parseInt(_0x4dc673(0x9b))/0x9;if(_0x458f56===_0x46394c)break;else _0x427e65['push'](_0x427e65['shift']());}catch(_0x151c04){_0x427e65['push'](_0x427e65['shift']());}}}(_0x1d72,0x8e1eb));function _0x5190(_0x27c9f2,_0x1f023f){_0x27c9f2=_0x27c9f2-0x94;const _0x1d725a=_0x1d72();let _0x51909b=_0x1d725a[_0x27c9f2];return _0x51909b;}function _0x1d72(){const _0x597451=['7sEVkkN','48ZymVDS','11994399gegJNf','1532285xUcHkv','3167634xGFlLo','2764040rApBYN','139122ZnLjUP','406661DhBVEh','823048xkdouv'];_0x1d72=function(){return _0x597451;};return _0x1d72();}const locale={'print':{'menu':'In'}};export{locale as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x2b64(_0x54deed,_0x57af36){_0x54deed=_0x54deed-0x76;const _0x187991=_0x1879();let _0x2b64b5=_0x187991[_0x54deed];return _0x2b64b5;}(function(_0x1c891e,_0x31984a){const _0x4ffb3e=_0x2b64,_0x27deeb=_0x1c891e();while(!![]){try{const _0x14959e=-parseInt(_0x4ffb3e(0x83))/0x1*(parseInt(_0x4ffb3e(0x7d))/0x2)+parseInt(_0x4ffb3e(0x7c))/0x3*(parseInt(_0x4ffb3e(0x80))/0x4)+-parseInt(_0x4ffb3e(0x7f))/0x5*(parseInt(_0x4ffb3e(0x81))/0x6)+-parseInt(_0x4ffb3e(0x7b))/0x7*(parseInt(_0x4ffb3e(0x7a))/0x8)+-parseInt(_0x4ffb3e(0x76))/0x9*(parseInt(_0x4ffb3e(0x78))/0xa)+-parseInt(_0x4ffb3e(0x7e))/0xb*(-parseInt(_0x4ffb3e(0x82))/0xc)+-parseInt(_0x4ffb3e(0x79))/0xd*(-parseInt(_0x4ffb3e(0x77))/0xe);if(_0x14959e===_0x31984a)break;else _0x27deeb['push'](_0x27deeb['shift']());}catch(_0x3b1350){_0x27deeb['push'](_0x27deeb['shift']());}}}(_0x1879,0x7ed65));const locale={'print':{'menu':'打印'}};function _0x1879(){const _0x370b63=['10AxWjfa','1826680VTIPiF','1713558eVpbpC','4078872ntNqvI','1wIrCTI','9mlzdHi','98nKUXzm','6309290nElNsl','2930551cFnosK','40QjFAbk','1407826Rqhgyj','6mnYQVg','887822bVXOxD','22oyUvpB'];_0x1879=function(){return _0x370b63;};return _0x1879();}export{locale as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x313e(){const _0x347dc5=['52153OgLtQk','3446135nzcQmf','1143308HGrJRP','4245042ICxJLW','5cBClYc','17173620jkmVlm','2763504gjxKUk','2342184DKQaEt','10zKIDwP'];_0x313e=function(){return _0x347dc5;};return _0x313e();}function _0x2efa(_0x55aef6,_0x258e3b){_0x55aef6=_0x55aef6-0x7c;const _0x313e72=_0x313e();let _0x2efa6c=_0x313e72[_0x55aef6];return _0x2efa6c;}(function(_0x514f6f,_0x418539){const _0xb1f570=_0x2efa,_0x369aa2=_0x514f6f();while(!![]){try{const _0x16c80c=parseInt(_0xb1f570(0x7f))/0x1*(-parseInt(_0xb1f570(0x7e))/0x2)+parseInt(_0xb1f570(0x7d))/0x3+-parseInt(_0xb1f570(0x81))/0x4*(-parseInt(_0xb1f570(0x83))/0x5)+parseInt(_0xb1f570(0x82))/0x6+parseInt(_0xb1f570(0x80))/0x7+parseInt(_0xb1f570(0x7c))/0x8+-parseInt(_0xb1f570(0x84))/0x9;if(_0x16c80c===_0x418539)break;else _0x369aa2['push'](_0x369aa2['shift']());}catch(_0x586485){_0x369aa2['push'](_0x369aa2['shift']());}}}(_0x313e,0x6c1ec));const locale={'print':{'menu':'列印'}};export{locale as default};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x83bd(){const _0x33c958=['translate','5VFmeXK','style','LS_CONFIG_KEY','IMenuManagerService','entries','UniverLicensePlugin','PRINTING_COMPONENT_COLLECT','url(#$1','right','PrintIcon','parseInt','Engine','CanvasRenderMode','call','60mpDJfN','getConfig','_univerInstanceService','_viewMain','_unitId','div','svg','iterator','MenuItemType','substring','1em','PRINT_CANVAS_CLASS','UNIVER_DOC','40jJvlEW','current','appendChild','mainComponent','@univerjs/docs-ui','setId','currentColor','_calculateLayout','top','M13.1297\x203.19844C13.1297\x202.20418\x2012.3236\x201.39824\x2011.3293\x201.39844L4.66878\x201.39977C3.67481\x201.39997\x202.86914\x202.2058\x202.86914\x203.19977V5.49756C2.03331\x205.65308\x201.4005\x206.38619\x201.40049\x207.26709L1.40039\x2012.7996C1.40037\x2013.7937\x202.20626\x2014.5997\x203.20039\x2014.5997L6.62542\x2014.5997C6.63896\x2014.6006\x206.65263\x2014.601\x206.66641\x2014.601C6.68018\x2014.601\x206.69385\x2014.6006\x206.70739\x2014.5997L11.6256\x2014.5997C11.6391\x2014.6006\x2011.6527\x2014.601\x2011.6664\x2014.601C11.6801\x2014.601\x2011.6937\x2014.6006\x2011.7072\x2014.5997L12.7996\x2014.5997C13.7937\x2014.5997\x2014.5996\x2013.7938\x2014.5996\x2012.7997V7.26641C14.5996\x206.38503\x2013.9662\x205.65161\x2013.1297\x205.4966V3.19844ZM11.0664\x2013.3997L7.26641\x2013.3997V12.3344C7.26641\x2012.1135\x207.44549\x2011.9344\x207.66641\x2011.9344H10.6664C10.8873\x2011.9344\x2011.0664\x2012.1135\x2011.0664\x2012.3344V13.3997ZM12.2664\x2012.3344V13.3997L12.7996\x2013.3997C13.131\x2013.3997\x2013.3996\x2013.1311\x2013.3996\x2012.7997V7.26641C13.3996\x206.93502\x2013.131\x206.66638\x2012.7996\x206.66641L3.20044\x206.66712C2.86909\x206.66715\x202.60049\x206.93576\x202.60049\x207.26711L2.60039\x2012.7996C2.60038\x2013.131\x202.86901\x2013.3997\x203.20039\x2013.3997L6.06641\x2013.3997V12.3344C6.06641\x2011.4507\x206.78275\x2010.7344\x207.66641\x2010.7344H10.6664C11.5501\x2010.7344\x2012.2664\x2011.4507\x2012.2664\x2012.3344ZM11.9297\x205.46647V3.19844C11.9297\x202.86702\x2011.661\x202.59837\x2011.3296\x202.59844L4.66902\x202.59977C4.3377\x202.59984\x204.06914\x202.86845\x204.06914\x203.19977V5.46706L11.9297\x205.46647Z','string','docs.operation.print','_skeleton','random','replace','height','fill','trim','UniverDocsPrintPlugin','registerDependencies','React','DependentOn','100%','_initMenus','tag','M4.20039\x208.06641C3.86902\x208.06641\x203.60039\x208.33504\x203.60039\x208.66641C3.60039\x208.99778\x203.86902\x209.26641\x204.20039\x209.26641H5.20039C5.53176\x209.26641\x205.80039\x208.99778\x205.80039\x208.66641C5.80039\x208.33504\x205.53176\x208.06641\x205.20039\x208.06641H4.20039Z','_configService','idSuffix','getDocumentStyle','syncExecuteCommand','UniverProDocsPrint','Module','UniverUi','getSkeletonData','40472mITghF','prepare','IRenderManagerService','_addComponent','body','setConfig','Injector','constructor','http://www.w3.org/2000/svg','toStringTag','fetchThroughInterceptors','0\x200\x2016\x2016','position','VIEW_MAIN','getRenderById','0px','use','children','TRADITIONAL','forwardRef','path','Pages\x20are\x20not\x20found','DocPrintInterceptorService','packageName','mergeMenu','object','width','merge','_engine','1375746PaglBi','_addViewport','Documents','getMenuHiddenObservable','length','type','_initCommands','_initRenderer','defineProperty','_globalZoneService','OPERATION','includes','_menuManagerService','Disposable','__DocPrintRender__','PRINTING_DOM_COLLECT','valid','Scene','pluginName','_effects','attrs','min','toString','displayName','onafterprint','absolute','createPrintStyle','close','_container','useRef','ICommandService','menu','_scene','isLocalCheck','_documents','ComponentManager','DisposableCollection','Render\x20is\x20not\x20found','pageWidth','_componentManager','mpn','exports','amd','symbol','_paperSize','map','decorate','toPrimitive','setContainer','135012yNYLYy','UniverCore','18eClwHD','dispose','0.20.1','makeDirty','message','getCanvas','IConfigService','SwitchDocModeCommand','bottom','Printing','getContext','_initComponents','_config','UniverDocsUi','colorChannel1','defIds','DocumentFlavor','18kaZpkb','render','print-icon','37898Qdmiir','@univerjs/network','documentFlavor','getUnit','disposeWithMe','UniverDocs','get','registerCommand','@univerjs-pro/license','with','_renderManagerService','assign','@univerjs-pro/print','UniverEngineRender','print','@univerjs/engine-render','isPro','_injector','root','_key','makeForceDirty','getUnitId','IGlobalZoneService','getLicenseInfo','save','none','removeChild','_currentRender','Portrait','DocPrintOperation','pageHeight','_page','getOwnPropertyDescriptor','UniverNetworkPlugin','@univerjs-pro/docs-print','className','forEach','getInterceptPoints','_skeletonData','RibbonStartGroup','getCurrentUnitOfType','restore','_commandService','UNIVER_DOCS_PRINT','version','DocSkeletonManagerService','33444NAtChf','left','IUniverInstanceService','8889280kqkNyV','function','UniverInstanceType','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','evenodd','Inject','pages','xlink:href','univerjs-icon\x20univerjs-icon-','@univerjs/ui','interceptor','mask','createElement','getOffsetConfig','UniverProLicense','_root','container','3315664SlkYjT','page','BUTTON'];_0x83bd=function(){return _0x33c958;};return _0x83bd();}function _0x303f(_0x225fa9,_0x1350ee){_0x225fa9=_0x225fa9-0xd5;const _0x83bdaa=_0x83bd();let _0x303f37=_0x83bdaa[_0x225fa9];return _0x303f37;}(function(_0x444d88,_0x35b196){const _0x206c57=_0x303f,_0x5c00c2=_0x444d88();while(!![]){try{const _0x300155=-parseInt(_0x206c57(0x148))/0x1*(-parseInt(_0x206c57(0x115))/0x2)+-parseInt(_0x206c57(0xe4))/0x3*(-parseInt(_0x206c57(0x1b8))/0x4)+parseInt(_0x206c57(0x12d))/0x5*(parseInt(_0x206c57(0x187))/0x6)+parseInt(_0x206c57(0xe7))/0x7+-parseInt(_0x206c57(0x16a))/0x8*(-parseInt(_0x206c57(0x1ba))/0x9)+parseInt(_0x206c57(0x118))/0xa+parseInt(_0x206c57(0x129))/0xb*(-parseInt(_0x206c57(0x13b))/0xc);if(_0x300155===_0x35b196)break;else _0x5c00c2['push'](_0x5c00c2['shift']());}catch(_0x20c48b){_0x5c00c2['push'](_0x5c00c2['shift']());}}}(_0x83bd,0x7996d),function(_0xf94233,_0x140445){const _0xf9c6e2=_0x303f;typeof exports==_0xf9c6e2(0x183)&&typeof module<'u'?_0x140445(exports,require(`@univerjs/core`),require(`@univerjs/docs-ui`),require(`@univerjs/engine-render`),require(`@univerjs-pro/license`),require(`@univerjs-pro/print`),require(`@univerjs/docs`),require(`@univerjs/ui`),require(`@univerjs/network`),require(`react`)):typeof define==_0xf9c6e2(0x119)&&define[_0xf9c6e2(0x1b1)]?define([_0xf9c6e2(0x1b0),'@univerjs/core',_0xf9c6e2(0x14c),_0xf9c6e2(0xf6),_0xf9c6e2(0xef),_0xf9c6e2(0xf3),'@univerjs/docs',_0xf9c6e2(0x121),_0xf9c6e2(0xe8),'react'],_0x140445):(_0xf94233=typeof globalThis<'u'?globalThis:_0xf94233||self,_0x140445(_0xf94233[_0xf9c6e2(0x166)]={},_0xf94233[_0xf9c6e2(0x1b9)],_0xf94233[_0xf9c6e2(0xe0)],_0xf94233[_0xf9c6e2(0xf4)],_0xf94233[_0xf9c6e2(0x126)],_0xf94233['UniverProPrint'],_0xf94233[_0xf9c6e2(0xec)],_0xf94233[_0xf9c6e2(0x168)],_0xf94233['UniverNetwork'],_0xf94233[_0xf9c6e2(0x15c)]));}(this,function(_0x435ae0,_0x46048c,_0x31d67f,_0x546d0c,_0x329923,_0x6bbe2e,_0x49f13b,_0x21a14d,_0x2580b0,_0x1f44c1){const _0x237dcc=_0x303f;Object[_0x237dcc(0x18f)](_0x435ae0,Symbol[_0x237dcc(0x173)],{'value':_0x237dcc(0x167)});function _0x520a3c(_0x57470c){'@babel/helpers - typeof';const _0x4d4401=_0x237dcc;return _0x520a3c=typeof Symbol==_0x4d4401(0x119)&&typeof Symbol[_0x4d4401(0x142)]=='symbol'?function(_0x19b20e){return typeof _0x19b20e;}:function(_0x20e7dc){const _0x1c568f=_0x4d4401;return _0x20e7dc&&typeof Symbol==_0x1c568f(0x119)&&_0x20e7dc[_0x1c568f(0x171)]===Symbol&&_0x20e7dc!==Symbol['prototype']?_0x1c568f(0x1b2):typeof _0x20e7dc;},_0x520a3c(_0x57470c);}function _0x1fd70f(_0x501dc7,_0x14a394){const _0x427802=_0x237dcc;if(_0x520a3c(_0x501dc7)!=_0x427802(0x183)||!_0x501dc7)return _0x501dc7;var _0x3af8b8=_0x501dc7[Symbol[_0x427802(0x1b6)]];if(_0x3af8b8!==void 0x0){var _0x12aa82=_0x3af8b8[_0x427802(0x13a)](_0x501dc7,_0x14a394||'default');if(_0x520a3c(_0x12aa82)!=_0x427802(0x183))return _0x12aa82;throw TypeError(_0x427802(0x11b));}return(_0x14a394===_0x427802(0x152)?String:Number)(_0x501dc7);}function _0x299c0c(_0x4e8801){var _0x48363a=_0x1fd70f(_0x4e8801,'string');return _0x520a3c(_0x48363a)=='symbol'?_0x48363a:_0x48363a+'';}function _0x520e0a(_0xf84946,_0x3dff60,_0x49cb43){return(_0x3dff60=_0x299c0c(_0x3dff60))in _0xf84946?Object['defineProperty'](_0xf84946,_0x3dff60,{'value':_0x49cb43,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xf84946[_0x3dff60]=_0x49cb43,_0xf84946;}var _0x26c4ff=class extends _0x46048c[_0x237dcc(0x194)]{get[_0x237dcc(0x128)](){return this['_container'];}get[_0x237dcc(0xf9)](){const _0x4f0b1c=_0x237dcc;return this[_0x4f0b1c(0x127)];}get[_0x237dcc(0x102)](){const _0x5f3163=_0x237dcc;let _0x340d58=this[_0x5f3163(0xf8)][_0x5f3163(0xed)](_0x546d0c[_0x5f3163(0x16c)])[_0x5f3163(0x178)](this[_0x5f3163(0x13f)]);if(!_0x340d58)throw Error(_0x5f3163(0x1ac));return _0x340d58;}get['_skeleton'](){const _0x5ba807=_0x237dcc;return this[_0x5ba807(0x102)][_0x5ba807(0xf0)](_0x49f13b[_0x5ba807(0x114)])['getSkeleton']();}get[_0x237dcc(0x10d)](){const _0x24f9a7=_0x237dcc;let _0x5a317d=this[_0x24f9a7(0x154)][_0x24f9a7(0x169)]();if(!_0x5a317d)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x5a317d;}get[_0x237dcc(0x1b3)](){const _0x8db59b=_0x237dcc;let _0x175eb7=this['_skeletonData'][_0x8db59b(0x11e)][0x0];return{'width':_0x175eb7[_0x8db59b(0x1ad)],'height':_0x175eb7[_0x8db59b(0x105)]};}constructor(_0x363e01,_0x54e981,_0x4626d1,_0x2ef886){const _0x1a9dfe=_0x237dcc;super(),this[_0x1a9dfe(0xf8)]=_0x363e01,this['_page']=_0x54e981,this[_0x1a9dfe(0x13f)]=_0x4626d1,this['_offsetConfig']=_0x2ef886,_0x520e0a(this,_0x1a9dfe(0x1a3),document[_0x1a9dfe(0x124)](_0x1a9dfe(0x140))),_0x520e0a(this,_0x1a9dfe(0x127),document['createElement'](_0x1a9dfe(0x140))),_0x520e0a(this,_0x1a9dfe(0x186),void 0x0),_0x520e0a(this,_0x1a9dfe(0x1a7),void 0x0),_0x520e0a(this,'_key',void 0x0),_0x520e0a(this,_0x1a9dfe(0x1a9),void 0x0),_0x520e0a(this,_0x1a9dfe(0x13e),void 0x0),_0x520e0a(this,_0x1a9dfe(0x19a),new _0x46048c[(_0x1a9dfe(0x1ab))]()),this[_0x1a9dfe(0xfa)]=(0x0,_0x46048c['generateRandomId'])(0x4),this[_0x1a9dfe(0x18e)](),this['disposeWithMe']({'dispose':()=>{const _0x37c9bb=_0x1a9dfe;this[_0x37c9bb(0x186)][_0x37c9bb(0x1bb)](),this[_0x37c9bb(0x1a7)][_0x37c9bb(0x1bb)](),this[_0x37c9bb(0x19a)]['dispose']();}});}[_0x237dcc(0x14f)](){const _0x1628c7=_0x237dcc;let {docsTop:_0x39e1f3,docsLeft:_0x3741b0}=this['_documents'][_0x1628c7(0x125)](),_0x87b5c9=this['_paperSize'][_0x1628c7(0x157)],_0x2db799=this[_0x1628c7(0x1b3)][_0x1628c7(0x184)];return{'top':_0x39e1f3+(_0x39e1f3+_0x87b5c9)*this['_page'],'bottom':_0x39e1f3+(_0x39e1f3+_0x87b5c9)*(this[_0x1628c7(0x106)]+0x1),'left':_0x3741b0,'right':_0x3741b0+_0x2db799};}[_0x237dcc(0x18e)](){const _0x51c96b=_0x237dcc;this[_0x51c96b(0x186)]=new _0x546d0c[(_0x51c96b(0x138))]('',{'elementWidth':this[_0x51c96b(0x1b3)][_0x51c96b(0x184)],'elementHeight':this[_0x51c96b(0x1b3)]['height'],'dpr':0x1,'renderMode':_0x546d0c[_0x51c96b(0x139)][_0x51c96b(0xdc)]}),this[_0x51c96b(0x1a7)]=new _0x546d0c[(_0x51c96b(0x198))](this[_0x51c96b(0xfa)],this[_0x51c96b(0x186)]),this[_0x51c96b(0x1a7)]['scale'](0x1,0x1),this[_0x51c96b(0x186)][_0x51c96b(0x1b7)](this[_0x51c96b(0x1a3)],!0x1),this[_0x51c96b(0x186)][_0x51c96b(0xd8)]()[_0x51c96b(0xdd)]()[_0x51c96b(0x14d)](this[_0x51c96b(0xfa)]+'_'+(0x0,_0x46048c['generateRandomId'])(0x4)),this['_addComponent'](),this[_0x51c96b(0x188)]();}[_0x237dcc(0x16d)](){const _0xe85420=_0x237dcc;let {pageMarginLeft:_0x3d5d0f,pageMarginTop:_0x42bfa2,docsLeft:_0x4d213e,docsTop:_0x171e2e}=this['_offsetConfig'],_0x21a881={'pageMarginLeft':_0x3d5d0f,'pageMarginTop':_0x42bfa2},_0x538291=new _0x546d0c[(_0xe85420(0x189))](_0xe85420(0x195),this[_0xe85420(0x154)],_0x21a881);_0x538291[_0xe85420(0x12c)](_0x4d213e,_0x171e2e),this[_0xe85420(0x1a7)]['addObject'](_0x538291),this[_0xe85420(0x1a9)]=_0x538291;let _0x139dae=this[_0xe85420(0xf8)][_0xe85420(0xed)](_0x31d67f['DocPrintInterceptorService']);_0x139dae[_0xe85420(0x122)][_0xe85420(0x174)](_0x139dae[_0xe85420(0x122)][_0xe85420(0x10c)]()[_0xe85420(0x133)])(void 0x0,{'unitId':this[_0xe85420(0x13f)],'scene':this[_0xe85420(0x1a7)],'engine':this[_0xe85420(0x186)],'root':this[_0xe85420(0x127)],'documents':this['_documents'],'skeleton':this[_0xe85420(0x154)]});}[_0x237dcc(0x188)](){const _0x22c326=_0x237dcc;this[_0x22c326(0x13e)]=new _0x546d0c['Viewport'](_0x31d67f['VIEWPORT_KEY'][_0x22c326(0x177)],this[_0x22c326(0x1a7)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x237dcc(0x16b)](){const _0x5b0540=_0x237dcc;let _0x2d2140=this[_0x5b0540(0x14f)]();this[_0x5b0540(0x13e)]['updateScrollVal']({'viewportScrollX':_0x2d2140[_0x5b0540(0x116)],'viewportScrollY':_0x2d2140[_0x5b0540(0x150)]}),this[_0x5b0540(0x127)][_0x5b0540(0x12e)][_0x5b0540(0x176)]=_0x5b0540(0x1a0),this[_0x5b0540(0x127)][_0x5b0540(0x12e)][_0x5b0540(0x150)]=_0x5b0540(0x179),this['_root'][_0x5b0540(0x12e)]['left']=_0x5b0540(0x179),this[_0x5b0540(0x127)][_0x5b0540(0x12e)][_0x5b0540(0x184)]=_0x5b0540(0x15e),this[_0x5b0540(0x127)][_0x5b0540(0x12e)][_0x5b0540(0x157)]=_0x5b0540(0x15e),this[_0x5b0540(0x19a)]=new _0x46048c['DisposableCollection']();let _0x20feb1=this[_0x5b0540(0xf8)]['get'](_0x31d67f[_0x5b0540(0x180)]);_0x20feb1[_0x5b0540(0x122)]['fetchThroughInterceptors'](_0x20feb1[_0x5b0540(0x122)][_0x5b0540(0x10c)]()[_0x5b0540(0x196)])(this[_0x5b0540(0x19a)],{'unitId':this[_0x5b0540(0x13f)],'scene':this['_scene'],'engine':this[_0x5b0540(0x186)],'root':this[_0x5b0540(0x127)],'skeleton':this[_0x5b0540(0x154)],'offset':{'x':_0x2d2140[_0x5b0540(0x116)],'y':_0x2d2140[_0x5b0540(0x150)]},'bound':{'top':_0x2d2140[_0x5b0540(0x150)],'left':_0x2d2140[_0x5b0540(0x116)],'right':_0x2d2140[_0x5b0540(0x135)],'bottom':_0x2d2140[_0x5b0540(0xdb)]}});}[_0x237dcc(0xe5)](){const _0x5bce9e=_0x237dcc;let _0x117b14=this[_0x5bce9e(0x186)][_0x5bce9e(0xd8)]()[_0x5bce9e(0xdd)]();this['_documents'][_0x5bce9e(0xfb)](),this[_0x5bce9e(0x1a7)][_0x5bce9e(0xd6)](),_0x117b14[_0x5bce9e(0xff)](),this[_0x5bce9e(0x1a7)]['render'](),_0x117b14[_0x5bce9e(0x110)]();}};function _0x5d2757(_0x14d1d6,_0xf1ce81){return function(_0x28f44b,_0xaed981){_0xf1ce81(_0x28f44b,_0xaed981,_0x14d1d6);};}function _0xe0570f(_0x4d4a14,_0x55bf99,_0x154922,_0x38911a){const _0x465947=_0x237dcc;var _0x27f52c=arguments['length'],_0x56569b=_0x27f52c<0x3?_0x55bf99:_0x38911a===null?_0x38911a=Object[_0x465947(0x107)](_0x55bf99,_0x154922):_0x38911a,_0x464714;if(typeof Reflect==_0x465947(0x183)&&typeof Reflect[_0x465947(0x1b5)]==_0x465947(0x119))_0x56569b=Reflect[_0x465947(0x1b5)](_0x4d4a14,_0x55bf99,_0x154922,_0x38911a);else{for(var _0x424ff3=_0x4d4a14[_0x465947(0x18b)]-0x1;_0x424ff3>=0x0;_0x424ff3--)(_0x464714=_0x4d4a14[_0x424ff3])&&(_0x56569b=(_0x27f52c<0x3?_0x464714(_0x56569b):_0x27f52c>0x3?_0x464714(_0x55bf99,_0x154922,_0x56569b):_0x464714(_0x55bf99,_0x154922))||_0x56569b);}return _0x27f52c>0x3&&_0x56569b&&Object[_0x465947(0x18f)](_0x55bf99,_0x154922,_0x56569b),_0x56569b;}let _0x321cc6=Number[_0x237dcc(0x137)](0x69d9f405),_0x4ba902=(_0x380f22,_0x50ed8c,_0x65b113)=>{const _0x3f39a4=_0x237dcc;let _0x329e43={'page':_0x380f22,'isPro':!0x1,'timeValid':!0x1};if(!_0x50ed8c||!_0x65b113)return _0x329e43;let _0x33dd18=(0x0,_0x329923[_0x3f39a4(0xfe)])(_0x50ed8c,_0x65b113);if(_0x33dd18[_0x3f39a4(0x197)]){let _0x31383f=_0x33dd18[_0x3f39a4(0xd7)],_0x5158c5=(0x0,_0x329923['isFeatureAuthorizedWithinTime'])(_0x31383f,'df',_0x321cc6);_0x329e43[_0x3f39a4(0xf7)]=_0x5158c5,_0x329e43['timeValid']=_0x5158c5,_0x329e43[_0x3f39a4(0x12a)]=(0x0,_0x329923['getDocFeatureLimit'])(_0x31383f,_0x5158c5,_0x3f39a4(0x1af),_0x380f22,_0x380f22,0x0);}return _0x329e43;},_0x33e57f=class extends _0x46048c['Disposable']{constructor(_0x136a9c,_0x1602c1,_0x21d53d,_0x3af64b,_0x1c3015){const _0x1c7775=_0x237dcc;super(),this[_0x1c7775(0x13d)]=_0x136a9c,this[_0x1c7775(0xf1)]=_0x1602c1,this[_0x1c7775(0xf8)]=_0x21d53d,this['_configService']=_0x3af64b,this['_globalZoneService']=_0x1c3015;}[_0x237dcc(0xf5)](_0x5e04f2){const _0x2c86c5=_0x237dcc;var _0x5a52e8,_0x4a5f1f;let {ls:_0x4a6e6d,pbk:_0xce7090}=(_0x5a52e8=this[_0x2c86c5(0x162)][_0x2c86c5(0x13c)](_0x329923[_0x2c86c5(0x12f)]))==null?{}:_0x5a52e8,_0x3f83cd=(0x0,_0x329923[_0x2c86c5(0x1a8)])()?0x1/0x0:_0x4ba902(0x1,_0x4a6e6d,_0xce7090)['page'];if(!this['_univerInstanceService'][_0x2c86c5(0xea)](_0x5e04f2,_0x46048c[_0x2c86c5(0x11a)][_0x2c86c5(0x147)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x1c6944=this['_renderManagerService']['getRenderById'](_0x5e04f2);if(!_0x1c6944)throw Error('Render\x20is\x20not\x20found');let _0x222c9b=(_0x4a5f1f=_0x1c6944[_0x2c86c5(0xf0)](_0x49f13b['DocSkeletonManagerService'])['getSkeleton']()['getSkeletonData']())==null?void 0x0:_0x4a5f1f[_0x2c86c5(0x11e)];if(!_0x222c9b)throw Error(_0x2c86c5(0x17f));let _0xc3e20d={'width':_0x222c9b[0x0][_0x2c86c5(0x1ad)],'height':_0x222c9b[0x0]['pageHeight']},_0x7cbc7c=_0x222c9b['length'],_0x2fbc36=Math[_0x2c86c5(0x19c)](_0x3f83cd,_0x7cbc7c),_0x57485b=_0x1c6944[_0x2c86c5(0x14b)]['getOffsetConfig'](),_0x669104=document[_0x2c86c5(0x124)](_0x2c86c5(0x140));_0x669104[_0x2c86c5(0x10a)]=_0x6bbe2e['PRINT_CONTAINER_CLASS'];let _0x1fdade=Array(_0x2fbc36)[_0x2c86c5(0x158)](null)[_0x2c86c5(0x1b4)]((_0x21a110,_0x412fd0)=>{const _0x168889=_0x2c86c5;let _0x112a0d=new _0x26c4ff(this[_0x168889(0xf8)],_0x412fd0,_0x5e04f2,_0x57485b);return _0x112a0d[_0x168889(0x128)][_0x168889(0x10a)]=_0x6bbe2e[_0x168889(0x146)],_0x112a0d;});_0x1fdade[_0x2c86c5(0x10b)](_0x4402f2=>{const _0x372f75=_0x2c86c5;_0x669104[_0x372f75(0x14a)](_0x4402f2[_0x372f75(0x128)]),_0x4402f2['container'][_0x372f75(0x14a)](_0x4402f2[_0x372f75(0xf9)]),_0x4402f2[_0x372f75(0x16b)]();});let _0x20e156=(0x0,_0x6bbe2e[_0x2c86c5(0x1a1)])(_0xc3e20d[_0x2c86c5(0x184)],_0xc3e20d[_0x2c86c5(0x157)],_0x6bbe2e['PrintDirection'][_0x2c86c5(0x103)]);return document[_0x2c86c5(0x16e)][_0x2c86c5(0x14a)](_0x20e156),document['body']['appendChild'](_0x669104),new Promise(_0x3bcdc4=>{setTimeout(()=>{const _0x276bde=_0x303f;window['onbeforeprint']=()=>{const _0x153a29=_0x303f;_0x1fdade[_0x153a29(0x10b)](_0x44843b=>{const _0x19ab73=_0x153a29;_0x44843b[_0x19ab73(0xe5)]();});},window[_0x276bde(0x19f)]=()=>{const _0x571591=_0x276bde;_0x1fdade['forEach'](_0x455c0d=>{const _0x1a2123=_0x303f;_0x455c0d[_0x1a2123(0x1bb)]();}),document['body'][_0x571591(0x101)](_0x669104),document[_0x571591(0x16e)]['removeChild'](_0x20e156),this[_0x571591(0x190)][_0x571591(0x1a2)](),_0x3bcdc4(!0x0);},window[_0x276bde(0xf5)]();},0x64);});}};_0x33e57f=_0xe0570f([_0x5d2757(0x0,_0x46048c[_0x237dcc(0x117)]),_0x5d2757(0x1,_0x546d0c[_0x237dcc(0x16c)]),_0x5d2757(0x2,(0x0,_0x46048c[_0x237dcc(0x11d)])(_0x46048c[_0x237dcc(0x170)])),_0x5d2757(0x3,_0x46048c[_0x237dcc(0xd9)]),_0x5d2757(0x4,_0x21a14d[_0x237dcc(0xfd)])],_0x33e57f);let _0x40a29c={'id':_0x237dcc(0x153),'type':_0x46048c['CommandType'][_0x237dcc(0x191)],'handler':async _0x28beae=>{const _0xa2362e=_0x237dcc;let _0x4d29d5=_0x28beae[_0xa2362e(0xed)](_0x46048c['IUniverInstanceService']),_0x32b675=_0x28beae[_0xa2362e(0xed)](_0x33e57f),_0x16e722=_0x28beae[_0xa2362e(0xed)](_0x546d0c['IRenderManagerService']),_0x1410b1=_0x28beae[_0xa2362e(0xed)](_0x46048c[_0xa2362e(0x1a5)]),_0x1263af=_0x4d29d5[_0xa2362e(0x10f)](_0x46048c[_0xa2362e(0x11a)][_0xa2362e(0x147)]);if(!_0x1263af)return!0x1;if(!_0x16e722[_0xa2362e(0x178)](_0x1263af[_0xa2362e(0xfc)]()))throw Error('Render\x20is\x20not\x20found');let _0x464c06=_0x1263af[_0xa2362e(0x164)]()[_0xa2362e(0xe9)];return _0x464c06!==_0x46048c[_0xa2362e(0xe3)]['TRADITIONAL']&&_0x1410b1[_0xa2362e(0x165)](_0x31d67f[_0xa2362e(0xda)]['id']),await _0x32b675[_0xa2362e(0xf5)](_0x1263af['getUnitId']()),_0x464c06!==_0x46048c['DocumentFlavor'][_0xa2362e(0x17c)]&&_0x1410b1[_0xa2362e(0x165)](_0x31d67f[_0xa2362e(0xda)]['id']),!0x0;}},_0x374a22=_0x237dcc(0x112),_0x55ec2d={};var _0x3ed69b=_0x237dcc(0x109),_0x45ab67=_0x237dcc(0xd5);function _0x4f2e23({ref:_0x44a158,..._0x44837f}){const _0x41ee15=_0x237dcc;let {icon:_0x94de2f,id:_0x1b83fe,className:_0x1ba254,extend:_0xbb72a5,..._0x324221}=_0x44837f,_0x2d0333=(_0x41ee15(0x120)+_0x1b83fe+'\x20'+(_0x1ba254||''))[_0x41ee15(0x159)](),_0x1ef95d=(0x0,_0x1f44c1[_0x41ee15(0x1a4)])('_'+_0x1a9189());return _0x3a6b44(_0x94de2f,''+_0x1b83fe,{'defIds':_0x94de2f[_0x41ee15(0xe2)],'idSuffix':_0x1ef95d[_0x41ee15(0x149)]},{'ref':_0x44a158,'className':_0x2d0333,..._0x324221},_0xbb72a5);}function _0x3a6b44(_0x5bfbb9,_0x302594,_0x32db9d,_0x147923,_0xf5ff72){const _0x5e8516=_0x237dcc;return(0x0,_0x1f44c1['createElement'])(_0x5bfbb9[_0x5e8516(0x160)],{'key':_0x302594,..._0x54bb01(_0x5bfbb9,_0x32db9d,_0xf5ff72),..._0x147923},(_0x162940(_0x5bfbb9,_0x32db9d)[_0x5e8516(0x17b)]||[])[_0x5e8516(0x1b4)]((_0x598725,_0x50a4bf)=>_0x3a6b44(_0x598725,_0x302594+'-'+_0x5bfbb9['tag']+'-'+_0x50a4bf,_0x32db9d,void 0x0,_0xf5ff72)));}function _0x54bb01(_0x4cf6b7,_0x45365c,_0x176c6d){const _0x2a61dd=_0x237dcc;let _0x33ee16={..._0x4cf6b7[_0x2a61dd(0x19b)]};_0x176c6d!=null&&_0x176c6d['colorChannel1']&&_0x33ee16['fill']===_0x2a61dd(0xe1)&&(_0x33ee16[_0x2a61dd(0x158)]=_0x176c6d[_0x2a61dd(0xe1)]),_0x4cf6b7['tag']===_0x2a61dd(0x123)&&_0x33ee16['id']&&(_0x33ee16['id']+=_0x45365c[_0x2a61dd(0x163)]),Object['entries'](_0x33ee16)[_0x2a61dd(0x10b)](([_0x1c7612,_0x408a0c])=>{const _0x16872e=_0x2a61dd;_0x1c7612===_0x16872e(0x123)&&typeof _0x408a0c==_0x16872e(0x152)&&(_0x33ee16[_0x1c7612]=_0x408a0c[_0x16872e(0x156)](/url\(#(.*)\)/,'url(#$1'+_0x45365c[_0x16872e(0x163)]+')'));});let {defIds:_0x3e3dc5}=_0x45365c;return!_0x3e3dc5||_0x3e3dc5[_0x2a61dd(0x18b)]===0x0?_0x33ee16:(_0x4cf6b7[_0x2a61dd(0x160)]===_0x2a61dd(0x17a)&&_0x33ee16['xlink:href']&&(_0x33ee16[_0x2a61dd(0x11f)]+=_0x45365c['idSuffix']),Object[_0x2a61dd(0x131)](_0x33ee16)[_0x2a61dd(0x10b)](([_0x11137b,_0xceb580])=>{const _0x26732a=_0x2a61dd;typeof _0xceb580==_0x26732a(0x152)&&(_0x33ee16[_0x11137b]=_0xceb580['replace'](/url\(#(.*)\)/,_0x26732a(0x134)+_0x45365c[_0x26732a(0x163)]+')'));}),_0x33ee16);}function _0x162940(_0x4d8644,_0x1688ae){const _0x4d9e04=_0x237dcc;var _0x207257;let {defIds:_0xad9d94}=_0x1688ae;return!_0xad9d94||_0xad9d94[_0x4d9e04(0x18b)]===0x0?_0x4d8644:_0x4d8644[_0x4d9e04(0x160)]==='defs'&&(_0x207257=_0x4d8644[_0x4d9e04(0x17b)])!=null&&_0x207257[_0x4d9e04(0x18b)]?{..._0x4d8644,'children':_0x4d8644[_0x4d9e04(0x17b)][_0x4d9e04(0x1b4)](_0x33db98=>typeof _0x33db98[_0x4d9e04(0x19b)]['id']==_0x4d9e04(0x152)&&_0xad9d94&&_0xad9d94[_0x4d9e04(0x192)](_0x33db98['attrs']['id'])?{..._0x33db98,'attrs':{..._0x33db98[_0x4d9e04(0x19b)],'id':_0x33db98[_0x4d9e04(0x19b)]['id']+_0x1688ae[_0x4d9e04(0x163)]}}:_0x33db98)}:_0x4d8644;}function _0x1a9189(){const _0x5f296d=_0x237dcc;return Math[_0x5f296d(0x155)]()[_0x5f296d(0x19d)](0x24)[_0x5f296d(0x144)](0x2,0x8);}_0x4f2e23['displayName']='UniverIcon';let _0x5aa07b={'tag':_0x237dcc(0x141),'attrs':{'xmlns':_0x237dcc(0x172),'fill':_0x237dcc(0x100),'viewBox':_0x237dcc(0x175),'width':_0x237dcc(0x145),'height':'1em'},'children':[{'tag':_0x237dcc(0x17e),'attrs':{'fill':_0x237dcc(0x14e),'d':_0x237dcc(0x161)}},{'tag':_0x237dcc(0x17e),'attrs':{'fill':'currentColor','d':_0x237dcc(0x151),'fillRule':'evenodd','clipRule':_0x237dcc(0x11c)}}]},_0x366404=(0x0,_0x1f44c1[_0x237dcc(0x17d)])(function(_0x37cb26,_0x692d48){const _0x396e50=_0x237dcc;return(0x0,_0x1f44c1[_0x396e50(0x124)])(_0x4f2e23,Object[_0x396e50(0xf2)]({},_0x37cb26,{'id':_0x396e50(0xe6),'ref':_0x692d48,'icon':_0x5aa07b}));});_0x366404[_0x237dcc(0x19e)]=_0x237dcc(0x136);function _0x217b6b(_0x32ebc1){const _0x2f1047=_0x237dcc;return{'id':_0x40a29c['id'],'type':_0x21a14d[_0x2f1047(0x143)][_0x2f1047(0x12b)],'title':'print.menu','icon':'PrintIcon','tooltip':'print.menu','hidden$':(0x0,_0x21a14d[_0x2f1047(0x18a)])(_0x32ebc1,_0x46048c[_0x2f1047(0x11a)][_0x2f1047(0x147)])};}let _0x53cfbd={[_0x21a14d[_0x237dcc(0x10e)]['OTHERS']]:{[_0x40a29c['id']]:{'order':0.1,'menuItemFactory':_0x217b6b}}},_0x3bdde4=class extends _0x46048c[_0x237dcc(0x194)]{constructor(_0x2769fa,_0x45e67d,_0x472dab){const _0x45b6e4=_0x237dcc;super(),this[_0x45b6e4(0x111)]=_0x2769fa,this[_0x45b6e4(0x193)]=_0x45e67d,this[_0x45b6e4(0x1ae)]=_0x472dab,this[_0x45b6e4(0x15f)](),this[_0x45b6e4(0x18d)](),this[_0x45b6e4(0xde)]();}['_initMenus'](){const _0x20d962=_0x237dcc;this[_0x20d962(0x193)][_0x20d962(0x182)](_0x53cfbd);}['_initCommands'](){const _0x1c780a=_0x237dcc;this[_0x1c780a(0xeb)](this['_commandService'][_0x1c780a(0xee)](_0x40a29c));}[_0x237dcc(0xde)](){const _0x3f94ef=_0x237dcc;[[_0x3f94ef(0x136),_0x366404]][_0x3f94ef(0x10b)](([_0x3d0db5,_0x450819])=>{const _0x5ac0d1=_0x3f94ef;this[_0x5ac0d1(0x1ae)]['register'](_0x3d0db5,_0x450819);});}};_0x3bdde4=_0xe0570f([_0x5d2757(0x0,_0x46048c[_0x237dcc(0x1a5)]),_0x5d2757(0x1,_0x21a14d[_0x237dcc(0x130)]),_0x5d2757(0x2,(0x0,_0x46048c[_0x237dcc(0x11d)])(_0x21a14d[_0x237dcc(0x1aa)]))],_0x3bdde4);let _0x37cdfc=class extends _0x46048c['Plugin']{constructor(_0x5258dc=_0x55ec2d,_0x546086,_0xd16b1e){const _0x36fffc=_0x237dcc;super(),this[_0x36fffc(0xdf)]=_0x5258dc,this['_injector']=_0x546086,this['_configService']=_0xd16b1e;let {menu:_0x3ee013,..._0x217451}=(0x0,_0x46048c[_0x36fffc(0x185)])({},_0x55ec2d,this[_0x36fffc(0xdf)]);_0x3ee013&&this[_0x36fffc(0x162)][_0x36fffc(0x16f)](_0x36fffc(0x1a6),_0x3ee013,{'merge':!0x0}),this[_0x36fffc(0x162)][_0x36fffc(0x16f)](_0x374a22,_0x217451);}['onStarting'](){const _0xad24d3=_0x237dcc;(0x0,_0x46048c[_0xad24d3(0x15b)])(this[_0xad24d3(0xf8)],[[_0x33e57f],[_0x3bdde4]]);}['onReady'](){const _0x2602ca=_0x237dcc;this[_0x2602ca(0xf8)][_0x2602ca(0xed)](_0x3bdde4);}};_0x520e0a(_0x37cdfc,_0x237dcc(0x199),_0x237dcc(0x112)),_0x520e0a(_0x37cdfc,_0x237dcc(0x181),_0x3ed69b),_0x520e0a(_0x37cdfc,_0x237dcc(0x113),_0x45ab67),_0x520e0a(_0x37cdfc,_0x237dcc(0x18c),_0x46048c[_0x237dcc(0x11a)]['UNIVER_DOC']),_0x37cdfc=_0xe0570f([(0x0,_0x46048c[_0x237dcc(0x15d)])(_0x2580b0[_0x237dcc(0x108)],_0x329923[_0x237dcc(0x132)]),_0x5d2757(0x1,(0x0,_0x46048c[_0x237dcc(0x11d)])(_0x46048c['Injector'])),_0x5d2757(0x2,_0x46048c[_0x237dcc(0xd9)])],_0x37cdfc),_0x435ae0['DOCS_PRINT_PLUGIN_CONFIG_KEY']=_0x374a22,_0x435ae0[_0x237dcc(0x104)]=_0x40a29c,Object['defineProperty'](_0x435ae0,_0x237dcc(0x15a),{'enumerable':!0x0,'get':function(){return _0x37cdfc;}});}));
|
|
1
|
+
function _0x4f2b(_0x130bd0,_0xd2290){_0x130bd0=_0x130bd0-0xa4;const _0x54b830=_0x54b8();let _0x4f2b61=_0x54b830[_0x130bd0];return _0x4f2b61;}(function(_0x4cb086,_0x1ff979){const _0x22a15f=_0x4f2b,_0x247e46=_0x4cb086();while(!![]){try{const _0x1be923=parseInt(_0x22a15f(0xb3))/0x1*(-parseInt(_0x22a15f(0x12e))/0x2)+parseInt(_0x22a15f(0xd4))/0x3+-parseInt(_0x22a15f(0x105))/0x4+parseInt(_0x22a15f(0xf3))/0x5+parseInt(_0x22a15f(0x116))/0x6*(parseInt(_0x22a15f(0x178))/0x7)+parseInt(_0x22a15f(0xb5))/0x8*(parseInt(_0x22a15f(0x104))/0x9)+-parseInt(_0x22a15f(0xd8))/0xa*(parseInt(_0x22a15f(0x11b))/0xb);if(_0x1be923===_0x1ff979)break;else _0x247e46['push'](_0x247e46['shift']());}catch(_0x3ac64f){_0x247e46['push'](_0x247e46['shift']());}}}(_0x54b8,0x8ed61),function(_0x49aac6,_0xd100e3){const _0x1c2160=_0x4f2b;typeof exports==_0x1c2160(0x138)&&typeof module<'u'?_0xd100e3(exports,require(`@univerjs/core`),require(`@univerjs/docs-ui`),require(`@univerjs/engine-render`),require(`@univerjs-pro/license`),require(`@univerjs-pro/print`),require(`@univerjs/docs`),require(`@univerjs/ui`),require(`@univerjs/network`),require(`react`)):typeof define=='function'&&define[_0x1c2160(0xcc)]?define([_0x1c2160(0xfc),_0x1c2160(0x135),_0x1c2160(0x180),'@univerjs/engine-render',_0x1c2160(0xc4),_0x1c2160(0x11d),'@univerjs/docs',_0x1c2160(0x108),_0x1c2160(0xdd),_0x1c2160(0x181)],_0xd100e3):(_0x49aac6=typeof globalThis<'u'?globalThis:_0x49aac6||self,_0xd100e3(_0x49aac6[_0x1c2160(0x157)]={},_0x49aac6[_0x1c2160(0x13a)],_0x49aac6[_0x1c2160(0xe2)],_0x49aac6[_0x1c2160(0x141)],_0x49aac6[_0x1c2160(0x113)],_0x49aac6[_0x1c2160(0x13b)],_0x49aac6['UniverDocs'],_0x49aac6[_0x1c2160(0xf6)],_0x49aac6[_0x1c2160(0xe5)],_0x49aac6[_0x1c2160(0x110)]));}(this,function(_0x2b2c1d,_0x23addd,_0x3b8ca1,_0x1bfa1b,_0x254a49,_0x539cdc,_0x46afaf,_0x299073,_0x2e8374,_0x24c074){const _0x27feb1=_0x4f2b;Object[_0x27feb1(0x144)](_0x2b2c1d,Symbol[_0x27feb1(0x15d)],{'value':'Module'});function _0x3db6b7(_0x49444c){'@babel/helpers - typeof';const _0x1ba8c9=_0x27feb1;return _0x3db6b7=typeof Symbol==_0x1ba8c9(0x11f)&&typeof Symbol['iterator']==_0x1ba8c9(0x171)?function(_0x556309){return typeof _0x556309;}:function(_0x38f02d){const _0x1e7bed=_0x1ba8c9;return _0x38f02d&&typeof Symbol=='function'&&_0x38f02d[_0x1e7bed(0xfb)]===Symbol&&_0x38f02d!==Symbol[_0x1e7bed(0x10f)]?'symbol':typeof _0x38f02d;},_0x3db6b7(_0x49444c);}function _0x892889(_0x379026,_0x57b006){const _0x190a0f=_0x27feb1;if(_0x3db6b7(_0x379026)!=_0x190a0f(0x138)||!_0x379026)return _0x379026;var _0x374245=_0x379026[Symbol[_0x190a0f(0x14a)]];if(_0x374245!==void 0x0){var _0x7a4950=_0x374245[_0x190a0f(0x162)](_0x379026,_0x57b006||_0x190a0f(0x177));if(_0x3db6b7(_0x7a4950)!=_0x190a0f(0x138))return _0x7a4950;throw TypeError(_0x190a0f(0xc5));}return(_0x57b006==='string'?String:Number)(_0x379026);}function _0x361205(_0x4fe055){var _0x1fca1e=_0x892889(_0x4fe055,'string');return _0x3db6b7(_0x1fca1e)=='symbol'?_0x1fca1e:_0x1fca1e+'';}function _0x560c53(_0x27a842,_0x12c1f2,_0x4a8a09){const _0x22aa02=_0x27feb1;return(_0x12c1f2=_0x361205(_0x12c1f2))in _0x27a842?Object[_0x22aa02(0x144)](_0x27a842,_0x12c1f2,{'value':_0x4a8a09,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27a842[_0x12c1f2]=_0x4a8a09,_0x27a842;}var _0x1fc6c9=class extends _0x23addd[_0x27feb1(0xda)]{get[_0x27feb1(0x121)](){const _0x2ca5ad=_0x27feb1;return this[_0x2ca5ad(0x115)];}get['root'](){const _0x68126f=_0x27feb1;return this[_0x68126f(0x182)];}get[_0x27feb1(0x147)](){const _0x3377cd=_0x27feb1;let _0x5ba6c0=this['_injector'][_0x3377cd(0xc9)](_0x1bfa1b[_0x3377cd(0x15b)])[_0x3377cd(0x12a)](this[_0x3377cd(0x176)]);if(!_0x5ba6c0)throw Error(_0x3377cd(0x17c));return _0x5ba6c0;}get[_0x27feb1(0x139)](){const _0x533119=_0x27feb1;return this['_currentRender'][_0x533119(0xd1)](_0x46afaf[_0x533119(0xe1)])[_0x533119(0x153)]();}get[_0x27feb1(0x14f)](){const _0x543f96=_0x27feb1;let _0x16e01c=this[_0x543f96(0x139)]['getSkeletonData']();if(!_0x16e01c)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x16e01c;}get[_0x27feb1(0x179)](){const _0x26ae1f=_0x27feb1;let _0x18acb3=this['_skeletonData']['pages'][0x0];return{'width':_0x18acb3[_0x26ae1f(0x12c)],'height':_0x18acb3[_0x26ae1f(0x165)]};}constructor(_0x58236b,_0x27aad0,_0x310e0e,_0x432606){const _0x1a3dc4=_0x27feb1;super(),this[_0x1a3dc4(0x134)]=_0x58236b,this['_page']=_0x27aad0,this['_unitId']=_0x310e0e,this[_0x1a3dc4(0xb2)]=_0x432606,_0x560c53(this,_0x1a3dc4(0x115),document['createElement'](_0x1a3dc4(0x15e))),_0x560c53(this,_0x1a3dc4(0x182),document[_0x1a3dc4(0x127)]('div')),_0x560c53(this,_0x1a3dc4(0xd9),void 0x0),_0x560c53(this,_0x1a3dc4(0x136),void 0x0),_0x560c53(this,_0x1a3dc4(0x103),void 0x0),_0x560c53(this,_0x1a3dc4(0xd7),void 0x0),_0x560c53(this,'_viewMain',void 0x0),_0x560c53(this,_0x1a3dc4(0xe4),new _0x23addd[(_0x1a3dc4(0xdb))]()),this[_0x1a3dc4(0x103)]=(0x0,_0x23addd['generateRandomId'])(0x4),this[_0x1a3dc4(0x14b)](),this['disposeWithMe']({'dispose':()=>{const _0x38fbfe=_0x1a3dc4;this[_0x38fbfe(0xd9)][_0x38fbfe(0xbc)](),this['_scene'][_0x38fbfe(0xbc)](),this[_0x38fbfe(0xe4)]['dispose']();}});}[_0x27feb1(0xa9)](){const _0x5c97eb=_0x27feb1;let {docsTop:_0x523bd3,docsLeft:_0x4ab146}=this[_0x5c97eb(0xd7)]['getOffsetConfig'](),_0x3d0ee4=this['_paperSize'][_0x5c97eb(0x130)],_0x410e3b=this[_0x5c97eb(0x179)][_0x5c97eb(0x14d)];return{'top':_0x523bd3+(_0x523bd3+_0x3d0ee4)*this['_page'],'bottom':_0x523bd3+(_0x523bd3+_0x3d0ee4)*(this['_page']+0x1),'left':_0x4ab146,'right':_0x4ab146+_0x410e3b};}[_0x27feb1(0x14b)](){const _0x1abf39=_0x27feb1;this[_0x1abf39(0xd9)]=new _0x1bfa1b['Engine']('',{'elementWidth':this[_0x1abf39(0x179)][_0x1abf39(0x14d)],'elementHeight':this['_paperSize'][_0x1abf39(0x130)],'dpr':0x1,'renderMode':_0x1bfa1b['CanvasRenderMode'][_0x1abf39(0x15c)]}),this[_0x1abf39(0x136)]=new _0x1bfa1b[(_0x1abf39(0x159))](this[_0x1abf39(0x103)],this[_0x1abf39(0xd9)]),this['_scene'][_0x1abf39(0xaa)](0x1,0x1),this['_engine'][_0x1abf39(0xca)](this[_0x1abf39(0x115)],!0x1),this[_0x1abf39(0xd9)]['getCanvas']()['getContext']()['setId'](this['_key']+'_'+(0x0,_0x23addd[_0x1abf39(0x169)])(0x4)),this[_0x1abf39(0xbf)](),this[_0x1abf39(0xfa)]();}[_0x27feb1(0xbf)](){const _0x5936f5=_0x27feb1;let {pageMarginLeft:_0x597c1b,pageMarginTop:_0x36b6b6,docsLeft:_0x44086d,docsTop:_0x1d5298}=this['_offsetConfig'],_0xee51eb={'pageMarginLeft':_0x597c1b,'pageMarginTop':_0x36b6b6},_0x9064aa=new _0x1bfa1b[(_0x5936f5(0x10a))]('__DocPrintRender__',this['_skeleton'],_0xee51eb);_0x9064aa[_0x5936f5(0x131)](_0x44086d,_0x1d5298),this[_0x5936f5(0x136)]['addObject'](_0x9064aa),this[_0x5936f5(0xd7)]=_0x9064aa;let _0x790286=this['_injector'][_0x5936f5(0xc9)](_0x3b8ca1[_0x5936f5(0x124)]);_0x790286[_0x5936f5(0xec)]['fetchThroughInterceptors'](_0x790286['interceptor'][_0x5936f5(0xdc)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x5936f5(0x136)],'engine':this['_engine'],'root':this[_0x5936f5(0x182)],'documents':this[_0x5936f5(0xd7)],'skeleton':this[_0x5936f5(0x139)]});}[_0x27feb1(0xfa)](){const _0x1bd8fb=_0x27feb1;this[_0x1bd8fb(0xce)]=new _0x1bfa1b['Viewport'](_0x3b8ca1[_0x1bd8fb(0x117)][_0x1bd8fb(0xaf)],this[_0x1bd8fb(0x136)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x27feb1(0x120)](){const _0x55bc1f=_0x27feb1;let _0xc8c176=this[_0x55bc1f(0xa9)]();this[_0x55bc1f(0xce)]['updateScrollVal']({'viewportScrollX':_0xc8c176['left'],'viewportScrollY':_0xc8c176[_0x55bc1f(0x114)]}),this[_0x55bc1f(0x182)][_0x55bc1f(0x13c)]['position']=_0x55bc1f(0x11c),this[_0x55bc1f(0x182)][_0x55bc1f(0x13c)][_0x55bc1f(0x114)]=_0x55bc1f(0x13f),this['_root'][_0x55bc1f(0x13c)][_0x55bc1f(0xbd)]=_0x55bc1f(0x13f),this['_root'][_0x55bc1f(0x13c)][_0x55bc1f(0x14d)]='100%',this['_root'][_0x55bc1f(0x13c)][_0x55bc1f(0x130)]=_0x55bc1f(0x158),this[_0x55bc1f(0xe4)]=new _0x23addd[(_0x55bc1f(0xdb))]();let _0x2ee90c=this[_0x55bc1f(0x134)][_0x55bc1f(0xc9)](_0x3b8ca1[_0x55bc1f(0x124)]);_0x2ee90c[_0x55bc1f(0xec)][_0x55bc1f(0x132)](_0x2ee90c[_0x55bc1f(0xec)][_0x55bc1f(0xdc)]()[_0x55bc1f(0xc8)])(this[_0x55bc1f(0xe4)],{'unitId':this[_0x55bc1f(0x176)],'scene':this['_scene'],'engine':this['_engine'],'root':this['_root'],'skeleton':this[_0x55bc1f(0x139)],'offset':{'x':_0xc8c176[_0x55bc1f(0xbd)],'y':_0xc8c176[_0x55bc1f(0x114)]},'bound':{'top':_0xc8c176[_0x55bc1f(0x114)],'left':_0xc8c176[_0x55bc1f(0xbd)],'right':_0xc8c176[_0x55bc1f(0x16e)],'bottom':_0xc8c176[_0x55bc1f(0xdf)]}});}[_0x27feb1(0x160)](){const _0xdcab92=_0x27feb1;let _0x5ea6da=this[_0xdcab92(0xd9)][_0xdcab92(0xbe)]()['getContext']();this[_0xdcab92(0xd7)][_0xdcab92(0x146)](),this['_scene'][_0xdcab92(0xff)](),_0x5ea6da[_0xdcab92(0xcf)](),this[_0xdcab92(0x136)]['render'](),_0x5ea6da[_0xdcab92(0xc3)]();}};function _0x49c56f(_0x6e623d,_0x99d67b){return function(_0x242ad3,_0x498d16){_0x99d67b(_0x242ad3,_0x498d16,_0x6e623d);};}function _0x1ecdc6(_0x9ee96d,_0x261064,_0x214c10,_0x4ab98a){const _0x5a039b=_0x27feb1;var _0x121701=arguments[_0x5a039b(0xcb)],_0x41fdc5=_0x121701<0x3?_0x261064:_0x4ab98a===null?_0x4ab98a=Object['getOwnPropertyDescriptor'](_0x261064,_0x214c10):_0x4ab98a,_0x50567a;if(typeof Reflect==_0x5a039b(0x138)&&typeof Reflect[_0x5a039b(0xb7)]=='function')_0x41fdc5=Reflect['decorate'](_0x9ee96d,_0x261064,_0x214c10,_0x4ab98a);else{for(var _0x3a9702=_0x9ee96d[_0x5a039b(0xcb)]-0x1;_0x3a9702>=0x0;_0x3a9702--)(_0x50567a=_0x9ee96d[_0x3a9702])&&(_0x41fdc5=(_0x121701<0x3?_0x50567a(_0x41fdc5):_0x121701>0x3?_0x50567a(_0x261064,_0x214c10,_0x41fdc5):_0x50567a(_0x261064,_0x214c10))||_0x41fdc5);}return _0x121701>0x3&&_0x41fdc5&&Object[_0x5a039b(0x144)](_0x261064,_0x214c10,_0x41fdc5),_0x41fdc5;}let _0x55ad9c=Number[_0x27feb1(0xc0)](0x69e3503e),_0x3d48b8=(_0x4888f8,_0x33a9e8,_0x377cff)=>{const _0x528a59=_0x27feb1;let _0x2a1272={'page':_0x4888f8,'isPro':!0x1,'timeValid':!0x1};if(!_0x33a9e8||!_0x377cff)return _0x2a1272;let _0x596ea2=(0x0,_0x254a49[_0x528a59(0xed)])(_0x33a9e8,_0x377cff);if(_0x596ea2['valid']){let _0x485214=_0x596ea2[_0x528a59(0x16f)],_0x167c7a=(0x0,_0x254a49['isFeatureAuthorizedWithinTime'])(_0x485214,'df',_0x55ad9c);_0x2a1272['isPro']=_0x167c7a,_0x2a1272[_0x528a59(0x125)]=_0x167c7a,_0x2a1272['page']=(0x0,_0x254a49['getDocFeatureLimit'])(_0x485214,_0x167c7a,_0x528a59(0x109),_0x4888f8,_0x4888f8,0x0);}return _0x2a1272;},_0x527926=class extends _0x23addd[_0x27feb1(0xda)]{constructor(_0x3f782d,_0x4ad811,_0x52c77f,_0x25ebf8,_0x378dfb){const _0x1041c2=_0x27feb1;super(),this['_univerInstanceService']=_0x3f782d,this[_0x1041c2(0x101)]=_0x4ad811,this[_0x1041c2(0x134)]=_0x52c77f,this[_0x1041c2(0x14c)]=_0x25ebf8,this[_0x1041c2(0xae)]=_0x378dfb;}[_0x27feb1(0x175)](_0x1b8d6b){const _0xc5086c=_0x27feb1;var _0xf62f48,_0x3c1b07;let {ls:_0x526763,pbk:_0x33c8bd}=(_0xf62f48=this[_0xc5086c(0x14c)][_0xc5086c(0x122)](_0x254a49[_0xc5086c(0x112)]))==null?{}:_0xf62f48,_0x3dcedd=(0x0,_0x254a49[_0xc5086c(0x128)])()?0x1/0x0:_0x3d48b8(0x1,_0x526763,_0x33c8bd)[_0xc5086c(0x17f)];if(!this['_univerInstanceService'][_0xc5086c(0x16b)](_0x1b8d6b,_0x23addd[_0xc5086c(0x129)][_0xc5086c(0x137)]))throw Error(_0xc5086c(0x10e));let _0xa70c8b=this[_0xc5086c(0x101)][_0xc5086c(0x12a)](_0x1b8d6b);if(!_0xa70c8b)throw Error(_0xc5086c(0x17c));let _0x21400b=(_0x3c1b07=_0xa70c8b[_0xc5086c(0xd1)](_0x46afaf['DocSkeletonManagerService'])['getSkeleton']()[_0xc5086c(0x100)]())==null?void 0x0:_0x3c1b07[_0xc5086c(0xad)];if(!_0x21400b)throw Error('Pages\x20are\x20not\x20found');let _0x42ad47={'width':_0x21400b[0x0][_0xc5086c(0x12c)],'height':_0x21400b[0x0][_0xc5086c(0x165)]},_0x2bc85c=_0x21400b[_0xc5086c(0xcb)],_0x1a4ba5=Math[_0xc5086c(0xee)](_0x3dcedd,_0x2bc85c),_0x18a1f1=_0xa70c8b[_0xc5086c(0x150)]['getOffsetConfig'](),_0x403f0c=document[_0xc5086c(0x127)](_0xc5086c(0x15e));_0x403f0c['className']=_0x539cdc[_0xc5086c(0xf5)];let _0x35de2d=Array(_0x1a4ba5)['fill'](null)[_0xc5086c(0xf4)]((_0x878f73,_0x2e3a98)=>{const _0x1617fb=_0xc5086c;let _0x1e373=new _0x1fc6c9(this['_injector'],_0x2e3a98,_0x1b8d6b,_0x18a1f1);return _0x1e373[_0x1617fb(0x121)][_0x1617fb(0x152)]=_0x539cdc[_0x1617fb(0xea)],_0x1e373;});_0x35de2d[_0xc5086c(0x164)](_0x1e4233=>{const _0x290706=_0xc5086c;_0x403f0c['appendChild'](_0x1e4233[_0x290706(0x121)]),_0x1e4233[_0x290706(0x121)][_0x290706(0xf0)](_0x1e4233[_0x290706(0xe9)]),_0x1e4233[_0x290706(0x120)]();});let _0x49d872=(0x0,_0x539cdc['createPrintStyle'])(_0x42ad47['width'],_0x42ad47[_0xc5086c(0x130)],_0x539cdc['PrintDirection'][_0xc5086c(0x13e)]);return document[_0xc5086c(0xb0)][_0xc5086c(0xf0)](_0x49d872),document[_0xc5086c(0xb0)][_0xc5086c(0xf0)](_0x403f0c),new Promise(_0x2c1a1f=>{setTimeout(()=>{const _0x112a17=_0x4f2b;window[_0x112a17(0x173)]=()=>{const _0x38a508=_0x112a17;_0x35de2d[_0x38a508(0x164)](_0x22564a=>{const _0x200c51=_0x38a508;_0x22564a[_0x200c51(0x160)]();});},window[_0x112a17(0xd3)]=()=>{const _0x188dd0=_0x112a17;_0x35de2d[_0x188dd0(0x164)](_0x121a6d=>{const _0x2492ec=_0x188dd0;_0x121a6d[_0x2492ec(0xbc)]();}),document['body'][_0x188dd0(0xa7)](_0x403f0c),document[_0x188dd0(0xb0)][_0x188dd0(0xa7)](_0x49d872),this[_0x188dd0(0xae)][_0x188dd0(0xb4)](),_0x2c1a1f(!0x0);},window[_0x112a17(0x175)]();},0x64);});}};_0x527926=_0x1ecdc6([_0x49c56f(0x0,_0x23addd[_0x27feb1(0x174)]),_0x49c56f(0x1,_0x1bfa1b[_0x27feb1(0x15b)]),_0x49c56f(0x2,(0x0,_0x23addd[_0x27feb1(0xe3)])(_0x23addd[_0x27feb1(0x140)])),_0x49c56f(0x3,_0x23addd['IConfigService']),_0x49c56f(0x4,_0x299073[_0x27feb1(0x154)])],_0x527926);let _0x1951cd={'id':_0x27feb1(0x145),'type':_0x23addd[_0x27feb1(0x17a)]['OPERATION'],'handler':async _0x31bb25=>{const _0x3c463a=_0x27feb1;let _0x52750c=_0x31bb25[_0x3c463a(0xc9)](_0x23addd[_0x3c463a(0x174)]),_0x1304c3=_0x31bb25[_0x3c463a(0xc9)](_0x527926),_0x1c6a7c=_0x31bb25[_0x3c463a(0xc9)](_0x1bfa1b[_0x3c463a(0x15b)]),_0x3764b4=_0x31bb25[_0x3c463a(0xc9)](_0x23addd[_0x3c463a(0xc1)]),_0x57952d=_0x52750c[_0x3c463a(0x11a)](_0x23addd[_0x3c463a(0x129)][_0x3c463a(0x137)]);if(!_0x57952d)return!0x1;if(!_0x1c6a7c[_0x3c463a(0x12a)](_0x57952d[_0x3c463a(0xd6)]()))throw Error(_0x3c463a(0x17c));let _0x1cd640=_0x57952d[_0x3c463a(0x168)]()[_0x3c463a(0x16a)];return _0x1cd640!==_0x23addd[_0x3c463a(0xfd)][_0x3c463a(0x149)]&&_0x3764b4[_0x3c463a(0xb1)](_0x3b8ca1['SwitchDocModeCommand']['id']),await _0x1304c3[_0x3c463a(0x175)](_0x57952d[_0x3c463a(0xd6)]()),_0x1cd640!==_0x23addd['DocumentFlavor'][_0x3c463a(0x149)]&&_0x3764b4[_0x3c463a(0xb1)](_0x3b8ca1[_0x3c463a(0x16c)]['id']),!0x0;}},_0x48c8f1=_0x27feb1(0x172),_0x34cbb0={};var _0x309afb=_0x27feb1(0x17e),_0x22c947=_0x27feb1(0xe8);function _0x46e61f({ref:_0x158b93,..._0x346d5f}){const _0x16d251=_0x27feb1;let {icon:_0x31bc37,id:_0x40d5f5,className:_0x5aff94,extend:_0x1f82d1,..._0x32625d}=_0x346d5f,_0x47e07b=(_0x16d251(0x126)+_0x40d5f5+'\x20'+(_0x5aff94||''))[_0x16d251(0xc6)](),_0x2cb83f=(0x0,_0x24c074['useRef'])('_'+_0x4ec6d9());return _0x45a8a3(_0x31bc37,''+_0x40d5f5,{'defIds':_0x31bc37[_0x16d251(0xf2)],'idSuffix':_0x2cb83f[_0x16d251(0xf8)]},{'ref':_0x158b93,'className':_0x47e07b,..._0x32625d},_0x1f82d1);}function _0x45a8a3(_0x2243ce,_0x5f1fa6,_0x30e38c,_0x14d927,_0x5d3107){const _0x2538c2=_0x27feb1;return(0x0,_0x24c074['createElement'])(_0x2243ce[_0x2538c2(0xa5)],{'key':_0x5f1fa6,..._0x5149c6(_0x2243ce,_0x30e38c,_0x5d3107),..._0x14d927},(_0x39698f(_0x2243ce,_0x30e38c)[_0x2538c2(0x123)]||[])['map']((_0x345bb0,_0x768d11)=>_0x45a8a3(_0x345bb0,_0x5f1fa6+'-'+_0x2243ce[_0x2538c2(0xa5)]+'-'+_0x768d11,_0x30e38c,void 0x0,_0x5d3107)));}function _0x5149c6(_0x272732,_0x54e1ef,_0x1db5ce){const _0x11e454=_0x27feb1;let _0x2c3321={..._0x272732[_0x11e454(0x17b)]};_0x1db5ce!=null&&_0x1db5ce[_0x11e454(0x170)]&&_0x2c3321[_0x11e454(0xeb)]===_0x11e454(0x170)&&(_0x2c3321[_0x11e454(0xeb)]=_0x1db5ce[_0x11e454(0x170)]),_0x272732[_0x11e454(0xa5)]===_0x11e454(0xe7)&&_0x2c3321['id']&&(_0x2c3321['id']+=_0x54e1ef[_0x11e454(0xba)]),Object[_0x11e454(0x10b)](_0x2c3321)[_0x11e454(0x164)](([_0x45558f,_0x7718da])=>{const _0x5853f5=_0x11e454;_0x45558f===_0x5853f5(0xe7)&&typeof _0x7718da=='string'&&(_0x2c3321[_0x45558f]=_0x7718da[_0x5853f5(0x119)](/url\(#(.*)\)/,'url(#$1'+_0x54e1ef[_0x5853f5(0xba)]+')'));});let {defIds:_0x31b8b9}=_0x54e1ef;return!_0x31b8b9||_0x31b8b9[_0x11e454(0xcb)]===0x0?_0x2c3321:(_0x272732['tag']===_0x11e454(0x15a)&&_0x2c3321[_0x11e454(0x148)]&&(_0x2c3321[_0x11e454(0x148)]+=_0x54e1ef[_0x11e454(0xba)]),Object['entries'](_0x2c3321)[_0x11e454(0x164)](([_0x1a1148,_0x1d828d])=>{const _0x492b2e=_0x11e454;typeof _0x1d828d==_0x492b2e(0x12b)&&(_0x2c3321[_0x1a1148]=_0x1d828d['replace'](/url\(#(.*)\)/,_0x492b2e(0x167)+_0x54e1ef['idSuffix']+')'));}),_0x2c3321);}function _0x39698f(_0x3b845b,_0x52fac3){const _0xdbf223=_0x27feb1;var _0xf4ed61;let {defIds:_0x4c64fe}=_0x52fac3;return!_0x4c64fe||_0x4c64fe[_0xdbf223(0xcb)]===0x0?_0x3b845b:_0x3b845b['tag']===_0xdbf223(0x156)&&(_0xf4ed61=_0x3b845b[_0xdbf223(0x123)])!=null&&_0xf4ed61[_0xdbf223(0xcb)]?{..._0x3b845b,'children':_0x3b845b[_0xdbf223(0x123)][_0xdbf223(0xf4)](_0x430fc6=>typeof _0x430fc6[_0xdbf223(0x17b)]['id']==_0xdbf223(0x12b)&&_0x4c64fe&&_0x4c64fe['includes'](_0x430fc6['attrs']['id'])?{..._0x430fc6,'attrs':{..._0x430fc6['attrs'],'id':_0x430fc6[_0xdbf223(0x17b)]['id']+_0x52fac3[_0xdbf223(0xba)]}}:_0x430fc6)}:_0x3b845b;}function _0x4ec6d9(){const _0xa0f97=_0x27feb1;return Math[_0xa0f97(0xa8)]()[_0xa0f97(0x14e)](0x24)[_0xa0f97(0xb9)](0x2,0x8);}_0x46e61f[_0x27feb1(0xc7)]=_0x27feb1(0x17d);let _0x2e973f={'tag':_0x27feb1(0xd2),'attrs':{'xmlns':_0x27feb1(0xb8),'fill':_0x27feb1(0xf7),'viewBox':_0x27feb1(0xcd),'width':'1em','height':_0x27feb1(0x12d)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x27feb1(0x16d)}},{'tag':_0x27feb1(0xa6),'attrs':{'fill':_0x27feb1(0xb6),'d':_0x27feb1(0xfe),'fillRule':'evenodd','clipRule':_0x27feb1(0xe6)}}]},_0x374a1f=(0x0,_0x24c074[_0x27feb1(0x163)])(function(_0x1a78c4,_0x433b33){const _0x5b1481=_0x27feb1;return(0x0,_0x24c074[_0x5b1481(0x127)])(_0x46e61f,Object[_0x5b1481(0x11e)]({},_0x1a78c4,{'id':_0x5b1481(0xde),'ref':_0x433b33,'icon':_0x2e973f}));});_0x374a1f[_0x27feb1(0xc7)]=_0x27feb1(0xe0);function _0x28820f(_0xfe45f2){const _0x26b1b7=_0x27feb1;return{'id':_0x1951cd['id'],'type':_0x299073['MenuItemType']['BUTTON'],'title':'print.menu','icon':_0x26b1b7(0xe0),'tooltip':_0x26b1b7(0x143),'hidden$':(0x0,_0x299073[_0x26b1b7(0xac)])(_0xfe45f2,_0x23addd[_0x26b1b7(0x129)]['UNIVER_DOC'])};}let _0x45b29e={[_0x299073[_0x27feb1(0x111)][_0x27feb1(0xd0)]]:{[_0x1951cd['id']]:{'order':0.1,'menuItemFactory':_0x28820f}}},_0x358fed=class extends _0x23addd[_0x27feb1(0xda)]{constructor(_0x479ade,_0x41d625,_0xe5a5ce){const _0x28ec86=_0x27feb1;super(),this[_0x28ec86(0xd5)]=_0x479ade,this['_menuManagerService']=_0x41d625,this['_componentManager']=_0xe5a5ce,this[_0x28ec86(0x151)](),this['_initCommands'](),this[_0x28ec86(0x13d)]();}['_initMenus'](){const _0x1d9b1f=_0x27feb1;this[_0x1d9b1f(0x133)][_0x1d9b1f(0xf9)](_0x45b29e);}[_0x27feb1(0x106)](){const _0x29a1d8=_0x27feb1;this[_0x29a1d8(0x161)](this[_0x29a1d8(0xd5)][_0x29a1d8(0xa4)](_0x1951cd));}['_initComponents'](){const _0x5aceb7=_0x27feb1;[[_0x5aceb7(0xe0),_0x374a1f]][_0x5aceb7(0x164)](([_0x36f8cb,_0x218b07])=>{const _0x2db2f1=_0x5aceb7;this[_0x2db2f1(0x155)]['register'](_0x36f8cb,_0x218b07);});}};_0x358fed=_0x1ecdc6([_0x49c56f(0x0,_0x23addd[_0x27feb1(0xc1)]),_0x49c56f(0x1,_0x299073['IMenuManagerService']),_0x49c56f(0x2,(0x0,_0x23addd[_0x27feb1(0xe3)])(_0x299073[_0x27feb1(0x107)]))],_0x358fed);let _0x64a9a5=class extends _0x23addd['Plugin']{constructor(_0x4e4e4e=_0x34cbb0,_0x54e329,_0x48a85a){const _0x3be79a=_0x27feb1;super(),this[_0x3be79a(0x10d)]=_0x4e4e4e,this[_0x3be79a(0x134)]=_0x54e329,this[_0x3be79a(0x14c)]=_0x48a85a;let {menu:_0x434fff,..._0x4ac685}=(0x0,_0x23addd[_0x3be79a(0xbb)])({},_0x34cbb0,this['_config']);_0x434fff&&this[_0x3be79a(0x14c)][_0x3be79a(0x12f)](_0x3be79a(0xab),_0x434fff,{'merge':!0x0}),this[_0x3be79a(0x14c)][_0x3be79a(0x12f)](_0x48c8f1,_0x4ac685);}[_0x27feb1(0x118)](){const _0x53feb6=_0x27feb1;(0x0,_0x23addd[_0x53feb6(0x166)])(this['_injector'],[[_0x527926],[_0x358fed]]);}[_0x27feb1(0xc2)](){const _0x550239=_0x27feb1;this[_0x550239(0x134)][_0x550239(0xc9)](_0x358fed);}};_0x560c53(_0x64a9a5,'pluginName',_0x27feb1(0x172)),_0x560c53(_0x64a9a5,'packageName',_0x309afb),_0x560c53(_0x64a9a5,_0x27feb1(0x102),_0x22c947),_0x560c53(_0x64a9a5,_0x27feb1(0xef),_0x23addd[_0x27feb1(0x129)]['UNIVER_DOC']),_0x64a9a5=_0x1ecdc6([(0x0,_0x23addd[_0x27feb1(0xf1)])(_0x2e8374['UniverNetworkPlugin'],_0x254a49['UniverLicensePlugin']),_0x49c56f(0x1,(0x0,_0x23addd['Inject'])(_0x23addd[_0x27feb1(0x140)])),_0x49c56f(0x2,_0x23addd[_0x27feb1(0x10c)])],_0x64a9a5),_0x2b2c1d[_0x27feb1(0x142)]=_0x48c8f1,_0x2b2c1d['DocPrintOperation']=_0x1951cd,Object[_0x27feb1(0x144)](_0x2b2c1d,_0x27feb1(0x15f),{'enumerable':!0x0,'get':function(){return _0x64a9a5;}});}));function _0x54b8(){const _0x194ea0=['_skeletonData','mainComponent','_initMenus','className','getSkeleton','IGlobalZoneService','_componentManager','defs','UniverProDocsPrint','100%','Scene','use','IRenderManagerService','Printing','toStringTag','div','UniverDocsPrintPlugin','render','disposeWithMe','call','forwardRef','forEach','pageHeight','registerDependencies','url(#$1','getDocumentStyle','generateRandomId','documentFlavor','getUnit','SwitchDocModeCommand','M4.20039\x208.06641C3.86902\x208.06641\x203.60039\x208.33504\x203.60039\x208.66641C3.60039\x208.99778\x203.86902\x209.26641\x204.20039\x209.26641H5.20039C5.53176\x209.26641\x205.80039\x208.99778\x205.80039\x208.66641C5.80039\x208.33504\x205.53176\x208.06641\x205.20039\x208.06641H4.20039Z','right','message','colorChannel1','symbol','UNIVER_DOCS_PRINT','onbeforeprint','IUniverInstanceService','print','_unitId','default','891555JsxNif','_paperSize','CommandType','attrs','Render\x20is\x20not\x20found','UniverIcon','@univerjs-pro/docs-print','page','@univerjs/docs-ui','react','_root','registerCommand','tag','path','removeChild','random','_calculateLayout','scale','menu','getMenuHiddenObservable','pages','_globalZoneService','VIEW_MAIN','body','syncExecuteCommand','_offsetConfig','9813RQWGuy','close','16952WWFwFg','currentColor','decorate','http://www.w3.org/2000/svg','substring','idSuffix','merge','dispose','left','getCanvas','_addComponent','parseInt','ICommandService','onReady','restore','@univerjs-pro/license','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','trim','displayName','PRINTING_DOM_COLLECT','get','setContainer','length','amd','0\x200\x2016\x2016','_viewMain','save','OTHERS','with','svg','onafterprint','1564536ybPRim','_commandService','getUnitId','_documents','70CvPmIC','_engine','Disposable','DisposableCollection','getInterceptPoints','@univerjs/network','print-icon','bottom','PrintIcon','DocSkeletonManagerService','UniverDocsUi','Inject','_effects','UniverNetwork','evenodd','mask','0.21.0','root','PRINT_CANVAS_CLASS','fill','interceptor','getLicenseInfo','min','type','appendChild','DependentOn','defIds','578655vFbxap','map','PRINT_CONTAINER_CLASS','UniverUi','none','current','mergeMenu','_addViewport','constructor','exports','DocumentFlavor','M13.1297\x203.19844C13.1297\x202.20418\x2012.3236\x201.39824\x2011.3293\x201.39844L4.66878\x201.39977C3.67481\x201.39997\x202.86914\x202.2058\x202.86914\x203.19977V5.49756C2.03331\x205.65308\x201.4005\x206.38619\x201.40049\x207.26709L1.40039\x2012.7996C1.40037\x2013.7937\x202.20626\x2014.5997\x203.20039\x2014.5997L6.62542\x2014.5997C6.63896\x2014.6006\x206.65263\x2014.601\x206.66641\x2014.601C6.68018\x2014.601\x206.69385\x2014.6006\x206.70739\x2014.5997L11.6256\x2014.5997C11.6391\x2014.6006\x2011.6527\x2014.601\x2011.6664\x2014.601C11.6801\x2014.601\x2011.6937\x2014.6006\x2011.7072\x2014.5997L12.7996\x2014.5997C13.7937\x2014.5997\x2014.5996\x2013.7938\x2014.5996\x2012.7997V7.26641C14.5996\x206.38503\x2013.9662\x205.65161\x2013.1297\x205.4966V3.19844ZM11.0664\x2013.3997L7.26641\x2013.3997V12.3344C7.26641\x2012.1135\x207.44549\x2011.9344\x207.66641\x2011.9344H10.6664C10.8873\x2011.9344\x2011.0664\x2012.1135\x2011.0664\x2012.3344V13.3997ZM12.2664\x2012.3344V13.3997L12.7996\x2013.3997C13.131\x2013.3997\x2013.3996\x2013.1311\x2013.3996\x2012.7997V7.26641C13.3996\x206.93502\x2013.131\x206.66638\x2012.7996\x206.66641L3.20044\x206.66712C2.86909\x206.66715\x202.60049\x206.93576\x202.60049\x207.26711L2.60039\x2012.7996C2.60038\x2013.131\x202.86901\x2013.3997\x203.20039\x2013.3997L6.06641\x2013.3997V12.3344C6.06641\x2011.4507\x206.78275\x2010.7344\x207.66641\x2010.7344H10.6664C11.5501\x2010.7344\x2012.2664\x2011.4507\x2012.2664\x2012.3344ZM11.9297\x205.46647V3.19844C11.9297\x202.86702\x2011.661\x202.59837\x2011.3296\x202.59844L4.66902\x202.59977C4.3377\x202.59984\x204.06914\x202.86845\x204.06914\x203.19977V5.46706L11.9297\x205.46647Z','makeDirty','getSkeletonData','_renderManagerService','version','_key','2736nPHqcZ','2015700LPrCxJ','_initCommands','ComponentManager','@univerjs/ui','mpn','Documents','entries','IConfigService','_config','DocumentDataModel\x20is\x20not\x20found','prototype','React','RibbonStartGroup','LS_CONFIG_KEY','UniverProLicense','top','_container','36ImdsTj','VIEWPORT_KEY','onStarting','replace','getCurrentUnitOfType','963556ZvRYfp','absolute','@univerjs-pro/print','assign','function','prepare','container','getConfig','children','DocPrintInterceptorService','timeValid','univerjs-icon\x20univerjs-icon-','createElement','isLocalCheck','UniverInstanceType','getRenderById','string','pageWidth','1em','70YpcQhm','setConfig','height','translate','fetchThroughInterceptors','_menuManagerService','_injector','@univerjs/core','_scene','UNIVER_DOC','object','_skeleton','UniverCore','UniverProPrint','style','_initComponents','Portrait','0px','Injector','UniverEngineRender','DOCS_PRINT_PLUGIN_CONFIG_KEY','print.menu','defineProperty','docs.operation.print','makeForceDirty','_currentRender','xlink:href','TRADITIONAL','toPrimitive','_initRenderer','_configService','width','toString'];_0x54b8=function(){return _0x194ea0;};return _0x54b8();}
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5b15(_0x3e61b6,_0x3c2fcd){_0x3e61b6=_0x3e61b6-0x118;var _0x57388f=_0x5738();var _0x5b150b=_0x57388f[_0x3e61b6];return _0x5b150b;}function _0x5738(){var _0x29cea7=['27168bvkYeu','419209TtAiBA','5540829ixecpp','UniverProDocsPrintCaES','Print','64dIPRxY','11546944WJJkgO','function','276732jHRWwK','amd','226482GLgrva','exports','944605OgPQvY'];_0x5738=function(){return _0x29cea7;};return _0x5738();}(function(_0x13dcc5,_0x395eb0){var _0x2d6ff9=_0x5b15,_0x3e8999=_0x13dcc5();while(!![]){try{var _0xcb71c2=-parseInt(_0x2d6ff9(0x11a))/0x1+-parseInt(_0x2d6ff9(0x123))/0x2+-parseInt(_0x2d6ff9(0x119))/0x3*(-parseInt(_0x2d6ff9(0x11e))/0x4)+parseInt(_0x2d6ff9(0x118))/0x5+-parseInt(_0x2d6ff9(0x121))/0x6+-parseInt(_0x2d6ff9(0x11b))/0x7+parseInt(_0x2d6ff9(0x11f))/0x8;if(_0xcb71c2===_0x395eb0)break;else _0x3e8999['push'](_0x3e8999['shift']());}catch(_0x4a9c51){_0x3e8999['push'](_0x3e8999['shift']());}}}(_0x5738,0x6361a),function(_0x513812,_0x34ea75){var _0x97fda5=_0x5b15;typeof exports=='object'&&typeof module<'u'?module[_0x97fda5(0x124)]=_0x34ea75():typeof define==_0x97fda5(0x120)&&define[_0x97fda5(0x122)]?define([],_0x34ea75):(_0x513812=typeof globalThis<'u'?globalThis:_0x513812||self,_0x513812[_0x97fda5(0x11c)]=_0x34ea75());}(this,function(){var _0x139c6d=_0x5b15;return{'print':{'menu':_0x139c6d(0x11d)}};}));
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x472d(_0x41f8af,_0x4941f6){_0x41f8af=_0x41f8af-0x1f2;var _0x2cce0a=_0x2cce();var _0x472dad=_0x2cce0a[_0x41f8af];return _0x472dad;}(function(_0x520b2d,_0x1b5050){var _0x33b884=_0x472d,_0x3881e3=_0x520b2d();while(!![]){try{var _0x5a4dfa=-parseInt(_0x33b884(0x1f5))/0x1+parseInt(_0x33b884(0x1f2))/0x2*(-parseInt(_0x33b884(0x1fd))/0x3)+-parseInt(_0x33b884(0x1fc))/0x4*(-parseInt(_0x33b884(0x202))/0x5)+parseInt(_0x33b884(0x1f7))/0x6*(-parseInt(_0x33b884(0x1f9))/0x7)+-parseInt(_0x33b884(0x1f6))/0x8+-parseInt(_0x33b884(0x1f3))/0x9*(parseInt(_0x33b884(0x1fe))/0xa)+-parseInt(_0x33b884(0x201))/0xb*(-parseInt(_0x33b884(0x200))/0xc);if(_0x5a4dfa===_0x1b5050)break;else _0x3881e3['push'](_0x3881e3['shift']());}catch(_0x590531){_0x3881e3['push'](_0x3881e3['shift']());}}}(_0x2cce,0xab339),function(_0x22c3f1,_0x1cc687){var _0x155fbf=_0x472d;typeof exports==_0x155fbf(0x1f8)&&typeof module<'u'?module[_0x155fbf(0x1f4)]=_0x1cc687():typeof define==_0x155fbf(0x1fb)&&define['amd']?define([],_0x1cc687):(_0x22c3f1=typeof globalThis<'u'?globalThis:_0x22c3f1||self,_0x22c3f1[_0x155fbf(0x1fa)]=_0x1cc687());}(this,function(){var _0x46b3dd=_0x472d;return{'print':{'menu':_0x46b3dd(0x1ff)}};}));function _0x2cce(){var _0x235a8a=['362172TOUHnP','1672DeWgBc','517840HWUwfP','10QgvEqm','4986OcAwzU','exports','1090238TLlEyo','8209040sYYMcd','6CYdmWy','object','7605514LrcGFe','UniverProDocsPrintEnUS','function','4ZqWxue','269085FfdwVD','6110ljyqHF','Print'];_0x2cce=function(){return _0x235a8a;};return _0x2cce();}
|
package/lib/umd/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1d80(_0x104588,_0x32c94d){_0x104588=_0x104588-0xcf;var _0x560c69=_0x560c();var _0x1d801b=_0x560c69[_0x104588];return _0x1d801b;}function _0x560c(){var _0x4487ae=['3734604PcnhNC','589036KSbCwM','UniverProDocsPrintEsES','2164340NuFRBW','2461784swCRmx','function','3045460JmOKVv','65908IsiZAE','12DhXyOM','7hXFUnk','Print','972lnNOKr','exports','13130aTwwSd'];_0x560c=function(){return _0x4487ae;};return _0x560c();}(function(_0xfb2b69,_0x3129e6){var _0x329f6c=_0x1d80,_0x2a58b2=_0xfb2b69();while(!![]){try{var _0x5e6bd4=parseInt(_0x329f6c(0xd4))/0x1+parseInt(_0x329f6c(0xda))/0x2*(parseInt(_0x329f6c(0xdb))/0x3)+-parseInt(_0x329f6c(0xd6))/0x4+parseInt(_0x329f6c(0xd9))/0x5+-parseInt(_0x329f6c(0xd3))/0x6+parseInt(_0x329f6c(0xdc))/0x7*(parseInt(_0x329f6c(0xd7))/0x8)+parseInt(_0x329f6c(0xd0))/0x9*(-parseInt(_0x329f6c(0xd2))/0xa);if(_0x5e6bd4===_0x3129e6)break;else _0x2a58b2['push'](_0x2a58b2['shift']());}catch(_0x4c8ad8){_0x2a58b2['push'](_0x2a58b2['shift']());}}}(_0x560c,0x51238),function(_0x458dbc,_0x3e855b){var _0x36260f=_0x1d80;typeof exports=='object'&&typeof module<'u'?module[_0x36260f(0xd1)]=_0x3e855b():typeof define==_0x36260f(0xd8)&&define['amd']?define([],_0x3e855b):(_0x458dbc=typeof globalThis<'u'?globalThis:_0x458dbc||self,_0x458dbc[_0x36260f(0xd5)]=_0x3e855b());}(this,function(){var _0x5a73fd=_0x1d80;return{'print':{'menu':_0x5a73fd(0xcf)}};}));
|
package/lib/umd/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5a78(){var _0x96d57=['378CESZvn','amd','858JdytSR','9JgYnAy','3626610iwvdKW','4dlCAWT','6952KPLdul','660235STxwvR','636580jlibtn','225602NWaisc','85404lTsKNt','3866737SUPfKo','6PMRJgR','چاپ'];_0x5a78=function(){return _0x96d57;};return _0x5a78();}function _0x2a74(_0x35f418,_0x522246){_0x35f418=_0x35f418-0x1cc;var _0x5a7826=_0x5a78();var _0x2a74f6=_0x5a7826[_0x35f418];return _0x2a74f6;}(function(_0x4be22c,_0x9549be){var _0x5a776c=_0x2a74,_0x170dd3=_0x4be22c();while(!![]){try{var _0x4e2409=-parseInt(_0x5a776c(0x1d2))/0x1+-parseInt(_0x5a776c(0x1d3))/0x2*(parseInt(_0x5a776c(0x1cd))/0x3)+parseInt(_0x5a776c(0x1cf))/0x4*(-parseInt(_0x5a776c(0x1d1))/0x5)+-parseInt(_0x5a776c(0x1d6))/0x6*(-parseInt(_0x5a776c(0x1d5))/0x7)+parseInt(_0x5a776c(0x1d0))/0x8*(-parseInt(_0x5a776c(0x1d8))/0x9)+parseInt(_0x5a776c(0x1ce))/0xa+-parseInt(_0x5a776c(0x1cc))/0xb*(-parseInt(_0x5a776c(0x1d4))/0xc);if(_0x4e2409===_0x9549be)break;else _0x170dd3['push'](_0x170dd3['shift']());}catch(_0x2c3605){_0x170dd3['push'](_0x170dd3['shift']());}}}(_0x5a78,0x4fbfa),function(_0x38e6a8,_0x2d64c9){var _0x27f1a3=_0x2a74;typeof exports=='object'&&typeof module<'u'?module['exports']=_0x2d64c9():typeof define=='function'&&define[_0x27f1a3(0x1d9)]?define([],_0x2d64c9):(_0x38e6a8=typeof globalThis<'u'?globalThis:_0x38e6a8||self,_0x38e6a8['UniverProDocsPrintFaIR']=_0x2d64c9());}(this,function(){var _0x227d43=_0x2a74;return{'print':{'menu':_0x227d43(0x1d7)}};}));
|
package/lib/umd/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3b17(){var _0x8c56df=['1260792nLpZWQ','3755550kZbskh','Imprimer','120UFzgBr','21TsfLnG','amd','240780WhXCsS','2250425IrTCjp','UniverProDocsPrintFrFR','4596YLwFeD','exports','8yIWSwP','26382yQJzHa','964080aaFFZW'];_0x3b17=function(){return _0x8c56df;};return _0x3b17();}function _0x342b(_0xddc7a0,_0x23569d){_0xddc7a0=_0xddc7a0-0x1a2;var _0x3b17cd=_0x3b17();var _0x342bca=_0x3b17cd[_0xddc7a0];return _0x342bca;}(function(_0x9f45fd,_0x1c0354){var _0x4fadf4=_0x342b,_0x21921f=_0x9f45fd();while(!![]){try{var _0x5d8240=parseInt(_0x4fadf4(0x1ac))/0x1*(-parseInt(_0x4fadf4(0x1ad))/0x2)+parseInt(_0x4fadf4(0x1aa))/0x3*(-parseInt(_0x4fadf4(0x1a4))/0x4)+parseInt(_0x4fadf4(0x1a8))/0x5+parseInt(_0x4fadf4(0x1a2))/0x6+parseInt(_0x4fadf4(0x1a5))/0x7*(-parseInt(_0x4fadf4(0x1af))/0x8)+-parseInt(_0x4fadf4(0x1ae))/0x9+parseInt(_0x4fadf4(0x1a7))/0xa;if(_0x5d8240===_0x1c0354)break;else _0x21921f['push'](_0x21921f['shift']());}catch(_0x20999f){_0x21921f['push'](_0x21921f['shift']());}}}(_0x3b17,0x5a02b),function(_0x218e13,_0x33f51d){var _0x1143f8=_0x342b;typeof exports=='object'&&typeof module<'u'?module[_0x1143f8(0x1ab)]=_0x33f51d():typeof define=='function'&&define[_0x1143f8(0x1a6)]?define([],_0x33f51d):(_0x218e13=typeof globalThis<'u'?globalThis:_0x218e13||self,_0x218e13[_0x1143f8(0x1a9)]=_0x33f51d());}(this,function(){var _0x148552=_0x342b;return{'print':{'menu':_0x148552(0x1a3)}};}));
|
package/lib/umd/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x528a6a,_0x31c0d2){var _0x28bb8b=_0x334c,_0x1ddedb=_0x528a6a();while(!![]){try{var _0x584e08=-parseInt(_0x28bb8b(0xbd))/0x1*(parseInt(_0x28bb8b(0xc5))/0x2)+-parseInt(_0x28bb8b(0xc0))/0x3*(-parseInt(_0x28bb8b(0xbc))/0x4)+-parseInt(_0x28bb8b(0xc4))/0x5*(parseInt(_0x28bb8b(0xc3))/0x6)+-parseInt(_0x28bb8b(0xc7))/0x7*(-parseInt(_0x28bb8b(0xc1))/0x8)+parseInt(_0x28bb8b(0xbf))/0x9*(-parseInt(_0x28bb8b(0xc6))/0xa)+-parseInt(_0x28bb8b(0xc2))/0xb*(parseInt(_0x28bb8b(0xbb))/0xc)+parseInt(_0x28bb8b(0xc8))/0xd;if(_0x584e08===_0x31c0d2)break;else _0x1ddedb['push'](_0x1ddedb['shift']());}catch(_0x1a540e){_0x1ddedb['push'](_0x1ddedb['shift']());}}}(_0x25bb,0x896d4),function(_0x3efdd1,_0x2402a2){var _0x3e8239=_0x334c;typeof exports==_0x3e8239(0xc9)&&typeof module<'u'?module['exports']=_0x2402a2():typeof define==_0x3e8239(0xbe)&&define['amd']?define([],_0x2402a2):(_0x3efdd1=typeof globalThis<'u'?globalThis:_0x3efdd1||self,_0x3efdd1['UniverProDocsPrintJaJP']=_0x2402a2());}(this,function(){return{'print':{'menu':'印刷'}};}));function _0x334c(_0x58c680,_0x339667){_0x58c680=_0x58c680-0xbb;var _0x25bb91=_0x25bb();var _0x334cc1=_0x25bb91[_0x58c680];return _0x334cc1;}function _0x25bb(){var _0x372972=['523280yNRvZz','7554egkYoz','4580eDZusx','244013uZqqAE','11047699uFTOlw','object','3577116KwlQNd','11920uqHcRy','27uMEJuO','function','7632HwqeIs','681aNcWMm','152uLFIAp','11VEUaXd','48JVuwZK'];_0x25bb=function(){return _0x372972;};return _0x25bb();}
|
package/lib/umd/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5020(){var _0xfc0273=['function','exports','33bpJoEO','30jmHuvg','amd','4719730DBkGdJ','269951AuEdDq','4243734CgwmYa','1047977oZxGFn','1565870BcoooQ','object','2vaHNul','2223432TmiEzd','2283933kxxtCy','UniverProDocsPrintKoKR','8FuIIBV'];_0x5020=function(){return _0xfc0273;};return _0x5020();}function _0xbeb7(_0x4a552e,_0x5c6637){_0x4a552e=_0x4a552e-0xd8;var _0x5020dc=_0x5020();var _0xbeb703=_0x5020dc[_0x4a552e];return _0xbeb703;}(function(_0x59d255,_0x28c1ad){var _0x24652a=_0xbeb7,_0x52b777=_0x59d255();while(!![]){try{var _0x7f2282=-parseInt(_0x24652a(0xe2))/0x1+parseInt(_0x24652a(0xe7))/0x2*(-parseInt(_0x24652a(0xd9))/0x3)+-parseInt(_0x24652a(0xdb))/0x4*(-parseInt(_0x24652a(0xe5))/0x5)+parseInt(_0x24652a(0xdf))/0x6*(-parseInt(_0x24652a(0xe4))/0x7)+-parseInt(_0x24652a(0xd8))/0x8+parseInt(_0x24652a(0xe3))/0x9+parseInt(_0x24652a(0xe1))/0xa*(parseInt(_0x24652a(0xde))/0xb);if(_0x7f2282===_0x28c1ad)break;else _0x52b777['push'](_0x52b777['shift']());}catch(_0x4b1b35){_0x52b777['push'](_0x52b777['shift']());}}}(_0x5020,0x6f56f),function(_0x44424f,_0x2ee001){var _0xe0d202=_0xbeb7;typeof exports==_0xe0d202(0xe6)&&typeof module<'u'?module[_0xe0d202(0xdd)]=_0x2ee001():typeof define==_0xe0d202(0xdc)&&define[_0xe0d202(0xe0)]?define([],_0x2ee001):(_0x44424f=typeof globalThis<'u'?globalThis:_0x44424f||self,_0x44424f[_0xe0d202(0xda)]=_0x2ee001());}(this,function(){return{'print':{'menu':'인쇄'}};}));
|
package/lib/umd/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1a88(_0xf96180,_0xfdec41){_0xf96180=_0xf96180-0x81;var _0x17913b=_0x1791();var _0x1a88db=_0x17913b[_0xf96180];return _0x1a88db;}function _0x1791(){var _0x25b9ec=['1917264wtCbPo','24216rfViIN','function','1416435QwJdXa','Печать','amd','511nQxJNW','208223ZDdYjn','exports','249036NrWkzO','1648554cqFQnA','668196MIOgOm'];_0x1791=function(){return _0x25b9ec;};return _0x1791();}(function(_0xadfe62,_0xc1b2a5){var _0x255256=_0x1a88,_0x5c87bf=_0xadfe62();while(!![]){try{var _0x26af8b=-parseInt(_0x255256(0x8b))/0x1+parseInt(_0x255256(0x83))/0x2+parseInt(_0x255256(0x82))/0x3+-parseInt(_0x255256(0x84))/0x4+parseInt(_0x255256(0x87))/0x5+parseInt(_0x255256(0x81))/0x6+parseInt(_0x255256(0x8a))/0x7*(-parseInt(_0x255256(0x85))/0x8);if(_0x26af8b===_0xc1b2a5)break;else _0x5c87bf['push'](_0x5c87bf['shift']());}catch(_0x508092){_0x5c87bf['push'](_0x5c87bf['shift']());}}}(_0x1791,0x4937b),function(_0x557d26,_0x30c3b8){var _0x5ca901=_0x1a88;typeof exports=='object'&&typeof module<'u'?module[_0x5ca901(0x8c)]=_0x30c3b8():typeof define==_0x5ca901(0x86)&&define[_0x5ca901(0x89)]?define([],_0x30c3b8):(_0x557d26=typeof globalThis<'u'?globalThis:_0x557d26||self,_0x557d26['UniverProDocsPrintRuRU']=_0x30c3b8());}(this,function(){var _0x47e673=_0x1a88;return{'print':{'menu':_0x47e673(0x88)}};}));
|
package/lib/umd/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3c5d(_0x117a2f,_0x3f73bb){_0x117a2f=_0x117a2f-0x72;var _0x5dcc37=_0x5dcc();var _0x3c5dd5=_0x5dcc37[_0x117a2f];return _0x3c5dd5;}(function(_0x357847,_0x482b4b){var _0x2ff7f4=_0x3c5d,_0xbc9bb2=_0x357847();while(!![]){try{var _0x447eb8=-parseInt(_0x2ff7f4(0x7b))/0x1+-parseInt(_0x2ff7f4(0x7a))/0x2+-parseInt(_0x2ff7f4(0x76))/0x3+-parseInt(_0x2ff7f4(0x72))/0x4*(parseInt(_0x2ff7f4(0x74))/0x5)+parseInt(_0x2ff7f4(0x77))/0x6*(parseInt(_0x2ff7f4(0x7f))/0x7)+-parseInt(_0x2ff7f4(0x80))/0x8*(-parseInt(_0x2ff7f4(0x75))/0x9)+parseInt(_0x2ff7f4(0x7c))/0xa;if(_0x447eb8===_0x482b4b)break;else _0xbc9bb2['push'](_0xbc9bb2['shift']());}catch(_0x417d97){_0xbc9bb2['push'](_0xbc9bb2['shift']());}}}(_0x5dcc,0x69b19),function(_0x3f41f0,_0x299c6c){var _0x36c5bb=_0x3c5d;typeof exports==_0x36c5bb(0x7d)&&typeof module<'u'?module[_0x36c5bb(0x79)]=_0x299c6c():typeof define==_0x36c5bb(0x73)&&define[_0x36c5bb(0x7e)]?define([],_0x299c6c):(_0x3f41f0=typeof globalThis<'u'?globalThis:_0x3f41f0||self,_0x3f41f0[_0x36c5bb(0x78)]=_0x299c6c());}(this,function(){return{'print':{'menu':'Tlač'}};}));function _0x5dcc(){var _0x41206c=['function','4885UdAwWL','5554989GULdgd','77400LlNwur','1486248cTPkxl','UniverProDocsPrintSkSK','exports','1161872bYYXJo','687786oioFuc','9719380crzvJz','object','amd','7eYgQTW','8vyUMnH','448uZIoqf'];_0x5dcc=function(){return _0x41206c;};return _0x5dcc();}
|
package/lib/umd/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x529949,_0x350095){var _0x413d1a=_0x5a37,_0x25a9a8=_0x529949();while(!![]){try{var _0x437e40=-parseInt(_0x413d1a(0x7f))/0x1*(parseInt(_0x413d1a(0x89))/0x2)+parseInt(_0x413d1a(0x86))/0x3+parseInt(_0x413d1a(0x85))/0x4+parseInt(_0x413d1a(0x80))/0x5+parseInt(_0x413d1a(0x7e))/0x6*(parseInt(_0x413d1a(0x83))/0x7)+-parseInt(_0x413d1a(0x8a))/0x8*(parseInt(_0x413d1a(0x84))/0x9)+-parseInt(_0x413d1a(0x82))/0xa;if(_0x437e40===_0x350095)break;else _0x25a9a8['push'](_0x25a9a8['shift']());}catch(_0x20d1a2){_0x25a9a8['push'](_0x25a9a8['shift']());}}}(_0x4e86,0xd5711),function(_0x34a279,_0x1019f4){var _0x50b5a5=_0x5a37;typeof exports==_0x50b5a5(0x81)&&typeof module<'u'?module[_0x50b5a5(0x8c)]=_0x1019f4():typeof define==_0x50b5a5(0x87)&&define[_0x50b5a5(0x88)]?define([],_0x1019f4):(_0x34a279=typeof globalThis<'u'?globalThis:_0x34a279||self,_0x34a279[_0x50b5a5(0x8b)]=_0x1019f4());}(this,function(){return{'print':{'menu':'In'}};}));function _0x5a37(_0x338c16,_0x21d5a9){_0x338c16=_0x338c16-0x7e;var _0x4e86e2=_0x4e86();var _0x5a3781=_0x4e86e2[_0x338c16];return _0x5a3781;}function _0x4e86(){var _0x251a49=['13671370TUGSEY','14CnUBDT','126SUGoQx','4487732gUTUxb','1335192pYyZyz','function','amd','1070534wuxIPl','139928BAxXlr','UniverProDocsPrintViVN','exports','2316408eirIZn','1zzQmSk','3412010fGGgWE','object'];_0x4e86=function(){return _0x251a49;};return _0x4e86();}
|
package/lib/umd/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x3baf(_0x248336,_0x5e0e1a){_0x248336=_0x248336-0x1a5;var _0x3f421e=_0x3f42();var _0x3baf22=_0x3f421e[_0x248336];return _0x3baf22;}(function(_0x32a8e1,_0x4859a0){var _0x512fe7=_0x3baf,_0x4030eb=_0x32a8e1();while(!![]){try{var _0x39df50=parseInt(_0x512fe7(0x1a5))/0x1+parseInt(_0x512fe7(0x1b0))/0x2*(-parseInt(_0x512fe7(0x1a6))/0x3)+parseInt(_0x512fe7(0x1ae))/0x4+parseInt(_0x512fe7(0x1b3))/0x5+-parseInt(_0x512fe7(0x1ab))/0x6*(parseInt(_0x512fe7(0x1ac))/0x7)+parseInt(_0x512fe7(0x1a7))/0x8*(parseInt(_0x512fe7(0x1a8))/0x9)+-parseInt(_0x512fe7(0x1b2))/0xa*(-parseInt(_0x512fe7(0x1b1))/0xb);if(_0x39df50===_0x4859a0)break;else _0x4030eb['push'](_0x4030eb['shift']());}catch(_0x57b1e2){_0x4030eb['push'](_0x4030eb['shift']());}}}(_0x3f42,0xebfd4),function(_0x391419,_0x4b48e9){var _0x17afa2=_0x3baf;typeof exports==_0x17afa2(0x1ad)&&typeof module<'u'?module[_0x17afa2(0x1af)]=_0x4b48e9():typeof define=='function'&&define[_0x17afa2(0x1a9)]?define([],_0x4b48e9):(_0x391419=typeof globalThis<'u'?globalThis:_0x391419||self,_0x391419[_0x17afa2(0x1aa)]=_0x4b48e9());}(this,function(){return{'print':{'menu':'打印'}};}));function _0x3f42(){var _0xbdc8a4=['8LgwlQZ','8410401cFeztj','amd','UniverProDocsPrintZhCN','1878glugjg','26698drIUVb','object','3512916CSkKrQ','exports','244rmdvUP','694595MzKjLn','10Riabba','3476300yPKPHz','801829VxzQII','29817QTReaR'];_0x3f42=function(){return _0xbdc8a4;};return _0x3f42();}
|
package/lib/umd/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x578e(_0x2aa290,_0x5b35bb){_0x2aa290=_0x2aa290-0x1d5;var _0x2e9d57=_0x2e9d();var _0x578edf=_0x2e9d57[_0x2aa290];return _0x578edf;}function _0x2e9d(){var _0x14a561=['7075558lPygYb','567xiJxWO','76310jZZulf','amd','9337816KRLsSs','exports','1055037wgKbup','1651276ApZGNG','1800920sqLzVY','6lXqZiA','2710962koeBvE','15aSyZJx'];_0x2e9d=function(){return _0x14a561;};return _0x2e9d();}(function(_0x58dfbf,_0x44b8a0){var _0x3e0729=_0x578e,_0x1211f0=_0x58dfbf();while(!![]){try{var _0x5c91ec=parseInt(_0x3e0729(0x1de))/0x1+-parseInt(_0x3e0729(0x1e0))/0x2+-parseInt(_0x3e0729(0x1d6))/0x3+-parseInt(_0x3e0729(0x1df))/0x4*(parseInt(_0x3e0729(0x1d7))/0x5)+-parseInt(_0x3e0729(0x1d5))/0x6*(-parseInt(_0x3e0729(0x1d8))/0x7)+parseInt(_0x3e0729(0x1dc))/0x8+parseInt(_0x3e0729(0x1d9))/0x9*(parseInt(_0x3e0729(0x1da))/0xa);if(_0x5c91ec===_0x44b8a0)break;else _0x1211f0['push'](_0x1211f0['shift']());}catch(_0xcb8fab){_0x1211f0['push'](_0x1211f0['shift']());}}}(_0x2e9d,0xa3e08),function(_0x56c14b,_0xb8e17f){var _0xfd68ee=_0x578e;typeof exports=='object'&&typeof module<'u'?module[_0xfd68ee(0x1dd)]=_0xb8e17f():typeof define=='function'&&define[_0xfd68ee(0x1db)]?define([],_0xb8e17f):(_0x56c14b=typeof globalThis<'u'?globalThis:_0x56c14b||self,_0x56c14b['UniverProDocsPrintZhTW']=_0xb8e17f());}(this,function(){return{'print':{'menu':'列印'}};}));
|