@univerjs-pro/docs-print 0.25.0 → 1.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/components.controller.d.ts +7 -0
- package/lib/types/controllers/menu.d.ts +2 -1
- package/lib/types/controllers/{docs-print-ui.controller.d.ts → ui.controller.d.ts} +2 -4
- package/lib/types/index.d.ts +2 -2
- package/lib/types/locale/types.d.ts +3 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/doc-print.service.d.ts +1 -3
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
- /package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +0 -0
- /package/lib/types/{controllers/menu.schema.d.ts → menu/schema.d.ts} +0 -0
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5078(_0x1aa82c,_0x268af2){_0x1aa82c=_0x1aa82c-0x173;const _0x5c3284=_0x5c32();let _0x507893=_0x5c3284[_0x1aa82c];return _0x507893;}const _0x146b82=_0x5078;(function(_0x5e26d7,_0x53e605){const _0x2a596b=_0x5078,_0x2ee817=_0x5e26d7();while(!![]){try{const _0x55dbd5=-parseInt(_0x2a596b(0x17b))/0x1+parseInt(_0x2a596b(0x222))/0x2*(-parseInt(_0x2a596b(0x1a3))/0x3)+-parseInt(_0x2a596b(0x1b9))/0x4+parseInt(_0x2a596b(0x1e8))/0x5+-parseInt(_0x2a596b(0x211))/0x6*(-parseInt(_0x2a596b(0x195))/0x7)+parseInt(_0x2a596b(0x19b))/0x8*(parseInt(_0x2a596b(0x18d))/0x9)+parseInt(_0x2a596b(0x206))/0xa;if(_0x55dbd5===_0x53e605)break;else _0x2ee817['push'](_0x2ee817['shift']());}catch(_0x56c9ba){_0x2ee817['push'](_0x2ee817['shift']());}}}(_0x5c32,0xd95f2),Object[_0x146b82(0x179)](exports,Symbol[_0x146b82(0x20c)],{'value':_0x146b82(0x200)}));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(_0xdb531e){'@babel/helpers - typeof';const _0x570867=_0x146b82;return l=typeof Symbol=='function'&&typeof Symbol[_0x570867(0x1cc)]=='symbol'?function(_0x338b74){return typeof _0x338b74;}:function(_0x50fa47){const _0x140361=_0x570867;return _0x50fa47&&typeof Symbol==_0x140361(0x1c0)&&_0x50fa47[_0x140361(0x1c8)]===Symbol&&_0x50fa47!==Symbol[_0x140361(0x209)]?_0x140361(0x1c2):typeof _0x50fa47;},l(_0xdb531e);}function u(_0x1e4a9c,_0x43dc35){const _0x3e07d6=_0x146b82;if(l(_0x1e4a9c)!=_0x3e07d6(0x1f0)||!_0x1e4a9c)return _0x1e4a9c;var _0xea1187=_0x1e4a9c[Symbol[_0x3e07d6(0x1b6)]];if(_0xea1187!==void 0x0){var _0x2b9dd7=_0xea1187[_0x3e07d6(0x216)](_0x1e4a9c,_0x43dc35||_0x3e07d6(0x1de));if(l(_0x2b9dd7)!=_0x3e07d6(0x1f0))return _0x2b9dd7;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x43dc35==='string'?String:Number)(_0x1e4a9c);}function d(_0xde8c1e){const _0x4f51b9=_0x146b82;var _0x4794a6=u(_0xde8c1e,_0x4f51b9(0x225));return l(_0x4794a6)=='symbol'?_0x4794a6:_0x4794a6+'';}function f(_0x45ffd1,_0x44d1c5,_0x2a1335){return(_0x44d1c5=d(_0x44d1c5))in _0x45ffd1?Object['defineProperty'](_0x45ffd1,_0x44d1c5,{'value':_0x2a1335,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x45ffd1[_0x44d1c5]=_0x2a1335,_0x45ffd1;}var p=class extends e[_0x146b82(0x218)]{get[_0x146b82(0x1f9)](){const _0x3235ff=_0x146b82;return this[_0x3235ff(0x228)];}get[_0x146b82(0x1dd)](){const _0x57b137=_0x146b82;return this[_0x57b137(0x1a8)];}get[_0x146b82(0x1a9)](){const _0x3880b1=_0x146b82;let _0x59b648=this['_injector'][_0x3880b1(0x202)](n[_0x3880b1(0x174)])['getRenderById'](this[_0x3880b1(0x1b0)]);if(!_0x59b648)throw Error(_0x3880b1(0x1f7));return _0x59b648;}get[_0x146b82(0x21b)](){const _0x16a011=_0x146b82;return this[_0x16a011(0x1a9)][_0x16a011(0x1ee)](a[_0x16a011(0x1cb)])[_0x16a011(0x1e0)]();}get['_skeletonData'](){const _0x40dd09=_0x146b82;let _0x59f3da=this['_skeleton'][_0x40dd09(0x227)]();if(!_0x59f3da)throw Error(_0x40dd09(0x1be));return _0x59f3da;}get[_0x146b82(0x20d)](){const _0x5bd0b2=_0x146b82;let _0x5f1e67=this['_skeletonData']['pages'][0x0];return{'width':_0x5f1e67[_0x5bd0b2(0x1d8)],'height':_0x5f1e67['pageHeight']};}constructor(_0x250c20,_0x5a7380,_0x7e7da8,_0x39c39a){const _0x42d659=_0x146b82;super(),this['_injector']=_0x250c20,this['_page']=_0x5a7380,this[_0x42d659(0x1b0)]=_0x7e7da8,this[_0x42d659(0x1fc)]=_0x39c39a,f(this,_0x42d659(0x228),document['createElement'](_0x42d659(0x1d4))),f(this,_0x42d659(0x1a8),document[_0x42d659(0x1eb)](_0x42d659(0x1d4))),f(this,_0x42d659(0x1ce),void 0x0),f(this,_0x42d659(0x1a7),void 0x0),f(this,_0x42d659(0x188),void 0x0),f(this,_0x42d659(0x208),void 0x0),f(this,_0x42d659(0x1c3),void 0x0),f(this,_0x42d659(0x1e9),new e[(_0x42d659(0x220))]()),this['_key']=(0x0,e[_0x42d659(0x196)])(0x4),this['_initRenderer'](),this[_0x42d659(0x180)]({'dispose':()=>{const _0x2c8565=_0x42d659;this[_0x2c8565(0x1ce)][_0x2c8565(0x1a2)](),this[_0x2c8565(0x1a7)][_0x2c8565(0x1a2)](),this[_0x2c8565(0x1e9)]['dispose']();}});}[_0x146b82(0x1c1)](){const _0x4d6b0e=_0x146b82;let {docsTop:_0x6d898e,docsLeft:_0x25de67}=this[_0x4d6b0e(0x208)][_0x4d6b0e(0x19a)](),_0x269539=this[_0x4d6b0e(0x20d)]['height'],_0x3c5d50=this[_0x4d6b0e(0x20d)]['width'];return{'top':_0x6d898e+(_0x6d898e+_0x269539)*this[_0x4d6b0e(0x20a)],'bottom':_0x6d898e+(_0x6d898e+_0x269539)*(this[_0x4d6b0e(0x20a)]+0x1),'left':_0x25de67,'right':_0x25de67+_0x3c5d50};}[_0x146b82(0x1ec)](){const _0x1c5015=_0x146b82;this['_engine']=new n[(_0x1c5015(0x214))]('',{'elementWidth':this[_0x1c5015(0x20d)][_0x1c5015(0x207)],'elementHeight':this['_paperSize'][_0x1c5015(0x203)],'dpr':0x1,'renderMode':n[_0x1c5015(0x1ca)]['Printing']}),this[_0x1c5015(0x1a7)]=new n[(_0x1c5015(0x21f))](this['_key'],this[_0x1c5015(0x1ce)]),this[_0x1c5015(0x1a7)]['scale'](0x1,0x1),this[_0x1c5015(0x1ce)][_0x1c5015(0x17f)](this['_container'],!0x1),this[_0x1c5015(0x1ce)]['getCanvas']()[_0x1c5015(0x190)]()['setId'](this[_0x1c5015(0x188)]+'_'+(0x0,e[_0x1c5015(0x196)])(0x4)),this[_0x1c5015(0x1aa)](),this[_0x1c5015(0x21c)]();}[_0x146b82(0x1aa)](){const _0x2a823a=_0x146b82;let {pageMarginLeft:_0x481356,pageMarginTop:_0x1eff7a,docsLeft:_0x4c7e39,docsTop:_0x4089fc}=this[_0x2a823a(0x1fc)],_0x3c035e={'pageMarginLeft':_0x481356,'pageMarginTop':_0x1eff7a},_0x3394bd=new n['Documents']('__DocPrintRender__',this[_0x2a823a(0x21b)],_0x3c035e);_0x3394bd[_0x2a823a(0x18a)](_0x4c7e39,_0x4089fc),this[_0x2a823a(0x1a7)][_0x2a823a(0x205)](_0x3394bd),this[_0x2a823a(0x208)]=_0x3394bd;let _0x30fa1c=this[_0x2a823a(0x1cd)]['get'](t['DocPrintInterceptorService']);_0x30fa1c[_0x2a823a(0x20e)]['fetchThroughInterceptors'](_0x30fa1c[_0x2a823a(0x20e)][_0x2a823a(0x1c6)]()[_0x2a823a(0x1bc)])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x2a823a(0x1a7)],'engine':this['_engine'],'root':this[_0x2a823a(0x1a8)],'documents':this['_documents'],'skeleton':this['_skeleton']});}[_0x146b82(0x21c)](){const _0x257d67=_0x146b82;this[_0x257d67(0x1c3)]=new n[(_0x257d67(0x186))](t[_0x257d67(0x1b1)][_0x257d67(0x219)],this[_0x257d67(0x1a7)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x146b82(0x1ad)](){const _0x4393a7=_0x146b82;let _0x4fd044=this[_0x4393a7(0x1c1)]();this[_0x4393a7(0x1c3)][_0x4393a7(0x1c4)]({'viewportScrollX':_0x4fd044[_0x4393a7(0x201)],'viewportScrollY':_0x4fd044['top']}),this[_0x4393a7(0x1a8)]['style'][_0x4393a7(0x199)]=_0x4393a7(0x173),this[_0x4393a7(0x1a8)]['style']['top']='0px',this[_0x4393a7(0x1a8)][_0x4393a7(0x1c9)][_0x4393a7(0x201)]=_0x4393a7(0x1b4),this[_0x4393a7(0x1a8)][_0x4393a7(0x1c9)]['width']='100%',this['_root'][_0x4393a7(0x1c9)][_0x4393a7(0x203)]='100%',this[_0x4393a7(0x1e9)]=new e[(_0x4393a7(0x220))]();let _0x150627=this[_0x4393a7(0x1cd)][_0x4393a7(0x202)](t['DocPrintInterceptorService']);_0x150627[_0x4393a7(0x20e)][_0x4393a7(0x183)](_0x150627[_0x4393a7(0x20e)][_0x4393a7(0x1c6)]()[_0x4393a7(0x1e7)])(this['_effects'],{'unitId':this[_0x4393a7(0x1b0)],'scene':this['_scene'],'engine':this[_0x4393a7(0x1ce)],'root':this[_0x4393a7(0x1a8)],'skeleton':this[_0x4393a7(0x21b)],'offset':{'x':_0x4fd044['left'],'y':_0x4fd044[_0x4393a7(0x181)]},'bound':{'top':_0x4fd044[_0x4393a7(0x181)],'left':_0x4fd044[_0x4393a7(0x201)],'right':_0x4fd044[_0x4393a7(0x210)],'bottom':_0x4fd044['bottom']}});}[_0x146b82(0x213)](){const _0x221e15=_0x146b82;let _0x3eb1f6=this['_engine'][_0x221e15(0x1b2)]()[_0x221e15(0x190)]();this[_0x221e15(0x208)]['makeForceDirty'](),this[_0x221e15(0x1a7)][_0x221e15(0x1fd)](),_0x3eb1f6[_0x221e15(0x17d)](),this[_0x221e15(0x1a7)][_0x221e15(0x213)](),_0x3eb1f6[_0x221e15(0x1ac)]();}};function m(_0x1b5d72,_0x4eba5d){return function(_0x2a3226,_0x5e2ab1){_0x4eba5d(_0x2a3226,_0x5e2ab1,_0x1b5d72);};}function h(_0x264222,_0x5dbdb8,_0x4c6c28,_0x52b5d7){const _0x25f9f9=_0x146b82;var _0xfa8c7e=arguments[_0x25f9f9(0x1f2)],_0xf85022=_0xfa8c7e<0x3?_0x5dbdb8:_0x52b5d7===null?_0x52b5d7=Object[_0x25f9f9(0x226)](_0x5dbdb8,_0x4c6c28):_0x52b5d7,_0x1a2bbd;if(typeof Reflect==_0x25f9f9(0x1f0)&&typeof Reflect[_0x25f9f9(0x1c7)]==_0x25f9f9(0x1c0))_0xf85022=Reflect['decorate'](_0x264222,_0x5dbdb8,_0x4c6c28,_0x52b5d7);else{for(var _0x46d336=_0x264222[_0x25f9f9(0x1f2)]-0x1;_0x46d336>=0x0;_0x46d336--)(_0x1a2bbd=_0x264222[_0x46d336])&&(_0xf85022=(_0xfa8c7e<0x3?_0x1a2bbd(_0xf85022):_0xfa8c7e>0x3?_0x1a2bbd(_0x5dbdb8,_0x4c6c28,_0xf85022):_0x1a2bbd(_0x5dbdb8,_0x4c6c28))||_0xf85022);}return _0xfa8c7e>0x3&&_0xf85022&&Object[_0x25f9f9(0x179)](_0x5dbdb8,_0x4c6c28,_0xf85022),_0xf85022;}const g=Number[_0x146b82(0x1d1)](0x6a1aba27),_=(_0x42d81a,_0x26b53d,_0x1b2c45)=>{const _0x582742=_0x146b82;let _0x316f99={'page':_0x42d81a,'isPro':!0x1,'timeValid':!0x1};if(!_0x26b53d||!_0x1b2c45)return _0x316f99;let _0xd0e841=(0x0,r[_0x582742(0x1cf)])(_0x26b53d,_0x1b2c45);if(_0xd0e841[_0x582742(0x20b)]){let _0xfec77e=_0xd0e841[_0x582742(0x1dc)],_0x5b04b0=(0x0,r[_0x582742(0x192)])(_0xfec77e,'df',g);_0x316f99[_0x582742(0x217)]=_0x5b04b0,_0x316f99[_0x582742(0x223)]=_0x5b04b0,_0x316f99[_0x582742(0x21d)]=(0x0,r['getDocFeatureLimit'])(_0xfec77e,_0x5b04b0,_0x582742(0x1ab),_0x42d81a,_0x42d81a,0x0);}return _0x316f99;};let v=class extends e[_0x146b82(0x218)]{constructor(_0x367121,_0x36bba8,_0x44b8e2,_0x1b2e80,_0xa66b8b){const _0x27b73a=_0x146b82;super(),this['_univerInstanceService']=_0x367121,this[_0x27b73a(0x198)]=_0x36bba8,this[_0x27b73a(0x1cd)]=_0x44b8e2,this[_0x27b73a(0x194)]=_0x1b2e80,this[_0x27b73a(0x19e)]=_0xa66b8b;}[_0x146b82(0x17c)](_0x5b056f){const _0x3f7639=_0x146b82;var _0x2fe23c,_0x5bc367;let {ls:_0xe40ac7,pbk:_0x5d45ce}=(_0x2fe23c=this[_0x3f7639(0x194)][_0x3f7639(0x1ae)](r[_0x3f7639(0x1e5)]))==null?{}:_0x2fe23c,_0x4d0f3b=(0x0,r[_0x3f7639(0x175)])()?0x1/0x0:_(0x1,_0xe40ac7,_0x5d45ce)[_0x3f7639(0x21d)];if(!this[_0x3f7639(0x1bf)][_0x3f7639(0x1b3)](_0x5b056f,e[_0x3f7639(0x1d0)][_0x3f7639(0x1ef)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x348cd6=this['_renderManagerService'][_0x3f7639(0x221)](_0x5b056f);if(!_0x348cd6)throw Error(_0x3f7639(0x1f7));let _0x178be4=(_0x5bc367=_0x348cd6[_0x3f7639(0x1ee)](a[_0x3f7639(0x1cb)])[_0x3f7639(0x1e0)]()[_0x3f7639(0x227)]())==null?void 0x0:_0x5bc367[_0x3f7639(0x1a6)];if(!_0x178be4)throw Error(_0x3f7639(0x178));let _0x2cc4b7={'width':_0x178be4[0x0][_0x3f7639(0x1d8)],'height':_0x178be4[0x0][_0x3f7639(0x1e4)]},_0x5840cd=_0x178be4[_0x3f7639(0x1f2)],_0x151101=Math[_0x3f7639(0x176)](_0x4d0f3b,_0x5840cd),_0x58276d=_0x348cd6[_0x3f7639(0x18e)][_0x3f7639(0x19a)](),_0x34aa0f=document['createElement'](_0x3f7639(0x1d4));_0x34aa0f[_0x3f7639(0x1e1)]=i[_0x3f7639(0x1f8)];let _0x44f6b6=Array(_0x151101)[_0x3f7639(0x1bd)](null)[_0x3f7639(0x1a0)]((_0x5223c1,_0x3ef3f6)=>{const _0x525728=_0x3f7639;let _0x67a6a0=new p(this[_0x525728(0x1cd)],_0x3ef3f6,_0x5b056f,_0x58276d);return _0x67a6a0[_0x525728(0x1f9)][_0x525728(0x1e1)]=i['PRINT_CANVAS_CLASS'],_0x67a6a0;});_0x44f6b6['forEach'](_0x4ae10a=>{const _0x16563e=_0x3f7639;_0x34aa0f['appendChild'](_0x4ae10a[_0x16563e(0x1f9)]),_0x4ae10a['container'][_0x16563e(0x1db)](_0x4ae10a[_0x16563e(0x1dd)]),_0x4ae10a[_0x16563e(0x1ad)]();});let _0x1f51c5=(0x0,i[_0x3f7639(0x18c)])(_0x2cc4b7[_0x3f7639(0x207)],_0x2cc4b7['height'],i[_0x3f7639(0x1df)][_0x3f7639(0x1fe)]);return document['body'][_0x3f7639(0x1db)](_0x1f51c5),document[_0x3f7639(0x19f)][_0x3f7639(0x1db)](_0x34aa0f),new Promise(_0x26611a=>{setTimeout(()=>{const _0x7f8bb6=_0x5078;window['onbeforeprint']=()=>{_0x44f6b6['forEach'](_0x379240=>{const _0x1ec662=_0x5078;_0x379240[_0x1ec662(0x213)]();});},window[_0x7f8bb6(0x1fa)]=()=>{const _0x3f329f=_0x7f8bb6;_0x44f6b6['forEach'](_0x571f2e=>{const _0x14e765=_0x5078;_0x571f2e[_0x14e765(0x1a2)]();}),document['body'][_0x3f329f(0x184)](_0x34aa0f),document[_0x3f329f(0x19f)][_0x3f329f(0x184)](_0x1f51c5),this[_0x3f329f(0x19e)][_0x3f329f(0x1d3)](),_0x26611a(!0x0);},window[_0x7f8bb6(0x17c)]();},0x64);});}};v=h([m(0x0,e[_0x146b82(0x1ba)]),m(0x1,n[_0x146b82(0x174)]),m(0x2,(0x0,e[_0x146b82(0x18b)])(e[_0x146b82(0x19c)])),m(0x3,e[_0x146b82(0x1f1)]),m(0x4,o['IZenZoneService'])],v);const y={'id':_0x146b82(0x19d),'type':e[_0x146b82(0x1fb)][_0x146b82(0x1a4)],'handler':async _0x2b93cf=>{const _0x33b01f=_0x146b82;let _0x53f291=_0x2b93cf[_0x33b01f(0x202)](e[_0x33b01f(0x1ba)]),_0x5c5eb2=_0x2b93cf[_0x33b01f(0x202)](v),_0x12fd36=_0x2b93cf[_0x33b01f(0x202)](n[_0x33b01f(0x174)]),_0x5a57ca=_0x2b93cf[_0x33b01f(0x202)](e[_0x33b01f(0x224)]),_0x3f749a=_0x53f291[_0x33b01f(0x187)](e[_0x33b01f(0x1d0)][_0x33b01f(0x1ef)]);if(!_0x3f749a)return!0x1;if(!_0x12fd36[_0x33b01f(0x221)](_0x3f749a['getUnitId']()))throw Error(_0x33b01f(0x1f7));let _0xbb0293=_0x3f749a[_0x33b01f(0x204)]()[_0x33b01f(0x189)];return _0xbb0293!==e[_0x33b01f(0x1b8)][_0x33b01f(0x1d6)]&&_0x5a57ca['syncExecuteCommand'](t[_0x33b01f(0x1f4)]['id']),await _0x5c5eb2[_0x33b01f(0x17c)](_0x3f749a[_0x33b01f(0x1d2)]()),_0xbb0293!==e[_0x33b01f(0x1b8)][_0x33b01f(0x1d6)]&&_0x5a57ca[_0x33b01f(0x1b7)](t[_0x33b01f(0x1f4)]['id']),!0x0;}},b='UNIVER_DOCS_PRINT',x={};var S=_0x146b82(0x21e),C=_0x146b82(0x1f3);function w(_0x3f2a44){const _0x23a3a1=_0x146b82;return{'id':y['id'],'type':o['MenuItemType'][_0x23a3a1(0x18f)],'title':_0x23a3a1(0x1d5),'icon':_0x23a3a1(0x215),'tooltip':'docs-print.menu','hidden$':(0x0,o[_0x23a3a1(0x17a)])(_0x3f2a44,e[_0x23a3a1(0x1d0)][_0x23a3a1(0x1ef)])};}const T={[o[_0x146b82(0x177)]['OTHERS']]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x146b82(0x218)]{constructor(_0x133c7d,_0x544fa8,_0xd8ee6c){const _0x331515=_0x146b82;super(),this[_0x331515(0x193)]=_0x133c7d,this[_0x331515(0x191)]=_0x544fa8,this[_0x331515(0x1b5)]=_0xd8ee6c,this[_0x331515(0x1a1)](),this[_0x331515(0x1ed)](),this['_initComponents']();}[_0x146b82(0x1a1)](){const _0x23e10d=_0x146b82;this[_0x23e10d(0x191)][_0x23e10d(0x1a5)](T);}[_0x146b82(0x1ed)](){const _0x533a52=_0x146b82;this['disposeWithMe'](this[_0x533a52(0x193)][_0x533a52(0x1ff)](y));}[_0x146b82(0x17e)](){const _0x282455=_0x146b82;[['PrintIcon',c[_0x282455(0x215)]]][_0x282455(0x197)](([_0x2abdb2,_0x35764b])=>{const _0x1bea5a=_0x282455;this['_componentManager'][_0x1bea5a(0x1bb)](_0x2abdb2,_0x35764b);});}};E=h([m(0x0,e[_0x146b82(0x224)]),m(0x1,o[_0x146b82(0x1af)]),m(0x2,(0x0,e['Inject'])(o[_0x146b82(0x1da)]))],E);let D=class extends e[_0x146b82(0x21a)]{constructor(_0x364f6c=x,_0x3fc5f3,_0x8e4ac6){const _0x2f11f0=_0x146b82;super(),this['_config']=_0x364f6c,this[_0x2f11f0(0x1cd)]=_0x3fc5f3,this[_0x2f11f0(0x194)]=_0x8e4ac6;let {menu:_0x53ebbe,..._0x3fe490}=(0x0,e[_0x2f11f0(0x1f6)])({},x,this[_0x2f11f0(0x1e3)]);_0x53ebbe&&this[_0x2f11f0(0x194)][_0x2f11f0(0x1ea)]('menu',_0x53ebbe,{'merge':!0x0}),this[_0x2f11f0(0x194)][_0x2f11f0(0x1ea)](b,_0x3fe490);}[_0x146b82(0x20f)](){(0x0,e['registerDependencies'])(this['_injector'],[[v],[E]]);}[_0x146b82(0x1d9)](){const _0xe80dbb=_0x146b82;this['_injector'][_0xe80dbb(0x202)](E);}};f(D,_0x146b82(0x1f5),_0x146b82(0x1e6)),f(D,_0x146b82(0x182),S),f(D,_0x146b82(0x185),C),f(D,_0x146b82(0x1e2),e[_0x146b82(0x1d0)][_0x146b82(0x1ef)]),D=h([(0x0,e['DependentOn'])(s[_0x146b82(0x212)],r['UniverLicensePlugin']),m(0x1,(0x0,e[_0x146b82(0x18b)])(e[_0x146b82(0x19c)])),m(0x2,e['IConfigService'])],D),exports[_0x146b82(0x1c5)]=b,exports[_0x146b82(0x1d7)]=y,Object[_0x146b82(0x179)](exports,'UniverDocsPrintPlugin',{'enumerable':!0x0,'get':function(){return D;}});function _0x5c32(){const _0x436bc7=['_documents','prototype','_page','valid','toStringTag','_paperSize','interceptor','onStarting','right','2223696kLQIcx','UniverNetworkPlugin','render','Engine','PrintIcon','call','isPro','Disposable','VIEW_MAIN','Plugin','_skeleton','_addViewport','page','@univerjs-pro/docs-print','Scene','DisposableCollection','getRenderById','18EXUoXj','timeValid','ICommandService','string','getOwnPropertyDescriptor','getSkeletonData','_container','absolute','IRenderManagerService','isLocalCheck','min','RibbonStartGroup','Pages\x20are\x20not\x20found','defineProperty','getMenuHiddenObservable','81762JTvxGt','print','save','_initComponents','setContainer','disposeWithMe','top','packageName','fetchThroughInterceptors','removeChild','version','Viewport','getCurrentUnitOfType','_key','documentFlavor','translate','Inject','createPrintStyle','1045863yzgKwe','mainComponent','BUTTON','getContext','_menuManagerService','isFeatureAuthorizedWithinTime','_commandService','_configService','7mVBAcX','generateRandomId','forEach','_renderManagerService','position','getOffsetConfig','120KeYUBT','Injector','docs.operation.print','_globalZoneService','body','map','_initMenus','dispose','364143uUXyNS','OPERATION','mergeMenu','pages','_scene','_root','_currentRender','_addComponent','mpn','restore','prepare','getConfig','IMenuManagerService','_unitId','VIEWPORT_KEY','getCanvas','getUnit','0px','_componentManager','toPrimitive','syncExecuteCommand','DocumentFlavor','6406972AFtzYk','IUniverInstanceService','register','PRINTING_COMPONENT_COLLECT','fill','Skeleton\x20data\x20is\x20not\x20found','_univerInstanceService','function','_calculateLayout','symbol','_viewMain','updateScrollVal','DOCS_PRINT_PLUGIN_CONFIG_KEY','getInterceptPoints','decorate','constructor','style','CanvasRenderMode','DocSkeletonManagerService','iterator','_injector','_engine','getLicenseInfo','UniverInstanceType','parseInt','getUnitId','close','div','docs-print.menu','TRADITIONAL','DocPrintOperation','pageWidth','onReady','ComponentManager','appendChild','message','root','default','PrintDirection','getSkeleton','className','type','_config','pageHeight','LS_CONFIG_KEY','UNIVER_DOCS_PRINT','PRINTING_DOM_COLLECT','6867670FtOZFJ','_effects','setConfig','createElement','_initRenderer','_initCommands','with','UNIVER_DOC','object','IConfigService','length','0.25.0','SwitchDocModeCommand','pluginName','merge','Render\x20is\x20not\x20found','PRINT_CONTAINER_CLASS','container','onafterprint','CommandType','_offsetConfig','makeDirty','Portrait','registerCommand','Module','left','get','height','getDocumentStyle','addObject','1790330RtTdIL','width'];_0x5c32=function(){return _0x436bc7;};return _0x5c32();}
|
|
1
|
+
const _0x162d46=_0x362e;(function(_0x11cb40,_0x36fd4f){const _0xf88fe5=_0x362e,_0x129057=_0x11cb40();while(!![]){try{const _0x24c482=parseInt(_0xf88fe5(0x17b))/0x1+parseInt(_0xf88fe5(0x15b))/0x2+-parseInt(_0xf88fe5(0x1b8))/0x3*(-parseInt(_0xf88fe5(0x190))/0x4)+-parseInt(_0xf88fe5(0x1c4))/0x5*(parseInt(_0xf88fe5(0x1ce))/0x6)+parseInt(_0xf88fe5(0x141))/0x7*(parseInt(_0xf88fe5(0x1d0))/0x8)+-parseInt(_0xf88fe5(0x187))/0x9+-parseInt(_0xf88fe5(0x15c))/0xa;if(_0x24c482===_0x36fd4f)break;else _0x129057['push'](_0x129057['shift']());}catch(_0x50b782){_0x129057['push'](_0x129057['shift']());}}}(_0x5969,0xc6c67),Object[_0x162d46(0x1b9)](exports,Symbol['toStringTag'],{'value':_0x162d46(0x18c)}));let e=require('@univerjs/core'),t=require('@univerjs/docs-ui'),n=require('@univerjs/engine-render'),r=require('@univerjs-pro/license'),i=require('@univerjs-pro/print'),a=require('@univerjs/docs'),o=require('@univerjs/network'),s=require('@univerjs/icons'),c=require('@univerjs/ui');function l(_0xa51009){'@babel/helpers - typeof';const _0x57c594=_0x162d46;return l=typeof Symbol==_0x57c594(0x159)&&typeof Symbol[_0x57c594(0x160)]==_0x57c594(0x1b4)?function(_0x4b9d39){return typeof _0x4b9d39;}:function(_0x4032ea){const _0x23df40=_0x57c594;return _0x4032ea&&typeof Symbol==_0x23df40(0x159)&&_0x4032ea[_0x23df40(0x1bd)]===Symbol&&_0x4032ea!==Symbol['prototype']?_0x23df40(0x1b4):typeof _0x4032ea;},l(_0xa51009);}function _0x5969(){const _0x583c09=['_paperSize','makeForceDirty','_documents','object','OTHERS','getMenuHiddenObservable','Viewport','pageWidth','getOffsetConfig','VIEW_MAIN','length','menu','UniverInstanceType','render','0px','docs-print.menu','getLicenseInfo','interceptor','type','getDocFeatureLimit','isLocalCheck','symbol','DocumentDataModel\x20is\x20not\x20found','updateScrollVal','_offsetConfig','3xmCGyb','defineProperty','_addComponent','getCanvas','_config','constructor','getInterceptPoints','PRINTING_DOM_COLLECT','forEach','fill','removeChild','mergeMenu','5EhBTfS','getUnitId','_page','Inject','IUniverInstanceService','CommandType','registerDependencies','valid','get','style','401118DphSFn','UniverDocsPrintPlugin','8PoVihM','setContainer','_calculateLayout','DocumentFlavor','fetchThroughInterceptors','pages','getUnit','100%','merge','_container','_initMenus','_iconManager','Plugin','Injector','Pages\x20are\x20not\x20found','makeDirty','onStarting','ICommandService','documentFlavor','print','height','_effects','DOCS_PRINT_PLUGIN_CONFIG_KEY','_key','container','setId','syncExecuteCommand','DocSkeletonManagerService','onReady','isFeatureAuthorizedWithinTime','Portrait','UNIVER_DOC','_renderManagerService','@univerjs-pro/docs-print','11130133CazEjF','UniverNetworkPlugin','DocPrintOperation','getOwnPropertyDescriptor','IMenuManagerService','_skeletonData','disposeWithMe','map','DocPrintInterceptorService','_configService','call','mainComponent','PrintIcon','page','getSkeletonData','div','className','Disposable','_addViewport','isPro','_currentRender','dispose','_unitId','IRenderManagerService','function','PrintDirection','552722DARBRI','19949100LBSOil','IConfigService','onafterprint','root','iterator','restore','SwitchDocModeCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','VIEWPORT_KEY','decorate','position','_initCommands','UniverLicensePlugin','_menuManagerService','_registerIcons','RibbonStartGroup','translate','pageHeight','createElement','Printing','appendChild','_commandService','scale','OPERATION','getSkeleton','width','top','1.0.0-alpha.0','DependentOn','Engine','pluginName','1142380jmZPEH','BUTTON','_viewMain','Render\x20is\x20not\x20found','docs.operation.print','with','min','right','_initRenderer','PRINTING_COMPONENT_COLLECT','Scene','Skeleton\x20data\x20is\x20not\x20found','8985312Nyaibw','getConfig','getCurrentUnitOfType','string','_univerInstanceService','Module','left','getRenderById','DisposableCollection','3462216qfGTNf','prepare','_root','__DocPrintRender__','_injector','setConfig','PRINT_CANVAS_CLASS','Documents','_scene','body','CanvasRenderMode','_engine','generateRandomId','bottom','_skeleton'];_0x5969=function(){return _0x583c09;};return _0x5969();}function u(_0x48b0af,_0x5157c0){const _0x4687f4=_0x162d46;if(l(_0x48b0af)!=_0x4687f4(0x1a2)||!_0x48b0af)return _0x48b0af;var _0x471d2c=_0x48b0af[Symbol['toPrimitive']];if(_0x471d2c!==void 0x0){var _0x3a8c9e=_0x471d2c[_0x4687f4(0x14b)](_0x48b0af,_0x5157c0||'default');if(l(_0x3a8c9e)!='object')return _0x3a8c9e;throw TypeError(_0x4687f4(0x163));}return(_0x5157c0===_0x4687f4(0x18a)?String:Number)(_0x48b0af);}function d(_0x64d2e1){var _0x2dc8ce=u(_0x64d2e1,'string');return l(_0x2dc8ce)=='symbol'?_0x2dc8ce:_0x2dc8ce+'';}function f(_0x5fb29f,_0x1181a1,_0x449e40){const _0x28a0a7=_0x162d46;return(_0x1181a1=d(_0x1181a1))in _0x5fb29f?Object[_0x28a0a7(0x1b9)](_0x5fb29f,_0x1181a1,{'value':_0x449e40,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5fb29f[_0x1181a1]=_0x449e40,_0x5fb29f;}var p=class extends e['Disposable']{get['container'](){const _0x40456a=_0x162d46;return this[_0x40456a(0x1d9)];}get[_0x162d46(0x15f)](){const _0xb6d222=_0x162d46;return this[_0xb6d222(0x192)];}get[_0x162d46(0x155)](){const _0x550193=_0x162d46;let _0x31a84e=this[_0x550193(0x194)]['get'](n[_0x550193(0x158)])[_0x550193(0x18e)](this[_0x550193(0x157)]);if(!_0x31a84e)throw Error(_0x550193(0x17e));return _0x31a84e;}get[_0x162d46(0x19e)](){const _0x4b86b8=_0x162d46;return this[_0x4b86b8(0x155)][_0x4b86b8(0x180)](a['DocSkeletonManagerService'])[_0x4b86b8(0x174)]();}get[_0x162d46(0x146)](){const _0x194821=_0x162d46;let _0x36cb3e=this[_0x194821(0x19e)][_0x194821(0x14f)]();if(!_0x36cb3e)throw Error(_0x194821(0x186));return _0x36cb3e;}get[_0x162d46(0x19f)](){const _0x341025=_0x162d46;let _0x30f126=this[_0x341025(0x146)][_0x341025(0x1d5)][0x0];return{'width':_0x30f126['pageWidth'],'height':_0x30f126[_0x341025(0x16d)]};}constructor(_0x3fbb3e,_0xf6fc0,_0x14e26a,_0x59a8a7){const _0xf70c1e=_0x162d46;super(),this['_injector']=_0x3fbb3e,this[_0xf70c1e(0x1c6)]=_0xf6fc0,this[_0xf70c1e(0x157)]=_0x14e26a,this[_0xf70c1e(0x1b7)]=_0x59a8a7,f(this,_0xf70c1e(0x1d9),document[_0xf70c1e(0x16e)](_0xf70c1e(0x150))),f(this,_0xf70c1e(0x192),document[_0xf70c1e(0x16e)](_0xf70c1e(0x150))),f(this,'_engine',void 0x0),f(this,_0xf70c1e(0x198),void 0x0),f(this,_0xf70c1e(0x136),void 0x0),f(this,'_documents',void 0x0),f(this,_0xf70c1e(0x17d),void 0x0),f(this,_0xf70c1e(0x1e5),new e[(_0xf70c1e(0x18f))]()),this[_0xf70c1e(0x136)]=(0x0,e[_0xf70c1e(0x19c)])(0x4),this[_0xf70c1e(0x183)](),this['disposeWithMe']({'dispose':()=>{const _0x35fca1=_0xf70c1e;this['_engine'][_0x35fca1(0x156)](),this['_scene'][_0x35fca1(0x156)](),this['_effects'][_0x35fca1(0x156)]();}});}[_0x162d46(0x1d2)](){const _0x5b92f2=_0x162d46;let {docsTop:_0x10d2d8,docsLeft:_0x348592}=this[_0x5b92f2(0x1a1)][_0x5b92f2(0x1a7)](),_0x1a5adf=this['_paperSize'][_0x5b92f2(0x1e4)],_0x55af64=this[_0x5b92f2(0x19f)][_0x5b92f2(0x175)];return{'top':_0x10d2d8+(_0x10d2d8+_0x1a5adf)*this['_page'],'bottom':_0x10d2d8+(_0x10d2d8+_0x1a5adf)*(this[_0x5b92f2(0x1c6)]+0x1),'left':_0x348592,'right':_0x348592+_0x55af64};}[_0x162d46(0x183)](){const _0x27474a=_0x162d46;this[_0x27474a(0x19b)]=new n[(_0x27474a(0x179))]('',{'elementWidth':this[_0x27474a(0x19f)][_0x27474a(0x175)],'elementHeight':this[_0x27474a(0x19f)][_0x27474a(0x1e4)],'dpr':0x1,'renderMode':n[_0x27474a(0x19a)][_0x27474a(0x16f)]}),this[_0x27474a(0x198)]=new n[(_0x27474a(0x185))](this[_0x27474a(0x136)],this[_0x27474a(0x19b)]),this['_scene'][_0x27474a(0x172)](0x1,0x1),this[_0x27474a(0x19b)][_0x27474a(0x1d1)](this[_0x27474a(0x1d9)],!0x1),this[_0x27474a(0x19b)][_0x27474a(0x1bb)]()['getContext']()[_0x27474a(0x138)](this['_key']+'_'+(0x0,e[_0x27474a(0x19c)])(0x4)),this[_0x27474a(0x1ba)](),this[_0x27474a(0x153)]();}['_addComponent'](){const _0xc7c348=_0x162d46;let {pageMarginLeft:_0x3e2e4a,pageMarginTop:_0x40e4b6,docsLeft:_0xa884eb,docsTop:_0xb5a2f1}=this['_offsetConfig'],_0x56debb={'pageMarginLeft':_0x3e2e4a,'pageMarginTop':_0x40e4b6},_0x66d431=new n[(_0xc7c348(0x197))](_0xc7c348(0x193),this[_0xc7c348(0x19e)],_0x56debb);_0x66d431[_0xc7c348(0x16c)](_0xa884eb,_0xb5a2f1),this['_scene']['addObject'](_0x66d431),this['_documents']=_0x66d431;let _0x34fce0=this['_injector'][_0xc7c348(0x1cc)](t[_0xc7c348(0x149)]);_0x34fce0[_0xc7c348(0x1b0)][_0xc7c348(0x1d4)](_0x34fce0['interceptor'][_0xc7c348(0x1be)]()[_0xc7c348(0x184)])(void 0x0,{'unitId':this[_0xc7c348(0x157)],'scene':this[_0xc7c348(0x198)],'engine':this[_0xc7c348(0x19b)],'root':this[_0xc7c348(0x192)],'documents':this['_documents'],'skeleton':this['_skeleton']});}[_0x162d46(0x153)](){const _0x4abaf5=_0x162d46;this[_0x4abaf5(0x17d)]=new n[(_0x4abaf5(0x1a5))](t[_0x4abaf5(0x164)][_0x4abaf5(0x1a8)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x162d46(0x191)](){const _0x1abd15=_0x162d46;let _0x3d6084=this[_0x1abd15(0x1d2)]();this['_viewMain'][_0x1abd15(0x1b6)]({'viewportScrollX':_0x3d6084['left'],'viewportScrollY':_0x3d6084['top']}),this[_0x1abd15(0x192)]['style'][_0x1abd15(0x166)]='absolute',this[_0x1abd15(0x192)][_0x1abd15(0x1cd)][_0x1abd15(0x176)]='0px',this[_0x1abd15(0x192)][_0x1abd15(0x1cd)]['left']=_0x1abd15(0x1ad),this[_0x1abd15(0x192)][_0x1abd15(0x1cd)][_0x1abd15(0x175)]='100%',this['_root'][_0x1abd15(0x1cd)][_0x1abd15(0x1e4)]=_0x1abd15(0x1d7),this[_0x1abd15(0x1e5)]=new e[(_0x1abd15(0x18f))]();let _0x5de23=this[_0x1abd15(0x194)][_0x1abd15(0x1cc)](t[_0x1abd15(0x149)]);_0x5de23[_0x1abd15(0x1b0)][_0x1abd15(0x1d4)](_0x5de23['interceptor'][_0x1abd15(0x1be)]()[_0x1abd15(0x1bf)])(this[_0x1abd15(0x1e5)],{'unitId':this[_0x1abd15(0x157)],'scene':this[_0x1abd15(0x198)],'engine':this['_engine'],'root':this[_0x1abd15(0x192)],'skeleton':this['_skeleton'],'offset':{'x':_0x3d6084[_0x1abd15(0x18d)],'y':_0x3d6084['top']},'bound':{'top':_0x3d6084['top'],'left':_0x3d6084[_0x1abd15(0x18d)],'right':_0x3d6084[_0x1abd15(0x182)],'bottom':_0x3d6084[_0x1abd15(0x19d)]}});}[_0x162d46(0x1ac)](){const _0x4939d9=_0x162d46;let _0x2e8af2=this[_0x4939d9(0x19b)][_0x4939d9(0x1bb)]()['getContext']();this['_documents'][_0x4939d9(0x1a0)](),this['_scene'][_0x4939d9(0x1df)](),_0x2e8af2['save'](),this[_0x4939d9(0x198)][_0x4939d9(0x1ac)](),_0x2e8af2[_0x4939d9(0x161)]();}};function m(_0x5cd816,_0x559f38){return function(_0x248505,_0x15059c){_0x559f38(_0x248505,_0x15059c,_0x5cd816);};}function h(_0x18c30c,_0x59a315,_0x2c02e6,_0x402275){const _0x38241a=_0x162d46;var _0x2fc30d=arguments[_0x38241a(0x1a9)],_0x11c345=_0x2fc30d<0x3?_0x59a315:_0x402275===null?_0x402275=Object[_0x38241a(0x144)](_0x59a315,_0x2c02e6):_0x402275,_0x3194eb;if(typeof Reflect=='object'&&typeof Reflect[_0x38241a(0x165)]==_0x38241a(0x159))_0x11c345=Reflect[_0x38241a(0x165)](_0x18c30c,_0x59a315,_0x2c02e6,_0x402275);else{for(var _0x388507=_0x18c30c[_0x38241a(0x1a9)]-0x1;_0x388507>=0x0;_0x388507--)(_0x3194eb=_0x18c30c[_0x388507])&&(_0x11c345=(_0x2fc30d<0x3?_0x3194eb(_0x11c345):_0x2fc30d>0x3?_0x3194eb(_0x59a315,_0x2c02e6,_0x11c345):_0x3194eb(_0x59a315,_0x2c02e6))||_0x11c345);}return _0x2fc30d>0x3&&_0x11c345&&Object[_0x38241a(0x1b9)](_0x59a315,_0x2c02e6,_0x11c345),_0x11c345;}const g=Number['parseInt'](0x6a3b85bc),_=(_0x3d0157,_0x511f6f,_0x244264)=>{const _0x1c025d=_0x162d46;let _0x55e815={'page':_0x3d0157,'isPro':!0x1,'timeValid':!0x1};if(!_0x511f6f||!_0x244264)return _0x55e815;let _0x4d3814=(0x0,r[_0x1c025d(0x1af)])(_0x511f6f,_0x244264);if(_0x4d3814[_0x1c025d(0x1cb)]){let _0x4334f7=_0x4d3814['message'],_0xd47603=(0x0,r[_0x1c025d(0x13c)])(_0x4334f7,'df',g);_0x55e815[_0x1c025d(0x154)]=_0xd47603,_0x55e815['timeValid']=_0xd47603,_0x55e815['page']=(0x0,r[_0x1c025d(0x1b2)])(_0x4334f7,_0xd47603,'mpn',_0x3d0157,_0x3d0157,0x0);}return _0x55e815;};function _0x362e(_0x26ea3d,_0x5811e4){_0x26ea3d=_0x26ea3d-0x136;const _0x5969e1=_0x5969();let _0x362e2c=_0x5969e1[_0x26ea3d];return _0x362e2c;}let v=class extends e[_0x162d46(0x152)]{constructor(_0x2a49bb,_0x37364d,_0xccc8f4,_0x2921a2){const _0x2f3143=_0x162d46;super(),this[_0x2f3143(0x18b)]=_0x2a49bb,this[_0x2f3143(0x13f)]=_0x37364d,this['_injector']=_0xccc8f4,this[_0x2f3143(0x14a)]=_0x2921a2;}[_0x162d46(0x1e3)](_0x311880){const _0x22fb84=_0x162d46;var _0x38ee96,_0x32503a;let {ls:_0x560cef,pbk:_0x2dfbbe}=(_0x38ee96=this[_0x22fb84(0x14a)][_0x22fb84(0x188)](r['LS_CONFIG_KEY']))==null?{}:_0x38ee96,_0x559568=(0x0,r[_0x22fb84(0x1b3)])()?0x1/0x0:_(0x1,_0x560cef,_0x2dfbbe)[_0x22fb84(0x14e)];if(!this['_univerInstanceService'][_0x22fb84(0x1d6)](_0x311880,e['UniverInstanceType']['UNIVER_DOC']))throw Error(_0x22fb84(0x1b5));let _0x5bae83=this[_0x22fb84(0x13f)][_0x22fb84(0x18e)](_0x311880);if(!_0x5bae83)throw Error('Render\x20is\x20not\x20found');let _0x18b59b=(_0x32503a=_0x5bae83['with'](a[_0x22fb84(0x13a)])[_0x22fb84(0x174)]()[_0x22fb84(0x14f)]())==null?void 0x0:_0x32503a['pages'];if(!_0x18b59b)throw Error(_0x22fb84(0x1de));let _0x1fb80b={'width':_0x18b59b[0x0][_0x22fb84(0x1a6)],'height':_0x18b59b[0x0]['pageHeight']},_0x36dcc6=_0x18b59b[_0x22fb84(0x1a9)],_0x4aaa82=Math[_0x22fb84(0x181)](_0x559568,_0x36dcc6),_0x4843ab=_0x5bae83[_0x22fb84(0x14c)][_0x22fb84(0x1a7)](),_0x1190e2=document[_0x22fb84(0x16e)]('div');_0x1190e2[_0x22fb84(0x151)]=i['PRINT_CONTAINER_CLASS'];let _0xf494fb=Array(_0x4aaa82)[_0x22fb84(0x1c1)](null)[_0x22fb84(0x148)]((_0x26da39,_0x10787c)=>{const _0x2f7350=_0x22fb84;let _0x495468=new p(this[_0x2f7350(0x194)],_0x10787c,_0x311880,_0x4843ab);return _0x495468[_0x2f7350(0x137)][_0x2f7350(0x151)]=i[_0x2f7350(0x196)],_0x495468;});_0xf494fb[_0x22fb84(0x1c0)](_0x4dd08e=>{const _0xd16114=_0x22fb84;_0x1190e2[_0xd16114(0x170)](_0x4dd08e['container']),_0x4dd08e['container']['appendChild'](_0x4dd08e[_0xd16114(0x15f)]),_0x4dd08e[_0xd16114(0x191)]();});let _0x2aaafc=(0x0,i['createPrintStyle'])(_0x1fb80b[_0x22fb84(0x175)],_0x1fb80b[_0x22fb84(0x1e4)],i[_0x22fb84(0x15a)][_0x22fb84(0x13d)]);return document[_0x22fb84(0x199)][_0x22fb84(0x170)](_0x2aaafc),document[_0x22fb84(0x199)]['appendChild'](_0x1190e2),new Promise(_0x1db196=>{setTimeout(()=>{const _0x3ffeae=_0x362e;window['onbeforeprint']=()=>{const _0x946554=_0x362e;_0xf494fb[_0x946554(0x1c0)](_0xa6cb48=>{const _0x46d46f=_0x946554;_0xa6cb48[_0x46d46f(0x1ac)]();});},window[_0x3ffeae(0x15e)]=()=>{const _0x5ccc87=_0x3ffeae;_0xf494fb[_0x5ccc87(0x1c0)](_0x1c50b1=>{const _0x554b36=_0x5ccc87;_0x1c50b1[_0x554b36(0x156)]();}),document[_0x5ccc87(0x199)][_0x5ccc87(0x1c2)](_0x1190e2),document['body'][_0x5ccc87(0x1c2)](_0x2aaafc),_0x1db196(!0x0);},window[_0x3ffeae(0x1e3)]();},0x64);});}};v=h([m(0x0,e[_0x162d46(0x1c8)]),m(0x1,n['IRenderManagerService']),m(0x2,(0x0,e[_0x162d46(0x1c7)])(e[_0x162d46(0x1dd)])),m(0x3,e[_0x162d46(0x15d)])],v);const y={'id':_0x162d46(0x17f),'type':e[_0x162d46(0x1c9)][_0x162d46(0x173)],'handler':async _0x1b0f95=>{const _0xc45562=_0x162d46;let _0x4b1e8a=_0x1b0f95[_0xc45562(0x1cc)](e[_0xc45562(0x1c8)]),_0x25265f=_0x1b0f95[_0xc45562(0x1cc)](v),_0x328774=_0x1b0f95[_0xc45562(0x1cc)](n[_0xc45562(0x158)]),_0xa31896=_0x1b0f95[_0xc45562(0x1cc)](e['ICommandService']),_0x584fee=_0x4b1e8a[_0xc45562(0x189)](e[_0xc45562(0x1ab)][_0xc45562(0x13e)]);if(!_0x584fee)return!0x1;if(!_0x328774[_0xc45562(0x18e)](_0x584fee[_0xc45562(0x1c5)]()))throw Error('Render\x20is\x20not\x20found');let _0x2392f2=_0x584fee['getDocumentStyle']()[_0xc45562(0x1e2)];return _0x2392f2!==e[_0xc45562(0x1d3)]['TRADITIONAL']&&_0xa31896[_0xc45562(0x139)](t[_0xc45562(0x162)]['id']),await _0x25265f['print'](_0x584fee[_0xc45562(0x1c5)]()),_0x2392f2!==e[_0xc45562(0x1d3)]['TRADITIONAL']&&_0xa31896[_0xc45562(0x139)](t['SwitchDocModeCommand']['id']),!0x0;}},b='UNIVER_DOCS_PRINT',x={};var S=_0x162d46(0x140),C=_0x162d46(0x177);let w=class extends e[_0x162d46(0x152)]{constructor(_0x353558){const _0x42d76f=_0x162d46;super(),this[_0x42d76f(0x1db)]=_0x353558,this[_0x42d76f(0x16a)]();}[_0x162d46(0x16a)](){const _0x74438a=_0x162d46;this[_0x74438a(0x147)](this[_0x74438a(0x1db)]['register']({'PrintIcon':s[_0x74438a(0x14d)]}));}};w=h([m(0x0,(0x0,e['Inject'])(c['IconManager']))],w);function T(_0x30f64d){const _0x49cb96=_0x162d46;return{'id':y['id'],'type':c['MenuItemType'][_0x49cb96(0x17c)],'title':_0x49cb96(0x1ae),'icon':_0x49cb96(0x14d),'tooltip':_0x49cb96(0x1ae),'hidden$':(0x0,c[_0x49cb96(0x1a4)])(_0x30f64d,e[_0x49cb96(0x1ab)]['UNIVER_DOC'])};}const E={[c[_0x162d46(0x16b)][_0x162d46(0x1a3)]]:{[y['id']]:{'order':0.1,'menuItemFactory':T}}};let D=class extends e[_0x162d46(0x152)]{constructor(_0x9b9181,_0x36aec3){const _0x269acb=_0x162d46;super(),this[_0x269acb(0x171)]=_0x9b9181,this[_0x269acb(0x169)]=_0x36aec3,this[_0x269acb(0x1da)](),this[_0x269acb(0x167)]();}['_initMenus'](){const _0x204c9d=_0x162d46;this[_0x204c9d(0x169)][_0x204c9d(0x1c3)](E);}[_0x162d46(0x167)](){const _0x127a3e=_0x162d46;this[_0x127a3e(0x147)](this[_0x127a3e(0x171)]['registerCommand'](y));}};D=h([m(0x0,e[_0x162d46(0x1e1)]),m(0x1,c[_0x162d46(0x145)])],D);let O=class extends e[_0x162d46(0x1dc)]{constructor(_0x4da9c6=x,_0x29b6fe,_0x3a0c7d){const _0x41c7da=_0x162d46;super(),this[_0x41c7da(0x1bc)]=_0x4da9c6,this[_0x41c7da(0x194)]=_0x29b6fe,this[_0x41c7da(0x14a)]=_0x3a0c7d;let {menu:_0x19e1f6,..._0x953d60}=(0x0,e[_0x41c7da(0x1d8)])({},x,this[_0x41c7da(0x1bc)]);_0x19e1f6&&this[_0x41c7da(0x14a)][_0x41c7da(0x195)](_0x41c7da(0x1aa),_0x19e1f6,{'merge':!0x0}),this[_0x41c7da(0x14a)][_0x41c7da(0x195)](b,_0x953d60);}[_0x162d46(0x1e0)](){const _0x59b886=_0x162d46;this[_0x59b886(0x194)]['add']([w]),this['_injector'][_0x59b886(0x1cc)](w),(0x0,e[_0x59b886(0x1ca)])(this['_injector'],[[v],[D]]);}[_0x162d46(0x13b)](){const _0x3fd1d4=_0x162d46;this[_0x3fd1d4(0x194)][_0x3fd1d4(0x1cc)](D);}};f(O,_0x162d46(0x17a),'UNIVER_DOCS_PRINT'),f(O,'packageName',S),f(O,'version',C),f(O,_0x162d46(0x1b1),e['UniverInstanceType'][_0x162d46(0x13e)]),O=h([(0x0,e[_0x162d46(0x178)])(o[_0x162d46(0x142)],r[_0x162d46(0x168)]),m(0x1,(0x0,e['Inject'])(e[_0x162d46(0x1dd)])),m(0x2,e[_0x162d46(0x15d)])],O),exports[_0x162d46(0x1e6)]=b,exports[_0x162d46(0x143)]=y,Object[_0x162d46(0x1b9)](exports,_0x162d46(0x1cf),{'enumerable':!0x0,'get':function(){return O;}});
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x150ab5=_0x28e0;(function(_0x392dcd,_0x49ead9){const _0x29ba2a=_0x28e0,_0x559542=_0x392dcd();while(!![]){try{const _0x424a9e=-parseInt(_0x29ba2a(0x184))/0x1*(-parseInt(_0x29ba2a(0x17e))/0x2)+parseInt(_0x29ba2a(0x185))/0x3+-parseInt(_0x29ba2a(0x183))/0x4*(parseInt(_0x29ba2a(0x186))/0x5)+-parseInt(_0x29ba2a(0x181))/0x6+-parseInt(_0x29ba2a(0x182))/0x7*(parseInt(_0x29ba2a(0x188))/0x8)+parseInt(_0x29ba2a(0x17d))/0x9*(-parseInt(_0x29ba2a(0x187))/0xa)+parseInt(_0x29ba2a(0x180))/0xb;if(_0x424a9e===_0x49ead9)break;else _0x559542['push'](_0x559542['shift']());}catch(_0x43d628){_0x559542['push'](_0x559542['shift']());}}}(_0x5b85,0x7e6b6));const e={'docs-print':{'menu':_0x150ab5(0x17f)}};function _0x28e0(_0x17ee98,_0x3b453c){_0x17ee98=_0x17ee98-0x17d;const _0x5b8509=_0x5b85();let _0x28e054=_0x5b8509[_0x17ee98];return _0x28e054;}module[_0x150ab5(0x189)]=e;function _0x5b85(){const _0xe93bf4=['10554599PjAnOt','2777904cOEXlx','28273zdAYYv','1640ZSkSjb','7AuYHLA','338199hoYUxE','2785Nnjqmd','1525970SfsrjU','944hkcDZm','exports','18zxRnif','262492SBCbeV','طباعة'];_0x5b85=function(){return _0xe93bf4;};return _0x5b85();}
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5652(){const _0x3973d8=['62113239EVyLsi','2598524hROULg','2991650mCprTW','4526550vgECpe','6TrcJod','Imprimir','2987762llRjSA','8YlFYzm','3992460sJHEKT','1311676sowtZY'];_0x5652=function(){return _0x3973d8;};return _0x5652();}const _0x354ed1=_0x3354;function _0x3354(_0x59a277,_0x5419c9){_0x59a277=_0x59a277-0x149;const _0x56521c=_0x5652();let _0x335409=_0x56521c[_0x59a277];return _0x335409;}(function(_0x242cc8,_0x25a1f0){const _0x1fcb63=_0x3354,_0xe1dab=_0x242cc8();while(!![]){try{const _0x23a3dc=-parseInt(_0x1fcb63(0x150))/0x1+-parseInt(_0x1fcb63(0x14d))/0x2+parseInt(_0x1fcb63(0x14b))/0x3*(-parseInt(_0x1fcb63(0x152))/0x4)+-parseInt(_0x1fcb63(0x149))/0x5+-parseInt(_0x1fcb63(0x14f))/0x6+-parseInt(_0x1fcb63(0x14a))/0x7+parseInt(_0x1fcb63(0x14e))/0x8*(parseInt(_0x1fcb63(0x151))/0x9);if(_0x23a3dc===_0x25a1f0)break;else _0xe1dab['push'](_0xe1dab['shift']());}catch(_0x3d22d0){_0xe1dab['push'](_0xe1dab['shift']());}}}(_0x5652,0xd85f6));const e={'docs-print':{'menu':_0x354ed1(0x14c)}};module['exports']=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xc62c1a=_0x748c;(function(_0x207a58,_0x58528f){const _0x25cf70=_0x748c,_0x20d0b7=_0x207a58();while(!![]){try{const _0x4a084f=-parseInt(_0x25cf70(0x164))/0x1*(-parseInt(_0x25cf70(0x168))/0x2)+parseInt(_0x25cf70(0x165))/0x3*(parseInt(_0x25cf70(0x163))/0x4)+-parseInt(_0x25cf70(0x15f))/0x5+-parseInt(_0x25cf70(0x167))/0x6*(-parseInt(_0x25cf70(0x169))/0x7)+parseInt(_0x25cf70(0x15e))/0x8+parseInt(_0x25cf70(0x161))/0x9+-parseInt(_0x25cf70(0x162))/0xa;if(_0x4a084f===_0x58528f)break;else _0x20d0b7['push'](_0x20d0b7['shift']());}catch(_0x4dc417){_0x20d0b7['push'](_0x20d0b7['shift']());}}}(_0x7520,0xc41b6));function _0x7520(){const _0x204a2a=['Drucken','6xpQsVj','642106YFaCqq','3027409Puyhdh','2144816BUwOyh','3404055NAuuve','exports','8205426kWjnDX','21003930dcsYkZ','1004MSnmIn','2uFSWDf','15897BuGRkn'];_0x7520=function(){return _0x204a2a;};return _0x7520();}function _0x748c(_0x2d7463,_0x17b60b){_0x2d7463=_0x2d7463-0x15e;const _0x75200e=_0x7520();let _0x748c36=_0x75200e[_0x2d7463];return _0x748c36;}const e={'docs-print':{'menu':_0xc62c1a(0x166)}};module[_0xc62c1a(0x160)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5e6d90=_0x58ad;function _0x22c7(){const _0x3074c8=['3995580AGmxqn','Print','2192310ziotvS','48jAgfoY','5181920KGHivE','1LmMmvj','693217UYJKWo','9fPsucJ','241284XaXHSI','857564PYOSAY','2504368MEiBBp','1749gQRoRi','4pZzSor'];_0x22c7=function(){return _0x3074c8;};return _0x22c7();}function _0x58ad(_0x151c3b,_0x25899e){_0x151c3b=_0x151c3b-0x1c6;const _0x22c705=_0x22c7();let _0x58ad3d=_0x22c705[_0x151c3b];return _0x58ad3d;}(function(_0xca9ce0,_0x4e5c69){const _0x4da811=_0x58ad,_0x3069a1=_0xca9ce0();while(!![]){try{const _0x5b4d6d=-parseInt(_0x4da811(0x1c6))/0x1*(parseInt(_0x4da811(0x1ca))/0x2)+-parseInt(_0x4da811(0x1d0))/0x3+-parseInt(_0x4da811(0x1cd))/0x4*(parseInt(_0x4da811(0x1ce))/0x5)+parseInt(_0x4da811(0x1d1))/0x6*(-parseInt(_0x4da811(0x1c7))/0x7)+-parseInt(_0x4da811(0x1cb))/0x8+parseInt(_0x4da811(0x1c8))/0x9*(parseInt(_0x4da811(0x1d2))/0xa)+-parseInt(_0x4da811(0x1cc))/0xb*(-parseInt(_0x4da811(0x1c9))/0xc);if(_0x5b4d6d===_0x4e5c69)break;else _0x3069a1['push'](_0x3069a1['shift']());}catch(_0x2e395f){_0x3069a1['push'](_0x3069a1['shift']());}}}(_0x22c7,0x9efeb));const e={'docs-print':{'menu':_0x5e6d90(0x1cf)}};module['exports']=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3689f5=_0x49bf;function _0x49bf(_0xb02472,_0x237aea){_0xb02472=_0xb02472-0x77;const _0x52db28=_0x52db();let _0x49bf04=_0x52db28[_0xb02472];return _0x49bf04;}(function(_0x3583cc,_0x23a15d){const _0xaeb2e5=_0x49bf,_0x1763e5=_0x3583cc();while(!![]){try{const _0x25b8ab=-parseInt(_0xaeb2e5(0x80))/0x1+parseInt(_0xaeb2e5(0x82))/0x2+parseInt(_0xaeb2e5(0x77))/0x3+-parseInt(_0xaeb2e5(0x7d))/0x4*(parseInt(_0xaeb2e5(0x79))/0x5)+parseInt(_0xaeb2e5(0x81))/0x6*(-parseInt(_0xaeb2e5(0x7f))/0x7)+-parseInt(_0xaeb2e5(0x7c))/0x8*(parseInt(_0xaeb2e5(0x7e))/0x9)+parseInt(_0xaeb2e5(0x78))/0xa*(-parseInt(_0xaeb2e5(0x83))/0xb);if(_0x25b8ab===_0x23a15d)break;else _0x1763e5['push'](_0x1763e5['shift']());}catch(_0x1ab7f1){_0x1763e5['push'](_0x1763e5['shift']());}}}(_0x52db,0xdd45e));const e={'docs-print':{'menu':_0x3689f5(0x7a)}};module[_0x3689f5(0x7b)]=e;function _0x52db(){const _0x1dc42b=['4VUiNyV','97425phXwUn','792701fgmvpu','89775slYSar','18FxGVuL','2771984MYpcSr','11nOXJuH','3031470pVrUxs','4741970apWOMe','2715735kiZxAl','Imprimir','exports','32TlsEic'];_0x52db=function(){return _0x1dc42b;};return _0x52db();}
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x3dfdd0=_0x48b5;(function(_0x2fea4a,_0x184128){const _0x329aed=_0x48b5,_0x55ad9f=_0x2fea4a();while(!![]){try{const _0x4f924f=parseInt(_0x329aed(0xf5))/0x1*(-parseInt(_0x329aed(0xee))/0x2)+-parseInt(_0x329aed(0xf0))/0x3+parseInt(_0x329aed(0xea))/0x4*(parseInt(_0x329aed(0xed))/0x5)+parseInt(_0x329aed(0xf2))/0x6+-parseInt(_0x329aed(0xf3))/0x7+parseInt(_0x329aed(0xf4))/0x8*(parseInt(_0x329aed(0xef))/0x9)+parseInt(_0x329aed(0xf1))/0xa*(parseInt(_0x329aed(0xeb))/0xb);if(_0x4f924f===_0x184128)break;else _0x55ad9f['push'](_0x55ad9f['shift']());}catch(_0x4bace9){_0x55ad9f['push'](_0x55ad9f['shift']());}}}(_0x4c19,0x66aef));function _0x4c19(){const _0x545ad7=['exports','124anpSom','2155241UcAtao','چاپ','86635KgLCPp','5108OZFfbb','2403UsNuBH','1161945AnXFsi','10DYIZlP','238662RRbvgH','3450496uHHvRc','24008isyXMu','107jozuXr'];_0x4c19=function(){return _0x545ad7;};return _0x4c19();}const e={'docs-print':{'menu':_0x3dfdd0(0xec)}};function _0x48b5(_0x5ab5dc,_0xb6410){_0x5ab5dc=_0x5ab5dc-0xea;const _0x4c19ce=_0x4c19();let _0x48b54d=_0x4c19ce[_0x5ab5dc];return _0x48b54d;}module[_0x3dfdd0(0xf6)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x20872e=_0x4712;(function(_0x2ea0ea,_0x9d4796){const _0x2e9b6d=_0x4712,_0x5b0388=_0x2ea0ea();while(!![]){try{const _0x4de7d2=-parseInt(_0x2e9b6d(0x7c))/0x1+parseInt(_0x2e9b6d(0x7e))/0x2*(parseInt(_0x2e9b6d(0x79))/0x3)+-parseInt(_0x2e9b6d(0x7b))/0x4*(parseInt(_0x2e9b6d(0x7a))/0x5)+-parseInt(_0x2e9b6d(0x77))/0x6+-parseInt(_0x2e9b6d(0x7f))/0x7+-parseInt(_0x2e9b6d(0x81))/0x8+parseInt(_0x2e9b6d(0x78))/0x9*(parseInt(_0x2e9b6d(0x7d))/0xa);if(_0x4de7d2===_0x9d4796)break;else _0x5b0388['push'](_0x5b0388['shift']());}catch(_0x13bc29){_0x5b0388['push'](_0x5b0388['shift']());}}}(_0x4dad,0x383a7));function _0x4712(_0x2e8c04,_0x229050){_0x2e8c04=_0x2e8c04-0x77;const _0x4dadd2=_0x4dad();let _0x4712ef=_0x4dadd2[_0x2e8c04];return _0x4712ef;}function _0x4dad(){const _0x273059=['exports','864492xjWibK','225WHaikb','1416HWagEg','1970dcCxIp','1844AvXdKY','305686DPNcPp','413900MiJUCa','1076cHoHbf','2738519KrNvNR','Imprimer','286048zkMZEL'];_0x4dad=function(){return _0x273059;};return _0x4dad();}const e={'docs-print':{'menu':_0x20872e(0x80)}};module[_0x20872e(0x82)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3158c3=_0x4d0e;(function(_0x1160f9,_0xfac975){const _0x3f08a3=_0x4d0e,_0x53c77b=_0x1160f9();while(!![]){try{const _0x87eeb=parseInt(_0x3f08a3(0x1b1))/0x1*(parseInt(_0x3f08a3(0x1ad))/0x2)+parseInt(_0x3f08a3(0x1b2))/0x3+-parseInt(_0x3f08a3(0x1ae))/0x4*(parseInt(_0x3f08a3(0x1ab))/0x5)+-parseInt(_0x3f08a3(0x1af))/0x6*(-parseInt(_0x3f08a3(0x1ac))/0x7)+-parseInt(_0x3f08a3(0x1b0))/0x8+-parseInt(_0x3f08a3(0x1b5))/0x9+parseInt(_0x3f08a3(0x1b3))/0xa*(parseInt(_0x3f08a3(0x1b4))/0xb);if(_0x87eeb===_0xfac975)break;else _0x53c77b['push'](_0x53c77b['shift']());}catch(_0x5f5d28){_0x53c77b['push'](_0x53c77b['shift']());}}}(_0x2cda,0xc51c9));const e={'docs-print':{'menu':'Cetak'}};module[_0x3158c3(0x1aa)]=e;function _0x4d0e(_0x3ec972,_0x150bd7){_0x3ec972=_0x3ec972-0x1aa;const _0x2cda72=_0x2cda();let _0x4d0efc=_0x2cda72[_0x3ec972];return _0x4d0efc;}function _0x2cda(){const _0x3a14b6=['244431IEanRi','7440075zlYJpP','exports','44605aPHkOX','154NdHqAG','144PNqNvb','436JSXknt','325866SKqgTm','10392488lSoufZ','19779MZLimq','726531DfwpBJ','470GryEtE'];_0x2cda=function(){return _0x3a14b6;};return _0x2cda();}
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x17c5(){const _0x291d16=['5237287TgFfSX','4238031VVeLOt','1384925wOIYCH','13qhFhmY','1899TRnHgk','Stampa','2216DwUhns','1167070ATRkYg','3BXskZF','52166vIpOVg','6fPliKZ','exports','2905048bJWJHQ'];_0x17c5=function(){return _0x291d16;};return _0x17c5();}function _0x408e(_0x5e289b,_0x4dcd8c){_0x5e289b=_0x5e289b-0x118;const _0x17c5a8=_0x17c5();let _0x408e73=_0x17c5a8[_0x5e289b];return _0x408e73;}const _0x5e26e7=_0x408e;(function(_0x470c18,_0x36cbca){const _0x42cfd5=_0x408e,_0x499110=_0x470c18();while(!![]){try{const _0x344695=parseInt(_0x42cfd5(0x119))/0x1*(parseInt(_0x42cfd5(0x11f))/0x2)+parseInt(_0x42cfd5(0x11e))/0x3*(-parseInt(_0x42cfd5(0x122))/0x4)+-parseInt(_0x42cfd5(0x118))/0x5+-parseInt(_0x42cfd5(0x120))/0x6*(-parseInt(_0x42cfd5(0x124))/0x7)+-parseInt(_0x42cfd5(0x11c))/0x8*(parseInt(_0x42cfd5(0x11a))/0x9)+parseInt(_0x42cfd5(0x11d))/0xa+parseInt(_0x42cfd5(0x123))/0xb;if(_0x344695===_0x36cbca)break;else _0x499110['push'](_0x499110['shift']());}catch(_0x255956){_0x499110['push'](_0x499110['shift']());}}}(_0x17c5,0x741fa));const e={'docs-print':{'menu':_0x5e26e7(0x11b)}};module[_0x5e26e7(0x121)]=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4752(_0x1b36ee,_0x462c71){_0x1b36ee=_0x1b36ee-0x117;const _0x55db29=_0x55db();let _0x4752ca=_0x55db29[_0x1b36ee];return _0x4752ca;}function _0x55db(){const _0x3c70a7=['1692nRzPCJ','4687630sofIGH','19243QiGTuV','173xOAoVs','3545608EAFbyl','5528LsqaES','3636840pvhIeS','4CZLUxk','9558VLRVIf','7814UnNrzn','358155xcUvmO','48gaEtrz'];_0x55db=function(){return _0x3c70a7;};return _0x55db();}(function(_0x3cc35f,_0x5aa035){const _0x367c19=_0x4752,_0x563398=_0x3cc35f();while(!![]){try{const _0xbe7ab6=parseInt(_0x367c19(0x119))/0x1*(parseInt(_0x367c19(0x11f))/0x2)+-parseInt(_0x367c19(0x120))/0x3+parseInt(_0x367c19(0x11d))/0x4*(parseInt(_0x367c19(0x11c))/0x5)+-parseInt(_0x367c19(0x122))/0x6*(parseInt(_0x367c19(0x118))/0x7)+parseInt(_0x367c19(0x11b))/0x8*(parseInt(_0x367c19(0x11e))/0x9)+parseInt(_0x367c19(0x117))/0xa+parseInt(_0x367c19(0x11a))/0xb*(-parseInt(_0x367c19(0x121))/0xc);if(_0xbe7ab6===_0x5aa035)break;else _0x563398['push'](_0x563398['shift']());}catch(_0x803efa){_0x563398['push'](_0x563398['shift']());}}}(_0x55db,0x67051));const e={'docs-print':{'menu':'印刷'}};module['exports']=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0xe2bc5b=_0x65b8;function _0x318b(){const _0x434435=['8955972TiHBqK','8bCPgqY','200886xkexev','291436OnyLyo','21521asmPcY','20BLQrmQ','18LrPAkP','exports','1663398PnUliL','1524295aZyLlQ','9YuJIAh','931384ORVLYV','49uyuSDp'];_0x318b=function(){return _0x434435;};return _0x318b();}function _0x65b8(_0x173065,_0x4fbf78){_0x173065=_0x173065-0x137;const _0x318b72=_0x318b();let _0x65b891=_0x318b72[_0x173065];return _0x65b891;}(function(_0x1ca7a7,_0x92f08e){const _0x40ae30=_0x65b8,_0xba4751=_0x1ca7a7();while(!![]){try{const _0x7cadac=-parseInt(_0x40ae30(0x141))/0x1*(-parseInt(_0x40ae30(0x13e))/0x2)+parseInt(_0x40ae30(0x13a))/0x3*(-parseInt(_0x40ae30(0x140))/0x4)+parseInt(_0x40ae30(0x139))/0x5+-parseInt(_0x40ae30(0x13f))/0x6*(-parseInt(_0x40ae30(0x13c))/0x7)+parseInt(_0x40ae30(0x13b))/0x8*(-parseInt(_0x40ae30(0x143))/0x9)+parseInt(_0x40ae30(0x142))/0xa*(-parseInt(_0x40ae30(0x138))/0xb)+parseInt(_0x40ae30(0x13d))/0xc;if(_0x7cadac===_0x92f08e)break;else _0xba4751['push'](_0xba4751['shift']());}catch(_0x4a0d9e){_0xba4751['push'](_0xba4751['shift']());}}}(_0x318b,0x96d36));const e={'docs-print':{'menu':'인쇄'}};module[_0xe2bc5b(0x137)]=e;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x181182=_0x3d09;function _0x4e1f(){const _0x57f586=['1448772cVYrNC','exports','2164428foRWUi','722424FtRxxZ','8373211xmpDiB','296050PUxuOd','969866MUjNNf','12635172npVLop','24tketeD','Drukuj','8XLiFky'];_0x4e1f=function(){return _0x57f586;};return _0x4e1f();}function _0x3d09(_0xabc8ca,_0x13d075){_0xabc8ca=_0xabc8ca-0xdb;const _0x4e1f20=_0x4e1f();let _0x3d0971=_0x4e1f20[_0xabc8ca];return _0x3d0971;}(function(_0x27ec99,_0x5bcc74){const _0x311950=_0x3d09,_0x4be886=_0x27ec99();while(!![]){try{const _0x25798b=-parseInt(_0x311950(0xe2))/0x1+parseInt(_0x311950(0xdf))/0x2+-parseInt(_0x311950(0xde))/0x3+-parseInt(_0x311950(0xdc))/0x4+-parseInt(_0x311950(0xe1))/0x5*(parseInt(_0x311950(0xe4))/0x6)+parseInt(_0x311950(0xe0))/0x7+-parseInt(_0x311950(0xdb))/0x8*(-parseInt(_0x311950(0xe3))/0x9);if(_0x25798b===_0x5bcc74)break;else _0x4be886['push'](_0x4be886['shift']());}catch(_0x379959){_0x4be886['push'](_0x4be886['shift']());}}}(_0x4e1f,0xa3cc6));const e={'docs-print':{'menu':_0x181182(0xe5)}};module[_0x181182(0xdd)]=e;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2240d2=_0x486c;(function(_0x2d83ba,_0x4242e9){const _0x33fa34=_0x486c,_0x23a3de=_0x2d83ba();while(!![]){try{const _0x1e63c2=-parseInt(_0x33fa34(0x123))/0x1+parseInt(_0x33fa34(0x121))/0x2+-parseInt(_0x33fa34(0x120))/0x3*(-parseInt(_0x33fa34(0x128))/0x4)+parseInt(_0x33fa34(0x122))/0x5*(parseInt(_0x33fa34(0x127))/0x6)+parseInt(_0x33fa34(0x126))/0x7+parseInt(_0x33fa34(0x124))/0x8+-parseInt(_0x33fa34(0x11f))/0x9*(parseInt(_0x33fa34(0x129))/0xa);if(_0x1e63c2===_0x4242e9)break;else _0x23a3de['push'](_0x23a3de['shift']());}catch(_0xa35f5c){_0x23a3de['push'](_0x23a3de['shift']());}}}(_0x4900,0x969e3));function _0x486c(_0x15fc59,_0x9660d3){_0x15fc59=_0x15fc59-0x11e;const _0x49005e=_0x4900();let _0x486c5b=_0x49005e[_0x15fc59];return _0x486c5b;}const e={'docs-print':{'menu':_0x2240d2(0x125)}};module[_0x2240d2(0x11e)]=e;function _0x4900(){const _0x52ca51=['7837192ctfBKo','Imprimir','3723405jOBWCw','6KKIRVL','1216868vFGZML','10GFhvBo','exports','29326041CpqNIW','12LIzAtx','1409270KGOnRe','5737955GWPtof','705278ESPlav'];_0x4900=function(){return _0x52ca51;};return _0x4900();}
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x3c5f3f=_0x382d;(function(_0xba9d06,_0x406b14){const _0x45298b=_0x382d,_0x3639d7=_0xba9d06();while(!![]){try{const _0x38c03c=parseInt(_0x45298b(0xa3))/0x1+parseInt(_0x45298b(0xa9))/0x2*(parseInt(_0x45298b(0x9f))/0x3)+parseInt(_0x45298b(0xa1))/0x4+parseInt(_0x45298b(0xa4))/0x5*(-parseInt(_0x45298b(0xa8))/0x6)+-parseInt(_0x45298b(0xa0))/0x7*(parseInt(_0x45298b(0xa6))/0x8)+-parseInt(_0x45298b(0x9d))/0x9+parseInt(_0x45298b(0xa2))/0xa*(parseInt(_0x45298b(0xa7))/0xb);if(_0x38c03c===_0x406b14)break;else _0x3639d7['push'](_0x3639d7['shift']());}catch(_0x137ea0){_0x3639d7['push'](_0x3639d7['shift']());}}}(_0x2998,0x687da));function _0x2998(){const _0x18b21f=['100cNgHqq','exports','96tSINPo','55mADkRF','192186PlXjST','438DoenaN','4187124IWnBBG','Печать','10533NeBaPG','404383UpEkUZ','451340nrdigI','1141290kTZXzN','774689PpMEEz'];_0x2998=function(){return _0x18b21f;};return _0x2998();}function _0x382d(_0x5513a8,_0x10b0f1){_0x5513a8=_0x5513a8-0x9d;const _0x299875=_0x2998();let _0x382d73=_0x299875[_0x5513a8];return _0x382d73;}const e={'docs-print':{'menu':_0x3c5f3f(0x9e)}};module[_0x3c5f3f(0xa5)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2b49cd=_0x3d00;(function(_0x1ea466,_0x1c670c){const _0xc05899=_0x3d00,_0x30adaf=_0x1ea466();while(!![]){try{const _0x35fbb7=-parseInt(_0xc05899(0x13e))/0x1*(parseInt(_0xc05899(0x13a))/0x2)+parseInt(_0xc05899(0x144))/0x3*(parseInt(_0xc05899(0x143))/0x4)+-parseInt(_0xc05899(0x142))/0x5*(-parseInt(_0xc05899(0x140))/0x6)+-parseInt(_0xc05899(0x13b))/0x7*(parseInt(_0xc05899(0x13d))/0x8)+-parseInt(_0xc05899(0x13c))/0x9+-parseInt(_0xc05899(0x141))/0xa+parseInt(_0xc05899(0x13f))/0xb;if(_0x35fbb7===_0x1c670c)break;else _0x30adaf['push'](_0x30adaf['shift']());}catch(_0x369dc7){_0x30adaf['push'](_0x30adaf['shift']());}}}(_0x375c,0x51b75));function _0x375c(){const _0x59d4d0=['414DoiWiG','exports','2452MMNXqp','679cHRTTr','3168072zUGvfM','16168tdgmoi','311uCYAHK','9968563LtixhW','762auECcS','6051860FLBwOy','18115hMWaiE','14576dqCszi'];_0x375c=function(){return _0x59d4d0;};return _0x375c();}function _0x3d00(_0x5a5255,_0x494684){_0x5a5255=_0x5a5255-0x139;const _0x375c61=_0x375c();let _0x3d00b9=_0x375c61[_0x5a5255];return _0x3d00b9;}const e={'docs-print':{'menu':'Tlač'}};module[_0x2b49cd(0x139)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x22f502=_0x3cf7;function _0x4d61(){const _0x336f4f=['270486MXQljp','5cjKQor','exports','650565KARNoI','10376KiRUHB','222735JYbeBp','378618OxmssR','438380cqCEWt','977976OXAciR','1547gMCuTA'];_0x4d61=function(){return _0x336f4f;};return _0x4d61();}function _0x3cf7(_0x264cfd,_0x4c9fd1){_0x264cfd=_0x264cfd-0x18a;const _0x4d61ac=_0x4d61();let _0x3cf79b=_0x4d61ac[_0x264cfd];return _0x3cf79b;}(function(_0x2f3310,_0x4d7833){const _0x399d82=_0x3cf7,_0x59435e=_0x2f3310();while(!![]){try{const _0x3f016c=parseInt(_0x399d82(0x18a))/0x1+parseInt(_0x399d82(0x18f))/0x2+-parseInt(_0x399d82(0x192))/0x3+-parseInt(_0x399d82(0x18c))/0x4+-parseInt(_0x399d82(0x190))/0x5*(parseInt(_0x399d82(0x18b))/0x6)+parseInt(_0x399d82(0x18e))/0x7*(parseInt(_0x399d82(0x193))/0x8)+-parseInt(_0x399d82(0x18d))/0x9;if(_0x3f016c===_0x4d7833)break;else _0x59435e['push'](_0x59435e['shift']());}catch(_0x56b608){_0x59435e['push'](_0x59435e['shift']());}}}(_0x4d61,0x23bde));const e={'docs-print':{'menu':'In'}};module[_0x22f502(0x191)]=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x21be25=_0x47c6;(function(_0x39b780,_0x44f66c){const _0x563194=_0x47c6,_0x157fd6=_0x39b780();while(!![]){try{const _0x561e34=-parseInt(_0x563194(0x17f))/0x1+parseInt(_0x563194(0x17d))/0x2+-parseInt(_0x563194(0x17a))/0x3+parseInt(_0x563194(0x180))/0x4+-parseInt(_0x563194(0x179))/0x5+parseInt(_0x563194(0x17c))/0x6+parseInt(_0x563194(0x17e))/0x7;if(_0x561e34===_0x44f66c)break;else _0x157fd6['push'](_0x157fd6['shift']());}catch(_0x32ddce){_0x157fd6['push'](_0x157fd6['shift']());}}}(_0x5dab,0x7e7db));const e={'docs-print':{'menu':'打印'}};module[_0x21be25(0x17b)]=e;function _0x47c6(_0x29f582,_0x35eb2a){_0x29f582=_0x29f582-0x179;const _0x5dab26=_0x5dab();let _0x47c64a=_0x5dab26[_0x29f582];return _0x47c64a;}function _0x5dab(){const _0x402454=['2728690MJXjAF','2517261rnneip','exports','2685654hhUTiO','1332040kIWzzX','10983189ZZXgov','960154zYcTSs','721720rcDWkW'];_0x5dab=function(){return _0x402454;};return _0x5dab();}
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3421(_0x36911d,_0xe31cc1){_0x36911d=_0x36911d-0x1ec;const _0x204819=_0x2048();let _0x3421d9=_0x204819[_0x36911d];return _0x3421d9;}(function(_0x2a7347,_0x5aa028){const _0x397810=_0x3421,_0x31b2d9=_0x2a7347();while(!![]){try{const _0xe64676=parseInt(_0x397810(0x1ec))/0x1+parseInt(_0x397810(0x1f3))/0x2*(-parseInt(_0x397810(0x1f0))/0x3)+-parseInt(_0x397810(0x1f6))/0x4*(-parseInt(_0x397810(0x1ee))/0x5)+-parseInt(_0x397810(0x1ef))/0x6*(parseInt(_0x397810(0x1f7))/0x7)+parseInt(_0x397810(0x1ed))/0x8+parseInt(_0x397810(0x1f4))/0x9*(-parseInt(_0x397810(0x1f2))/0xa)+-parseInt(_0x397810(0x1f1))/0xb*(-parseInt(_0x397810(0x1f5))/0xc);if(_0xe64676===_0x5aa028)break;else _0x31b2d9['push'](_0x31b2d9['shift']());}catch(_0x4ad3a3){_0x31b2d9['push'](_0x31b2d9['shift']());}}}(_0x2048,0x50891));const e={'docs-print':{'menu':'列印'}};module['exports']=e;function _0x2048(){const _0x384395=['42138IZxPqJ','7358952pqGWqF','844uJPzDv','82537MmDyHM','70764Nckecj','2132832MEDUBm','2345dPTqDX','78FWHchY','41823HWNPIj','11gFPHDi','1180ofhemY','2NZuyxc'];_0x2048=function(){return _0x384395;};return _0x2048();}
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5a1a7b=_0x5ba4;function _0x1a8e(){const _0x454355=['672218hjuHOz','938112ajRAkY','6MXBaYI','35930eqNztn','5211468CggLdn','2qZvXbE','462604CyKkGY','15TgMbBC','exports','3364735MRMWyQ','165oNtqZH','3264952nqkKGN'];_0x1a8e=function(){return _0x454355;};return _0x1a8e();}function _0x5ba4(_0x77aba1,_0x121c74){_0x77aba1=_0x77aba1-0x1da;const _0x1a8e80=_0x1a8e();let _0x5ba48a=_0x1a8e80[_0x77aba1];return _0x5ba48a;}(function(_0x105cde,_0x91282){const _0x4033ea=_0x5ba4,_0x5793fe=_0x105cde();while(!![]){try{const _0x14d887=parseInt(_0x4033ea(0x1e2))/0x1*(parseInt(_0x4033ea(0x1db))/0x2)+parseInt(_0x4033ea(0x1dd))/0x3*(-parseInt(_0x4033ea(0x1dc))/0x4)+parseInt(_0x4033ea(0x1df))/0x5+parseInt(_0x4033ea(0x1e4))/0x6*(-parseInt(_0x4033ea(0x1e3))/0x7)+parseInt(_0x4033ea(0x1e1))/0x8+-parseInt(_0x4033ea(0x1da))/0x9+-parseInt(_0x4033ea(0x1e5))/0xa*(parseInt(_0x4033ea(0x1e0))/0xb);if(_0x14d887===_0x91282)break;else _0x5793fe['push'](_0x5793fe['shift']());}catch(_0x10b408){_0x5793fe['push'](_0x5793fe['shift']());}}}(_0x1a8e,0x63a02));const e={'docs-print':{'menu':'列印'}};module[_0x5a1a7b(0x1de)]=e;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xcac4ee=_0x450f;(function(_0xc2a861,_0x3ac663){const _0x523afe=_0x450f,_0x2d2020=_0xc2a861();while(!![]){try{const _0x21fb37=parseInt(_0x523afe(0x179))/0x1*(parseInt(_0x523afe(0x16f))/0x2)+-parseInt(_0x523afe(0x1a1))/0x3*(parseInt(_0x523afe(0x1cb))/0x4)+-parseInt(_0x523afe(0x17b))/0x5*(parseInt(_0x523afe(0x1a9))/0x6)+-parseInt(_0x523afe(0x19a))/0x7*(parseInt(_0x523afe(0x168))/0x8)+parseInt(_0x523afe(0x150))/0x9*(parseInt(_0x523afe(0x1d6))/0xa)+parseInt(_0x523afe(0x154))/0xb+-parseInt(_0x523afe(0x1c7))/0xc*(-parseInt(_0x523afe(0x197))/0xd);if(_0x21fb37===_0x3ac663)break;else _0x2d2020['push'](_0x2d2020['shift']());}catch(_0x47eaea){_0x2d2020['push'](_0x2d2020['shift']());}}}(_0xd282,0x777b7));import{CommandType as _0x34fe3f,DependentOn as _0xa60f30,Disposable as _0x230ee6,DisposableCollection as _0x199f44,DocumentFlavor as _0x25a3d3,ICommandService as _0x4976e1,IConfigService as _0x1cb8d3,IUniverInstanceService as _0xf1263f,Inject as _0x5cf149,Injector as _0x470ef1,Plugin as _0x5634b3,UniverInstanceType as _0x43ced7,generateRandomId as _0x160845,merge as _0x52d24f,registerDependencies as _0x4e18ec}from'@univerjs/core';import{DocPrintInterceptorService as _0x302a65,SwitchDocModeCommand as _0x4b2a46,VIEWPORT_KEY as _0xb2e57d}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x6b3b32,Documents as _0x20286d,Engine as _0x324963,IRenderManagerService as _0x31149a,Scene as _0x434916,Viewport as _0x4ac181}from'@univerjs/engine-render';function _0x450f(_0x5e98d8,_0xecc405){_0x5e98d8=_0x5e98d8-0x14c;const _0xd28256=_0xd282();let _0x450fc4=_0xd28256[_0x5e98d8];return _0x450fc4;}import{LS_CONFIG_KEY as _0x5eb879,UniverLicensePlugin as _0x44c46a,getDocFeatureLimit as _0x818d5a,getLicenseInfo as _0x554117,isFeatureAuthorizedWithinTime as _0x5b32fc,isLocalCheck as _0x3a22ef}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x385d42,PRINT_CONTAINER_CLASS as _0x23afc2,PrintDirection as _0x8871af,createPrintStyle as _0xbbacfe}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x3db47d}from'@univerjs/docs';import{ComponentManager as _0x456c16,IMenuManagerService as _0x428976,IZenZoneService as _0x1488da,MenuItemType as _0x15517e,RibbonStartGroup as _0x8f0ea3,getMenuHiddenObservable as _0x1a10a1}from'@univerjs/ui';import{UniverNetworkPlugin as _0x2d5eb5}from'@univerjs/network';import{PrintIcon as _0x20bfbc}from'@univerjs/icons';function z(_0x4d4bf1){'@babel/helpers - typeof';const _0x1bd9c8=_0x450f;return z=typeof Symbol=='function'&&typeof Symbol[_0x1bd9c8(0x16d)]==_0x1bd9c8(0x1c1)?function(_0x21802c){return typeof _0x21802c;}:function(_0xd4fa66){const _0x1ee719=_0x1bd9c8;return _0xd4fa66&&typeof Symbol==_0x1ee719(0x1be)&&_0xd4fa66[_0x1ee719(0x185)]===Symbol&&_0xd4fa66!==Symbol['prototype']?'symbol':typeof _0xd4fa66;},z(_0x4d4bf1);}function B(_0x28afe6,_0x98e80a){const _0x11f51f=_0x450f;if(z(_0x28afe6)!=_0x11f51f(0x1ac)||!_0x28afe6)return _0x28afe6;var _0x44eb98=_0x28afe6[Symbol[_0x11f51f(0x14e)]];if(_0x44eb98!==void 0x0){var _0x159725=_0x44eb98[_0x11f51f(0x17a)](_0x28afe6,_0x98e80a||'default');if(z(_0x159725)!=_0x11f51f(0x1ac))return _0x159725;throw TypeError(_0x11f51f(0x19e));}return(_0x98e80a===_0x11f51f(0x176)?String:Number)(_0x28afe6);}function V(_0x5b76b8){const _0x2e5767=_0x450f;var _0x31c37e=B(_0x5b76b8,'string');return z(_0x31c37e)==_0x2e5767(0x1c1)?_0x31c37e:_0x31c37e+'';}function H(_0x5aeb99,_0x2dc50e,_0x3dfd69){const _0x5398bc=_0x450f;return(_0x2dc50e=V(_0x2dc50e))in _0x5aeb99?Object[_0x5398bc(0x15f)](_0x5aeb99,_0x2dc50e,{'value':_0x3dfd69,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5aeb99[_0x2dc50e]=_0x3dfd69,_0x5aeb99;}var U=class extends _0x230ee6{get[_0xcac4ee(0x1b9)](){const _0x2c8bac=_0xcac4ee;return this[_0x2c8bac(0x18a)];}get['root'](){const _0x5b51be=_0xcac4ee;return this[_0x5b51be(0x16b)];}get[_0xcac4ee(0x165)](){const _0x5ae4e7=_0xcac4ee;let _0x55e4dd=this[_0x5ae4e7(0x1bf)][_0x5ae4e7(0x1b8)](_0x31149a)['getRenderById'](this['_unitId']);if(!_0x55e4dd)throw Error(_0x5ae4e7(0x16e));return _0x55e4dd;}get[_0xcac4ee(0x171)](){const _0x28cc5f=_0xcac4ee;return this[_0x28cc5f(0x165)][_0x28cc5f(0x1c0)](_0x3db47d)[_0x28cc5f(0x1b2)]();}get['_skeletonData'](){const _0x5f0eb7=_0xcac4ee;let _0x1acc5d=this[_0x5f0eb7(0x171)][_0x5f0eb7(0x169)]();if(!_0x1acc5d)throw Error(_0x5f0eb7(0x19c));return _0x1acc5d;}get['_paperSize'](){const _0xa98e6c=_0xcac4ee;let _0x278f37=this[_0xa98e6c(0x155)][_0xa98e6c(0x1d5)][0x0];return{'width':_0x278f37[_0xa98e6c(0x1a8)],'height':_0x278f37['pageHeight']};}constructor(_0x41d7f1,_0xc9353d,_0x1bb2d5,_0x461726){const _0x4188a1=_0xcac4ee;super(),this['_injector']=_0x41d7f1,this[_0x4188a1(0x19d)]=_0xc9353d,this[_0x4188a1(0x1c8)]=_0x1bb2d5,this[_0x4188a1(0x15a)]=_0x461726,H(this,'_container',document[_0x4188a1(0x174)]('div')),H(this,_0x4188a1(0x16b),document['createElement'](_0x4188a1(0x182))),H(this,_0x4188a1(0x181),void 0x0),H(this,_0x4188a1(0x153),void 0x0),H(this,_0x4188a1(0x1ad),void 0x0),H(this,'_documents',void 0x0),H(this,_0x4188a1(0x1b4),void 0x0),H(this,_0x4188a1(0x186),new _0x199f44()),this[_0x4188a1(0x1ad)]=_0x160845(0x4),this['_initRenderer'](),this[_0x4188a1(0x15b)]({'dispose':()=>{const _0x34504e=_0x4188a1;this['_engine']['dispose'](),this[_0x34504e(0x153)][_0x34504e(0x170)](),this[_0x34504e(0x186)][_0x34504e(0x170)]();}});}[_0xcac4ee(0x1d9)](){const _0x89fc56=_0xcac4ee;let {docsTop:_0x2ed139,docsLeft:_0x1de755}=this[_0x89fc56(0x166)]['getOffsetConfig'](),_0x51fb69=this[_0x89fc56(0x1a3)]['height'],_0x2b3a0c=this['_paperSize'][_0x89fc56(0x18e)];return{'top':_0x2ed139+(_0x2ed139+_0x51fb69)*this[_0x89fc56(0x19d)],'bottom':_0x2ed139+(_0x2ed139+_0x51fb69)*(this['_page']+0x1),'left':_0x1de755,'right':_0x1de755+_0x2b3a0c};}[_0xcac4ee(0x173)](){const _0x1b96f9=_0xcac4ee;this[_0x1b96f9(0x181)]=new _0x324963('',{'elementWidth':this[_0x1b96f9(0x1a3)]['width'],'elementHeight':this[_0x1b96f9(0x1a3)][_0x1b96f9(0x160)],'dpr':0x1,'renderMode':_0x6b3b32[_0x1b96f9(0x15c)]}),this[_0x1b96f9(0x153)]=new _0x434916(this[_0x1b96f9(0x1ad)],this[_0x1b96f9(0x181)]),this[_0x1b96f9(0x153)][_0x1b96f9(0x199)](0x1,0x1),this[_0x1b96f9(0x181)][_0x1b96f9(0x189)](this['_container'],!0x1),this[_0x1b96f9(0x181)][_0x1b96f9(0x1d4)]()[_0x1b96f9(0x1d1)]()[_0x1b96f9(0x158)](this[_0x1b96f9(0x1ad)]+'_'+_0x160845(0x4)),this[_0x1b96f9(0x1a0)](),this[_0x1b96f9(0x1d2)]();}[_0xcac4ee(0x1a0)](){const _0xcd2cd0=_0xcac4ee;let {pageMarginLeft:_0x102d5f,pageMarginTop:_0xa35911,docsLeft:_0x2b7e7e,docsTop:_0x40a4ac}=this['_offsetConfig'],_0x9dfeb1={'pageMarginLeft':_0x102d5f,'pageMarginTop':_0xa35911},_0x3dfaf9=new _0x20286d(_0xcd2cd0(0x1b3),this[_0xcd2cd0(0x171)],_0x9dfeb1);_0x3dfaf9[_0xcd2cd0(0x1a6)](_0x2b7e7e,_0x40a4ac),this[_0xcd2cd0(0x153)][_0xcd2cd0(0x1ca)](_0x3dfaf9),this[_0xcd2cd0(0x166)]=_0x3dfaf9;let _0x27be18=this['_injector'][_0xcd2cd0(0x1b8)](_0x302a65);_0x27be18[_0xcd2cd0(0x152)][_0xcd2cd0(0x1a4)](_0x27be18[_0xcd2cd0(0x152)][_0xcd2cd0(0x1cf)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0xcd2cd0(0x1c8)],'scene':this['_scene'],'engine':this[_0xcd2cd0(0x181)],'root':this['_root'],'documents':this['_documents'],'skeleton':this[_0xcd2cd0(0x171)]});}[_0xcac4ee(0x1d2)](){const _0x5ac005=_0xcac4ee;this['_viewMain']=new _0x4ac181(_0xb2e57d[_0x5ac005(0x184)],this[_0x5ac005(0x153)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0xcac4ee(0x15e)](){const _0x25abe4=_0xcac4ee;let _0x7904e6=this[_0x25abe4(0x1d9)]();this[_0x25abe4(0x1b4)][_0x25abe4(0x1bd)]({'viewportScrollX':_0x7904e6[_0x25abe4(0x1d7)],'viewportScrollY':_0x7904e6[_0x25abe4(0x163)]}),this[_0x25abe4(0x16b)]['style'][_0x25abe4(0x1cd)]='absolute',this[_0x25abe4(0x16b)][_0x25abe4(0x1c6)]['top']=_0x25abe4(0x1b0),this['_root'][_0x25abe4(0x1c6)][_0x25abe4(0x1d7)]=_0x25abe4(0x1b0),this['_root']['style'][_0x25abe4(0x18e)]=_0x25abe4(0x151),this['_root']['style']['height']=_0x25abe4(0x151),this['_effects']=new _0x199f44();let _0x425caf=this['_injector'][_0x25abe4(0x1b8)](_0x302a65);_0x425caf['interceptor'][_0x25abe4(0x1a4)](_0x425caf[_0x25abe4(0x152)][_0x25abe4(0x1cf)]()['PRINTING_DOM_COLLECT'])(this[_0x25abe4(0x186)],{'unitId':this[_0x25abe4(0x1c8)],'scene':this[_0x25abe4(0x153)],'engine':this['_engine'],'root':this[_0x25abe4(0x16b)],'skeleton':this[_0x25abe4(0x171)],'offset':{'x':_0x7904e6[_0x25abe4(0x1d7)],'y':_0x7904e6[_0x25abe4(0x163)]},'bound':{'top':_0x7904e6['top'],'left':_0x7904e6[_0x25abe4(0x1d7)],'right':_0x7904e6[_0x25abe4(0x18d)],'bottom':_0x7904e6[_0x25abe4(0x1af)]}});}['render'](){const _0x2e779a=_0xcac4ee;let _0x595982=this[_0x2e779a(0x181)]['getCanvas']()[_0x2e779a(0x1d1)]();this[_0x2e779a(0x166)]['makeForceDirty'](),this[_0x2e779a(0x153)]['makeDirty'](),_0x595982['save'](),this[_0x2e779a(0x153)]['render'](),_0x595982[_0x2e779a(0x190)]();}};function W(_0x819e3,_0x356ecc){return function(_0x3e7a52,_0x102ccf){_0x356ecc(_0x3e7a52,_0x102ccf,_0x819e3);};}function G(_0x228803,_0x5b7267,_0x5ea707,_0x192b6c){const _0x56de85=_0xcac4ee;var _0x2c62bc=arguments[_0x56de85(0x1c4)],_0x3a93c7=_0x2c62bc<0x3?_0x5b7267:_0x192b6c===null?_0x192b6c=Object[_0x56de85(0x17c)](_0x5b7267,_0x5ea707):_0x192b6c,_0x385325;if(typeof Reflect==_0x56de85(0x1ac)&&typeof Reflect[_0x56de85(0x1ce)]==_0x56de85(0x1be))_0x3a93c7=Reflect[_0x56de85(0x1ce)](_0x228803,_0x5b7267,_0x5ea707,_0x192b6c);else{for(var _0x5e4915=_0x228803[_0x56de85(0x1c4)]-0x1;_0x5e4915>=0x0;_0x5e4915--)(_0x385325=_0x228803[_0x5e4915])&&(_0x3a93c7=(_0x2c62bc<0x3?_0x385325(_0x3a93c7):_0x2c62bc>0x3?_0x385325(_0x5b7267,_0x5ea707,_0x3a93c7):_0x385325(_0x5b7267,_0x5ea707))||_0x3a93c7);}return _0x2c62bc>0x3&&_0x3a93c7&&Object[_0x56de85(0x15f)](_0x5b7267,_0x5ea707,_0x3a93c7),_0x3a93c7;}const K=Number[_0xcac4ee(0x14d)](0x6a1aba27),q=(_0x41c8bd,_0x5d8e6a,_0x420539)=>{const _0x148c8d=_0xcac4ee;let _0xfc1482={'page':_0x41c8bd,'isPro':!0x1,'timeValid':!0x1};if(!_0x5d8e6a||!_0x420539)return _0xfc1482;let _0x1af032=_0x554117(_0x5d8e6a,_0x420539);if(_0x1af032[_0x148c8d(0x1d8)]){let _0x4ef9e9=_0x1af032['message'],_0x4c7abc=_0x5b32fc(_0x4ef9e9,'df',K);_0xfc1482[_0x148c8d(0x1b1)]=_0x4c7abc,_0xfc1482[_0x148c8d(0x1bb)]=_0x4c7abc,_0xfc1482[_0x148c8d(0x18b)]=_0x818d5a(_0x4ef9e9,_0x4c7abc,'mpn',_0x41c8bd,_0x41c8bd,0x0);}return _0xfc1482;};let J=class extends _0x230ee6{constructor(_0x4ee70c,_0x11bb55,_0x589ec2,_0x49d71c,_0x185a8c){const _0x122d89=_0xcac4ee;super(),this[_0x122d89(0x191)]=_0x4ee70c,this[_0x122d89(0x180)]=_0x11bb55,this['_injector']=_0x589ec2,this[_0x122d89(0x159)]=_0x49d71c,this[_0x122d89(0x1b6)]=_0x185a8c;}[_0xcac4ee(0x1ae)](_0x2a583c){const _0x29e764=_0xcac4ee;var _0x82d3c7,_0xe621c3;let {ls:_0x4e11a1,pbk:_0x221e9b}=(_0x82d3c7=this['_configService'][_0x29e764(0x17f)](_0x5eb879))==null?{}:_0x82d3c7,_0x19b95e=_0x3a22ef()?0x1/0x0:q(0x1,_0x4e11a1,_0x221e9b)[_0x29e764(0x18b)];if(!this[_0x29e764(0x191)][_0x29e764(0x188)](_0x2a583c,_0x43ced7[_0x29e764(0x1ba)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x2553b7=this[_0x29e764(0x180)]['getRenderById'](_0x2a583c);if(!_0x2553b7)throw Error('Render\x20is\x20not\x20found');let _0x14f40b=(_0xe621c3=_0x2553b7[_0x29e764(0x1c0)](_0x3db47d)['getSkeleton']()[_0x29e764(0x169)]())==null?void 0x0:_0xe621c3[_0x29e764(0x1d5)];if(!_0x14f40b)throw Error(_0x29e764(0x1b5));let _0x5bbef6={'width':_0x14f40b[0x0][_0x29e764(0x1a8)],'height':_0x14f40b[0x0][_0x29e764(0x172)]},_0x43bf90=_0x14f40b[_0x29e764(0x1c4)],_0xc53c3c=Math['min'](_0x19b95e,_0x43bf90),_0x33b69f=_0x2553b7[_0x29e764(0x16c)][_0x29e764(0x1cc)](),_0x2cea98=document['createElement'](_0x29e764(0x182));_0x2cea98[_0x29e764(0x1a7)]=_0x23afc2;let _0xf1cf7=Array(_0xc53c3c)[_0x29e764(0x1aa)](null)[_0x29e764(0x194)]((_0x247b3b,_0x2481ae)=>{const _0x4af9b4=_0x29e764;let _0x3a60e8=new U(this['_injector'],_0x2481ae,_0x2a583c,_0x33b69f);return _0x3a60e8[_0x4af9b4(0x1b9)][_0x4af9b4(0x1a7)]=_0x385d42,_0x3a60e8;});_0xf1cf7[_0x29e764(0x18f)](_0x49c4f4=>{const _0x1714dc=_0x29e764;_0x2cea98[_0x1714dc(0x177)](_0x49c4f4[_0x1714dc(0x1b9)]),_0x49c4f4[_0x1714dc(0x1b9)][_0x1714dc(0x177)](_0x49c4f4[_0x1714dc(0x1a5)]),_0x49c4f4[_0x1714dc(0x15e)]();});let _0x36aabc=_0xbbacfe(_0x5bbef6[_0x29e764(0x18e)],_0x5bbef6[_0x29e764(0x160)],_0x8871af[_0x29e764(0x1d0)]);return document['body'][_0x29e764(0x177)](_0x36aabc),document[_0x29e764(0x16a)][_0x29e764(0x177)](_0x2cea98),new Promise(_0x5948cc=>{setTimeout(()=>{const _0x2f4cb2=_0x450f;window['onbeforeprint']=()=>{_0xf1cf7['forEach'](_0x459d9b=>{const _0x37918e=_0x450f;_0x459d9b[_0x37918e(0x161)]();});},window[_0x2f4cb2(0x19b)]=()=>{const _0x2daaea=_0x2f4cb2;_0xf1cf7[_0x2daaea(0x18f)](_0x59bcd5=>{const _0x410840=_0x2daaea;_0x59bcd5[_0x410840(0x170)]();}),document[_0x2daaea(0x16a)][_0x2daaea(0x193)](_0x2cea98),document[_0x2daaea(0x16a)][_0x2daaea(0x193)](_0x36aabc),this[_0x2daaea(0x1b6)][_0x2daaea(0x178)](),_0x5948cc(!0x0);},window[_0x2f4cb2(0x1ae)]();},0x64);});}};J=G([W(0x0,_0xf1263f),W(0x1,_0x31149a),W(0x2,_0x5cf149(_0x470ef1)),W(0x3,_0x1cb8d3),W(0x4,_0x1488da)],J);const Y={'id':_0xcac4ee(0x17e),'type':_0x34fe3f[_0xcac4ee(0x1c5)],'handler':async _0x56f78b=>{const _0x12abfc=_0xcac4ee;let _0x417f04=_0x56f78b[_0x12abfc(0x1b8)](_0xf1263f),_0x36e460=_0x56f78b[_0x12abfc(0x1b8)](J),_0x2fbfcf=_0x56f78b[_0x12abfc(0x1b8)](_0x31149a),_0x2e9832=_0x56f78b[_0x12abfc(0x1b8)](_0x4976e1),_0x1eab2d=_0x417f04[_0x12abfc(0x164)](_0x43ced7[_0x12abfc(0x1ba)]);if(!_0x1eab2d)return!0x1;if(!_0x2fbfcf[_0x12abfc(0x17d)](_0x1eab2d[_0x12abfc(0x1c9)]()))throw Error(_0x12abfc(0x16e));let _0xd18b9d=_0x1eab2d['getDocumentStyle']()[_0x12abfc(0x15d)];return _0xd18b9d!==_0x25a3d3['TRADITIONAL']&&_0x2e9832[_0x12abfc(0x192)](_0x4b2a46['id']),await _0x36e460['print'](_0x1eab2d[_0x12abfc(0x1c9)]()),_0xd18b9d!==_0x25a3d3[_0x12abfc(0x167)]&&_0x2e9832[_0x12abfc(0x192)](_0x4b2a46['id']),!0x0;}},X='UNIVER_DOCS_PRINT',Z={};function _0xd282(){const _0xd4fd52=['OPERATION','style','228MXTQDs','_unitId','getUnitId','addObject','52XcDIth','getOffsetConfig','position','decorate','getInterceptPoints','Portrait','getContext','_addViewport','_initComponents','getCanvas','pages','70yFrRSR','left','valid','_calculateLayout','_config','parseInt','toPrimitive','_componentManager','47547vHutLl','100%','interceptor','_scene','7563138ZkdUWi','_skeletonData','_initMenus','type','setId','_configService','_offsetConfig','disposeWithMe','Printing','documentFlavor','prepare','defineProperty','height','render','OTHERS','top','getCurrentUnitOfType','_currentRender','_documents','TRADITIONAL','8VCaQzx','getSkeletonData','body','_root','mainComponent','iterator','Render\x20is\x20not\x20found','1136864DmETsO','dispose','_skeleton','pageHeight','_initRenderer','createElement','_initCommands','string','appendChild','close','1jEfcFZ','call','634205fpCukW','getOwnPropertyDescriptor','getRenderById','docs.operation.print','getConfig','_renderManagerService','_engine','div','_commandService','VIEW_MAIN','constructor','_effects','BUTTON','getUnit','setContainer','_container','page','register','right','width','forEach','restore','_univerInstanceService','syncExecuteCommand','removeChild','map','registerCommand','0.25.0','304135GsWSMJ','setConfig','scale','4019099NHcOmX','onafterprint','Skeleton\x20data\x20is\x20not\x20found','_page','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','@univerjs-pro/docs-print','_addComponent','9165MGdCyM','_menuManagerService','_paperSize','fetchThroughInterceptors','root','translate','className','pageWidth','30GtHLJA','fill','docs-print.menu','object','_key','print','bottom','0px','isPro','getSkeleton','__DocPrintRender__','_viewMain','Pages\x20are\x20not\x20found','_globalZoneService','version','get','container','UNIVER_DOC','timeValid','PrintIcon','updateScrollVal','function','_injector','with','symbol','menu','packageName','length'];_0xd282=function(){return _0xd4fd52;};return _0xd282();}var ie=_0xcac4ee(0x19f),ae=_0xcac4ee(0x196);function oe(_0x32b791){const _0x3969ed=_0xcac4ee;return{'id':Y['id'],'type':_0x15517e[_0x3969ed(0x187)],'title':'docs-print.menu','icon':_0x3969ed(0x1bc),'tooltip':_0x3969ed(0x1ab),'hidden$':_0x1a10a1(_0x32b791,_0x43ced7['UNIVER_DOC'])};}const se={[_0x8f0ea3[_0xcac4ee(0x162)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x230ee6{constructor(_0x1dfa52,_0x3f2767,_0x404e45){const _0x346ea5=_0xcac4ee;super(),this[_0x346ea5(0x183)]=_0x1dfa52,this[_0x346ea5(0x1a2)]=_0x3f2767,this[_0x346ea5(0x14f)]=_0x404e45,this[_0x346ea5(0x156)](),this[_0x346ea5(0x175)](),this[_0x346ea5(0x1d3)]();}[_0xcac4ee(0x156)](){const _0x268ed1=_0xcac4ee;this[_0x268ed1(0x1a2)]['mergeMenu'](se);}['_initCommands'](){const _0x11ddd8=_0xcac4ee;this[_0x11ddd8(0x15b)](this[_0x11ddd8(0x183)][_0x11ddd8(0x195)](Y));}[_0xcac4ee(0x1d3)](){const _0x296816=_0xcac4ee;[['PrintIcon',_0x20bfbc]][_0x296816(0x18f)](([_0x543a85,_0x19fbda])=>{const _0x3a66e8=_0x296816;this[_0x3a66e8(0x14f)][_0x3a66e8(0x18c)](_0x543a85,_0x19fbda);});}};Q=G([W(0x0,_0x4976e1),W(0x1,_0x428976),W(0x2,_0x5cf149(_0x456c16))],Q);let $=class extends _0x5634b3{constructor(_0x3bb149=Z,_0x4c9c27,_0x3b8c1c){const _0x4239ae=_0xcac4ee;super(),this[_0x4239ae(0x14c)]=_0x3bb149,this[_0x4239ae(0x1bf)]=_0x4c9c27,this[_0x4239ae(0x159)]=_0x3b8c1c;let {menu:_0x171a49,..._0xbc0ed8}=_0x52d24f({},Z,this[_0x4239ae(0x14c)]);_0x171a49&&this['_configService'][_0x4239ae(0x198)](_0x4239ae(0x1c2),_0x171a49,{'merge':!0x0}),this[_0x4239ae(0x159)][_0x4239ae(0x198)](X,_0xbc0ed8);}['onStarting'](){const _0x18523e=_0xcac4ee;_0x4e18ec(this[_0x18523e(0x1bf)],[[J],[Q]]);}['onReady'](){const _0x54668b=_0xcac4ee;this[_0x54668b(0x1bf)][_0x54668b(0x1b8)](Q);}};H($,'pluginName','UNIVER_DOCS_PRINT'),H($,_0xcac4ee(0x1c3),ie),H($,_0xcac4ee(0x1b7),ae),H($,_0xcac4ee(0x157),_0x43ced7['UNIVER_DOC']),$=G([_0xa60f30(_0x2d5eb5,_0x44c46a),W(0x1,_0x5cf149(_0x470ef1)),W(0x2,_0x1cb8d3)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x58665d=_0x38cc;(function(_0x583e6c,_0x279c40){const _0x32e55d=_0x38cc,_0x28b5a1=_0x583e6c();while(!![]){try{const _0x3f1bbc=parseInt(_0x32e55d(0xf4))/0x1+-parseInt(_0x32e55d(0xfb))/0x2*(parseInt(_0x32e55d(0xcf))/0x3)+parseInt(_0x32e55d(0xef))/0x4+-parseInt(_0x32e55d(0xde))/0x5*(-parseInt(_0x32e55d(0x104))/0x6)+-parseInt(_0x32e55d(0xc2))/0x7+parseInt(_0x32e55d(0x114))/0x8*(parseInt(_0x32e55d(0x11b))/0x9)+-parseInt(_0x32e55d(0xf3))/0xa;if(_0x3f1bbc===_0x279c40)break;else _0x28b5a1['push'](_0x28b5a1['shift']());}catch(_0x45f87c){_0x28b5a1['push'](_0x28b5a1['shift']());}}}(_0xc1d0,0x4a256));import{CommandType as _0x547361,DependentOn as _0x23edf8,Disposable as _0x2b074d,DisposableCollection as _0x16d581,DocumentFlavor as _0x29fc79,ICommandService as _0x2f825d,IConfigService as _0x51e27a,IUniverInstanceService as _0x2ee2e7,Inject as _0x5b28a6,Injector as _0x534b06,Plugin as _0x150077,UniverInstanceType as _0x2c5f7c,generateRandomId as _0x5672ff,merge as _0x4b908d,registerDependencies as _0x12c360}from'@univerjs/core';import{DocPrintInterceptorService as _0x1546ce,SwitchDocModeCommand as _0x13849b,VIEWPORT_KEY as _0x18656d}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x3f90b1,Documents as _0x5bc9bd,Engine as _0x48e499,IRenderManagerService as _0x57ff0e,Scene as _0x462ff1,Viewport as _0x5f0399}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0xd393c8,UniverLicensePlugin as _0x2a1585,getDocFeatureLimit as _0x18ef66,getLicenseInfo as _0x9b58f,isFeatureAuthorizedWithinTime as _0x463f32,isLocalCheck as _0x2a14d3}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0xc3e3ef,PRINT_CONTAINER_CLASS as _0x3ac422,PrintDirection as _0x470b1b,createPrintStyle as _0x439a2d}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x2baedc}from'@univerjs/docs';import{UniverNetworkPlugin as _0x290c3a}from'@univerjs/network';import{PrintIcon as _0x43d5b8}from'@univerjs/icons';import{IMenuManagerService as _0x24e87b,IconManager as _0x261b98,MenuItemType as _0x1542db,RibbonStartGroup as _0x224315,getMenuHiddenObservable as _0x56c637}from'@univerjs/ui';function R(_0x686426){'@babel/helpers - typeof';const _0x1ccc89=_0x38cc;return R=typeof Symbol==_0x1ccc89(0xc6)&&typeof Symbol[_0x1ccc89(0xf1)]==_0x1ccc89(0x111)?function(_0x36665d){return typeof _0x36665d;}:function(_0x23865){const _0x1c3c91=_0x1ccc89;return _0x23865&&typeof Symbol==_0x1c3c91(0xc6)&&_0x23865[_0x1c3c91(0xd8)]===Symbol&&_0x23865!==Symbol[_0x1c3c91(0xad)]?_0x1c3c91(0x111):typeof _0x23865;},R(_0x686426);}function z(_0x34ee52,_0x1d8518){const _0x2e1691=_0x38cc;if(R(_0x34ee52)!=_0x2e1691(0xa5)||!_0x34ee52)return _0x34ee52;var _0x3c72dd=_0x34ee52[Symbol[_0x2e1691(0xd6)]];if(_0x3c72dd!==void 0x0){var _0x478fc1=_0x3c72dd['call'](_0x34ee52,_0x1d8518||_0x2e1691(0xeb));if(R(_0x478fc1)!=_0x2e1691(0xa5))return _0x478fc1;throw TypeError(_0x2e1691(0xe6));}return(_0x1d8518==='string'?String:Number)(_0x34ee52);}function B(_0x4aa02c){const _0x47fd6c=_0x38cc;var _0x38be3f=z(_0x4aa02c,_0x47fd6c(0xbd));return R(_0x38be3f)=='symbol'?_0x38be3f:_0x38be3f+'';}function V(_0x50005b,_0x558f3c,_0x137aa8){const _0xaeea10=_0x38cc;return(_0x558f3c=B(_0x558f3c))in _0x50005b?Object[_0xaeea10(0xbf)](_0x50005b,_0x558f3c,{'value':_0x137aa8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x50005b[_0x558f3c]=_0x137aa8,_0x50005b;}var H=class extends _0x2b074d{get[_0x58665d(0xfa)](){const _0x24d8ce=_0x58665d;return this[_0x24d8ce(0xed)];}get[_0x58665d(0x105)](){return this['_root'];}get[_0x58665d(0x11a)](){const _0x1da702=_0x58665d;let _0x377a7e=this[_0x1da702(0xc9)][_0x1da702(0xa2)](_0x57ff0e)[_0x1da702(0x11f)](this[_0x1da702(0xc0)]);if(!_0x377a7e)throw Error(_0x1da702(0xb2));return _0x377a7e;}get['_skeleton'](){const _0x3b74bd=_0x58665d;return this[_0x3b74bd(0x11a)]['with'](_0x2baedc)[_0x3b74bd(0xba)]();}get[_0x58665d(0x10b)](){const _0x1e10ee=_0x58665d;let _0x3dcdc3=this[_0x1e10ee(0xf9)]['getSkeletonData']();if(!_0x3dcdc3)throw Error(_0x1e10ee(0x113));return _0x3dcdc3;}get[_0x58665d(0xca)](){const _0x9bb676=_0x58665d;let _0x142535=this['_skeletonData'][_0x9bb676(0xb5)][0x0];return{'width':_0x142535[_0x9bb676(0xcc)],'height':_0x142535[_0x9bb676(0xa8)]};}constructor(_0x4c6090,_0x4a2769,_0x44f2b3,_0x168dea){const _0x2d9b6c=_0x58665d;super(),this[_0x2d9b6c(0xc9)]=_0x4c6090,this[_0x2d9b6c(0xfc)]=_0x4a2769,this[_0x2d9b6c(0xc0)]=_0x44f2b3,this[_0x2d9b6c(0xdc)]=_0x168dea,V(this,_0x2d9b6c(0xed),document[_0x2d9b6c(0x103)](_0x2d9b6c(0x10e))),V(this,_0x2d9b6c(0xc8),document[_0x2d9b6c(0x103)]('div')),V(this,'_engine',void 0x0),V(this,_0x2d9b6c(0x9f),void 0x0),V(this,'_key',void 0x0),V(this,_0x2d9b6c(0xf0),void 0x0),V(this,_0x2d9b6c(0xd1),void 0x0),V(this,_0x2d9b6c(0xb9),new _0x16d581()),this['_key']=_0x5672ff(0x4),this[_0x2d9b6c(0xaa)](),this[_0x2d9b6c(0xe1)]({'dispose':()=>{const _0x504263=_0x2d9b6c;this[_0x504263(0x9d)]['dispose'](),this[_0x504263(0x9f)][_0x504263(0x102)](),this[_0x504263(0xb9)][_0x504263(0x102)]();}});}[_0x58665d(0xd2)](){const _0x4c198c=_0x58665d;let {docsTop:_0x37f44e,docsLeft:_0x2fe49d}=this[_0x4c198c(0xf0)][_0x4c198c(0x11e)](),_0x12a5e1=this[_0x4c198c(0xca)]['height'],_0x14fc0f=this['_paperSize'][_0x4c198c(0xe9)];return{'top':_0x37f44e+(_0x37f44e+_0x12a5e1)*this[_0x4c198c(0xfc)],'bottom':_0x37f44e+(_0x37f44e+_0x12a5e1)*(this[_0x4c198c(0xfc)]+0x1),'left':_0x2fe49d,'right':_0x2fe49d+_0x14fc0f};}[_0x58665d(0xaa)](){const _0x10e264=_0x58665d;this[_0x10e264(0x9d)]=new _0x48e499('',{'elementWidth':this[_0x10e264(0xca)][_0x10e264(0xe9)],'elementHeight':this[_0x10e264(0xca)][_0x10e264(0xe8)],'dpr':0x1,'renderMode':_0x3f90b1[_0x10e264(0xaf)]}),this[_0x10e264(0x9f)]=new _0x462ff1(this[_0x10e264(0xa0)],this['_engine']),this[_0x10e264(0x9f)][_0x10e264(0xb7)](0x1,0x1),this[_0x10e264(0x9d)][_0x10e264(0xe5)](this['_container'],!0x1),this[_0x10e264(0x9d)]['getCanvas']()[_0x10e264(0xcd)]()[_0x10e264(0xb4)](this[_0x10e264(0xa0)]+'_'+_0x5672ff(0x4)),this['_addComponent'](),this[_0x10e264(0xbc)]();}[_0x58665d(0x9b)](){const _0x5d98a8=_0x58665d;let {pageMarginLeft:_0x2dcb29,pageMarginTop:_0x46f37a,docsLeft:_0x2db3b0,docsTop:_0x2715fd}=this['_offsetConfig'],_0x3a2293={'pageMarginLeft':_0x2dcb29,'pageMarginTop':_0x46f37a},_0x2190d7=new _0x5bc9bd(_0x5d98a8(0xf5),this[_0x5d98a8(0xf9)],_0x3a2293);_0x2190d7[_0x5d98a8(0xf2)](_0x2db3b0,_0x2715fd),this[_0x5d98a8(0x9f)][_0x5d98a8(0xfe)](_0x2190d7),this[_0x5d98a8(0xf0)]=_0x2190d7;let _0x4a5cbf=this[_0x5d98a8(0xc9)][_0x5d98a8(0xa2)](_0x1546ce);_0x4a5cbf[_0x5d98a8(0xdd)]['fetchThroughInterceptors'](_0x4a5cbf['interceptor'][_0x5d98a8(0xae)]()[_0x5d98a8(0xf7)])(void 0x0,{'unitId':this[_0x5d98a8(0xc0)],'scene':this['_scene'],'engine':this[_0x5d98a8(0x9d)],'root':this[_0x5d98a8(0xc8)],'documents':this[_0x5d98a8(0xf0)],'skeleton':this[_0x5d98a8(0xf9)]});}[_0x58665d(0xbc)](){const _0x10cecc=_0x58665d;this['_viewMain']=new _0x5f0399(_0x18656d['VIEW_MAIN'],this[_0x10cecc(0x9f)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x58665d(0xe3)](){const _0x2bc5f1=_0x58665d;let _0x4c82d8=this[_0x2bc5f1(0xd2)]();this[_0x2bc5f1(0xd1)]['updateScrollVal']({'viewportScrollX':_0x4c82d8[_0x2bc5f1(0xd4)],'viewportScrollY':_0x4c82d8[_0x2bc5f1(0xf6)]}),this['_root'][_0x2bc5f1(0x112)][_0x2bc5f1(0x10a)]=_0x2bc5f1(0x94),this[_0x2bc5f1(0xc8)][_0x2bc5f1(0x112)]['top']=_0x2bc5f1(0xe2),this['_root'][_0x2bc5f1(0x112)]['left']='0px',this[_0x2bc5f1(0xc8)][_0x2bc5f1(0x112)][_0x2bc5f1(0xe9)]=_0x2bc5f1(0x115),this['_root']['style']['height']='100%',this['_effects']=new _0x16d581();let _0x62ca76=this['_injector'][_0x2bc5f1(0xa2)](_0x1546ce);_0x62ca76[_0x2bc5f1(0xdd)][_0x2bc5f1(0xea)](_0x62ca76[_0x2bc5f1(0xdd)][_0x2bc5f1(0xae)]()[_0x2bc5f1(0xd5)])(this['_effects'],{'unitId':this[_0x2bc5f1(0xc0)],'scene':this[_0x2bc5f1(0x9f)],'engine':this['_engine'],'root':this['_root'],'skeleton':this['_skeleton'],'offset':{'x':_0x4c82d8['left'],'y':_0x4c82d8[_0x2bc5f1(0xf6)]},'bound':{'top':_0x4c82d8[_0x2bc5f1(0xf6)],'left':_0x4c82d8[_0x2bc5f1(0xd4)],'right':_0x4c82d8[_0x2bc5f1(0xb3)],'bottom':_0x4c82d8[_0x2bc5f1(0x109)]}});}[_0x58665d(0x100)](){const _0x39304b=_0x58665d;let _0x1f7f20=this[_0x39304b(0x9d)][_0x39304b(0xb6)]()[_0x39304b(0xcd)]();this[_0x39304b(0xf0)]['makeForceDirty'](),this[_0x39304b(0x9f)][_0x39304b(0x99)](),_0x1f7f20['save'](),this[_0x39304b(0x9f)]['render'](),_0x1f7f20['restore']();}};function U(_0x3bed98,_0x3a3a9a){return function(_0xaed19e,_0x59ab57){_0x3a3a9a(_0xaed19e,_0x59ab57,_0x3bed98);};}function W(_0x1da20d,_0x5d0957,_0x108c98,_0x1186d8){const _0x51f273=_0x58665d;var _0x2e7586=arguments[_0x51f273(0x116)],_0xd435d9=_0x2e7586<0x3?_0x5d0957:_0x1186d8===null?_0x1186d8=Object[_0x51f273(0xb0)](_0x5d0957,_0x108c98):_0x1186d8,_0x3a67c5;if(typeof Reflect==_0x51f273(0xa5)&&typeof Reflect[_0x51f273(0x96)]=='function')_0xd435d9=Reflect[_0x51f273(0x96)](_0x1da20d,_0x5d0957,_0x108c98,_0x1186d8);else{for(var _0x4a5ade=_0x1da20d[_0x51f273(0x116)]-0x1;_0x4a5ade>=0x0;_0x4a5ade--)(_0x3a67c5=_0x1da20d[_0x4a5ade])&&(_0xd435d9=(_0x2e7586<0x3?_0x3a67c5(_0xd435d9):_0x2e7586>0x3?_0x3a67c5(_0x5d0957,_0x108c98,_0xd435d9):_0x3a67c5(_0x5d0957,_0x108c98))||_0xd435d9);}return _0x2e7586>0x3&&_0xd435d9&&Object[_0x51f273(0xbf)](_0x5d0957,_0x108c98,_0xd435d9),_0xd435d9;}const G=Number['parseInt'](0x6a3b85bc),K=(_0x51fdef,_0x3caba4,_0x16b132)=>{const _0xa02539=_0x58665d;let _0x4d1e7e={'page':_0x51fdef,'isPro':!0x1,'timeValid':!0x1};if(!_0x3caba4||!_0x16b132)return _0x4d1e7e;let _0xfcc5af=_0x9b58f(_0x3caba4,_0x16b132);if(_0xfcc5af[_0xa02539(0x106)]){let _0x3f4015=_0xfcc5af[_0xa02539(0x11c)],_0x42069f=_0x463f32(_0x3f4015,'df',G);_0x4d1e7e[_0xa02539(0xe4)]=_0x42069f,_0x4d1e7e[_0xa02539(0xe0)]=_0x42069f,_0x4d1e7e['page']=_0x18ef66(_0x3f4015,_0x42069f,_0xa02539(0xdf),_0x51fdef,_0x51fdef,0x0);}return _0x4d1e7e;};let q=class extends _0x2b074d{constructor(_0x40e944,_0x31fa9c,_0x44c2d1,_0x11da8f){const _0x51e926=_0x58665d;super(),this[_0x51e926(0x9e)]=_0x40e944,this[_0x51e926(0x10d)]=_0x31fa9c,this[_0x51e926(0xc9)]=_0x44c2d1,this[_0x51e926(0x101)]=_0x11da8f;}[_0x58665d(0x108)](_0x1d7b0b){const _0x3d950b=_0x58665d;var _0x504577,_0x58fa44;let {ls:_0x14dd1f,pbk:_0x53b8ec}=(_0x504577=this[_0x3d950b(0x101)]['getConfig'](_0xd393c8))==null?{}:_0x504577,_0x2458e1=_0x2a14d3()?0x1/0x0:K(0x1,_0x14dd1f,_0x53b8ec)[_0x3d950b(0xdb)];if(!this['_univerInstanceService'][_0x3d950b(0xac)](_0x1d7b0b,_0x2c5f7c[_0x3d950b(0x10f)]))throw Error(_0x3d950b(0xbb));let _0x49b733=this[_0x3d950b(0x10d)][_0x3d950b(0x11f)](_0x1d7b0b);if(!_0x49b733)throw Error(_0x3d950b(0xb2));let _0xf82a4d=(_0x58fa44=_0x49b733['with'](_0x2baedc)['getSkeleton']()['getSkeletonData']())==null?void 0x0:_0x58fa44[_0x3d950b(0xb5)];if(!_0xf82a4d)throw Error(_0x3d950b(0x9a));let _0x3705a8={'width':_0xf82a4d[0x0][_0x3d950b(0xcc)],'height':_0xf82a4d[0x0][_0x3d950b(0xa8)]},_0x39f855=_0xf82a4d[_0x3d950b(0x116)],_0x208123=Math['min'](_0x2458e1,_0x39f855),_0x21d999=_0x49b733[_0x3d950b(0xc5)][_0x3d950b(0x11e)](),_0x38ff47=document[_0x3d950b(0x103)](_0x3d950b(0x10e));_0x38ff47['className']=_0x3ac422;let _0x39b99b=Array(_0x208123)[_0x3d950b(0xc1)](null)[_0x3d950b(0xc3)]((_0x3552b8,_0x3ec6a2)=>{const _0x46bd3f=_0x3d950b;let _0x4a29ad=new H(this[_0x46bd3f(0xc9)],_0x3ec6a2,_0x1d7b0b,_0x21d999);return _0x4a29ad['container'][_0x46bd3f(0xe7)]=_0xc3e3ef,_0x4a29ad;});_0x39b99b['forEach'](_0x186d11=>{const _0x20c1d6=_0x3d950b;_0x38ff47[_0x20c1d6(0xb8)](_0x186d11[_0x20c1d6(0xfa)]),_0x186d11[_0x20c1d6(0xfa)][_0x20c1d6(0xb8)](_0x186d11['root']),_0x186d11[_0x20c1d6(0xe3)]();});let _0x312c26=_0x439a2d(_0x3705a8[_0x3d950b(0xe9)],_0x3705a8['height'],_0x470b1b[_0x3d950b(0xa7)]);return document['body'][_0x3d950b(0xb8)](_0x312c26),document[_0x3d950b(0xff)][_0x3d950b(0xb8)](_0x38ff47),new Promise(_0xf823e4=>{setTimeout(()=>{const _0x2e90bf=_0x38cc;window[_0x2e90bf(0xa9)]=()=>{const _0x2447f0=_0x2e90bf;_0x39b99b[_0x2447f0(0xfd)](_0x2d5d45=>{const _0x59308d=_0x2447f0;_0x2d5d45[_0x59308d(0x100)]();});},window[_0x2e90bf(0xa3)]=()=>{const _0x393c20=_0x2e90bf;_0x39b99b['forEach'](_0x374183=>{const _0x431674=_0x38cc;_0x374183[_0x431674(0x102)]();}),document['body']['removeChild'](_0x38ff47),document[_0x393c20(0xff)][_0x393c20(0x98)](_0x312c26),_0xf823e4(!0x0);},window['print']();},0x64);});}};q=W([U(0x0,_0x2ee2e7),U(0x1,_0x57ff0e),U(0x2,_0x5b28a6(_0x534b06)),U(0x3,_0x51e27a)],q);const J={'id':_0x58665d(0xb1),'type':_0x547361[_0x58665d(0xda)],'handler':async _0x50360d=>{const _0x56274d=_0x58665d;let _0x29009c=_0x50360d[_0x56274d(0xa2)](_0x2ee2e7),_0x26b4fa=_0x50360d[_0x56274d(0xa2)](q),_0x103817=_0x50360d[_0x56274d(0xa2)](_0x57ff0e),_0x5e184d=_0x50360d[_0x56274d(0xa2)](_0x2f825d),_0x23a803=_0x29009c[_0x56274d(0xd0)](_0x2c5f7c[_0x56274d(0x10f)]);if(!_0x23a803)return!0x1;if(!_0x103817['getRenderById'](_0x23a803[_0x56274d(0xd9)]()))throw Error(_0x56274d(0xb2));let _0x159482=_0x23a803[_0x56274d(0xc4)]()[_0x56274d(0xcb)];return _0x159482!==_0x29fc79['TRADITIONAL']&&_0x5e184d[_0x56274d(0x9c)](_0x13849b['id']),await _0x26b4fa['print'](_0x23a803[_0x56274d(0xd9)]()),_0x159482!==_0x29fc79[_0x56274d(0x118)]&&_0x5e184d[_0x56274d(0x9c)](_0x13849b['id']),!0x0;}},Y='UNIVER_DOCS_PRINT',X={};var ie=_0x58665d(0x107),ae='1.0.0-alpha.0';let Z=class extends _0x2b074d{constructor(_0x1cfb25){const _0x2f0287=_0x58665d;super(),this[_0x2f0287(0xa1)]=_0x1cfb25,this['_registerIcons']();}[_0x58665d(0x10c)](){const _0x11f90f=_0x58665d;this[_0x11f90f(0xe1)](this[_0x11f90f(0xa1)][_0x11f90f(0xce)]({'PrintIcon':_0x43d5b8}));}};function _0x38cc(_0x30cc70,_0x3e7df1){_0x30cc70=_0x30cc70-0x94;const _0xc1d04e=_0xc1d0();let _0x38ccac=_0xc1d04e[_0x30cc70];return _0x38ccac;}Z=W([U(0x0,_0x5b28a6(_0x261b98))],Z);function oe(_0x4de0c5){const _0x36d11f=_0x58665d;return{'id':J['id'],'type':_0x1542db[_0x36d11f(0xd7)],'title':_0x36d11f(0xc7),'icon':'PrintIcon','tooltip':_0x36d11f(0xc7),'hidden$':_0x56c637(_0x4de0c5,_0x2c5f7c[_0x36d11f(0x10f)])};}const se={[_0x224315[_0x58665d(0xd3)]]:{[J['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x2b074d{constructor(_0x24130f,_0x324305){const _0x510d45=_0x58665d;super(),this[_0x510d45(0x117)]=_0x24130f,this[_0x510d45(0x11d)]=_0x324305,this[_0x510d45(0xee)](),this[_0x510d45(0x97)]();}[_0x58665d(0xee)](){const _0x1bd5d0=_0x58665d;this[_0x1bd5d0(0x11d)][_0x1bd5d0(0xf8)](se);}['_initCommands'](){this['disposeWithMe'](this['_commandService']['registerCommand'](J));}};Q=W([U(0x0,_0x2f825d),U(0x1,_0x24e87b)],Q);function _0xc1d0(){const _0x5c4ac8=['toPrimitive','BUTTON','constructor','getUnitId','OPERATION','page','_offsetConfig','interceptor','5UunFeZ','mpn','timeValid','disposeWithMe','0px','prepare','isPro','setContainer','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','className','height','width','fetchThroughInterceptors','default','add','_container','_initMenus','2065068VQIasF','_documents','iterator','translate','8495820nawcaf','388975dysmfK','__DocPrintRender__','top','PRINTING_COMPONENT_COLLECT','mergeMenu','_skeleton','container','156kFWlLK','_page','forEach','addObject','body','render','_configService','dispose','createElement','3224454tttkrE','root','valid','@univerjs-pro/docs-print','print','bottom','position','_skeletonData','_registerIcons','_renderManagerService','div','UNIVER_DOC','version','symbol','style','Skeleton\x20data\x20is\x20not\x20found','8UKNsnP','100%','length','_commandService','TRADITIONAL','onStarting','_currentRender','3747069OoQEeE','message','_menuManagerService','getOffsetConfig','getRenderById','absolute','menu','decorate','_initCommands','removeChild','makeDirty','Pages\x20are\x20not\x20found','_addComponent','syncExecuteCommand','_engine','_univerInstanceService','_scene','_key','_iconManager','get','onafterprint','_config','object','setConfig','Portrait','pageHeight','onbeforeprint','_initRenderer','packageName','getUnit','prototype','getInterceptPoints','Printing','getOwnPropertyDescriptor','docs.operation.print','Render\x20is\x20not\x20found','right','setId','pages','getCanvas','scale','appendChild','_effects','getSkeleton','DocumentDataModel\x20is\x20not\x20found','_addViewport','string','pluginName','defineProperty','_unitId','fill','3050250oqEhxX','map','getDocumentStyle','mainComponent','function','docs-print.menu','_root','_injector','_paperSize','documentFlavor','pageWidth','getContext','register','10383oCbzyG','getCurrentUnitOfType','_viewMain','_calculateLayout','OTHERS','left','PRINTING_DOM_COLLECT'];_0xc1d0=function(){return _0x5c4ac8;};return _0xc1d0();}let $=class extends _0x150077{constructor(_0x2dde1b=X,_0x3f98ee,_0x59639e){const _0x4ef906=_0x58665d;super(),this[_0x4ef906(0xa4)]=_0x2dde1b,this['_injector']=_0x3f98ee,this[_0x4ef906(0x101)]=_0x59639e;let {menu:_0x196705,..._0x14787c}=_0x4b908d({},X,this['_config']);_0x196705&&this['_configService'][_0x4ef906(0xa6)](_0x4ef906(0x95),_0x196705,{'merge':!0x0}),this['_configService']['setConfig'](Y,_0x14787c);}[_0x58665d(0x119)](){const _0x2b5fe2=_0x58665d;this[_0x2b5fe2(0xc9)][_0x2b5fe2(0xec)]([Z]),this[_0x2b5fe2(0xc9)][_0x2b5fe2(0xa2)](Z),_0x12c360(this[_0x2b5fe2(0xc9)],[[q],[Q]]);}['onReady'](){const _0x2868b8=_0x58665d;this[_0x2868b8(0xc9)][_0x2868b8(0xa2)](Q);}};V($,_0x58665d(0xbe),'UNIVER_DOCS_PRINT'),V($,_0x58665d(0xab),ie),V($,_0x58665d(0x110),ae),V($,'type',_0x2c5f7c[_0x58665d(0x10f)]),$=W([_0x23edf8(_0x290c3a,_0x2a1585),U(0x1,_0x5b28a6(_0x534b06)),U(0x2,_0x51e27a)],$);export{Y as DOCS_PRINT_PLUGIN_CONFIG_KEY,J as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x240ce0=_0x4e6d;function _0x1ce1(){const _0xa2666f=['2821341WvdufR','29936544XUsyGW','5777073OAExfZ','6txqMum','8985VoDmju','16096RHSeOZ','4Xitsqw','طباعة','126lWUjCO','4518035QsDhkR','14165770sBraul','210TSsmNo'];_0x1ce1=function(){return _0xa2666f;};return _0x1ce1();}(function(_0x3df6fe,_0xe21007){const _0x55493f=_0x4e6d,_0x187a98=_0x3df6fe();while(!![]){try{const _0x485b1d=-parseInt(_0x55493f(0x180))/0x1*(-parseInt(_0x55493f(0x187))/0x2)+-parseInt(_0x55493f(0x188))/0x3*(-parseInt(_0x55493f(0x182))/0x4)+parseInt(_0x55493f(0x185))/0x5*(parseInt(_0x55493f(0x17f))/0x6)+-parseInt(_0x55493f(0x184))/0x7*(parseInt(_0x55493f(0x181))/0x8)+-parseInt(_0x55493f(0x17e))/0x9+parseInt(_0x55493f(0x186))/0xa+-parseInt(_0x55493f(0x17d))/0xb;if(_0x485b1d===_0xe21007)break;else _0x187a98['push'](_0x187a98['shift']());}catch(_0x8e1755){_0x187a98['push'](_0x187a98['shift']());}}}(_0x1ce1,0xc4657));const e={'docs-print':{'menu':_0x240ce0(0x183)}};function _0x4e6d(_0x200d23,_0x3cda40){_0x200d23=_0x200d23-0x17d;const _0x1ce19e=_0x1ce1();let _0x4e6d4a=_0x1ce19e[_0x200d23];return _0x4e6d4a;}export{e as default};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2b44a6=_0x35d7;(function(_0x17afc9,_0xececab){const _0x3a6c3f=_0x35d7,_0x14c66f=_0x17afc9();while(!![]){try{const _0x4b50a9=-parseInt(_0x3a6c3f(0x13f))/0x1*(-parseInt(_0x3a6c3f(0x13a))/0x2)+-parseInt(_0x3a6c3f(0x144))/0x3*(parseInt(_0x3a6c3f(0x13e))/0x4)+-parseInt(_0x3a6c3f(0x143))/0x5+-parseInt(_0x3a6c3f(0x13d))/0x6*(parseInt(_0x3a6c3f(0x139))/0x7)+-parseInt(_0x3a6c3f(0x141))/0x8*(-parseInt(_0x3a6c3f(0x13b))/0x9)+-parseInt(_0x3a6c3f(0x13c))/0xa+parseInt(_0x3a6c3f(0x140))/0xb;if(_0x4b50a9===_0xececab)break;else _0x14c66f['push'](_0x14c66f['shift']());}catch(_0x27c098){_0x14c66f['push'](_0x14c66f['shift']());}}}(_0x4d0a,0x8d591));const e={'docs-print':{'menu':_0x2b44a6(0x142)}};function _0x35d7(_0x110489,_0x18cc51){_0x110489=_0x110489-0x139;const _0x4d0a7d=_0x4d0a();let _0x35d77=_0x4d0a7d[_0x110489];return _0x35d77;}export{e as default};function _0x4d0a(){const _0x495bd8=['1480048ltFnZd','Imprimir','707715kdXYjC','21363rpbFbY','60683hgTXnk','794lFfuUv','36tXXHuT','698060nHhPSH','12ghbSNi','436AWcXJG','50gZQiNi','9063593lpBHgI'];_0x4d0a=function(){return _0x495bd8;};return _0x4d0a();}
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x39b3f4=_0x4a2e;(function(_0x3f3fab,_0x1bf368){const _0x29db48=_0x4a2e,_0x3a1ea1=_0x3f3fab();while(!![]){try{const _0x2d7f04=parseInt(_0x29db48(0x1bd))/0x1+-parseInt(_0x29db48(0x1c1))/0x2*(-parseInt(_0x29db48(0x1c4))/0x3)+parseInt(_0x29db48(0x1c6))/0x4+-parseInt(_0x29db48(0x1c5))/0x5*(-parseInt(_0x29db48(0x1bc))/0x6)+parseInt(_0x29db48(0x1be))/0x7*(-parseInt(_0x29db48(0x1c3))/0x8)+-parseInt(_0x29db48(0x1bf))/0x9+parseInt(_0x29db48(0x1c0))/0xa;if(_0x2d7f04===_0x1bf368)break;else _0x3a1ea1['push'](_0x3a1ea1['shift']());}catch(_0x53024c){_0x3a1ea1['push'](_0x3a1ea1['shift']());}}}(_0x417b,0xacc20));function _0x417b(){const _0x1db626=['8PdHObZ','6qpGiXV','177290hrhyCP','2087352thWWNf','36hgTPOl','225936TDKocS','6482581kGBuBc','4024872icxyEM','8730550eXOtwa','247330bdgkeG','Drucken'];_0x417b=function(){return _0x1db626;};return _0x417b();}function _0x4a2e(_0x1bc74e,_0x596d52){_0x1bc74e=_0x1bc74e-0x1bc;const _0x417b66=_0x417b();let _0x4a2ec1=_0x417b66[_0x1bc74e];return _0x4a2ec1;}const e={'docs-print':{'menu':_0x39b3f4(0x1c2)}};export{e as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x587e(){const _0x304535=['422140uXIiGZ','2tyVAcS','78BfqgJP','472467sBQFTI','207970MfIrwm','73710PwUcKL','916038xIiljy','8XKKSww','1002720ZnXiKC','188020vbtxFI'];_0x587e=function(){return _0x304535;};return _0x587e();}(function(_0x1ab404,_0xfe42e9){const _0x499c81=_0x3424,_0x54aa99=_0x1ab404();while(!![]){try{const _0x1a84ea=-parseInt(_0x499c81(0x1c9))/0x1+parseInt(_0x499c81(0x1c6))/0x2*(-parseInt(_0x499c81(0x1c8))/0x3)+parseInt(_0x499c81(0x1cd))/0x4+-parseInt(_0x499c81(0x1ce))/0x5+-parseInt(_0x499c81(0x1c7))/0x6*(-parseInt(_0x499c81(0x1ca))/0x7)+-parseInt(_0x499c81(0x1cc))/0x8*(-parseInt(_0x499c81(0x1cb))/0x9)+parseInt(_0x499c81(0x1cf))/0xa;if(_0x1a84ea===_0xfe42e9)break;else _0x54aa99['push'](_0x54aa99['shift']());}catch(_0xaf2c0c){_0x54aa99['push'](_0x54aa99['shift']());}}}(_0x587e,0x1f5f7));const e={'docs-print':{'menu':'Print'}};function _0x3424(_0x3a9210,_0x4dd932){_0x3a9210=_0x3a9210-0x1c6;const _0x587e29=_0x587e();let _0x342478=_0x587e29[_0x3a9210];return _0x342478;}export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const _0x416306=_0x2a6b;function _0xc8bb(){const _0x2fbef4=['18FHtfti','2569797RkMOUF','15hmISYh','688wHwXYL','4tcQysX','710paCYZx','8973gyzmoF','38677584ZxXEtB','Imprimir','94853QWWIVu','109285kKFGys','4495197vahFQp','1967256ONKuOS'];_0xc8bb=function(){return _0x2fbef4;};return _0xc8bb();}function _0x2a6b(_0x32bede,_0x30397f){_0x32bede=_0x32bede-0x104;const _0xc8bb44=_0xc8bb();let _0x2a6be3=_0xc8bb44[_0x32bede];return _0x2a6be3;}(function(_0x28bf6a,_0x1f9857){const _0x2d7fed=_0x2a6b,_0x3fc6ab=_0x28bf6a();while(!![]){try{const _0x4be382=parseInt(_0x2d7fed(0x10c))/0x1*(-parseInt(_0x2d7fed(0x10f))/0x2)+parseInt(_0x2d7fed(0x110))/0x3*(-parseInt(_0x2d7fed(0x106))/0x4)+parseInt(_0x2d7fed(0x104))/0x5*(-parseInt(_0x2d7fed(0x10e))/0x6)+parseInt(_0x2d7fed(0x10d))/0x7+parseInt(_0x2d7fed(0x105))/0x8*(parseInt(_0x2d7fed(0x108))/0x9)+-parseInt(_0x2d7fed(0x107))/0xa*(parseInt(_0x2d7fed(0x10b))/0xb)+parseInt(_0x2d7fed(0x109))/0xc;if(_0x4be382===_0x1f9857)break;else _0x3fc6ab['push'](_0x3fc6ab['shift']());}catch(_0xe90c8a){_0x3fc6ab['push'](_0x3fc6ab['shift']());}}}(_0xc8bb,0x7dbcc));const e={'docs-print':{'menu':_0x416306(0x10a)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2a73b5,_0x47ca9d){const _0x8fdd53=_0x5c77,_0xa20996=_0x2a73b5();while(!![]){try{const _0x5f5793=parseInt(_0x8fdd53(0xd7))/0x1+-parseInt(_0x8fdd53(0xd6))/0x2*(-parseInt(_0x8fdd53(0xd9))/0x3)+parseInt(_0x8fdd53(0xdb))/0x4+parseInt(_0x8fdd53(0xdd))/0x5+-parseInt(_0x8fdd53(0xd8))/0x6+-parseInt(_0x8fdd53(0xdf))/0x7*(parseInt(_0x8fdd53(0xda))/0x8)+parseInt(_0x8fdd53(0xde))/0x9*(-parseInt(_0x8fdd53(0xdc))/0xa);if(_0x5f5793===_0x47ca9d)break;else _0xa20996['push'](_0xa20996['shift']());}catch(_0x43d0f6){_0xa20996['push'](_0xa20996['shift']());}}}(_0x535d,0x48853));const e={'docs-print':{'menu':'چاپ'}};function _0x5c77(_0x55720b,_0x1ab70c){_0x55720b=_0x55720b-0xd6;const _0x535dc2=_0x535d();let _0x5c7774=_0x535dc2[_0x55720b];return _0x5c7774;}function _0x535d(){const _0x4fea8b=['852352PBCwqZ','47660oZPScL','2157225XXyRgu','90bvEAGL','7lQTVgX','18jsTbKM','125250qdjrGW','1624278zKZTty','141144hHYrGk','4622392pCkqdD'];_0x535d=function(){return _0x4fea8b;};return _0x535d();}export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x4e1e90=_0x460d;function _0x3c17(){const _0x3f037a=['Imprimer','9372090BycFcq','5804720TlekWy','8dwBHtR','1976602tbWibe','1614159WPEjAj','3DNkltq','20766798LEKzRr','3908665aCYKdJ','132685zTtqfl'];_0x3c17=function(){return _0x3f037a;};return _0x3c17();}function _0x460d(_0x403b8a,_0x5acd0e){_0x403b8a=_0x403b8a-0x16e;const _0x3c1760=_0x3c17();let _0x460dca=_0x3c1760[_0x403b8a];return _0x460dca;}(function(_0x45e535,_0x4eec73){const _0x25b5c5=_0x460d,_0x3596fd=_0x45e535();while(!![]){try{const _0x2d5643=-parseInt(_0x25b5c5(0x173))/0x1+parseInt(_0x25b5c5(0x172))/0x2+parseInt(_0x25b5c5(0x174))/0x3*(parseInt(_0x25b5c5(0x170))/0x4)+parseInt(_0x25b5c5(0x176))/0x5+parseInt(_0x25b5c5(0x16f))/0x6+-parseInt(_0x25b5c5(0x177))/0x7*(parseInt(_0x25b5c5(0x171))/0x8)+-parseInt(_0x25b5c5(0x175))/0x9;if(_0x2d5643===_0x4eec73)break;else _0x3596fd['push'](_0x3596fd['shift']());}catch(_0x46a647){_0x3596fd['push'](_0x3596fd['shift']());}}}(_0x3c17,0xcdbc5));const e={'docs-print':{'menu':_0x4e1e90(0x16e)}};export{e as default};
|
package/lib/es/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5699c9=_0x352a;(function(_0x1dad94,_0x30e522){const _0x3dae59=_0x352a,_0x11de62=_0x1dad94();while(!![]){try{const _0x535a67=parseInt(_0x3dae59(0x1bd))/0x1*(-parseInt(_0x3dae59(0x1b5))/0x2)+-parseInt(_0x3dae59(0x1b2))/0x3*(parseInt(_0x3dae59(0x1be))/0x4)+-parseInt(_0x3dae59(0x1ba))/0x5*(parseInt(_0x3dae59(0x1b8))/0x6)+parseInt(_0x3dae59(0x1bf))/0x7*(parseInt(_0x3dae59(0x1b7))/0x8)+parseInt(_0x3dae59(0x1b3))/0x9+parseInt(_0x3dae59(0x1bc))/0xa*(-parseInt(_0x3dae59(0x1b9))/0xb)+parseInt(_0x3dae59(0x1bb))/0xc*(parseInt(_0x3dae59(0x1b6))/0xd);if(_0x535a67===_0x30e522)break;else _0x11de62['push'](_0x11de62['shift']());}catch(_0x516056){_0x11de62['push'](_0x11de62['shift']());}}}(_0x2929,0xb0a96));const e={'docs-print':{'menu':_0x5699c9(0x1b4)}};function _0x2929(){const _0x356e81=['3lnBaXs','3783573PPIBgY','Cetak','32314EqCzdD','1833HAfyJp','2551936lKQAIc','4171962keTAJi','11WGImoA','5kvstXj','303660EIDqgl','10933660iZnGFu','62QEgjEr','3173444aAUdub','7vvBfjU'];_0x2929=function(){return _0x356e81;};return _0x2929();}function _0x352a(_0x2941d7,_0x7bd215){_0x2941d7=_0x2941d7-0x1b2;const _0x2929ab=_0x2929();let _0x352a3d=_0x2929ab[_0x2941d7];return _0x352a3d;}export{e as default};
|
package/lib/es/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x57b21c=_0x1103;function _0x5cbc(){const _0x1298fb=['903595hMmgpj','2005896KIcRct','905622bjMvGS','994399EeHLVk','2VDimCe','7316184HECVvT','35847ITWDEQ','30TmDtNj','Stampa','230uriBjw','1223392sduYsc'];_0x5cbc=function(){return _0x1298fb;};return _0x5cbc();}(function(_0x28b4d5,_0x3a91b4){const _0x2a5e92=_0x1103,_0x17f7c2=_0x28b4d5();while(!![]){try{const _0x43d5f0=parseInt(_0x2a5e92(0xb4))/0x1*(parseInt(_0x2a5e92(0xb6))/0x2)+-parseInt(_0x2a5e92(0xb3))/0x3+parseInt(_0x2a5e92(0xb7))/0x4+-parseInt(_0x2a5e92(0xb2))/0x5+parseInt(_0x2a5e92(0xb9))/0x6*(-parseInt(_0x2a5e92(0xb5))/0x7)+-parseInt(_0x2a5e92(0xb1))/0x8+parseInt(_0x2a5e92(0xb8))/0x9*(-parseInt(_0x2a5e92(0xb0))/0xa);if(_0x43d5f0===_0x3a91b4)break;else _0x17f7c2['push'](_0x17f7c2['shift']());}catch(_0x4f68c9){_0x17f7c2['push'](_0x17f7c2['shift']());}}}(_0x5cbc,0xe32c3));const e={'docs-print':{'menu':_0x57b21c(0xaf)}};function _0x1103(_0x20f165,_0x1e387a){_0x20f165=_0x20f165-0xaf;const _0x5cbc5d=_0x5cbc();let _0x110366=_0x5cbc5d[_0x20f165];return _0x110366;}export{e as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x198a(){const _0x507bfc=['7xARPrL','313546GnArVG','2864080hEBwtp','11292450BqKGvg','5FMsTbz','2XAitLm','302262IRcmvr','6274890lEJbvv','2593760JYtEXV','282822aSeXSU'];_0x198a=function(){return _0x507bfc;};return _0x198a();}(function(_0x2272fe,_0xc583e3){const _0x598c1d=_0x3ecf,_0x11ca3e=_0x2272fe();while(!![]){try{const _0x4b5296=-parseInt(_0x598c1d(0xe5))/0x1+parseInt(_0x598c1d(0xe9))/0x2*(parseInt(_0x598c1d(0xea))/0x3)+parseInt(_0x598c1d(0xe6))/0x4+-parseInt(_0x598c1d(0xe8))/0x5*(-parseInt(_0x598c1d(0xe3))/0x6)+parseInt(_0x598c1d(0xe4))/0x7*(parseInt(_0x598c1d(0xe2))/0x8)+parseInt(_0x598c1d(0xe1))/0x9+-parseInt(_0x598c1d(0xe7))/0xa;if(_0x4b5296===_0xc583e3)break;else _0x11ca3e['push'](_0x11ca3e['shift']());}catch(_0x507327){_0x11ca3e['push'](_0x11ca3e['shift']());}}}(_0x198a,0x6c0b6));const e={'docs-print':{'menu':'印刷'}};function _0x3ecf(_0x46fa54,_0x39390e){_0x46fa54=_0x46fa54-0xe1;const _0x198aa4=_0x198a();let _0x3ecf4d=_0x198aa4[_0x46fa54];return _0x3ecf4d;}export{e as default};
|