@univerjs-pro/docs-print 0.23.0 → 0.24.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/types/services/doc-print.service.d.ts +1 -3
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x419d(){const _0x2f471c=['_currentRender','page','generateRandomId','PrintDirection','_addViewport','constructor','OTHERS','getDocumentStyle','forEach','Viewport','637492UfWYOM','toStringTag','getUnit','Scene','ICommandService','parseInt','removeChild','div','default','isPro','_engine','100%','2603554THBdXK','width','_effects','root','_unitId','isFeatureAuthorizedWithinTime','PrintIcon','map','_key','onafterprint','style','fill','23964KlzjQQ','get','Pages\x20are\x20not\x20found','restore','getOffsetConfig','call','getContext','pluginName','createPrintStyle','translate','pageHeight','setConfig','_calculateLayout','PRINT_CONTAINER_CLASS','IMenuManagerService','timeValid','getLicenseInfo','merge','PRINTING_COMPONENT_COLLECT','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_paperSize','65GPINzD','prototype','height','PRINTING_DOM_COLLECT','packageName','IConfigService','IRenderManagerService','createElement','getInterceptPoints','getSkeletonData','_root','updateScrollVal','_scene','pageWidth','11801538JuQbpW','_documents','fetchThroughInterceptors','Skeleton\x20data\x20is\x20not\x20found','symbol','_configService','DisposableCollection','DocSkeletonManagerService','_initCommands','_univerInstanceService','_page','toPrimitive','_addComponent','decorate','654lJCrgl','LS_CONFIG_KEY','getDocFeatureLimit','getRenderById','disposeWithMe','@univerjs-pro/docs-print','documentFlavor','length','top','getCanvas','appendChild','object','IGlobalZoneService','14MOhsQO','makeForceDirty','_initRenderer','onStarting','Portrait','container','iterator','register','close','Injector','getSkeleton','with','__DocPrintRender__','TRADITIONAL','_injector','print','_renderManagerService','isLocalCheck','IUniverInstanceService','_initMenus','onReady','mpn','_menuManagerService','0px','getCurrentUnitOfType','CommandType','min','Render\x20is\x20not\x20found','dispose','PRINT_CANVAS_CLASS','message','Disposable','mainComponent','interceptor','DependentOn','306060qTXzqX','syncExecuteCommand','Engine','print.menu','registerCommand','body','className','docs.operation.print','makeDirty','_container','registerDependencies','prepare','getUnitId','UNIVER_DOCS_PRINT','CanvasRenderMode','_initComponents','Printing','pages','DocPrintOperation','UniverLicensePlugin','render','Inject','defineProperty','_config','scale','DocumentFlavor','OPERATION','5154856XTmyDe','_skeletonData','_componentManager','string','_commandService','left','absolute','UNIVER_DOC','RibbonStartGroup','UniverNetworkPlugin','VIEW_MAIN','_viewMain','_offsetConfig','ComponentManager','bottom','function','DocumentDataModel\x20is\x20not\x20found','_skeleton','UniverInstanceType','21153070MFCxlc','DOCS_PRINT_PLUGIN_CONFIG_KEY','getConfig','right','DocPrintInterceptorService','_globalZoneService'];_0x419d=function(){return _0x2f471c;};return _0x419d();}const _0x1429d0=_0x5c70;(function(_0x4c1a6e,_0x34a459){const _0x40aaeb=_0x5c70,_0x308e15=_0x4c1a6e();while(!![]){try{const _0x1bc897=parseInt(_0x40aaeb(0x196))/0x1+-parseInt(_0x40aaeb(0x1a2))/0x2+parseInt(_0x40aaeb(0x128))/0x3*(parseInt(_0x40aaeb(0xf7))/0x4)+-parseInt(_0x40aaeb(0x10c))/0x5*(-parseInt(_0x40aaeb(0x158))/0x6)+-parseInt(_0x40aaeb(0x135))/0x7*(parseInt(_0x40aaeb(0x173))/0x8)+-parseInt(_0x40aaeb(0x11a))/0x9+parseInt(_0x40aaeb(0x186))/0xa;if(_0x1bc897===_0x34a459)break;else _0x308e15['push'](_0x308e15['shift']());}catch(_0x4754b0){_0x308e15['push'](_0x308e15['shift']());}}}(_0x419d,0xc83e2),Object[_0x1429d0(0x16e)](exports,Symbol[_0x1429d0(0x197)],{'value':'Module'}));let e=require(`@univerjs/core`),t=require(`@univerjs/docs-ui`),n=require(`@univerjs/engine-render`),r=require(`@univerjs-pro/license`),i=require(`@univerjs-pro/print`),a=require(`@univerjs/docs`),o=require(`@univerjs/ui`),s=require(`@univerjs/network`),c=require(`@univerjs/icons`);function l(_0x63cd22){'@babel/helpers - typeof';const _0x3ae66c=_0x1429d0;return l=typeof Symbol==_0x3ae66c(0x182)&&typeof Symbol[_0x3ae66c(0x13b)]==_0x3ae66c(0x11e)?function(_0x36f5d8){return typeof _0x36f5d8;}:function(_0x20058a){const _0x2253a1=_0x3ae66c;return _0x20058a&&typeof Symbol==_0x2253a1(0x182)&&_0x20058a[_0x2253a1(0x191)]===Symbol&&_0x20058a!==Symbol[_0x2253a1(0x10d)]?_0x2253a1(0x11e):typeof _0x20058a;},l(_0x63cd22);}function u(_0x38cc4e,_0x41dfd4){const _0x60217b=_0x1429d0;if(l(_0x38cc4e)!=_0x60217b(0x133)||!_0x38cc4e)return _0x38cc4e;var _0x6970dc=_0x38cc4e[Symbol[_0x60217b(0x125)]];if(_0x6970dc!==void 0x0){var _0x45c02a=_0x6970dc[_0x60217b(0xfc)](_0x38cc4e,_0x41dfd4||_0x60217b(0x19e));if(l(_0x45c02a)!=_0x60217b(0x133))return _0x45c02a;throw TypeError(_0x60217b(0x10a));}return(_0x41dfd4==='string'?String:Number)(_0x38cc4e);}function d(_0x53b4f6){const _0x4e6b6c=_0x1429d0;var _0x4a7078=u(_0x53b4f6,_0x4e6b6c(0x176));return l(_0x4a7078)==_0x4e6b6c(0x11e)?_0x4a7078:_0x4a7078+'';}function f(_0x6abe8c,_0x1e9444,_0x582559){const _0x1cbcee=_0x1429d0;return(_0x1e9444=d(_0x1e9444))in _0x6abe8c?Object[_0x1cbcee(0x16e)](_0x6abe8c,_0x1e9444,{'value':_0x582559,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x6abe8c[_0x1e9444]=_0x582559,_0x6abe8c;}var p=class extends e[_0x1429d0(0x154)]{get[_0x1429d0(0x13a)](){const _0x316dec=_0x1429d0;return this[_0x316dec(0x161)];}get[_0x1429d0(0x1a5)](){const _0x367745=_0x1429d0;return this[_0x367745(0x116)];}get['_currentRender'](){const _0x390a89=_0x1429d0;let _0x3fc1fc=this['_injector'][_0x390a89(0xf8)](n[_0x390a89(0x112)])[_0x390a89(0x12b)](this['_unitId']);if(!_0x3fc1fc)throw Error(_0x390a89(0x150));return _0x3fc1fc;}get[_0x1429d0(0x184)](){const _0x41f7ef=_0x1429d0;return this[_0x41f7ef(0x18c)][_0x41f7ef(0x140)](a[_0x41f7ef(0x121)])['getSkeleton']();}get[_0x1429d0(0x174)](){const _0x13fa51=_0x1429d0;let _0x18c014=this[_0x13fa51(0x184)][_0x13fa51(0x115)]();if(!_0x18c014)throw Error(_0x13fa51(0x11d));return _0x18c014;}get[_0x1429d0(0x10b)](){const _0x4f8b24=_0x1429d0;let _0x1b4532=this['_skeletonData'][_0x4f8b24(0x169)][0x0];return{'width':_0x1b4532[_0x4f8b24(0x119)],'height':_0x1b4532[_0x4f8b24(0x101)]};}constructor(_0x5ba386,_0x5a2dd0,_0x20638c,_0x540e21){const _0x5d320e=_0x1429d0;super(),this['_injector']=_0x5ba386,this[_0x5d320e(0x124)]=_0x5a2dd0,this[_0x5d320e(0x1a6)]=_0x20638c,this['_offsetConfig']=_0x540e21,f(this,_0x5d320e(0x161),document[_0x5d320e(0x113)](_0x5d320e(0x19d))),f(this,_0x5d320e(0x116),document[_0x5d320e(0x113)](_0x5d320e(0x19d))),f(this,_0x5d320e(0x1a0),void 0x0),f(this,_0x5d320e(0x118),void 0x0),f(this,_0x5d320e(0xf3),void 0x0),f(this,_0x5d320e(0x11b),void 0x0),f(this,_0x5d320e(0x17e),void 0x0),f(this,_0x5d320e(0x1a4),new e[(_0x5d320e(0x120))]()),this['_key']=(0x0,e[_0x5d320e(0x18e)])(0x4),this[_0x5d320e(0x137)](),this[_0x5d320e(0x12c)]({'dispose':()=>{const _0x3e006b=_0x5d320e;this[_0x3e006b(0x1a0)][_0x3e006b(0x151)](),this['_scene']['dispose'](),this[_0x3e006b(0x1a4)][_0x3e006b(0x151)]();}});}[_0x1429d0(0x103)](){const _0x22fbdd=_0x1429d0;let {docsTop:_0x1903a5,docsLeft:_0x4a6c75}=this['_documents'][_0x22fbdd(0xfb)](),_0x55c6a2=this[_0x22fbdd(0x10b)][_0x22fbdd(0x10e)],_0x38b697=this[_0x22fbdd(0x10b)]['width'];return{'top':_0x1903a5+(_0x1903a5+_0x55c6a2)*this['_page'],'bottom':_0x1903a5+(_0x1903a5+_0x55c6a2)*(this[_0x22fbdd(0x124)]+0x1),'left':_0x4a6c75,'right':_0x4a6c75+_0x38b697};}[_0x1429d0(0x137)](){const _0x32ddf4=_0x1429d0;this[_0x32ddf4(0x1a0)]=new n[(_0x32ddf4(0x15a))]('',{'elementWidth':this[_0x32ddf4(0x10b)]['width'],'elementHeight':this[_0x32ddf4(0x10b)][_0x32ddf4(0x10e)],'dpr':0x1,'renderMode':n[_0x32ddf4(0x166)][_0x32ddf4(0x168)]}),this[_0x32ddf4(0x118)]=new n[(_0x32ddf4(0x199))](this['_key'],this['_engine']),this['_scene'][_0x32ddf4(0x170)](0x1,0x1),this['_engine']['setContainer'](this['_container'],!0x1),this['_engine'][_0x32ddf4(0x131)]()[_0x32ddf4(0xfd)]()['setId'](this['_key']+'_'+(0x0,e['generateRandomId'])(0x4)),this[_0x32ddf4(0x126)](),this[_0x32ddf4(0x190)]();}['_addComponent'](){const _0x3f7f8a=_0x1429d0;let {pageMarginLeft:_0x566729,pageMarginTop:_0x56e9c9,docsLeft:_0x47abea,docsTop:_0x191740}=this[_0x3f7f8a(0x17f)],_0x4c9844={'pageMarginLeft':_0x566729,'pageMarginTop':_0x56e9c9},_0x32f6e6=new n['Documents'](_0x3f7f8a(0x141),this[_0x3f7f8a(0x184)],_0x4c9844);_0x32f6e6[_0x3f7f8a(0x100)](_0x47abea,_0x191740),this['_scene']['addObject'](_0x32f6e6),this[_0x3f7f8a(0x11b)]=_0x32f6e6;let _0x54bcfe=this[_0x3f7f8a(0x143)]['get'](t['DocPrintInterceptorService']);_0x54bcfe[_0x3f7f8a(0x156)]['fetchThroughInterceptors'](_0x54bcfe[_0x3f7f8a(0x156)]['getInterceptPoints']()[_0x3f7f8a(0x109)])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x3f7f8a(0x118)],'engine':this[_0x3f7f8a(0x1a0)],'root':this['_root'],'documents':this[_0x3f7f8a(0x11b)],'skeleton':this[_0x3f7f8a(0x184)]});}[_0x1429d0(0x190)](){const _0x2badfb=_0x1429d0;this[_0x2badfb(0x17e)]=new n[(_0x2badfb(0x195))](t['VIEWPORT_KEY'][_0x2badfb(0x17d)],this[_0x2badfb(0x118)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x1429d0(0x163)](){const _0x1d7ccf=_0x1429d0;let _0x1cbe57=this['_calculateLayout']();this[_0x1d7ccf(0x17e)][_0x1d7ccf(0x117)]({'viewportScrollX':_0x1cbe57[_0x1d7ccf(0x178)],'viewportScrollY':_0x1cbe57['top']}),this[_0x1d7ccf(0x116)][_0x1d7ccf(0xf5)]['position']=_0x1d7ccf(0x179),this['_root'][_0x1d7ccf(0xf5)]['top']='0px',this[_0x1d7ccf(0x116)][_0x1d7ccf(0xf5)]['left']=_0x1d7ccf(0x14c),this[_0x1d7ccf(0x116)][_0x1d7ccf(0xf5)][_0x1d7ccf(0x1a3)]=_0x1d7ccf(0x1a1),this[_0x1d7ccf(0x116)][_0x1d7ccf(0xf5)][_0x1d7ccf(0x10e)]=_0x1d7ccf(0x1a1),this[_0x1d7ccf(0x1a4)]=new e['DisposableCollection']();let _0x45dbce=this[_0x1d7ccf(0x143)][_0x1d7ccf(0xf8)](t[_0x1d7ccf(0x18a)]);_0x45dbce[_0x1d7ccf(0x156)][_0x1d7ccf(0x11c)](_0x45dbce[_0x1d7ccf(0x156)][_0x1d7ccf(0x114)]()[_0x1d7ccf(0x10f)])(this[_0x1d7ccf(0x1a4)],{'unitId':this[_0x1d7ccf(0x1a6)],'scene':this['_scene'],'engine':this[_0x1d7ccf(0x1a0)],'root':this['_root'],'skeleton':this[_0x1d7ccf(0x184)],'offset':{'x':_0x1cbe57[_0x1d7ccf(0x178)],'y':_0x1cbe57[_0x1d7ccf(0x130)]},'bound':{'top':_0x1cbe57[_0x1d7ccf(0x130)],'left':_0x1cbe57[_0x1d7ccf(0x178)],'right':_0x1cbe57[_0x1d7ccf(0x189)],'bottom':_0x1cbe57[_0x1d7ccf(0x181)]}});}[_0x1429d0(0x16c)](){const _0x40d478=_0x1429d0;let _0x335783=this[_0x40d478(0x1a0)]['getCanvas']()['getContext']();this['_documents'][_0x40d478(0x136)](),this[_0x40d478(0x118)][_0x40d478(0x160)](),_0x335783['save'](),this[_0x40d478(0x118)]['render'](),_0x335783[_0x40d478(0xfa)]();}};function _0x5c70(_0x3aed9d,_0x53b504){_0x3aed9d=_0x3aed9d-0xf2;const _0x419dbc=_0x419d();let _0x5c7078=_0x419dbc[_0x3aed9d];return _0x5c7078;}function m(_0x278cca,_0x38b4ef){return function(_0x460f81,_0x5ae67b){_0x38b4ef(_0x460f81,_0x5ae67b,_0x278cca);};}function h(_0x57b3f,_0x1a6b63,_0x46bf00,_0x2f0e12){const _0x30abf1=_0x1429d0;var _0x43bc8a=arguments['length'],_0x2c9128=_0x43bc8a<0x3?_0x1a6b63:_0x2f0e12===null?_0x2f0e12=Object['getOwnPropertyDescriptor'](_0x1a6b63,_0x46bf00):_0x2f0e12,_0x18ba86;if(typeof Reflect==_0x30abf1(0x133)&&typeof Reflect['decorate']==_0x30abf1(0x182))_0x2c9128=Reflect[_0x30abf1(0x127)](_0x57b3f,_0x1a6b63,_0x46bf00,_0x2f0e12);else{for(var _0x3f8022=_0x57b3f[_0x30abf1(0x12f)]-0x1;_0x3f8022>=0x0;_0x3f8022--)(_0x18ba86=_0x57b3f[_0x3f8022])&&(_0x2c9128=(_0x43bc8a<0x3?_0x18ba86(_0x2c9128):_0x43bc8a>0x3?_0x18ba86(_0x1a6b63,_0x46bf00,_0x2c9128):_0x18ba86(_0x1a6b63,_0x46bf00))||_0x2c9128);}return _0x43bc8a>0x3&&_0x2c9128&&Object[_0x30abf1(0x16e)](_0x1a6b63,_0x46bf00,_0x2c9128),_0x2c9128;}const g=Number[_0x1429d0(0x19b)](0x6a0acaf9),_=(_0x43854a,_0x1da814,_0x109b3a)=>{const _0x4d4d26=_0x1429d0;let _0x178f72={'page':_0x43854a,'isPro':!0x1,'timeValid':!0x1};if(!_0x1da814||!_0x109b3a)return _0x178f72;let _0x2aae29=(0x0,r[_0x4d4d26(0x107)])(_0x1da814,_0x109b3a);if(_0x2aae29['valid']){let _0xe477ae=_0x2aae29[_0x4d4d26(0x153)],_0x11885f=(0x0,r[_0x4d4d26(0x1a7)])(_0xe477ae,'df',g);_0x178f72[_0x4d4d26(0x19f)]=_0x11885f,_0x178f72[_0x4d4d26(0x106)]=_0x11885f,_0x178f72[_0x4d4d26(0x18d)]=(0x0,r[_0x4d4d26(0x12a)])(_0xe477ae,_0x11885f,_0x4d4d26(0x14a),_0x43854a,_0x43854a,0x0);}return _0x178f72;};let v=class extends e[_0x1429d0(0x154)]{constructor(_0xcf268f,_0x2ea334,_0x3aaac6,_0x4384c0,_0x2af3ac){const _0x34013d=_0x1429d0;super(),this[_0x34013d(0x123)]=_0xcf268f,this[_0x34013d(0x145)]=_0x2ea334,this['_injector']=_0x3aaac6,this[_0x34013d(0x11f)]=_0x4384c0,this[_0x34013d(0x18b)]=_0x2af3ac;}[_0x1429d0(0x144)](_0x17ab29){const _0x31094e=_0x1429d0;var _0xb57fa3,_0x23a018;let {ls:_0x17afce,pbk:_0x28cb7d}=(_0xb57fa3=this['_configService'][_0x31094e(0x188)](r[_0x31094e(0x129)]))==null?{}:_0xb57fa3,_0x4838d2=(0x0,r[_0x31094e(0x146)])()?0x1/0x0:_(0x1,_0x17afce,_0x28cb7d)[_0x31094e(0x18d)];if(!this[_0x31094e(0x123)][_0x31094e(0x198)](_0x17ab29,e[_0x31094e(0x185)][_0x31094e(0x17a)]))throw Error(_0x31094e(0x183));let _0x13d578=this[_0x31094e(0x145)][_0x31094e(0x12b)](_0x17ab29);if(!_0x13d578)throw Error(_0x31094e(0x150));let _0x4c5813=(_0x23a018=_0x13d578['with'](a[_0x31094e(0x121)])[_0x31094e(0x13f)]()['getSkeletonData']())==null?void 0x0:_0x23a018['pages'];if(!_0x4c5813)throw Error(_0x31094e(0xf9));let _0x5dcdbf={'width':_0x4c5813[0x0][_0x31094e(0x119)],'height':_0x4c5813[0x0][_0x31094e(0x101)]},_0x2d9065=_0x4c5813[_0x31094e(0x12f)],_0x2563d2=Math[_0x31094e(0x14f)](_0x4838d2,_0x2d9065),_0x4a286c=_0x13d578[_0x31094e(0x155)][_0x31094e(0xfb)](),_0xa85590=document[_0x31094e(0x113)](_0x31094e(0x19d));_0xa85590[_0x31094e(0x15e)]=i[_0x31094e(0x104)];let _0x4ea70d=Array(_0x2563d2)[_0x31094e(0xf6)](null)[_0x31094e(0xf2)]((_0x53ebe0,_0x418efa)=>{const _0x41067a=_0x31094e;let _0x5ad141=new p(this[_0x41067a(0x143)],_0x418efa,_0x17ab29,_0x4a286c);return _0x5ad141[_0x41067a(0x13a)][_0x41067a(0x15e)]=i[_0x41067a(0x152)],_0x5ad141;});_0x4ea70d['forEach'](_0x5bec97=>{const _0x2fd6d0=_0x31094e;_0xa85590['appendChild'](_0x5bec97[_0x2fd6d0(0x13a)]),_0x5bec97[_0x2fd6d0(0x13a)][_0x2fd6d0(0x132)](_0x5bec97[_0x2fd6d0(0x1a5)]),_0x5bec97[_0x2fd6d0(0x163)]();});let _0x5edcc9=(0x0,i[_0x31094e(0xff)])(_0x5dcdbf['width'],_0x5dcdbf[_0x31094e(0x10e)],i[_0x31094e(0x18f)][_0x31094e(0x139)]);return document[_0x31094e(0x15d)][_0x31094e(0x132)](_0x5edcc9),document[_0x31094e(0x15d)][_0x31094e(0x132)](_0xa85590),new Promise(_0xc04f07=>{setTimeout(()=>{const _0x515be1=_0x5c70;window['onbeforeprint']=()=>{const _0x7caf7c=_0x5c70;_0x4ea70d[_0x7caf7c(0x194)](_0x55dcf6=>{const _0x34bc61=_0x7caf7c;_0x55dcf6[_0x34bc61(0x16c)]();});},window[_0x515be1(0xf4)]=()=>{const _0x386637=_0x515be1;_0x4ea70d[_0x386637(0x194)](_0x3c45a3=>{const _0x3f94ab=_0x386637;_0x3c45a3[_0x3f94ab(0x151)]();}),document[_0x386637(0x15d)][_0x386637(0x19c)](_0xa85590),document[_0x386637(0x15d)][_0x386637(0x19c)](_0x5edcc9),this[_0x386637(0x18b)][_0x386637(0x13d)](),_0xc04f07(!0x0);},window['print']();},0x64);});}};v=h([m(0x0,e[_0x1429d0(0x147)]),m(0x1,n[_0x1429d0(0x112)]),m(0x2,(0x0,e[_0x1429d0(0x16d)])(e[_0x1429d0(0x13e)])),m(0x3,e[_0x1429d0(0x111)]),m(0x4,o[_0x1429d0(0x134)])],v);const y={'id':_0x1429d0(0x15f),'type':e[_0x1429d0(0x14e)][_0x1429d0(0x172)],'handler':async _0x3994e0=>{const _0x2aaf07=_0x1429d0;let _0x50d335=_0x3994e0[_0x2aaf07(0xf8)](e[_0x2aaf07(0x147)]),_0x3e1808=_0x3994e0[_0x2aaf07(0xf8)](v),_0x43886c=_0x3994e0[_0x2aaf07(0xf8)](n[_0x2aaf07(0x112)]),_0x2437c0=_0x3994e0[_0x2aaf07(0xf8)](e[_0x2aaf07(0x19a)]),_0x3502c0=_0x50d335[_0x2aaf07(0x14d)](e[_0x2aaf07(0x185)]['UNIVER_DOC']);if(!_0x3502c0)return!0x1;if(!_0x43886c[_0x2aaf07(0x12b)](_0x3502c0[_0x2aaf07(0x164)]()))throw Error(_0x2aaf07(0x150));let _0x5b549f=_0x3502c0[_0x2aaf07(0x193)]()[_0x2aaf07(0x12e)];return _0x5b549f!==e[_0x2aaf07(0x171)]['TRADITIONAL']&&_0x2437c0[_0x2aaf07(0x159)](t['SwitchDocModeCommand']['id']),await _0x3e1808[_0x2aaf07(0x144)](_0x3502c0[_0x2aaf07(0x164)]()),_0x5b549f!==e[_0x2aaf07(0x171)][_0x2aaf07(0x142)]&&_0x2437c0[_0x2aaf07(0x159)](t['SwitchDocModeCommand']['id']),!0x0;}},b=_0x1429d0(0x165),x={};var S=_0x1429d0(0x12d),C='0.23.0';function w(_0x5c0779){const _0x3bf701=_0x1429d0;return{'id':y['id'],'type':o['MenuItemType']['BUTTON'],'title':_0x3bf701(0x15b),'icon':_0x3bf701(0x1a8),'tooltip':_0x3bf701(0x15b),'hidden$':(0x0,o['getMenuHiddenObservable'])(_0x5c0779,e[_0x3bf701(0x185)][_0x3bf701(0x17a)])};}const T={[o[_0x1429d0(0x17b)][_0x1429d0(0x192)]]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e['Disposable']{constructor(_0x24668d,_0x3b782c,_0x493bb2){const _0x4948f0=_0x1429d0;super(),this[_0x4948f0(0x177)]=_0x24668d,this[_0x4948f0(0x14b)]=_0x3b782c,this[_0x4948f0(0x175)]=_0x493bb2,this[_0x4948f0(0x148)](),this[_0x4948f0(0x122)](),this[_0x4948f0(0x167)]();}[_0x1429d0(0x148)](){const _0x2d488d=_0x1429d0;this[_0x2d488d(0x14b)]['mergeMenu'](T);}[_0x1429d0(0x122)](){const _0x5cdb81=_0x1429d0;this[_0x5cdb81(0x12c)](this[_0x5cdb81(0x177)][_0x5cdb81(0x15c)](y));}[_0x1429d0(0x167)](){const _0x1e4300=_0x1429d0;[[_0x1e4300(0x1a8),c[_0x1e4300(0x1a8)]]][_0x1e4300(0x194)](([_0x4abd75,_0xbb54b3])=>{const _0x7806f3=_0x1e4300;this['_componentManager'][_0x7806f3(0x13c)](_0x4abd75,_0xbb54b3);});}};E=h([m(0x0,e[_0x1429d0(0x19a)]),m(0x1,o[_0x1429d0(0x105)]),m(0x2,(0x0,e['Inject'])(o[_0x1429d0(0x180)]))],E);let D=class extends e['Plugin']{constructor(_0x79e4fd=x,_0x310216,_0x3abf21){const _0x1ab9f6=_0x1429d0;super(),this[_0x1ab9f6(0x16f)]=_0x79e4fd,this['_injector']=_0x310216,this['_configService']=_0x3abf21;let {menu:_0x11db2d,..._0x46ec41}=(0x0,e[_0x1ab9f6(0x108)])({},x,this[_0x1ab9f6(0x16f)]);_0x11db2d&&this[_0x1ab9f6(0x11f)][_0x1ab9f6(0x102)]('menu',_0x11db2d,{'merge':!0x0}),this[_0x1ab9f6(0x11f)][_0x1ab9f6(0x102)](b,_0x46ec41);}[_0x1429d0(0x138)](){const _0x109b95=_0x1429d0;(0x0,e[_0x109b95(0x162)])(this[_0x109b95(0x143)],[[v],[E]]);}[_0x1429d0(0x149)](){const _0x5c0dc2=_0x1429d0;this['_injector'][_0x5c0dc2(0xf8)](E);}};f(D,_0x1429d0(0xfe),_0x1429d0(0x165)),f(D,_0x1429d0(0x110),S),f(D,'version',C),f(D,'type',e[_0x1429d0(0x185)][_0x1429d0(0x17a)]),D=h([(0x0,e[_0x1429d0(0x157)])(s[_0x1429d0(0x17c)],r[_0x1429d0(0x16b)]),m(0x1,(0x0,e[_0x1429d0(0x16d)])(e[_0x1429d0(0x13e)])),m(0x2,e['IConfigService'])],D),exports[_0x1429d0(0x187)]=b,exports[_0x1429d0(0x16a)]=y,Object['defineProperty'](exports,'UniverDocsPrintPlugin',{'enumerable':!0x0,'get':function(){return D;}});
|
|
1
|
+
const _0x1ce811=_0xd7e1;(function(_0x1551cd,_0x7111f5){const _0x1a82e1=_0xd7e1,_0x28b949=_0x1551cd();while(!![]){try{const _0x5ac6c4=-parseInt(_0x1a82e1(0x146))/0x1+-parseInt(_0x1a82e1(0x172))/0x2*(-parseInt(_0x1a82e1(0x16c))/0x3)+parseInt(_0x1a82e1(0x135))/0x4*(-parseInt(_0x1a82e1(0x182))/0x5)+parseInt(_0x1a82e1(0x11c))/0x6+parseInt(_0x1a82e1(0x119))/0x7*(-parseInt(_0x1a82e1(0x17a))/0x8)+parseInt(_0x1a82e1(0x107))/0x9*(-parseInt(_0x1a82e1(0x190))/0xa)+-parseInt(_0x1a82e1(0x121))/0xb*(-parseInt(_0x1a82e1(0x117))/0xc);if(_0x5ac6c4===_0x7111f5)break;else _0x28b949['push'](_0x28b949['shift']());}catch(_0x3014ad){_0x28b949['push'](_0x28b949['shift']());}}}(_0x2283,0x77c34),Object[_0x1ce811(0x1a1)](exports,Symbol[_0x1ce811(0x10f)],{'value':_0x1ce811(0x12b)}));let e=require(`@univerjs/core`),t=require(`@univerjs/docs-ui`),n=require(`@univerjs/engine-render`),r=require(`@univerjs-pro/license`),i=require(`@univerjs-pro/print`),a=require(`@univerjs/docs`),o=require(`@univerjs/network`),s=require(`@univerjs/icons`),c=require(`@univerjs/ui`);function l(_0x1b6434){'@babel/helpers - typeof';const _0x5ab0b0=_0x1ce811;return l=typeof Symbol==_0x5ab0b0(0x126)&&typeof Symbol[_0x5ab0b0(0x194)]=='symbol'?function(_0x65c58e){return typeof _0x65c58e;}:function(_0x59dd99){const _0x565767=_0x5ab0b0;return _0x59dd99&&typeof Symbol=='function'&&_0x59dd99['constructor']===Symbol&&_0x59dd99!==Symbol[_0x565767(0x136)]?_0x565767(0x193):typeof _0x59dd99;},l(_0x1b6434);}function u(_0x354fe6,_0x278dcf){const _0xf2d5fb=_0x1ce811;if(l(_0x354fe6)!=_0xf2d5fb(0x17c)||!_0x354fe6)return _0x354fe6;var _0x40d965=_0x354fe6[Symbol['toPrimitive']];if(_0x40d965!==void 0x0){var _0x4b3909=_0x40d965[_0xf2d5fb(0x166)](_0x354fe6,_0x278dcf||'default');if(l(_0x4b3909)!='object')return _0x4b3909;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x278dcf===_0xf2d5fb(0x16f)?String:Number)(_0x354fe6);}function d(_0x297b2b){const _0x4ffea1=_0x1ce811;var _0x40d262=u(_0x297b2b,_0x4ffea1(0x16f));return l(_0x40d262)==_0x4ffea1(0x193)?_0x40d262:_0x40d262+'';}function f(_0x4f8697,_0x18f5df,_0x4e8cc8){return(_0x18f5df=d(_0x18f5df))in _0x4f8697?Object['defineProperty'](_0x4f8697,_0x18f5df,{'value':_0x4e8cc8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f8697[_0x18f5df]=_0x4e8cc8,_0x4f8697;}var p=class extends e['Disposable']{get[_0x1ce811(0x151)](){const _0x26e9dd=_0x1ce811;return this[_0x26e9dd(0x185)];}get[_0x1ce811(0x189)](){const _0x168a13=_0x1ce811;return this[_0x168a13(0x148)];}get[_0x1ce811(0x191)](){const _0x3f1c46=_0x1ce811;let _0x145c06=this[_0x3f1c46(0x10b)][_0x3f1c46(0x174)](n['IRenderManagerService'])[_0x3f1c46(0x17e)](this[_0x3f1c46(0x180)]);if(!_0x145c06)throw Error(_0x3f1c46(0x156));return _0x145c06;}get[_0x1ce811(0x130)](){const _0x58a06b=_0x1ce811;return this[_0x58a06b(0x191)][_0x58a06b(0x18c)](a[_0x58a06b(0x108)])[_0x58a06b(0x104)]();}get['_skeletonData'](){const _0x52c4c0=_0x1ce811;let _0x45c101=this[_0x52c4c0(0x130)][_0x52c4c0(0x165)]();if(!_0x45c101)throw Error(_0x52c4c0(0x134));return _0x45c101;}get[_0x1ce811(0x181)](){const _0x3136be=_0x1ce811;let _0x3fef41=this[_0x3136be(0x10d)][_0x3136be(0x1a7)][0x0];return{'width':_0x3fef41[_0x3136be(0x132)],'height':_0x3fef41['pageHeight']};}constructor(_0x1bc548,_0x1f2dea,_0x13c38f,_0x462650){const _0xfc5be6=_0x1ce811;super(),this[_0xfc5be6(0x10b)]=_0x1bc548,this[_0xfc5be6(0x152)]=_0x1f2dea,this[_0xfc5be6(0x180)]=_0x13c38f,this[_0xfc5be6(0x171)]=_0x462650,f(this,_0xfc5be6(0x185),document[_0xfc5be6(0x10c)]('div')),f(this,_0xfc5be6(0x148),document[_0xfc5be6(0x10c)](_0xfc5be6(0x131))),f(this,'_engine',void 0x0),f(this,'_scene',void 0x0),f(this,_0xfc5be6(0x19e),void 0x0),f(this,_0xfc5be6(0x127),void 0x0),f(this,'_viewMain',void 0x0),f(this,'_effects',new e[(_0xfc5be6(0x198))]()),this['_key']=(0x0,e[_0xfc5be6(0x118)])(0x4),this['_initRenderer'](),this[_0xfc5be6(0x18d)]({'dispose':()=>{const _0x8b2170=_0xfc5be6;this[_0x8b2170(0x14f)]['dispose'](),this[_0x8b2170(0x164)][_0x8b2170(0x100)](),this[_0x8b2170(0x10e)][_0x8b2170(0x100)]();}});}[_0x1ce811(0x115)](){const _0x1066d4=_0x1ce811;let {docsTop:_0x4f3d51,docsLeft:_0x13393c}=this[_0x1066d4(0x127)]['getOffsetConfig'](),_0xd99a25=this[_0x1066d4(0x181)][_0x1066d4(0x14d)],_0x51d718=this[_0x1066d4(0x181)]['width'];return{'top':_0x4f3d51+(_0x4f3d51+_0xd99a25)*this[_0x1066d4(0x152)],'bottom':_0x4f3d51+(_0x4f3d51+_0xd99a25)*(this[_0x1066d4(0x152)]+0x1),'left':_0x13393c,'right':_0x13393c+_0x51d718};}['_initRenderer'](){const _0x39316e=_0x1ce811;this[_0x39316e(0x14f)]=new n[(_0x39316e(0x173))]('',{'elementWidth':this['_paperSize'][_0x39316e(0x13f)],'elementHeight':this[_0x39316e(0x181)]['height'],'dpr':0x1,'renderMode':n[_0x39316e(0x19d)][_0x39316e(0x18b)]}),this[_0x39316e(0x164)]=new n[(_0x39316e(0x196))](this[_0x39316e(0x19e)],this[_0x39316e(0x14f)]),this['_scene'][_0x39316e(0x116)](0x1,0x1),this['_engine']['setContainer'](this[_0x39316e(0x185)],!0x1),this[_0x39316e(0x14f)][_0x39316e(0x149)]()[_0x39316e(0x178)]()[_0x39316e(0x13c)](this['_key']+'_'+(0x0,e[_0x39316e(0x118)])(0x4)),this['_addComponent'](),this['_addViewport']();}['_addComponent'](){const _0x5d31d6=_0x1ce811;let {pageMarginLeft:_0x69172c,pageMarginTop:_0x5d5908,docsLeft:_0x35526a,docsTop:_0x430ea6}=this[_0x5d31d6(0x171)],_0x11c950={'pageMarginLeft':_0x69172c,'pageMarginTop':_0x5d5908},_0x2f7354=new n[(_0x5d31d6(0x187))]('__DocPrintRender__',this[_0x5d31d6(0x130)],_0x11c950);_0x2f7354[_0x5d31d6(0x112)](_0x35526a,_0x430ea6),this[_0x5d31d6(0x164)][_0x5d31d6(0x15b)](_0x2f7354),this[_0x5d31d6(0x127)]=_0x2f7354;let _0x3b3ddd=this[_0x5d31d6(0x10b)][_0x5d31d6(0x174)](t[_0x5d31d6(0x199)]);_0x3b3ddd[_0x5d31d6(0x1a2)][_0x5d31d6(0x122)](_0x3b3ddd[_0x5d31d6(0x1a2)]['getInterceptPoints']()[_0x5d31d6(0x19f)])(void 0x0,{'unitId':this['_unitId'],'scene':this['_scene'],'engine':this[_0x5d31d6(0x14f)],'root':this[_0x5d31d6(0x148)],'documents':this[_0x5d31d6(0x127)],'skeleton':this[_0x5d31d6(0x130)]});}['_addViewport'](){const _0x11da23=_0x1ce811;this[_0x11da23(0x140)]=new n[(_0x11da23(0x144))](t[_0x11da23(0x1a3)]['VIEW_MAIN'],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x1ce811(0x12e)](){const _0x56b6f3=_0x1ce811;let _0x3c9c53=this[_0x56b6f3(0x115)]();this[_0x56b6f3(0x140)][_0x56b6f3(0x113)]({'viewportScrollX':_0x3c9c53[_0x56b6f3(0x18e)],'viewportScrollY':_0x3c9c53[_0x56b6f3(0x11b)]}),this[_0x56b6f3(0x148)][_0x56b6f3(0x19a)][_0x56b6f3(0x15f)]=_0x56b6f3(0x114),this[_0x56b6f3(0x148)][_0x56b6f3(0x19a)][_0x56b6f3(0x11b)]=_0x56b6f3(0x150),this[_0x56b6f3(0x148)][_0x56b6f3(0x19a)][_0x56b6f3(0x18e)]=_0x56b6f3(0x150),this[_0x56b6f3(0x148)]['style']['width']=_0x56b6f3(0x161),this[_0x56b6f3(0x148)][_0x56b6f3(0x19a)][_0x56b6f3(0x14d)]=_0x56b6f3(0x161),this[_0x56b6f3(0x10e)]=new e[(_0x56b6f3(0x198))]();let _0x9279d4=this['_injector'][_0x56b6f3(0x174)](t[_0x56b6f3(0x199)]);_0x9279d4['interceptor'][_0x56b6f3(0x122)](_0x9279d4[_0x56b6f3(0x1a2)]['getInterceptPoints']()[_0x56b6f3(0x111)])(this[_0x56b6f3(0x10e)],{'unitId':this[_0x56b6f3(0x180)],'scene':this[_0x56b6f3(0x164)],'engine':this['_engine'],'root':this[_0x56b6f3(0x148)],'skeleton':this[_0x56b6f3(0x130)],'offset':{'x':_0x3c9c53[_0x56b6f3(0x18e)],'y':_0x3c9c53['top']},'bound':{'top':_0x3c9c53[_0x56b6f3(0x11b)],'left':_0x3c9c53[_0x56b6f3(0x18e)],'right':_0x3c9c53['right'],'bottom':_0x3c9c53['bottom']}});}['render'](){const _0x39b16b=_0x1ce811;let _0x4de323=this[_0x39b16b(0x14f)][_0x39b16b(0x149)]()[_0x39b16b(0x178)]();this[_0x39b16b(0x127)][_0x39b16b(0x179)](),this['_scene'][_0x39b16b(0x11f)](),_0x4de323[_0x39b16b(0x14e)](),this[_0x39b16b(0x164)][_0x39b16b(0x197)](),_0x4de323[_0x39b16b(0x18f)]();}};function m(_0x33fd4c,_0x33ac58){return function(_0x37bad5,_0x4021e7){_0x33ac58(_0x37bad5,_0x4021e7,_0x33fd4c);};}function h(_0x5ecbf7,_0x3aacca,_0x450544,_0x10fdc2){const _0x55e20b=_0x1ce811;var _0x41f8cc=arguments[_0x55e20b(0x16d)],_0x4f59d7=_0x41f8cc<0x3?_0x3aacca:_0x10fdc2===null?_0x10fdc2=Object[_0x55e20b(0x192)](_0x3aacca,_0x450544):_0x10fdc2,_0x506cc1;if(typeof Reflect==_0x55e20b(0x17c)&&typeof Reflect[_0x55e20b(0x183)]==_0x55e20b(0x126))_0x4f59d7=Reflect[_0x55e20b(0x183)](_0x5ecbf7,_0x3aacca,_0x450544,_0x10fdc2);else{for(var _0xf6a651=_0x5ecbf7[_0x55e20b(0x16d)]-0x1;_0xf6a651>=0x0;_0xf6a651--)(_0x506cc1=_0x5ecbf7[_0xf6a651])&&(_0x4f59d7=(_0x41f8cc<0x3?_0x506cc1(_0x4f59d7):_0x41f8cc>0x3?_0x506cc1(_0x3aacca,_0x450544,_0x4f59d7):_0x506cc1(_0x3aacca,_0x450544))||_0x4f59d7);}return _0x41f8cc>0x3&&_0x4f59d7&&Object[_0x55e20b(0x1a1)](_0x3aacca,_0x450544,_0x4f59d7),_0x4f59d7;}const g=Number[_0x1ce811(0x120)](0x6a1125aa),_=(_0x915fa,_0x4699e5,_0x3cb10f)=>{const _0x725c81=_0x1ce811;let _0x4303c0={'page':_0x915fa,'isPro':!0x1,'timeValid':!0x1};if(!_0x4699e5||!_0x3cb10f)return _0x4303c0;let _0x4741f1=(0x0,r[_0x725c81(0x137)])(_0x4699e5,_0x3cb10f);if(_0x4741f1['valid']){let _0x4580d5=_0x4741f1[_0x725c81(0x170)],_0x5af50d=(0x0,r[_0x725c81(0x153)])(_0x4580d5,'df',g);_0x4303c0['isPro']=_0x5af50d,_0x4303c0[_0x725c81(0x19b)]=_0x5af50d,_0x4303c0[_0x725c81(0x1a6)]=(0x0,r['getDocFeatureLimit'])(_0x4580d5,_0x5af50d,_0x725c81(0x15a),_0x915fa,_0x915fa,0x0);}return _0x4303c0;};let v=class extends e[_0x1ce811(0xff)]{constructor(_0x1e73b4,_0x4049b8,_0x8b8d5e,_0xee0d6f){const _0x445efc=_0x1ce811;super(),this[_0x445efc(0x168)]=_0x1e73b4,this['_renderManagerService']=_0x4049b8,this[_0x445efc(0x10b)]=_0x8b8d5e,this[_0x445efc(0x105)]=_0xee0d6f;}[_0x1ce811(0x14b)](_0x5889cd){const _0x184bd6=_0x1ce811;var _0x5aeb32,_0x307548;let {ls:_0x27100d,pbk:_0xf1a8b1}=(_0x5aeb32=this[_0x184bd6(0x105)][_0x184bd6(0x129)](r[_0x184bd6(0x147)]))==null?{}:_0x5aeb32,_0x3a69fe=(0x0,r[_0x184bd6(0x123)])()?0x1/0x0:_(0x1,_0x27100d,_0xf1a8b1)[_0x184bd6(0x1a6)];if(!this[_0x184bd6(0x168)][_0x184bd6(0x16e)](_0x5889cd,e[_0x184bd6(0x11a)][_0x184bd6(0x17f)]))throw Error(_0x184bd6(0x15d));let _0x599fac=this[_0x184bd6(0x133)]['getRenderById'](_0x5889cd);if(!_0x599fac)throw Error(_0x184bd6(0x156));let _0x4c63d3=(_0x307548=_0x599fac[_0x184bd6(0x18c)](a[_0x184bd6(0x108)])['getSkeleton']()['getSkeletonData']())==null?void 0x0:_0x307548[_0x184bd6(0x1a7)];if(!_0x4c63d3)throw Error(_0x184bd6(0x10a));let _0x44a804={'width':_0x4c63d3[0x0][_0x184bd6(0x132)],'height':_0x4c63d3[0x0][_0x184bd6(0x1a0)]},_0xb889c=_0x4c63d3[_0x184bd6(0x16d)],_0x31d465=Math[_0x184bd6(0x14a)](_0x3a69fe,_0xb889c),_0xea2436=_0x599fac[_0x184bd6(0x1a8)][_0x184bd6(0x19c)](),_0xc59b04=document[_0x184bd6(0x10c)]('div');_0xc59b04['className']=i['PRINT_CONTAINER_CLASS'];let _0x33e81a=Array(_0x31d465)['fill'](null)['map']((_0x3d666b,_0x5d4dac)=>{const _0x5b5a10=_0x184bd6;let _0x4c3576=new p(this['_injector'],_0x5d4dac,_0x5889cd,_0xea2436);return _0x4c3576['container'][_0x5b5a10(0x13e)]=i[_0x5b5a10(0x142)],_0x4c3576;});_0x33e81a[_0x184bd6(0x11e)](_0x4ac5d8=>{const _0x4f41ad=_0x184bd6;_0xc59b04[_0x4f41ad(0x16a)](_0x4ac5d8[_0x4f41ad(0x151)]),_0x4ac5d8['container'][_0x4f41ad(0x16a)](_0x4ac5d8['root']),_0x4ac5d8[_0x4f41ad(0x12e)]();});let _0x3c5b0c=(0x0,i['createPrintStyle'])(_0x44a804[_0x184bd6(0x13f)],_0x44a804['height'],i['PrintDirection'][_0x184bd6(0x101)]);return document[_0x184bd6(0x163)][_0x184bd6(0x16a)](_0x3c5b0c),document[_0x184bd6(0x163)][_0x184bd6(0x16a)](_0xc59b04),new Promise(_0x259503=>{setTimeout(()=>{const _0x56e691=_0xd7e1;window[_0x56e691(0x160)]=()=>{const _0x1ed7a0=_0x56e691;_0x33e81a[_0x1ed7a0(0x11e)](_0x181650=>{const _0x4bcad6=_0x1ed7a0;_0x181650[_0x4bcad6(0x197)]();});},window['onafterprint']=()=>{const _0x42311c=_0x56e691;_0x33e81a[_0x42311c(0x11e)](_0x435af2=>{const _0x11d810=_0x42311c;_0x435af2[_0x11d810(0x100)]();}),document[_0x42311c(0x163)][_0x42311c(0x1a4)](_0xc59b04),document[_0x42311c(0x163)][_0x42311c(0x1a4)](_0x3c5b0c),_0x259503(!0x0);},window[_0x56e691(0x14b)]();},0x64);});}};v=h([m(0x0,e[_0x1ce811(0x15e)]),m(0x1,n[_0x1ce811(0x16b)]),m(0x2,(0x0,e[_0x1ce811(0x1a5)])(e[_0x1ce811(0x141)])),m(0x3,e['IConfigService'])],v);const y={'id':_0x1ce811(0x143),'type':e['CommandType']['OPERATION'],'handler':async _0x1c3f04=>{const _0x5b5f44=_0x1ce811;let _0x20173e=_0x1c3f04[_0x5b5f44(0x174)](e['IUniverInstanceService']),_0x1d7919=_0x1c3f04[_0x5b5f44(0x174)](v),_0x2ff91f=_0x1c3f04[_0x5b5f44(0x174)](n[_0x5b5f44(0x16b)]),_0x3691cd=_0x1c3f04[_0x5b5f44(0x174)](e[_0x5b5f44(0x155)]),_0x36932c=_0x20173e[_0x5b5f44(0x12d)](e[_0x5b5f44(0x11a)][_0x5b5f44(0x17f)]);if(!_0x36932c)return!0x1;if(!_0x2ff91f[_0x5b5f44(0x17e)](_0x36932c['getUnitId']()))throw Error(_0x5b5f44(0x156));let _0x44d830=_0x36932c['getDocumentStyle']()['documentFlavor'];return _0x44d830!==e['DocumentFlavor'][_0x5b5f44(0x12f)]&&_0x3691cd[_0x5b5f44(0x138)](t['SwitchDocModeCommand']['id']),await _0x1d7919[_0x5b5f44(0x14b)](_0x36932c[_0x5b5f44(0x102)]()),_0x44d830!==e[_0x5b5f44(0x12a)]['TRADITIONAL']&&_0x3691cd[_0x5b5f44(0x138)](t[_0x5b5f44(0x128)]['id']),!0x0;}},b=_0x1ce811(0x110),x={};var S='@univerjs-pro/docs-print',C=_0x1ce811(0x13a);function w(_0x52cf2a){const _0x127a9a=_0x1ce811;return{'id':y['id'],'type':c[_0x127a9a(0x125)][_0x127a9a(0x13d)],'title':_0x127a9a(0x158),'icon':'PrintIcon','tooltip':_0x127a9a(0x158),'hidden$':(0x0,c[_0x127a9a(0x109)])(_0x52cf2a,e['UniverInstanceType'][_0x127a9a(0x17f)])};}const T={[c[_0x1ce811(0x188)]['OTHERS']]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x1ce811(0xff)]{constructor(_0x442d45,_0x3c97f4,_0x2ee9d9){const _0x18f769=_0x1ce811;super(),this['_commandService']=_0x442d45,this[_0x18f769(0x17b)]=_0x3c97f4,this['_componentManager']=_0x2ee9d9,this[_0x18f769(0x18a)](),this['_initCommands'](),this[_0x18f769(0x154)]();}[_0x1ce811(0x18a)](){const _0x5f1fff=_0x1ce811;this[_0x5f1fff(0x17b)][_0x5f1fff(0x13b)](T);}['_initCommands'](){const _0x303895=_0x1ce811;this[_0x303895(0x18d)](this[_0x303895(0x139)][_0x303895(0x186)](y));}['_initComponents'](){const _0x3addff=_0x1ce811;[['PrintIcon',s[_0x3addff(0x159)]]][_0x3addff(0x11e)](([_0x110a39,_0x72fbbd])=>{const _0x3ff0ee=_0x3addff;this[_0x3ff0ee(0x175)]['register'](_0x110a39,_0x72fbbd);});}};E=h([m(0x0,e[_0x1ce811(0x155)]),m(0x1,c[_0x1ce811(0x169)]),m(0x2,(0x0,e[_0x1ce811(0x1a5)])(c[_0x1ce811(0x167)]))],E);let D=class extends e['Plugin']{constructor(_0x2da89e=x,_0x51ffa3,_0x51e300){const _0x4a785a=_0x1ce811;super(),this[_0x4a785a(0x15c)]=_0x2da89e,this[_0x4a785a(0x10b)]=_0x51ffa3,this[_0x4a785a(0x105)]=_0x51e300;let {menu:_0x17417e,..._0x3f186f}=(0x0,e[_0x4a785a(0x124)])({},x,this['_config']);_0x17417e&&this[_0x4a785a(0x105)]['setConfig'](_0x4a785a(0x103),_0x17417e,{'merge':!0x0}),this[_0x4a785a(0x105)][_0x4a785a(0x17d)](b,_0x3f186f);}[_0x1ce811(0x106)](){const _0x1c7d2f=_0x1ce811;(0x0,e[_0x1c7d2f(0x195)])(this[_0x1c7d2f(0x10b)],[[v],[E]]);}[_0x1ce811(0x157)](){const _0x53eaa5=_0x1ce811;this['_injector'][_0x53eaa5(0x174)](E);}};f(D,_0x1ce811(0x14c),'UNIVER_DOCS_PRINT'),f(D,_0x1ce811(0x12c),S),f(D,_0x1ce811(0x177),C),f(D,_0x1ce811(0x145),e[_0x1ce811(0x11a)][_0x1ce811(0x17f)]),D=h([(0x0,e[_0x1ce811(0x11d)])(o[_0x1ce811(0x176)],r['UniverLicensePlugin']),m(0x1,(0x0,e[_0x1ce811(0x1a5)])(e[_0x1ce811(0x141)])),m(0x2,e[_0x1ce811(0x162)])],D),exports[_0x1ce811(0x184)]=b,exports['DocPrintOperation']=y,Object['defineProperty'](exports,'UniverDocsPrintPlugin',{'enumerable':!0x0,'get':function(){return D;}});function _0xd7e1(_0x35ddf2,_0x4583be){_0x35ddf2=_0x35ddf2-0xff;const _0x228342=_0x2283();let _0xd7e13a=_0x228342[_0x35ddf2];return _0xd7e13a;}function _0x2283(){const _0x23f12f=['PRINT_CANVAS_CLASS','docs.operation.print','Viewport','type','931002iIbCwu','LS_CONFIG_KEY','_root','getCanvas','min','print','pluginName','height','save','_engine','0px','container','_page','isFeatureAuthorizedWithinTime','_initComponents','ICommandService','Render\x20is\x20not\x20found','onReady','print.menu','PrintIcon','mpn','addObject','_config','DocumentDataModel\x20is\x20not\x20found','IUniverInstanceService','position','onbeforeprint','100%','IConfigService','body','_scene','getSkeletonData','call','ComponentManager','_univerInstanceService','IMenuManagerService','appendChild','IRenderManagerService','2271cjcqCl','length','getUnit','string','message','_offsetConfig','74pzYMlG','Engine','get','_componentManager','UniverNetworkPlugin','version','getContext','makeForceDirty','1378736ctiicE','_menuManagerService','object','setConfig','getRenderById','UNIVER_DOC','_unitId','_paperSize','58685TBNlxM','decorate','DOCS_PRINT_PLUGIN_CONFIG_KEY','_container','registerCommand','Documents','RibbonStartGroup','root','_initMenus','Printing','with','disposeWithMe','left','restore','10pvDACA','_currentRender','getOwnPropertyDescriptor','symbol','iterator','registerDependencies','Scene','render','DisposableCollection','DocPrintInterceptorService','style','timeValid','getOffsetConfig','CanvasRenderMode','_key','PRINTING_COMPONENT_COLLECT','pageHeight','defineProperty','interceptor','VIEWPORT_KEY','removeChild','Inject','page','pages','mainComponent','Disposable','dispose','Portrait','getUnitId','menu','getSkeleton','_configService','onStarting','2181474NXvkgR','DocSkeletonManagerService','getMenuHiddenObservable','Pages\x20are\x20not\x20found','_injector','createElement','_skeletonData','_effects','toStringTag','UNIVER_DOCS_PRINT','PRINTING_DOM_COLLECT','translate','updateScrollVal','absolute','_calculateLayout','scale','29988636KPhVSH','generateRandomId','28RoCKwr','UniverInstanceType','top','506736ZrDhcx','DependentOn','forEach','makeDirty','parseInt','11XWpfJC','fetchThroughInterceptors','isLocalCheck','merge','MenuItemType','function','_documents','SwitchDocModeCommand','getConfig','DocumentFlavor','Module','packageName','getCurrentUnitOfType','prepare','TRADITIONAL','_skeleton','div','pageWidth','_renderManagerService','Skeleton\x20data\x20is\x20not\x20found','88PwOvDx','prototype','getLicenseInfo','syncExecuteCommand','_commandService','0.24.0','mergeMenu','setId','BUTTON','className','width','_viewMain','Injector'];_0x2283=function(){return _0x23f12f;};return _0x2283();}
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2aa9(_0xa311d4,_0x38dac9){_0xa311d4=_0xa311d4-0x1f3;const _0x5ca5cb=_0x5ca5();let _0x2aa9dd=_0x5ca5cb[_0xa311d4];return _0x2aa9dd;}const _0x21db04=_0x2aa9;function _0x5ca5(){const _0x35f498=['485175JZzdQU','5xPLWZd','12BLCPpH','Print','14yjAspK','2140tnIYqR','100856IVKnJI','9606824BhamHZ','exports','186852PBMABB','32224423ClGMji','112EEtYiv','36801pRumAq','5020076mKAeZy'];_0x5ca5=function(){return _0x35f498;};return _0x5ca5();}(function(_0x1fa9cc,_0x3a97da){const _0x4c779d=_0x2aa9,_0x4878e4=_0x1fa9cc();while(!![]){try{const _0x44f739=parseInt(_0x4c779d(0x1f4))/0x1*(parseInt(_0x4c779d(0x200))/0x2)+-parseInt(_0x4c779d(0x1fc))/0x3+-parseInt(_0x4c779d(0x1fb))/0x4*(parseInt(_0x4c779d(0x1fd))/0x5)+parseInt(_0x4c779d(0x1f7))/0x6*(parseInt(_0x4c779d(0x1f9))/0x7)+-parseInt(_0x4c779d(0x1f5))/0x8+parseInt(_0x4c779d(0x1fa))/0x9*(-parseInt(_0x4c779d(0x1f3))/0xa)+-parseInt(_0x4c779d(0x1f8))/0xb*(-parseInt(_0x4c779d(0x1fe))/0xc);if(_0x44f739===_0x3a97da)break;else _0x4878e4['push'](_0x4878e4['shift']());}catch(_0x51dad7){_0x4878e4['push'](_0x4878e4['shift']());}}}(_0x5ca5,0x9c85a));const e={'print':{'menu':_0x21db04(0x1ff)}};module[_0x21db04(0x1f6)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x103b50=_0x20a6;(function(_0x161313,_0x19ed6a){const _0x1a42a2=_0x20a6,_0x119fd8=_0x161313();while(!![]){try{const _0x2ddf29=-parseInt(_0x1a42a2(0x152))/0x1+parseInt(_0x1a42a2(0x14a))/0x2*(-parseInt(_0x1a42a2(0x146))/0x3)+parseInt(_0x1a42a2(0x14f))/0x4+-parseInt(_0x1a42a2(0x14e))/0x5*(parseInt(_0x1a42a2(0x149))/0x6)+parseInt(_0x1a42a2(0x14b))/0x7*(-parseInt(_0x1a42a2(0x14d))/0x8)+-parseInt(_0x1a42a2(0x151))/0x9*(parseInt(_0x1a42a2(0x147))/0xa)+parseInt(_0x1a42a2(0x148))/0xb*(parseInt(_0x1a42a2(0x150))/0xc);if(_0x2ddf29===_0x19ed6a)break;else _0x119fd8['push'](_0x119fd8['shift']());}catch(_0x87a37c){_0x119fd8['push'](_0x119fd8['shift']());}}}(_0x4817,0xc1747));const e={'print':{'menu':_0x103b50(0x153)}};module[_0x103b50(0x14c)]=e;function _0x20a6(_0x5cb9c8,_0x3768f5){_0x5cb9c8=_0x5cb9c8-0x146;const _0x48172e=_0x4817();let _0x20a6c7=_0x48172e[_0x5cb9c8];return _0x20a6c7;}function _0x4817(){const _0x50928f=['exports','5655072FuUuib','95CFXfsR','190284spGWka','2528772rQGVDy','9ukjiWO','1520112KbzvPe','Print','3BMXkjA','5842980HXlZFv','319QiaBqM','360066beuFTA','1415984NFzoBh','14ufOqZR'];_0x4817=function(){return _0x50928f;};return _0x4817();}
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3e5d98,_0x5592c3){const _0x45cd1e=_0x1a16,_0x57a502=_0x3e5d98();while(!![]){try{const _0x3f60b6=parseInt(_0x45cd1e(0xc6))/0x1*(-parseInt(_0x45cd1e(0xc1))/0x2)+-parseInt(_0x45cd1e(0xca))/0x3+-parseInt(_0x45cd1e(0xc8))/0x4+parseInt(_0x45cd1e(0xc9))/0x5*(parseInt(_0x45cd1e(0xc4))/0x6)+-parseInt(_0x45cd1e(0xc2))/0x7*(parseInt(_0x45cd1e(0xc7))/0x8)+parseInt(_0x45cd1e(0xc0))/0x9+-parseInt(_0x45cd1e(0xc3))/0xa*(-parseInt(_0x45cd1e(0xc5))/0xb);if(_0x3f60b6===_0x5592c3)break;else _0x57a502['push'](_0x57a502['shift']());}catch(_0x544776){_0x57a502['push'](_0x57a502['shift']());}}}(_0x1274,0xcb000));const e={'print':{'menu':'Print'}};function _0x1a16(_0x2f18f2,_0x573918){_0x2f18f2=_0x2f18f2-0xc0;const _0x12747b=_0x1274();let _0x1a16e4=_0x12747b[_0x2f18f2];return _0x1a16e4;}module['exports']=e;function _0x1274(){const _0x5d992e=['451CMlfRG','1022999uDumZq','8mrsIrv','978544WpqoiI','5tCPsNP','1148943NqGChL','11652075dzxQQL','2xmYfGT','10644851mfXYgy','346510TMyfJc','7724586WOWNMt'];_0x1274=function(){return _0x5d992e;};return _0x1274();}
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x382cdb=_0x5e10;(function(_0x4bffaa,_0x5184c7){const _0x264e29=_0x5e10,_0x3a2f33=_0x4bffaa();while(!![]){try{const _0x58a8a1=-parseInt(_0x264e29(0x1f5))/0x1*(-parseInt(_0x264e29(0x1f2))/0x2)+-parseInt(_0x264e29(0x1f8))/0x3+-parseInt(_0x264e29(0x1f7))/0x4*(parseInt(_0x264e29(0x1fb))/0x5)+parseInt(_0x264e29(0x1f3))/0x6+parseInt(_0x264e29(0x1f4))/0x7*(-parseInt(_0x264e29(0x1fc))/0x8)+-parseInt(_0x264e29(0x1f9))/0x9+parseInt(_0x264e29(0x1fa))/0xa;if(_0x58a8a1===_0x5184c7)break;else _0x3a2f33['push'](_0x3a2f33['shift']());}catch(_0x447eb9){_0x3a2f33['push'](_0x3a2f33['shift']());}}}(_0x28e8,0x5a1e8));const e={'print':{'menu':_0x382cdb(0x1f6)}};module['exports']=e;function _0x5e10(_0x3fd5c9,_0x3d4a6d){_0x3fd5c9=_0x3fd5c9-0x1f2;const _0x28e892=_0x28e8();let _0x5e103e=_0x28e892[_0x3fd5c9];return _0x5e103e;}function _0x28e8(){const _0x1f4ddc=['4933017msMqbm','2411960KFCFfO','17330zXOamW','1559544nwXHyr','282884vuXFar','3073710TICRqi','7uZJUgp','5pLigtv','چاپ','64ozdYvC','879153qHiKKK'];_0x28e8=function(){return _0x1f4ddc;};return _0x28e8();}
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xa83843=_0x4a8b;(function(_0x4709bb,_0x4c3508){const _0x30a43f=_0x4a8b,_0x13600e=_0x4709bb();while(!![]){try{const _0x25e147=-parseInt(_0x30a43f(0xfb))/0x1*(-parseInt(_0x30a43f(0xf7))/0x2)+-parseInt(_0x30a43f(0x100))/0x3+parseInt(_0x30a43f(0xfa))/0x4+-parseInt(_0x30a43f(0xfc))/0x5*(-parseInt(_0x30a43f(0x102))/0x6)+parseInt(_0x30a43f(0xfe))/0x7*(parseInt(_0x30a43f(0xf9))/0x8)+parseInt(_0x30a43f(0xf8))/0x9*(-parseInt(_0x30a43f(0xfd))/0xa)+-parseInt(_0x30a43f(0x101))/0xb;if(_0x25e147===_0x4c3508)break;else _0x13600e['push'](_0x13600e['shift']());}catch(_0x126be9){_0x13600e['push'](_0x13600e['shift']());}}}(_0x5cb0,0xc43c0));const e={'print':{'menu':_0xa83843(0xff)}};module[_0xa83843(0xf6)]=e;function _0x4a8b(_0x353ae0,_0x2e0384){_0x353ae0=_0x353ae0-0xf6;const _0x5cb097=_0x5cb0();let _0x4a8b9e=_0x5cb097[_0x353ae0];return _0x4a8b9e;}function _0x5cb0(){const _0x28bc04=['15363150OAuaNM','60774LFFnbD','exports','2pKEmLk','99ZpQgVP','5850776yVlwPf','1248248HZTmJQ','826571blEjih','595aXRmAf','334270sHMIkH','7HhhEsj','Imprimer','1521624wUAVDG'];_0x5cb0=function(){return _0x28bc04;};return _0x5cb0();}
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x42aa9e=_0x41e5;function _0xd965(){const _0x9963ae=['exports','1491724LsfHyy','621901cZhvZw','739872XHLtuv','2VHeWUU','4782776JjCuHp','5PFCfFU','6436296cpBkKB','744883acVbXD','994593SokEGF'];_0xd965=function(){return _0x9963ae;};return _0xd965();}(function(_0x55490c,_0x389bbf){const _0x1e6152=_0x41e5,_0x49ec14=_0x55490c();while(!![]){try{const _0x47350b=-parseInt(_0x1e6152(0x9b))/0x1*(parseInt(_0x1e6152(0x97))/0x2)+-parseInt(_0x1e6152(0x92))/0x3+-parseInt(_0x1e6152(0x94))/0x4*(-parseInt(_0x1e6152(0x99))/0x5)+-parseInt(_0x1e6152(0x96))/0x6+-parseInt(_0x1e6152(0x95))/0x7+parseInt(_0x1e6152(0x98))/0x8+parseInt(_0x1e6152(0x9a))/0x9;if(_0x47350b===_0x389bbf)break;else _0x49ec14['push'](_0x49ec14['shift']());}catch(_0x2c217c){_0x49ec14['push'](_0x49ec14['shift']());}}}(_0xd965,0x61029));const e={'print':{'menu':'印刷'}};function _0x41e5(_0x173e38,_0x595489){_0x173e38=_0x173e38-0x92;const _0xd9657=_0xd965();let _0x41e5df=_0xd9657[_0x173e38];return _0x41e5df;}module[_0x42aa9e(0x93)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x57a0(){const _0x5c3b10=['388302tQbFow','12cbnigo','1891235wYDemc','63DnhXsp','4685292aUrVPf','108258LcGapi','1182824bCSNkk','21xNZhKU','1442973elVspq','10905210SYnHHm'];_0x57a0=function(){return _0x5c3b10;};return _0x57a0();}(function(_0xd2fe7f,_0x4125d1){const _0x366aa5=_0x53b8,_0x3a95b1=_0xd2fe7f();while(!![]){try{const _0x32c60b=-parseInt(_0x366aa5(0x163))/0x1+-parseInt(_0x366aa5(0x165))/0x2+parseInt(_0x366aa5(0x169))/0x3+parseInt(_0x366aa5(0x166))/0x4*(parseInt(_0x366aa5(0x167))/0x5)+parseInt(_0x366aa5(0x16a))/0x6*(-parseInt(_0x366aa5(0x162))/0x7)+-parseInt(_0x366aa5(0x161))/0x8*(-parseInt(_0x366aa5(0x168))/0x9)+-parseInt(_0x366aa5(0x164))/0xa;if(_0x32c60b===_0x4125d1)break;else _0x3a95b1['push'](_0x3a95b1['shift']());}catch(_0x19d2d6){_0x3a95b1['push'](_0x3a95b1['shift']());}}}(_0x57a0,0xe7dc6));const e={'print':{'menu':'인쇄'}};function _0x53b8(_0x4fadbd,_0x2a3f2e){_0x4fadbd=_0x4fadbd-0x161;const _0x57a032=_0x57a0();let _0x53b800=_0x57a032[_0x4fadbd];return _0x53b800;}module['exports']=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x1965e4=_0x5056;function _0x5056(_0x319d63,_0x52005d){_0x319d63=_0x319d63-0xce;const _0x4b53bd=_0x4b53();let _0x50565b=_0x4b53bd[_0x319d63];return _0x50565b;}(function(_0x444269,_0x6aef3c){const _0x8a7be6=_0x5056,_0x228bc2=_0x444269();while(!![]){try{const _0x2fc738=-parseInt(_0x8a7be6(0xd3))/0x1+parseInt(_0x8a7be6(0xd7))/0x2+parseInt(_0x8a7be6(0xd4))/0x3*(parseInt(_0x8a7be6(0xce))/0x4)+parseInt(_0x8a7be6(0xd9))/0x5+parseInt(_0x8a7be6(0xd5))/0x6*(-parseInt(_0x8a7be6(0xd8))/0x7)+-parseInt(_0x8a7be6(0xcf))/0x8*(-parseInt(_0x8a7be6(0xd1))/0x9)+-parseInt(_0x8a7be6(0xd6))/0xa*(parseInt(_0x8a7be6(0xd0))/0xb);if(_0x2fc738===_0x6aef3c)break;else _0x228bc2['push'](_0x228bc2['shift']());}catch(_0x2bc7a2){_0x228bc2['push'](_0x228bc2['shift']());}}}(_0x4b53,0x4913f));const e={'print':{'menu':'Печать'}};function _0x4b53(){const _0x4c7b33=['282cMLXaG','20ZrHboA','564762SSefHd','30170EKdwZx','1330690NneKvM','563252laqXbk','8136BfYHSW','1185503ypmlfB','63ikpTPa','exports','401447GkbBTC','12DKjVoa'];_0x4b53=function(){return _0x4c7b33;};return _0x4b53();}module[_0x1965e4(0xd2)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5c28(_0x2c979c,_0x2e206b){_0x2c979c=_0x2c979c-0xc3;const _0x3fea5c=_0x3fea();let _0x5c285b=_0x3fea5c[_0x2c979c];return _0x5c285b;}const _0x56270b=_0x5c28;(function(_0x206257,_0x33ffbc){const _0x50c14d=_0x5c28,_0x255b62=_0x206257();while(!![]){try{const _0x44067a=-parseInt(_0x50c14d(0xc4))/0x1+parseInt(_0x50c14d(0xc3))/0x2+parseInt(_0x50c14d(0xc8))/0x3*(parseInt(_0x50c14d(0xc7))/0x4)+-parseInt(_0x50c14d(0xc5))/0x5+-parseInt(_0x50c14d(0xc9))/0x6+-parseInt(_0x50c14d(0xcb))/0x7+parseInt(_0x50c14d(0xca))/0x8;if(_0x44067a===_0x33ffbc)break;else _0x255b62['push'](_0x255b62['shift']());}catch(_0x2bf017){_0x255b62['push'](_0x255b62['shift']());}}}(_0x3fea,0xdde55));function _0x3fea(){const _0x5c05ef=['Tlač','60tUnQEg','227451GiEFyu','7278090jGkkgE','29451056UKVSrU','9692921WJLScF','2406698xhVZpE','1307323DTvfCC','6040300FFBhqw'];_0x3fea=function(){return _0x5c05ef;};return _0x3fea();}const e={'print':{'menu':_0x56270b(0xc6)}};module['exports']=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3bb6(_0x31ab5f,_0x115ed0){_0x31ab5f=_0x31ab5f-0x189;const _0x10c48c=_0x10c4();let _0x3bb65c=_0x10c48c[_0x31ab5f];return _0x3bb65c;}function _0x10c4(){const _0x4046fb=['552DbVRED','3049370obpPDI','6611148yCENXH','154809tQVyIH','1745385YrSYvk','1ohjGmL','1459944sXsZAA','6232576qyWrvY','exports','5138070Wftswb'];_0x10c4=function(){return _0x4046fb;};return _0x10c4();}const _0x21b497=_0x3bb6;(function(_0x2a917c,_0x5eb894){const _0x597272=_0x3bb6,_0x52ae74=_0x2a917c();while(!![]){try{const _0x3b7970=-parseInt(_0x597272(0x18b))/0x1*(parseInt(_0x597272(0x191))/0x2)+parseInt(_0x597272(0x18c))/0x3+parseInt(_0x597272(0x18d))/0x4+-parseInt(_0x597272(0x18a))/0x5+parseInt(_0x597272(0x192))/0x6+parseInt(_0x597272(0x18f))/0x7+parseInt(_0x597272(0x190))/0x8*(-parseInt(_0x597272(0x189))/0x9);if(_0x3b7970===_0x5eb894)break;else _0x52ae74['push'](_0x52ae74['shift']());}catch(_0x4b74e7){_0x52ae74['push'](_0x52ae74['shift']());}}}(_0x10c4,0xc833d));const e={'print':{'menu':'In'}};module[_0x21b497(0x18e)]=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xdd3b34,_0x2b05b8){const _0x22d84f=_0x37cd,_0x36c436=_0xdd3b34();while(!![]){try{const _0x2b6e7d=parseInt(_0x22d84f(0x119))/0x1+parseInt(_0x22d84f(0x114))/0x2*(parseInt(_0x22d84f(0x117))/0x3)+parseInt(_0x22d84f(0x115))/0x4+-parseInt(_0x22d84f(0x118))/0x5+-parseInt(_0x22d84f(0x11a))/0x6+-parseInt(_0x22d84f(0x116))/0x7*(-parseInt(_0x22d84f(0x11b))/0x8)+-parseInt(_0x22d84f(0x11c))/0x9;if(_0x2b6e7d===_0x2b05b8)break;else _0x36c436['push'](_0x36c436['shift']());}catch(_0x288f1e){_0x36c436['push'](_0x36c436['shift']());}}}(_0x4acc,0xba04e));function _0x4acc(){const _0x55938d=['231565XSdhfb','234456FYOGdC','2773944STlKEX','8KegTJZ','18398808XmBGOo','26rCBrtc','5903232kDRNUF','6677510HUrtWJ','150159jwGeiz'];_0x4acc=function(){return _0x55938d;};return _0x4acc();}const e={'print':{'menu':'打印'}};function _0x37cd(_0xae7f6b,_0x248b5e){_0xae7f6b=_0xae7f6b-0x114;const _0x4acc13=_0x4acc();let _0x37cdf1=_0x4acc13[_0xae7f6b];return _0x37cdf1;}module['exports']=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x36dcf1=_0x2f3e;function _0x2f3e(_0x2b7363,_0x3fed5d){_0x2b7363=_0x2b7363-0x108;const _0x2b532e=_0x2b53();let _0x2f3e62=_0x2b532e[_0x2b7363];return _0x2f3e62;}(function(_0x512580,_0x66fec6){const _0x18adf1=_0x2f3e,_0x357a85=_0x512580();while(!![]){try{const _0x564674=parseInt(_0x18adf1(0x108))/0x1+parseInt(_0x18adf1(0x111))/0x2*(-parseInt(_0x18adf1(0x10d))/0x3)+parseInt(_0x18adf1(0x110))/0x4*(-parseInt(_0x18adf1(0x10e))/0x5)+parseInt(_0x18adf1(0x10f))/0x6+-parseInt(_0x18adf1(0x113))/0x7*(-parseInt(_0x18adf1(0x114))/0x8)+-parseInt(_0x18adf1(0x10a))/0x9*(-parseInt(_0x18adf1(0x109))/0xa)+parseInt(_0x18adf1(0x112))/0xb*(-parseInt(_0x18adf1(0x10b))/0xc);if(_0x564674===_0x66fec6)break;else _0x357a85['push'](_0x357a85['shift']());}catch(_0x295082){_0x357a85['push'](_0x357a85['shift']());}}}(_0x2b53,0xa8c78));const e={'print':{'menu':'列印'}};function _0x2b53(){const _0x3f061b=['49059SNZDuN','1524MJuSte','exports','2385744pLVSTa','44015xDKGYg','5365614KFgzBc','616ilPbvQ','2MMNmBp','4169RbGzPM','21JBgmpT','2487144VuCBQX','774512uUGrGz','530MrwNzl'];_0x2b53=function(){return _0x3f061b;};return _0x2b53();}module[_0x36dcf1(0x10c)]=e;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xbdd726=_0x37ab;(function(_0x20a9fd,_0x5974e5){const _0x10effd=_0x37ab,_0x433510=_0x20a9fd();while(!![]){try{const _0x1ed47a=parseInt(_0x10effd(0x206))/0x1+-parseInt(_0x10effd(0x1a7))/0x2*(parseInt(_0x10effd(0x1a5))/0x3)+-parseInt(_0x10effd(0x1f9))/0x4+parseInt(_0x10effd(0x1dc))/0x5*(parseInt(_0x10effd(0x219))/0x6)+-parseInt(_0x10effd(0x21e))/0x7*(-parseInt(_0x10effd(0x1ff))/0x8)+-parseInt(_0x10effd(0x1ed))/0x9+parseInt(_0x10effd(0x1ae))/0xa;if(_0x1ed47a===_0x5974e5)break;else _0x433510['push'](_0x433510['shift']());}catch(_0xb04f01){_0x433510['push'](_0x433510['shift']());}}}(_0x1022,0xb831c));import{CommandType as _0x2b8636,DependentOn as _0x10dd1e,Disposable as _0x5d357e,DisposableCollection as _0x4c5427,DocumentFlavor as _0xd635da,ICommandService as _0x4a72bf,IConfigService as _0x12eb9d,IUniverInstanceService as _0x532f26,Inject as _0x5f3de9,Injector as _0xbe8b6f,Plugin as _0x50fec2,UniverInstanceType as _0x5059fb,generateRandomId as _0x347a27,merge as _0x45da09,registerDependencies as _0x2a1c85}from'@univerjs/core';import{DocPrintInterceptorService as _0x1b3390,SwitchDocModeCommand as _0x236168,VIEWPORT_KEY as _0x19bb56}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x34788b,Documents as _0x1ccc3b,Engine as _0x3c80fc,IRenderManagerService as _0x987b7e,Scene as _0x4a4ae2,Viewport as _0x403ddc}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0xed777c,UniverLicensePlugin as _0x5dd62c,getDocFeatureLimit as _0x115312,getLicenseInfo as _0x18e343,isFeatureAuthorizedWithinTime as _0x1b214c,isLocalCheck as _0x19a24e}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x26e165,PRINT_CONTAINER_CLASS as _0x327d92,PrintDirection as _0x56a00b,createPrintStyle as _0x15f587}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0xc877f7}from'@univerjs/docs';function _0x1022(){const _0x18937d=['get','translate','symbol','354YVBnhO','syncExecuteCommand','1910evTQRK','getCurrentUnitOfType','object','_unitId','root','_key','makeForceDirty','5492970NMvCaf','createElement','function','_scene','_documents','dispose','_currentRender','_skeleton','print.menu','print','Pages\x20are\x20not\x20found','fetchThroughInterceptors','style','menu','Skeleton\x20data\x20is\x20not\x20found','_renderManagerService','body','getSkeletonData','_globalZoneService','container','_calculateLayout','Render\x20is\x20not\x20found','_engine','getUnitId','page','_initCommands','_injector','pages','close','UNIVER_DOCS_PRINT','prepare','iterator','UNIVER_DOC','width','appendChild','_container','getOwnPropertyDescriptor','toPrimitive','BUTTON','message','top','position','_commandService','0.23.0','getConfig','packageName','5XfABji','getSkeleton','documentFlavor','100%','_paperSize','left','parseInt','registerCommand','_root','_viewMain','_initMenus','valid','save','map','min','_offsetConfig','pageHeight','13083048rMjlCU','restore','VIEW_MAIN','addObject','interceptor','_page','version','height','div','onbeforeprint','0px','disposeWithMe','184168Rhfbqd','decorate','className','type','getRenderById','removeChild','28144dMGAXZ','getDocumentStyle','with','updateScrollVal','_configService','DocumentDataModel\x20is\x20not\x20found','mergeMenu','702774LilqlP','onafterprint','forEach','_config','_initRenderer','PrintIcon','_menuManagerService','getOffsetConfig','_skeletonData','pageWidth','call','_addViewport','length','constructor','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_addComponent','_effects','default','_initComponents','2361618MnxsxJ','getInterceptPoints','onStarting','mainComponent','OTHERS','1435iKxrHp','setConfig','fill','getCanvas','isPro','bottom','_univerInstanceService','string','getUnit'];_0x1022=function(){return _0x18937d;};return _0x1022();}import{ComponentManager as _0x7f3967,IGlobalZoneService as _0x33a852,IMenuManagerService as _0x1e87f1,MenuItemType as _0x3bbc80,RibbonStartGroup as _0x2dab73,getMenuHiddenObservable as _0x204152}from'@univerjs/ui';import{UniverNetworkPlugin as _0x2daa65}from'@univerjs/network';import{PrintIcon as _0x168ff8}from'@univerjs/icons';function z(_0x5c16de){'@babel/helpers - typeof';const _0x480f7d=_0x37ab;return z=typeof Symbol==_0x480f7d(0x1b0)&&typeof Symbol[_0x480f7d(0x1cd)]==_0x480f7d(0x229)?function(_0x28a7cf){return typeof _0x28a7cf;}:function(_0x5c37a0){const _0x5c49c5=_0x480f7d;return _0x5c37a0&&typeof Symbol=='function'&&_0x5c37a0[_0x5c49c5(0x213)]===Symbol&&_0x5c37a0!==Symbol['prototype']?'symbol':typeof _0x5c37a0;},z(_0x5c16de);}function B(_0x56df1c,_0x411cec){const _0x2456ef=_0x37ab;if(z(_0x56df1c)!=_0x2456ef(0x1a9)||!_0x56df1c)return _0x56df1c;var _0x3eaca6=_0x56df1c[Symbol[_0x2456ef(0x1d3)]];if(_0x3eaca6!==void 0x0){var _0x130074=_0x3eaca6[_0x2456ef(0x210)](_0x56df1c,_0x411cec||_0x2456ef(0x217));if(z(_0x130074)!=_0x2456ef(0x1a9))return _0x130074;throw TypeError(_0x2456ef(0x214));}return(_0x411cec===_0x2456ef(0x225)?String:Number)(_0x56df1c);}function V(_0x462ae6){const _0x48a2ce=_0x37ab;var _0x309ceb=B(_0x462ae6,_0x48a2ce(0x225));return z(_0x309ceb)==_0x48a2ce(0x229)?_0x309ceb:_0x309ceb+'';}function H(_0x54c1ea,_0x5b5cdc,_0x2391cc){return(_0x5b5cdc=V(_0x5b5cdc))in _0x54c1ea?Object['defineProperty'](_0x54c1ea,_0x5b5cdc,{'value':_0x2391cc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x54c1ea[_0x5b5cdc]=_0x2391cc,_0x54c1ea;}var U=class extends _0x5d357e{get[_0xbdd726(0x1c1)](){const _0x28b647=_0xbdd726;return this[_0x28b647(0x1d1)];}get['root'](){const _0x48a094=_0xbdd726;return this[_0x48a094(0x1e4)];}get[_0xbdd726(0x1b4)](){const _0x59887b=_0xbdd726;let _0x1dca69=this['_injector']['get'](_0x987b7e)[_0x59887b(0x1fd)](this[_0x59887b(0x1aa)]);if(!_0x1dca69)throw Error(_0x59887b(0x1c3));return _0x1dca69;}get[_0xbdd726(0x1b5)](){const _0x10e31e=_0xbdd726;return this[_0x10e31e(0x1b4)][_0x10e31e(0x201)](_0xc877f7)[_0x10e31e(0x1dd)]();}get[_0xbdd726(0x20e)](){const _0x5875b5=_0xbdd726;let _0xc2a144=this['_skeleton'][_0x5875b5(0x1bf)]();if(!_0xc2a144)throw Error(_0x5875b5(0x1bc));return _0xc2a144;}get['_paperSize'](){const _0x574adb=_0xbdd726;let _0x19c431=this['_skeletonData'][_0x574adb(0x1c9)][0x0];return{'width':_0x19c431[_0x574adb(0x20f)],'height':_0x19c431['pageHeight']};}constructor(_0x19d4ee,_0x2247b0,_0x6aa5aa,_0x1edd3d){const _0x5e8b76=_0xbdd726;super(),this[_0x5e8b76(0x1c8)]=_0x19d4ee,this[_0x5e8b76(0x1f2)]=_0x2247b0,this[_0x5e8b76(0x1aa)]=_0x6aa5aa,this['_offsetConfig']=_0x1edd3d,H(this,_0x5e8b76(0x1d1),document[_0x5e8b76(0x1af)]('div')),H(this,_0x5e8b76(0x1e4),document[_0x5e8b76(0x1af)]('div')),H(this,'_engine',void 0x0),H(this,_0x5e8b76(0x1b1),void 0x0),H(this,_0x5e8b76(0x1ac),void 0x0),H(this,_0x5e8b76(0x1b2),void 0x0),H(this,'_viewMain',void 0x0),H(this,_0x5e8b76(0x216),new _0x4c5427()),this[_0x5e8b76(0x1ac)]=_0x347a27(0x4),this[_0x5e8b76(0x20a)](),this['disposeWithMe']({'dispose':()=>{const _0x11447a=_0x5e8b76;this[_0x11447a(0x1c4)][_0x11447a(0x1b3)](),this[_0x11447a(0x1b1)][_0x11447a(0x1b3)](),this['_effects'][_0x11447a(0x1b3)]();}});}['_calculateLayout'](){const _0x17507f=_0xbdd726;let {docsTop:_0x41faa4,docsLeft:_0xe5cb65}=this[_0x17507f(0x1b2)]['getOffsetConfig'](),_0x362378=this['_paperSize'][_0x17507f(0x1f4)],_0xbe3de7=this[_0x17507f(0x1e0)]['width'];return{'top':_0x41faa4+(_0x41faa4+_0x362378)*this['_page'],'bottom':_0x41faa4+(_0x41faa4+_0x362378)*(this[_0x17507f(0x1f2)]+0x1),'left':_0xe5cb65,'right':_0xe5cb65+_0xbe3de7};}['_initRenderer'](){const _0x53eadf=_0xbdd726;this[_0x53eadf(0x1c4)]=new _0x3c80fc('',{'elementWidth':this[_0x53eadf(0x1e0)][_0x53eadf(0x1cf)],'elementHeight':this[_0x53eadf(0x1e0)][_0x53eadf(0x1f4)],'dpr':0x1,'renderMode':_0x34788b['Printing']}),this[_0x53eadf(0x1b1)]=new _0x4a4ae2(this[_0x53eadf(0x1ac)],this[_0x53eadf(0x1c4)]),this[_0x53eadf(0x1b1)]['scale'](0x1,0x1),this[_0x53eadf(0x1c4)]['setContainer'](this[_0x53eadf(0x1d1)],!0x1),this[_0x53eadf(0x1c4)][_0x53eadf(0x221)]()['getContext']()['setId'](this[_0x53eadf(0x1ac)]+'_'+_0x347a27(0x4)),this[_0x53eadf(0x215)](),this[_0x53eadf(0x211)]();}['_addComponent'](){const _0x512e69=_0xbdd726;let {pageMarginLeft:_0x10163b,pageMarginTop:_0x6c4947,docsLeft:_0x395bf9,docsTop:_0x1cfb11}=this[_0x512e69(0x1eb)],_0x489a0e={'pageMarginLeft':_0x10163b,'pageMarginTop':_0x6c4947},_0x1c7ff5=new _0x1ccc3b('__DocPrintRender__',this[_0x512e69(0x1b5)],_0x489a0e);_0x1c7ff5[_0x512e69(0x228)](_0x395bf9,_0x1cfb11),this[_0x512e69(0x1b1)][_0x512e69(0x1f0)](_0x1c7ff5),this['_documents']=_0x1c7ff5;let _0x560cc9=this[_0x512e69(0x1c8)][_0x512e69(0x227)](_0x1b3390);_0x560cc9['interceptor'][_0x512e69(0x1b9)](_0x560cc9[_0x512e69(0x1f1)][_0x512e69(0x21a)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x512e69(0x1aa)],'scene':this['_scene'],'engine':this[_0x512e69(0x1c4)],'root':this[_0x512e69(0x1e4)],'documents':this[_0x512e69(0x1b2)],'skeleton':this['_skeleton']});}[_0xbdd726(0x211)](){const _0x3b6691=_0xbdd726;this[_0x3b6691(0x1e5)]=new _0x403ddc(_0x19bb56[_0x3b6691(0x1ef)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0xbdd726(0x1cc)](){const _0x2962b6=_0xbdd726;let _0x2fd63f=this[_0x2962b6(0x1c2)]();this[_0x2962b6(0x1e5)][_0x2962b6(0x202)]({'viewportScrollX':_0x2fd63f['left'],'viewportScrollY':_0x2fd63f['top']}),this[_0x2962b6(0x1e4)]['style'][_0x2962b6(0x1d7)]='absolute',this[_0x2962b6(0x1e4)]['style'][_0x2962b6(0x1d6)]=_0x2962b6(0x1f7),this[_0x2962b6(0x1e4)][_0x2962b6(0x1ba)][_0x2962b6(0x1e1)]=_0x2962b6(0x1f7),this[_0x2962b6(0x1e4)]['style'][_0x2962b6(0x1cf)]=_0x2962b6(0x1df),this[_0x2962b6(0x1e4)]['style'][_0x2962b6(0x1f4)]=_0x2962b6(0x1df),this[_0x2962b6(0x216)]=new _0x4c5427();let _0x370964=this[_0x2962b6(0x1c8)]['get'](_0x1b3390);_0x370964[_0x2962b6(0x1f1)][_0x2962b6(0x1b9)](_0x370964[_0x2962b6(0x1f1)][_0x2962b6(0x21a)]()['PRINTING_DOM_COLLECT'])(this[_0x2962b6(0x216)],{'unitId':this['_unitId'],'scene':this[_0x2962b6(0x1b1)],'engine':this[_0x2962b6(0x1c4)],'root':this['_root'],'skeleton':this[_0x2962b6(0x1b5)],'offset':{'x':_0x2fd63f[_0x2962b6(0x1e1)],'y':_0x2fd63f[_0x2962b6(0x1d6)]},'bound':{'top':_0x2fd63f[_0x2962b6(0x1d6)],'left':_0x2fd63f[_0x2962b6(0x1e1)],'right':_0x2fd63f['right'],'bottom':_0x2fd63f[_0x2962b6(0x223)]}});}['render'](){const _0x31e4ef=_0xbdd726;let _0x2b1ec8=this['_engine']['getCanvas']()['getContext']();this[_0x31e4ef(0x1b2)][_0x31e4ef(0x1ad)](),this['_scene']['makeDirty'](),_0x2b1ec8[_0x31e4ef(0x1e8)](),this['_scene']['render'](),_0x2b1ec8[_0x31e4ef(0x1ee)]();}};function W(_0x3dcbca,_0x2eea17){return function(_0x5dbe98,_0x32909c){_0x2eea17(_0x5dbe98,_0x32909c,_0x3dcbca);};}function G(_0x5c5734,_0x1bfd99,_0x35d1b7,_0x5ede82){const _0xc1f43=_0xbdd726;var _0xa48e39=arguments[_0xc1f43(0x212)],_0x47c999=_0xa48e39<0x3?_0x1bfd99:_0x5ede82===null?_0x5ede82=Object[_0xc1f43(0x1d2)](_0x1bfd99,_0x35d1b7):_0x5ede82,_0x1d3f17;if(typeof Reflect==_0xc1f43(0x1a9)&&typeof Reflect[_0xc1f43(0x1fa)]==_0xc1f43(0x1b0))_0x47c999=Reflect[_0xc1f43(0x1fa)](_0x5c5734,_0x1bfd99,_0x35d1b7,_0x5ede82);else{for(var _0x4abeef=_0x5c5734[_0xc1f43(0x212)]-0x1;_0x4abeef>=0x0;_0x4abeef--)(_0x1d3f17=_0x5c5734[_0x4abeef])&&(_0x47c999=(_0xa48e39<0x3?_0x1d3f17(_0x47c999):_0xa48e39>0x3?_0x1d3f17(_0x1bfd99,_0x35d1b7,_0x47c999):_0x1d3f17(_0x1bfd99,_0x35d1b7))||_0x47c999);}return _0xa48e39>0x3&&_0x47c999&&Object['defineProperty'](_0x1bfd99,_0x35d1b7,_0x47c999),_0x47c999;}const K=Number[_0xbdd726(0x1e2)](0x6a0acaf9),q=(_0x1167e9,_0x3c621f,_0x2cb724)=>{const _0xe6b365=_0xbdd726;let _0x338b71={'page':_0x1167e9,'isPro':!0x1,'timeValid':!0x1};if(!_0x3c621f||!_0x2cb724)return _0x338b71;let _0x30a5da=_0x18e343(_0x3c621f,_0x2cb724);if(_0x30a5da[_0xe6b365(0x1e7)]){let _0x379b03=_0x30a5da[_0xe6b365(0x1d5)],_0x861d62=_0x1b214c(_0x379b03,'df',K);_0x338b71[_0xe6b365(0x222)]=_0x861d62,_0x338b71['timeValid']=_0x861d62,_0x338b71[_0xe6b365(0x1c6)]=_0x115312(_0x379b03,_0x861d62,'mpn',_0x1167e9,_0x1167e9,0x0);}return _0x338b71;};let J=class extends _0x5d357e{constructor(_0x27ea84,_0x1870c8,_0x562aa5,_0x5d6d54,_0x335a2a){const _0x2990ce=_0xbdd726;super(),this['_univerInstanceService']=_0x27ea84,this[_0x2990ce(0x1bd)]=_0x1870c8,this['_injector']=_0x562aa5,this['_configService']=_0x5d6d54,this[_0x2990ce(0x1c0)]=_0x335a2a;}['print'](_0x149e62){const _0x222f47=_0xbdd726;var _0x5329b1,_0x20fe66;let {ls:_0x467680,pbk:_0x30f09d}=(_0x5329b1=this[_0x222f47(0x203)][_0x222f47(0x1da)](_0xed777c))==null?{}:_0x5329b1,_0x3142af=_0x19a24e()?0x1/0x0:q(0x1,_0x467680,_0x30f09d)[_0x222f47(0x1c6)];if(!this[_0x222f47(0x224)][_0x222f47(0x226)](_0x149e62,_0x5059fb[_0x222f47(0x1ce)]))throw Error(_0x222f47(0x204));let _0x33985b=this['_renderManagerService'][_0x222f47(0x1fd)](_0x149e62);if(!_0x33985b)throw Error(_0x222f47(0x1c3));let _0x3fd96f=(_0x20fe66=_0x33985b[_0x222f47(0x201)](_0xc877f7)[_0x222f47(0x1dd)]()['getSkeletonData']())==null?void 0x0:_0x20fe66[_0x222f47(0x1c9)];if(!_0x3fd96f)throw Error(_0x222f47(0x1b8));let _0x319ed1={'width':_0x3fd96f[0x0][_0x222f47(0x20f)],'height':_0x3fd96f[0x0][_0x222f47(0x1ec)]},_0x13344b=_0x3fd96f[_0x222f47(0x212)],_0x457e07=Math[_0x222f47(0x1ea)](_0x3142af,_0x13344b),_0x1809db=_0x33985b[_0x222f47(0x21c)][_0x222f47(0x20d)](),_0x5f3f81=document['createElement'](_0x222f47(0x1f5));_0x5f3f81[_0x222f47(0x1fb)]=_0x327d92;let _0x2c1721=Array(_0x457e07)[_0x222f47(0x220)](null)[_0x222f47(0x1e9)]((_0x265739,_0x3e2f6a)=>{const _0x152498=_0x222f47;let _0x4682d8=new U(this[_0x152498(0x1c8)],_0x3e2f6a,_0x149e62,_0x1809db);return _0x4682d8[_0x152498(0x1c1)][_0x152498(0x1fb)]=_0x26e165,_0x4682d8;});_0x2c1721[_0x222f47(0x208)](_0x33d91e=>{const _0x348ccc=_0x222f47;_0x5f3f81[_0x348ccc(0x1d0)](_0x33d91e['container']),_0x33d91e['container']['appendChild'](_0x33d91e[_0x348ccc(0x1ab)]),_0x33d91e[_0x348ccc(0x1cc)]();});let _0x860e72=_0x15f587(_0x319ed1[_0x222f47(0x1cf)],_0x319ed1[_0x222f47(0x1f4)],_0x56a00b['Portrait']);return document['body']['appendChild'](_0x860e72),document[_0x222f47(0x1be)][_0x222f47(0x1d0)](_0x5f3f81),new Promise(_0x4f4cc9=>{setTimeout(()=>{const _0x3c0856=_0x37ab;window[_0x3c0856(0x1f6)]=()=>{_0x2c1721['forEach'](_0x5476ca=>{_0x5476ca['render']();});},window[_0x3c0856(0x207)]=()=>{const _0x42ee7c=_0x3c0856;_0x2c1721[_0x42ee7c(0x208)](_0x4d2448=>{const _0x17874d=_0x42ee7c;_0x4d2448[_0x17874d(0x1b3)]();}),document[_0x42ee7c(0x1be)]['removeChild'](_0x5f3f81),document[_0x42ee7c(0x1be)][_0x42ee7c(0x1fe)](_0x860e72),this[_0x42ee7c(0x1c0)][_0x42ee7c(0x1ca)](),_0x4f4cc9(!0x0);},window[_0x3c0856(0x1b7)]();},0x64);});}};J=G([W(0x0,_0x532f26),W(0x1,_0x987b7e),W(0x2,_0x5f3de9(_0xbe8b6f)),W(0x3,_0x12eb9d),W(0x4,_0x33a852)],J);const Y={'id':'docs.operation.print','type':_0x2b8636['OPERATION'],'handler':async _0x4ee5d3=>{const _0x4f869d=_0xbdd726;let _0x5f55c0=_0x4ee5d3[_0x4f869d(0x227)](_0x532f26),_0x53a66a=_0x4ee5d3[_0x4f869d(0x227)](J),_0x7e9804=_0x4ee5d3['get'](_0x987b7e),_0x42cd89=_0x4ee5d3['get'](_0x4a72bf),_0x264e88=_0x5f55c0[_0x4f869d(0x1a8)](_0x5059fb[_0x4f869d(0x1ce)]);if(!_0x264e88)return!0x1;if(!_0x7e9804['getRenderById'](_0x264e88['getUnitId']()))throw Error('Render\x20is\x20not\x20found');let _0xb2be7=_0x264e88[_0x4f869d(0x200)]()[_0x4f869d(0x1de)];return _0xb2be7!==_0xd635da['TRADITIONAL']&&_0x42cd89[_0x4f869d(0x1a6)](_0x236168['id']),await _0x53a66a['print'](_0x264e88[_0x4f869d(0x1c5)]()),_0xb2be7!==_0xd635da['TRADITIONAL']&&_0x42cd89[_0x4f869d(0x1a6)](_0x236168['id']),!0x0;}},X=_0xbdd726(0x1cb),Z={};function _0x37ab(_0x141b3b,_0x46d515){_0x141b3b=_0x141b3b-0x1a5;const _0x102276=_0x1022();let _0x37abef=_0x102276[_0x141b3b];return _0x37abef;}var ie='@univerjs-pro/docs-print',ae=_0xbdd726(0x1d9);function oe(_0x18fa19){const _0x8fa8cf=_0xbdd726;return{'id':Y['id'],'type':_0x3bbc80[_0x8fa8cf(0x1d4)],'title':'print.menu','icon':_0x8fa8cf(0x20b),'tooltip':_0x8fa8cf(0x1b6),'hidden$':_0x204152(_0x18fa19,_0x5059fb['UNIVER_DOC'])};}const se={[_0x2dab73[_0xbdd726(0x21d)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x5d357e{constructor(_0x152be0,_0x127055,_0x1ba879){const _0x2ea0c5=_0xbdd726;super(),this[_0x2ea0c5(0x1d8)]=_0x152be0,this['_menuManagerService']=_0x127055,this['_componentManager']=_0x1ba879,this[_0x2ea0c5(0x1e6)](),this['_initCommands'](),this[_0x2ea0c5(0x218)]();}[_0xbdd726(0x1e6)](){const _0x2cbc10=_0xbdd726;this[_0x2cbc10(0x20c)][_0x2cbc10(0x205)](se);}[_0xbdd726(0x1c7)](){const _0x5b7c40=_0xbdd726;this[_0x5b7c40(0x1f8)](this['_commandService'][_0x5b7c40(0x1e3)](Y));}[_0xbdd726(0x218)](){const _0x8aa860=_0xbdd726;[[_0x8aa860(0x20b),_0x168ff8]]['forEach'](([_0x1c2bfd,_0x4aece4])=>{this['_componentManager']['register'](_0x1c2bfd,_0x4aece4);});}};Q=G([W(0x0,_0x4a72bf),W(0x1,_0x1e87f1),W(0x2,_0x5f3de9(_0x7f3967))],Q);let $=class extends _0x50fec2{constructor(_0x425d35=Z,_0x36ec69,_0x40b906){const _0x715f7a=_0xbdd726;super(),this['_config']=_0x425d35,this[_0x715f7a(0x1c8)]=_0x36ec69,this[_0x715f7a(0x203)]=_0x40b906;let {menu:_0x3fab63,..._0x441bc2}=_0x45da09({},Z,this[_0x715f7a(0x209)]);_0x3fab63&&this['_configService'][_0x715f7a(0x21f)](_0x715f7a(0x1bb),_0x3fab63,{'merge':!0x0}),this[_0x715f7a(0x203)]['setConfig'](X,_0x441bc2);}[_0xbdd726(0x21b)](){const _0xde5c4b=_0xbdd726;_0x2a1c85(this[_0xde5c4b(0x1c8)],[[J],[Q]]);}['onReady'](){const _0x1744ab=_0xbdd726;this[_0x1744ab(0x1c8)][_0x1744ab(0x227)](Q);}};H($,'pluginName',_0xbdd726(0x1cb)),H($,_0xbdd726(0x1db),ie),H($,_0xbdd726(0x1f3),ae),H($,_0xbdd726(0x1fc),_0x5059fb[_0xbdd726(0x1ce)]),$=G([_0x10dd1e(_0x2daa65,_0x5dd62c),W(0x1,_0x5f3de9(_0xbe8b6f)),W(0x2,_0x12eb9d)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x333908=_0x5289;(function(_0x419768,_0x5d98e3){const _0x23f148=_0x5289,_0x2cae06=_0x419768();while(!![]){try{const _0x55097d=-parseInt(_0x23f148(0x16f))/0x1+parseInt(_0x23f148(0x15e))/0x2*(-parseInt(_0x23f148(0x163))/0x3)+parseInt(_0x23f148(0x159))/0x4*(parseInt(_0x23f148(0xfe))/0x5)+parseInt(_0x23f148(0x166))/0x6*(parseInt(_0x23f148(0x15b))/0x7)+parseInt(_0x23f148(0x129))/0x8*(parseInt(_0x23f148(0x11d))/0x9)+parseInt(_0x23f148(0x122))/0xa+parseInt(_0x23f148(0x162))/0xb;if(_0x55097d===_0x5d98e3)break;else _0x2cae06['push'](_0x2cae06['shift']());}catch(_0x22cfdb){_0x2cae06['push'](_0x2cae06['shift']());}}}(_0x47a1,0x99e13));import{CommandType as _0x40889d,DependentOn as _0x314e5d,Disposable as _0x1b7171,DisposableCollection as _0x26cb8c,DocumentFlavor as _0x231477,ICommandService as _0x57553e,IConfigService as _0xd9e26a,IUniverInstanceService as _0x5e0980,Inject as _0x2a0a55,Injector as _0x2d236d,Plugin as _0x40b41c,UniverInstanceType as _0x3da596,generateRandomId as _0x5c28d0,merge as _0x15a743,registerDependencies as _0x558333}from'@univerjs/core';import{DocPrintInterceptorService as _0x5da5c5,SwitchDocModeCommand as _0x15c9dd,VIEWPORT_KEY as _0xe8afd2}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x4b60c3,Documents as _0x57f43f,Engine as _0x58fb48,IRenderManagerService as _0xe928f4,Scene as _0x4a12b3,Viewport as _0x2071f5}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x5ed629,UniverLicensePlugin as _0x363ea8,getDocFeatureLimit as _0x5eb28a,getLicenseInfo as _0x6d3b6,isFeatureAuthorizedWithinTime as _0x271f6a,isLocalCheck as _0x135e57}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x3f2cfd,PRINT_CONTAINER_CLASS as _0x289b35,PrintDirection as _0x5dbcca,createPrintStyle as _0x45427e}from'@univerjs-pro/print';function _0x47a1(){const _0x229cce=['Pages\x20are\x20not\x20found','_configService','makeForceDirty','OPERATION','540fzJtuy','getOwnPropertyDescriptor','setContainer','setId','_engine','7098220XwDvvD','UNIVER_DOCS_PRINT','style','_initComponents','BUTTON','OTHERS','_scene','145336cphaap','className','menu','makeDirty','object','_initMenus','removeChild','print.menu','iterator','_initRenderer','top','Render\x20is\x20not\x20found','map','PRINTING_DOM_COLLECT','constructor','onStarting','_effects','getUnitId','_skeleton','pageHeight','prototype','VIEW_MAIN','getRenderById','_injector','_container','getSkeletonData','100%','get','_renderManagerService','forEach','pageWidth','_paperSize','_commandService','_skeletonData','min','timeValid','fill','DocumentDataModel\x20is\x20not\x20found','prepare','function','container','_currentRender','symbol','page','version','getCurrentUnitOfType','_addViewport','documentFlavor','21572xUdoyz','Printing','7gEbGir','getOffsetConfig','isPro','2Ebwugn','setConfig','onReady','decorate','93775uAmNZG','2669421oNJOoe','PrintIcon','0.24.0','1211454VcAvVK','print','PRINTING_COMPONENT_COLLECT','_page','_config','parseInt','message','UNIVER_DOC','onbeforeprint','1196661kLAylO','getCanvas','docs.operation.print','TRADITIONAL','_offsetConfig','root','div','dispose','render','getSkeleton','string','pages','fetchThroughInterceptors','_addComponent','syncExecuteCommand','toPrimitive','_documents','getConfig','call','valid','655vjrhyk','body','_componentManager','appendChild','width','interceptor','right','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','left','getContext','type','_unitId','defineProperty','mpn','pluginName','_viewMain','Portrait','0px','createElement','height','_key','packageName','mainComponent','_calculateLayout','position','bottom','_root'];_0x47a1=function(){return _0x229cce;};return _0x47a1();}import{DocSkeletonManagerService as _0x4d2cf0}from'@univerjs/docs';import{UniverNetworkPlugin as _0x196d3a}from'@univerjs/network';import{PrintIcon as _0x518269}from'@univerjs/icons';import{ComponentManager as _0x7d870b,IMenuManagerService as _0x3eb178,MenuItemType as _0x5cf13f,RibbonStartGroup as _0x4b1e4b,getMenuHiddenObservable as _0x20054d}from'@univerjs/ui';function z(_0x2e274d){'@babel/helpers - typeof';const _0x39c0d8=_0x5289;return z=typeof Symbol==_0x39c0d8(0x150)&&typeof Symbol[_0x39c0d8(0x131)]==_0x39c0d8(0x153)?function(_0x2efa0b){return typeof _0x2efa0b;}:function(_0x4f0be7){const _0x4b54e6=_0x39c0d8;return _0x4f0be7&&typeof Symbol=='function'&&_0x4f0be7[_0x4b54e6(0x137)]===Symbol&&_0x4f0be7!==Symbol[_0x4b54e6(0x13d)]?_0x4b54e6(0x153):typeof _0x4f0be7;},z(_0x2e274d);}function B(_0x19d257,_0x32b7f2){const _0x1e5590=_0x5289;if(z(_0x19d257)!='object'||!_0x19d257)return _0x19d257;var _0x495733=_0x19d257[Symbol[_0x1e5590(0x17e)]];if(_0x495733!==void 0x0){var _0x12d15b=_0x495733[_0x1e5590(0x181)](_0x19d257,_0x32b7f2||'default');if(z(_0x12d15b)!=_0x1e5590(0x12d))return _0x12d15b;throw TypeError(_0x1e5590(0x105));}return(_0x32b7f2===_0x1e5590(0x179)?String:Number)(_0x19d257);}function V(_0x54b0b3){const _0x35ae0c=_0x5289;var _0x3b5f57=B(_0x54b0b3,_0x35ae0c(0x179));return z(_0x3b5f57)=='symbol'?_0x3b5f57:_0x3b5f57+'';}function H(_0x20f959,_0xc277bc,_0x396c9e){const _0x518926=_0x5289;return(_0xc277bc=V(_0xc277bc))in _0x20f959?Object[_0x518926(0x10a)](_0x20f959,_0xc277bc,{'value':_0x396c9e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x20f959[_0xc277bc]=_0x396c9e,_0x20f959;}var U=class extends _0x1b7171{get[_0x333908(0x151)](){return this['_container'];}get['root'](){const _0x52f055=_0x333908;return this[_0x52f055(0x118)];}get[_0x333908(0x152)](){const _0x40cc04=_0x333908;let _0x52bf1e=this[_0x40cc04(0x140)][_0x40cc04(0x144)](_0xe928f4)['getRenderById'](this[_0x40cc04(0x109)]);if(!_0x52bf1e)throw Error(_0x40cc04(0x134));return _0x52bf1e;}get[_0x333908(0x13b)](){const _0x2f52d6=_0x333908;return this[_0x2f52d6(0x152)]['with'](_0x4d2cf0)[_0x2f52d6(0x178)]();}get[_0x333908(0x14a)](){const _0x53f549=_0x333908;let _0x5e5a5=this[_0x53f549(0x13b)]['getSkeletonData']();if(!_0x5e5a5)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x5e5a5;}get[_0x333908(0x148)](){const _0x2b70db=_0x333908;let _0x30a60a=this[_0x2b70db(0x14a)][_0x2b70db(0x17a)][0x0];return{'width':_0x30a60a[_0x2b70db(0x147)],'height':_0x30a60a[_0x2b70db(0x13c)]};}constructor(_0x1b14a2,_0x3ecd84,_0xd4dd62,_0xeaca46){const _0x31a967=_0x333908;super(),this[_0x31a967(0x140)]=_0x1b14a2,this[_0x31a967(0x169)]=_0x3ecd84,this[_0x31a967(0x109)]=_0xd4dd62,this[_0x31a967(0x173)]=_0xeaca46,H(this,_0x31a967(0x141),document[_0x31a967(0x110)](_0x31a967(0x175))),H(this,_0x31a967(0x118),document[_0x31a967(0x110)](_0x31a967(0x175))),H(this,_0x31a967(0x121),void 0x0),H(this,'_scene',void 0x0),H(this,'_key',void 0x0),H(this,_0x31a967(0x17f),void 0x0),H(this,'_viewMain',void 0x0),H(this,'_effects',new _0x26cb8c()),this['_key']=_0x5c28d0(0x4),this[_0x31a967(0x132)](),this['disposeWithMe']({'dispose':()=>{const _0x2a26bd=_0x31a967;this[_0x2a26bd(0x121)][_0x2a26bd(0x176)](),this[_0x2a26bd(0x128)][_0x2a26bd(0x176)](),this[_0x2a26bd(0x139)]['dispose']();}});}[_0x333908(0x115)](){const _0x5d4387=_0x333908;let {docsTop:_0x1cc4f4,docsLeft:_0x1138fb}=this[_0x5d4387(0x17f)][_0x5d4387(0x15c)](),_0x37531b=this[_0x5d4387(0x148)][_0x5d4387(0x111)],_0x3e2a86=this[_0x5d4387(0x148)]['width'];return{'top':_0x1cc4f4+(_0x1cc4f4+_0x37531b)*this[_0x5d4387(0x169)],'bottom':_0x1cc4f4+(_0x1cc4f4+_0x37531b)*(this[_0x5d4387(0x169)]+0x1),'left':_0x1138fb,'right':_0x1138fb+_0x3e2a86};}['_initRenderer'](){const _0x2f89dd=_0x333908;this[_0x2f89dd(0x121)]=new _0x58fb48('',{'elementWidth':this['_paperSize'][_0x2f89dd(0x102)],'elementHeight':this[_0x2f89dd(0x148)][_0x2f89dd(0x111)],'dpr':0x1,'renderMode':_0x4b60c3[_0x2f89dd(0x15a)]}),this[_0x2f89dd(0x128)]=new _0x4a12b3(this['_key'],this[_0x2f89dd(0x121)]),this[_0x2f89dd(0x128)]['scale'](0x1,0x1),this[_0x2f89dd(0x121)][_0x2f89dd(0x11f)](this[_0x2f89dd(0x141)],!0x1),this['_engine'][_0x2f89dd(0x170)]()[_0x2f89dd(0x107)]()[_0x2f89dd(0x120)](this[_0x2f89dd(0x112)]+'_'+_0x5c28d0(0x4)),this[_0x2f89dd(0x17c)](),this[_0x2f89dd(0x157)]();}[_0x333908(0x17c)](){const _0x1ecec6=_0x333908;let {pageMarginLeft:_0x46843b,pageMarginTop:_0x3a35db,docsLeft:_0x1c95ae,docsTop:_0x4a22de}=this[_0x1ecec6(0x173)],_0x595459={'pageMarginLeft':_0x46843b,'pageMarginTop':_0x3a35db},_0x583831=new _0x57f43f('__DocPrintRender__',this[_0x1ecec6(0x13b)],_0x595459);_0x583831['translate'](_0x1c95ae,_0x4a22de),this['_scene']['addObject'](_0x583831),this[_0x1ecec6(0x17f)]=_0x583831;let _0x2648c8=this[_0x1ecec6(0x140)][_0x1ecec6(0x144)](_0x5da5c5);_0x2648c8[_0x1ecec6(0x103)][_0x1ecec6(0x17b)](_0x2648c8['interceptor']['getInterceptPoints']()[_0x1ecec6(0x168)])(void 0x0,{'unitId':this[_0x1ecec6(0x109)],'scene':this[_0x1ecec6(0x128)],'engine':this[_0x1ecec6(0x121)],'root':this[_0x1ecec6(0x118)],'documents':this['_documents'],'skeleton':this[_0x1ecec6(0x13b)]});}[_0x333908(0x157)](){const _0x421887=_0x333908;this[_0x421887(0x10d)]=new _0x2071f5(_0xe8afd2[_0x421887(0x13e)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x333908(0x14f)](){const _0x4a50e3=_0x333908;let _0x44765b=this[_0x4a50e3(0x115)]();this[_0x4a50e3(0x10d)]['updateScrollVal']({'viewportScrollX':_0x44765b[_0x4a50e3(0x106)],'viewportScrollY':_0x44765b['top']}),this[_0x4a50e3(0x118)][_0x4a50e3(0x124)][_0x4a50e3(0x116)]='absolute',this[_0x4a50e3(0x118)]['style'][_0x4a50e3(0x133)]=_0x4a50e3(0x10f),this['_root']['style']['left']=_0x4a50e3(0x10f),this[_0x4a50e3(0x118)][_0x4a50e3(0x124)]['width']=_0x4a50e3(0x143),this[_0x4a50e3(0x118)][_0x4a50e3(0x124)][_0x4a50e3(0x111)]='100%',this[_0x4a50e3(0x139)]=new _0x26cb8c();let _0x2b0a04=this[_0x4a50e3(0x140)][_0x4a50e3(0x144)](_0x5da5c5);_0x2b0a04['interceptor']['fetchThroughInterceptors'](_0x2b0a04['interceptor']['getInterceptPoints']()[_0x4a50e3(0x136)])(this[_0x4a50e3(0x139)],{'unitId':this[_0x4a50e3(0x109)],'scene':this[_0x4a50e3(0x128)],'engine':this[_0x4a50e3(0x121)],'root':this[_0x4a50e3(0x118)],'skeleton':this[_0x4a50e3(0x13b)],'offset':{'x':_0x44765b[_0x4a50e3(0x106)],'y':_0x44765b['top']},'bound':{'top':_0x44765b[_0x4a50e3(0x133)],'left':_0x44765b[_0x4a50e3(0x106)],'right':_0x44765b[_0x4a50e3(0x104)],'bottom':_0x44765b[_0x4a50e3(0x117)]}});}[_0x333908(0x177)](){const _0x39aba9=_0x333908;let _0x4e1639=this[_0x39aba9(0x121)][_0x39aba9(0x170)]()[_0x39aba9(0x107)]();this[_0x39aba9(0x17f)][_0x39aba9(0x11b)](),this[_0x39aba9(0x128)][_0x39aba9(0x12c)](),_0x4e1639['save'](),this[_0x39aba9(0x128)]['render'](),_0x4e1639['restore']();}};function W(_0x452f27,_0x40b3b9){return function(_0x52472c,_0x1b61b6){_0x40b3b9(_0x52472c,_0x1b61b6,_0x452f27);};}function G(_0x109d14,_0x3adc4e,_0x4e36a3,_0x1163ca){const _0x343629=_0x333908;var _0x3db240=arguments['length'],_0x215cbc=_0x3db240<0x3?_0x3adc4e:_0x1163ca===null?_0x1163ca=Object[_0x343629(0x11e)](_0x3adc4e,_0x4e36a3):_0x1163ca,_0x5bc216;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x343629(0x150))_0x215cbc=Reflect[_0x343629(0x161)](_0x109d14,_0x3adc4e,_0x4e36a3,_0x1163ca);else{for(var _0x2685af=_0x109d14['length']-0x1;_0x2685af>=0x0;_0x2685af--)(_0x5bc216=_0x109d14[_0x2685af])&&(_0x215cbc=(_0x3db240<0x3?_0x5bc216(_0x215cbc):_0x3db240>0x3?_0x5bc216(_0x3adc4e,_0x4e36a3,_0x215cbc):_0x5bc216(_0x3adc4e,_0x4e36a3))||_0x215cbc);}return _0x3db240>0x3&&_0x215cbc&&Object['defineProperty'](_0x3adc4e,_0x4e36a3,_0x215cbc),_0x215cbc;}const K=Number[_0x333908(0x16b)](0x6a1125aa),q=(_0x3db3a7,_0x1fd674,_0x157119)=>{const _0x166329=_0x333908;let _0x221b10={'page':_0x3db3a7,'isPro':!0x1,'timeValid':!0x1};if(!_0x1fd674||!_0x157119)return _0x221b10;let _0x582bd5=_0x6d3b6(_0x1fd674,_0x157119);if(_0x582bd5[_0x166329(0x182)]){let _0x1346eb=_0x582bd5[_0x166329(0x16c)],_0x92f700=_0x271f6a(_0x1346eb,'df',K);_0x221b10[_0x166329(0x15d)]=_0x92f700,_0x221b10[_0x166329(0x14c)]=_0x92f700,_0x221b10[_0x166329(0x154)]=_0x5eb28a(_0x1346eb,_0x92f700,_0x166329(0x10b),_0x3db3a7,_0x3db3a7,0x0);}return _0x221b10;};let J=class extends _0x1b7171{constructor(_0x34432e,_0x15d896,_0x52d713,_0x3ac865){const _0x9ad4f0=_0x333908;super(),this['_univerInstanceService']=_0x34432e,this[_0x9ad4f0(0x145)]=_0x15d896,this[_0x9ad4f0(0x140)]=_0x52d713,this[_0x9ad4f0(0x11a)]=_0x3ac865;}[_0x333908(0x167)](_0x51d6be){const _0x11cf72=_0x333908;var _0x20b754,_0x791c51;let {ls:_0x5157b9,pbk:_0x2db3c8}=(_0x20b754=this[_0x11cf72(0x11a)][_0x11cf72(0x180)](_0x5ed629))==null?{}:_0x20b754,_0x51932d=_0x135e57()?0x1/0x0:q(0x1,_0x5157b9,_0x2db3c8)[_0x11cf72(0x154)];if(!this['_univerInstanceService']['getUnit'](_0x51d6be,_0x3da596[_0x11cf72(0x16d)]))throw Error(_0x11cf72(0x14e));let _0x2c85ca=this['_renderManagerService']['getRenderById'](_0x51d6be);if(!_0x2c85ca)throw Error('Render\x20is\x20not\x20found');let _0x2ab06b=(_0x791c51=_0x2c85ca['with'](_0x4d2cf0)[_0x11cf72(0x178)]()[_0x11cf72(0x142)]())==null?void 0x0:_0x791c51[_0x11cf72(0x17a)];if(!_0x2ab06b)throw Error(_0x11cf72(0x119));let _0x4b529b={'width':_0x2ab06b[0x0]['pageWidth'],'height':_0x2ab06b[0x0][_0x11cf72(0x13c)]},_0x313962=_0x2ab06b['length'],_0x41766c=Math[_0x11cf72(0x14b)](_0x51932d,_0x313962),_0x482e6a=_0x2c85ca[_0x11cf72(0x114)][_0x11cf72(0x15c)](),_0x418baa=document['createElement'](_0x11cf72(0x175));_0x418baa[_0x11cf72(0x12a)]=_0x289b35;let _0x4608cf=Array(_0x41766c)[_0x11cf72(0x14d)](null)[_0x11cf72(0x135)]((_0x1e1640,_0x3b1924)=>{const _0x12700f=_0x11cf72;let _0x18d4fa=new U(this['_injector'],_0x3b1924,_0x51d6be,_0x482e6a);return _0x18d4fa[_0x12700f(0x151)][_0x12700f(0x12a)]=_0x3f2cfd,_0x18d4fa;});_0x4608cf[_0x11cf72(0x146)](_0x1a3e50=>{const _0xd8eac1=_0x11cf72;_0x418baa['appendChild'](_0x1a3e50[_0xd8eac1(0x151)]),_0x1a3e50['container'][_0xd8eac1(0x101)](_0x1a3e50[_0xd8eac1(0x174)]),_0x1a3e50[_0xd8eac1(0x14f)]();});let _0x3908fe=_0x45427e(_0x4b529b[_0x11cf72(0x102)],_0x4b529b[_0x11cf72(0x111)],_0x5dbcca[_0x11cf72(0x10e)]);return document['body'][_0x11cf72(0x101)](_0x3908fe),document['body'][_0x11cf72(0x101)](_0x418baa),new Promise(_0x29622d=>{setTimeout(()=>{const _0x3efa77=_0x5289;window[_0x3efa77(0x16e)]=()=>{const _0x1b4a99=_0x3efa77;_0x4608cf[_0x1b4a99(0x146)](_0x5577b6=>{_0x5577b6['render']();});},window['onafterprint']=()=>{const _0x2d9630=_0x3efa77;_0x4608cf[_0x2d9630(0x146)](_0x120716=>{const _0x32c999=_0x2d9630;_0x120716[_0x32c999(0x176)]();}),document[_0x2d9630(0xff)]['removeChild'](_0x418baa),document[_0x2d9630(0xff)][_0x2d9630(0x12f)](_0x3908fe),_0x29622d(!0x0);},window[_0x3efa77(0x167)]();},0x64);});}};J=G([W(0x0,_0x5e0980),W(0x1,_0xe928f4),W(0x2,_0x2a0a55(_0x2d236d)),W(0x3,_0xd9e26a)],J);function _0x5289(_0x96f848,_0x1046df){_0x96f848=_0x96f848-0xfe;const _0x47a101=_0x47a1();let _0x528929=_0x47a101[_0x96f848];return _0x528929;}const Y={'id':_0x333908(0x171),'type':_0x40889d[_0x333908(0x11c)],'handler':async _0x53babd=>{const _0x482f1b=_0x333908;let _0x29f4c8=_0x53babd[_0x482f1b(0x144)](_0x5e0980),_0x81eddb=_0x53babd['get'](J),_0x27e93a=_0x53babd['get'](_0xe928f4),_0x5ba848=_0x53babd['get'](_0x57553e),_0x36f5d3=_0x29f4c8[_0x482f1b(0x156)](_0x3da596[_0x482f1b(0x16d)]);if(!_0x36f5d3)return!0x1;if(!_0x27e93a[_0x482f1b(0x13f)](_0x36f5d3[_0x482f1b(0x13a)]()))throw Error(_0x482f1b(0x134));let _0x2b26de=_0x36f5d3['getDocumentStyle']()[_0x482f1b(0x158)];return _0x2b26de!==_0x231477['TRADITIONAL']&&_0x5ba848[_0x482f1b(0x17d)](_0x15c9dd['id']),await _0x81eddb[_0x482f1b(0x167)](_0x36f5d3['getUnitId']()),_0x2b26de!==_0x231477[_0x482f1b(0x172)]&&_0x5ba848['syncExecuteCommand'](_0x15c9dd['id']),!0x0;}},X='UNIVER_DOCS_PRINT',Z={};var re='@univerjs-pro/docs-print',ie=_0x333908(0x165);function ae(_0x177100){const _0x276afd=_0x333908;return{'id':Y['id'],'type':_0x5cf13f[_0x276afd(0x126)],'title':_0x276afd(0x130),'icon':_0x276afd(0x164),'tooltip':'print.menu','hidden$':_0x20054d(_0x177100,_0x3da596['UNIVER_DOC'])};}const oe={[_0x4b1e4b[_0x333908(0x127)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':ae}}};let Q=class extends _0x1b7171{constructor(_0x3798e1,_0x2312a6,_0x241759){const _0x78b90f=_0x333908;super(),this[_0x78b90f(0x149)]=_0x3798e1,this['_menuManagerService']=_0x2312a6,this[_0x78b90f(0x100)]=_0x241759,this['_initMenus'](),this['_initCommands'](),this['_initComponents']();}[_0x333908(0x12e)](){this['_menuManagerService']['mergeMenu'](oe);}['_initCommands'](){const _0x1758d5=_0x333908;this['disposeWithMe'](this[_0x1758d5(0x149)]['registerCommand'](Y));}[_0x333908(0x125)](){const _0x1a66b7=_0x333908;[['PrintIcon',_0x518269]][_0x1a66b7(0x146)](([_0x24d71a,_0xc1047b])=>{const _0x3769c2=_0x1a66b7;this[_0x3769c2(0x100)]['register'](_0x24d71a,_0xc1047b);});}};Q=G([W(0x0,_0x57553e),W(0x1,_0x3eb178),W(0x2,_0x2a0a55(_0x7d870b))],Q);let $=class extends _0x40b41c{constructor(_0x56758f=Z,_0x3b4947,_0x1ae8f9){const _0x5a2ca5=_0x333908;super(),this[_0x5a2ca5(0x16a)]=_0x56758f,this[_0x5a2ca5(0x140)]=_0x3b4947,this['_configService']=_0x1ae8f9;let {menu:_0x100099,..._0x2e9d7f}=_0x15a743({},Z,this[_0x5a2ca5(0x16a)]);_0x100099&&this[_0x5a2ca5(0x11a)][_0x5a2ca5(0x15f)](_0x5a2ca5(0x12b),_0x100099,{'merge':!0x0}),this[_0x5a2ca5(0x11a)][_0x5a2ca5(0x15f)](X,_0x2e9d7f);}[_0x333908(0x138)](){_0x558333(this['_injector'],[[J],[Q]]);}[_0x333908(0x160)](){const _0x4fae86=_0x333908;this[_0x4fae86(0x140)][_0x4fae86(0x144)](Q);}};H($,_0x333908(0x10c),_0x333908(0x123)),H($,_0x333908(0x113),re),H($,_0x333908(0x155),ie),H($,_0x333908(0x108),_0x3da596[_0x333908(0x16d)]),$=G([_0x314e5d(_0x196d3a,_0x363ea8),W(0x1,_0x2a0a55(_0x2d236d)),W(0x2,_0xd9e26a)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4036ca=_0x576a;(function(_0x1c8f95,_0x5e454e){const _0x196131=_0x576a,_0x56e8f0=_0x1c8f95();while(!![]){try{const _0xb83933=parseInt(_0x196131(0x1a6))/0x1+-parseInt(_0x196131(0x1a2))/0x2*(-parseInt(_0x196131(0x1a0))/0x3)+parseInt(_0x196131(0x19f))/0x4+parseInt(_0x196131(0x1a1))/0x5+parseInt(_0x196131(0x1a7))/0x6+parseInt(_0x196131(0x1a5))/0x7+parseInt(_0x196131(0x1a4))/0x8*(-parseInt(_0x196131(0x1a8))/0x9);if(_0xb83933===_0x5e454e)break;else _0x56e8f0['push'](_0x56e8f0['shift']());}catch(_0x185a70){_0x56e8f0['push'](_0x56e8f0['shift']());}}}(_0x1c85,0xa39f9));function _0x576a(_0x44611a,_0x17121f){_0x44611a=_0x44611a-0x19f;const _0x1c850c=_0x1c85();let _0x576a0d=_0x1c850c[_0x44611a];return _0x576a0d;}const e={'print':{'menu':_0x4036ca(0x1a3)}};function _0x1c85(){const _0xce619a=['Print','34883224oCQPbz','5439042GUcPFh','504660aMWsIn','5716920cXdCGu','9dDLIlF','3700804ZnAyuW','119256LMksXK','4385585cVWaXI','50FCWPha'];_0x1c85=function(){return _0xce619a;};return _0x1c85();}export{e as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5693e0,_0x6f65e2){const _0x55c0d5=_0x2b2c,_0x1d25c2=_0x5693e0();while(!![]){try{const _0x49fa11=parseInt(_0x55c0d5(0xcf))/0x1+-parseInt(_0x55c0d5(0xd4))/0x2*(parseInt(_0x55c0d5(0xcd))/0x3)+parseInt(_0x55c0d5(0xd1))/0x4+parseInt(_0x55c0d5(0xd3))/0x5*(parseInt(_0x55c0d5(0xd0))/0x6)+-parseInt(_0x55c0d5(0xca))/0x7*(parseInt(_0x55c0d5(0xcb))/0x8)+parseInt(_0x55c0d5(0xd2))/0x9+parseInt(_0x55c0d5(0xcc))/0xa*(-parseInt(_0x55c0d5(0xce))/0xb);if(_0x49fa11===_0x6f65e2)break;else _0x1d25c2['push'](_0x1d25c2['shift']());}catch(_0x41cf6f){_0x1d25c2['push'](_0x1d25c2['shift']());}}}(_0x1916,0x1d2b1));function _0x2b2c(_0x24ee04,_0x22a059){_0x24ee04=_0x24ee04-0xca;const _0x19161e=_0x1916();let _0x2b2c26=_0x19161e[_0x24ee04];return _0x2b2c26;}const e={'print':{'menu':'Print'}};function _0x1916(){const _0x4686b0=['180326lHDjgf','12KCKXfz','466616xSAzWi','1882656YlhcMz','87865auzMbI','746opsyRs','65233mdyMUH','104UDFuGF','492490IKpAuF','834JihFuN','44YpTEVW'];_0x1916=function(){return _0x4686b0;};return _0x1916();}export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x46ce56=_0x4ad2;(function(_0x2e69c0,_0x1f49a7){const _0x43b82b=_0x4ad2,_0x13539c=_0x2e69c0();while(!![]){try{const _0x2a5ac7=-parseInt(_0x43b82b(0x1e2))/0x1+-parseInt(_0x43b82b(0x1e6))/0x2+-parseInt(_0x43b82b(0x1e7))/0x3*(-parseInt(_0x43b82b(0x1e4))/0x4)+parseInt(_0x43b82b(0x1ec))/0x5*(-parseInt(_0x43b82b(0x1e9))/0x6)+parseInt(_0x43b82b(0x1e8))/0x7+-parseInt(_0x43b82b(0x1e5))/0x8+parseInt(_0x43b82b(0x1e3))/0x9*(parseInt(_0x43b82b(0x1eb))/0xa);if(_0x2a5ac7===_0x1f49a7)break;else _0x13539c['push'](_0x13539c['shift']());}catch(_0x47629c){_0x13539c['push'](_0x13539c['shift']());}}}(_0x25f0,0x66ad5));const e={'print':{'menu':_0x46ce56(0x1ea)}};function _0x4ad2(_0x3e5450,_0x2c3f19){_0x3e5450=_0x3e5450-0x1e2;const _0x25f00a=_0x25f0();let _0x4ad2e1=_0x25f00a[_0x3e5450];return _0x4ad2e1;}function _0x25f0(){const _0x468335=['2172eRPoiT','Print','10vyPQqS','7925qlCyLu','717227pNvesL','12140811xeNjNZ','52KbJKEd','2438952OFXHHy','972168VafppE','175836OFiyxh','2741060NGXSnO'];_0x25f0=function(){return _0x468335;};return _0x25f0();}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3a2f29=_0x27b6;function _0x3ace(){const _0x463b35=['5118lpVSCv','2734zejsVO','481SkHzNt','16096xXCJaP','چاپ','3308700igCDDo','5601222UEnquI','1736GPExxF','11639250gJEbui','1594656KQVTHj','3065ghmDQy'];_0x3ace=function(){return _0x463b35;};return _0x3ace();}(function(_0x512710,_0x266f18){const _0x5983e8=_0x27b6,_0x3555b1=_0x512710();while(!![]){try{const _0x2f2b32=parseInt(_0x5983e8(0x1b4))/0x1*(parseInt(_0x5983e8(0x1b3))/0x2)+-parseInt(_0x5983e8(0x1b0))/0x3+parseInt(_0x5983e8(0x1b7))/0x4+-parseInt(_0x5983e8(0x1b1))/0x5*(parseInt(_0x5983e8(0x1b2))/0x6)+-parseInt(_0x5983e8(0x1ae))/0x7*(parseInt(_0x5983e8(0x1b5))/0x8)+-parseInt(_0x5983e8(0x1b8))/0x9+parseInt(_0x5983e8(0x1af))/0xa;if(_0x2f2b32===_0x266f18)break;else _0x3555b1['push'](_0x3555b1['shift']());}catch(_0x2de3f2){_0x3555b1['push'](_0x3555b1['shift']());}}}(_0x3ace,0x73714));function _0x27b6(_0x467ac9,_0xc89484){_0x467ac9=_0x467ac9-0x1ae;const _0x3ace27=_0x3ace();let _0x27b641=_0x3ace27[_0x467ac9];return _0x27b641;}const e={'print':{'menu':_0x3a2f29(0x1b6)}};export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3c55f8,_0x5da7fb){const _0x441ce8=_0x3068,_0x5bcb05=_0x3c55f8();while(!![]){try{const _0xe0307c=-parseInt(_0x441ce8(0x123))/0x1+parseInt(_0x441ce8(0x11c))/0x2+parseInt(_0x441ce8(0x122))/0x3*(parseInt(_0x441ce8(0x11b))/0x4)+parseInt(_0x441ce8(0x124))/0x5*(-parseInt(_0x441ce8(0x11d))/0x6)+-parseInt(_0x441ce8(0x11e))/0x7+parseInt(_0x441ce8(0x120))/0x8*(parseInt(_0x441ce8(0x121))/0x9)+parseInt(_0x441ce8(0x11f))/0xa*(-parseInt(_0x441ce8(0x125))/0xb);if(_0xe0307c===_0x5da7fb)break;else _0x5bcb05['push'](_0x5bcb05['shift']());}catch(_0x23ee25){_0x5bcb05['push'](_0x5bcb05['shift']());}}}(_0x19c1,0x8e831));const e={'print':{'menu':'Imprimer'}};function _0x3068(_0x3fc522,_0x401d7d){_0x3fc522=_0x3fc522-0x11b;const _0x19c14f=_0x19c1();let _0x3068f6=_0x19c14f[_0x3fc522];return _0x3068f6;}export{e as default};function _0x19c1(){const _0x3bcb18=['850QVFGqn','40vqeXre','1991151kKEOWz','2906472OidttC','792900fSByDt','2769070hYacoJ','20999GCiyqT','4PDFCnZ','1699436YkPISP','6khszAs','5824203NtYQRZ'];_0x19c1=function(){return _0x3bcb18;};return _0x19c1();}
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x196364,_0x33ece4){const _0x4b78ec=_0x589f,_0x51456c=_0x196364();while(!![]){try{const _0x4857e9=parseInt(_0x4b78ec(0x1dc))/0x1*(-parseInt(_0x4b78ec(0x1d9))/0x2)+-parseInt(_0x4b78ec(0x1d6))/0x3*(parseInt(_0x4b78ec(0x1da))/0x4)+-parseInt(_0x4b78ec(0x1d4))/0x5+-parseInt(_0x4b78ec(0x1d7))/0x6+parseInt(_0x4b78ec(0x1d8))/0x7+parseInt(_0x4b78ec(0x1d5))/0x8*(-parseInt(_0x4b78ec(0x1d3))/0x9)+parseInt(_0x4b78ec(0x1db))/0xa;if(_0x4857e9===_0x33ece4)break;else _0x51456c['push'](_0x51456c['shift']());}catch(_0x18c6bd){_0x51456c['push'](_0x51456c['shift']());}}}(_0x45b1,0x46355));function _0x589f(_0xe23e51,_0xe1ca83){_0xe23e51=_0xe23e51-0x1d3;const _0x45b1d4=_0x45b1();let _0x589f67=_0x45b1d4[_0xe23e51];return _0x589f67;}function _0x45b1(){const _0x560e51=['7902370oSskzx','1aRmNOR','18cEGatb','1512865jiJGJm','118904zohseV','3alwnSa','1136364dzTBHr','2608599qSGAMc','533998CCxRsA','346516aOsTqT'];_0x45b1=function(){return _0x560e51;};return _0x45b1();}const e={'print':{'menu':'印刷'}};export{e as default};
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x107a14,_0x1584bc){const _0x3630ed=_0x333e,_0x27350a=_0x107a14();while(!![]){try{const _0x542159=parseInt(_0x3630ed(0xc8))/0x1*(parseInt(_0x3630ed(0xc4))/0x2)+parseInt(_0x3630ed(0xc7))/0x3+-parseInt(_0x3630ed(0xc6))/0x4*(-parseInt(_0x3630ed(0xcc))/0x5)+-parseInt(_0x3630ed(0xca))/0x6*(-parseInt(_0x3630ed(0xc3))/0x7)+parseInt(_0x3630ed(0xc9))/0x8+parseInt(_0x3630ed(0xcb))/0x9+-parseInt(_0x3630ed(0xc5))/0xa;if(_0x542159===_0x1584bc)break;else _0x27350a['push'](_0x27350a['shift']());}catch(_0x37e5dd){_0x27350a['push'](_0x27350a['shift']());}}}(_0x52d8,0x2dd5f));function _0x52d8(){const _0x2f17c0=['1437256UCTQaE','787365vTiJVA','1EbcHAL','867392fWpAkR','11910MyRHUR','1923813FUXNhb','5FePXSN','357OSTATE','53670bOqvVM','8842770cKQGSk'];_0x52d8=function(){return _0x2f17c0;};return _0x52d8();}const e={'print':{'menu':'인쇄'}};function _0x333e(_0x59b852,_0x570bb1){_0x59b852=_0x59b852-0xc3;const _0x52d837=_0x52d8();let _0x333ece=_0x52d837[_0x59b852];return _0x333ece;}export{e as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const _0x644b55=_0x1f28;function _0x1f28(_0x592d2b,_0x764bf6){_0x592d2b=_0x592d2b-0x13d;const _0x13dc8e=_0x13dc();let _0x1f2875=_0x13dc8e[_0x592d2b];return _0x1f2875;}(function(_0xf23d1,_0x45a1aa){const _0x33077d=_0x1f28,_0x2da75a=_0xf23d1();while(!![]){try{const _0x2f938e=-parseInt(_0x33077d(0x142))/0x1*(parseInt(_0x33077d(0x147))/0x2)+-parseInt(_0x33077d(0x140))/0x3+-parseInt(_0x33077d(0x141))/0x4*(parseInt(_0x33077d(0x144))/0x5)+-parseInt(_0x33077d(0x13f))/0x6+-parseInt(_0x33077d(0x13e))/0x7+parseInt(_0x33077d(0x146))/0x8*(parseInt(_0x33077d(0x143))/0x9)+parseInt(_0x33077d(0x145))/0xa;if(_0x2f938e===_0x45a1aa)break;else _0x2da75a['push'](_0x2da75a['shift']());}catch(_0x4b2957){_0x2da75a['push'](_0x2da75a['shift']());}}}(_0x13dc,0xb93d8));const e={'print':{'menu':_0x644b55(0x13d)}};export{e as default};function _0x13dc(){const _0x1b92ce=['5DsLOsn','47978210rNuvOo','3947224zLSEmr','20948GCVmBf','Печать','3599078tBUNsr','6330366ivdBSY','3897675drbnJe','4854632THRXdT','43TzsYmS','9AVBGLA'];_0x13dc=function(){return _0x1b92ce;};return _0x13dc();}
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x9ae0f3=_0x3bfa;(function(_0x2aba50,_0x46c531){const _0x253b53=_0x3bfa,_0x81a8c2=_0x2aba50();while(!![]){try{const _0x5f1229=parseInt(_0x253b53(0x191))/0x1*(parseInt(_0x253b53(0x192))/0x2)+parseInt(_0x253b53(0x193))/0x3+parseInt(_0x253b53(0x197))/0x4+-parseInt(_0x253b53(0x195))/0x5+parseInt(_0x253b53(0x190))/0x6+-parseInt(_0x253b53(0x196))/0x7+-parseInt(_0x253b53(0x194))/0x8;if(_0x5f1229===_0x46c531)break;else _0x81a8c2['push'](_0x81a8c2['shift']());}catch(_0x5999ec){_0x81a8c2['push'](_0x81a8c2['shift']());}}}(_0x376e,0x52f27));function _0x3bfa(_0x295423,_0x296a9f){_0x295423=_0x295423-0x18f;const _0x376edd=_0x376e();let _0x3bfafc=_0x376edd[_0x295423];return _0x3bfafc;}const e={'print':{'menu':_0x9ae0f3(0x18f)}};export{e as default};function _0x376e(){const _0x34c1c6=['3113782zxIIeZ','1128968xFnCqY','Tlač','2055870xvCfzP','614473hAqKBa','2lWGAXT','1191486YLeapr','3754056HdHaiL','1913440RwforW'];_0x376e=function(){return _0x34c1c6;};return _0x376e();}
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x29ff(_0x1b6136,_0x69582a){_0x1b6136=_0x1b6136-0xdb;const _0x947e33=_0x947e();let _0x29ffbc=_0x947e33[_0x1b6136];return _0x29ffbc;}(function(_0x1195f1,_0x4e6144){const _0x27b1b5=_0x29ff,_0xcb546d=_0x1195f1();while(!![]){try{const _0x348fb7=-parseInt(_0x27b1b5(0xe0))/0x1*(parseInt(_0x27b1b5(0xdb))/0x2)+-parseInt(_0x27b1b5(0xdf))/0x3+parseInt(_0x27b1b5(0xde))/0x4*(parseInt(_0x27b1b5(0xe3))/0x5)+-parseInt(_0x27b1b5(0xdc))/0x6*(-parseInt(_0x27b1b5(0xe4))/0x7)+-parseInt(_0x27b1b5(0xdd))/0x8+parseInt(_0x27b1b5(0xe2))/0x9+parseInt(_0x27b1b5(0xe1))/0xa;if(_0x348fb7===_0x4e6144)break;else _0xcb546d['push'](_0xcb546d['shift']());}catch(_0x3e2095){_0xcb546d['push'](_0xcb546d['shift']());}}}(_0x947e,0xa695a));const e={'print':{'menu':'In'}};export{e as default};function _0x947e(){const _0x3e3f81=['7448022ZvIsnG','162935hiTVtX','7yYwaSt','2tHPANb','175212DDBQbk','4089448lruPxq','4DpfjTk','1628262ThiLoZ','520943FyIgLb','13678610yHtipJ'];_0x947e=function(){return _0x3e3f81;};return _0x947e();}
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x23fe(_0x284e05,_0x2779b7){_0x284e05=_0x284e05-0x6a;const _0x91f075=_0x91f0();let _0x23fe51=_0x91f075[_0x284e05];return _0x23fe51;}function _0x91f0(){const _0x4a6bac=['5TjQkFo','1687664TlfoLd','4993083eqlXVG','506QDKwca','309286KtkJUy','3221104AugbCc','193599hCxZRq','6ahMCSd','59020nQoUHY','1146Oshamp','15974hlieyX'];_0x91f0=function(){return _0x4a6bac;};return _0x91f0();}(function(_0x368be2,_0x40229a){const _0x13df20=_0x23fe,_0x499062=_0x368be2();while(!![]){try{const _0x32f740=parseInt(_0x13df20(0x6c))/0x1+-parseInt(_0x13df20(0x6a))/0x2*(-parseInt(_0x13df20(0x6d))/0x3)+parseInt(_0x13df20(0x72))/0x4*(-parseInt(_0x13df20(0x71))/0x5)+-parseInt(_0x13df20(0x6f))/0x6*(parseInt(_0x13df20(0x70))/0x7)+parseInt(_0x13df20(0x6b))/0x8+parseInt(_0x13df20(0x73))/0x9+-parseInt(_0x13df20(0x6e))/0xa*(parseInt(_0x13df20(0x74))/0xb);if(_0x32f740===_0x40229a)break;else _0x499062['push'](_0x499062['shift']());}catch(_0xdee47f){_0x499062['push'](_0x499062['shift']());}}}(_0x91f0,0x50d20));const e={'print':{'menu':'打印'}};export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3408(){const _0x50813e=['1870211yZwyfQ','23139945IjZqmJ','1693784NeITbA','215PWOcdT','3224644rtZOec','23488rgMYiM','33szBcKb','36780dZHHIy','1112592masvbk'];_0x3408=function(){return _0x50813e;};return _0x3408();}(function(_0x4be090,_0x318c20){const _0x570a67=_0x5c48,_0x31ee9a=_0x4be090();while(!![]){try{const _0x21c2b5=-parseInt(_0x570a67(0x10a))/0x1*(parseInt(_0x570a67(0x109))/0x2)+-parseInt(_0x570a67(0x10c))/0x3+-parseInt(_0x570a67(0x111))/0x4+-parseInt(_0x570a67(0x110))/0x5*(parseInt(_0x570a67(0x10b))/0x6)+-parseInt(_0x570a67(0x10d))/0x7+parseInt(_0x570a67(0x10f))/0x8+parseInt(_0x570a67(0x10e))/0x9;if(_0x21c2b5===_0x318c20)break;else _0x31ee9a['push'](_0x31ee9a['shift']());}catch(_0x36c13a){_0x31ee9a['push'](_0x31ee9a['shift']());}}}(_0x3408,0xa7d80));const e={'print':{'menu':'列印'}};function _0x5c48(_0x2ef9f2,_0x3d23c3){_0x2ef9f2=_0x2ef9f2-0x109;const _0x34082c=_0x3408();let _0x5c4842=_0x34082c[_0x2ef9f2];return _0x5c4842;}export{e as default};
|