@univerjs-pro/docs-print 0.20.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/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 +10 -10
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x15f427=_0x273e;(function(_0x2111e9,_0x4ac7e3){const _0x4b4605=_0x273e,_0x537a67=_0x2111e9();while(!![]){try{const _0x430a4c=parseInt(_0x4b4605(0x259))/0x1*(parseInt(_0x4b4605(0x1e0))/0x2)+parseInt(_0x4b4605(0x1fd))/0x3+parseInt(_0x4b4605(0x1d6))/0x4*(-parseInt(_0x4b4605(0x1e7))/0x5)+-parseInt(_0x4b4605(0x1c6))/0x6*(-parseInt(_0x4b4605(0x252))/0x7)+parseInt(_0x4b4605(0x1b4))/0x8+-parseInt(_0x4b4605(0x236))/0x9*(-parseInt(_0x4b4605(0x24e))/0xa)+parseInt(_0x4b4605(0x24c))/0xb*(-parseInt(_0x4b4605(0x21f))/0xc);if(_0x430a4c===_0x4ac7e3)break;else _0x537a67['push'](_0x537a67['shift']());}catch(_0xeed0c8){_0x537a67['push'](_0x537a67['shift']());}}}(_0x4c18,0x8f746),Object[_0x15f427(0x1e9)](exports,Symbol[_0x15f427(0x1c9)],{'value':_0x15f427(0x212)}));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(_0x47bd49){'@babel/helpers - typeof';const _0x92ed70=_0x15f427;return l=typeof Symbol==_0x92ed70(0x1ba)&&typeof Symbol[_0x92ed70(0x20c)]=='symbol'?function(_0x3dce48){return typeof _0x3dce48;}:function(_0x13d4fa){const _0x2c61aa=_0x92ed70;return _0x13d4fa&&typeof Symbol==_0x2c61aa(0x1ba)&&_0x13d4fa[_0x2c61aa(0x23e)]===Symbol&&_0x13d4fa!==Symbol[_0x2c61aa(0x1f8)]?_0x2c61aa(0x1ef):typeof _0x13d4fa;},l(_0x47bd49);}function u(_0x2da2b0,_0x14a0f1){const _0x63c2cd=_0x15f427;if(l(_0x2da2b0)!='object'||!_0x2da2b0)return _0x2da2b0;var _0xb29868=_0x2da2b0[Symbol[_0x63c2cd(0x1c2)]];if(_0xb29868!==void 0x0){var _0x1fc767=_0xb29868[_0x63c2cd(0x21b)](_0x2da2b0,_0x14a0f1||_0x63c2cd(0x223));if(l(_0x1fc767)!='object')return _0x1fc767;throw TypeError(_0x63c2cd(0x203));}return(_0x14a0f1===_0x63c2cd(0x22f)?String:Number)(_0x2da2b0);}function d(_0x497c55){const _0x2c6bf0=_0x15f427;var _0x51a342=u(_0x497c55,_0x2c6bf0(0x22f));return l(_0x51a342)==_0x2c6bf0(0x1ef)?_0x51a342:_0x51a342+'';}function f(_0x431ae9,_0x3f30e9,_0x3f75b1){const _0x53e85e=_0x15f427;return(_0x3f30e9=d(_0x3f30e9))in _0x431ae9?Object[_0x53e85e(0x1e9)](_0x431ae9,_0x3f30e9,{'value':_0x3f75b1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x431ae9[_0x3f30e9]=_0x3f75b1,_0x431ae9;}var p=class extends e[_0x15f427(0x256)]{get[_0x15f427(0x1ea)](){return this['_container'];}get[_0x15f427(0x1cd)](){const _0x5e619b=_0x15f427;return this[_0x5e619b(0x1d8)];}get[_0x15f427(0x213)](){const _0x11dc04=_0x15f427;let _0x2ed12c=this[_0x11dc04(0x1b8)][_0x11dc04(0x1b9)](n[_0x11dc04(0x1f9)])[_0x11dc04(0x1dc)](this['_unitId']);if(!_0x2ed12c)throw Error(_0x11dc04(0x1dd));return _0x2ed12c;}get[_0x15f427(0x23a)](){const _0x436bc4=_0x15f427;return this['_currentRender'][_0x436bc4(0x1eb)](a[_0x436bc4(0x1c1)])[_0x436bc4(0x263)]();}get['_skeletonData'](){const _0x47c6f7=_0x15f427;let _0x51d75c=this[_0x47c6f7(0x23a)][_0x47c6f7(0x260)]();if(!_0x51d75c)throw Error(_0x47c6f7(0x248));return _0x51d75c;}get['_paperSize'](){const _0x17f23b=_0x15f427;let _0x477876=this[_0x17f23b(0x1e6)][_0x17f23b(0x220)][0x0];return{'width':_0x477876[_0x17f23b(0x22b)],'height':_0x477876[_0x17f23b(0x205)]};}constructor(_0x12d33f,_0x3947cf,_0x145536,_0x2569b0){const _0x15249a=_0x15f427;super(),this[_0x15249a(0x1b8)]=_0x12d33f,this['_page']=_0x3947cf,this['_unitId']=_0x145536,this['_offsetConfig']=_0x2569b0,f(this,'_container',document[_0x15249a(0x20b)](_0x15249a(0x250))),f(this,_0x15249a(0x1d8),document[_0x15249a(0x20b)]('div')),f(this,'_engine',void 0x0),f(this,_0x15249a(0x1ca),void 0x0),f(this,'_key',void 0x0),f(this,_0x15249a(0x1cf),void 0x0),f(this,'_viewMain',void 0x0),f(this,_0x15249a(0x201),new e['DisposableCollection']()),this[_0x15249a(0x257)]=(0x0,e[_0x15249a(0x1c3)])(0x4),this[_0x15249a(0x25c)](),this[_0x15249a(0x238)]({'dispose':()=>{const _0x8e06dc=_0x15249a;this[_0x8e06dc(0x258)][_0x8e06dc(0x246)](),this[_0x8e06dc(0x1ca)]['dispose'](),this[_0x8e06dc(0x201)][_0x8e06dc(0x246)]();}});}['_calculateLayout'](){const _0x301d97=_0x15f427;let {docsTop:_0x342464,docsLeft:_0x2e4c30}=this[_0x301d97(0x1cf)]['getOffsetConfig'](),_0x32edea=this[_0x301d97(0x1f0)][_0x301d97(0x232)],_0xeee004=this[_0x301d97(0x1f0)][_0x301d97(0x245)];return{'top':_0x342464+(_0x342464+_0x32edea)*this[_0x301d97(0x1e5)],'bottom':_0x342464+(_0x342464+_0x32edea)*(this[_0x301d97(0x1e5)]+0x1),'left':_0x2e4c30,'right':_0x2e4c30+_0xeee004};}['_initRenderer'](){const _0x5d203f=_0x15f427;this['_engine']=new n[(_0x5d203f(0x1cc))]('',{'elementWidth':this[_0x5d203f(0x1f0)][_0x5d203f(0x245)],'elementHeight':this['_paperSize']['height'],'dpr':0x1,'renderMode':n['CanvasRenderMode']['Printing']}),this[_0x5d203f(0x1ca)]=new n[(_0x5d203f(0x1da))](this[_0x5d203f(0x257)],this[_0x5d203f(0x258)]),this['_scene'][_0x5d203f(0x216)](0x1,0x1),this[_0x5d203f(0x258)][_0x5d203f(0x215)](this['_container'],!0x1),this[_0x5d203f(0x258)][_0x5d203f(0x247)]()['getContext']()[_0x5d203f(0x25f)](this[_0x5d203f(0x257)]+'_'+(0x0,e['generateRandomId'])(0x4)),this[_0x5d203f(0x1c0)](),this[_0x5d203f(0x1f7)]();}[_0x15f427(0x1c0)](){const _0x442153=_0x15f427;let {pageMarginLeft:_0xc26084,pageMarginTop:_0x2949c1,docsLeft:_0x35d5d7,docsTop:_0x54c553}=this[_0x442153(0x1d4)],_0x5c17a5={'pageMarginLeft':_0xc26084,'pageMarginTop':_0x2949c1},_0x29679a=new n[(_0x442153(0x231))](_0x442153(0x1d3),this[_0x442153(0x23a)],_0x5c17a5);_0x29679a[_0x442153(0x218)](_0x35d5d7,_0x54c553),this['_scene'][_0x442153(0x1b6)](_0x29679a),this[_0x442153(0x1cf)]=_0x29679a;let _0x485573=this['_injector']['get'](t['DocPrintInterceptorService']);_0x485573[_0x442153(0x234)][_0x442153(0x1c5)](_0x485573[_0x442153(0x234)][_0x442153(0x1d7)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x442153(0x210)],'scene':this[_0x442153(0x1ca)],'engine':this['_engine'],'root':this['_root'],'documents':this[_0x442153(0x1cf)],'skeleton':this[_0x442153(0x23a)]});}[_0x15f427(0x1f7)](){const _0xe432ea=_0x15f427;this[_0xe432ea(0x1bb)]=new n[(_0xe432ea(0x1bc))](t['VIEWPORT_KEY'][_0xe432ea(0x20a)],this[_0xe432ea(0x1ca)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x15f427(0x1c7)](){const _0x55d243=_0x15f427;let _0x5054d2=this['_calculateLayout']();this['_viewMain']['updateScrollVal']({'viewportScrollX':_0x5054d2['left'],'viewportScrollY':_0x5054d2['top']}),this[_0x55d243(0x1d8)]['style'][_0x55d243(0x1f4)]=_0x55d243(0x25d),this['_root'][_0x55d243(0x24f)]['top']=_0x55d243(0x239),this[_0x55d243(0x1d8)][_0x55d243(0x24f)][_0x55d243(0x1b3)]=_0x55d243(0x239),this[_0x55d243(0x1d8)][_0x55d243(0x24f)][_0x55d243(0x245)]=_0x55d243(0x21d),this['_root'][_0x55d243(0x24f)][_0x55d243(0x232)]=_0x55d243(0x21d),this['_effects']=new e['DisposableCollection']();let _0x3ec16b=this[_0x55d243(0x1b8)][_0x55d243(0x1b9)](t[_0x55d243(0x206)]);_0x3ec16b[_0x55d243(0x234)][_0x55d243(0x1c5)](_0x3ec16b['interceptor'][_0x55d243(0x1d7)]()['PRINTING_DOM_COLLECT'])(this[_0x55d243(0x201)],{'unitId':this[_0x55d243(0x210)],'scene':this[_0x55d243(0x1ca)],'engine':this[_0x55d243(0x258)],'root':this[_0x55d243(0x1d8)],'skeleton':this[_0x55d243(0x23a)],'offset':{'x':_0x5054d2[_0x55d243(0x1b3)],'y':_0x5054d2[_0x55d243(0x1e3)]},'bound':{'top':_0x5054d2[_0x55d243(0x1e3)],'left':_0x5054d2[_0x55d243(0x1b3)],'right':_0x5054d2[_0x55d243(0x22e)],'bottom':_0x5054d2[_0x55d243(0x1d0)]}});}[_0x15f427(0x24b)](){const _0x5e03cb=_0x15f427;let _0x721079=this[_0x5e03cb(0x258)][_0x5e03cb(0x247)]()[_0x5e03cb(0x227)]();this[_0x5e03cb(0x1cf)][_0x5e03cb(0x251)](),this[_0x5e03cb(0x1ca)]['makeDirty'](),_0x721079[_0x5e03cb(0x21c)](),this['_scene']['render'](),_0x721079[_0x5e03cb(0x253)]();}};function m(_0x2ed748,_0x3f3291){return function(_0x1a563b,_0x370930){_0x3f3291(_0x1a563b,_0x370930,_0x2ed748);};}function h(_0x3edc62,_0x4b5855,_0x469d79,_0x29221e){const _0x1d4e1c=_0x15f427;var _0x4fc0cb=arguments[_0x1d4e1c(0x24a)],_0x308e21=_0x4fc0cb<0x3?_0x4b5855:_0x29221e===null?_0x29221e=Object[_0x1d4e1c(0x1bd)](_0x4b5855,_0x469d79):_0x29221e,_0x13a1f7;if(typeof Reflect==_0x1d4e1c(0x24d)&&typeof Reflect[_0x1d4e1c(0x1fc)]==_0x1d4e1c(0x1ba))_0x308e21=Reflect[_0x1d4e1c(0x1fc)](_0x3edc62,_0x4b5855,_0x469d79,_0x29221e);else{for(var _0x525586=_0x3edc62[_0x1d4e1c(0x24a)]-0x1;_0x525586>=0x0;_0x525586--)(_0x13a1f7=_0x3edc62[_0x525586])&&(_0x308e21=(_0x4fc0cb<0x3?_0x13a1f7(_0x308e21):_0x4fc0cb>0x3?_0x13a1f7(_0x4b5855,_0x469d79,_0x308e21):_0x13a1f7(_0x4b5855,_0x469d79))||_0x308e21);}return _0x4fc0cb>0x3&&_0x308e21&&Object['defineProperty'](_0x4b5855,_0x469d79,_0x308e21),_0x308e21;}const g=Number[_0x15f427(0x261)](0x69cf7334),_=(_0x446d40,_0x179330,_0x53fcf9)=>{const _0x4053c1=_0x15f427;let _0x19d98f={'page':_0x446d40,'isPro':!0x1,'timeValid':!0x1};if(!_0x179330||!_0x53fcf9)return _0x19d98f;let _0x54a6d9=(0x0,r[_0x4053c1(0x25a)])(_0x179330,_0x53fcf9);if(_0x54a6d9['valid']){let _0x112674=_0x54a6d9['message'],_0x4d7701=(0x0,r[_0x4053c1(0x264)])(_0x112674,'df',g);_0x19d98f[_0x4053c1(0x204)]=_0x4d7701,_0x19d98f[_0x4053c1(0x1f3)]=_0x4d7701,_0x19d98f[_0x4053c1(0x23c)]=(0x0,r[_0x4053c1(0x1c4)])(_0x112674,_0x4d7701,_0x4053c1(0x1f1),_0x446d40,_0x446d40,0x0);}return _0x19d98f;};let v=class extends e['Disposable']{constructor(_0x57f35f,_0x4d099b,_0x3a1ad1,_0x307348,_0x356881){const _0x2c6de5=_0x15f427;super(),this[_0x2c6de5(0x217)]=_0x57f35f,this[_0x2c6de5(0x209)]=_0x4d099b,this[_0x2c6de5(0x1b8)]=_0x3a1ad1,this[_0x2c6de5(0x233)]=_0x307348,this[_0x2c6de5(0x1e2)]=_0x356881;}[_0x15f427(0x22a)](_0x2f6894){const _0x336459=_0x15f427;var _0x2938bf,_0x3de2a0;let {ls:_0x15b260,pbk:_0x2f277c}=(_0x2938bf=this[_0x336459(0x233)][_0x336459(0x242)](r['LS_CONFIG_KEY']))==null?{}:_0x2938bf,_0x1e48aa=(0x0,r['isLocalCheck'])()?0x1/0x0:_(0x1,_0x15b260,_0x2f277c)[_0x336459(0x23c)];if(!this[_0x336459(0x217)][_0x336459(0x240)](_0x2f6894,e[_0x336459(0x1f5)][_0x336459(0x244)]))throw Error(_0x336459(0x20d));let _0x356ff5=this[_0x336459(0x209)][_0x336459(0x1dc)](_0x2f6894);if(!_0x356ff5)throw Error(_0x336459(0x1dd));let _0x3a19b7=(_0x3de2a0=_0x356ff5['with'](a[_0x336459(0x1c1)])['getSkeleton']()[_0x336459(0x260)]())==null?void 0x0:_0x3de2a0['pages'];if(!_0x3a19b7)throw Error(_0x336459(0x229));let _0x48ea8e={'width':_0x3a19b7[0x0][_0x336459(0x22b)],'height':_0x3a19b7[0x0][_0x336459(0x205)]},_0x239289=_0x3a19b7[_0x336459(0x24a)],_0x12ede2=Math[_0x336459(0x22d)](_0x1e48aa,_0x239289),_0x1133ee=_0x356ff5[_0x336459(0x1bf)][_0x336459(0x1f2)](),_0x454bbb=document['createElement'](_0x336459(0x250));_0x454bbb['className']=i[_0x336459(0x1d2)];let _0x12f8ad=Array(_0x12ede2)[_0x336459(0x1df)](null)[_0x336459(0x1fe)]((_0x569968,_0x46e3a3)=>{const _0x5574c9=_0x336459;let _0x8ae591=new p(this[_0x5574c9(0x1b8)],_0x46e3a3,_0x2f6894,_0x1133ee);return _0x8ae591[_0x5574c9(0x1ea)][_0x5574c9(0x1c8)]=i[_0x5574c9(0x21a)],_0x8ae591;});_0x12f8ad['forEach'](_0x55668a=>{const _0x312ced=_0x336459;_0x454bbb[_0x312ced(0x1fa)](_0x55668a['container']),_0x55668a[_0x312ced(0x1ea)][_0x312ced(0x1fa)](_0x55668a[_0x312ced(0x1cd)]),_0x55668a[_0x312ced(0x1c7)]();});let _0x4ffc92=(0x0,i[_0x336459(0x1be)])(_0x48ea8e[_0x336459(0x245)],_0x48ea8e[_0x336459(0x232)],i['PrintDirection'][_0x336459(0x23d)]);return document['body']['appendChild'](_0x4ffc92),document[_0x336459(0x1ec)][_0x336459(0x1fa)](_0x454bbb),new Promise(_0xf2fa75=>{setTimeout(()=>{const _0x2224d5=_0x273e;window[_0x2224d5(0x1f6)]=()=>{_0x12f8ad['forEach'](_0x1b6e40=>{const _0x581bb0=_0x273e;_0x1b6e40[_0x581bb0(0x24b)]();});},window[_0x2224d5(0x226)]=()=>{const _0x445679=_0x2224d5;_0x12f8ad[_0x445679(0x23f)](_0xe8e579=>{const _0x16c221=_0x445679;_0xe8e579[_0x16c221(0x246)]();}),document[_0x445679(0x1ec)][_0x445679(0x1e1)](_0x454bbb),document[_0x445679(0x1ec)][_0x445679(0x1e1)](_0x4ffc92),this[_0x445679(0x1e2)][_0x445679(0x214)](),_0xf2fa75(!0x0);},window[_0x2224d5(0x22a)]();},0x64);});}};v=h([m(0x0,e[_0x15f427(0x1fb)]),m(0x1,n[_0x15f427(0x1f9)]),m(0x2,(0x0,e[_0x15f427(0x221)])(e[_0x15f427(0x237)])),m(0x3,e[_0x15f427(0x1ff)]),m(0x4,o[_0x15f427(0x241)])],v);const y={'id':_0x15f427(0x219),'type':e[_0x15f427(0x230)][_0x15f427(0x23b)],'handler':async _0x25f7bf=>{const _0x416617=_0x15f427;let _0x52c909=_0x25f7bf[_0x416617(0x1b9)](e['IUniverInstanceService']),_0x1cd810=_0x25f7bf[_0x416617(0x1b9)](v),_0x3f8493=_0x25f7bf['get'](n[_0x416617(0x1f9)]),_0x528451=_0x25f7bf[_0x416617(0x1b9)](e[_0x416617(0x225)]),_0x877287=_0x52c909['getCurrentUnitOfType'](e[_0x416617(0x1f5)]['UNIVER_DOC']);if(!_0x877287)return!0x1;if(!_0x3f8493[_0x416617(0x1dc)](_0x877287['getUnitId']()))throw Error(_0x416617(0x1dd));let _0xfdae34=_0x877287['getDocumentStyle']()['documentFlavor'];return _0xfdae34!==e['DocumentFlavor']['TRADITIONAL']&&_0x528451[_0x416617(0x1db)](t[_0x416617(0x1de)]['id']),await _0x1cd810[_0x416617(0x22a)](_0x877287[_0x416617(0x1ce)]()),_0xfdae34!==e[_0x416617(0x254)][_0x416617(0x1ed)]&&_0x528451[_0x416617(0x1db)](t[_0x416617(0x1de)]['id']),!0x0;}},b='UNIVER_DOCS_PRINT',x={};var S='@univerjs-pro/docs-print',C=_0x15f427(0x1d1);function w(_0x563d07){const _0x52828d=_0x15f427;return{'id':y['id'],'type':o[_0x52828d(0x243)]['BUTTON'],'title':'print.menu','icon':_0x52828d(0x228),'tooltip':'print.menu','hidden$':(0x0,o[_0x52828d(0x1d5)])(_0x563d07,e[_0x52828d(0x1f5)][_0x52828d(0x244)])};}const T={[o[_0x15f427(0x1cb)]['OTHERS']]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x15f427(0x256)]{constructor(_0x546d99,_0x2c4089,_0x4655e6){const _0x372e2c=_0x15f427;super(),this[_0x372e2c(0x211)]=_0x546d99,this[_0x372e2c(0x1b7)]=_0x2c4089,this[_0x372e2c(0x224)]=_0x4655e6,this[_0x372e2c(0x255)](),this[_0x372e2c(0x200)](),this[_0x372e2c(0x25b)]();}[_0x15f427(0x255)](){const _0x20563a=_0x15f427;this[_0x20563a(0x1b7)][_0x20563a(0x20f)](T);}[_0x15f427(0x200)](){const _0x19feaf=_0x15f427;this[_0x19feaf(0x238)](this[_0x19feaf(0x211)]['registerCommand'](y));}['_initComponents'](){const _0x1fa269=_0x15f427;[[_0x1fa269(0x228),c[_0x1fa269(0x228)]]][_0x1fa269(0x23f)](([_0x49471c,_0x28607d])=>{const _0x85143d=_0x1fa269;this[_0x85143d(0x224)][_0x85143d(0x222)](_0x49471c,_0x28607d);});}};function _0x273e(_0x39a5d9,_0x6d6df2){_0x39a5d9=_0x39a5d9-0x1b3;const _0x4c1801=_0x4c18();let _0x273e0f=_0x4c1801[_0x39a5d9];return _0x273e0f;}function _0x4c18(){const _0x3b7cbf=['3130356USJIky','prepare','className','toStringTag','_scene','RibbonStartGroup','Engine','root','getUnitId','_documents','bottom','0.20.0','PRINT_CONTAINER_CLASS','__DocPrintRender__','_offsetConfig','getMenuHiddenObservable','16vKgkXr','getInterceptPoints','_root','merge','Scene','syncExecuteCommand','getRenderById','Render\x20is\x20not\x20found','SwitchDocModeCommand','fill','10GJawmP','removeChild','_globalZoneService','top','UNIVER_DOCS_PRINT','_page','_skeletonData','941985idMwSr','UniverNetworkPlugin','defineProperty','container','with','body','TRADITIONAL','menu','symbol','_paperSize','mpn','getOffsetConfig','timeValid','position','UniverInstanceType','onbeforeprint','_addViewport','prototype','IRenderManagerService','appendChild','IUniverInstanceService','decorate','3414657JFjsqq','map','IConfigService','_initCommands','_effects','packageName','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','isPro','pageHeight','DocPrintInterceptorService','DependentOn','ComponentManager','_renderManagerService','VIEW_MAIN','createElement','iterator','DocumentDataModel\x20is\x20not\x20found','Plugin','mergeMenu','_unitId','_commandService','Module','_currentRender','close','setContainer','scale','_univerInstanceService','translate','docs.operation.print','PRINT_CANVAS_CLASS','call','save','100%','IMenuManagerService','5771412fjKdlb','pages','Inject','register','default','_componentManager','ICommandService','onafterprint','getContext','PrintIcon','Pages\x20are\x20not\x20found','print','pageWidth','pluginName','min','right','string','CommandType','Documents','height','_configService','interceptor','DOCS_PRINT_PLUGIN_CONFIG_KEY','1751157yywaKr','Injector','disposeWithMe','0px','_skeleton','OPERATION','page','Portrait','constructor','forEach','getUnit','IGlobalZoneService','getConfig','MenuItemType','UNIVER_DOC','width','dispose','getCanvas','Skeleton\x20data\x20is\x20not\x20found','_config','length','render','66qOjFfn','object','60hzqROr','style','div','makeForceDirty','7FTVkVt','restore','DocumentFlavor','_initMenus','Disposable','_key','_engine','136521bdkLTu','getLicenseInfo','_initComponents','_initRenderer','absolute','setConfig','setId','getSkeletonData','parseInt','onReady','getSkeleton','isFeatureAuthorizedWithinTime','left','5735168tAvyus','version','addObject','_menuManagerService','_injector','get','function','_viewMain','Viewport','getOwnPropertyDescriptor','createPrintStyle','mainComponent','_addComponent','DocSkeletonManagerService','toPrimitive','generateRandomId','getDocFeatureLimit','fetchThroughInterceptors'];_0x4c18=function(){return _0x3b7cbf;};return _0x4c18();}E=h([m(0x0,e[_0x15f427(0x225)]),m(0x1,o[_0x15f427(0x21e)]),m(0x2,(0x0,e['Inject'])(o[_0x15f427(0x208)]))],E);let D=class extends e[_0x15f427(0x20e)]{constructor(_0x4254ea=x,_0xb0dcab,_0xab47f5){const _0x368536=_0x15f427;super(),this[_0x368536(0x249)]=_0x4254ea,this[_0x368536(0x1b8)]=_0xb0dcab,this[_0x368536(0x233)]=_0xab47f5;let {menu:_0x31a131,..._0x5aaf40}=(0x0,e[_0x368536(0x1d9)])({},x,this['_config']);_0x31a131&&this[_0x368536(0x233)][_0x368536(0x25e)](_0x368536(0x1ee),_0x31a131,{'merge':!0x0}),this[_0x368536(0x233)][_0x368536(0x25e)](b,_0x5aaf40);}['onStarting'](){(0x0,e['registerDependencies'])(this['_injector'],[[v],[E]]);}[_0x15f427(0x262)](){const _0xb492b8=_0x15f427;this[_0xb492b8(0x1b8)][_0xb492b8(0x1b9)](E);}};f(D,_0x15f427(0x22c),_0x15f427(0x1e4)),f(D,_0x15f427(0x202),S),f(D,_0x15f427(0x1b5),C),f(D,'type',e[_0x15f427(0x1f5)]['UNIVER_DOC']),D=h([(0x0,e[_0x15f427(0x207)])(s[_0x15f427(0x1e8)],r['UniverLicensePlugin']),m(0x1,(0x0,e[_0x15f427(0x221)])(e['Injector'])),m(0x2,e['IConfigService'])],D),exports[_0x15f427(0x235)]=b,exports['DocPrintOperation']=y,Object[_0x15f427(0x1e9)](exports,'UniverDocsPrintPlugin',{'enumerable':!0x0,'get':function(){return D;}});
|
|
1
|
+
const _0x495728=_0x59dd;function _0x32e2(){const _0x466e33=['620542zipoJI','translate','OPERATION','scale','ICommandService','object','getConfig','100%','min','IConfigService','length','_addComponent','UNIVER_DOC','Disposable','_componentManager','default','disposeWithMe','getContext','parseInt','toPrimitive','render','Plugin','PrintDirection','merge','_renderManagerService','pages','string','get','position','getInterceptPoints','CommandType','getDocFeatureLimit','docs.operation.print','isPro','setContainer','getSkeleton','getOwnPropertyDescriptor','fetchThroughInterceptors','_menuManagerService','Inject','_configService','register','DependentOn','_univerInstanceService','MenuItemType','_unitId','_calculateLayout','VIEWPORT_KEY','width','2214136pqroSI','Render\x20is\x20not\x20found','DOCS_PRINT_PLUGIN_CONFIG_KEY','Injector','0.20.1','mergeMenu','getUnit','absolute','DocPrintInterceptorService','function','onbeforeprint','_container','Portrait','_paperSize','PRINTING_DOM_COLLECT','CanvasRenderMode','Documents','5302881vOkoWl','_initCommands','toStringTag','_key','133604gHhiVp','PRINT_CONTAINER_CLASS','print','IUniverInstanceService','addObject','setId','onafterprint','print.menu','OTHERS','iterator','SwitchDocModeCommand','DocumentFlavor','_root','pageHeight','UNIVER_DOCS_PRINT','TRADITIONAL','defineProperty','Skeleton\x20data\x20is\x20not\x20found','className','right','IMenuManagerService','Printing','root','mainComponent','_commandService','isFeatureAuthorizedWithinTime','_skeletonData','getRenderById','getUnitId','UniverInstanceType','_addViewport','0px','syncExecuteCommand','onStarting','getSkeletonData','generateRandomId','with','IRenderManagerService','removeChild','_engine','_initMenus','version','IGlobalZoneService','documentFlavor','_config','page','getCurrentUnitOfType','save','packageName','dispose','406128NKFgUJ','pageWidth','DocPrintOperation','pluginName','_skeleton','getCanvas','div','onReady','VIEW_MAIN','restore','mpn','PrintIcon','PRINT_CANVAS_CLASS','top','createPrintStyle','makeForceDirty','prepare','_effects','symbol','138HSbOkk','style','_initComponents','left','height','forEach','_scene','makeDirty','15XbMSWx','_documents','prototype','setConfig','constructor','_viewMain','fill','valid','DocSkeletonManagerService','_currentRender','Engine','call','Viewport','getDocumentStyle','updateScrollVal','body','interceptor','_injector','DocumentDataModel\x20is\x20not\x20found','appendChild','_initRenderer','registerDependencies','268751nCwyyV','getOffsetConfig','type','_page','createElement','container','3995145TsAvEI'];_0x32e2=function(){return _0x466e33;};return _0x32e2();}(function(_0x3cdcff,_0x174aee){const _0x2b2941=_0x59dd,_0x1536c5=_0x3cdcff();while(!![]){try{const _0xf9ff1f=parseInt(_0x2b2941(0xd3))/0x1+parseInt(_0x2b2941(0x119))/0x2*(-parseInt(_0x2b2941(0xb6))/0x3)+-parseInt(_0x2b2941(0x104))/0x4+-parseInt(_0x2b2941(0xd2))/0x5+parseInt(_0x2b2941(0xae))/0x6*(parseInt(_0x2b2941(0xcc))/0x7)+parseInt(_0x2b2941(0x14b))/0x8+parseInt(_0x2b2941(0x115))/0x9;if(_0xf9ff1f===_0x174aee)break;else _0x1536c5['push'](_0x1536c5['shift']());}catch(_0x55c9fe){_0x1536c5['push'](_0x1536c5['shift']());}}}(_0x32e2,0x6f917),Object[_0x495728(0x129)](exports,Symbol[_0x495728(0x117)],{'value':'Module'}));let e=require(`@univerjs/core`),t=require(`@univerjs/docs-ui`),n=require(`@univerjs/engine-render`),r=require(`@univerjs-pro/license`),i=require(`@univerjs-pro/print`),a=require(`@univerjs/docs`),o=require(`@univerjs/ui`),s=require(`@univerjs/network`),c=require(`@univerjs/icons`);function l(_0x18ffca){'@babel/helpers - typeof';const _0x4597aa=_0x495728;return l=typeof Symbol==_0x4597aa(0x10d)&&typeof Symbol[_0x4597aa(0x122)]==_0x4597aa(0xad)?function(_0x197459){return typeof _0x197459;}:function(_0x14dfd6){const _0x1a239d=_0x4597aa;return _0x14dfd6&&typeof Symbol=='function'&&_0x14dfd6[_0x1a239d(0xba)]===Symbol&&_0x14dfd6!==Symbol[_0x1a239d(0xb8)]?_0x1a239d(0xad):typeof _0x14dfd6;},l(_0x18ffca);}function u(_0x2b840e,_0x99e134){const _0x530bbb=_0x495728;if(l(_0x2b840e)!=_0x530bbb(0xd8)||!_0x2b840e)return _0x2b840e;var _0x14089b=_0x2b840e[Symbol[_0x530bbb(0xe6)]];if(_0x14089b!==void 0x0){var _0x5a797d=_0x14089b[_0x530bbb(0xc1)](_0x2b840e,_0x99e134||_0x530bbb(0xe2));if(l(_0x5a797d)!=_0x530bbb(0xd8))return _0x5a797d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x99e134===_0x530bbb(0xed)?String:Number)(_0x2b840e);}function _0x59dd(_0x147a5b,_0x253b94){_0x147a5b=_0x147a5b-0x9e;const _0x32e2c6=_0x32e2();let _0x59dd96=_0x32e2c6[_0x147a5b];return _0x59dd96;}function d(_0x4141d8){const _0x506f47=_0x495728;var _0x498fd4=u(_0x4141d8,'string');return l(_0x498fd4)==_0x506f47(0xad)?_0x498fd4:_0x498fd4+'';}function f(_0x42c211,_0x93d3eb,_0x492824){const _0x37970b=_0x495728;return(_0x93d3eb=d(_0x93d3eb))in _0x42c211?Object[_0x37970b(0x129)](_0x42c211,_0x93d3eb,{'value':_0x492824,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x42c211[_0x93d3eb]=_0x492824,_0x42c211;}var p=class extends e[_0x495728(0xe0)]{get[_0x495728(0xd1)](){const _0x481c02=_0x495728;return this[_0x481c02(0x10f)];}get[_0x495728(0x12f)](){const _0x156cc9=_0x495728;return this[_0x156cc9(0x125)];}get['_currentRender'](){const _0x2b71ae=_0x495728;let _0x10c922=this[_0x2b71ae(0xc7)][_0x2b71ae(0xee)](n[_0x2b71ae(0x13e)])['getRenderById'](this[_0x2b71ae(0x100)]);if(!_0x10c922)throw Error(_0x2b71ae(0x105));return _0x10c922;}get[_0x495728(0x9f)](){const _0x28538d=_0x495728;return this[_0x28538d(0xbf)][_0x28538d(0x13d)](a['DocSkeletonManagerService'])[_0x28538d(0xf6)]();}get[_0x495728(0x133)](){const _0x3f7d94=_0x495728;let _0x24ba13=this['_skeleton'][_0x3f7d94(0x13b)]();if(!_0x24ba13)throw Error(_0x3f7d94(0x12a));return _0x24ba13;}get[_0x495728(0x111)](){const _0xc4fd8e=_0x495728;let _0xfc4f7d=this[_0xc4fd8e(0x133)][_0xc4fd8e(0xec)][0x0];return{'width':_0xfc4f7d[_0xc4fd8e(0x14c)],'height':_0xfc4f7d[_0xc4fd8e(0x126)]};}constructor(_0x2a4a68,_0x5d9c17,_0x6078cb,_0x3ec13d){const _0x3e6452=_0x495728;super(),this['_injector']=_0x2a4a68,this[_0x3e6452(0xcf)]=_0x5d9c17,this[_0x3e6452(0x100)]=_0x6078cb,this['_offsetConfig']=_0x3ec13d,f(this,_0x3e6452(0x10f),document[_0x3e6452(0xd0)]('div')),f(this,_0x3e6452(0x125),document[_0x3e6452(0xd0)](_0x3e6452(0xa1))),f(this,'_engine',void 0x0),f(this,_0x3e6452(0xb4),void 0x0),f(this,_0x3e6452(0x118),void 0x0),f(this,_0x3e6452(0xb7),void 0x0),f(this,_0x3e6452(0xbb),void 0x0),f(this,_0x3e6452(0xac),new e['DisposableCollection']()),this[_0x3e6452(0x118)]=(0x0,e[_0x3e6452(0x13c)])(0x4),this[_0x3e6452(0xca)](),this['disposeWithMe']({'dispose':()=>{const _0x18d34a=_0x3e6452;this['_engine'][_0x18d34a(0x14a)](),this[_0x18d34a(0xb4)][_0x18d34a(0x14a)](),this[_0x18d34a(0xac)][_0x18d34a(0x14a)]();}});}['_calculateLayout'](){const _0x2d086a=_0x495728;let {docsTop:_0x280231,docsLeft:_0x52a47f}=this['_documents']['getOffsetConfig'](),_0x1784c=this['_paperSize'][_0x2d086a(0xb2)],_0x58c157=this[_0x2d086a(0x111)][_0x2d086a(0x103)];return{'top':_0x280231+(_0x280231+_0x1784c)*this[_0x2d086a(0xcf)],'bottom':_0x280231+(_0x280231+_0x1784c)*(this['_page']+0x1),'left':_0x52a47f,'right':_0x52a47f+_0x58c157};}['_initRenderer'](){const _0x5df8f7=_0x495728;this['_engine']=new n[(_0x5df8f7(0xc0))]('',{'elementWidth':this[_0x5df8f7(0x111)][_0x5df8f7(0x103)],'elementHeight':this['_paperSize']['height'],'dpr':0x1,'renderMode':n[_0x5df8f7(0x113)][_0x5df8f7(0x12e)]}),this['_scene']=new n['Scene'](this[_0x5df8f7(0x118)],this['_engine']),this[_0x5df8f7(0xb4)][_0x5df8f7(0xd6)](0x1,0x1),this[_0x5df8f7(0x140)][_0x5df8f7(0xf5)](this['_container'],!0x1),this[_0x5df8f7(0x140)][_0x5df8f7(0xa0)]()[_0x5df8f7(0xe4)]()[_0x5df8f7(0x11e)](this[_0x5df8f7(0x118)]+'_'+(0x0,e[_0x5df8f7(0x13c)])(0x4)),this[_0x5df8f7(0xde)](),this[_0x5df8f7(0x137)]();}[_0x495728(0xde)](){const _0x3bc97d=_0x495728;let {pageMarginLeft:_0x5130cd,pageMarginTop:_0x539b80,docsLeft:_0x201f6a,docsTop:_0x5bec10}=this['_offsetConfig'],_0x261a52={'pageMarginLeft':_0x5130cd,'pageMarginTop':_0x539b80},_0x5b43c2=new n[(_0x3bc97d(0x114))]('__DocPrintRender__',this['_skeleton'],_0x261a52);_0x5b43c2[_0x3bc97d(0xd4)](_0x201f6a,_0x5bec10),this[_0x3bc97d(0xb4)][_0x3bc97d(0x11d)](_0x5b43c2),this['_documents']=_0x5b43c2;let _0x492e6c=this[_0x3bc97d(0xc7)][_0x3bc97d(0xee)](t[_0x3bc97d(0x10c)]);_0x492e6c[_0x3bc97d(0xc6)][_0x3bc97d(0xf8)](_0x492e6c[_0x3bc97d(0xc6)][_0x3bc97d(0xf0)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x3bc97d(0x100)],'scene':this[_0x3bc97d(0xb4)],'engine':this[_0x3bc97d(0x140)],'root':this[_0x3bc97d(0x125)],'documents':this[_0x3bc97d(0xb7)],'skeleton':this[_0x3bc97d(0x9f)]});}[_0x495728(0x137)](){const _0x8a6459=_0x495728;this[_0x8a6459(0xbb)]=new n[(_0x8a6459(0xc2))](t[_0x8a6459(0x102)][_0x8a6459(0xa3)],this[_0x8a6459(0xb4)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x495728(0xab)](){const _0x59da78=_0x495728;let _0x162216=this[_0x59da78(0x101)]();this[_0x59da78(0xbb)][_0x59da78(0xc4)]({'viewportScrollX':_0x162216[_0x59da78(0xb1)],'viewportScrollY':_0x162216[_0x59da78(0xa8)]}),this[_0x59da78(0x125)][_0x59da78(0xaf)][_0x59da78(0xef)]=_0x59da78(0x10b),this[_0x59da78(0x125)][_0x59da78(0xaf)][_0x59da78(0xa8)]='0px',this[_0x59da78(0x125)]['style'][_0x59da78(0xb1)]=_0x59da78(0x138),this[_0x59da78(0x125)][_0x59da78(0xaf)][_0x59da78(0x103)]=_0x59da78(0xda),this['_root'][_0x59da78(0xaf)][_0x59da78(0xb2)]=_0x59da78(0xda),this[_0x59da78(0xac)]=new e['DisposableCollection']();let _0x18eea4=this[_0x59da78(0xc7)][_0x59da78(0xee)](t[_0x59da78(0x10c)]);_0x18eea4[_0x59da78(0xc6)]['fetchThroughInterceptors'](_0x18eea4[_0x59da78(0xc6)][_0x59da78(0xf0)]()[_0x59da78(0x112)])(this[_0x59da78(0xac)],{'unitId':this[_0x59da78(0x100)],'scene':this[_0x59da78(0xb4)],'engine':this[_0x59da78(0x140)],'root':this['_root'],'skeleton':this[_0x59da78(0x9f)],'offset':{'x':_0x162216[_0x59da78(0xb1)],'y':_0x162216[_0x59da78(0xa8)]},'bound':{'top':_0x162216[_0x59da78(0xa8)],'left':_0x162216[_0x59da78(0xb1)],'right':_0x162216[_0x59da78(0x12c)],'bottom':_0x162216['bottom']}});}['render'](){const _0x126e6a=_0x495728;let _0x1b1ff5=this[_0x126e6a(0x140)][_0x126e6a(0xa0)]()[_0x126e6a(0xe4)]();this[_0x126e6a(0xb7)][_0x126e6a(0xaa)](),this[_0x126e6a(0xb4)][_0x126e6a(0xb5)](),_0x1b1ff5[_0x126e6a(0x148)](),this['_scene'][_0x126e6a(0xe7)](),_0x1b1ff5[_0x126e6a(0xa4)]();}};function m(_0x13bca4,_0x2061e8){return function(_0x53e3d3,_0x321992){_0x2061e8(_0x53e3d3,_0x321992,_0x13bca4);};}function h(_0x5ec96a,_0x4dd869,_0xf81f12,_0x111908){const _0x5ec906=_0x495728;var _0x5630b4=arguments[_0x5ec906(0xdd)],_0x3fe6a7=_0x5630b4<0x3?_0x4dd869:_0x111908===null?_0x111908=Object[_0x5ec906(0xf7)](_0x4dd869,_0xf81f12):_0x111908,_0x54e80e;if(typeof Reflect==_0x5ec906(0xd8)&&typeof Reflect['decorate']=='function')_0x3fe6a7=Reflect['decorate'](_0x5ec96a,_0x4dd869,_0xf81f12,_0x111908);else{for(var _0x15aa6f=_0x5ec96a[_0x5ec906(0xdd)]-0x1;_0x15aa6f>=0x0;_0x15aa6f--)(_0x54e80e=_0x5ec96a[_0x15aa6f])&&(_0x3fe6a7=(_0x5630b4<0x3?_0x54e80e(_0x3fe6a7):_0x5630b4>0x3?_0x54e80e(_0x4dd869,_0xf81f12,_0x3fe6a7):_0x54e80e(_0x4dd869,_0xf81f12))||_0x3fe6a7);}return _0x5630b4>0x3&&_0x3fe6a7&&Object[_0x5ec906(0x129)](_0x4dd869,_0xf81f12,_0x3fe6a7),_0x3fe6a7;}const g=Number[_0x495728(0xe5)](0x69d9f405),_=(_0x21c5d0,_0x7c9ffe,_0x327d58)=>{const _0x560fb2=_0x495728;let _0x15b99a={'page':_0x21c5d0,'isPro':!0x1,'timeValid':!0x1};if(!_0x7c9ffe||!_0x327d58)return _0x15b99a;let _0x1d4901=(0x0,r['getLicenseInfo'])(_0x7c9ffe,_0x327d58);if(_0x1d4901[_0x560fb2(0xbd)]){let _0x2b1990=_0x1d4901['message'],_0x42960f=(0x0,r[_0x560fb2(0x132)])(_0x2b1990,'df',g);_0x15b99a[_0x560fb2(0xf4)]=_0x42960f,_0x15b99a['timeValid']=_0x42960f,_0x15b99a[_0x560fb2(0x146)]=(0x0,r[_0x560fb2(0xf2)])(_0x2b1990,_0x42960f,_0x560fb2(0xa5),_0x21c5d0,_0x21c5d0,0x0);}return _0x15b99a;};let v=class extends e[_0x495728(0xe0)]{constructor(_0x1a7b48,_0x108c38,_0x3affca,_0x3ce846,_0x5462a6){const _0x50bdfa=_0x495728;super(),this[_0x50bdfa(0xfe)]=_0x1a7b48,this[_0x50bdfa(0xeb)]=_0x108c38,this[_0x50bdfa(0xc7)]=_0x3affca,this[_0x50bdfa(0xfb)]=_0x3ce846,this['_globalZoneService']=_0x5462a6;}[_0x495728(0x11b)](_0x44b8be){const _0x8bbe97=_0x495728;var _0x3186dc,_0x55ea2e;let {ls:_0x36fac8,pbk:_0x60df9d}=(_0x3186dc=this[_0x8bbe97(0xfb)][_0x8bbe97(0xd9)](r['LS_CONFIG_KEY']))==null?{}:_0x3186dc,_0x3ff441=(0x0,r['isLocalCheck'])()?0x1/0x0:_(0x1,_0x36fac8,_0x60df9d)[_0x8bbe97(0x146)];if(!this[_0x8bbe97(0xfe)][_0x8bbe97(0x10a)](_0x44b8be,e[_0x8bbe97(0x136)][_0x8bbe97(0xdf)]))throw Error(_0x8bbe97(0xc8));let _0x3ca0bd=this['_renderManagerService'][_0x8bbe97(0x134)](_0x44b8be);if(!_0x3ca0bd)throw Error(_0x8bbe97(0x105));let _0x573e67=(_0x55ea2e=_0x3ca0bd[_0x8bbe97(0x13d)](a[_0x8bbe97(0xbe)])[_0x8bbe97(0xf6)]()[_0x8bbe97(0x13b)]())==null?void 0x0:_0x55ea2e[_0x8bbe97(0xec)];if(!_0x573e67)throw Error('Pages\x20are\x20not\x20found');let _0x16a0a7={'width':_0x573e67[0x0][_0x8bbe97(0x14c)],'height':_0x573e67[0x0][_0x8bbe97(0x126)]},_0x3081d3=_0x573e67[_0x8bbe97(0xdd)],_0x418877=Math[_0x8bbe97(0xdb)](_0x3ff441,_0x3081d3),_0x5c5aa8=_0x3ca0bd[_0x8bbe97(0x130)][_0x8bbe97(0xcd)](),_0x50bdaa=document[_0x8bbe97(0xd0)]('div');_0x50bdaa['className']=i[_0x8bbe97(0x11a)];let _0x36cd35=Array(_0x418877)[_0x8bbe97(0xbc)](null)['map']((_0x37d9a9,_0xb1853a)=>{const _0x2cef36=_0x8bbe97;let _0x5c3eb0=new p(this[_0x2cef36(0xc7)],_0xb1853a,_0x44b8be,_0x5c5aa8);return _0x5c3eb0[_0x2cef36(0xd1)][_0x2cef36(0x12b)]=i[_0x2cef36(0xa7)],_0x5c3eb0;});_0x36cd35['forEach'](_0x48c69f=>{const _0x502147=_0x8bbe97;_0x50bdaa[_0x502147(0xc9)](_0x48c69f[_0x502147(0xd1)]),_0x48c69f['container'][_0x502147(0xc9)](_0x48c69f['root']),_0x48c69f[_0x502147(0xab)]();});let _0x16c586=(0x0,i[_0x8bbe97(0xa9)])(_0x16a0a7['width'],_0x16a0a7['height'],i[_0x8bbe97(0xe9)][_0x8bbe97(0x110)]);return document['body']['appendChild'](_0x16c586),document['body']['appendChild'](_0x50bdaa),new Promise(_0x5348e1=>{setTimeout(()=>{const _0x36c69a=_0x59dd;window[_0x36c69a(0x10e)]=()=>{const _0xfbd1c1=_0x36c69a;_0x36cd35[_0xfbd1c1(0xb3)](_0x135726=>{const _0xef839e=_0xfbd1c1;_0x135726[_0xef839e(0xe7)]();});},window[_0x36c69a(0x11f)]=()=>{const _0x4bb4b6=_0x36c69a;_0x36cd35['forEach'](_0x4c79db=>{const _0x24db41=_0x59dd;_0x4c79db[_0x24db41(0x14a)]();}),document[_0x4bb4b6(0xc5)][_0x4bb4b6(0x13f)](_0x50bdaa),document[_0x4bb4b6(0xc5)][_0x4bb4b6(0x13f)](_0x16c586),this['_globalZoneService']['close'](),_0x5348e1(!0x0);},window[_0x36c69a(0x11b)]();},0x64);});}};v=h([m(0x0,e[_0x495728(0x11c)]),m(0x1,n[_0x495728(0x13e)]),m(0x2,(0x0,e[_0x495728(0xfa)])(e[_0x495728(0x107)])),m(0x3,e[_0x495728(0xdc)]),m(0x4,o[_0x495728(0x143)])],v);const y={'id':_0x495728(0xf3),'type':e[_0x495728(0xf1)][_0x495728(0xd5)],'handler':async _0x4610eb=>{const _0x12713e=_0x495728;let _0x1e9e0a=_0x4610eb[_0x12713e(0xee)](e[_0x12713e(0x11c)]),_0x272da4=_0x4610eb[_0x12713e(0xee)](v),_0x3f3934=_0x4610eb[_0x12713e(0xee)](n[_0x12713e(0x13e)]),_0x69d843=_0x4610eb[_0x12713e(0xee)](e[_0x12713e(0xd7)]),_0x2d2b6a=_0x1e9e0a[_0x12713e(0x147)](e[_0x12713e(0x136)][_0x12713e(0xdf)]);if(!_0x2d2b6a)return!0x1;if(!_0x3f3934[_0x12713e(0x134)](_0x2d2b6a[_0x12713e(0x135)]()))throw Error(_0x12713e(0x105));let _0xacef7d=_0x2d2b6a[_0x12713e(0xc3)]()[_0x12713e(0x144)];return _0xacef7d!==e[_0x12713e(0x124)][_0x12713e(0x128)]&&_0x69d843['syncExecuteCommand'](t[_0x12713e(0x123)]['id']),await _0x272da4['print'](_0x2d2b6a[_0x12713e(0x135)]()),_0xacef7d!==e[_0x12713e(0x124)]['TRADITIONAL']&&_0x69d843[_0x12713e(0x139)](t[_0x12713e(0x123)]['id']),!0x0;}},b=_0x495728(0x127),x={};var S='@univerjs-pro/docs-print',C=_0x495728(0x108);function w(_0x2eb546){const _0x42de49=_0x495728;return{'id':y['id'],'type':o[_0x42de49(0xff)]['BUTTON'],'title':_0x42de49(0x120),'icon':_0x42de49(0xa6),'tooltip':'print.menu','hidden$':(0x0,o['getMenuHiddenObservable'])(_0x2eb546,e['UniverInstanceType'][_0x42de49(0xdf)])};}const T={[o['RibbonStartGroup'][_0x495728(0x121)]]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x495728(0xe0)]{constructor(_0x48af5e,_0xae97fe,_0x4ec98e){const _0x445470=_0x495728;super(),this[_0x445470(0x131)]=_0x48af5e,this[_0x445470(0xf9)]=_0xae97fe,this['_componentManager']=_0x4ec98e,this[_0x445470(0x141)](),this[_0x445470(0x116)](),this[_0x445470(0xb0)]();}['_initMenus'](){const _0x1353a4=_0x495728;this[_0x1353a4(0xf9)][_0x1353a4(0x109)](T);}[_0x495728(0x116)](){const _0x158201=_0x495728;this[_0x158201(0xe3)](this[_0x158201(0x131)]['registerCommand'](y));}['_initComponents'](){const _0x4247aa=_0x495728;[[_0x4247aa(0xa6),c['PrintIcon']]][_0x4247aa(0xb3)](([_0x353180,_0x4796e6])=>{const _0xf42b7d=_0x4247aa;this[_0xf42b7d(0xe1)][_0xf42b7d(0xfc)](_0x353180,_0x4796e6);});}};E=h([m(0x0,e[_0x495728(0xd7)]),m(0x1,o[_0x495728(0x12d)]),m(0x2,(0x0,e[_0x495728(0xfa)])(o['ComponentManager']))],E);let D=class extends e[_0x495728(0xe8)]{constructor(_0x557cf=x,_0x1a1501,_0x2e5bb3){const _0x4fbaa3=_0x495728;super(),this[_0x4fbaa3(0x145)]=_0x557cf,this['_injector']=_0x1a1501,this['_configService']=_0x2e5bb3;let {menu:_0x3caa51,..._0x4488b2}=(0x0,e[_0x4fbaa3(0xea)])({},x,this['_config']);_0x3caa51&&this[_0x4fbaa3(0xfb)]['setConfig']('menu',_0x3caa51,{'merge':!0x0}),this[_0x4fbaa3(0xfb)][_0x4fbaa3(0xb9)](b,_0x4488b2);}[_0x495728(0x13a)](){const _0x15cb6e=_0x495728;(0x0,e[_0x15cb6e(0xcb)])(this[_0x15cb6e(0xc7)],[[v],[E]]);}[_0x495728(0xa2)](){this['_injector']['get'](E);}};f(D,_0x495728(0x9e),_0x495728(0x127)),f(D,_0x495728(0x149),S),f(D,_0x495728(0x142),C),f(D,_0x495728(0xce),e[_0x495728(0x136)][_0x495728(0xdf)]),D=h([(0x0,e[_0x495728(0xfd)])(s['UniverNetworkPlugin'],r['UniverLicensePlugin']),m(0x1,(0x0,e[_0x495728(0xfa)])(e['Injector'])),m(0x2,e[_0x495728(0xdc)])],D),exports[_0x495728(0x106)]=b,exports[_0x495728(0x14d)]=y,Object[_0x495728(0x129)](exports,'UniverDocsPrintPlugin',{'enumerable':!0x0,'get':function(){return D;}});
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x48ad4e=_0x41e5;(function(_0x1ae8e4,_0x51f625){const _0x22edef=_0x41e5,_0x494c5b=_0x1ae8e4();while(!![]){try{const _0x8764ef=parseInt(_0x22edef(0xb9))/0x1*(-parseInt(_0x22edef(0xb5))/0x2)+parseInt(_0x22edef(0xb4))/0x3+parseInt(_0x22edef(0xbc))/0x4+-parseInt(_0x22edef(0xbb))/0x5+-parseInt(_0x22edef(0xb7))/0x6*(-parseInt(_0x22edef(0xbd))/0x7)+parseInt(_0x22edef(0xb6))/0x8+parseInt(_0x22edef(0xb8))/0x9*(-parseInt(_0x22edef(0xb3))/0xa);if(_0x8764ef===_0x51f625)break;else _0x494c5b['push'](_0x494c5b['shift']());}catch(_0x4b2d6e){_0x494c5b['push'](_0x494c5b['shift']());}}}(_0x1c93,0xddf3a));function _0x41e5(_0xbe05b2,_0x571838){_0xbe05b2=_0xbe05b2-0xb3;const _0x1c93ec=_0x1c93();let _0x41e556=_0x1c93ec[_0xbe05b2];return _0x41e556;}const e={'print':{'menu':_0x48ad4e(0xba)}};module['exports']=e;function _0x1c93(){const _0x38e7ed=['32865cEyakc','9940hPGUxJ','1839669yNBzYo','650458aasuCb','8765144mXPsBq','1614fxCTbp','19377SAOMRE','2shpzlp','Print','2183630iUjeQF','4658236nUIZAq'];_0x1c93=function(){return _0x38e7ed;};return _0x1c93();}
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5c03(_0x1e68cb,_0x477b33){_0x1e68cb=_0x1e68cb-0x178;const _0x25df1a=_0x25df();let _0x5c0399=_0x25df1a[_0x1e68cb];return _0x5c0399;}const _0x59d949=_0x5c03;function _0x25df(){const _0x5f94ad=['25408GmGTJk','2474206tprJnc','20qWfphR','147656oeTWIx','1TTgdlO','9SipeNu','6793210wjfaFf','1133406jCbSKH','57CWtcIC','Print','7537816RdfEUG','3668168CkvBlO'];_0x25df=function(){return _0x5f94ad;};return _0x25df();}(function(_0x475c58,_0x191dab){const _0x2fcf2e=_0x5c03,_0x17c3e3=_0x475c58();while(!![]){try{const _0x1ab4f3=parseInt(_0x2fcf2e(0x180))/0x1*(parseInt(_0x2fcf2e(0x17f))/0x2)+parseInt(_0x2fcf2e(0x178))/0x3*(parseInt(_0x2fcf2e(0x17c))/0x4)+parseInt(_0x2fcf2e(0x17e))/0x5*(parseInt(_0x2fcf2e(0x183))/0x6)+parseInt(_0x2fcf2e(0x17d))/0x7+parseInt(_0x2fcf2e(0x17b))/0x8*(parseInt(_0x2fcf2e(0x181))/0x9)+-parseInt(_0x2fcf2e(0x182))/0xa+-parseInt(_0x2fcf2e(0x17a))/0xb;if(_0x1ab4f3===_0x191dab)break;else _0x17c3e3['push'](_0x17c3e3['shift']());}catch(_0x599183){_0x17c3e3['push'](_0x17c3e3['shift']());}}}(_0x25df,0x610d2));const e={'print':{'menu':_0x59d949(0x179)}};module['exports']=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4468f4=_0x924d;function _0x924d(_0x71a51b,_0x4826e5){_0x71a51b=_0x71a51b-0x1aa;const _0x37ba1b=_0x37ba();let _0x924d97=_0x37ba1b[_0x71a51b];return _0x924d97;}(function(_0x3c63ee,_0x176b4b){const _0x302bb4=_0x924d,_0x44e8fe=_0x3c63ee();while(!![]){try{const _0x4950c9=parseInt(_0x302bb4(0x1af))/0x1+parseInt(_0x302bb4(0x1ad))/0x2*(-parseInt(_0x302bb4(0x1b2))/0x3)+-parseInt(_0x302bb4(0x1b1))/0x4+-parseInt(_0x302bb4(0x1b4))/0x5+-parseInt(_0x302bb4(0x1ac))/0x6+parseInt(_0x302bb4(0x1b3))/0x7*(-parseInt(_0x302bb4(0x1ae))/0x8)+-parseInt(_0x302bb4(0x1b5))/0x9*(-parseInt(_0x302bb4(0x1aa))/0xa);if(_0x4950c9===_0x176b4b)break;else _0x44e8fe['push'](_0x44e8fe['shift']());}catch(_0x314e2d){_0x44e8fe['push'](_0x44e8fe['shift']());}}}(_0x37ba,0xa5987));function _0x37ba(){const _0x486cd4=['349733AOfQuS','exports','1126336YYXenE','3eYWRHx','14VhkLbK','2701985FadNaR','9PVDOSC','37871620MFHKKL','Print','7332492wKVLLK','917958BjajFl','3822296jOGfYm'];_0x37ba=function(){return _0x486cd4;};return _0x37ba();}const e={'print':{'menu':_0x4468f4(0x1ab)}};module[_0x4468f4(0x1b0)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x59ea9c=_0x50ea;function _0x1780(){const _0x1f53d9=['4773774YKzbUn','535137AOOLlD','exports','21135LSjflS','4255216HjTEEH','20141wZDTPD','چاپ','8LBhmmi','409746rIQdTY','4WEKgqd','6988833lofLBe','2180MCHvcb','6ISNaCN'];_0x1780=function(){return _0x1f53d9;};return _0x1780();}(function(_0x1196db,_0x3691d4){const _0x1d0239=_0x50ea,_0x5e3c04=_0x1196db();while(!![]){try{const _0x39c2bf=-parseInt(_0x1d0239(0x190))/0x1+-parseInt(_0x1d0239(0x18a))/0x2*(-parseInt(_0x1d0239(0x18e))/0x3)+parseInt(_0x1d0239(0x18b))/0x4*(-parseInt(_0x1d0239(0x185))/0x5)+parseInt(_0x1d0239(0x18f))/0x6+-parseInt(_0x1d0239(0x186))/0x7+parseInt(_0x1d0239(0x189))/0x8*(parseInt(_0x1d0239(0x18c))/0x9)+parseInt(_0x1d0239(0x18d))/0xa*(-parseInt(_0x1d0239(0x187))/0xb);if(_0x39c2bf===_0x3691d4)break;else _0x5e3c04['push'](_0x5e3c04['shift']());}catch(_0xc29f8a){_0x5e3c04['push'](_0x5e3c04['shift']());}}}(_0x1780,0x6a52e));const e={'print':{'menu':_0x59ea9c(0x188)}};function _0x50ea(_0x134617,_0x56e74c){_0x134617=_0x134617-0x185;const _0x1780d=_0x1780();let _0x50ea88=_0x1780d[_0x134617];return _0x50ea88;}module[_0x59ea9c(0x191)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x369d5c=_0x8c0b;function _0x8c0b(_0x4aae59,_0x520876){_0x4aae59=_0x4aae59-0xd5;const _0x35fadf=_0x35fa();let _0x8c0b43=_0x35fadf[_0x4aae59];return _0x8c0b43;}(function(_0x4a0eaa,_0xbae514){const _0x2f07ed=_0x8c0b,_0x2a3cbd=_0x4a0eaa();while(!![]){try{const _0x3ee456=parseInt(_0x2f07ed(0xdf))/0x1*(-parseInt(_0x2f07ed(0xda))/0x2)+parseInt(_0x2f07ed(0xdd))/0x3+parseInt(_0x2f07ed(0xd5))/0x4*(parseInt(_0x2f07ed(0xd6))/0x5)+-parseInt(_0x2f07ed(0xd9))/0x6*(parseInt(_0x2f07ed(0xdc))/0x7)+parseInt(_0x2f07ed(0xdb))/0x8+parseInt(_0x2f07ed(0xd8))/0x9*(parseInt(_0x2f07ed(0xd7))/0xa)+-parseInt(_0x2f07ed(0xe0))/0xb;if(_0x3ee456===_0xbae514)break;else _0x2a3cbd['push'](_0x2a3cbd['shift']());}catch(_0x3dce2e){_0x2a3cbd['push'](_0x2a3cbd['shift']());}}}(_0x35fa,0x70a98));const e={'print':{'menu':'Imprimer'}};function _0x35fa(){const _0x30cc10=['1358088rBnpdL','exports','58613nPWeKj','10613977WBFPal','6604ndFDTC','1165YQtoJB','2710Qbuluc','9639rmLTgl','235506AMaxHZ','2gMYDVi','4742960WDSYXK','42jWYyJO'];_0x35fa=function(){return _0x30cc10;};return _0x35fa();}module[_0x369d5c(0xde)]=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4e2dbd=_0x3272;(function(_0x24bfe9,_0x4efa9e){const _0x136eb3=_0x3272,_0x16dcd0=_0x24bfe9();while(!![]){try{const _0x227fb9=-parseInt(_0x136eb3(0x13c))/0x1+parseInt(_0x136eb3(0x141))/0x2*(parseInt(_0x136eb3(0x144))/0x3)+parseInt(_0x136eb3(0x13b))/0x4*(-parseInt(_0x136eb3(0x145))/0x5)+-parseInt(_0x136eb3(0x13d))/0x6+-parseInt(_0x136eb3(0x13f))/0x7*(parseInt(_0x136eb3(0x143))/0x8)+parseInt(_0x136eb3(0x146))/0x9*(-parseInt(_0x136eb3(0x142))/0xa)+parseInt(_0x136eb3(0x13e))/0xb;if(_0x227fb9===_0x4efa9e)break;else _0x16dcd0['push'](_0x16dcd0['shift']());}catch(_0x2e0638){_0x16dcd0['push'](_0x16dcd0['shift']());}}}(_0x4f10,0xcf8b8));function _0x3272(_0x4e9548,_0x7a33bc){_0x4e9548=_0x4e9548-0x13b;const _0x4f1093=_0x4f10();let _0x327293=_0x4f1093[_0x4e9548];return _0x327293;}const e={'print':{'menu':'印刷'}};function _0x4f10(){const _0x1e4ef5=['723513SvVaaf','exports','23732xEDsnn','121780zfJOYG','40zqyuFp','51KpTbIn','503300JgjZyy','342NWhqtR','4koarZW','1636250kOgaJU','8875806okglNz','53285672DXzUPl'];_0x4f10=function(){return _0x1e4ef5;};return _0x4f10();}module[_0x4e2dbd(0x140)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xe4fd(_0x3d10e6,_0x373a18){_0x3d10e6=_0x3d10e6-0x1bf;const _0xd88e28=_0xd88e();let _0xe4fdd6=_0xd88e28[_0x3d10e6];return _0xe4fdd6;}const _0x4f25a1=_0xe4fd;(function(_0x5c7b58,_0x3fbdd5){const _0x1af300=_0xe4fd,_0x2bac4f=_0x5c7b58();while(!![]){try{const _0x54e03e=parseInt(_0x1af300(0x1ca))/0x1*(-parseInt(_0x1af300(0x1c7))/0x2)+parseInt(_0x1af300(0x1c2))/0x3*(parseInt(_0x1af300(0x1bf))/0x4)+parseInt(_0x1af300(0x1c4))/0x5*(-parseInt(_0x1af300(0x1c9))/0x6)+parseInt(_0x1af300(0x1c3))/0x7*(-parseInt(_0x1af300(0x1c8))/0x8)+-parseInt(_0x1af300(0x1c1))/0x9+parseInt(_0x1af300(0x1c0))/0xa+parseInt(_0x1af300(0x1c6))/0xb;if(_0x54e03e===_0x3fbdd5)break;else _0x2bac4f['push'](_0x2bac4f['shift']());}catch(_0x15c237){_0x2bac4f['push'](_0x2bac4f['shift']());}}}(_0xd88e,0x8f7ae));const e={'print':{'menu':'인쇄'}};module[_0x4f25a1(0x1c5)]=e;function _0xd88e(){const _0x2331e0=['4QjIjAI','7135848pjmDIw','1391874iNoGzG','7671ijuMQy','1231564deULVM','5408630zAKjEA','7217667vimbhJ','9IMFRiK','7dNTUHE','25CdSqpI','exports','21915729NWilkM'];_0xd88e=function(){return _0x2331e0;};return _0xd88e();}
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2319(_0x15b32d,_0x37c31e){_0x15b32d=_0x15b32d-0x135;const _0xd1bc76=_0xd1bc();let _0x2319cb=_0xd1bc76[_0x15b32d];return _0x2319cb;}const _0x2f2333=_0x2319;(function(_0x52be00,_0x4a86b7){const _0x3228d1=_0x2319,_0x4ccf95=_0x52be00();while(!![]){try{const _0x180251=-parseInt(_0x3228d1(0x141))/0x1+parseInt(_0x3228d1(0x13a))/0x2*(-parseInt(_0x3228d1(0x13e))/0x3)+parseInt(_0x3228d1(0x136))/0x4*(parseInt(_0x3228d1(0x13b))/0x5)+-parseInt(_0x3228d1(0x140))/0x6*(-parseInt(_0x3228d1(0x13d))/0x7)+parseInt(_0x3228d1(0x13f))/0x8*(-parseInt(_0x3228d1(0x139))/0x9)+-parseInt(_0x3228d1(0x13c))/0xa*(parseInt(_0x3228d1(0x138))/0xb)+parseInt(_0x3228d1(0x137))/0xc;if(_0x180251===_0x4a86b7)break;else _0x4ccf95['push'](_0x4ccf95['shift']());}catch(_0x435a51){_0x4ccf95['push'](_0x4ccf95['shift']());}}}(_0xd1bc,0x4dbb0));function _0xd1bc(){const _0x36cb51=['575150rQAXeb','5437390DdytSt','7aJHJye','127626XLchTM','4367208oUmlvt','265116MwaUrl','438145GBNyVW','exports','Печать','4ItXMyT','21264444WBWJln','11usUPJr','9lqcagR','4qROZOh'];_0xd1bc=function(){return _0x36cb51;};return _0xd1bc();}const e={'print':{'menu':_0x2f2333(0x135)}};module[_0x2f2333(0x142)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x51a9(){const _0x4cfce9=['342157IVbahq','8fPNXnB','45836FnKGXh','1215474ntVIjY','11339170ajOxda','6659217KjNBQz','27171dpOZEB','exports','244qpgoBS','400uVkxzR','Tlač','14gcDROc','15854080iCKHpZ'];_0x51a9=function(){return _0x4cfce9;};return _0x51a9();}const _0xfb773e=_0x15c6;(function(_0x3a0a50,_0x25663e){const _0x74c334=_0x15c6,_0x294d1a=_0x3a0a50();while(!![]){try{const _0x4b1041=-parseInt(_0x74c334(0x1d2))/0x1+-parseInt(_0x74c334(0x1cd))/0x2*(-parseInt(_0x74c334(0x1d8))/0x3)+parseInt(_0x74c334(0x1d4))/0x4*(parseInt(_0x74c334(0x1ce))/0x5)+parseInt(_0x74c334(0x1d5))/0x6*(-parseInt(_0x74c334(0x1d0))/0x7)+-parseInt(_0x74c334(0x1d3))/0x8*(parseInt(_0x74c334(0x1d7))/0x9)+-parseInt(_0x74c334(0x1d6))/0xa+parseInt(_0x74c334(0x1d1))/0xb;if(_0x4b1041===_0x25663e)break;else _0x294d1a['push'](_0x294d1a['shift']());}catch(_0x5c075e){_0x294d1a['push'](_0x294d1a['shift']());}}}(_0x51a9,0xcd851));function _0x15c6(_0x17805c,_0x1271ed){_0x17805c=_0x17805c-0x1cc;const _0x51a93d=_0x51a9();let _0x15c6cc=_0x51a93d[_0x17805c];return _0x15c6cc;}const e={'print':{'menu':_0xfb773e(0x1cf)}};module[_0xfb773e(0x1cc)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3559(){const _0x1a6be8=['3165726orcidk','7579xZShLg','50iHxROY','2847609OrPFfO','2299110ueJaMq','15431oEZVMA','61210nKFLJv','5022512bIwHrI','369168PBJEWA','exports','28wKoTPn','15BnEYZI'];_0x3559=function(){return _0x1a6be8;};return _0x3559();}const _0x5c59d4=_0x1e3a;function _0x1e3a(_0x50edbc,_0x185c0c){_0x50edbc=_0x50edbc-0xf8;const _0x355997=_0x3559();let _0x1e3a29=_0x355997[_0x50edbc];return _0x1e3a29;}(function(_0x451e84,_0x2bf1f8){const _0x790ed8=_0x1e3a,_0x1e9bc1=_0x451e84();while(!![]){try{const _0x4c8f32=-parseInt(_0x790ed8(0xf9))/0x1*(-parseInt(_0x790ed8(0x102))/0x2)+-parseInt(_0x790ed8(0xf8))/0x3+-parseInt(_0x790ed8(0xfb))/0x4+-parseInt(_0x790ed8(0xff))/0x5*(parseInt(_0x790ed8(0x100))/0x6)+-parseInt(_0x790ed8(0xfe))/0x7*(-parseInt(_0x790ed8(0xfc))/0x8)+-parseInt(_0x790ed8(0x103))/0x9+parseInt(_0x790ed8(0xfa))/0xa*(parseInt(_0x790ed8(0x101))/0xb);if(_0x4c8f32===_0x2bf1f8)break;else _0x1e9bc1['push'](_0x1e9bc1['shift']());}catch(_0x3d9927){_0x1e9bc1['push'](_0x1e9bc1['shift']());}}}(_0x3559,0xd38a2));const e={'print':{'menu':'In'}};module[_0x5c59d4(0xfd)]=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3503fb=_0x35b7;function _0x390c(){const _0x554b13=['17703TmWiOC','1263264xKBhIr','121LxwyRk','462123agVRqM','exports','2455840kNpvuK','144twbagJ','628450ImlFhV','220GMjxLh','127809hpHOfE','14heeQLB','94195fmLhvV'];_0x390c=function(){return _0x554b13;};return _0x390c();}function _0x35b7(_0x4a51ec,_0x380881){_0x4a51ec=_0x4a51ec-0x1ec;const _0x390c86=_0x390c();let _0x35b7c0=_0x390c86[_0x4a51ec];return _0x35b7c0;}(function(_0x4923da,_0x54724a){const _0x28aefb=_0x35b7,_0x23de5e=_0x4923da();while(!![]){try{const _0x1d95ad=-parseInt(_0x28aefb(0x1ef))/0x1+-parseInt(_0x28aefb(0x1ee))/0x2*(parseInt(_0x28aefb(0x1f2))/0x3)+parseInt(_0x28aefb(0x1f7))/0x4+-parseInt(_0x28aefb(0x1f1))/0x5+parseInt(_0x28aefb(0x1f3))/0x6*(parseInt(_0x28aefb(0x1f0))/0x7)+parseInt(_0x28aefb(0x1ec))/0x8*(parseInt(_0x28aefb(0x1f5))/0x9)+parseInt(_0x28aefb(0x1ed))/0xa*(-parseInt(_0x28aefb(0x1f4))/0xb);if(_0x1d95ad===_0x54724a)break;else _0x23de5e['push'](_0x23de5e['shift']());}catch(_0x579afc){_0x23de5e['push'](_0x23de5e['shift']());}}}(_0x390c,0x734b1));const e={'print':{'menu':'打印'}};module[_0x3503fb(0x1f6)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1ab91b=_0x4be3;(function(_0x5ed540,_0x51bc2f){const _0x498cbb=_0x4be3,_0x23e8f0=_0x5ed540();while(!![]){try{const _0x4c0f7e=parseInt(_0x498cbb(0x10a))/0x1*(parseInt(_0x498cbb(0x10b))/0x2)+parseInt(_0x498cbb(0x107))/0x3+parseInt(_0x498cbb(0x10c))/0x4+-parseInt(_0x498cbb(0x105))/0x5+parseInt(_0x498cbb(0x10d))/0x6+parseInt(_0x498cbb(0x109))/0x7+-parseInt(_0x498cbb(0x108))/0x8;if(_0x4c0f7e===_0x51bc2f)break;else _0x23e8f0['push'](_0x23e8f0['shift']());}catch(_0x2468f4){_0x23e8f0['push'](_0x23e8f0['shift']());}}}(_0x370f,0x50d96));function _0x4be3(_0x3959b5,_0x56da46){_0x3959b5=_0x3959b5-0x105;const _0x370f46=_0x370f();let _0x4be38d=_0x370f46[_0x3959b5];return _0x4be38d;}const e={'print':{'menu':'列印'}};module[_0x1ab91b(0x106)]=e;function _0x370f(){const _0x5199a5=['621168FcqWGi','3033365AXHDfP','exports','1768362gFfZFh','7117984yryAuW','3156699EvaDyi','569hIqmuj','394wovnwN','2286188BtJATD'];_0x370f=function(){return _0x5199a5;};return _0x370f();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x46b457=_0x5349;(function(_0x1222a9,_0x1a6c4e){const _0x3e8529=_0x5349,_0x103f62=_0x1222a9();while(!![]){try{const _0x2d134f=parseInt(_0x3e8529(0x208))/0x1+-parseInt(_0x3e8529(0x1c6))/0x2+-parseInt(_0x3e8529(0x181))/0x3+parseInt(_0x3e8529(0x1ba))/0x4*(parseInt(_0x3e8529(0x1ad))/0x5)+-parseInt(_0x3e8529(0x1d1))/0x6*(parseInt(_0x3e8529(0x1f8))/0x7)+-parseInt(_0x3e8529(0x1b6))/0x8*(-parseInt(_0x3e8529(0x1e8))/0x9)+parseInt(_0x3e8529(0x1cc))/0xa;if(_0x2d134f===_0x1a6c4e)break;else _0x103f62['push'](_0x103f62['shift']());}catch(_0x2a3983){_0x103f62['push'](_0x103f62['shift']());}}}(_0x4761,0x2d38a));import{CommandType as _0x54e83d,DependentOn as _0x186296,Disposable as _0x5bf14f,DisposableCollection as _0x405cfb,DocumentFlavor as _0x5072de,ICommandService as _0x5c05c7,IConfigService as _0x5c58bc,IUniverInstanceService as _0x7a8986,Inject as _0x2651b8,Injector as _0x3a9be1,Plugin as _0x387c8c,UniverInstanceType as _0x7d6121,generateRandomId as _0x3ae56d,merge as _0x527a84,registerDependencies as _0x43423e}from'@univerjs/core';import{DocPrintInterceptorService as _0x3d18fe,SwitchDocModeCommand as _0xae403b,VIEWPORT_KEY as _0x19c3ab}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x4e2949,Documents as _0xa20200,Engine as _0x5a83e9,IRenderManagerService as _0x28af86,Scene as _0x5e6835,Viewport as _0xb0afc2}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0xffccde,UniverLicensePlugin as _0x167a07,getDocFeatureLimit as _0x2c5d28,getLicenseInfo as _0x1026e1,isFeatureAuthorizedWithinTime as _0x376536,isLocalCheck as _0x264e4b}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x5b00e2,PRINT_CONTAINER_CLASS as _0x22981f,PrintDirection as _0x25448f,createPrintStyle as _0x4dea18}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x17a61d}from'@univerjs/docs';import{ComponentManager as _0x2e3a09,IGlobalZoneService as _0x3192bf,IMenuManagerService as _0x5bbb47,MenuItemType as _0x2da5bd,RibbonStartGroup as _0x337f28,getMenuHiddenObservable as _0x407750}from'@univerjs/ui';import{UniverNetworkPlugin as _0x339053}from'@univerjs/network';import{PrintIcon as _0x2f3c2f}from'@univerjs/icons';function z(_0x1040ef){'@babel/helpers - typeof';const _0x587c4a=_0x5349;return z=typeof Symbol==_0x587c4a(0x1da)&&typeof Symbol[_0x587c4a(0x1c9)]=='symbol'?function(_0x38eda3){return typeof _0x38eda3;}:function(_0x1fd935){const _0x2e2eb0=_0x587c4a;return _0x1fd935&&typeof Symbol==_0x2e2eb0(0x1da)&&_0x1fd935[_0x2e2eb0(0x192)]===Symbol&&_0x1fd935!==Symbol[_0x2e2eb0(0x203)]?_0x2e2eb0(0x1bf):typeof _0x1fd935;},z(_0x1040ef);}function B(_0x567583,_0x38b692){const _0x35d5e5=_0x5349;if(z(_0x567583)!=_0x35d5e5(0x1a8)||!_0x567583)return _0x567583;var _0x6fee5c=_0x567583[Symbol[_0x35d5e5(0x1dd)]];if(_0x6fee5c!==void 0x0){var _0x3e51c4=_0x6fee5c[_0x35d5e5(0x1d3)](_0x567583,_0x38b692||_0x35d5e5(0x1f9));if(z(_0x3e51c4)!=_0x35d5e5(0x1a8))return _0x3e51c4;throw TypeError(_0x35d5e5(0x1c8));}return(_0x38b692==='string'?String:Number)(_0x567583);}function V(_0x1337f6){const _0x18baea=_0x5349;var _0x4de246=B(_0x1337f6,_0x18baea(0x1fe));return z(_0x4de246)=='symbol'?_0x4de246:_0x4de246+'';}function H(_0x7d8c77,_0x4c30d5,_0x16dcec){const _0xfed9f2=_0x5349;return(_0x4c30d5=V(_0x4c30d5))in _0x7d8c77?Object[_0xfed9f2(0x19e)](_0x7d8c77,_0x4c30d5,{'value':_0x16dcec,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x7d8c77[_0x4c30d5]=_0x16dcec,_0x7d8c77;}var U=class extends _0x5bf14f{get[_0x46b457(0x18e)](){const _0x2dd621=_0x46b457;return this[_0x2dd621(0x1cb)];}get[_0x46b457(0x1e9)](){const _0x28baf1=_0x46b457;return this[_0x28baf1(0x201)];}get[_0x46b457(0x1ce)](){const _0x34b9f4=_0x46b457;let _0xa6339=this[_0x34b9f4(0x190)][_0x34b9f4(0x1be)](_0x28af86)[_0x34b9f4(0x1e7)](this[_0x34b9f4(0x1d4)]);if(!_0xa6339)throw Error(_0x34b9f4(0x209));return _0xa6339;}get[_0x46b457(0x1c0)](){return this['_currentRender']['with'](_0x17a61d)['getSkeleton']();}get[_0x46b457(0x1a9)](){const _0x1fa9d7=_0x46b457;let _0x35ea14=this[_0x1fa9d7(0x1c0)][_0x1fa9d7(0x1ae)]();if(!_0x35ea14)throw Error(_0x1fa9d7(0x206));return _0x35ea14;}get['_paperSize'](){const _0x5f5cfd=_0x46b457;let _0x132c8c=this[_0x5f5cfd(0x1a9)][_0x5f5cfd(0x1d2)][0x0];return{'width':_0x132c8c['pageWidth'],'height':_0x132c8c['pageHeight']};}constructor(_0x33cda4,_0x3632b8,_0xf760de,_0x425c6f){const _0x4e51ba=_0x46b457;super(),this['_injector']=_0x33cda4,this[_0x4e51ba(0x1b7)]=_0x3632b8,this[_0x4e51ba(0x1d4)]=_0xf760de,this[_0x4e51ba(0x1d8)]=_0x425c6f,H(this,_0x4e51ba(0x1cb),document['createElement'](_0x4e51ba(0x1b2))),H(this,_0x4e51ba(0x201),document[_0x4e51ba(0x1d7)](_0x4e51ba(0x1b2))),H(this,_0x4e51ba(0x187),void 0x0),H(this,_0x4e51ba(0x1ca),void 0x0),H(this,'_key',void 0x0),H(this,_0x4e51ba(0x1b8),void 0x0),H(this,_0x4e51ba(0x17a),void 0x0),H(this,_0x4e51ba(0x1a0),new _0x405cfb()),this[_0x4e51ba(0x1ee)]=_0x3ae56d(0x4),this[_0x4e51ba(0x18b)](),this[_0x4e51ba(0x1fb)]({'dispose':()=>{const _0x520c0a=_0x4e51ba;this[_0x520c0a(0x187)][_0x520c0a(0x1a5)](),this['_scene'][_0x520c0a(0x1a5)](),this['_effects'][_0x520c0a(0x1a5)]();}});}[_0x46b457(0x1d9)](){const _0x21964b=_0x46b457;let {docsTop:_0x2a6670,docsLeft:_0x54409a}=this['_documents'][_0x21964b(0x205)](),_0x2698de=this[_0x21964b(0x1ac)][_0x21964b(0x1ec)],_0x255546=this[_0x21964b(0x1ac)][_0x21964b(0x18f)];return{'top':_0x2a6670+(_0x2a6670+_0x2698de)*this[_0x21964b(0x1b7)],'bottom':_0x2a6670+(_0x2a6670+_0x2698de)*(this[_0x21964b(0x1b7)]+0x1),'left':_0x54409a,'right':_0x54409a+_0x255546};}[_0x46b457(0x18b)](){const _0x3ae6e6=_0x46b457;this[_0x3ae6e6(0x187)]=new _0x5a83e9('',{'elementWidth':this[_0x3ae6e6(0x1ac)][_0x3ae6e6(0x18f)],'elementHeight':this[_0x3ae6e6(0x1ac)][_0x3ae6e6(0x1ec)],'dpr':0x1,'renderMode':_0x4e2949[_0x3ae6e6(0x1f0)]}),this['_scene']=new _0x5e6835(this['_key'],this[_0x3ae6e6(0x187)]),this[_0x3ae6e6(0x1ca)][_0x3ae6e6(0x1bc)](0x1,0x1),this[_0x3ae6e6(0x187)][_0x3ae6e6(0x1f4)](this['_container'],!0x1),this[_0x3ae6e6(0x187)][_0x3ae6e6(0x1f5)]()[_0x3ae6e6(0x1d0)]()['setId'](this[_0x3ae6e6(0x1ee)]+'_'+_0x3ae56d(0x4)),this[_0x3ae6e6(0x1f3)](),this[_0x3ae6e6(0x196)]();}[_0x46b457(0x1f3)](){const _0x5af620=_0x46b457;let {pageMarginLeft:_0x328305,pageMarginTop:_0x1b90ae,docsLeft:_0x4abc10,docsTop:_0x29f82a}=this[_0x5af620(0x1d8)],_0x973e86={'pageMarginLeft':_0x328305,'pageMarginTop':_0x1b90ae},_0x28c3d4=new _0xa20200(_0x5af620(0x1cd),this[_0x5af620(0x1c0)],_0x973e86);_0x28c3d4[_0x5af620(0x1eb)](_0x4abc10,_0x29f82a),this['_scene'][_0x5af620(0x17c)](_0x28c3d4),this[_0x5af620(0x1b8)]=_0x28c3d4;let _0x3444c4=this['_injector'][_0x5af620(0x1be)](_0x3d18fe);_0x3444c4[_0x5af620(0x1d6)][_0x5af620(0x1dc)](_0x3444c4[_0x5af620(0x1d6)][_0x5af620(0x1fd)]()[_0x5af620(0x195)])(void 0x0,{'unitId':this[_0x5af620(0x1d4)],'scene':this['_scene'],'engine':this[_0x5af620(0x187)],'root':this[_0x5af620(0x201)],'documents':this['_documents'],'skeleton':this[_0x5af620(0x1c0)]});}[_0x46b457(0x196)](){const _0x4abb26=_0x46b457;this[_0x4abb26(0x17a)]=new _0xb0afc2(_0x19c3ab[_0x4abb26(0x1af)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x46b457(0x198)](){const _0x3ff99e=_0x46b457;let _0x16325f=this[_0x3ff99e(0x1d9)]();this[_0x3ff99e(0x17a)][_0x3ff99e(0x200)]({'viewportScrollX':_0x16325f['left'],'viewportScrollY':_0x16325f['top']}),this[_0x3ff99e(0x201)][_0x3ff99e(0x199)]['position']=_0x3ff99e(0x194),this[_0x3ff99e(0x201)]['style'][_0x3ff99e(0x1ff)]=_0x3ff99e(0x1f1),this[_0x3ff99e(0x201)][_0x3ff99e(0x199)][_0x3ff99e(0x1a1)]=_0x3ff99e(0x1f1),this[_0x3ff99e(0x201)][_0x3ff99e(0x199)][_0x3ff99e(0x18f)]=_0x3ff99e(0x180),this[_0x3ff99e(0x201)][_0x3ff99e(0x199)]['height']=_0x3ff99e(0x180),this[_0x3ff99e(0x1a0)]=new _0x405cfb();let _0x4ce163=this[_0x3ff99e(0x190)][_0x3ff99e(0x1be)](_0x3d18fe);_0x4ce163[_0x3ff99e(0x1d6)][_0x3ff99e(0x1dc)](_0x4ce163[_0x3ff99e(0x1d6)][_0x3ff99e(0x1fd)]()['PRINTING_DOM_COLLECT'])(this[_0x3ff99e(0x1a0)],{'unitId':this[_0x3ff99e(0x1d4)],'scene':this['_scene'],'engine':this[_0x3ff99e(0x187)],'root':this[_0x3ff99e(0x201)],'skeleton':this[_0x3ff99e(0x1c0)],'offset':{'x':_0x16325f['left'],'y':_0x16325f[_0x3ff99e(0x1ff)]},'bound':{'top':_0x16325f['top'],'left':_0x16325f[_0x3ff99e(0x1a1)],'right':_0x16325f[_0x3ff99e(0x1b9)],'bottom':_0x16325f[_0x3ff99e(0x184)]}});}['render'](){const _0x2ae363=_0x46b457;let _0x424b0a=this[_0x2ae363(0x187)][_0x2ae363(0x1f5)]()['getContext']();this[_0x2ae363(0x1b8)][_0x2ae363(0x19a)](),this[_0x2ae363(0x1ca)][_0x2ae363(0x193)](),_0x424b0a[_0x2ae363(0x1ab)](),this[_0x2ae363(0x1ca)][_0x2ae363(0x1e2)](),_0x424b0a[_0x2ae363(0x1e3)]();}};function W(_0x20adb3,_0x4d1355){return function(_0x2c97d2,_0x1d33d8){_0x4d1355(_0x2c97d2,_0x1d33d8,_0x20adb3);};}function _0x5349(_0x559bb0,_0x268b36){_0x559bb0=_0x559bb0-0x17a;const _0x476112=_0x4761();let _0x53498f=_0x476112[_0x559bb0];return _0x53498f;}function G(_0x405dff,_0xdcb556,_0x56fdb8,_0x2ee406){const _0x2f91d3=_0x46b457;var _0x50f53b=arguments['length'],_0x471879=_0x50f53b<0x3?_0xdcb556:_0x2ee406===null?_0x2ee406=Object[_0x2f91d3(0x1b5)](_0xdcb556,_0x56fdb8):_0x2ee406,_0x41e035;if(typeof Reflect==_0x2f91d3(0x1a8)&&typeof Reflect['decorate']==_0x2f91d3(0x1da))_0x471879=Reflect[_0x2f91d3(0x1e5)](_0x405dff,_0xdcb556,_0x56fdb8,_0x2ee406);else{for(var _0x3d429c=_0x405dff['length']-0x1;_0x3d429c>=0x0;_0x3d429c--)(_0x41e035=_0x405dff[_0x3d429c])&&(_0x471879=(_0x50f53b<0x3?_0x41e035(_0x471879):_0x50f53b>0x3?_0x41e035(_0xdcb556,_0x56fdb8,_0x471879):_0x41e035(_0xdcb556,_0x56fdb8))||_0x471879);}return _0x50f53b>0x3&&_0x471879&&Object[_0x2f91d3(0x19e)](_0xdcb556,_0x56fdb8,_0x471879),_0x471879;}const K=Number[_0x46b457(0x204)](0x69cf7334),q=(_0x5a3ad9,_0x555fad,_0x4fab64)=>{const _0x781c3a=_0x46b457;let _0x4ea35d={'page':_0x5a3ad9,'isPro':!0x1,'timeValid':!0x1};if(!_0x555fad||!_0x4fab64)return _0x4ea35d;let _0x54a1eb=_0x1026e1(_0x555fad,_0x4fab64);if(_0x54a1eb['valid']){let _0x21916d=_0x54a1eb[_0x781c3a(0x1f6)],_0x5e1e39=_0x376536(_0x21916d,'df',K);_0x4ea35d[_0x781c3a(0x17d)]=_0x5e1e39,_0x4ea35d[_0x781c3a(0x183)]=_0x5e1e39,_0x4ea35d['page']=_0x2c5d28(_0x21916d,_0x5e1e39,_0x781c3a(0x188),_0x5a3ad9,_0x5a3ad9,0x0);}return _0x4ea35d;};let J=class extends _0x5bf14f{constructor(_0x563a2a,_0x296cc5,_0x455223,_0x23ed8b,_0x4d8d81){const _0x36ef73=_0x46b457;super(),this[_0x36ef73(0x1cf)]=_0x563a2a,this[_0x36ef73(0x1b4)]=_0x296cc5,this[_0x36ef73(0x190)]=_0x455223,this[_0x36ef73(0x1c4)]=_0x23ed8b,this[_0x36ef73(0x1b0)]=_0x4d8d81;}[_0x46b457(0x1a4)](_0x4f94ee){const _0x4e782c=_0x46b457;var _0x5b96e5,_0x3d21c4;let {ls:_0x337f70,pbk:_0x1ab2c5}=(_0x5b96e5=this[_0x4e782c(0x1c4)][_0x4e782c(0x186)](_0xffccde))==null?{}:_0x5b96e5,_0x28d80a=_0x264e4b()?0x1/0x0:q(0x1,_0x337f70,_0x1ab2c5)[_0x4e782c(0x19c)];if(!this[_0x4e782c(0x1cf)][_0x4e782c(0x1ea)](_0x4f94ee,_0x7d6121['UNIVER_DOC']))throw Error(_0x4e782c(0x1c3));let _0x183b89=this[_0x4e782c(0x1b4)][_0x4e782c(0x1e7)](_0x4f94ee);if(!_0x183b89)throw Error('Render\x20is\x20not\x20found');let _0xd7dd02=(_0x3d21c4=_0x183b89[_0x4e782c(0x1f7)](_0x17a61d)[_0x4e782c(0x18c)]()[_0x4e782c(0x1ae)]())==null?void 0x0:_0x3d21c4[_0x4e782c(0x1d2)];if(!_0xd7dd02)throw Error(_0x4e782c(0x1e6));let _0x36cc45={'width':_0xd7dd02[0x0][_0x4e782c(0x17e)],'height':_0xd7dd02[0x0][_0x4e782c(0x1c7)]},_0xacaa02=_0xd7dd02[_0x4e782c(0x191)],_0x2c1f62=Math['min'](_0x28d80a,_0xacaa02),_0x2c3f91=_0x183b89[_0x4e782c(0x1fc)]['getOffsetConfig'](),_0x53a5dc=document[_0x4e782c(0x1d7)](_0x4e782c(0x1b2));_0x53a5dc[_0x4e782c(0x1db)]=_0x22981f;let _0x567c2c=Array(_0x2c1f62)[_0x4e782c(0x19f)](null)['map']((_0x71bf3f,_0xebc5a8)=>{const _0xf59247=_0x4e782c;let _0x21dd49=new U(this[_0xf59247(0x190)],_0xebc5a8,_0x4f94ee,_0x2c3f91);return _0x21dd49[_0xf59247(0x18e)]['className']=_0x5b00e2,_0x21dd49;});_0x567c2c['forEach'](_0x1402b4=>{const _0x5990aa=_0x4e782c;_0x53a5dc[_0x5990aa(0x1a3)](_0x1402b4[_0x5990aa(0x18e)]),_0x1402b4[_0x5990aa(0x18e)]['appendChild'](_0x1402b4[_0x5990aa(0x1e9)]),_0x1402b4['prepare']();});let _0x8d885e=_0x4dea18(_0x36cc45[_0x4e782c(0x18f)],_0x36cc45[_0x4e782c(0x1ec)],_0x25448f['Portrait']);return document[_0x4e782c(0x189)][_0x4e782c(0x1a3)](_0x8d885e),document[_0x4e782c(0x189)][_0x4e782c(0x1a3)](_0x53a5dc),new Promise(_0x576ecc=>{setTimeout(()=>{const _0x2155dd=_0x5349;window[_0x2155dd(0x1ef)]=()=>{const _0x50b714=_0x2155dd;_0x567c2c[_0x50b714(0x19d)](_0x53d0ea=>{_0x53d0ea['render']();});},window[_0x2155dd(0x1c5)]=()=>{const _0x579494=_0x2155dd;_0x567c2c['forEach'](_0x2e19c2=>{const _0x27abda=_0x5349;_0x2e19c2[_0x27abda(0x1a5)]();}),document[_0x579494(0x189)][_0x579494(0x17f)](_0x53a5dc),document[_0x579494(0x189)][_0x579494(0x17f)](_0x8d885e),this[_0x579494(0x1b0)][_0x579494(0x1bd)](),_0x576ecc(!0x0);},window['print']();},0x64);});}};J=G([W(0x0,_0x7a8986),W(0x1,_0x28af86),W(0x2,_0x2651b8(_0x3a9be1)),W(0x3,_0x5c58bc),W(0x4,_0x3192bf)],J);const Y={'id':_0x46b457(0x1e1),'type':_0x54e83d[_0x46b457(0x18d)],'handler':async _0xc4b4f7=>{const _0x400993=_0x46b457;let _0x2d4410=_0xc4b4f7[_0x400993(0x1be)](_0x7a8986),_0x3e60cc=_0xc4b4f7[_0x400993(0x1be)](J),_0x3fc704=_0xc4b4f7['get'](_0x28af86),_0x3d7792=_0xc4b4f7[_0x400993(0x1be)](_0x5c05c7),_0x2018f5=_0x2d4410['getCurrentUnitOfType'](_0x7d6121[_0x400993(0x1aa)]);if(!_0x2018f5)return!0x1;if(!_0x3fc704['getRenderById'](_0x2018f5['getUnitId']()))throw Error(_0x400993(0x209));let _0x967ac2=_0x2018f5[_0x400993(0x1fa)]()[_0x400993(0x1de)];return _0x967ac2!==_0x5072de['TRADITIONAL']&&_0x3d7792[_0x400993(0x1a7)](_0xae403b['id']),await _0x3e60cc[_0x400993(0x1a4)](_0x2018f5['getUnitId']()),_0x967ac2!==_0x5072de[_0x400993(0x207)]&&_0x3d7792[_0x400993(0x1a7)](_0xae403b['id']),!0x0;}},X=_0x46b457(0x1f2),Z={};var ie='@univerjs-pro/docs-print',ae=_0x46b457(0x1a6);function oe(_0x1df24c){const _0x1ca251=_0x46b457;return{'id':Y['id'],'type':_0x2da5bd[_0x1ca251(0x19b)],'title':'print.menu','icon':_0x1ca251(0x1ed),'tooltip':_0x1ca251(0x1a2),'hidden$':_0x407750(_0x1df24c,_0x7d6121[_0x1ca251(0x1aa)])};}const se={[_0x337f28[_0x46b457(0x1e0)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x5bf14f{constructor(_0x184237,_0x23096c,_0x14931c){const _0x16cdc9=_0x46b457;super(),this['_commandService']=_0x184237,this[_0x16cdc9(0x1e4)]=_0x23096c,this[_0x16cdc9(0x1d5)]=_0x14931c,this['_initMenus'](),this[_0x16cdc9(0x202)](),this[_0x16cdc9(0x1bb)]();}[_0x46b457(0x1c2)](){const _0x2ad524=_0x46b457;this[_0x2ad524(0x1e4)]['mergeMenu'](se);}['_initCommands'](){const _0x1df59c=_0x46b457;this['disposeWithMe'](this[_0x1df59c(0x185)][_0x1df59c(0x1b1)](Y));}[_0x46b457(0x1bb)](){const _0x196f3f=_0x46b457;[[_0x196f3f(0x1ed),_0x2f3c2f]][_0x196f3f(0x19d)](([_0x1703eb,_0x38c6be])=>{const _0x4a6e9b=_0x196f3f;this[_0x4a6e9b(0x1d5)]['register'](_0x1703eb,_0x38c6be);});}};Q=G([W(0x0,_0x5c05c7),W(0x1,_0x5bbb47),W(0x2,_0x2651b8(_0x2e3a09))],Q);let $=class extends _0x387c8c{constructor(_0x5c6df5=Z,_0x212e29,_0x273ef4){const _0x52a58a=_0x46b457;super(),this[_0x52a58a(0x197)]=_0x5c6df5,this[_0x52a58a(0x190)]=_0x212e29,this[_0x52a58a(0x1c4)]=_0x273ef4;let {menu:_0xaad0b0,..._0x282083}=_0x527a84({},Z,this[_0x52a58a(0x197)]);_0xaad0b0&&this[_0x52a58a(0x1c4)]['setConfig']('menu',_0xaad0b0,{'merge':!0x0}),this[_0x52a58a(0x1c4)]['setConfig'](X,_0x282083);}[_0x46b457(0x1df)](){const _0x5a103d=_0x46b457;_0x43423e(this[_0x5a103d(0x190)],[[J],[Q]]);}[_0x46b457(0x17b)](){const _0x38d652=_0x46b457;this[_0x38d652(0x190)][_0x38d652(0x1be)](Q);}};H($,_0x46b457(0x1b3),_0x46b457(0x1f2)),H($,_0x46b457(0x18a),ie),H($,_0x46b457(0x1c1),ae),H($,_0x46b457(0x182),_0x7d6121[_0x46b457(0x1aa)]),$=G([_0x186296(_0x339053,_0x167a07),W(0x1,_0x2651b8(_0x3a9be1)),W(0x2,_0x5c58bc)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};function _0x4761(){const _0x1216fe=['getContext','510438BgmFaU','pages','call','_unitId','_componentManager','interceptor','createElement','_offsetConfig','_calculateLayout','function','className','fetchThroughInterceptors','toPrimitive','documentFlavor','onStarting','OTHERS','docs.operation.print','render','restore','_menuManagerService','decorate','Pages\x20are\x20not\x20found','getRenderById','971730LvIxBB','root','getUnit','translate','height','PrintIcon','_key','onbeforeprint','Printing','0px','UNIVER_DOCS_PRINT','_addComponent','setContainer','getCanvas','message','with','14VQrrJV','default','getDocumentStyle','disposeWithMe','mainComponent','getInterceptPoints','string','top','updateScrollVal','_root','_initCommands','prototype','parseInt','getOffsetConfig','Skeleton\x20data\x20is\x20not\x20found','TRADITIONAL','48872lyyJYA','Render\x20is\x20not\x20found','_viewMain','onReady','addObject','isPro','pageWidth','removeChild','100%','1078209bFhgCn','type','timeValid','bottom','_commandService','getConfig','_engine','mpn','body','packageName','_initRenderer','getSkeleton','OPERATION','container','width','_injector','length','constructor','makeDirty','absolute','PRINTING_COMPONENT_COLLECT','_addViewport','_config','prepare','style','makeForceDirty','BUTTON','page','forEach','defineProperty','fill','_effects','left','print.menu','appendChild','print','dispose','0.20.0','syncExecuteCommand','object','_skeletonData','UNIVER_DOC','save','_paperSize','200335WoJdYh','getSkeletonData','VIEW_MAIN','_globalZoneService','registerCommand','div','pluginName','_renderManagerService','getOwnPropertyDescriptor','16aBDKda','_page','_documents','right','4zeughC','_initComponents','scale','close','get','symbol','_skeleton','version','_initMenus','DocumentDataModel\x20is\x20not\x20found','_configService','onafterprint','287202BQWQDD','pageHeight','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','iterator','_scene','_container','5534970UuyMav','__DocPrintRender__','_currentRender','_univerInstanceService'];_0x4761=function(){return _0x1216fe;};return _0x4761();}
|
|
1
|
+
const _0x1d2396=_0x40f3;(function(_0x5d6590,_0x282ecd){const _0x3ef2c8=_0x40f3,_0x4e3d83=_0x5d6590();while(!![]){try{const _0x20e138=-parseInt(_0x3ef2c8(0xd0))/0x1*(-parseInt(_0x3ef2c8(0xbe))/0x2)+-parseInt(_0x3ef2c8(0xc2))/0x3*(parseInt(_0x3ef2c8(0xd9))/0x4)+parseInt(_0x3ef2c8(0xf1))/0x5+parseInt(_0x3ef2c8(0xc7))/0x6+parseInt(_0x3ef2c8(0xcf))/0x7+-parseInt(_0x3ef2c8(0x140))/0x8*(-parseInt(_0x3ef2c8(0xbc))/0x9)+-parseInt(_0x3ef2c8(0x137))/0xa*(parseInt(_0x3ef2c8(0x107))/0xb);if(_0x20e138===_0x282ecd)break;else _0x4e3d83['push'](_0x4e3d83['shift']());}catch(_0x168d24){_0x4e3d83['push'](_0x4e3d83['shift']());}}}(_0x5c89,0x20723));import{CommandType as _0x55b3d7,DependentOn as _0x40da35,Disposable as _0x4aa79b,DisposableCollection as _0x420e97,DocumentFlavor as _0x405a93,ICommandService as _0x148390,IConfigService as _0x4d6c2f,IUniverInstanceService as _0x1f29ec,Inject as _0x5dd5c2,Injector as _0x564c2e,Plugin as _0x58cf96,UniverInstanceType as _0x3293f0,generateRandomId as _0x1c9c42,merge as _0x7313bb,registerDependencies as _0x15c93e}from'@univerjs/core';import{DocPrintInterceptorService as _0x46603a,SwitchDocModeCommand as _0x1b61b9,VIEWPORT_KEY as _0x2314ac}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x413b4f,Documents as _0x31447c,Engine as _0x86a510,IRenderManagerService as _0x5d04f1,Scene as _0x595ec1,Viewport as _0x4097fd}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x53ea4d,UniverLicensePlugin as _0x4c48f8,getDocFeatureLimit as _0x5c8930,getLicenseInfo as _0x3d9cad,isFeatureAuthorizedWithinTime as _0x4e4567,isLocalCheck as _0x353877}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x110180,PRINT_CONTAINER_CLASS as _0x1dad64,PrintDirection as _0x152c11,createPrintStyle as _0x57ffc4}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x51ae21}from'@univerjs/docs';import{ComponentManager as _0x1c5eea,IGlobalZoneService as _0x3b6f41,IMenuManagerService as _0x40daf9,MenuItemType as _0x3619ee,RibbonStartGroup as _0x4d66e0,getMenuHiddenObservable as _0x35bcf4}from'@univerjs/ui';import{UniverNetworkPlugin as _0x134407}from'@univerjs/network';import{PrintIcon as _0x2fcbea}from'@univerjs/icons';function _0x40f3(_0x3f6452,_0x43f917){_0x3f6452=_0x3f6452-0xbc;const _0x5c8961=_0x5c89();let _0x40f3fb=_0x5c8961[_0x3f6452];return _0x40f3fb;}function z(_0x2b721f){'@babel/helpers - typeof';const _0x1488d9=_0x40f3;return z=typeof Symbol==_0x1488d9(0xd4)&&typeof Symbol['iterator']=='symbol'?function(_0x26272a){return typeof _0x26272a;}:function(_0x5561ec){const _0x218b44=_0x1488d9;return _0x5561ec&&typeof Symbol==_0x218b44(0xd4)&&_0x5561ec['constructor']===Symbol&&_0x5561ec!==Symbol[_0x218b44(0xc4)]?_0x218b44(0xc1):typeof _0x5561ec;},z(_0x2b721f);}function _0x5c89(){const _0x399bd2=['setConfig','7490iZCHQB','absolute','_effects','div','onbeforeprint','_renderManagerService','VIEW_MAIN','_unitId','map','8gGtuIA','print.menu','UNIVER_DOCS_PRINT','left','1756341rNqAtT','_page','262sMkofj','root','with','symbol','18YxbHgX','render','prototype','getUnitId','_documents','1188360PNchza','BUTTON','_initMenus','length','getDocumentStyle','OTHERS','_skeleton','mainComponent','507269YhrNhr','1681xmIjjG','onReady','prepare','appendChild','function','PrintIcon','type','_addViewport','PRINTING_DOM_COLLECT','140516sRkaBg','Skeleton\x20data\x20is\x20not\x20found','call','_commandService','top','pageWidth','addObject','min','OPERATION','Printing','string','removeChild','print','getCurrentUnitOfType','100%','width','message','getOffsetConfig','syncExecuteCommand','_univerInstanceService','className','onStarting','0px','_initRenderer','828040AUqMHI','getUnit','_currentRender','style','get','mpn','valid','getInterceptPoints','save','_injector','__DocPrintRender__','_addComponent','_paperSize','version','_engine','restore','dispose','setId','forEach','_configService','_initCommands','_componentManager','7458FGmlcI','menu','packageName','createElement','makeDirty','disposeWithMe','pages','_config','getConfig','_menuManagerService','_globalZoneService','timeValid','Render\x20is\x20not\x20found','getSkeletonData','defineProperty','_root','isPro','TRADITIONAL','fill','mergeMenu','getContext','_viewMain','getRenderById','_skeletonData','_key','container','getCanvas','PRINTING_COMPONENT_COLLECT','_offsetConfig','_scene','_calculateLayout','body','pluginName','setContainer','page','Pages\x20are\x20not\x20found','getOwnPropertyDescriptor','_container','decorate','height','interceptor','scale','getSkeleton','bottom','UNIVER_DOC','object','0.20.1'];_0x5c89=function(){return _0x399bd2;};return _0x5c89();}function B(_0x1ac3aa,_0x43ec25){const _0x3433da=_0x40f3;if(z(_0x1ac3aa)!=_0x3433da(0x134)||!_0x1ac3aa)return _0x1ac3aa;var _0x9dc417=_0x1ac3aa[Symbol['toPrimitive']];if(_0x9dc417!==void 0x0){var _0x3fee89=_0x9dc417[_0x3433da(0xdb)](_0x1ac3aa,_0x43ec25||'default');if(z(_0x3fee89)!=_0x3433da(0x134))return _0x3fee89;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x43ec25===_0x3433da(0xe3)?String:Number)(_0x1ac3aa);}function V(_0x141c46){const _0x3bd46d=_0x40f3;var _0x410833=B(_0x141c46,_0x3bd46d(0xe3));return z(_0x410833)==_0x3bd46d(0xc1)?_0x410833:_0x410833+'';}function H(_0x3ae3ef,_0x27251d,_0x5d3055){const _0x5b9c8d=_0x40f3;return(_0x27251d=V(_0x27251d))in _0x3ae3ef?Object[_0x5b9c8d(0x115)](_0x3ae3ef,_0x27251d,{'value':_0x5d3055,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3ae3ef[_0x27251d]=_0x5d3055,_0x3ae3ef;}var U=class extends _0x4aa79b{get[_0x1d2396(0x120)](){const _0x30a1bd=_0x1d2396;return this[_0x30a1bd(0x12c)];}get[_0x1d2396(0xbf)](){const _0x5d4d7c=_0x1d2396;return this[_0x5d4d7c(0x116)];}get[_0x1d2396(0xf3)](){const _0x3b63e0=_0x1d2396;let _0x3159de=this[_0x3b63e0(0xfa)]['get'](_0x5d04f1)[_0x3b63e0(0x11d)](this[_0x3b63e0(0x13e)]);if(!_0x3159de)throw Error(_0x3b63e0(0x113));return _0x3159de;}get[_0x1d2396(0xcd)](){const _0x4d9868=_0x1d2396;return this[_0x4d9868(0xf3)][_0x4d9868(0xc0)](_0x51ae21)[_0x4d9868(0x131)]();}get[_0x1d2396(0x11e)](){const _0x4af31e=_0x1d2396;let _0x157463=this['_skeleton'][_0x4af31e(0x114)]();if(!_0x157463)throw Error(_0x4af31e(0xda));return _0x157463;}get[_0x1d2396(0xfd)](){const _0x396ae0=_0x1d2396;let _0x560781=this[_0x396ae0(0x11e)]['pages'][0x0];return{'width':_0x560781[_0x396ae0(0xde)],'height':_0x560781['pageHeight']};}constructor(_0x3880bb,_0xa5ae29,_0x5a8c62,_0x22c007){const _0x283662=_0x1d2396;super(),this[_0x283662(0xfa)]=_0x3880bb,this[_0x283662(0xbd)]=_0xa5ae29,this[_0x283662(0x13e)]=_0x5a8c62,this[_0x283662(0x123)]=_0x22c007,H(this,_0x283662(0x12c),document[_0x283662(0x10a)]('div')),H(this,_0x283662(0x116),document['createElement'](_0x283662(0x13a))),H(this,_0x283662(0xff),void 0x0),H(this,'_scene',void 0x0),H(this,'_key',void 0x0),H(this,_0x283662(0xc6),void 0x0),H(this,_0x283662(0x11c),void 0x0),H(this,'_effects',new _0x420e97()),this[_0x283662(0x11f)]=_0x1c9c42(0x4),this[_0x283662(0xf0)](),this[_0x283662(0x10c)]({'dispose':()=>{const _0x2f5279=_0x283662;this[_0x2f5279(0xff)][_0x2f5279(0x101)](),this[_0x2f5279(0x124)][_0x2f5279(0x101)](),this[_0x2f5279(0x139)][_0x2f5279(0x101)]();}});}[_0x1d2396(0x125)](){const _0xebbf0e=_0x1d2396;let {docsTop:_0x4f75f,docsLeft:_0x4c9d9f}=this[_0xebbf0e(0xc6)][_0xebbf0e(0xea)](),_0x2bb1d7=this[_0xebbf0e(0xfd)]['height'],_0x48d674=this[_0xebbf0e(0xfd)][_0xebbf0e(0xe8)];return{'top':_0x4f75f+(_0x4f75f+_0x2bb1d7)*this[_0xebbf0e(0xbd)],'bottom':_0x4f75f+(_0x4f75f+_0x2bb1d7)*(this['_page']+0x1),'left':_0x4c9d9f,'right':_0x4c9d9f+_0x48d674};}[_0x1d2396(0xf0)](){const _0x238e7e=_0x1d2396;this[_0x238e7e(0xff)]=new _0x86a510('',{'elementWidth':this[_0x238e7e(0xfd)][_0x238e7e(0xe8)],'elementHeight':this[_0x238e7e(0xfd)]['height'],'dpr':0x1,'renderMode':_0x413b4f[_0x238e7e(0xe2)]}),this[_0x238e7e(0x124)]=new _0x595ec1(this[_0x238e7e(0x11f)],this[_0x238e7e(0xff)]),this[_0x238e7e(0x124)][_0x238e7e(0x130)](0x1,0x1),this[_0x238e7e(0xff)][_0x238e7e(0x128)](this[_0x238e7e(0x12c)],!0x1),this[_0x238e7e(0xff)][_0x238e7e(0x121)]()[_0x238e7e(0x11b)]()[_0x238e7e(0x102)](this['_key']+'_'+_0x1c9c42(0x4)),this[_0x238e7e(0xfc)](),this[_0x238e7e(0xd7)]();}[_0x1d2396(0xfc)](){const _0x47c544=_0x1d2396;let {pageMarginLeft:_0x44dff0,pageMarginTop:_0x2bca3e,docsLeft:_0x528495,docsTop:_0x2f8774}=this[_0x47c544(0x123)],_0x431021={'pageMarginLeft':_0x44dff0,'pageMarginTop':_0x2bca3e},_0x1df20b=new _0x31447c(_0x47c544(0xfb),this[_0x47c544(0xcd)],_0x431021);_0x1df20b['translate'](_0x528495,_0x2f8774),this[_0x47c544(0x124)][_0x47c544(0xdf)](_0x1df20b),this[_0x47c544(0xc6)]=_0x1df20b;let _0x8309b8=this[_0x47c544(0xfa)]['get'](_0x46603a);_0x8309b8['interceptor']['fetchThroughInterceptors'](_0x8309b8[_0x47c544(0x12f)][_0x47c544(0xf8)]()[_0x47c544(0x122)])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x47c544(0x124)],'engine':this[_0x47c544(0xff)],'root':this[_0x47c544(0x116)],'documents':this[_0x47c544(0xc6)],'skeleton':this[_0x47c544(0xcd)]});}['_addViewport'](){const _0x2f88a0=_0x1d2396;this[_0x2f88a0(0x11c)]=new _0x4097fd(_0x2314ac[_0x2f88a0(0x13d)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x1d2396(0xd2)](){const _0x286ae3=_0x1d2396;let _0x21338a=this[_0x286ae3(0x125)]();this[_0x286ae3(0x11c)]['updateScrollVal']({'viewportScrollX':_0x21338a[_0x286ae3(0x143)],'viewportScrollY':_0x21338a[_0x286ae3(0xdd)]}),this[_0x286ae3(0x116)][_0x286ae3(0xf4)]['position']=_0x286ae3(0x138),this[_0x286ae3(0x116)]['style'][_0x286ae3(0xdd)]=_0x286ae3(0xef),this[_0x286ae3(0x116)][_0x286ae3(0xf4)]['left']=_0x286ae3(0xef),this[_0x286ae3(0x116)]['style'][_0x286ae3(0xe8)]='100%',this[_0x286ae3(0x116)][_0x286ae3(0xf4)]['height']=_0x286ae3(0xe7),this[_0x286ae3(0x139)]=new _0x420e97();let _0x36e3d7=this[_0x286ae3(0xfa)][_0x286ae3(0xf5)](_0x46603a);_0x36e3d7['interceptor']['fetchThroughInterceptors'](_0x36e3d7[_0x286ae3(0x12f)][_0x286ae3(0xf8)]()[_0x286ae3(0xd8)])(this[_0x286ae3(0x139)],{'unitId':this['_unitId'],'scene':this[_0x286ae3(0x124)],'engine':this['_engine'],'root':this[_0x286ae3(0x116)],'skeleton':this[_0x286ae3(0xcd)],'offset':{'x':_0x21338a[_0x286ae3(0x143)],'y':_0x21338a[_0x286ae3(0xdd)]},'bound':{'top':_0x21338a[_0x286ae3(0xdd)],'left':_0x21338a['left'],'right':_0x21338a['right'],'bottom':_0x21338a[_0x286ae3(0x132)]}});}[_0x1d2396(0xc3)](){const _0x1f879f=_0x1d2396;let _0x2b35c5=this[_0x1f879f(0xff)][_0x1f879f(0x121)]()[_0x1f879f(0x11b)]();this[_0x1f879f(0xc6)]['makeForceDirty'](),this[_0x1f879f(0x124)][_0x1f879f(0x10b)](),_0x2b35c5[_0x1f879f(0xf9)](),this[_0x1f879f(0x124)][_0x1f879f(0xc3)](),_0x2b35c5[_0x1f879f(0x100)]();}};function W(_0x4c5f76,_0x32ef96){return function(_0x5d0d57,_0x4abf69){_0x32ef96(_0x5d0d57,_0x4abf69,_0x4c5f76);};}function G(_0x2faf2f,_0x4dec53,_0x100918,_0x1625a1){const _0x1e2466=_0x1d2396;var _0x1e6b8a=arguments['length'],_0x5b09bc=_0x1e6b8a<0x3?_0x4dec53:_0x1625a1===null?_0x1625a1=Object[_0x1e2466(0x12b)](_0x4dec53,_0x100918):_0x1625a1,_0x382adf;if(typeof Reflect==_0x1e2466(0x134)&&typeof Reflect[_0x1e2466(0x12d)]=='function')_0x5b09bc=Reflect[_0x1e2466(0x12d)](_0x2faf2f,_0x4dec53,_0x100918,_0x1625a1);else{for(var _0x363e07=_0x2faf2f[_0x1e2466(0xca)]-0x1;_0x363e07>=0x0;_0x363e07--)(_0x382adf=_0x2faf2f[_0x363e07])&&(_0x5b09bc=(_0x1e6b8a<0x3?_0x382adf(_0x5b09bc):_0x1e6b8a>0x3?_0x382adf(_0x4dec53,_0x100918,_0x5b09bc):_0x382adf(_0x4dec53,_0x100918))||_0x5b09bc);}return _0x1e6b8a>0x3&&_0x5b09bc&&Object[_0x1e2466(0x115)](_0x4dec53,_0x100918,_0x5b09bc),_0x5b09bc;}const K=Number['parseInt'](0x69d9f405),q=(_0x1bf7c2,_0x2c8085,_0x5b1a96)=>{const _0x268e07=_0x1d2396;let _0x1cd5ce={'page':_0x1bf7c2,'isPro':!0x1,'timeValid':!0x1};if(!_0x2c8085||!_0x5b1a96)return _0x1cd5ce;let _0x523344=_0x3d9cad(_0x2c8085,_0x5b1a96);if(_0x523344[_0x268e07(0xf7)]){let _0x37b01=_0x523344[_0x268e07(0xe9)],_0x2192d9=_0x4e4567(_0x37b01,'df',K);_0x1cd5ce[_0x268e07(0x117)]=_0x2192d9,_0x1cd5ce[_0x268e07(0x112)]=_0x2192d9,_0x1cd5ce[_0x268e07(0x129)]=_0x5c8930(_0x37b01,_0x2192d9,_0x268e07(0xf6),_0x1bf7c2,_0x1bf7c2,0x0);}return _0x1cd5ce;};let J=class extends _0x4aa79b{constructor(_0x7e5b01,_0x476dea,_0x31e7d6,_0x56e070,_0x3c94ce){const _0x2aa25c=_0x1d2396;super(),this[_0x2aa25c(0xec)]=_0x7e5b01,this['_renderManagerService']=_0x476dea,this[_0x2aa25c(0xfa)]=_0x31e7d6,this['_configService']=_0x56e070,this[_0x2aa25c(0x111)]=_0x3c94ce;}['print'](_0x2d9295){const _0x16f2fc=_0x1d2396;var _0x39d57a,_0x4c6273;let {ls:_0x5649aa,pbk:_0x1b5497}=(_0x39d57a=this[_0x16f2fc(0x104)][_0x16f2fc(0x10f)](_0x53ea4d))==null?{}:_0x39d57a,_0x5d931c=_0x353877()?0x1/0x0:q(0x1,_0x5649aa,_0x1b5497)['page'];if(!this['_univerInstanceService'][_0x16f2fc(0xf2)](_0x2d9295,_0x3293f0[_0x16f2fc(0x133)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x2d10f0=this[_0x16f2fc(0x13c)][_0x16f2fc(0x11d)](_0x2d9295);if(!_0x2d10f0)throw Error(_0x16f2fc(0x113));let _0x26fb56=(_0x4c6273=_0x2d10f0[_0x16f2fc(0xc0)](_0x51ae21)[_0x16f2fc(0x131)]()['getSkeletonData']())==null?void 0x0:_0x4c6273[_0x16f2fc(0x10d)];if(!_0x26fb56)throw Error(_0x16f2fc(0x12a));let _0x5d8074={'width':_0x26fb56[0x0][_0x16f2fc(0xde)],'height':_0x26fb56[0x0]['pageHeight']},_0xff8e46=_0x26fb56['length'],_0x153f00=Math[_0x16f2fc(0xe0)](_0x5d931c,_0xff8e46),_0x1406ad=_0x2d10f0[_0x16f2fc(0xce)]['getOffsetConfig'](),_0x242817=document[_0x16f2fc(0x10a)]('div');_0x242817['className']=_0x1dad64;let _0x3631f6=Array(_0x153f00)[_0x16f2fc(0x119)](null)[_0x16f2fc(0x13f)]((_0x39bd40,_0x269a16)=>{const _0x19744d=_0x16f2fc;let _0xd13775=new U(this[_0x19744d(0xfa)],_0x269a16,_0x2d9295,_0x1406ad);return _0xd13775[_0x19744d(0x120)][_0x19744d(0xed)]=_0x110180,_0xd13775;});_0x3631f6[_0x16f2fc(0x103)](_0x558748=>{const _0x58a0b6=_0x16f2fc;_0x242817[_0x58a0b6(0xd3)](_0x558748['container']),_0x558748[_0x58a0b6(0x120)][_0x58a0b6(0xd3)](_0x558748[_0x58a0b6(0xbf)]),_0x558748[_0x58a0b6(0xd2)]();});let _0xf4eacb=_0x57ffc4(_0x5d8074[_0x16f2fc(0xe8)],_0x5d8074[_0x16f2fc(0x12e)],_0x152c11['Portrait']);return document[_0x16f2fc(0x126)]['appendChild'](_0xf4eacb),document[_0x16f2fc(0x126)][_0x16f2fc(0xd3)](_0x242817),new Promise(_0x474f1b=>{setTimeout(()=>{const _0x1885f4=_0x40f3;window[_0x1885f4(0x13b)]=()=>{_0x3631f6['forEach'](_0x39b008=>{_0x39b008['render']();});},window['onafterprint']=()=>{const _0x170412=_0x1885f4;_0x3631f6[_0x170412(0x103)](_0x2ba341=>{const _0x4768d3=_0x170412;_0x2ba341[_0x4768d3(0x101)]();}),document[_0x170412(0x126)][_0x170412(0xe4)](_0x242817),document['body']['removeChild'](_0xf4eacb),this[_0x170412(0x111)]['close'](),_0x474f1b(!0x0);},window[_0x1885f4(0xe5)]();},0x64);});}};J=G([W(0x0,_0x1f29ec),W(0x1,_0x5d04f1),W(0x2,_0x5dd5c2(_0x564c2e)),W(0x3,_0x4d6c2f),W(0x4,_0x3b6f41)],J);const Y={'id':'docs.operation.print','type':_0x55b3d7[_0x1d2396(0xe1)],'handler':async _0x47206f=>{const _0x3d4f39=_0x1d2396;let _0x4fd832=_0x47206f[_0x3d4f39(0xf5)](_0x1f29ec),_0x55a103=_0x47206f[_0x3d4f39(0xf5)](J),_0xde5703=_0x47206f[_0x3d4f39(0xf5)](_0x5d04f1),_0x341a37=_0x47206f['get'](_0x148390),_0x30f5c6=_0x4fd832[_0x3d4f39(0xe6)](_0x3293f0[_0x3d4f39(0x133)]);if(!_0x30f5c6)return!0x1;if(!_0xde5703['getRenderById'](_0x30f5c6['getUnitId']()))throw Error(_0x3d4f39(0x113));let _0x4552ee=_0x30f5c6[_0x3d4f39(0xcb)]()['documentFlavor'];return _0x4552ee!==_0x405a93[_0x3d4f39(0x118)]&&_0x341a37[_0x3d4f39(0xeb)](_0x1b61b9['id']),await _0x55a103[_0x3d4f39(0xe5)](_0x30f5c6[_0x3d4f39(0xc5)]()),_0x4552ee!==_0x405a93[_0x3d4f39(0x118)]&&_0x341a37[_0x3d4f39(0xeb)](_0x1b61b9['id']),!0x0;}},X=_0x1d2396(0x142),Z={};var ie='@univerjs-pro/docs-print',ae=_0x1d2396(0x135);function oe(_0x51d184){const _0x33e45b=_0x1d2396;return{'id':Y['id'],'type':_0x3619ee[_0x33e45b(0xc8)],'title':_0x33e45b(0x141),'icon':_0x33e45b(0xd5),'tooltip':_0x33e45b(0x141),'hidden$':_0x35bcf4(_0x51d184,_0x3293f0[_0x33e45b(0x133)])};}const se={[_0x4d66e0[_0x1d2396(0xcc)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x4aa79b{constructor(_0x3f9c1b,_0x3b4167,_0x51554f){const _0x407e6f=_0x1d2396;super(),this['_commandService']=_0x3f9c1b,this[_0x407e6f(0x110)]=_0x3b4167,this['_componentManager']=_0x51554f,this[_0x407e6f(0xc9)](),this[_0x407e6f(0x105)](),this['_initComponents']();}[_0x1d2396(0xc9)](){const _0x1c4845=_0x1d2396;this['_menuManagerService'][_0x1c4845(0x11a)](se);}[_0x1d2396(0x105)](){const _0x345ff1=_0x1d2396;this['disposeWithMe'](this[_0x345ff1(0xdc)]['registerCommand'](Y));}['_initComponents'](){const _0x25bba0=_0x1d2396;[[_0x25bba0(0xd5),_0x2fcbea]][_0x25bba0(0x103)](([_0xb1859a,_0x33f566])=>{const _0x32ad76=_0x25bba0;this[_0x32ad76(0x106)]['register'](_0xb1859a,_0x33f566);});}};Q=G([W(0x0,_0x148390),W(0x1,_0x40daf9),W(0x2,_0x5dd5c2(_0x1c5eea))],Q);let $=class extends _0x58cf96{constructor(_0x3df94c=Z,_0x4a423a,_0x1b1fa1){const _0x4b4750=_0x1d2396;super(),this[_0x4b4750(0x10e)]=_0x3df94c,this[_0x4b4750(0xfa)]=_0x4a423a,this[_0x4b4750(0x104)]=_0x1b1fa1;let {menu:_0x55643e,..._0x44db79}=_0x7313bb({},Z,this[_0x4b4750(0x10e)]);_0x55643e&&this['_configService'][_0x4b4750(0x136)](_0x4b4750(0x108),_0x55643e,{'merge':!0x0}),this[_0x4b4750(0x104)][_0x4b4750(0x136)](X,_0x44db79);}[_0x1d2396(0xee)](){const _0x5d7660=_0x1d2396;_0x15c93e(this[_0x5d7660(0xfa)],[[J],[Q]]);}[_0x1d2396(0xd1)](){const _0x34e202=_0x1d2396;this[_0x34e202(0xfa)][_0x34e202(0xf5)](Q);}};H($,_0x1d2396(0x127),_0x1d2396(0x142)),H($,_0x1d2396(0x109),ie),H($,_0x1d2396(0xfe),ae),H($,_0x1d2396(0xd6),_0x3293f0[_0x1d2396(0x133)]),$=G([_0x40da35(_0x134407,_0x4c48f8),W(0x1,_0x5dd5c2(_0x564c2e)),W(0x2,_0x4d6c2f)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x41ee61=_0x7f17;(function(_0x4d438e,_0x281f96){const _0xcea09d=_0x7f17,_0x2b081d=_0x4d438e();while(!![]){try{const _0x8bdd65=-parseInt(_0xcea09d(0xdb))/0x1+-parseInt(_0xcea09d(0xd2))/0x2*(-parseInt(_0xcea09d(0xd6))/0x3)+parseInt(_0xcea09d(0xd9))/0x4*(parseInt(_0xcea09d(0xd5))/0x5)+-parseInt(_0xcea09d(0xd8))/0x6+parseInt(_0xcea09d(0xd3))/0x7+-parseInt(_0xcea09d(0xd7))/0x8*(-parseInt(_0xcea09d(0xda))/0x9)+-parseInt(_0xcea09d(0xd1))/0xa;if(_0x8bdd65===_0x281f96)break;else _0x2b081d['push'](_0x2b081d['shift']());}catch(_0x80b57c){_0x2b081d['push'](_0x2b081d['shift']());}}}(_0x5981,0x426f3));const e={'print':{'menu':_0x41ee61(0xd4)}};function _0x7f17(_0x4fd61f,_0x521b12){_0x4fd61f=_0x4fd61f-0xd1;const _0x59812b=_0x5981();let _0x7f17db=_0x59812b[_0x4fd61f];return _0x7f17db;}export{e as default};function _0x5981(){const _0x3d2a9a=['735hlRXWk','4038AyJLIg','776fAGoKy','2931522Cuodpv','14724kehOdY','40941eUBOxP','506084VDFtfZ','4976790zndBbL','570gCViFu','2789465cJVkIy','Print'];_0x5981=function(){return _0x3d2a9a;};return _0x5981();}
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4947(_0x46fb05,_0x1fd954){_0x46fb05=_0x46fb05-0x1ea;const _0x2f150f=_0x2f15();let _0x4947b1=_0x2f150f[_0x46fb05];return _0x4947b1;}function _0x2f15(){const _0x5b1674=['4VUetSG','2608655PAvfnn','7lAFCjV','107448fSGaoI','3729831wIJXwK','11142390jQKqNq','691782eRgPsy','441vXGvfN','21618498HVjpdC','52868TvrQYc','8zkEeeq'];_0x2f15=function(){return _0x5b1674;};return _0x2f15();}(function(_0x43c6df,_0x272eee){const _0xde3da5=_0x4947,_0x4cac77=_0x43c6df();while(!![]){try{const _0xf86665=-parseInt(_0xde3da5(0x1f4))/0x1*(-parseInt(_0xde3da5(0x1f3))/0x2)+-parseInt(_0xde3da5(0x1ee))/0x3+parseInt(_0xde3da5(0x1ea))/0x4*(-parseInt(_0xde3da5(0x1eb))/0x5)+parseInt(_0xde3da5(0x1f0))/0x6*(-parseInt(_0xde3da5(0x1ec))/0x7)+-parseInt(_0xde3da5(0x1ed))/0x8*(parseInt(_0xde3da5(0x1f1))/0x9)+parseInt(_0xde3da5(0x1ef))/0xa+parseInt(_0xde3da5(0x1f2))/0xb;if(_0xf86665===_0x272eee)break;else _0x4cac77['push'](_0x4cac77['shift']());}catch(_0x590e5e){_0x4cac77['push'](_0x4cac77['shift']());}}}(_0x2f15,0xb7bdd));const e={'print':{'menu':'Print'}};export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1e01(){const _0x253cfe=['6098TCsjQr','6155429VYsoNO','1406830JCQrPH','5429580urZhKF','553scemiH','92180GqfNms','8dBkbOf','42XnFNuW','11613582hgnOeC','114764DUaDxv','Print','1529LCGiGt'];_0x1e01=function(){return _0x253cfe;};return _0x1e01();}function _0x3534(_0x4ccca6,_0x51e06e){_0x4ccca6=_0x4ccca6-0x14d;const _0x1e01f2=_0x1e01();let _0x353433=_0x1e01f2[_0x4ccca6];return _0x353433;}const _0xecb6f4=_0x3534;(function(_0x3c1afe,_0x5e670d){const _0x531b22=_0x3534,_0x23a811=_0x3c1afe();while(!![]){try{const _0x53e213=-parseInt(_0x531b22(0x151))/0x1*(-parseInt(_0x531b22(0x14d))/0x2)+parseInt(_0x531b22(0x154))/0x3*(-parseInt(_0x531b22(0x156))/0x4)+-parseInt(_0x531b22(0x14f))/0x5+-parseInt(_0x531b22(0x150))/0x6+parseInt(_0x531b22(0x14e))/0x7*(parseInt(_0x531b22(0x153))/0x8)+parseInt(_0x531b22(0x155))/0x9+-parseInt(_0x531b22(0x152))/0xa*(parseInt(_0x531b22(0x158))/0xb);if(_0x53e213===_0x5e670d)break;else _0x23a811['push'](_0x23a811['shift']());}catch(_0x18bff8){_0x23a811['push'](_0x23a811['shift']());}}}(_0x1e01,0xf0dca));const e={'print':{'menu':_0xecb6f4(0x157)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x31c845=_0x2456;(function(_0x4c50fe,_0x216315){const _0xf72033=_0x2456,_0x213d75=_0x4c50fe();while(!![]){try{const _0xa1abe3=-parseInt(_0xf72033(0xe3))/0x1*(parseInt(_0xf72033(0xde))/0x2)+parseInt(_0xf72033(0xe4))/0x3+-parseInt(_0xf72033(0xe6))/0x4*(parseInt(_0xf72033(0xdd))/0x5)+parseInt(_0xf72033(0xe0))/0x6*(-parseInt(_0xf72033(0xdf))/0x7)+-parseInt(_0xf72033(0xe1))/0x8+parseInt(_0xf72033(0xdc))/0x9+parseInt(_0xf72033(0xe2))/0xa;if(_0xa1abe3===_0x216315)break;else _0x213d75['push'](_0x213d75['shift']());}catch(_0x1ae38a){_0x213d75['push'](_0x213d75['shift']());}}}(_0x5826,0x3f258));function _0x5826(){const _0x78cfb7=['2745gKOqOi','43824XZCoDX','چاپ','35492rWMhKS','3279411dMbYAG','45yByvWY','342bzrdYs','133eDuuvs','76092sehNyM','822264Rcewpy','7726540nCLyVB'];_0x5826=function(){return _0x78cfb7;};return _0x5826();}const e={'print':{'menu':_0x31c845(0xe5)}};function _0x2456(_0x47de90,_0x57ccaf){_0x47de90=_0x47de90-0xdc;const _0x5826bd=_0x5826();let _0x2456f6=_0x5826bd[_0x47de90];return _0x2456f6;}export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xed63(_0x26d13e,_0x1e2400){_0x26d13e=_0x26d13e-0xb3;const _0x106523=_0x1065();let _0xed63d5=_0x106523[_0x26d13e];return _0xed63d5;}function _0x1065(){const _0x586b1f=['3642510bzMeXE','35094xrlFrC','4938968coZAWJ','2709184gJTULm','24dPxrgU','1468830EQhImY','1217759gZBqKC','48QEbnDE','9uaGtwQ','1528877RpoupY'];_0x1065=function(){return _0x586b1f;};return _0x1065();}(function(_0x3d6084,_0x1cc33b){const _0x20187b=_0xed63,_0x8728d1=_0x3d6084();while(!![]){try{const _0x3359aa=parseInt(_0x20187b(0xb8))/0x1+parseInt(_0x20187b(0xb3))/0x2*(-parseInt(_0x20187b(0xb9))/0x3)+parseInt(_0x20187b(0xb5))/0x4+-parseInt(_0x20187b(0xb7))/0x5+parseInt(_0x20187b(0xb6))/0x6*(-parseInt(_0x20187b(0xbb))/0x7)+parseInt(_0x20187b(0xb4))/0x8*(parseInt(_0x20187b(0xba))/0x9)+-parseInt(_0x20187b(0xbc))/0xa;if(_0x3359aa===_0x1cc33b)break;else _0x8728d1['push'](_0x8728d1['shift']());}catch(_0x1a794a){_0x8728d1['push'](_0x8728d1['shift']());}}}(_0x1065,0xaae6d));const e={'print':{'menu':'Imprimer'}};export{e as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x58bdd8,_0xc130d5){const _0x55b3ef=_0x24db,_0x1f324f=_0x58bdd8();while(!![]){try{const _0x4d1d7c=-parseInt(_0x55b3ef(0xa8))/0x1+-parseInt(_0x55b3ef(0xab))/0x2+parseInt(_0x55b3ef(0xac))/0x3+-parseInt(_0x55b3ef(0xa7))/0x4+parseInt(_0x55b3ef(0xad))/0x5+parseInt(_0x55b3ef(0xae))/0x6+-parseInt(_0x55b3ef(0xa9))/0x7*(-parseInt(_0x55b3ef(0xaa))/0x8);if(_0x4d1d7c===_0xc130d5)break;else _0x1f324f['push'](_0x1f324f['shift']());}catch(_0x19f31b){_0x1f324f['push'](_0x1f324f['shift']());}}}(_0x5ec3,0xf2c03));function _0x5ec3(){const _0x126a27=['3640222NslDnz','239967BhVVLe','616570FRPFKs','8380866EyGICI','7284696uSzNQB','622063TtXAwo','25602787VpXcut','8JpoIPD'];_0x5ec3=function(){return _0x126a27;};return _0x5ec3();}function _0x24db(_0xba49ca,_0x5004f8){_0xba49ca=_0xba49ca-0xa7;const _0x5ec37d=_0x5ec3();let _0x24db62=_0x5ec37d[_0xba49ca];return _0x24db62;}const e={'print':{'menu':'印刷'}};export{e as default};
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x126095,_0x1d6789){const _0x5cd3f1=_0x117c,_0x2d58a0=_0x126095();while(!![]){try{const _0x26b3ef=-parseInt(_0x5cd3f1(0x1eb))/0x1+-parseInt(_0x5cd3f1(0x1ee))/0x2*(-parseInt(_0x5cd3f1(0x1f3))/0x3)+-parseInt(_0x5cd3f1(0x1e9))/0x4*(-parseInt(_0x5cd3f1(0x1f1))/0x5)+parseInt(_0x5cd3f1(0x1f0))/0x6+-parseInt(_0x5cd3f1(0x1ea))/0x7+parseInt(_0x5cd3f1(0x1ec))/0x8*(-parseInt(_0x5cd3f1(0x1ed))/0x9)+parseInt(_0x5cd3f1(0x1f2))/0xa*(parseInt(_0x5cd3f1(0x1ef))/0xb);if(_0x26b3ef===_0x1d6789)break;else _0x2d58a0['push'](_0x2d58a0['shift']());}catch(_0x58d32c){_0x2d58a0['push'](_0x2d58a0['shift']());}}}(_0x4320,0xe6e4f));function _0x117c(_0x4f1aa9,_0x4c4e7e){_0x4f1aa9=_0x4f1aa9-0x1e9;const _0x432046=_0x4320();let _0x117ca7=_0x432046[_0x4f1aa9];return _0x117ca7;}function _0x4320(){const _0x30db56=['4357180qjEaSB','4254cSVfmc','1159464YBhqYX','11398380mmbCky','226595UObhVz','8MnTRSk','11509794wcUkqm','1086urrPer','11ygLyzZ','6807936lgPdCN','30XLlToW'];_0x4320=function(){return _0x30db56;};return _0x4320();}const e={'print':{'menu':'인쇄'}};export{e as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x236f56=_0x472d;function _0x472d(_0x4e3c35,_0x1c111d){_0x4e3c35=_0x4e3c35-0x1b6;const _0x3f4b6e=_0x3f4b();let _0x472db5=_0x3f4b6e[_0x4e3c35];return _0x472db5;}(function(_0x401e8c,_0x11c79b){const _0x1e8ee0=_0x472d,_0x3cae9a=_0x401e8c();while(!![]){try{const _0x498f9f=parseInt(_0x1e8ee0(0x1bd))/0x1*(parseInt(_0x1e8ee0(0x1ba))/0x2)+-parseInt(_0x1e8ee0(0x1b8))/0x3+-parseInt(_0x1e8ee0(0x1b9))/0x4*(-parseInt(_0x1e8ee0(0x1bb))/0x5)+-parseInt(_0x1e8ee0(0x1b6))/0x6*(parseInt(_0x1e8ee0(0x1c1))/0x7)+parseInt(_0x1e8ee0(0x1b7))/0x8*(-parseInt(_0x1e8ee0(0x1c0))/0x9)+parseInt(_0x1e8ee0(0x1be))/0xa*(-parseInt(_0x1e8ee0(0x1c2))/0xb)+parseInt(_0x1e8ee0(0x1bc))/0xc*(parseInt(_0x1e8ee0(0x1c3))/0xd);if(_0x498f9f===_0x11c79b)break;else _0x3cae9a['push'](_0x3cae9a['shift']());}catch(_0x5680ee){_0x3cae9a['push'](_0x3cae9a['shift']());}}}(_0x3f4b,0xc78bd));function _0x3f4b(){const _0x505cf7=['200WXWWyk','4187712oJIidc','351700sygZBk','2745956iUPYLi','75pfeYpa','24fpfzrg','1wxSCpH','2096390ynxNLJ','Печать','7443NJmNcL','7datbuf','55txjnSl','6707896QiizCx','2650332NmvTHN'];_0x3f4b=function(){return _0x505cf7;};return _0x3f4b();}const e={'print':{'menu':_0x236f56(0x1bf)}};export{e as default};
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x40ecaf=_0x26fe;(function(_0x4f8cf5,_0x494223){const _0xacaa34=_0x26fe,_0x298ae4=_0x4f8cf5();while(!![]){try{const _0x4ec5c6=parseInt(_0xacaa34(0x70))/0x1+-parseInt(_0xacaa34(0x73))/0x2+-parseInt(_0xacaa34(0x71))/0x3*(-parseInt(_0xacaa34(0x6e))/0x4)+-parseInt(_0xacaa34(0x6b))/0x5+parseInt(_0xacaa34(0x6f))/0x6+parseInt(_0xacaa34(0x6c))/0x7*(-parseInt(_0xacaa34(0x6a))/0x8)+parseInt(_0xacaa34(0x72))/0x9*(-parseInt(_0xacaa34(0x6d))/0xa);if(_0x4ec5c6===_0x494223)break;else _0x298ae4['push'](_0x298ae4['shift']());}catch(_0x1be908){_0x298ae4['push'](_0x298ae4['shift']());}}}(_0x55bc,0x33b79));function _0x26fe(_0x14e736,_0x326350){_0x14e736=_0x14e736-0x6a;const _0x55bc86=_0x55bc();let _0x26fe5e=_0x55bc86[_0x14e736];return _0x26fe5e;}const e={'print':{'menu':_0x40ecaf(0x74)}};export{e as default};function _0x55bc(){const _0x296de4=['2560570KHnmkQ','1614364IXbhGK','2264586aVYnoO','324393YuxqsD','3soCNZQ','18qOzmoQ','78868lNlyvc','Tlač','696FIDKLf','597440pWRSsM','17906nZJrUS'];_0x55bc=function(){return _0x296de4;};return _0x55bc();}
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x554f(_0x50f6da,_0x4990b3){_0x50f6da=_0x50f6da-0x147;const _0x47b860=_0x47b8();let _0x554fd5=_0x47b860[_0x50f6da];return _0x554fd5;}function _0x47b8(){const _0x6c8fbf=['18570fCXJVh','184046VPbGGn','1872504LLHVFw','8UxBwZe','1057ciyifA','1924021zAyiFe','940204eCCUoJ','6XBQBiK','10KavBsK','4040620VfdeKX','1647243YsyHJR'];_0x47b8=function(){return _0x6c8fbf;};return _0x47b8();}(function(_0x232cbb,_0x2add61){const _0xdffde8=_0x554f,_0x140be6=_0x232cbb();while(!![]){try{const _0x4b4faf=-parseInt(_0xdffde8(0x14f))/0x1*(-parseInt(_0xdffde8(0x14a))/0x2)+-parseInt(_0xdffde8(0x14d))/0x3+parseInt(_0xdffde8(0x149))/0x4*(parseInt(_0xdffde8(0x14b))/0x5)+-parseInt(_0xdffde8(0x14e))/0x6*(parseInt(_0xdffde8(0x147))/0x7)+parseInt(_0xdffde8(0x151))/0x8*(parseInt(_0xdffde8(0x150))/0x9)+parseInt(_0xdffde8(0x14c))/0xa+-parseInt(_0xdffde8(0x148))/0xb;if(_0x4b4faf===_0x2add61)break;else _0x140be6['push'](_0x140be6['shift']());}catch(_0x352667){_0x140be6['push'](_0x140be6['shift']());}}}(_0x47b8,0x6c28d));const e={'print':{'menu':'In'}};export{e as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x164b93,_0x565cf6){const _0x59716e=_0x50c1,_0x16e65e=_0x164b93();while(!![]){try{const _0x5b57b0=parseInt(_0x59716e(0x151))/0x1*(parseInt(_0x59716e(0x14d))/0x2)+-parseInt(_0x59716e(0x154))/0x3+-parseInt(_0x59716e(0x153))/0x4*(-parseInt(_0x59716e(0x158))/0x5)+parseInt(_0x59716e(0x152))/0x6+-parseInt(_0x59716e(0x157))/0x7*(-parseInt(_0x59716e(0x14e))/0x8)+parseInt(_0x59716e(0x155))/0x9*(-parseInt(_0x59716e(0x156))/0xa)+parseInt(_0x59716e(0x14f))/0xb*(-parseInt(_0x59716e(0x150))/0xc);if(_0x5b57b0===_0x565cf6)break;else _0x16e65e['push'](_0x16e65e['shift']());}catch(_0x524fec){_0x16e65e['push'](_0x16e65e['shift']());}}}(_0x429d,0x9839b));function _0x429d(){const _0x407700=['829362asDkXp','2301124LJUMkI','2227071hXuBfU','1867617mjDBxV','10LKXEIt','54292jHZEQP','5qIxVAx','867676CMuFXp','56aRUpjG','227667DPnkjF','36ilAyLa','2PHjUXI'];_0x429d=function(){return _0x407700;};return _0x429d();}const e={'print':{'menu':'打印'}};function _0x50c1(_0x1c7f79,_0x4cf1a9){_0x1c7f79=_0x1c7f79-0x14d;const _0x429d49=_0x429d();let _0x50c1ea=_0x429d49[_0x1c7f79];return _0x50c1ea;}export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x784d(){const _0x131087=['34038QWNqLq','670sPggiF','18450471Jybcsk','1539sVJxal','505uZbJDc','2CzThqi','4489938vmHfcG','21461UVmxyg','12cPMbpw','372082qnaHGX','5028CoNbWG','312SWtNzX','10003CstgEh'];_0x784d=function(){return _0x131087;};return _0x784d();}(function(_0x756985,_0x5c7d5f){const _0xe18ef=_0x415c,_0x17c587=_0x756985();while(!![]){try{const _0x39e5ce=-parseInt(_0xe18ef(0x156))/0x1*(parseInt(_0xe18ef(0x15a))/0x2)+-parseInt(_0xe18ef(0x154))/0x3*(-parseInt(_0xe18ef(0x15b))/0x4)+parseInt(_0xe18ef(0x155))/0x5*(-parseInt(_0xe18ef(0x151))/0x6)+parseInt(_0xe18ef(0x150))/0x7*(-parseInt(_0xe18ef(0x14f))/0x8)+-parseInt(_0xe18ef(0x157))/0x9+-parseInt(_0xe18ef(0x152))/0xa*(parseInt(_0xe18ef(0x158))/0xb)+-parseInt(_0xe18ef(0x159))/0xc*(-parseInt(_0xe18ef(0x153))/0xd);if(_0x39e5ce===_0x5c7d5f)break;else _0x17c587['push'](_0x17c587['shift']());}catch(_0x254f3f){_0x17c587['push'](_0x17c587['shift']());}}}(_0x784d,0x69e3b));const e={'print':{'menu':'列印'}};function _0x415c(_0x2660b2,_0x39f0db){_0x2660b2=_0x2660b2-0x14f;const _0x784d04=_0x784d();let _0x415c7c=_0x784d04[_0x2660b2];return _0x415c7c;}export{e as default};
|