@univerjs-pro/docs-print 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5d9c29=_0x408f;(function(_0x1cbe60,_0x52a2b9){const _0x53715d=_0x408f,_0x1a66dc=_0x1cbe60();while(!![]){try{const _0xd824e4=parseInt(_0x53715d(0x1f0))/0x1+-parseInt(_0x53715d(0x17c))/0x2+parseInt(_0x53715d(0x1c3))/0x3*(-parseInt(_0x53715d(0x146))/0x4)+-parseInt(_0x53715d(0x198))/0x5+parseInt(_0x53715d(0x1ea))/0x6+-parseInt(_0x53715d(0x1d0))/0x7*(-parseInt(_0x53715d(0x1ac))/0x8)+parseInt(_0x53715d(0x184))/0x9*(parseInt(_0x53715d(0x1f3))/0xa);if(_0xd824e4===_0x52a2b9)break;else _0x1a66dc['push'](_0x1a66dc['shift']());}catch(_0x2655b1){_0x1a66dc['push'](_0x1a66dc['shift']());}}}(_0x9fd2,0x2a895),Object[_0x5d9c29(0x187)](exports,Symbol[_0x5d9c29(0x1b3)],{'value':_0x5d9c29(0x1b4)}));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(_0x122e69){'@babel/helpers - typeof';const _0x32916f=_0x5d9c29;return l=typeof Symbol==_0x32916f(0x149)&&typeof Symbol[_0x32916f(0x19b)]==_0x32916f(0x15f)?function(_0x45f317){return typeof _0x45f317;}:function(_0x4a144d){const _0x62adc8=_0x32916f;return _0x4a144d&&typeof Symbol==_0x62adc8(0x149)&&_0x4a144d[_0x62adc8(0x1e7)]===Symbol&&_0x4a144d!==Symbol[_0x62adc8(0x1b2)]?'symbol':typeof _0x4a144d;},l(_0x122e69);}function u(_0x39c5bf,_0x10fd0e){const _0x836eb8=_0x5d9c29;if(l(_0x39c5bf)!=_0x836eb8(0x19f)||!_0x39c5bf)return _0x39c5bf;var _0x1266e0=_0x39c5bf[Symbol[_0x836eb8(0x1ca)]];if(_0x1266e0!==void 0x0){var _0x5774b2=_0x1266e0[_0x836eb8(0x177)](_0x39c5bf,_0x10fd0e||'default');if(l(_0x5774b2)!=_0x836eb8(0x19f))return _0x5774b2;throw TypeError(_0x836eb8(0x195));}return(_0x10fd0e===_0x836eb8(0x19a)?String:Number)(_0x39c5bf);}function d(_0x219266){const _0x8cb7dd=_0x5d9c29;var _0x3ec87d=u(_0x219266,_0x8cb7dd(0x19a));return l(_0x3ec87d)==_0x8cb7dd(0x15f)?_0x3ec87d:_0x3ec87d+'';}function f(_0x4390e9,_0x4d075e,_0x5d63aa){const _0x438684=_0x5d9c29;return(_0x4d075e=d(_0x4d075e))in _0x4390e9?Object[_0x438684(0x187)](_0x4390e9,_0x4d075e,{'value':_0x5d63aa,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4390e9[_0x4d075e]=_0x5d63aa,_0x4390e9;}var p=class extends e[_0x5d9c29(0x193)]{get[_0x5d9c29(0x148)](){const _0x1cab32=_0x5d9c29;return this[_0x1cab32(0x15c)];}get[_0x5d9c29(0x16b)](){const _0x27467c=_0x5d9c29;return this[_0x27467c(0x173)];}get[_0x5d9c29(0x1e8)](){const _0x1a42ca=_0x5d9c29;let _0x13f7dd=this[_0x1a42ca(0x18f)]['get'](n[_0x1a42ca(0x1a3)])['getRenderById'](this[_0x1a42ca(0x1a0)]);if(!_0x13f7dd)throw Error(_0x1a42ca(0x16d));return _0x13f7dd;}get[_0x5d9c29(0x156)](){const _0x27f44b=_0x5d9c29;return this[_0x27f44b(0x1e8)][_0x27f44b(0x1e3)](a[_0x27f44b(0x16a)])[_0x27f44b(0x1a9)]();}get[_0x5d9c29(0x1b5)](){const _0x1be170=_0x5d9c29;let _0x1224d6=this[_0x1be170(0x156)][_0x1be170(0x154)]();if(!_0x1224d6)throw Error(_0x1be170(0x179));return _0x1224d6;}get[_0x5d9c29(0x169)](){const _0x105f56=_0x5d9c29;let _0x359bf9=this[_0x105f56(0x1b5)][_0x105f56(0x1d6)][0x0];return{'width':_0x359bf9[_0x105f56(0x151)],'height':_0x359bf9[_0x105f56(0x1f4)]};}constructor(_0x3375ec,_0x4913bc,_0x164972,_0x5d809b){const _0x181e87=_0x5d9c29;super(),this[_0x181e87(0x18f)]=_0x3375ec,this[_0x181e87(0x160)]=_0x4913bc,this[_0x181e87(0x1a0)]=_0x164972,this[_0x181e87(0x1be)]=_0x5d809b,f(this,_0x181e87(0x15c),document[_0x181e87(0x19e)](_0x181e87(0x176))),f(this,'_root',document['createElement']('div')),f(this,_0x181e87(0x1d9),void 0x0),f(this,_0x181e87(0x164),void 0x0),f(this,'_key',void 0x0),f(this,_0x181e87(0x1ab),void 0x0),f(this,_0x181e87(0x185),void 0x0),f(this,_0x181e87(0x1cc),new e[(_0x181e87(0x1b6))]()),this[_0x181e87(0x162)]=(0x0,e[_0x181e87(0x150)])(0x4),this[_0x181e87(0x168)](),this[_0x181e87(0x15a)]({'dispose':()=>{const _0x33a6c8=_0x181e87;this['_engine'][_0x33a6c8(0x1bd)](),this[_0x33a6c8(0x164)]['dispose'](),this['_effects'][_0x33a6c8(0x1bd)]();}});}['_calculateLayout'](){const _0x5f1f32=_0x5d9c29;let {docsTop:_0x571889,docsLeft:_0x1b915e}=this[_0x5f1f32(0x1ab)][_0x5f1f32(0x1d1)](),_0x2b6929=this[_0x5f1f32(0x169)][_0x5f1f32(0x19d)],_0x27d975=this[_0x5f1f32(0x169)][_0x5f1f32(0x17f)];return{'top':_0x571889+(_0x571889+_0x2b6929)*this['_page'],'bottom':_0x571889+(_0x571889+_0x2b6929)*(this[_0x5f1f32(0x160)]+0x1),'left':_0x1b915e,'right':_0x1b915e+_0x27d975};}[_0x5d9c29(0x168)](){const _0xa71cf0=_0x5d9c29;this[_0xa71cf0(0x1d9)]=new n[(_0xa71cf0(0x14c))]('',{'elementWidth':this[_0xa71cf0(0x169)]['width'],'elementHeight':this['_paperSize'][_0xa71cf0(0x19d)],'dpr':0x1,'renderMode':n[_0xa71cf0(0x152)]['Printing']}),this[_0xa71cf0(0x164)]=new n['Scene'](this[_0xa71cf0(0x162)],this[_0xa71cf0(0x1d9)]),this[_0xa71cf0(0x164)]['scale'](0x1,0x1),this[_0xa71cf0(0x1d9)][_0xa71cf0(0x194)](this['_container'],!0x1),this['_engine'][_0xa71cf0(0x1e2)]()[_0xa71cf0(0x1a7)]()[_0xa71cf0(0x1cb)](this['_key']+'_'+(0x0,e[_0xa71cf0(0x150)])(0x4)),this[_0xa71cf0(0x1a5)](),this[_0xa71cf0(0x145)]();}[_0x5d9c29(0x1a5)](){const _0x55f362=_0x5d9c29;let {pageMarginLeft:_0x2d1822,pageMarginTop:_0x433569,docsLeft:_0x561162,docsTop:_0x1b5353}=this[_0x55f362(0x1be)],_0x2bd224={'pageMarginLeft':_0x2d1822,'pageMarginTop':_0x433569},_0x414940=new n[(_0x55f362(0x1a4))](_0x55f362(0x183),this[_0x55f362(0x156)],_0x2bd224);_0x414940['translate'](_0x561162,_0x1b5353),this[_0x55f362(0x164)][_0x55f362(0x182)](_0x414940),this[_0x55f362(0x1ab)]=_0x414940;let _0x19c42d=this[_0x55f362(0x18f)][_0x55f362(0x1f2)](t[_0x55f362(0x158)]);_0x19c42d[_0x55f362(0x1ba)][_0x55f362(0x1c0)](_0x19c42d['interceptor'][_0x55f362(0x144)]()[_0x55f362(0x153)])(void 0x0,{'unitId':this[_0x55f362(0x1a0)],'scene':this['_scene'],'engine':this[_0x55f362(0x1d9)],'root':this[_0x55f362(0x173)],'documents':this[_0x55f362(0x1ab)],'skeleton':this['_skeleton']});}[_0x5d9c29(0x145)](){const _0x8baa55=_0x5d9c29;this[_0x8baa55(0x185)]=new n['Viewport'](t['VIEWPORT_KEY'][_0x8baa55(0x16f)],this[_0x8baa55(0x164)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x5d9c29(0x167)](){const _0x4f16c3=_0x5d9c29;let _0x13cfb6=this[_0x4f16c3(0x1d2)]();this[_0x4f16c3(0x185)][_0x4f16c3(0x171)]({'viewportScrollX':_0x13cfb6[_0x4f16c3(0x191)],'viewportScrollY':_0x13cfb6[_0x4f16c3(0x1d4)]}),this[_0x4f16c3(0x173)][_0x4f16c3(0x1c6)][_0x4f16c3(0x172)]=_0x4f16c3(0x161),this[_0x4f16c3(0x173)][_0x4f16c3(0x1c6)]['top']=_0x4f16c3(0x14f),this['_root'][_0x4f16c3(0x1c6)][_0x4f16c3(0x191)]=_0x4f16c3(0x14f),this[_0x4f16c3(0x173)]['style'][_0x4f16c3(0x17f)]=_0x4f16c3(0x1f1),this['_root'][_0x4f16c3(0x1c6)][_0x4f16c3(0x19d)]=_0x4f16c3(0x1f1),this[_0x4f16c3(0x1cc)]=new e[(_0x4f16c3(0x1b6))]();let _0x35a6c4=this[_0x4f16c3(0x18f)][_0x4f16c3(0x1f2)](t[_0x4f16c3(0x158)]);_0x35a6c4[_0x4f16c3(0x1ba)]['fetchThroughInterceptors'](_0x35a6c4[_0x4f16c3(0x1ba)][_0x4f16c3(0x144)]()[_0x4f16c3(0x197)])(this[_0x4f16c3(0x1cc)],{'unitId':this[_0x4f16c3(0x1a0)],'scene':this[_0x4f16c3(0x164)],'engine':this[_0x4f16c3(0x1d9)],'root':this['_root'],'skeleton':this[_0x4f16c3(0x156)],'offset':{'x':_0x13cfb6[_0x4f16c3(0x191)],'y':_0x13cfb6[_0x4f16c3(0x1d4)]},'bound':{'top':_0x13cfb6[_0x4f16c3(0x1d4)],'left':_0x13cfb6[_0x4f16c3(0x191)],'right':_0x13cfb6[_0x4f16c3(0x1ad)],'bottom':_0x13cfb6[_0x4f16c3(0x1c8)]}});}[_0x5d9c29(0x18b)](){const _0x4a728f=_0x5d9c29;let _0x206143=this['_engine'][_0x4a728f(0x1e2)]()[_0x4a728f(0x1a7)]();this['_documents'][_0x4a728f(0x199)](),this[_0x4a728f(0x164)][_0x4a728f(0x165)](),_0x206143[_0x4a728f(0x16e)](),this['_scene'][_0x4a728f(0x18b)](),_0x206143[_0x4a728f(0x18e)]();}};function m(_0x3161fc,_0x489c08){return function(_0x360939,_0x4dba63){_0x489c08(_0x360939,_0x4dba63,_0x3161fc);};}function h(_0x2a8e62,_0xb80948,_0x52ca52,_0x470ab0){const _0x40c2c4=_0x5d9c29;var _0x492356=arguments[_0x40c2c4(0x14d)],_0x41c933=_0x492356<0x3?_0xb80948:_0x470ab0===null?_0x470ab0=Object[_0x40c2c4(0x1e1)](_0xb80948,_0x52ca52):_0x470ab0,_0x1978f1;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x40c2c4(0x149))_0x41c933=Reflect['decorate'](_0x2a8e62,_0xb80948,_0x52ca52,_0x470ab0);else{for(var _0x2b312b=_0x2a8e62[_0x40c2c4(0x14d)]-0x1;_0x2b312b>=0x0;_0x2b312b--)(_0x1978f1=_0x2a8e62[_0x2b312b])&&(_0x41c933=(_0x492356<0x3?_0x1978f1(_0x41c933):_0x492356>0x3?_0x1978f1(_0xb80948,_0x52ca52,_0x41c933):_0x1978f1(_0xb80948,_0x52ca52))||_0x41c933);}return _0x492356>0x3&&_0x41c933&&Object[_0x40c2c4(0x187)](_0xb80948,_0x52ca52,_0x41c933),_0x41c933;}const g=Number['parseInt'](0x69ba7036),_=(_0x36ee60,_0x5ba877,_0x2e2b39)=>{const _0xdbedc4=_0x5d9c29;let _0x3096b9={'page':_0x36ee60,'isPro':!0x1,'timeValid':!0x1};if(!_0x5ba877||!_0x2e2b39)return _0x3096b9;let _0x3fa6e3=(0x0,r[_0xdbedc4(0x1e4)])(_0x5ba877,_0x2e2b39);if(_0x3fa6e3[_0xdbedc4(0x19c)]){let _0x320f13=_0x3fa6e3[_0xdbedc4(0x157)],_0x41ac7a=(0x0,r[_0xdbedc4(0x1a6)])(_0x320f13,'df',g);_0x3096b9[_0xdbedc4(0x190)]=_0x41ac7a,_0x3096b9['timeValid']=_0x41ac7a,_0x3096b9['page']=(0x0,r[_0xdbedc4(0x15e)])(_0x320f13,_0x41ac7a,_0xdbedc4(0x1f5),_0x36ee60,_0x36ee60,0x0);}return _0x3096b9;};let v=class extends e[_0x5d9c29(0x193)]{constructor(_0x2e60b6,_0x690e65,_0x365781,_0x1c6e8f,_0x1bd1d1){const _0x4eb359=_0x5d9c29;super(),this['_univerInstanceService']=_0x2e60b6,this['_renderManagerService']=_0x690e65,this[_0x4eb359(0x18f)]=_0x365781,this[_0x4eb359(0x1dd)]=_0x1c6e8f,this['_globalZoneService']=_0x1bd1d1;}['print'](_0x407a76){const _0x3f4731=_0x5d9c29;var _0x1c5862,_0x2dcc21;let {ls:_0x25a46d,pbk:_0x476c9f}=(_0x1c5862=this[_0x3f4731(0x1dd)][_0x3f4731(0x1bf)](r[_0x3f4731(0x188)]))==null?{}:_0x1c5862,_0x104ee7=(0x0,r[_0x3f4731(0x1c1)])()?0x1/0x0:_(0x1,_0x25a46d,_0x476c9f)['page'];if(!this[_0x3f4731(0x1dc)]['getUnit'](_0x407a76,e['UniverInstanceType'][_0x3f4731(0x1df)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x11bcf6=this['_renderManagerService'][_0x3f4731(0x1e0)](_0x407a76);if(!_0x11bcf6)throw Error('Render\x20is\x20not\x20found');let _0x3e9d16=(_0x2dcc21=_0x11bcf6[_0x3f4731(0x1e3)](a['DocSkeletonManagerService'])[_0x3f4731(0x1a9)]()[_0x3f4731(0x154)]())==null?void 0x0:_0x2dcc21['pages'];if(!_0x3e9d16)throw Error(_0x3f4731(0x1ed));let _0x10aa68={'width':_0x3e9d16[0x0][_0x3f4731(0x151)],'height':_0x3e9d16[0x0][_0x3f4731(0x1f4)]},_0x4bbbc5=_0x3e9d16[_0x3f4731(0x14d)],_0x346cd7=Math[_0x3f4731(0x180)](_0x104ee7,_0x4bbbc5),_0x4474c2=_0x11bcf6[_0x3f4731(0x163)][_0x3f4731(0x1d1)](),_0x54ce6e=document[_0x3f4731(0x19e)](_0x3f4731(0x176));_0x54ce6e[_0x3f4731(0x15b)]=i[_0x3f4731(0x192)];let _0x47f804=Array(_0x346cd7)['fill'](null)['map']((_0x309bcc,_0x11c1a1)=>{const _0x1eeaac=_0x3f4731;let _0x4e45d8=new p(this['_injector'],_0x11c1a1,_0x407a76,_0x4474c2);return _0x4e45d8[_0x1eeaac(0x148)][_0x1eeaac(0x15b)]=i[_0x1eeaac(0x175)],_0x4e45d8;});_0x47f804[_0x3f4731(0x1a8)](_0x52233f=>{const _0x1ef87e=_0x3f4731;_0x54ce6e[_0x1ef87e(0x1cf)](_0x52233f[_0x1ef87e(0x148)]),_0x52233f[_0x1ef87e(0x148)][_0x1ef87e(0x1cf)](_0x52233f[_0x1ef87e(0x16b)]),_0x52233f['prepare']();});let _0x5a229e=(0x0,i['createPrintStyle'])(_0x10aa68[_0x3f4731(0x17f)],_0x10aa68[_0x3f4731(0x19d)],i[_0x3f4731(0x1bc)][_0x3f4731(0x1c4)]);return document['body'][_0x3f4731(0x1cf)](_0x5a229e),document[_0x3f4731(0x1af)][_0x3f4731(0x1cf)](_0x54ce6e),new Promise(_0x2c4910=>{setTimeout(()=>{const _0x51b4e3=_0x408f;window[_0x51b4e3(0x17e)]=()=>{const _0x5c8755=_0x51b4e3;_0x47f804[_0x5c8755(0x1a8)](_0x1292c5=>{const _0x3f1167=_0x5c8755;_0x1292c5[_0x3f1167(0x18b)]();});},window['onafterprint']=()=>{const _0x5dfd3e=_0x51b4e3;_0x47f804[_0x5dfd3e(0x1a8)](_0x12e2a1=>{const _0x176c8b=_0x5dfd3e;_0x12e2a1[_0x176c8b(0x1bd)]();}),document[_0x5dfd3e(0x1af)]['removeChild'](_0x54ce6e),document[_0x5dfd3e(0x1af)][_0x5dfd3e(0x1de)](_0x5a229e),this[_0x5dfd3e(0x18a)][_0x5dfd3e(0x1ee)](),_0x2c4910(!0x0);},window[_0x51b4e3(0x17d)]();},0x64);});}};v=h([m(0x0,e[_0x5d9c29(0x14e)]),m(0x1,n[_0x5d9c29(0x1a3)]),m(0x2,(0x0,e['Inject'])(e['Injector'])),m(0x3,e[_0x5d9c29(0x1b9)]),m(0x4,o[_0x5d9c29(0x196)])],v);const y={'id':_0x5d9c29(0x155),'type':e[_0x5d9c29(0x17b)][_0x5d9c29(0x15d)],'handler':async _0x4f5eb6=>{const _0x41ddf6=_0x5d9c29;let _0x13b2dd=_0x4f5eb6[_0x41ddf6(0x1f2)](e[_0x41ddf6(0x14e)]),_0x576a2f=_0x4f5eb6['get'](v),_0x1c3afd=_0x4f5eb6[_0x41ddf6(0x1f2)](n['IRenderManagerService']),_0x298c90=_0x4f5eb6[_0x41ddf6(0x1f2)](e[_0x41ddf6(0x1c5)]),_0x3b6049=_0x13b2dd[_0x41ddf6(0x159)](e[_0x41ddf6(0x189)][_0x41ddf6(0x1df)]);if(!_0x3b6049)return!0x1;if(!_0x1c3afd[_0x41ddf6(0x1e0)](_0x3b6049[_0x41ddf6(0x1aa)]()))throw Error(_0x41ddf6(0x16d));let _0x26dfb4=_0x3b6049['getDocumentStyle']()[_0x41ddf6(0x1a2)];return _0x26dfb4!==e[_0x41ddf6(0x1da)][_0x41ddf6(0x18d)]&&_0x298c90[_0x41ddf6(0x1b8)](t[_0x41ddf6(0x1e5)]['id']),await _0x576a2f[_0x41ddf6(0x17d)](_0x3b6049['getUnitId']()),_0x26dfb4!==e[_0x41ddf6(0x1da)]['TRADITIONAL']&&_0x298c90[_0x41ddf6(0x1b8)](t[_0x41ddf6(0x1e5)]['id']),!0x0;}},b=_0x5d9c29(0x1eb),x={};var S='@univerjs-pro/docs-print',C='0.18.0';function _0x9fd2(){const _0x2f6ea5=['position','_root','getMenuHiddenObservable','PRINT_CANVAS_CLASS','div','call','_config','Skeleton\x20data\x20is\x20not\x20found','_commandService','CommandType','102542cZnBeU','print','onbeforeprint','width','min','Inject','addObject','__DocPrintRender__','9JSzldg','_viewMain','Injector','defineProperty','LS_CONFIG_KEY','UniverInstanceType','_globalZoneService','render','MenuItemType','TRADITIONAL','restore','_injector','isPro','left','PRINT_CONTAINER_CLASS','Disposable','setContainer','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','IGlobalZoneService','PRINTING_DOM_COLLECT','1617715QHQvPJ','makeForceDirty','string','iterator','valid','height','createElement','object','_unitId','_initCommands','documentFlavor','IRenderManagerService','Documents','_addComponent','isFeatureAuthorizedWithinTime','getContext','forEach','getSkeleton','getUnitId','_documents','8MvVpaf','right','registerCommand','body','_componentManager','packageName','prototype','toStringTag','Module','_skeletonData','DisposableCollection','DOCS_PRINT_PLUGIN_CONFIG_KEY','syncExecuteCommand','IConfigService','interceptor','onReady','PrintDirection','dispose','_offsetConfig','getConfig','fetchThroughInterceptors','isLocalCheck','menu','1299xbCCmo','Portrait','ICommandService','style','pluginName','bottom','UniverNetworkPlugin','toPrimitive','setId','_effects','_initMenus','onStarting','appendChild','1911917RVtJra','getOffsetConfig','_calculateLayout','_initComponents','top','version','pages','UniverDocsPrintPlugin','RibbonStartGroup','_engine','DocumentFlavor','DocPrintOperation','_univerInstanceService','_configService','removeChild','UNIVER_DOC','getRenderById','getOwnPropertyDescriptor','getCanvas','with','getLicenseInfo','SwitchDocModeCommand','setConfig','constructor','_currentRender','ComponentManager','1354164EKpCMN','UNIVER_DOCS_PRINT','Plugin','Pages\x20are\x20not\x20found','close','print.menu','161114oQtOTn','100%','get','1043050DQCjwp','pageHeight','mpn','getInterceptPoints','_addViewport','1988BCwVLX','OTHERS','container','function','DependentOn','IMenuManagerService','Engine','length','IUniverInstanceService','0px','generateRandomId','pageWidth','CanvasRenderMode','PRINTING_COMPONENT_COLLECT','getSkeletonData','docs.operation.print','_skeleton','message','DocPrintInterceptorService','getCurrentUnitOfType','disposeWithMe','className','_container','OPERATION','getDocFeatureLimit','symbol','_page','absolute','_key','mainComponent','_scene','makeDirty','PrintIcon','prepare','_initRenderer','_paperSize','DocSkeletonManagerService','root','_menuManagerService','Render\x20is\x20not\x20found','save','VIEW_MAIN','registerDependencies','updateScrollVal'];_0x9fd2=function(){return _0x2f6ea5;};return _0x9fd2();}function _0x408f(_0x1bbd77,_0x516ba0){_0x1bbd77=_0x1bbd77-0x144;const _0x9fd213=_0x9fd2();let _0x408ffd=_0x9fd213[_0x1bbd77];return _0x408ffd;}function w(_0xd97eaa){const _0x131a39=_0x5d9c29;return{'id':y['id'],'type':o[_0x131a39(0x18c)]['BUTTON'],'title':_0x131a39(0x1ef),'icon':_0x131a39(0x166),'tooltip':_0x131a39(0x1ef),'hidden$':(0x0,o[_0x131a39(0x174)])(_0xd97eaa,e[_0x131a39(0x189)][_0x131a39(0x1df)])};}const T={[o[_0x5d9c29(0x1d8)][_0x5d9c29(0x147)]]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x5d9c29(0x193)]{constructor(_0x5d35ba,_0x35628e,_0x5eb3d0){const _0x5abc9c=_0x5d9c29;super(),this[_0x5abc9c(0x17a)]=_0x5d35ba,this[_0x5abc9c(0x16c)]=_0x35628e,this[_0x5abc9c(0x1b0)]=_0x5eb3d0,this[_0x5abc9c(0x1cd)](),this[_0x5abc9c(0x1a1)](),this[_0x5abc9c(0x1d3)]();}[_0x5d9c29(0x1cd)](){const _0x540597=_0x5d9c29;this[_0x540597(0x16c)]['mergeMenu'](T);}[_0x5d9c29(0x1a1)](){const _0x10a366=_0x5d9c29;this[_0x10a366(0x15a)](this['_commandService'][_0x10a366(0x1ae)](y));}[_0x5d9c29(0x1d3)](){const _0x151361=_0x5d9c29;[['PrintIcon',c[_0x151361(0x166)]]][_0x151361(0x1a8)](([_0x9a172e,_0x3675a2])=>{const _0x4b2555=_0x151361;this[_0x4b2555(0x1b0)]['register'](_0x9a172e,_0x3675a2);});}};E=h([m(0x0,e[_0x5d9c29(0x1c5)]),m(0x1,o[_0x5d9c29(0x14b)]),m(0x2,(0x0,e[_0x5d9c29(0x181)])(o[_0x5d9c29(0x1e9)]))],E);let D=class extends e[_0x5d9c29(0x1ec)]{constructor(_0x403908=x,_0x4f31d6,_0x45aa87){const _0x2bd860=_0x5d9c29;super(),this[_0x2bd860(0x178)]=_0x403908,this[_0x2bd860(0x18f)]=_0x4f31d6,this[_0x2bd860(0x1dd)]=_0x45aa87;let {menu:_0x5e4832,..._0x17908c}=(0x0,e['merge'])({},x,this[_0x2bd860(0x178)]);_0x5e4832&&this[_0x2bd860(0x1dd)]['setConfig'](_0x2bd860(0x1c2),_0x5e4832,{'merge':!0x0}),this[_0x2bd860(0x1dd)][_0x2bd860(0x1e6)](b,_0x17908c);}[_0x5d9c29(0x1ce)](){const _0x3fdf09=_0x5d9c29;(0x0,e[_0x3fdf09(0x170)])(this[_0x3fdf09(0x18f)],[[v],[E]]);}[_0x5d9c29(0x1bb)](){const _0x591777=_0x5d9c29;this[_0x591777(0x18f)]['get'](E);}};f(D,_0x5d9c29(0x1c7),_0x5d9c29(0x1eb)),f(D,_0x5d9c29(0x1b1),S),f(D,_0x5d9c29(0x1d5),C),f(D,'type',e['UniverInstanceType'][_0x5d9c29(0x1df)]),D=h([(0x0,e[_0x5d9c29(0x14a)])(s[_0x5d9c29(0x1c9)],r['UniverLicensePlugin']),m(0x1,(0x0,e[_0x5d9c29(0x181)])(e[_0x5d9c29(0x186)])),m(0x2,e[_0x5d9c29(0x1b9)])],D),exports[_0x5d9c29(0x1b7)]=b,exports[_0x5d9c29(0x1db)]=y,Object[_0x5d9c29(0x187)](exports,_0x5d9c29(0x1d7),{'enumerable':!0x0,'get':function(){return D;}});
|
|
1
|
+
const _0x57b297=_0x411a;(function(_0x18b651,_0x4c2b82){const _0x138ca3=_0x411a,_0x3b017a=_0x18b651();while(!![]){try{const _0x11c59a=-parseInt(_0x138ca3(0x1e9))/0x1+-parseInt(_0x138ca3(0x1f3))/0x2*(parseInt(_0x138ca3(0x1a4))/0x3)+parseInt(_0x138ca3(0x1e3))/0x4*(-parseInt(_0x138ca3(0x197))/0x5)+parseInt(_0x138ca3(0x1f0))/0x6*(parseInt(_0x138ca3(0x190))/0x7)+-parseInt(_0x138ca3(0x19c))/0x8*(parseInt(_0x138ca3(0x22d))/0x9)+parseInt(_0x138ca3(0x1de))/0xa*(-parseInt(_0x138ca3(0x1a2))/0xb)+parseInt(_0x138ca3(0x19b))/0xc;if(_0x11c59a===_0x4c2b82)break;else _0x3b017a['push'](_0x3b017a['shift']());}catch(_0x57454b){_0x3b017a['push'](_0x3b017a['shift']());}}}(_0x22f2,0x8b95c),Object[_0x57b297(0x207)](exports,Symbol[_0x57b297(0x1d0)],{'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(_0x380393){'@babel/helpers - typeof';const _0x4b3067=_0x57b297;return l=typeof Symbol==_0x4b3067(0x223)&&typeof Symbol[_0x4b3067(0x1da)]=='symbol'?function(_0x512ecb){return typeof _0x512ecb;}:function(_0x301e29){const _0x531448=_0x4b3067;return _0x301e29&&typeof Symbol==_0x531448(0x223)&&_0x301e29[_0x531448(0x1c3)]===Symbol&&_0x301e29!==Symbol[_0x531448(0x18f)]?_0x531448(0x1c8):typeof _0x301e29;},l(_0x380393);}function u(_0x27b161,_0x3bca56){const _0x149bfa=_0x57b297;if(l(_0x27b161)!=_0x149bfa(0x202)||!_0x27b161)return _0x27b161;var _0xce961d=_0x27b161[Symbol[_0x149bfa(0x1c7)]];if(_0xce961d!==void 0x0){var _0x5cf761=_0xce961d[_0x149bfa(0x1a3)](_0x27b161,_0x3bca56||_0x149bfa(0x198));if(l(_0x5cf761)!=_0x149bfa(0x202))return _0x5cf761;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3bca56===_0x149bfa(0x1af)?String:Number)(_0x27b161);}function d(_0xa47e53){const _0x2b4c94=_0x57b297;var _0x32d19f=u(_0xa47e53,_0x2b4c94(0x1af));return l(_0x32d19f)==_0x2b4c94(0x1c8)?_0x32d19f:_0x32d19f+'';}function _0x22f2(){const _0x4584d1=['forEach','UniverDocsPrintPlugin','358468ZJruQB','call','1494ZFqVgf','packageName','Pages\x20are\x20not\x20found','DocPrintInterceptorService','_componentManager','Plugin','OPERATION','DocSkeletonManagerService','isPro','getInterceptPoints','className','string','_engine','UniverNetworkPlugin','_scene','_initComponents','RibbonStartGroup','_globalZoneService','fetchThroughInterceptors','CanvasRenderMode','length','_key','pageHeight','getOwnPropertyDescriptor','_injector','BUTTON','print.menu','width','_offsetConfig','_effects','__DocPrintRender__','constructor','get','Render\x20is\x20not\x20found','getUnitId','toPrimitive','symbol','VIEW_MAIN','_unitId','_calculateLayout','registerDependencies','MenuItemType','IUniverInstanceService','UniverInstanceType','toStringTag','onStarting','_initCommands','Scene','left','_container','IRenderManagerService','createElement','bottom','getOffsetConfig','iterator','_root','getDocFeatureLimit','_skeleton','210vpuzvW','documentFlavor','registerCommand','div','DocumentFlavor','12adbvOW','appendChild','0px','print','map','IGlobalZoneService','94429NAhyji','_documents','_config','Viewport','mpn','getUnit','DOCS_PRINT_PLUGIN_CONFIG_KEY','5646UFahDF','ICommandService','TRADITIONAL','3146TXGjHw','docs.operation.print','OTHERS','body','with','_skeletonData','translate','mergeMenu','_addViewport','_initMenus','PrintIcon','UniverLicensePlugin','_renderManagerService','100%','Engine','object','getCurrentUnitOfType','UNIVER_DOC','dispose','Injector','defineProperty','getMenuHiddenObservable','fill','interceptor','UNIVER_DOCS_PRINT','generateRandomId','_univerInstanceService','DisposableCollection','DependentOn','_initRenderer','getRenderById','decorate','onafterprint','setContainer','restore','_paperSize','Printing','_addComponent','Documents','container','_configService','_page','close','render','getContext','message','height','merge','function','root','pageWidth','setConfig','position','PrintDirection','_viewMain','Disposable','syncExecuteCommand','ComponentManager','1017iShBZw','getSkeletonData','LS_CONFIG_KEY','getSkeleton','right','disposeWithMe','top','menu','getCanvas','_menuManagerService','setId','IConfigService','timeValid','SwitchDocModeCommand','version','prototype','6986dbrHmb','removeChild','PRINTING_COMPONENT_COLLECT','style','_currentRender','0.19.0','prepare','685880QEbFBL','default','getConfig','page','24703440gLoMDL','32024HqQLXw','absolute','_commandService','scale'];_0x22f2=function(){return _0x4584d1;};return _0x22f2();}function f(_0x46d30b,_0x342013,_0x32a48f){const _0x25a81c=_0x57b297;return(_0x342013=d(_0x342013))in _0x46d30b?Object[_0x25a81c(0x207)](_0x46d30b,_0x342013,{'value':_0x32a48f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x46d30b[_0x342013]=_0x32a48f,_0x46d30b;}function _0x411a(_0x42f156,_0x13d2c7){_0x42f156=_0x42f156-0x185;const _0x22f2f3=_0x22f2();let _0x411a57=_0x22f2f3[_0x42f156];return _0x411a57;}var p=class extends e[_0x57b297(0x22a)]{get[_0x57b297(0x21a)](){const _0x33b48e=_0x57b297;return this[_0x33b48e(0x1d5)];}get[_0x57b297(0x224)](){const _0x2461f0=_0x57b297;return this[_0x2461f0(0x1db)];}get[_0x57b297(0x194)](){const _0x2ab32d=_0x57b297;let _0x5cb7ec=this[_0x2ab32d(0x1bc)][_0x2ab32d(0x1c4)](n[_0x2ab32d(0x1d6)])[_0x2ab32d(0x211)](this['_unitId']);if(!_0x5cb7ec)throw Error(_0x2ab32d(0x1c5));return _0x5cb7ec;}get[_0x57b297(0x1dd)](){const _0x3fbc78=_0x57b297;return this[_0x3fbc78(0x194)][_0x3fbc78(0x1f7)](a[_0x3fbc78(0x1ab)])[_0x3fbc78(0x230)]();}get[_0x57b297(0x1f8)](){const _0x4ec1ce=_0x57b297;let _0x17bd8a=this['_skeleton'][_0x4ec1ce(0x22e)]();if(!_0x17bd8a)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x17bd8a;}get['_paperSize'](){const _0x2b3e38=_0x57b297;let _0x99063f=this[_0x2b3e38(0x1f8)]['pages'][0x0];return{'width':_0x99063f[_0x2b3e38(0x225)],'height':_0x99063f[_0x2b3e38(0x1ba)]};}constructor(_0xc5ad0,_0x12b5e9,_0x43c09f,_0x5cfe78){const _0x1cb854=_0x57b297;super(),this[_0x1cb854(0x1bc)]=_0xc5ad0,this[_0x1cb854(0x21c)]=_0x12b5e9,this[_0x1cb854(0x1ca)]=_0x43c09f,this[_0x1cb854(0x1c0)]=_0x5cfe78,f(this,_0x1cb854(0x1d5),document[_0x1cb854(0x1d7)](_0x1cb854(0x1e1))),f(this,_0x1cb854(0x1db),document[_0x1cb854(0x1d7)]('div')),f(this,_0x1cb854(0x1b0),void 0x0),f(this,_0x1cb854(0x1b2),void 0x0),f(this,_0x1cb854(0x1b9),void 0x0),f(this,'_documents',void 0x0),f(this,_0x1cb854(0x229),void 0x0),f(this,'_effects',new e[(_0x1cb854(0x20e))]()),this[_0x1cb854(0x1b9)]=(0x0,e['generateRandomId'])(0x4),this['_initRenderer'](),this[_0x1cb854(0x185)]({'dispose':()=>{const _0x2bf8e4=_0x1cb854;this[_0x2bf8e4(0x1b0)]['dispose'](),this[_0x2bf8e4(0x1b2)][_0x2bf8e4(0x205)](),this['_effects'][_0x2bf8e4(0x205)]();}});}[_0x57b297(0x1cb)](){const _0x4f764c=_0x57b297;let {docsTop:_0x407b6b,docsLeft:_0x3a2a51}=this['_documents'][_0x4f764c(0x1d9)](),_0x78c04a=this['_paperSize'][_0x4f764c(0x221)],_0x2b79d6=this['_paperSize'][_0x4f764c(0x1bf)];return{'top':_0x407b6b+(_0x407b6b+_0x78c04a)*this[_0x4f764c(0x21c)],'bottom':_0x407b6b+(_0x407b6b+_0x78c04a)*(this[_0x4f764c(0x21c)]+0x1),'left':_0x3a2a51,'right':_0x3a2a51+_0x2b79d6};}[_0x57b297(0x210)](){const _0x29266c=_0x57b297;this[_0x29266c(0x1b0)]=new n[(_0x29266c(0x201))]('',{'elementWidth':this[_0x29266c(0x216)][_0x29266c(0x1bf)],'elementHeight':this['_paperSize']['height'],'dpr':0x1,'renderMode':n[_0x29266c(0x1b7)][_0x29266c(0x217)]}),this['_scene']=new n[(_0x29266c(0x1d3))](this[_0x29266c(0x1b9)],this[_0x29266c(0x1b0)]),this[_0x29266c(0x1b2)][_0x29266c(0x19f)](0x1,0x1),this[_0x29266c(0x1b0)][_0x29266c(0x214)](this[_0x29266c(0x1d5)],!0x1),this[_0x29266c(0x1b0)][_0x29266c(0x188)]()[_0x29266c(0x21f)]()[_0x29266c(0x18a)](this['_key']+'_'+(0x0,e[_0x29266c(0x20c)])(0x4)),this['_addComponent'](),this[_0x29266c(0x1fb)]();}[_0x57b297(0x218)](){const _0x57d204=_0x57b297;let {pageMarginLeft:_0x338db4,pageMarginTop:_0x3f6615,docsLeft:_0x5ce15a,docsTop:_0x4684cd}=this[_0x57d204(0x1c0)],_0x76e77d={'pageMarginLeft':_0x338db4,'pageMarginTop':_0x3f6615},_0x53d7ce=new n[(_0x57d204(0x219))](_0x57d204(0x1c2),this[_0x57d204(0x1dd)],_0x76e77d);_0x53d7ce[_0x57d204(0x1f9)](_0x5ce15a,_0x4684cd),this[_0x57d204(0x1b2)]['addObject'](_0x53d7ce),this[_0x57d204(0x1ea)]=_0x53d7ce;let _0x5cfc3c=this[_0x57d204(0x1bc)]['get'](t[_0x57d204(0x1a7)]);_0x5cfc3c[_0x57d204(0x20a)][_0x57d204(0x1b6)](_0x5cfc3c[_0x57d204(0x20a)][_0x57d204(0x1ad)]()[_0x57d204(0x192)])(void 0x0,{'unitId':this[_0x57d204(0x1ca)],'scene':this[_0x57d204(0x1b2)],'engine':this['_engine'],'root':this['_root'],'documents':this[_0x57d204(0x1ea)],'skeleton':this[_0x57d204(0x1dd)]});}[_0x57b297(0x1fb)](){const _0x2ea6c6=_0x57b297;this['_viewMain']=new n[(_0x2ea6c6(0x1ec))](t['VIEWPORT_KEY'][_0x2ea6c6(0x1c9)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}['prepare'](){const _0x47aa0a=_0x57b297;let _0x1f0011=this['_calculateLayout']();this[_0x47aa0a(0x229)]['updateScrollVal']({'viewportScrollX':_0x1f0011['left'],'viewportScrollY':_0x1f0011[_0x47aa0a(0x186)]}),this[_0x47aa0a(0x1db)]['style'][_0x47aa0a(0x227)]=_0x47aa0a(0x19d),this[_0x47aa0a(0x1db)][_0x47aa0a(0x193)][_0x47aa0a(0x186)]=_0x47aa0a(0x1e5),this[_0x47aa0a(0x1db)][_0x47aa0a(0x193)]['left']='0px',this['_root'][_0x47aa0a(0x193)][_0x47aa0a(0x1bf)]=_0x47aa0a(0x200),this[_0x47aa0a(0x1db)][_0x47aa0a(0x193)][_0x47aa0a(0x221)]=_0x47aa0a(0x200),this[_0x47aa0a(0x1c1)]=new e[(_0x47aa0a(0x20e))]();let _0x489c66=this[_0x47aa0a(0x1bc)][_0x47aa0a(0x1c4)](t['DocPrintInterceptorService']);_0x489c66[_0x47aa0a(0x20a)][_0x47aa0a(0x1b6)](_0x489c66[_0x47aa0a(0x20a)][_0x47aa0a(0x1ad)]()['PRINTING_DOM_COLLECT'])(this['_effects'],{'unitId':this[_0x47aa0a(0x1ca)],'scene':this['_scene'],'engine':this[_0x47aa0a(0x1b0)],'root':this[_0x47aa0a(0x1db)],'skeleton':this[_0x47aa0a(0x1dd)],'offset':{'x':_0x1f0011[_0x47aa0a(0x1d4)],'y':_0x1f0011['top']},'bound':{'top':_0x1f0011[_0x47aa0a(0x186)],'left':_0x1f0011['left'],'right':_0x1f0011[_0x47aa0a(0x231)],'bottom':_0x1f0011[_0x47aa0a(0x1d8)]}});}[_0x57b297(0x21e)](){const _0x3527db=_0x57b297;let _0x34bf0c=this[_0x3527db(0x1b0)]['getCanvas']()['getContext']();this['_documents']['makeForceDirty'](),this['_scene']['makeDirty'](),_0x34bf0c['save'](),this['_scene'][_0x3527db(0x21e)](),_0x34bf0c[_0x3527db(0x215)]();}};function m(_0x1b7aec,_0x4314ca){return function(_0x48c819,_0x194abb){_0x4314ca(_0x48c819,_0x194abb,_0x1b7aec);};}function h(_0x51f048,_0x4d50bd,_0x200f54,_0x1b0dd6){const _0x9b4dbc=_0x57b297;var _0x4e4a5c=arguments['length'],_0x3ea82e=_0x4e4a5c<0x3?_0x4d50bd:_0x1b0dd6===null?_0x1b0dd6=Object[_0x9b4dbc(0x1bb)](_0x4d50bd,_0x200f54):_0x1b0dd6,_0x46e236;if(typeof Reflect==_0x9b4dbc(0x202)&&typeof Reflect[_0x9b4dbc(0x212)]=='function')_0x3ea82e=Reflect[_0x9b4dbc(0x212)](_0x51f048,_0x4d50bd,_0x200f54,_0x1b0dd6);else{for(var _0x58e0ee=_0x51f048[_0x9b4dbc(0x1b8)]-0x1;_0x58e0ee>=0x0;_0x58e0ee--)(_0x46e236=_0x51f048[_0x58e0ee])&&(_0x3ea82e=(_0x4e4a5c<0x3?_0x46e236(_0x3ea82e):_0x4e4a5c>0x3?_0x46e236(_0x4d50bd,_0x200f54,_0x3ea82e):_0x46e236(_0x4d50bd,_0x200f54))||_0x3ea82e);}return _0x4e4a5c>0x3&&_0x3ea82e&&Object[_0x9b4dbc(0x207)](_0x4d50bd,_0x200f54,_0x3ea82e),_0x3ea82e;}const g=Number['parseInt'](0x69c78f3a),_=(_0x51e51b,_0x5cf87e,_0x12515a)=>{const _0x1c475c=_0x57b297;let _0x4d4a3a={'page':_0x51e51b,'isPro':!0x1,'timeValid':!0x1};if(!_0x5cf87e||!_0x12515a)return _0x4d4a3a;let _0x464301=(0x0,r['getLicenseInfo'])(_0x5cf87e,_0x12515a);if(_0x464301['valid']){let _0x16eb98=_0x464301[_0x1c475c(0x220)],_0x580022=(0x0,r['isFeatureAuthorizedWithinTime'])(_0x16eb98,'df',g);_0x4d4a3a[_0x1c475c(0x1ac)]=_0x580022,_0x4d4a3a[_0x1c475c(0x18c)]=_0x580022,_0x4d4a3a[_0x1c475c(0x19a)]=(0x0,r[_0x1c475c(0x1dc)])(_0x16eb98,_0x580022,_0x1c475c(0x1ed),_0x51e51b,_0x51e51b,0x0);}return _0x4d4a3a;};let v=class extends e['Disposable']{constructor(_0x1f306f,_0x2cf0c7,_0x589e71,_0xcf3bc0,_0x2395f1){const _0x1ffc8b=_0x57b297;super(),this[_0x1ffc8b(0x20d)]=_0x1f306f,this[_0x1ffc8b(0x1ff)]=_0x2cf0c7,this[_0x1ffc8b(0x1bc)]=_0x589e71,this['_configService']=_0xcf3bc0,this[_0x1ffc8b(0x1b5)]=_0x2395f1;}[_0x57b297(0x1e6)](_0x4d1c0a){const _0x4b353b=_0x57b297;var _0x2273c9,_0x3624e5;let {ls:_0xc2d811,pbk:_0x42a884}=(_0x2273c9=this[_0x4b353b(0x21b)][_0x4b353b(0x199)](r[_0x4b353b(0x22f)]))==null?{}:_0x2273c9,_0x2e8024=(0x0,r['isLocalCheck'])()?0x1/0x0:_(0x1,_0xc2d811,_0x42a884)['page'];if(!this['_univerInstanceService'][_0x4b353b(0x1ee)](_0x4d1c0a,e['UniverInstanceType'][_0x4b353b(0x204)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x1b056a=this['_renderManagerService'][_0x4b353b(0x211)](_0x4d1c0a);if(!_0x1b056a)throw Error(_0x4b353b(0x1c5));let _0x5740b1=(_0x3624e5=_0x1b056a[_0x4b353b(0x1f7)](a[_0x4b353b(0x1ab)])['getSkeleton']()['getSkeletonData']())==null?void 0x0:_0x3624e5['pages'];if(!_0x5740b1)throw Error(_0x4b353b(0x1a6));let _0x46fb96={'width':_0x5740b1[0x0][_0x4b353b(0x225)],'height':_0x5740b1[0x0]['pageHeight']},_0x40e152=_0x5740b1[_0x4b353b(0x1b8)],_0x391976=Math['min'](_0x2e8024,_0x40e152),_0x570610=_0x1b056a['mainComponent'][_0x4b353b(0x1d9)](),_0x446fb4=document[_0x4b353b(0x1d7)]('div');_0x446fb4[_0x4b353b(0x1ae)]=i['PRINT_CONTAINER_CLASS'];let _0x5c0b7f=Array(_0x391976)[_0x4b353b(0x209)](null)[_0x4b353b(0x1e7)]((_0x10f0e2,_0x18d682)=>{const _0x22225d=_0x4b353b;let _0x3c2d7d=new p(this['_injector'],_0x18d682,_0x4d1c0a,_0x570610);return _0x3c2d7d[_0x22225d(0x21a)][_0x22225d(0x1ae)]=i['PRINT_CANVAS_CLASS'],_0x3c2d7d;});_0x5c0b7f[_0x4b353b(0x1a0)](_0x57ca78=>{const _0x29f5c8=_0x4b353b;_0x446fb4['appendChild'](_0x57ca78[_0x29f5c8(0x21a)]),_0x57ca78[_0x29f5c8(0x21a)][_0x29f5c8(0x1e4)](_0x57ca78[_0x29f5c8(0x224)]),_0x57ca78[_0x29f5c8(0x196)]();});let _0x8c0436=(0x0,i['createPrintStyle'])(_0x46fb96['width'],_0x46fb96[_0x4b353b(0x221)],i[_0x4b353b(0x228)]['Portrait']);return document['body'][_0x4b353b(0x1e4)](_0x8c0436),document[_0x4b353b(0x1f6)][_0x4b353b(0x1e4)](_0x446fb4),new Promise(_0x1c3e1d=>{setTimeout(()=>{const _0x11bd93=_0x411a;window['onbeforeprint']=()=>{const _0x34543b=_0x411a;_0x5c0b7f[_0x34543b(0x1a0)](_0x503644=>{const _0x3f93ad=_0x34543b;_0x503644[_0x3f93ad(0x21e)]();});},window[_0x11bd93(0x213)]=()=>{const _0x53806a=_0x11bd93;_0x5c0b7f[_0x53806a(0x1a0)](_0x50c397=>{_0x50c397['dispose']();}),document[_0x53806a(0x1f6)][_0x53806a(0x191)](_0x446fb4),document[_0x53806a(0x1f6)][_0x53806a(0x191)](_0x8c0436),this[_0x53806a(0x1b5)][_0x53806a(0x21d)](),_0x1c3e1d(!0x0);},window[_0x11bd93(0x1e6)]();},0x64);});}};v=h([m(0x0,e[_0x57b297(0x1ce)]),m(0x1,n[_0x57b297(0x1d6)]),m(0x2,(0x0,e['Inject'])(e[_0x57b297(0x206)])),m(0x3,e[_0x57b297(0x18b)]),m(0x4,o[_0x57b297(0x1e8)])],v);const y={'id':_0x57b297(0x1f4),'type':e['CommandType'][_0x57b297(0x1aa)],'handler':async _0x2db630=>{const _0x538baa=_0x57b297;let _0x558f53=_0x2db630[_0x538baa(0x1c4)](e['IUniverInstanceService']),_0xc027c7=_0x2db630[_0x538baa(0x1c4)](v),_0x12f9c0=_0x2db630['get'](n['IRenderManagerService']),_0xed0fc1=_0x2db630[_0x538baa(0x1c4)](e['ICommandService']),_0x3c0a1e=_0x558f53[_0x538baa(0x203)](e['UniverInstanceType'][_0x538baa(0x204)]);if(!_0x3c0a1e)return!0x1;if(!_0x12f9c0[_0x538baa(0x211)](_0x3c0a1e[_0x538baa(0x1c6)]()))throw Error(_0x538baa(0x1c5));let _0x565188=_0x3c0a1e['getDocumentStyle']()[_0x538baa(0x1df)];return _0x565188!==e[_0x538baa(0x1e2)]['TRADITIONAL']&&_0xed0fc1[_0x538baa(0x22b)](t[_0x538baa(0x18d)]['id']),await _0xc027c7[_0x538baa(0x1e6)](_0x3c0a1e['getUnitId']()),_0x565188!==e[_0x538baa(0x1e2)][_0x538baa(0x1f2)]&&_0xed0fc1[_0x538baa(0x22b)](t[_0x538baa(0x18d)]['id']),!0x0;}},b=_0x57b297(0x20b),x={};var S='@univerjs-pro/docs-print',C=_0x57b297(0x195);function w(_0x4e6a2d){const _0x21ffcb=_0x57b297;return{'id':y['id'],'type':o[_0x21ffcb(0x1cd)][_0x21ffcb(0x1bd)],'title':'print.menu','icon':_0x21ffcb(0x1fd),'tooltip':_0x21ffcb(0x1be),'hidden$':(0x0,o[_0x21ffcb(0x208)])(_0x4e6a2d,e[_0x21ffcb(0x1cf)]['UNIVER_DOC'])};}const T={[o[_0x57b297(0x1b4)][_0x57b297(0x1f5)]]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x57b297(0x22a)]{constructor(_0x475b9b,_0x6cda60,_0x3edb96){const _0xbdb79a=_0x57b297;super(),this[_0xbdb79a(0x19e)]=_0x475b9b,this['_menuManagerService']=_0x6cda60,this[_0xbdb79a(0x1a8)]=_0x3edb96,this[_0xbdb79a(0x1fc)](),this[_0xbdb79a(0x1d2)](),this[_0xbdb79a(0x1b3)]();}[_0x57b297(0x1fc)](){const _0x4601f4=_0x57b297;this[_0x4601f4(0x189)][_0x4601f4(0x1fa)](T);}[_0x57b297(0x1d2)](){const _0x3e0db8=_0x57b297;this[_0x3e0db8(0x185)](this[_0x3e0db8(0x19e)][_0x3e0db8(0x1e0)](y));}[_0x57b297(0x1b3)](){const _0x13386d=_0x57b297;[[_0x13386d(0x1fd),c['PrintIcon']]][_0x13386d(0x1a0)](([_0x1475be,_0x2721ca])=>{const _0x13e93b=_0x13386d;this[_0x13e93b(0x1a8)]['register'](_0x1475be,_0x2721ca);});}};E=h([m(0x0,e[_0x57b297(0x1f1)]),m(0x1,o['IMenuManagerService']),m(0x2,(0x0,e['Inject'])(o[_0x57b297(0x22c)]))],E);let D=class extends e[_0x57b297(0x1a9)]{constructor(_0x3a9e7a=x,_0x491368,_0x477c6d){const _0x2e79f8=_0x57b297;super(),this['_config']=_0x3a9e7a,this[_0x2e79f8(0x1bc)]=_0x491368,this['_configService']=_0x477c6d;let {menu:_0x17fb67,..._0x49e002}=(0x0,e[_0x2e79f8(0x222)])({},x,this[_0x2e79f8(0x1eb)]);_0x17fb67&&this[_0x2e79f8(0x21b)][_0x2e79f8(0x226)](_0x2e79f8(0x187),_0x17fb67,{'merge':!0x0}),this[_0x2e79f8(0x21b)][_0x2e79f8(0x226)](b,_0x49e002);}[_0x57b297(0x1d1)](){const _0x19a67e=_0x57b297;(0x0,e[_0x19a67e(0x1cc)])(this[_0x19a67e(0x1bc)],[[v],[E]]);}['onReady'](){this['_injector']['get'](E);}};f(D,'pluginName',_0x57b297(0x20b)),f(D,_0x57b297(0x1a5),S),f(D,_0x57b297(0x18e),C),f(D,'type',e[_0x57b297(0x1cf)]['UNIVER_DOC']),D=h([(0x0,e[_0x57b297(0x20f)])(s[_0x57b297(0x1b1)],r[_0x57b297(0x1fe)]),m(0x1,(0x0,e['Inject'])(e['Injector'])),m(0x2,e[_0x57b297(0x18b)])],D),exports[_0x57b297(0x1ef)]=b,exports['DocPrintOperation']=y,Object['defineProperty'](exports,_0x57b297(0x1a1),{'enumerable':!0x0,'get':function(){return D;}});
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x248716=_0x3f4c;function _0x137a(){const _0x5df420=['2521350PlYldw','3016766GwocZM','12itPSRR','9YgPHYF','exports','9124272exXrup','838528jUtJGB','891HDPjnK','1657808RMvJcu','286310dGCwcq','5146589jyMiOB','Print'];_0x137a=function(){return _0x5df420;};return _0x137a();}(function(_0x407149,_0x483b0a){const _0x3b7132=_0x3f4c,_0x3eabc2=_0x407149();while(!![]){try{const _0x41b58a=parseInt(_0x3b7132(0x1dd))/0x1+-parseInt(_0x3b7132(0x1e4))/0x2+parseInt(_0x3b7132(0x1e6))/0x3*(parseInt(_0x3b7132(0x1df))/0x4)+parseInt(_0x3b7132(0x1e3))/0x5+-parseInt(_0x3b7132(0x1e5))/0x6*(-parseInt(_0x3b7132(0x1e1))/0x7)+parseInt(_0x3b7132(0x1dc))/0x8+-parseInt(_0x3b7132(0x1de))/0x9*(parseInt(_0x3b7132(0x1e0))/0xa);if(_0x41b58a===_0x483b0a)break;else _0x3eabc2['push'](_0x3eabc2['shift']());}catch(_0x496bab){_0x3eabc2['push'](_0x3eabc2['shift']());}}}(_0x137a,0xd0912));const e={'print':{'menu':_0x248716(0x1e2)}};function _0x3f4c(_0x207835,_0x13298d){_0x207835=_0x207835-0x1dc;const _0x137afa=_0x137a();let _0x3f4c7f=_0x137afa[_0x207835];return _0x3f4c7f;}module[_0x248716(0x1e7)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x40fd(){const _0x1429c5=['7868688nUgbrp','568YoIrZP','1359369jPhwSg','3726272DtNahX','4788210ckSgeI','exports','103726Tfdzhg','16076kMPHGP','1364192PnIvxR'];_0x40fd=function(){return _0x1429c5;};return _0x40fd();}const _0x61affc=_0x4245;(function(_0x362e31,_0x36dfd9){const _0x2eeeb2=_0x4245,_0x20fef7=_0x362e31();while(!![]){try{const _0x242a04=-parseInt(_0x2eeeb2(0x18b))/0x1+-parseInt(_0x2eeeb2(0x18a))/0x2+parseInt(_0x2eeeb2(0x185))/0x3+parseInt(_0x2eeeb2(0x186))/0x4+parseInt(_0x2eeeb2(0x187))/0x5+-parseInt(_0x2eeeb2(0x183))/0x6+-parseInt(_0x2eeeb2(0x189))/0x7*(-parseInt(_0x2eeeb2(0x184))/0x8);if(_0x242a04===_0x36dfd9)break;else _0x20fef7['push'](_0x20fef7['shift']());}catch(_0x47d960){_0x20fef7['push'](_0x20fef7['shift']());}}}(_0x40fd,0xad84d));function _0x4245(_0x1f6739,_0x324f90){_0x1f6739=_0x1f6739-0x183;const _0x40fd06=_0x40fd();let _0x424518=_0x40fd06[_0x1f6739];return _0x424518;}const e={'print':{'menu':'Print'}};module[_0x61affc(0x188)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1f44ba=_0x39d0;(function(_0x218c87,_0xf99c00){const _0x45615d=_0x39d0,_0xe4adc7=_0x218c87();while(!![]){try{const _0x2e2fe3=-parseInt(_0x45615d(0x103))/0x1+parseInt(_0x45615d(0xfc))/0x2+parseInt(_0x45615d(0xfe))/0x3*(-parseInt(_0x45615d(0x100))/0x4)+parseInt(_0x45615d(0xfa))/0x5+parseInt(_0x45615d(0xfb))/0x6*(parseInt(_0x45615d(0xff))/0x7)+-parseInt(_0x45615d(0xf9))/0x8+-parseInt(_0x45615d(0xfd))/0x9*(-parseInt(_0x45615d(0x102))/0xa);if(_0x2e2fe3===_0xf99c00)break;else _0xe4adc7['push'](_0xe4adc7['shift']());}catch(_0x168d4c){_0xe4adc7['push'](_0xe4adc7['shift']());}}}(_0x4861,0xee3f0));function _0x4861(){const _0x2a7e0b=['7VsFCke','308500ywKcWC','Print','20JsHShm','1701609dnGYsZ','exports','14007056oadFBA','4408900pVPYEL','2866866EIRvZY','3300484hJQmIV','14018688jrPVfM','66fqnyEh'];_0x4861=function(){return _0x2a7e0b;};return _0x4861();}const e={'print':{'menu':_0x1f44ba(0x101)}};function _0x39d0(_0x1e7046,_0x4d73e3){_0x1e7046=_0x1e7046-0xf8;const _0x4861c2=_0x4861();let _0x39d079=_0x4861c2[_0x1e7046];return _0x39d079;}module[_0x1f44ba(0xf8)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5c27c0,_0x452c88){const _0x269388=_0x460b,_0x4f2078=_0x5c27c0();while(!![]){try{const _0x58e48e=-parseInt(_0x269388(0x70))/0x1*(parseInt(_0x269388(0x6c))/0x2)+parseInt(_0x269388(0x71))/0x3*(-parseInt(_0x269388(0x6d))/0x4)+parseInt(_0x269388(0x72))/0x5+-parseInt(_0x269388(0x74))/0x6+parseInt(_0x269388(0x6e))/0x7*(-parseInt(_0x269388(0x73))/0x8)+-parseInt(_0x269388(0x75))/0x9+parseInt(_0x269388(0x6f))/0xa*(parseInt(_0x269388(0x76))/0xb);if(_0x58e48e===_0x452c88)break;else _0x4f2078['push'](_0x4f2078['shift']());}catch(_0x5a449f){_0x4f2078['push'](_0x4f2078['shift']());}}}(_0x51d5,0x88bc2));function _0x460b(_0x38ff0a,_0x32a803){_0x38ff0a=_0x38ff0a-0x6c;const _0x51d52e=_0x51d5();let _0x460bf1=_0x51d52e[_0x38ff0a];return _0x460bf1;}const e={'print':{'menu':'چاپ'}};module['exports']=e;function _0x51d5(){const _0x4be497=['4911072UhQePM','2977164GDzFOb','25102QKcRvp','8iNwIll','76hNHUmH','190862VKjLVM','13150BBGWef','231866zfXBMg','43593ciinZO','4604695kdlcLa','296uazTID'];_0x51d5=function(){return _0x4be497;};return _0x51d5();}
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x51bb(){const _0xc09444=['183294EOCzJk','3497830xWVylq','1494490dQiDTg','126fxnOaU','6LyymKC','8917456tdxqta','4843520KzDmMP','234zBuPBj','68376HZLtRE','83720wyYAFL'];_0x51bb=function(){return _0xc09444;};return _0x51bb();}(function(_0x1bc193,_0x4d3268){const _0x30fe76=_0x310e,_0x21a791=_0x1bc193();while(!![]){try{const _0x2cdfc3=-parseInt(_0x30fe76(0xfa))/0x1+parseInt(_0x30fe76(0xfd))/0x2*(parseInt(_0x30fe76(0xf8))/0x3)+-parseInt(_0x30fe76(0xf6))/0x4+-parseInt(_0x30fe76(0xfc))/0x5*(-parseInt(_0x30fe76(0xfe))/0x6)+-parseInt(_0x30fe76(0xfb))/0x7+parseInt(_0x30fe76(0xff))/0x8+-parseInt(_0x30fe76(0xf7))/0x9*(parseInt(_0x30fe76(0xf9))/0xa);if(_0x2cdfc3===_0x4d3268)break;else _0x21a791['push'](_0x21a791['shift']());}catch(_0x37e896){_0x21a791['push'](_0x21a791['shift']());}}}(_0x51bb,0xb4294));function _0x310e(_0x439c70,_0x456bf0){_0x439c70=_0x439c70-0xf6;const _0x51bb75=_0x51bb();let _0x310e7c=_0x51bb75[_0x439c70];return _0x310e7c;}const e={'print':{'menu':'Imprimer'}};module['exports']=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2cb21b=_0x4559;(function(_0x20d618,_0x3d8b13){const _0x1a091a=_0x4559,_0x491301=_0x20d618();while(!![]){try{const _0x3b5fea=-parseInt(_0x1a091a(0x76))/0x1+-parseInt(_0x1a091a(0x70))/0x2+-parseInt(_0x1a091a(0x77))/0x3*(parseInt(_0x1a091a(0x74))/0x4)+-parseInt(_0x1a091a(0x78))/0x5+parseInt(_0x1a091a(0x75))/0x6+parseInt(_0x1a091a(0x71))/0x7*(-parseInt(_0x1a091a(0x72))/0x8)+parseInt(_0x1a091a(0x73))/0x9;if(_0x3b5fea===_0x3d8b13)break;else _0x491301['push'](_0x491301['shift']());}catch(_0x460f35){_0x491301['push'](_0x491301['shift']());}}}(_0x40d3,0x95279));function _0x4559(_0x23269,_0x41b794){_0x23269=_0x23269-0x70;const _0x40d325=_0x40d3();let _0x4559db=_0x40d325[_0x23269];return _0x4559db;}function _0x40d3(){const _0x1d6c97=['1681668tMURDE','4718119lpPVcm','8FVTPNK','35034669eAEaUW','32QYUGtN','3767130RzjkuY','581192ZdBEaz','372441XTbRQd','4102200FtUbId','exports'];_0x40d3=function(){return _0x1d6c97;};return _0x40d3();}const e={'print':{'menu':'印刷'}};module[_0x2cb21b(0x79)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3fbf19=_0x12fe;function _0x12fe(_0x4c0e24,_0x4a09e6){_0x4c0e24=_0x4c0e24-0x1e9;const _0x552fe8=_0x552f();let _0x12fe6d=_0x552fe8[_0x4c0e24];return _0x12fe6d;}(function(_0x199e98,_0x416364){const _0x40c1e6=_0x12fe,_0x54d59f=_0x199e98();while(!![]){try{const _0x5092ac=-parseInt(_0x40c1e6(0x1ef))/0x1*(parseInt(_0x40c1e6(0x1f3))/0x2)+parseInt(_0x40c1e6(0x1eb))/0x3*(-parseInt(_0x40c1e6(0x1ec))/0x4)+-parseInt(_0x40c1e6(0x1ee))/0x5*(parseInt(_0x40c1e6(0x1f4))/0x6)+parseInt(_0x40c1e6(0x1ed))/0x7*(parseInt(_0x40c1e6(0x1f5))/0x8)+-parseInt(_0x40c1e6(0x1ea))/0x9*(-parseInt(_0x40c1e6(0x1f0))/0xa)+parseInt(_0x40c1e6(0x1f2))/0xb+parseInt(_0x40c1e6(0x1f1))/0xc*(parseInt(_0x40c1e6(0x1e9))/0xd);if(_0x5092ac===_0x416364)break;else _0x54d59f['push'](_0x54d59f['shift']());}catch(_0x167b7b){_0x54d59f['push'](_0x54d59f['shift']());}}}(_0x552f,0x81bb0));const e={'print':{'menu':'인쇄'}};function _0x552f(){const _0x5d91a2=['5TCyBBp','796246rpxcvS','110dTFbVF','108Frkkrs','6959458Hozrfo','2nKKFtZ','3589224maRXUR','82312SDtraU','exports','1531907gHDsbe','485316bilVyI','126MyBAJp','72556kwiFWa','273yoYZBK'];_0x552f=function(){return _0x5d91a2;};return _0x552f();}module[_0x3fbf19(0x1f6)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x432895=_0x4c88;(function(_0x362ddf,_0x455c01){const _0x20655b=_0x4c88,_0x34bf4e=_0x362ddf();while(!![]){try{const _0x498f27=-parseInt(_0x20655b(0x10d))/0x1*(parseInt(_0x20655b(0x103))/0x2)+parseInt(_0x20655b(0x105))/0x3*(parseInt(_0x20655b(0x10c))/0x4)+parseInt(_0x20655b(0x102))/0x5+-parseInt(_0x20655b(0x101))/0x6*(parseInt(_0x20655b(0x109))/0x7)+parseInt(_0x20655b(0x104))/0x8+parseInt(_0x20655b(0x107))/0x9*(parseInt(_0x20655b(0x108))/0xa)+-parseInt(_0x20655b(0x10b))/0xb*(parseInt(_0x20655b(0x10a))/0xc);if(_0x498f27===_0x455c01)break;else _0x34bf4e['push'](_0x34bf4e['shift']());}catch(_0x15f5f9){_0x34bf4e['push'](_0x34bf4e['shift']());}}}(_0x15d6,0x79383));const e={'print':{'menu':'Печать'}};function _0x4c88(_0x51a3ff,_0x2f4173){_0x51a3ff=_0x51a3ff-0x101;const _0x15d6ef=_0x15d6();let _0x4c88c5=_0x15d6ef[_0x51a3ff];return _0x4c88c5;}function _0x15d6(){const _0x4a7e1c=['9XKPiZb','exports','81HoahXw','204030bYHaSN','217UUcCfy','1258884RTHETT','99NHyTVI','729332UDKkgx','7919yKQQNY','82146cgUVDW','3513630AZtkEd','46JgsMti','4911072DDDFEU'];_0x15d6=function(){return _0x4a7e1c;};return _0x15d6();}module[_0x432895(0x106)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1d73e8=_0x4746;(function(_0x45d61f,_0x482a8a){const _0x2132ed=_0x4746,_0x56e69f=_0x45d61f();while(!![]){try{const _0x833c05=-parseInt(_0x2132ed(0x150))/0x1*(-parseInt(_0x2132ed(0x14b))/0x2)+parseInt(_0x2132ed(0x154))/0x3+-parseInt(_0x2132ed(0x14d))/0x4+parseInt(_0x2132ed(0x14e))/0x5+-parseInt(_0x2132ed(0x14c))/0x6*(-parseInt(_0x2132ed(0x14f))/0x7)+-parseInt(_0x2132ed(0x151))/0x8*(parseInt(_0x2132ed(0x153))/0x9)+-parseInt(_0x2132ed(0x156))/0xa;if(_0x833c05===_0x482a8a)break;else _0x56e69f['push'](_0x56e69f['shift']());}catch(_0x5104b1){_0x56e69f['push'](_0x56e69f['shift']());}}}(_0xe82b,0x91fd4));function _0xe82b(){const _0x21fd0d=['3587451VbPmXy','Tlač','8891460isfNKk','18134FkzItH','3466350GELiJz','1498584LpFTdm','5825655EOpHxh','7Gffoon','2ddXbCp','8eGJuWB','exports','9855387xnfGbr'];_0xe82b=function(){return _0x21fd0d;};return _0xe82b();}const e={'print':{'menu':_0x1d73e8(0x155)}};function _0x4746(_0x225e0e,_0x118039){_0x225e0e=_0x225e0e-0x14b;const _0xe82bf4=_0xe82b();let _0x47460d=_0xe82bf4[_0x225e0e];return _0x47460d;}module[_0x1d73e8(0x152)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x23c562=_0x429f;(function(_0x5bbd2f,_0xf62a7c){const _0x34565b=_0x429f,_0x3fea19=_0x5bbd2f();while(!![]){try{const _0x1b6800=-parseInt(_0x34565b(0x8a))/0x1+-parseInt(_0x34565b(0x88))/0x2*(-parseInt(_0x34565b(0x91))/0x3)+-parseInt(_0x34565b(0x8c))/0x4*(parseInt(_0x34565b(0x8b))/0x5)+-parseInt(_0x34565b(0x90))/0x6*(parseInt(_0x34565b(0x8f))/0x7)+-parseInt(_0x34565b(0x87))/0x8+-parseInt(_0x34565b(0x92))/0x9*(parseInt(_0x34565b(0x89))/0xa)+parseInt(_0x34565b(0x8e))/0xb;if(_0x1b6800===_0xf62a7c)break;else _0x3fea19['push'](_0x3fea19['shift']());}catch(_0x30a1e3){_0x3fea19['push'](_0x3fea19['shift']());}}}(_0x566b,0xcf288));function _0x566b(){const _0x18360e=['4BTPCQL','exports','57751474FPhrCv','30779YCdtpM','1002oVcQLo','3veRzjp','9WAQEVZ','804024rhbzkE','484708ETGKkl','16936130rOhFEL','760079LotFVo','6777370VLlBJn'];_0x566b=function(){return _0x18360e;};return _0x566b();}const e={'print':{'menu':'In'}};function _0x429f(_0x5c4f8b,_0x3bc14d){_0x5c4f8b=_0x5c4f8b-0x87;const _0x566bc1=_0x566b();let _0x429f65=_0x566bc1[_0x5c4f8b];return _0x429f65;}module[_0x23c562(0x8d)]=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x11c27c=_0x50fc;function _0x37b6(){const _0x204cc3=['4fQgDGe','1294120vwibHN','5677QRQSMV','265897RsPuIT','24CYfWIt','4812230CTodgi','1608840qgrrMG','37140mHgTmI','11kRZvpZ','16XEVecL','exports','58809dNdeGm'];_0x37b6=function(){return _0x204cc3;};return _0x37b6();}function _0x50fc(_0x1549fe,_0x4cf26e){_0x1549fe=_0x1549fe-0xb8;const _0x37b603=_0x37b6();let _0x50fc9f=_0x37b603[_0x1549fe];return _0x50fc9f;}(function(_0x12b38a,_0x686128){const _0xa1b4d4=_0x50fc,_0x1c9405=_0x12b38a();while(!![]){try{const _0x5389c9=-parseInt(_0xa1b4d4(0xc2))/0x1+-parseInt(_0xa1b4d4(0xbf))/0x2*(parseInt(_0xa1b4d4(0xbe))/0x3)+-parseInt(_0xa1b4d4(0xbc))/0x4*(-parseInt(_0xa1b4d4(0xba))/0x5)+parseInt(_0xa1b4d4(0xc3))/0x6*(parseInt(_0xa1b4d4(0xc1))/0x7)+parseInt(_0xa1b4d4(0xc0))/0x8+-parseInt(_0xa1b4d4(0xb9))/0x9+parseInt(_0xa1b4d4(0xb8))/0xa*(parseInt(_0xa1b4d4(0xbb))/0xb);if(_0x5389c9===_0x686128)break;else _0x1c9405['push'](_0x1c9405['shift']());}catch(_0x1d3e1b){_0x1c9405['push'](_0x1c9405['shift']());}}}(_0x37b6,0x2ee51));const e={'print':{'menu':'打印'}};module[_0x11c27c(0xbd)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2314(_0x2e01de,_0x505b09){_0x2e01de=_0x2e01de-0x8b;const _0x378451=_0x3784();let _0x2314c0=_0x378451[_0x2e01de];return _0x2314c0;}const _0x565f97=_0x2314;(function(_0x5b6ff8,_0x333590){const _0x3bec7c=_0x2314,_0x1be844=_0x5b6ff8();while(!![]){try{const _0x403ce8=parseInt(_0x3bec7c(0x8d))/0x1+-parseInt(_0x3bec7c(0x94))/0x2*(-parseInt(_0x3bec7c(0x96))/0x3)+parseInt(_0x3bec7c(0x92))/0x4+-parseInt(_0x3bec7c(0x93))/0x5+-parseInt(_0x3bec7c(0x90))/0x6*(parseInt(_0x3bec7c(0x91))/0x7)+-parseInt(_0x3bec7c(0x8c))/0x8*(parseInt(_0x3bec7c(0x8f))/0x9)+-parseInt(_0x3bec7c(0x8b))/0xa*(-parseInt(_0x3bec7c(0x95))/0xb);if(_0x403ce8===_0x333590)break;else _0x1be844['push'](_0x1be844['shift']());}catch(_0x2c8764){_0x1be844['push'](_0x1be844['shift']());}}}(_0x3784,0x9ae65));function _0x3784(){const _0x20f2a7=['2wYKnHo','132jKazCp','1507515PXYMDj','639670QELPrC','1274072MgSgcZ','1188177hRnhPI','exports','27rvSaXh','6049542hmoanm','7yBgYHu','928252BQBprZ','2849230SikJOS'];_0x3784=function(){return _0x20f2a7;};return _0x3784();}const e={'print':{'menu':'列印'}};module[_0x565f97(0x8e)]=e;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x44fd72=_0x2380;(function(_0x42c306,_0x227b63){const _0x249b1d=_0x2380,_0x3a113f=_0x42c306();while(!![]){try{const _0x37e319=-parseInt(_0x249b1d(0x17d))/0x1+-parseInt(_0x249b1d(0x197))/0x2*(parseInt(_0x249b1d(0x176))/0x3)+parseInt(_0x249b1d(0x189))/0x4*(parseInt(_0x249b1d(0x1c2))/0x5)+-parseInt(_0x249b1d(0x163))/0x6*(parseInt(_0x249b1d(0x1a7))/0x7)+-parseInt(_0x249b1d(0x180))/0x8*(-parseInt(_0x249b1d(0x15b))/0x9)+parseInt(_0x249b1d(0x18f))/0xa+parseInt(_0x249b1d(0x193))/0xb;if(_0x37e319===_0x227b63)break;else _0x3a113f['push'](_0x3a113f['shift']());}catch(_0x2202f1){_0x3a113f['push'](_0x3a113f['shift']());}}}(_0x11f4,0xb1243));import{CommandType as _0x4c311b,DependentOn as _0x2b8540,Disposable as _0x4c63cb,DisposableCollection as _0xc7db82,DocumentFlavor as _0x384f6b,ICommandService as _0x936387,IConfigService as _0xac0276,IUniverInstanceService as _0x4b7b4f,Inject as _0x57db28,Injector as _0x1ebb60,Plugin as _0x5b678c,UniverInstanceType as _0x1d4236,generateRandomId as _0x1581b2,merge as _0x5deb42,registerDependencies as _0x1a15fc}from'@univerjs/core';import{DocPrintInterceptorService as _0x30e461,SwitchDocModeCommand as _0x17e052,VIEWPORT_KEY as _0x53ec46}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x520df8,Documents as _0x3df8a3,Engine as _0x500a3a,IRenderManagerService as _0x4dfd2b,Scene as _0x3cb53d,Viewport as _0x505bd6}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x236049,UniverLicensePlugin as _0xdcedeb,getDocFeatureLimit as _0x156c63,getLicenseInfo as _0xfd1b82,isFeatureAuthorizedWithinTime as _0x329464,isLocalCheck as _0x34b8ac}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x3cbec7,PRINT_CONTAINER_CLASS as _0x2e0b3c,PrintDirection as _0xa974ca,createPrintStyle as _0x3b30cc}from'@univerjs-pro/print';function _0x11f4(){const _0x4a9705=['_viewMain','with','container','_menuManagerService','20MctWPi','body','_calculateLayout','setConfig','0px','forEach','_initMenus','constructor','_config','page','getUnit','_globalZoneService','length','_injector','OTHERS','pages','BUTTON','removeChild','print','getOffsetConfig','_page','style','disposeWithMe','PRINTING_COMPONENT_COLLECT','Pages\x20are\x20not\x20found','_offsetConfig','onbeforeprint','_currentRender','width','getDocumentStyle','_container','__DocPrintRender__','min','2151NCAPOW','close','TRADITIONAL','_skeletonData','menu','getCanvas','PRINTING_DOM_COLLECT','OPERATION','6241866vanyEj','string','getConfig','pluginName','version','onafterprint','getUnitId','defineProperty','getOwnPropertyDescriptor','PrintIcon','_configService','register','_unitId','_commandService','_scene','_initRenderer','translate','className','UNIVER_DOCS_PRINT','2613576OcwhHy','height','UNIVER_DOC','pageHeight','function','_initCommands','setContainer','180372PtNMYB','prepare','_univerInstanceService','17648bCrsFL','_addViewport','get','object','100%','left','_engine','fill','div','163312dvXvon','map','interceptor','iterator','appendChild','updateScrollVal','1462490TgtOIf','timeValid','DocumentDataModel\x20is\x20not\x20found','print.menu','21787161wYrXGR','getSkeletonData','_documents','0.18.0','2lDWIZt','registerCommand','dispose','_addComponent','getRenderById','symbol','syncExecuteCommand','_initComponents','default','root','_renderManagerService','createElement','absolute','documentFlavor','valid','onStarting','7mfBCxe','_root','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','docs.operation.print','getContext','_componentManager','getInterceptPoints','decorate','pageWidth','_skeleton','type','Skeleton\x20data\x20is\x20not\x20found','setId','Render\x20is\x20not\x20found','_effects','restore','fetchThroughInterceptors','render','_key','_paperSize','top','getSkeleton','addObject'];_0x11f4=function(){return _0x4a9705;};return _0x11f4();}import{DocSkeletonManagerService as _0x4df786}from'@univerjs/docs';import{ComponentManager as _0x18ea71,IGlobalZoneService as _0x49064e,IMenuManagerService as _0x135389,MenuItemType as _0x5df1bb,RibbonStartGroup as _0x5ed32b,getMenuHiddenObservable as _0x976a54}from'@univerjs/ui';import{UniverNetworkPlugin as _0x4d905d}from'@univerjs/network';function _0x2380(_0x4a9d08,_0x4ca34f){_0x4a9d08=_0x4a9d08-0x155;const _0x11f4d1=_0x11f4();let _0x238025=_0x11f4d1[_0x4a9d08];return _0x238025;}import{PrintIcon as _0x7d6a96}from'@univerjs/icons';function z(_0x1d1ecb){'@babel/helpers - typeof';const _0x370a9f=_0x2380;return z=typeof Symbol==_0x370a9f(0x17a)&&typeof Symbol[_0x370a9f(0x18c)]==_0x370a9f(0x19c)?function(_0x1bc68e){return typeof _0x1bc68e;}:function(_0x199fc3){const _0x48dbd4=_0x370a9f;return _0x199fc3&&typeof Symbol==_0x48dbd4(0x17a)&&_0x199fc3[_0x48dbd4(0x1c9)]===Symbol&&_0x199fc3!==Symbol['prototype']?_0x48dbd4(0x19c):typeof _0x199fc3;},z(_0x1d1ecb);}function B(_0x454321,_0x51c64d){const _0xd40c3f=_0x2380;if(z(_0x454321)!=_0xd40c3f(0x183)||!_0x454321)return _0x454321;var _0x50f615=_0x454321[Symbol['toPrimitive']];if(_0x50f615!==void 0x0){var _0x473bee=_0x50f615['call'](_0x454321,_0x51c64d||_0xd40c3f(0x19f));if(z(_0x473bee)!=_0xd40c3f(0x183))return _0x473bee;throw TypeError(_0xd40c3f(0x1a9));}return(_0x51c64d===_0xd40c3f(0x164)?String:Number)(_0x454321);}function V(_0x3a5d11){const _0x1f22cd=_0x2380;var _0x44ae37=B(_0x3a5d11,_0x1f22cd(0x164));return z(_0x44ae37)==_0x1f22cd(0x19c)?_0x44ae37:_0x44ae37+'';}function H(_0x4f28a6,_0x3399a9,_0x327876){const _0x27f81e=_0x2380;return(_0x3399a9=V(_0x3399a9))in _0x4f28a6?Object[_0x27f81e(0x16a)](_0x4f28a6,_0x3399a9,{'value':_0x327876,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f28a6[_0x3399a9]=_0x327876,_0x4f28a6;}var U=class extends _0x4c63cb{get[_0x44fd72(0x1c0)](){const _0x56bc58=_0x44fd72;return this[_0x56bc58(0x158)];}get[_0x44fd72(0x1a0)](){const _0x389320=_0x44fd72;return this[_0x389320(0x1a8)];}get[_0x44fd72(0x155)](){const _0x27029f=_0x44fd72;let _0x2eecd9=this[_0x27029f(0x1cf)][_0x27029f(0x182)](_0x4dfd2b)[_0x27029f(0x19b)](this[_0x27029f(0x16f)]);if(!_0x2eecd9)throw Error('Render\x20is\x20not\x20found');return _0x2eecd9;}get[_0x44fd72(0x1b0)](){const _0x5d3970=_0x44fd72;return this[_0x5d3970(0x155)]['with'](_0x4df786)['getSkeleton']();}get[_0x44fd72(0x15e)](){const _0x438fb0=_0x44fd72;let _0x4830bc=this['_skeleton']['getSkeletonData']();if(!_0x4830bc)throw Error(_0x438fb0(0x1b2));return _0x4830bc;}get[_0x44fd72(0x1ba)](){const _0x365188=_0x44fd72;let _0x460cd7=this[_0x365188(0x15e)]['pages'][0x0];return{'width':_0x460cd7[_0x365188(0x1af)],'height':_0x460cd7[_0x365188(0x179)]};}constructor(_0x381999,_0x3a7f07,_0x2d7633,_0x507885){const _0x1b4710=_0x44fd72;super(),this[_0x1b4710(0x1cf)]=_0x381999,this[_0x1b4710(0x1d6)]=_0x3a7f07,this[_0x1b4710(0x16f)]=_0x2d7633,this[_0x1b4710(0x1db)]=_0x507885,H(this,_0x1b4710(0x158),document[_0x1b4710(0x1a2)]('div')),H(this,'_root',document[_0x1b4710(0x1a2)]('div')),H(this,_0x1b4710(0x186),void 0x0),H(this,_0x1b4710(0x171),void 0x0),H(this,_0x1b4710(0x1b9),void 0x0),H(this,_0x1b4710(0x195),void 0x0),H(this,'_viewMain',void 0x0),H(this,'_effects',new _0xc7db82()),this[_0x1b4710(0x1b9)]=_0x1581b2(0x4),this[_0x1b4710(0x172)](),this[_0x1b4710(0x1d8)]({'dispose':()=>{const _0x39003b=_0x1b4710;this[_0x39003b(0x186)][_0x39003b(0x199)](),this[_0x39003b(0x171)][_0x39003b(0x199)](),this[_0x39003b(0x1b5)][_0x39003b(0x199)]();}});}[_0x44fd72(0x1c4)](){const _0x5afb16=_0x44fd72;let {docsTop:_0x37c72e,docsLeft:_0x2f2f27}=this[_0x5afb16(0x195)]['getOffsetConfig'](),_0x2d18fc=this[_0x5afb16(0x1ba)]['height'],_0x4f2f35=this[_0x5afb16(0x1ba)][_0x5afb16(0x156)];return{'top':_0x37c72e+(_0x37c72e+_0x2d18fc)*this['_page'],'bottom':_0x37c72e+(_0x37c72e+_0x2d18fc)*(this[_0x5afb16(0x1d6)]+0x1),'left':_0x2f2f27,'right':_0x2f2f27+_0x4f2f35};}[_0x44fd72(0x172)](){const _0x5209f9=_0x44fd72;this[_0x5209f9(0x186)]=new _0x500a3a('',{'elementWidth':this['_paperSize']['width'],'elementHeight':this['_paperSize'][_0x5209f9(0x177)],'dpr':0x1,'renderMode':_0x520df8['Printing']}),this[_0x5209f9(0x171)]=new _0x3cb53d(this[_0x5209f9(0x1b9)],this['_engine']),this['_scene']['scale'](0x1,0x1),this['_engine'][_0x5209f9(0x17c)](this[_0x5209f9(0x158)],!0x1),this['_engine'][_0x5209f9(0x160)]()[_0x5209f9(0x1ab)]()[_0x5209f9(0x1b3)](this[_0x5209f9(0x1b9)]+'_'+_0x1581b2(0x4)),this['_addComponent'](),this[_0x5209f9(0x181)]();}[_0x44fd72(0x19a)](){const _0x2c67d=_0x44fd72;let {pageMarginLeft:_0x491092,pageMarginTop:_0x8cafd2,docsLeft:_0x3dabcc,docsTop:_0x259b5c}=this[_0x2c67d(0x1db)],_0x74db75={'pageMarginLeft':_0x491092,'pageMarginTop':_0x8cafd2},_0x440ccc=new _0x3df8a3(_0x2c67d(0x159),this[_0x2c67d(0x1b0)],_0x74db75);_0x440ccc[_0x2c67d(0x173)](_0x3dabcc,_0x259b5c),this['_scene'][_0x2c67d(0x1bd)](_0x440ccc),this[_0x2c67d(0x195)]=_0x440ccc;let _0x349241=this[_0x2c67d(0x1cf)][_0x2c67d(0x182)](_0x30e461);_0x349241[_0x2c67d(0x18b)][_0x2c67d(0x1b7)](_0x349241[_0x2c67d(0x18b)][_0x2c67d(0x1ad)]()[_0x2c67d(0x1d9)])(void 0x0,{'unitId':this[_0x2c67d(0x16f)],'scene':this['_scene'],'engine':this[_0x2c67d(0x186)],'root':this[_0x2c67d(0x1a8)],'documents':this[_0x2c67d(0x195)],'skeleton':this[_0x2c67d(0x1b0)]});}[_0x44fd72(0x181)](){const _0x5bf249=_0x44fd72;this[_0x5bf249(0x1be)]=new _0x505bd6(_0x53ec46['VIEW_MAIN'],this[_0x5bf249(0x171)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x44fd72(0x17e)](){const _0x2d4518=_0x44fd72;let _0x4bd166=this[_0x2d4518(0x1c4)]();this[_0x2d4518(0x1be)][_0x2d4518(0x18e)]({'viewportScrollX':_0x4bd166[_0x2d4518(0x185)],'viewportScrollY':_0x4bd166[_0x2d4518(0x1bb)]}),this['_root'][_0x2d4518(0x1d7)]['position']=_0x2d4518(0x1a3),this[_0x2d4518(0x1a8)][_0x2d4518(0x1d7)]['top']=_0x2d4518(0x1c6),this[_0x2d4518(0x1a8)][_0x2d4518(0x1d7)]['left']=_0x2d4518(0x1c6),this['_root'][_0x2d4518(0x1d7)][_0x2d4518(0x156)]='100%',this['_root'][_0x2d4518(0x1d7)]['height']=_0x2d4518(0x184),this[_0x2d4518(0x1b5)]=new _0xc7db82();let _0x5245ac=this[_0x2d4518(0x1cf)][_0x2d4518(0x182)](_0x30e461);_0x5245ac[_0x2d4518(0x18b)][_0x2d4518(0x1b7)](_0x5245ac[_0x2d4518(0x18b)]['getInterceptPoints']()[_0x2d4518(0x161)])(this[_0x2d4518(0x1b5)],{'unitId':this[_0x2d4518(0x16f)],'scene':this[_0x2d4518(0x171)],'engine':this[_0x2d4518(0x186)],'root':this['_root'],'skeleton':this['_skeleton'],'offset':{'x':_0x4bd166[_0x2d4518(0x185)],'y':_0x4bd166[_0x2d4518(0x1bb)]},'bound':{'top':_0x4bd166['top'],'left':_0x4bd166['left'],'right':_0x4bd166['right'],'bottom':_0x4bd166['bottom']}});}[_0x44fd72(0x1b8)](){const _0x1c3023=_0x44fd72;let _0x22201f=this['_engine']['getCanvas']()[_0x1c3023(0x1ab)]();this[_0x1c3023(0x195)]['makeForceDirty'](),this[_0x1c3023(0x171)]['makeDirty'](),_0x22201f['save'](),this[_0x1c3023(0x171)]['render'](),_0x22201f[_0x1c3023(0x1b6)]();}};function W(_0x522499,_0x2eed0b){return function(_0x317034,_0x32052c){_0x2eed0b(_0x317034,_0x32052c,_0x522499);};}function G(_0x48db6b,_0x3f6f22,_0xe3a2a4,_0x47c1cb){const _0x435c28=_0x44fd72;var _0x4dfdf9=arguments[_0x435c28(0x1ce)],_0x1aea52=_0x4dfdf9<0x3?_0x3f6f22:_0x47c1cb===null?_0x47c1cb=Object[_0x435c28(0x16b)](_0x3f6f22,_0xe3a2a4):_0x47c1cb,_0x36e140;if(typeof Reflect==_0x435c28(0x183)&&typeof Reflect[_0x435c28(0x1ae)]==_0x435c28(0x17a))_0x1aea52=Reflect[_0x435c28(0x1ae)](_0x48db6b,_0x3f6f22,_0xe3a2a4,_0x47c1cb);else{for(var _0x15e64a=_0x48db6b[_0x435c28(0x1ce)]-0x1;_0x15e64a>=0x0;_0x15e64a--)(_0x36e140=_0x48db6b[_0x15e64a])&&(_0x1aea52=(_0x4dfdf9<0x3?_0x36e140(_0x1aea52):_0x4dfdf9>0x3?_0x36e140(_0x3f6f22,_0xe3a2a4,_0x1aea52):_0x36e140(_0x3f6f22,_0xe3a2a4))||_0x1aea52);}return _0x4dfdf9>0x3&&_0x1aea52&&Object[_0x435c28(0x16a)](_0x3f6f22,_0xe3a2a4,_0x1aea52),_0x1aea52;}const K=Number['parseInt'](0x69ba7036),q=(_0x2dd245,_0x26a2f9,_0x3fb3d9)=>{const _0x15e573=_0x44fd72;let _0x2668ae={'page':_0x2dd245,'isPro':!0x1,'timeValid':!0x1};if(!_0x26a2f9||!_0x3fb3d9)return _0x2668ae;let _0x3e9bfc=_0xfd1b82(_0x26a2f9,_0x3fb3d9);if(_0x3e9bfc[_0x15e573(0x1a5)]){let _0x583409=_0x3e9bfc['message'],_0x15e1fc=_0x329464(_0x583409,'df',K);_0x2668ae['isPro']=_0x15e1fc,_0x2668ae[_0x15e573(0x190)]=_0x15e1fc,_0x2668ae['page']=_0x156c63(_0x583409,_0x15e1fc,'mpn',_0x2dd245,_0x2dd245,0x0);}return _0x2668ae;};let J=class extends _0x4c63cb{constructor(_0x3d64f7,_0x26199e,_0x387ba8,_0x3d5bb8,_0x28211d){const _0x43d024=_0x44fd72;super(),this[_0x43d024(0x17f)]=_0x3d64f7,this[_0x43d024(0x1a1)]=_0x26199e,this[_0x43d024(0x1cf)]=_0x387ba8,this[_0x43d024(0x16d)]=_0x3d5bb8,this['_globalZoneService']=_0x28211d;}[_0x44fd72(0x1d4)](_0x54db1c){const _0x4a8614=_0x44fd72;var _0x4e0713,_0x5615dc;let {ls:_0x18fcbf,pbk:_0x15d38a}=(_0x4e0713=this[_0x4a8614(0x16d)][_0x4a8614(0x165)](_0x236049))==null?{}:_0x4e0713,_0x57c8ef=_0x34b8ac()?0x1/0x0:q(0x1,_0x18fcbf,_0x15d38a)[_0x4a8614(0x1cb)];if(!this[_0x4a8614(0x17f)][_0x4a8614(0x1cc)](_0x54db1c,_0x1d4236[_0x4a8614(0x178)]))throw Error(_0x4a8614(0x191));let _0x4fea59=this[_0x4a8614(0x1a1)][_0x4a8614(0x19b)](_0x54db1c);if(!_0x4fea59)throw Error('Render\x20is\x20not\x20found');let _0xc75524=(_0x5615dc=_0x4fea59[_0x4a8614(0x1bf)](_0x4df786)[_0x4a8614(0x1bc)]()[_0x4a8614(0x194)]())==null?void 0x0:_0x5615dc[_0x4a8614(0x1d1)];if(!_0xc75524)throw Error(_0x4a8614(0x1da));let _0x2c8de1={'width':_0xc75524[0x0][_0x4a8614(0x1af)],'height':_0xc75524[0x0]['pageHeight']},_0x336488=_0xc75524[_0x4a8614(0x1ce)],_0x566498=Math[_0x4a8614(0x15a)](_0x57c8ef,_0x336488),_0x5793c0=_0x4fea59['mainComponent'][_0x4a8614(0x1d5)](),_0x42b1e9=document[_0x4a8614(0x1a2)](_0x4a8614(0x188));_0x42b1e9['className']=_0x2e0b3c;let _0x2a5ef8=Array(_0x566498)[_0x4a8614(0x187)](null)[_0x4a8614(0x18a)]((_0x2b033b,_0x402c73)=>{const _0x1e6673=_0x4a8614;let _0x159d42=new U(this[_0x1e6673(0x1cf)],_0x402c73,_0x54db1c,_0x5793c0);return _0x159d42['container'][_0x1e6673(0x174)]=_0x3cbec7,_0x159d42;});_0x2a5ef8[_0x4a8614(0x1c7)](_0x4e36a3=>{const _0xc4524=_0x4a8614;_0x42b1e9[_0xc4524(0x18d)](_0x4e36a3[_0xc4524(0x1c0)]),_0x4e36a3[_0xc4524(0x1c0)]['appendChild'](_0x4e36a3[_0xc4524(0x1a0)]),_0x4e36a3[_0xc4524(0x17e)]();});let _0x1909a0=_0x3b30cc(_0x2c8de1['width'],_0x2c8de1['height'],_0xa974ca['Portrait']);return document[_0x4a8614(0x1c3)]['appendChild'](_0x1909a0),document[_0x4a8614(0x1c3)][_0x4a8614(0x18d)](_0x42b1e9),new Promise(_0x540cb3=>{setTimeout(()=>{const _0x4cb981=_0x2380;window[_0x4cb981(0x1dc)]=()=>{const _0xa6d8c3=_0x4cb981;_0x2a5ef8[_0xa6d8c3(0x1c7)](_0x5985ca=>{_0x5985ca['render']();});},window[_0x4cb981(0x168)]=()=>{const _0x30cdf3=_0x4cb981;_0x2a5ef8[_0x30cdf3(0x1c7)](_0x457b3e=>{const _0x1db7b5=_0x30cdf3;_0x457b3e[_0x1db7b5(0x199)]();}),document['body'][_0x30cdf3(0x1d3)](_0x42b1e9),document[_0x30cdf3(0x1c3)][_0x30cdf3(0x1d3)](_0x1909a0),this[_0x30cdf3(0x1cd)][_0x30cdf3(0x15c)](),_0x540cb3(!0x0);},window[_0x4cb981(0x1d4)]();},0x64);});}};J=G([W(0x0,_0x4b7b4f),W(0x1,_0x4dfd2b),W(0x2,_0x57db28(_0x1ebb60)),W(0x3,_0xac0276),W(0x4,_0x49064e)],J);const Y={'id':_0x44fd72(0x1aa),'type':_0x4c311b[_0x44fd72(0x162)],'handler':async _0x309013=>{const _0x3cf53b=_0x44fd72;let _0x4ade9a=_0x309013[_0x3cf53b(0x182)](_0x4b7b4f),_0x527fc4=_0x309013[_0x3cf53b(0x182)](J),_0x5a1e17=_0x309013['get'](_0x4dfd2b),_0x13e84a=_0x309013[_0x3cf53b(0x182)](_0x936387),_0x54c624=_0x4ade9a['getCurrentUnitOfType'](_0x1d4236[_0x3cf53b(0x178)]);if(!_0x54c624)return!0x1;if(!_0x5a1e17[_0x3cf53b(0x19b)](_0x54c624[_0x3cf53b(0x169)]()))throw Error(_0x3cf53b(0x1b4));let _0x552292=_0x54c624[_0x3cf53b(0x157)]()[_0x3cf53b(0x1a4)];return _0x552292!==_0x384f6b['TRADITIONAL']&&_0x13e84a[_0x3cf53b(0x19d)](_0x17e052['id']),await _0x527fc4[_0x3cf53b(0x1d4)](_0x54c624[_0x3cf53b(0x169)]()),_0x552292!==_0x384f6b[_0x3cf53b(0x15d)]&&_0x13e84a[_0x3cf53b(0x19d)](_0x17e052['id']),!0x0;}},X=_0x44fd72(0x175),Z={};var ie='@univerjs-pro/docs-print',ae=_0x44fd72(0x196);function oe(_0x3b231a){const _0x1b9fdc=_0x44fd72;return{'id':Y['id'],'type':_0x5df1bb[_0x1b9fdc(0x1d2)],'title':_0x1b9fdc(0x192),'icon':_0x1b9fdc(0x16c),'tooltip':'print.menu','hidden$':_0x976a54(_0x3b231a,_0x1d4236[_0x1b9fdc(0x178)])};}const se={[_0x5ed32b[_0x44fd72(0x1d0)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x4c63cb{constructor(_0x337518,_0x131352,_0x36a9a9){const _0x36f969=_0x44fd72;super(),this['_commandService']=_0x337518,this['_menuManagerService']=_0x131352,this[_0x36f969(0x1ac)]=_0x36a9a9,this[_0x36f969(0x1c8)](),this['_initCommands'](),this[_0x36f969(0x19e)]();}[_0x44fd72(0x1c8)](){const _0x2cec68=_0x44fd72;this[_0x2cec68(0x1c1)]['mergeMenu'](se);}[_0x44fd72(0x17b)](){const _0x6b9a3=_0x44fd72;this[_0x6b9a3(0x1d8)](this[_0x6b9a3(0x170)][_0x6b9a3(0x198)](Y));}[_0x44fd72(0x19e)](){const _0x20a78c=_0x44fd72;[[_0x20a78c(0x16c),_0x7d6a96]][_0x20a78c(0x1c7)](([_0x1677e8,_0x54cab9])=>{const _0xd0e9d4=_0x20a78c;this['_componentManager'][_0xd0e9d4(0x16e)](_0x1677e8,_0x54cab9);});}};Q=G([W(0x0,_0x936387),W(0x1,_0x135389),W(0x2,_0x57db28(_0x18ea71))],Q);let $=class extends _0x5b678c{constructor(_0x44f2f7=Z,_0x3403f3,_0x47585e){const _0x713726=_0x44fd72;super(),this[_0x713726(0x1ca)]=_0x44f2f7,this[_0x713726(0x1cf)]=_0x3403f3,this[_0x713726(0x16d)]=_0x47585e;let {menu:_0x3c5d06,..._0x51a2d0}=_0x5deb42({},Z,this[_0x713726(0x1ca)]);_0x3c5d06&&this[_0x713726(0x16d)][_0x713726(0x1c5)](_0x713726(0x15f),_0x3c5d06,{'merge':!0x0}),this[_0x713726(0x16d)]['setConfig'](X,_0x51a2d0);}[_0x44fd72(0x1a6)](){const _0x3e42e1=_0x44fd72;_0x1a15fc(this[_0x3e42e1(0x1cf)],[[J],[Q]]);}['onReady'](){const _0x876250=_0x44fd72;this[_0x876250(0x1cf)][_0x876250(0x182)](Q);}};H($,_0x44fd72(0x166),'UNIVER_DOCS_PRINT'),H($,'packageName',ie),H($,_0x44fd72(0x167),ae),H($,_0x44fd72(0x1b1),_0x1d4236[_0x44fd72(0x178)]),$=G([_0x2b8540(_0x4d905d,_0xdcedeb),W(0x1,_0x57db28(_0x1ebb60)),W(0x2,_0xac0276)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x1d3bb6=_0x1345;(function(_0x1236ff,_0x22530a){const _0x242296=_0x1345,_0x394251=_0x1236ff();while(!![]){try{const _0x1335a3=parseInt(_0x242296(0x1a9))/0x1*(-parseInt(_0x242296(0x13c))/0x2)+parseInt(_0x242296(0x157))/0x3+-parseInt(_0x242296(0x175))/0x4+parseInt(_0x242296(0x1b8))/0x5+-parseInt(_0x242296(0x1b2))/0x6+parseInt(_0x242296(0x17a))/0x7*(parseInt(_0x242296(0x190))/0x8)+parseInt(_0x242296(0x142))/0x9;if(_0x1335a3===_0x22530a)break;else _0x394251['push'](_0x394251['shift']());}catch(_0x22df25){_0x394251['push'](_0x394251['shift']());}}}(_0x4e55,0x49087));function _0x1345(_0x29913c,_0x495022){_0x29913c=_0x29913c-0x12d;const _0x4e5579=_0x4e55();let _0x1345aa=_0x4e5579[_0x29913c];return _0x1345aa;}import{CommandType as _0x3c71a0,DependentOn as _0xd04a0c,Disposable as _0x4d18f8,DisposableCollection as _0x5abd34,DocumentFlavor as _0xc02732,ICommandService as _0x56d091,IConfigService as _0x419f94,IUniverInstanceService as _0x32a805,Inject as _0x1d2ae0,Injector as _0x334fba,Plugin as _0x336e77,UniverInstanceType as _0x48c5b1,generateRandomId as _0x132189,merge as _0x1d6dd6,registerDependencies as _0x373678}from'@univerjs/core';import{DocPrintInterceptorService as _0x515fa3,SwitchDocModeCommand as _0x250ccb,VIEWPORT_KEY as _0x476c2b}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x1455d9,Documents as _0x462701,Engine as _0x1c9c71,IRenderManagerService as _0xa9a2d6,Scene as _0x30cdae,Viewport as _0x44db34}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x1be285,UniverLicensePlugin as _0x91e987,getDocFeatureLimit as _0x33119b,getLicenseInfo as _0x3a9ea8,isFeatureAuthorizedWithinTime as _0x8ce9f3,isLocalCheck as _0x23a9b}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x25f17e,PRINT_CONTAINER_CLASS as _0x1cca1b,PrintDirection as _0x41ba89,createPrintStyle as _0x4383da}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x382e28}from'@univerjs/docs';import{ComponentManager as _0x5912e3,IGlobalZoneService as _0xd11384,IMenuManagerService as _0x382fd7,MenuItemType as _0x29c378,RibbonStartGroup as _0x5b5fe9,getMenuHiddenObservable as _0x314c4d}from'@univerjs/ui';function _0x4e55(){const _0x2ffdd1=['message','call','length','1836948xIINAg','default','render','print','_addViewport','325087KyoukV','createElement','_unitId','_page','style','pageWidth','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','scale','OTHERS','container','width','type','_scene','top','object','parseInt','onStarting','_root','Pages\x20are\x20not\x20found','decorate','getDocumentStyle','version','8ipKKcR','@univerjs-pro/docs-print','_commandService','getSkeleton','PRINTING_COMPONENT_COLLECT','string','_container','close','pages','with','syncExecuteCommand','prepare','interceptor','_effects','addObject','_skeleton','Portrait','documentFlavor','makeDirty','dispose','_configService','mpn','Render\x20is\x20not\x20found','constructor','_offsetConfig','538339JyVlxe','_initCommands','onbeforeprint','left','menu','0px','setContainer','disposeWithMe','onReady','268722ymlutk','getUnitId','makeForceDirty','function','__DocPrintRender__','page','2233320wyDMdq','getSkeletonData','defineProperty','getCurrentUnitOfType','symbol','_addComponent','translate','100%','_initMenus','0.19.0','_componentManager','_globalZoneService','getUnit','prototype','pageHeight','_menuManagerService','2yODNay','packageName','_documents','getConfig','getOffsetConfig','_paperSize','5120028feTRRV','forEach','getRenderById','removeChild','_renderManagerService','valid','fetchThroughInterceptors','appendChild','PrintIcon','Printing','className','pluginName','_calculateLayout','getInterceptPoints','_injector','getCanvas','position','_engine','setId','restore','root','838527TSrBfb','_univerInstanceService','fill','div','_viewMain','timeValid','PRINTING_DOM_COLLECT','setConfig','height','getOwnPropertyDescriptor','getContext','print.menu','toPrimitive','isPro','OPERATION','_key','_initComponents','get','VIEW_MAIN','mainComponent','UNIVER_DOC','body','_skeletonData','onafterprint','TRADITIONAL','_currentRender','_initRenderer'];_0x4e55=function(){return _0x2ffdd1;};return _0x4e55();}import{UniverNetworkPlugin as _0x17e3de}from'@univerjs/network';import{PrintIcon as _0x4a68f8}from'@univerjs/icons';function z(_0x4be1d5){'@babel/helpers - typeof';const _0x15027a=_0x1345;return z=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x15027a(0x130)?function(_0x368aa9){return typeof _0x368aa9;}:function(_0x5b2b97){const _0xe6b777=_0x15027a;return _0x5b2b97&&typeof Symbol==_0xe6b777(0x1b5)&&_0x5b2b97[_0xe6b777(0x1a7)]===Symbol&&_0x5b2b97!==Symbol[_0xe6b777(0x139)]?_0xe6b777(0x130):typeof _0x5b2b97;},z(_0x4be1d5);}function B(_0x4c0731,_0x19b294){const _0x5648d4=_0x1345;if(z(_0x4c0731)!=_0x5648d4(0x188)||!_0x4c0731)return _0x4c0731;var _0x11f05f=_0x4c0731[Symbol[_0x5648d4(0x163)]];if(_0x11f05f!==void 0x0){var _0x2774ff=_0x11f05f[_0x5648d4(0x173)](_0x4c0731,_0x19b294||_0x5648d4(0x176));if(z(_0x2774ff)!='object')return _0x2774ff;throw TypeError(_0x5648d4(0x180));}return(_0x19b294===_0x5648d4(0x195)?String:Number)(_0x4c0731);}function V(_0x50fca0){const _0x39ea96=_0x1345;var _0xb2721c=B(_0x50fca0,'string');return z(_0xb2721c)==_0x39ea96(0x130)?_0xb2721c:_0xb2721c+'';}function H(_0x2f3489,_0x515687,_0x122d75){const _0x2a73d2=_0x1345;return(_0x515687=V(_0x515687))in _0x2f3489?Object[_0x2a73d2(0x12e)](_0x2f3489,_0x515687,{'value':_0x122d75,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2f3489[_0x515687]=_0x122d75,_0x2f3489;}var U=class extends _0x4d18f8{get[_0x1d3bb6(0x183)](){const _0x3b555f=_0x1d3bb6;return this[_0x3b555f(0x196)];}get['root'](){const _0x101774=_0x1d3bb6;return this[_0x101774(0x18b)];}get[_0x1d3bb6(0x170)](){const _0x3bca7d=_0x1d3bb6;let _0x39c8a8=this[_0x3bca7d(0x150)]['get'](_0xa9a2d6)[_0x3bca7d(0x144)](this[_0x3bca7d(0x17c)]);if(!_0x39c8a8)throw Error(_0x3bca7d(0x1a6));return _0x39c8a8;}get[_0x1d3bb6(0x19f)](){const _0x40f3df=_0x1d3bb6;return this[_0x40f3df(0x170)][_0x40f3df(0x199)](_0x382e28)['getSkeleton']();}get[_0x1d3bb6(0x16d)](){const _0x359f4e=_0x1d3bb6;let _0x1f9cba=this[_0x359f4e(0x19f)][_0x359f4e(0x12d)]();if(!_0x1f9cba)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x1f9cba;}get[_0x1d3bb6(0x141)](){const _0x2487c9=_0x1d3bb6;let _0x5b31b2=this[_0x2487c9(0x16d)][_0x2487c9(0x198)][0x0];return{'width':_0x5b31b2['pageWidth'],'height':_0x5b31b2[_0x2487c9(0x13a)]};}constructor(_0x52eea6,_0x2e6f4a,_0x2b5a63,_0x540596){const _0x21e70c=_0x1d3bb6;super(),this[_0x21e70c(0x150)]=_0x52eea6,this[_0x21e70c(0x17d)]=_0x2e6f4a,this['_unitId']=_0x2b5a63,this['_offsetConfig']=_0x540596,H(this,_0x21e70c(0x196),document['createElement'](_0x21e70c(0x15a))),H(this,_0x21e70c(0x18b),document[_0x21e70c(0x17b)]('div')),H(this,_0x21e70c(0x153),void 0x0),H(this,_0x21e70c(0x186),void 0x0),H(this,_0x21e70c(0x166),void 0x0),H(this,_0x21e70c(0x13e),void 0x0),H(this,'_viewMain',void 0x0),H(this,_0x21e70c(0x19d),new _0x5abd34()),this[_0x21e70c(0x166)]=_0x132189(0x4),this[_0x21e70c(0x171)](),this[_0x21e70c(0x1b0)]({'dispose':()=>{const _0x3b56b3=_0x21e70c;this[_0x3b56b3(0x153)][_0x3b56b3(0x1a3)](),this['_scene']['dispose'](),this[_0x3b56b3(0x19d)][_0x3b56b3(0x1a3)]();}});}['_calculateLayout'](){const _0x246f52=_0x1d3bb6;let {docsTop:_0x30c503,docsLeft:_0x14cf87}=this[_0x246f52(0x13e)][_0x246f52(0x140)](),_0x18ffd4=this[_0x246f52(0x141)]['height'],_0x28ab73=this[_0x246f52(0x141)][_0x246f52(0x184)];return{'top':_0x30c503+(_0x30c503+_0x18ffd4)*this['_page'],'bottom':_0x30c503+(_0x30c503+_0x18ffd4)*(this['_page']+0x1),'left':_0x14cf87,'right':_0x14cf87+_0x28ab73};}[_0x1d3bb6(0x171)](){const _0xe8f81b=_0x1d3bb6;this[_0xe8f81b(0x153)]=new _0x1c9c71('',{'elementWidth':this[_0xe8f81b(0x141)][_0xe8f81b(0x184)],'elementHeight':this[_0xe8f81b(0x141)]['height'],'dpr':0x1,'renderMode':_0x1455d9[_0xe8f81b(0x14b)]}),this[_0xe8f81b(0x186)]=new _0x30cdae(this['_key'],this['_engine']),this[_0xe8f81b(0x186)][_0xe8f81b(0x181)](0x1,0x1),this[_0xe8f81b(0x153)][_0xe8f81b(0x1af)](this[_0xe8f81b(0x196)],!0x1),this[_0xe8f81b(0x153)][_0xe8f81b(0x151)]()[_0xe8f81b(0x161)]()[_0xe8f81b(0x154)](this[_0xe8f81b(0x166)]+'_'+_0x132189(0x4)),this[_0xe8f81b(0x131)](),this[_0xe8f81b(0x179)]();}[_0x1d3bb6(0x131)](){const _0x370a17=_0x1d3bb6;let {pageMarginLeft:_0x2bc353,pageMarginTop:_0x263706,docsLeft:_0x5128b1,docsTop:_0x2ec0b4}=this[_0x370a17(0x1a8)],_0x1766de={'pageMarginLeft':_0x2bc353,'pageMarginTop':_0x263706},_0x766dac=new _0x462701(_0x370a17(0x1b6),this[_0x370a17(0x19f)],_0x1766de);_0x766dac[_0x370a17(0x132)](_0x5128b1,_0x2ec0b4),this['_scene'][_0x370a17(0x19e)](_0x766dac),this[_0x370a17(0x13e)]=_0x766dac;let _0x1b1252=this[_0x370a17(0x150)]['get'](_0x515fa3);_0x1b1252[_0x370a17(0x19c)]['fetchThroughInterceptors'](_0x1b1252['interceptor'][_0x370a17(0x14f)]()[_0x370a17(0x194)])(void 0x0,{'unitId':this[_0x370a17(0x17c)],'scene':this[_0x370a17(0x186)],'engine':this[_0x370a17(0x153)],'root':this[_0x370a17(0x18b)],'documents':this['_documents'],'skeleton':this[_0x370a17(0x19f)]});}[_0x1d3bb6(0x179)](){const _0x5b7900=_0x1d3bb6;this[_0x5b7900(0x15b)]=new _0x44db34(_0x476c2b[_0x5b7900(0x169)],this[_0x5b7900(0x186)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x1d3bb6(0x19b)](){const _0x1a9ab1=_0x1d3bb6;let _0x5ba3a0=this[_0x1a9ab1(0x14e)]();this[_0x1a9ab1(0x15b)]['updateScrollVal']({'viewportScrollX':_0x5ba3a0[_0x1a9ab1(0x1ac)],'viewportScrollY':_0x5ba3a0['top']}),this[_0x1a9ab1(0x18b)]['style'][_0x1a9ab1(0x152)]='absolute',this[_0x1a9ab1(0x18b)]['style'][_0x1a9ab1(0x187)]='0px',this[_0x1a9ab1(0x18b)]['style'][_0x1a9ab1(0x1ac)]=_0x1a9ab1(0x1ae),this[_0x1a9ab1(0x18b)][_0x1a9ab1(0x17e)][_0x1a9ab1(0x184)]=_0x1a9ab1(0x133),this[_0x1a9ab1(0x18b)][_0x1a9ab1(0x17e)][_0x1a9ab1(0x15f)]=_0x1a9ab1(0x133),this[_0x1a9ab1(0x19d)]=new _0x5abd34();let _0x5eb217=this[_0x1a9ab1(0x150)][_0x1a9ab1(0x168)](_0x515fa3);_0x5eb217[_0x1a9ab1(0x19c)][_0x1a9ab1(0x148)](_0x5eb217[_0x1a9ab1(0x19c)]['getInterceptPoints']()[_0x1a9ab1(0x15d)])(this[_0x1a9ab1(0x19d)],{'unitId':this[_0x1a9ab1(0x17c)],'scene':this[_0x1a9ab1(0x186)],'engine':this[_0x1a9ab1(0x153)],'root':this[_0x1a9ab1(0x18b)],'skeleton':this[_0x1a9ab1(0x19f)],'offset':{'x':_0x5ba3a0['left'],'y':_0x5ba3a0[_0x1a9ab1(0x187)]},'bound':{'top':_0x5ba3a0[_0x1a9ab1(0x187)],'left':_0x5ba3a0['left'],'right':_0x5ba3a0['right'],'bottom':_0x5ba3a0['bottom']}});}[_0x1d3bb6(0x177)](){const _0x3c743f=_0x1d3bb6;let _0x302ea8=this['_engine'][_0x3c743f(0x151)]()[_0x3c743f(0x161)]();this[_0x3c743f(0x13e)][_0x3c743f(0x1b4)](),this['_scene'][_0x3c743f(0x1a2)](),_0x302ea8['save'](),this[_0x3c743f(0x186)]['render'](),_0x302ea8[_0x3c743f(0x155)]();}};function W(_0x56ab88,_0x205be1){return function(_0x307897,_0x2e2b84){_0x205be1(_0x307897,_0x2e2b84,_0x56ab88);};}function G(_0x2f158e,_0x53d490,_0x266abf,_0xd91da4){const _0x1e28c1=_0x1d3bb6;var _0x192eef=arguments[_0x1e28c1(0x174)],_0x3cd441=_0x192eef<0x3?_0x53d490:_0xd91da4===null?_0xd91da4=Object[_0x1e28c1(0x160)](_0x53d490,_0x266abf):_0xd91da4,_0x3c4f62;if(typeof Reflect==_0x1e28c1(0x188)&&typeof Reflect[_0x1e28c1(0x18d)]==_0x1e28c1(0x1b5))_0x3cd441=Reflect[_0x1e28c1(0x18d)](_0x2f158e,_0x53d490,_0x266abf,_0xd91da4);else{for(var _0x13caad=_0x2f158e['length']-0x1;_0x13caad>=0x0;_0x13caad--)(_0x3c4f62=_0x2f158e[_0x13caad])&&(_0x3cd441=(_0x192eef<0x3?_0x3c4f62(_0x3cd441):_0x192eef>0x3?_0x3c4f62(_0x53d490,_0x266abf,_0x3cd441):_0x3c4f62(_0x53d490,_0x266abf))||_0x3cd441);}return _0x192eef>0x3&&_0x3cd441&&Object['defineProperty'](_0x53d490,_0x266abf,_0x3cd441),_0x3cd441;}const K=Number[_0x1d3bb6(0x189)](0x69c78f3a),q=(_0x1c94d2,_0x38a62f,_0x257a69)=>{const _0x2cfddd=_0x1d3bb6;let _0x345cfb={'page':_0x1c94d2,'isPro':!0x1,'timeValid':!0x1};if(!_0x38a62f||!_0x257a69)return _0x345cfb;let _0x2e7de1=_0x3a9ea8(_0x38a62f,_0x257a69);if(_0x2e7de1[_0x2cfddd(0x147)]){let _0xf80be3=_0x2e7de1[_0x2cfddd(0x172)],_0xeb9167=_0x8ce9f3(_0xf80be3,'df',K);_0x345cfb[_0x2cfddd(0x164)]=_0xeb9167,_0x345cfb[_0x2cfddd(0x15c)]=_0xeb9167,_0x345cfb[_0x2cfddd(0x1b7)]=_0x33119b(_0xf80be3,_0xeb9167,_0x2cfddd(0x1a5),_0x1c94d2,_0x1c94d2,0x0);}return _0x345cfb;};let J=class extends _0x4d18f8{constructor(_0x4b188c,_0x4b5eef,_0x8b6565,_0x2935dd,_0x198676){const _0x57ff27=_0x1d3bb6;super(),this[_0x57ff27(0x158)]=_0x4b188c,this[_0x57ff27(0x146)]=_0x4b5eef,this[_0x57ff27(0x150)]=_0x8b6565,this[_0x57ff27(0x1a4)]=_0x2935dd,this[_0x57ff27(0x137)]=_0x198676;}[_0x1d3bb6(0x178)](_0x5265c1){const _0x5859a7=_0x1d3bb6;var _0x2e3fcf,_0x31ddae;let {ls:_0xc69d7,pbk:_0x2e5171}=(_0x2e3fcf=this[_0x5859a7(0x1a4)][_0x5859a7(0x13f)](_0x1be285))==null?{}:_0x2e3fcf,_0x5a8f66=_0x23a9b()?0x1/0x0:q(0x1,_0xc69d7,_0x2e5171)[_0x5859a7(0x1b7)];if(!this[_0x5859a7(0x158)][_0x5859a7(0x138)](_0x5265c1,_0x48c5b1[_0x5859a7(0x16b)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x2df014=this[_0x5859a7(0x146)][_0x5859a7(0x144)](_0x5265c1);if(!_0x2df014)throw Error(_0x5859a7(0x1a6));let _0x2ff140=(_0x31ddae=_0x2df014['with'](_0x382e28)[_0x5859a7(0x193)]()[_0x5859a7(0x12d)]())==null?void 0x0:_0x31ddae[_0x5859a7(0x198)];if(!_0x2ff140)throw Error(_0x5859a7(0x18c));let _0x21c1d7={'width':_0x2ff140[0x0][_0x5859a7(0x17f)],'height':_0x2ff140[0x0][_0x5859a7(0x13a)]},_0x206417=_0x2ff140['length'],_0x441fea=Math['min'](_0x5a8f66,_0x206417),_0x1aaf77=_0x2df014[_0x5859a7(0x16a)][_0x5859a7(0x140)](),_0x1c9321=document[_0x5859a7(0x17b)](_0x5859a7(0x15a));_0x1c9321[_0x5859a7(0x14c)]=_0x1cca1b;let _0x47bd53=Array(_0x441fea)[_0x5859a7(0x159)](null)['map']((_0x453570,_0x5a033f)=>{const _0x43c96c=_0x5859a7;let _0x2aaec4=new U(this[_0x43c96c(0x150)],_0x5a033f,_0x5265c1,_0x1aaf77);return _0x2aaec4['container']['className']=_0x25f17e,_0x2aaec4;});_0x47bd53['forEach'](_0x4d8b66=>{const _0x5d7bfc=_0x5859a7;_0x1c9321[_0x5d7bfc(0x149)](_0x4d8b66[_0x5d7bfc(0x183)]),_0x4d8b66[_0x5d7bfc(0x183)][_0x5d7bfc(0x149)](_0x4d8b66[_0x5d7bfc(0x156)]),_0x4d8b66[_0x5d7bfc(0x19b)]();});let _0x2cb5f6=_0x4383da(_0x21c1d7['width'],_0x21c1d7[_0x5859a7(0x15f)],_0x41ba89[_0x5859a7(0x1a0)]);return document[_0x5859a7(0x16c)][_0x5859a7(0x149)](_0x2cb5f6),document[_0x5859a7(0x16c)][_0x5859a7(0x149)](_0x1c9321),new Promise(_0x214a9c=>{setTimeout(()=>{const _0x5e6b3b=_0x1345;window[_0x5e6b3b(0x1ab)]=()=>{_0x47bd53['forEach'](_0x3f5881=>{_0x3f5881['render']();});},window[_0x5e6b3b(0x16e)]=()=>{const _0xe240ce=_0x5e6b3b;_0x47bd53[_0xe240ce(0x143)](_0x3ccefa=>{_0x3ccefa['dispose']();}),document[_0xe240ce(0x16c)][_0xe240ce(0x145)](_0x1c9321),document[_0xe240ce(0x16c)][_0xe240ce(0x145)](_0x2cb5f6),this[_0xe240ce(0x137)][_0xe240ce(0x197)](),_0x214a9c(!0x0);},window[_0x5e6b3b(0x178)]();},0x64);});}};J=G([W(0x0,_0x32a805),W(0x1,_0xa9a2d6),W(0x2,_0x1d2ae0(_0x334fba)),W(0x3,_0x419f94),W(0x4,_0xd11384)],J);const Y={'id':'docs.operation.print','type':_0x3c71a0[_0x1d3bb6(0x165)],'handler':async _0x1d1410=>{const _0x13468e=_0x1d3bb6;let _0x21508=_0x1d1410[_0x13468e(0x168)](_0x32a805),_0xc1ee43=_0x1d1410['get'](J),_0x186565=_0x1d1410[_0x13468e(0x168)](_0xa9a2d6),_0x107dc7=_0x1d1410['get'](_0x56d091),_0x43c65a=_0x21508[_0x13468e(0x12f)](_0x48c5b1[_0x13468e(0x16b)]);if(!_0x43c65a)return!0x1;if(!_0x186565['getRenderById'](_0x43c65a[_0x13468e(0x1b3)]()))throw Error(_0x13468e(0x1a6));let _0x4a5e84=_0x43c65a[_0x13468e(0x18e)]()[_0x13468e(0x1a1)];return _0x4a5e84!==_0xc02732[_0x13468e(0x16f)]&&_0x107dc7[_0x13468e(0x19a)](_0x250ccb['id']),await _0xc1ee43['print'](_0x43c65a['getUnitId']()),_0x4a5e84!==_0xc02732['TRADITIONAL']&&_0x107dc7['syncExecuteCommand'](_0x250ccb['id']),!0x0;}},X='UNIVER_DOCS_PRINT',Z={};var ie=_0x1d3bb6(0x191),ae=_0x1d3bb6(0x135);function oe(_0xaa4d1d){const _0x5e236a=_0x1d3bb6;return{'id':Y['id'],'type':_0x29c378['BUTTON'],'title':'print.menu','icon':_0x5e236a(0x14a),'tooltip':_0x5e236a(0x162),'hidden$':_0x314c4d(_0xaa4d1d,_0x48c5b1[_0x5e236a(0x16b)])};}const se={[_0x5b5fe9[_0x1d3bb6(0x182)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x4d18f8{constructor(_0x20ae96,_0x1f1bed,_0x52c68f){const _0x2cbb0a=_0x1d3bb6;super(),this['_commandService']=_0x20ae96,this[_0x2cbb0a(0x13b)]=_0x1f1bed,this[_0x2cbb0a(0x136)]=_0x52c68f,this[_0x2cbb0a(0x134)](),this['_initCommands'](),this['_initComponents']();}[_0x1d3bb6(0x134)](){this['_menuManagerService']['mergeMenu'](se);}[_0x1d3bb6(0x1aa)](){const _0x598d9a=_0x1d3bb6;this['disposeWithMe'](this[_0x598d9a(0x192)]['registerCommand'](Y));}[_0x1d3bb6(0x167)](){const _0x4a8242=_0x1d3bb6;[['PrintIcon',_0x4a68f8]][_0x4a8242(0x143)](([_0x40a989,_0x1c2423])=>{const _0x166c66=_0x4a8242;this[_0x166c66(0x136)]['register'](_0x40a989,_0x1c2423);});}};Q=G([W(0x0,_0x56d091),W(0x1,_0x382fd7),W(0x2,_0x1d2ae0(_0x5912e3))],Q);let $=class extends _0x336e77{constructor(_0x17fbbc=Z,_0x39dbe9,_0x154b06){const _0x491f2a=_0x1d3bb6;super(),this['_config']=_0x17fbbc,this[_0x491f2a(0x150)]=_0x39dbe9,this[_0x491f2a(0x1a4)]=_0x154b06;let {menu:_0x532ccc,..._0x5aedf4}=_0x1d6dd6({},Z,this['_config']);_0x532ccc&&this['_configService'][_0x491f2a(0x15e)](_0x491f2a(0x1ad),_0x532ccc,{'merge':!0x0}),this['_configService'][_0x491f2a(0x15e)](X,_0x5aedf4);}[_0x1d3bb6(0x18a)](){const _0x2681ca=_0x1d3bb6;_0x373678(this[_0x2681ca(0x150)],[[J],[Q]]);}[_0x1d3bb6(0x1b1)](){const _0x4fede4=_0x1d3bb6;this[_0x4fede4(0x150)][_0x4fede4(0x168)](Q);}};H($,_0x1d3bb6(0x14d),'UNIVER_DOCS_PRINT'),H($,_0x1d3bb6(0x13d),ie),H($,_0x1d3bb6(0x18f),ae),H($,_0x1d3bb6(0x185),_0x48c5b1[_0x1d3bb6(0x16b)]),$=G([_0xd04a0c(_0x17e3de,_0x91e987),W(0x1,_0x1d2ae0(_0x334fba)),W(0x2,_0x419f94)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x544ca4=_0x5114;function _0x28b2(){const _0x47210b=['Print','34CcOIJo','4496510NhEMEN','730012IMSQwe','828516CqCXOk','476160xnuBlb','16fYKrhi','2029815FKjmzB','44xftTWV','15aDaHxf','5179160ebJmQS','18309NipIHj'];_0x28b2=function(){return _0x47210b;};return _0x28b2();}function _0x5114(_0x33060f,_0x266b5f){_0x33060f=_0x33060f-0xe9;const _0x28b29b=_0x28b2();let _0x51144a=_0x28b29b[_0x33060f];return _0x51144a;}(function(_0x2aeeb2,_0x1ae69d){const _0x4104f9=_0x5114,_0x2808ed=_0x2aeeb2();while(!![]){try{const _0x1d6e39=parseInt(_0x4104f9(0xec))/0x1+-parseInt(_0x4104f9(0xf4))/0x2*(-parseInt(_0x4104f9(0xf2))/0x3)+parseInt(_0x4104f9(0xea))/0x4*(parseInt(_0x4104f9(0xf0))/0x5)+-parseInt(_0x4104f9(0xeb))/0x6+parseInt(_0x4104f9(0xf1))/0x7+-parseInt(_0x4104f9(0xed))/0x8*(-parseInt(_0x4104f9(0xee))/0x9)+parseInt(_0x4104f9(0xe9))/0xa*(-parseInt(_0x4104f9(0xef))/0xb);if(_0x1d6e39===_0x1ae69d)break;else _0x2808ed['push'](_0x2808ed['shift']());}catch(_0x42b217){_0x2808ed['push'](_0x2808ed['shift']());}}}(_0x28b2,0x5d2f0));const e={'print':{'menu':_0x544ca4(0xf3)}};export{e as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0xa64b5e=_0x2d45;function _0x2d45(_0x150e4c,_0x4339d2){_0x150e4c=_0x150e4c-0xe9;const _0x1561d8=_0x1561();let _0x2d458a=_0x1561d8[_0x150e4c];return _0x2d458a;}(function(_0x5ddb65,_0x25244a){const _0x2379c3=_0x2d45,_0x855ecc=_0x5ddb65();while(!![]){try{const _0x1e2958=parseInt(_0x2379c3(0xf0))/0x1+parseInt(_0x2379c3(0xec))/0x2+-parseInt(_0x2379c3(0xeb))/0x3+parseInt(_0x2379c3(0xef))/0x4*(-parseInt(_0x2379c3(0xea))/0x5)+parseInt(_0x2379c3(0xee))/0x6+-parseInt(_0x2379c3(0xe9))/0x7*(parseInt(_0x2379c3(0xf1))/0x8)+parseInt(_0x2379c3(0xf2))/0x9;if(_0x1e2958===_0x25244a)break;else _0x855ecc['push'](_0x855ecc['shift']());}catch(_0x47ecf7){_0x855ecc['push'](_0x855ecc['shift']());}}}(_0x1561,0xec987));const e={'print':{'menu':_0xa64b5e(0xed)}};function _0x1561(){const _0x22ace4=['1731960ompADk','7BXyukr','5846230QjOAvb','1728042EKFwot','340794oaXNxe','Print','7088922hgINDi','4pCvFov','1392683SeXgeV','1781216FhGpqo'];_0x1561=function(){return _0x22ace4;};return _0x1561();}export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x30e769,_0x40578a){const _0x15a88e=_0x121c,_0x453db3=_0x30e769();while(!![]){try{const _0x4754d9=parseInt(_0x15a88e(0x112))/0x1*(-parseInt(_0x15a88e(0x10f))/0x2)+parseInt(_0x15a88e(0x111))/0x3+parseInt(_0x15a88e(0x113))/0x4+-parseInt(_0x15a88e(0x110))/0x5+parseInt(_0x15a88e(0x114))/0x6+-parseInt(_0x15a88e(0x115))/0x7+-parseInt(_0x15a88e(0x117))/0x8*(-parseInt(_0x15a88e(0x116))/0x9);if(_0x4754d9===_0x40578a)break;else _0x453db3['push'](_0x453db3['shift']());}catch(_0x49419d){_0x453db3['push'](_0x453db3['shift']());}}}(_0x5645,0x5f652));function _0x5645(){const _0x7eab43=['453609fvIOFe','8CLlSjI','116834OzgpWX','1460355OvygEO','413964emKIDE','3EKlPsW','2555808PuPKrk','1965162TVksbH','2077656XHHdFc'];_0x5645=function(){return _0x7eab43;};return _0x5645();}const e={'print':{'menu':'Print'}};function _0x121c(_0x151c6c,_0x3e6bbc){_0x151c6c=_0x151c6c-0x10f;const _0x56459a=_0x5645();let _0x121c36=_0x56459a[_0x151c6c];return _0x121c36;}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xd79d(_0xf6e619,_0x1915ff){_0xf6e619=_0xf6e619-0xaa;const _0x30e56f=_0x30e5();let _0xd79d33=_0x30e56f[_0xf6e619];return _0xd79d33;}const _0x3c69c3=_0xd79d;function _0x30e5(){const _0x3091e0=['24777EDNEXW','چاپ','1243745OUciHD','315840oKVbuU','7686430DVIrwm','511526rJpGGi','1324925TClpMB','351927PUovVF','11tocKWb','1qPHMhW','6VqioBb','296ykRemI'];_0x30e5=function(){return _0x3091e0;};return _0x30e5();}(function(_0x4a9bf6,_0x325fb1){const _0x4e9e30=_0xd79d,_0x23d75b=_0x4a9bf6();while(!![]){try{const _0x417db2=parseInt(_0x4e9e30(0xb1))/0x1*(-parseInt(_0x4e9e30(0xad))/0x2)+-parseInt(_0x4e9e30(0xaf))/0x3+parseInt(_0x4e9e30(0xab))/0x4+parseInt(_0x4e9e30(0xaa))/0x5*(-parseInt(_0x4e9e30(0xb2))/0x6)+-parseInt(_0x4e9e30(0xae))/0x7+-parseInt(_0x4e9e30(0xb3))/0x8*(-parseInt(_0x4e9e30(0xb4))/0x9)+-parseInt(_0x4e9e30(0xac))/0xa*(-parseInt(_0x4e9e30(0xb0))/0xb);if(_0x417db2===_0x325fb1)break;else _0x23d75b['push'](_0x23d75b['shift']());}catch(_0x598643){_0x23d75b['push'](_0x23d75b['shift']());}}}(_0x30e5,0x21c80));const e={'print':{'menu':_0x3c69c3(0xb5)}};export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3924(){const _0x7b327=['14tZDWvC','55YZjFge','3159410jUFNqn','8VRbgaH','3235542tALWoT','Imprimer','165028wnEXDZ','603330DLzJPr','2978982eVRvSa','2ZBzuee','1332460wfbLmj','3046182GlISKW'];_0x3924=function(){return _0x7b327;};return _0x3924();}function _0x29fb(_0x25814d,_0x58a8d2){_0x25814d=_0x25814d-0xed;const _0x392412=_0x3924();let _0x29fbc5=_0x392412[_0x25814d];return _0x29fbc5;}const _0x53c308=_0x29fb;(function(_0x33055a,_0x3577ab){const _0x44abc7=_0x29fb,_0x5b4f09=_0x33055a();while(!![]){try{const _0x4e168a=-parseInt(_0x44abc7(0xf5))/0x1+parseInt(_0x44abc7(0xf7))/0x2*(parseInt(_0x44abc7(0xf2))/0x3)+parseInt(_0x44abc7(0xf4))/0x4+-parseInt(_0x44abc7(0xf0))/0x5+-parseInt(_0x44abc7(0xed))/0x6*(-parseInt(_0x44abc7(0xee))/0x7)+-parseInt(_0x44abc7(0xf1))/0x8*(-parseInt(_0x44abc7(0xf6))/0x9)+-parseInt(_0x44abc7(0xf8))/0xa*(parseInt(_0x44abc7(0xef))/0xb);if(_0x4e168a===_0x3577ab)break;else _0x5b4f09['push'](_0x5b4f09['shift']());}catch(_0x34f7f4){_0x5b4f09['push'](_0x5b4f09['shift']());}}}(_0x3924,0x89df1));const e={'print':{'menu':_0x53c308(0xf3)}};export{e as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x274e32,_0x1815aa){const _0x109cf7=_0x1a04,_0x5c3657=_0x274e32();while(!![]){try{const _0x5c5001=-parseInt(_0x109cf7(0x13b))/0x1+-parseInt(_0x109cf7(0x136))/0x2*(parseInt(_0x109cf7(0x13e))/0x3)+parseInt(_0x109cf7(0x13a))/0x4+-parseInt(_0x109cf7(0x13c))/0x5*(-parseInt(_0x109cf7(0x13d))/0x6)+-parseInt(_0x109cf7(0x138))/0x7+-parseInt(_0x109cf7(0x137))/0x8+parseInt(_0x109cf7(0x139))/0x9;if(_0x5c5001===_0x1815aa)break;else _0x5c3657['push'](_0x5c3657['shift']());}catch(_0x17dcd2){_0x5c3657['push'](_0x5c3657['shift']());}}}(_0xa797,0xa0d04));function _0xa797(){const _0x126c7d=['4563852YLCzsC','15185cLNOOc','20ghOwDz','787866dqCGdK','746532djardz','4gsButk','4477744IiEnnT','9207597uuHVPm','12424023HlITHF'];_0xa797=function(){return _0x126c7d;};return _0xa797();}function _0x1a04(_0x8f4086,_0x38439d){_0x8f4086=_0x8f4086-0x136;const _0xa7972a=_0xa797();let _0x1a0439=_0xa7972a[_0x8f4086];return _0x1a0439;}const e={'print':{'menu':'印刷'}};export{e as default};
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x529eac,_0x17e1e7){const _0xc800c4=_0x32b7,_0x5a7031=_0x529eac();while(!![]){try{const _0x2fde65=parseInt(_0xc800c4(0x114))/0x1*(-parseInt(_0xc800c4(0x119))/0x2)+parseInt(_0xc800c4(0x115))/0x3*(parseInt(_0xc800c4(0x116))/0x4)+-parseInt(_0xc800c4(0x11b))/0x5+parseInt(_0xc800c4(0x11a))/0x6+-parseInt(_0xc800c4(0x11c))/0x7+-parseInt(_0xc800c4(0x117))/0x8+parseInt(_0xc800c4(0x118))/0x9;if(_0x2fde65===_0x17e1e7)break;else _0x5a7031['push'](_0x5a7031['shift']());}catch(_0x5b84b3){_0x5a7031['push'](_0x5a7031['shift']());}}}(_0x551a,0x45e33));function _0x32b7(_0x21238c,_0x22ee6e){_0x21238c=_0x21238c-0x114;const _0x551a72=_0x551a();let _0x32b748=_0x551a72[_0x21238c];return _0x32b748;}const e={'print':{'menu':'인쇄'}};function _0x551a(){const _0x58ba88=['64GsskjA','1017006MXXrOA','4UGWnsi','1438904bcAPAI','2694717xnjtCi','1268tHIIEj','3186456tyKvgr','2543580SGtyYm','1078539ueruxv'];_0x551a=function(){return _0x58ba88;};return _0x551a();}export{e as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2cbe(){const _0x5e8ffd=['18710bCDaaR','188208XGirQW','9ILsoGe','246676omDUvk','175dvXDIo','7435170eEjrdt','7117vkdzXr','3431830GOTYBy','52314CLISKT','740854MfSdCs','8qbfCHx'];_0x2cbe=function(){return _0x5e8ffd;};return _0x2cbe();}function _0x2857(_0x10f546,_0x59d1f9){_0x10f546=_0x10f546-0x1e3;const _0x2cbe6d=_0x2cbe();let _0x28578a=_0x2cbe6d[_0x10f546];return _0x28578a;}(function(_0x4c57d6,_0x176a94){const _0x335ae1=_0x2857,_0x45d6ac=_0x4c57d6();while(!![]){try{const _0x548c18=parseInt(_0x335ae1(0x1e4))/0x1+-parseInt(_0x335ae1(0x1e7))/0x2*(parseInt(_0x335ae1(0x1e8))/0x3)+parseInt(_0x335ae1(0x1e9))/0x4+-parseInt(_0x335ae1(0x1ed))/0x5+parseInt(_0x335ae1(0x1e3))/0x6*(parseInt(_0x335ae1(0x1ea))/0x7)+parseInt(_0x335ae1(0x1e5))/0x8*(-parseInt(_0x335ae1(0x1eb))/0x9)+parseInt(_0x335ae1(0x1e6))/0xa*(parseInt(_0x335ae1(0x1ec))/0xb);if(_0x548c18===_0x176a94)break;else _0x45d6ac['push'](_0x45d6ac['shift']());}catch(_0x50675d){_0x45d6ac['push'](_0x45d6ac['shift']());}}}(_0x2cbe,0x6a803));const e={'print':{'menu':'Печать'}};export{e as default};
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1c27(){const _0x10deca=['9epASxd','2067868rHWAIY','1962256vihqke','8219256eIWFOl','424180wQZofi','40JFscpl','6BJNlIo','Tlač','933051rvVuoy','893975UTtJjf','22ydHRcH','253209OYIxwK'];_0x1c27=function(){return _0x10deca;};return _0x1c27();}const _0x846e12=_0x13a8;(function(_0x1cf11c,_0x2bfb89){const _0x17a91e=_0x13a8,_0x7e3368=_0x1cf11c();while(!![]){try{const _0x358523=parseInt(_0x17a91e(0x17d))/0x1+-parseInt(_0x17a91e(0x183))/0x2*(parseInt(_0x17a91e(0x184))/0x3)+-parseInt(_0x17a91e(0x17b))/0x4+parseInt(_0x17a91e(0x182))/0x5*(-parseInt(_0x17a91e(0x17f))/0x6)+parseInt(_0x17a91e(0x181))/0x7+-parseInt(_0x17a91e(0x17c))/0x8*(-parseInt(_0x17a91e(0x179))/0x9)+-parseInt(_0x17a91e(0x17e))/0xa*(-parseInt(_0x17a91e(0x17a))/0xb);if(_0x358523===_0x2bfb89)break;else _0x7e3368['push'](_0x7e3368['shift']());}catch(_0x458ccc){_0x7e3368['push'](_0x7e3368['shift']());}}}(_0x1c27,0xb46e0));function _0x13a8(_0x41ae78,_0x4abc3c){_0x41ae78=_0x41ae78-0x179;const _0x1c279a=_0x1c27();let _0x13a873=_0x1c279a[_0x41ae78];return _0x13a873;}const e={'print':{'menu':_0x846e12(0x180)}};export{e as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1739(){const _0x239b8a=['210MHfoFP','4438247MKjPce','6JGsCOr','7845diRgrg','356825HtQivU','5652624wJBJzB','170jipjVH','438UTuEcG','892PBbvqs','6740853ZpwNIR','287109UcIlTK'];_0x1739=function(){return _0x239b8a;};return _0x1739();}(function(_0x5a7a59,_0x239e05){const _0x11e561=_0x54e2,_0x62da65=_0x5a7a59();while(!![]){try{const _0x1a913e=parseInt(_0x11e561(0xe0))/0x1*(parseInt(_0x11e561(0xe3))/0x2)+parseInt(_0x11e561(0xe4))/0x3*(parseInt(_0x11e561(0xe5))/0x4)+parseInt(_0x11e561(0xe1))/0x5+-parseInt(_0x11e561(0xdf))/0x6*(parseInt(_0x11e561(0xe6))/0x7)+parseInt(_0x11e561(0xe2))/0x8+parseInt(_0x11e561(0xe7))/0x9*(parseInt(_0x11e561(0xe8))/0xa)+-parseInt(_0x11e561(0xe9))/0xb;if(_0x1a913e===_0x239e05)break;else _0x62da65['push'](_0x62da65['shift']());}catch(_0x22ac6e){_0x62da65['push'](_0x62da65['shift']());}}}(_0x1739,0xbe9f7));function _0x54e2(_0x218929,_0x5e0e16){_0x218929=_0x218929-0xdf;const _0x17391f=_0x1739();let _0x54e211=_0x17391f[_0x218929];return _0x54e211;}const e={'print':{'menu':'In'}};export{e as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xc37b(_0x207cc1,_0x2eb4e4){_0x207cc1=_0x207cc1-0x199;const _0x39f4ea=_0x39f4();let _0xc37bd8=_0x39f4ea[_0x207cc1];return _0xc37bd8;}(function(_0x31f4ed,_0xb2398e){const _0x22bfdf=_0xc37b,_0x139e19=_0x31f4ed();while(!![]){try{const _0x29b0d8=-parseInt(_0x22bfdf(0x19c))/0x1+-parseInt(_0x22bfdf(0x19f))/0x2*(parseInt(_0x22bfdf(0x1a0))/0x3)+-parseInt(_0x22bfdf(0x19d))/0x4*(parseInt(_0x22bfdf(0x19a))/0x5)+parseInt(_0x22bfdf(0x1a3))/0x6*(parseInt(_0x22bfdf(0x1a2))/0x7)+-parseInt(_0x22bfdf(0x19e))/0x8+parseInt(_0x22bfdf(0x19b))/0x9+-parseInt(_0x22bfdf(0x199))/0xa*(-parseInt(_0x22bfdf(0x1a1))/0xb);if(_0x29b0d8===_0xb2398e)break;else _0x139e19['push'](_0x139e19['shift']());}catch(_0x16d6ef){_0x139e19['push'](_0x139e19['shift']());}}}(_0x39f4,0xa5815));const e={'print':{'menu':'打印'}};export{e as default};function _0x39f4(){const _0x339418=['1397050IoFQoz','45wCvydG','3283371zYpDuI','1015631YYdwyd','152812IQbjPF','4004784IwjtXW','46872bmTgNy','30ndZaru','154UNaygA','3161452ALUraf','6BBbfym'];_0x39f4=function(){return _0x339418;};return _0x39f4();}
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3d0aea,_0x567b99){const _0x53070b=_0x1e48,_0x35f625=_0x3d0aea();while(!![]){try{const _0x3a1b53=parseInt(_0x53070b(0xe8))/0x1+parseInt(_0x53070b(0xea))/0x2*(parseInt(_0x53070b(0xe2))/0x3)+parseInt(_0x53070b(0xe5))/0x4+parseInt(_0x53070b(0xe9))/0x5+parseInt(_0x53070b(0xe7))/0x6+-parseInt(_0x53070b(0xe4))/0x7*(-parseInt(_0x53070b(0xe6))/0x8)+parseInt(_0x53070b(0xe3))/0x9*(-parseInt(_0x53070b(0xe1))/0xa);if(_0x3a1b53===_0x567b99)break;else _0x35f625['push'](_0x35f625['shift']());}catch(_0x2760b5){_0x35f625['push'](_0x35f625['shift']());}}}(_0x2b33,0xc95bb));const e={'print':{'menu':'列印'}};function _0x1e48(_0x34665f,_0x285bcb){_0x34665f=_0x34665f-0xe1;const _0x2b33eb=_0x2b33();let _0x1e4874=_0x2b33eb[_0x34665f];return _0x1e4874;}export{e as default};function _0x2b33(){const _0x402640=['485748VLYJIL','21223520RciyWK','6podOOQ','18mUkZOs','49FOaUMJ','4756120zIHkoz','532208MdfZvS','8287434ChrHLq','69957fykeVB','7389055Wvqewm'];_0x2b33=function(){return _0x402640;};return _0x2b33();}
|