@univerjs-pro/docs-print 0.12.3-nightly.202512060617 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3476ba,_0x4a0e6f){const _0x57b6b5=_0x34d4,_0x4ae91a=_0x3476ba();while(!![]){try{const _0x248a01=-parseInt(_0x57b6b5(0x6a))/0x1*(parseInt(_0x57b6b5(0x6e))/0x2)+-parseInt(_0x57b6b5(0x71))/0x3*(-parseInt(_0x57b6b5(0x6b))/0x4)+parseInt(_0x57b6b5(0x69))/0x5+-parseInt(_0x57b6b5(0x6f))/0x6+-parseInt(_0x57b6b5(0x68))/0x7*(parseInt(_0x57b6b5(0x6d))/0x8)+parseInt(_0x57b6b5(0x70))/0x9+-parseInt(_0x57b6b5(0x6c))/0xa;if(_0x248a01===_0x4a0e6f)break;else _0x4ae91a['push'](_0x4ae91a['shift']());}catch(_0x22186b){_0x4ae91a['push'](_0x4ae91a['shift']());}}}(_0x5583,0xee74c));function _0x34d4(_0x529084,_0x4c83fd){_0x529084=_0x529084-0x68;const _0x5583e4=_0x5583();let _0x34d4ae=_0x5583e4[_0x529084];return _0x34d4ae;}const e={'print':{'menu':'列印'}};export{e as default};function _0x5583(){const _0x383876=['2AmopnG','5450904BREKzP','13087512waCfKn','12wyzllI','22967LeuHWs','7512135nQgDbr','1202222EJSwYa','1625708plGvdq','3104400UjEWil','2888JyTVue'];_0x5583=function(){return _0x383876;};return _0x5583();}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x341002=_0x38ab;(function(_0x191a3c,_0x3ecc56){const _0x14f3e3=_0x38ab,_0x4e25fb=_0x191a3c();while(!![]){try{const _0x5166bc=parseInt(_0x14f3e3(0x1cb))/0x1*(parseInt(_0x14f3e3(0x16f))/0x2)+parseInt(_0x14f3e3(0x15e))/0x3*(parseInt(_0x14f3e3(0x1e9))/0x4)+parseInt(_0x14f3e3(0x178))/0x5*(-parseInt(_0x14f3e3(0x170))/0x6)+parseInt(_0x14f3e3(0x1f6))/0x7*(-parseInt(_0x14f3e3(0x1f3))/0x8)+-parseInt(_0x14f3e3(0x1ca))/0x9+-parseInt(_0x14f3e3(0x15d))/0xa+-parseInt(_0x14f3e3(0x1a4))/0xb*(-parseInt(_0x14f3e3(0x15f))/0xc);if(_0x5166bc===_0x3ecc56)break;else _0x4e25fb['push'](_0x4e25fb['shift']());}catch(_0x47ab12){_0x4e25fb['push'](_0x4e25fb['shift']());}}}(_0x2700,0x83e2c));var B=Object[_0x341002(0x1a0)],Q=(_0x5a866c,_0x402c2a,_0x551592)=>_0x402c2a in _0x5a866c?B(_0x5a866c,_0x402c2a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x551592}):_0x5a866c[_0x402c2a]=_0x551592,a=(_0x4d0707,_0x9100dd,_0x32f0df)=>Q(_0x4d0707,typeof _0x9100dd!=_0x341002(0x1a6)?_0x9100dd+'':_0x9100dd,_0x32f0df);import{Disposable as _0x237852,generateRandomId as _0x29c192,DisposableCollection as _0x2da3e3,IUniverInstanceService as _0x639f3c,Inject as _0x433c18,Injector as _0x18fd39,IConfigService as _0x3cd555,UniverInstanceType as _0x4ef8e8,CommandType as _0x5080b7,ICommandService as _0x1ad1e5,DocumentFlavor as _0x5068ed,DependentOn as _0x20d017,Plugin as _0x186fdb,merge as _0x30bc65,registerDependencies as _0x3eedd3}from'@univerjs/core';import{DocPrintInterceptorService as _0x2dbd54,VIEWPORT_KEY as _0x349bbd,SwitchDocModeCommand as _0x46635f}from'@univerjs/docs-ui';import{IRenderManagerService as _0x1d9519,Engine as _0x4d0e70,CanvasRenderMode as _0x281366,Scene as _0x38817d,Documents as _0x201b8b,Viewport as _0x12ae84}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x32e104,isLocalCheck as _0x3ce696,unshiftString as _0x345f97,isFeatureAuthorizedWithinTime as _0x317654,getDocFeatureLimit as _0x4997bb,UniverLicensePlugin as _0x422a02}from'@univerjs-pro/license';import{PRINT_CONTAINER_CLASS as _0xbbbb92,PRINT_CANVAS_CLASS as _0x152176,createPrintStyle as _0x2a43e1,PrintDirection as _0x2af987}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x5184e9}from'@univerjs/docs';import{IGlobalZoneService as _0x4ddd3a,getMenuHiddenObservable as _0x23a79b,MenuItemType as _0x409a62,RibbonStartGroup as _0x4939e9,IMenuManagerService as _0x2c02d5,ComponentManager as _0x26db63}from'@univerjs/ui';import{UniverNetworkPlugin as _0x56052f}from'@univerjs/network';import{useRef as _0x36fc4c,createElement as _0x480b84,forwardRef as _0x5d81af}from'react';const At={0x0:'i',0x1:'4',0x2:'a',0x3:'Z',0x4:'U',0x5:'V',0x6:'I',0x7:'D',0x8:'q',0x9:'L','v':'0','j':'1','o':'2','U':'3','I':'5','Y':'6','D':'7','R':'8','B':'9','k':'b','A':'c','c':'d','t':'e','O':'f','s':'g','d':'h','J':'j','q':'k','e':'l','K':'m','w':'n','y':'o','g':'p','V':'r','h':'s','W':'t','u':'u','l':'v','M':'w','x':'x','G':'y','H':'z','b':'A','n':'B','m':'C','p':'E','a':'F','z':'G','r':'H','E':'J','C':'K','S':'M','Z':'N','T':'O','X':'P','P':'Q','F':'R','Q':'S','f':'T','i':'W','L':'X','N':'Y'},Mt=_0x341002(0x18f);class Pt extends _0x237852{constructor(_0x33bb5c,_0x361291,_0x48d58e,_0xc545b5){const _0x542d0d=_0x341002;super(),a(this,_0x542d0d(0x18e),document[_0x542d0d(0x1c7)](_0x542d0d(0x1f4))),a(this,'_root',document[_0x542d0d(0x1c7)](_0x542d0d(0x1f4))),a(this,'_engine'),a(this,_0x542d0d(0x1e2)),a(this,_0x542d0d(0x17e)),a(this,_0x542d0d(0x195)),a(this,_0x542d0d(0x18c)),a(this,_0x542d0d(0x1ad),new _0x2da3e3()),(this[_0x542d0d(0x1de)]=_0x33bb5c,this['_page']=_0x361291,this[_0x542d0d(0x1ec)]=_0x48d58e,this[_0x542d0d(0x1c6)]=_0xc545b5,this[_0x542d0d(0x17e)]=_0x29c192(0x4),this[_0x542d0d(0x19e)](),this['disposeWithMe']({'dispose':()=>{const _0x282916=_0x542d0d;this[_0x282916(0x15b)][_0x282916(0x1e0)](),this[_0x282916(0x1e2)][_0x282916(0x1e0)](),this[_0x282916(0x1ad)]['dispose']();}}));}get['container'](){return this['_container'];}get[_0x341002(0x1d5)](){return this['_root'];}get[_0x341002(0x1af)](){const _0x2cd883=_0x341002,_0x22fb37=this['_injector'][_0x2cd883(0x1ed)](_0x1d9519)[_0x2cd883(0x17f)](this[_0x2cd883(0x1ec)]);if(!_0x22fb37)throw new Error(_0x2cd883(0x1d4));return _0x22fb37;}get[_0x341002(0x1ea)](){const _0x58f688=_0x341002;return this[_0x58f688(0x1af)][_0x58f688(0x1b3)](_0x5184e9)['getSkeleton']();}get[_0x341002(0x1a2)](){const _0x39085f=_0x341002,_0x59ccb0=this[_0x39085f(0x1ea)][_0x39085f(0x1fa)]();if(!_0x59ccb0)throw new Error(_0x39085f(0x1ba));return _0x59ccb0;}get[_0x341002(0x198)](){const _0x561aac=_0x341002,_0x3cec47=this[_0x561aac(0x1a2)][_0x561aac(0x1ac)][0x0];return{'width':_0x3cec47[_0x561aac(0x1aa)],'height':_0x3cec47[_0x561aac(0x185)]};}[_0x341002(0x1ef)](){const _0x24b0e1=_0x341002,{docsTop:_0x2024bc,docsLeft:_0x1eb2e3}=this['_documents']['getOffsetConfig'](),_0x3a87d6=this[_0x24b0e1(0x198)][_0x24b0e1(0x186)],_0x36e086=this[_0x24b0e1(0x198)]['width'];return{'top':_0x2024bc+(_0x2024bc+_0x3a87d6)*this[_0x24b0e1(0x1cf)],'bottom':_0x2024bc+(_0x2024bc+_0x3a87d6)*(this['_page']+0x1),'left':_0x1eb2e3,'right':_0x1eb2e3+_0x36e086};}[_0x341002(0x19e)](){const _0x541d11=_0x341002;this['_engine']=new _0x4d0e70('',{'elementWidth':this[_0x541d11(0x198)][_0x541d11(0x17b)],'elementHeight':this[_0x541d11(0x198)][_0x541d11(0x186)],'dpr':0x1,'renderMode':_0x281366['Printing']}),this[_0x541d11(0x1e2)]=new _0x38817d(this[_0x541d11(0x17e)],this[_0x541d11(0x15b)]),this[_0x541d11(0x1e2)][_0x541d11(0x1c3)](0x1,0x1),this[_0x541d11(0x15b)]['setContainer'](this[_0x541d11(0x18e)],!0x1),this[_0x541d11(0x15b)][_0x541d11(0x15c)]()[_0x541d11(0x1d7)]()[_0x541d11(0x17c)](this[_0x541d11(0x17e)]+'_'+_0x29c192(0x4)),this[_0x541d11(0x19b)](),this[_0x541d11(0x19d)]();}['_addComponent'](){const _0x3de64d=_0x341002,{pageMarginLeft:_0x17c1f8,pageMarginTop:_0x526e72,docsLeft:_0x162402,docsTop:_0x475983}=this[_0x3de64d(0x1c6)],_0x575d62={'pageMarginLeft':_0x17c1f8,'pageMarginTop':_0x526e72},_0xb98371=new _0x201b8b('__DocPrintRender__',this[_0x3de64d(0x1ea)],_0x575d62);_0xb98371[_0x3de64d(0x1d0)](_0x162402,_0x475983),this[_0x3de64d(0x1e2)][_0x3de64d(0x17d)](_0xb98371),this[_0x3de64d(0x195)]=_0xb98371;const _0xc4f5a8=this[_0x3de64d(0x1de)][_0x3de64d(0x1ed)](_0x2dbd54);_0xc4f5a8['interceptor'][_0x3de64d(0x161)](_0xc4f5a8[_0x3de64d(0x1fd)]['getInterceptPoints']()[_0x3de64d(0x1bc)])(void 0x0,{'unitId':this[_0x3de64d(0x1ec)],'scene':this[_0x3de64d(0x1e2)],'engine':this[_0x3de64d(0x15b)],'root':this[_0x3de64d(0x1be)],'documents':this['_documents'],'skeleton':this[_0x3de64d(0x1ea)]});}['_addViewport'](){const _0x3990d1=_0x341002;this['_viewMain']=new _0x12ae84(_0x349bbd[_0x3990d1(0x188)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x341002(0x17a)](){const _0x9fd4d2=_0x341002,_0x102424=this[_0x9fd4d2(0x1ef)]();this['_viewMain'][_0x9fd4d2(0x1e1)]({'viewportScrollX':_0x102424[_0x9fd4d2(0x172)],'viewportScrollY':_0x102424['top']}),this['_root'][_0x9fd4d2(0x1c1)][_0x9fd4d2(0x16b)]=_0x9fd4d2(0x1c4),this[_0x9fd4d2(0x1be)][_0x9fd4d2(0x1c1)]['top']=_0x9fd4d2(0x1df),this[_0x9fd4d2(0x1be)][_0x9fd4d2(0x1c1)]['left']='0px',this[_0x9fd4d2(0x1be)]['style']['width']=_0x9fd4d2(0x19a),this[_0x9fd4d2(0x1be)]['style'][_0x9fd4d2(0x186)]=_0x9fd4d2(0x19a),this[_0x9fd4d2(0x1ad)]=new _0x2da3e3();const _0x257b53=this['_injector'][_0x9fd4d2(0x1ed)](_0x2dbd54);_0x257b53[_0x9fd4d2(0x1fd)][_0x9fd4d2(0x161)](_0x257b53['interceptor'][_0x9fd4d2(0x1f0)]()[_0x9fd4d2(0x1fc)])(this[_0x9fd4d2(0x1ad)],{'unitId':this['_unitId'],'scene':this[_0x9fd4d2(0x1e2)],'engine':this[_0x9fd4d2(0x15b)],'root':this[_0x9fd4d2(0x1be)],'skeleton':this['_skeleton'],'offset':{'x':_0x102424[_0x9fd4d2(0x172)],'y':_0x102424[_0x9fd4d2(0x1b4)]},'bound':{'top':_0x102424[_0x9fd4d2(0x1b4)],'left':_0x102424[_0x9fd4d2(0x172)],'right':_0x102424[_0x9fd4d2(0x1a5)],'bottom':_0x102424['bottom']}});}[_0x341002(0x1b0)](){const _0x2a2619=_0x341002,_0x474ca9=this['_engine'][_0x2a2619(0x15c)]()[_0x2a2619(0x1d7)]();this[_0x2a2619(0x195)][_0x2a2619(0x1a9)](),this[_0x2a2619(0x1e2)]['makeDirty'](),_0x474ca9[_0x2a2619(0x1da)](),this['_scene'][_0x2a2619(0x1b0)](),_0x474ca9[_0x2a2619(0x1bb)]();}}var Dt=Object[_0x341002(0x1a1)],Rt=(_0x1db841,_0x3c433b,_0x5265b8,_0x40816d)=>{const _0xfd7172=_0x341002;for(var _0x1fc519=_0x40816d>0x1?void 0x0:_0x40816d?Dt(_0x3c433b,_0x5265b8):_0x3c433b,_0x3783c3=_0x1db841[_0xfd7172(0x1c9)]-0x1,_0x370fe9;_0x3783c3>=0x0;_0x3783c3--)(_0x370fe9=_0x1db841[_0x3783c3])&&(_0x1fc519=_0x370fe9(_0x1fc519)||_0x1fc519);return _0x1fc519;},u=(_0x50c707,_0x3f9d6e)=>(_0x5b2432,_0x2ea2b2)=>_0x3f9d6e(_0x5b2432,_0x2ea2b2,_0x50c707);const Nt=Number[_0x341002(0x18b)](0x6933cad3),Et=0x1,Tt=(_0xfccb89,_0x458102,_0xdf1a7c)=>{const _0xeb300=_0x341002,_0x3e34fc={'page':_0xfccb89,'isPro':!0x1,'timeValid':!0x1};if(!_0x458102||!_0xdf1a7c)return _0x3e34fc;const _0x953645=_0x345f97(Mt,At),_0x586e64=new Function(_0xeb300(0x1d2)+_0x953645)()(_0x458102,_0xdf1a7c);if(_0x586e64['valid']){const _0x179c72=_0x586e64[_0xeb300(0x162)],_0x28a522=_0x317654(_0x179c72,'df',Nt);_0x3e34fc[_0xeb300(0x1f1)]=_0x28a522,_0x3e34fc[_0xeb300(0x1ae)]=_0x28a522;const _0x2f8732=0x0;_0x3e34fc[_0xeb300(0x1fb)]=_0x4997bb(_0x179c72,_0x28a522,_0xeb300(0x1c0),_0xfccb89,_0xfccb89,_0x2f8732);}return _0x3e34fc;};let w=class extends _0x237852{constructor(_0x38d1ee,_0x3f19a2,_0x239e01,_0x2cd8ed,_0x1310e8){const _0x48da1a=_0x341002;super(),this['_univerInstanceService']=_0x38d1ee,this[_0x48da1a(0x166)]=_0x3f19a2,this[_0x48da1a(0x1de)]=_0x239e01,this['_configService']=_0x2cd8ed,this['_globalZoneService']=_0x1310e8;}['print'](_0x27257e){const _0x2fedbf=_0x341002;var _0x589782,_0x4f0ec7;const _0x37a0f2=(_0x589782=this[_0x2fedbf(0x197)][_0x2fedbf(0x1b7)](_0x32e104))!=null?_0x589782:{},{ls:_0xcb336b,pbk:_0xb22506}=_0x37a0f2,_0x387ba1=_0x3ce696()?Number[_0x2fedbf(0x179)]:Tt(Et,_0xcb336b,_0xb22506)[_0x2fedbf(0x1fb)];if(!this[_0x2fedbf(0x1cd)]['getUnit'](_0x27257e,_0x4ef8e8['UNIVER_DOC']))throw new Error(_0x2fedbf(0x1dd));const _0x55287f=this[_0x2fedbf(0x166)][_0x2fedbf(0x17f)](_0x27257e);if(!_0x55287f)throw new Error('Render\x20is\x20not\x20found');const _0x4c592c=(_0x4f0ec7=_0x55287f[_0x2fedbf(0x1b3)](_0x5184e9)[_0x2fedbf(0x18d)]()['getSkeletonData']())==null?void 0x0:_0x4f0ec7[_0x2fedbf(0x1ac)];if(!_0x4c592c)throw new Error(_0x2fedbf(0x19c));const _0x5635eb={'width':_0x4c592c[0x0][_0x2fedbf(0x1aa)],'height':_0x4c592c[0x0][_0x2fedbf(0x185)]},_0x41cede=_0x4c592c['length'],_0x1dd730=Math[_0x2fedbf(0x1f5)](_0x387ba1,_0x41cede),_0x378143=_0x55287f['mainComponent'][_0x2fedbf(0x164)](),_0x2d7b85=document[_0x2fedbf(0x1c7)]('div');_0x2d7b85[_0x2fedbf(0x1ab)]=_0xbbbb92;const _0x1b4895=new Array(_0x1dd730)[_0x2fedbf(0x1e7)](null)[_0x2fedbf(0x176)]((_0x1060ec,_0x1d9df2)=>{const _0x2a2b6c=_0x2fedbf,_0x305808=new Pt(this[_0x2a2b6c(0x1de)],_0x1d9df2,_0x27257e,_0x378143);return _0x305808[_0x2a2b6c(0x1f9)]['className']=_0x152176,_0x305808;});_0x1b4895['forEach'](_0x56b0a5=>{const _0x157aeb=_0x2fedbf;_0x2d7b85[_0x157aeb(0x182)](_0x56b0a5['container']),_0x56b0a5[_0x157aeb(0x1f9)][_0x157aeb(0x182)](_0x56b0a5['root']),_0x56b0a5[_0x157aeb(0x17a)]();});const _0x239e74=_0x2a43e1(_0x5635eb[_0x2fedbf(0x17b)],_0x5635eb[_0x2fedbf(0x186)],_0x2af987[_0x2fedbf(0x16c)]);return document[_0x2fedbf(0x1b8)][_0x2fedbf(0x182)](_0x239e74),document[_0x2fedbf(0x1b8)][_0x2fedbf(0x182)](_0x2d7b85),new Promise(_0x54ea9d=>{setTimeout(()=>{const _0x24286d=_0x38ab;window['onbeforeprint']=()=>{const _0x1ba380=_0x38ab;_0x1b4895[_0x1ba380(0x175)](_0x2e7fba=>{const _0x4282e9=_0x1ba380;_0x2e7fba[_0x4282e9(0x1b0)]();});},window[_0x24286d(0x190)]=()=>{const _0x421c04=_0x24286d;_0x1b4895['forEach'](_0x57372e=>{_0x57372e['dispose']();}),document[_0x421c04(0x1b8)][_0x421c04(0x1e3)](_0x2d7b85),document[_0x421c04(0x1b8)][_0x421c04(0x1e3)](_0x239e74),this['_globalZoneService'][_0x421c04(0x167)](),_0x54ea9d(!0x0);},window['print']();},0x64);});}};w=Rt([u(0x0,_0x639f3c),u(0x1,_0x1d9519),u(0x2,_0x433c18(_0x18fd39)),u(0x3,_0x3cd555),u(0x4,_0x4ddd3a)],w);const v={'id':_0x341002(0x1f8),'type':_0x5080b7[_0x341002(0x1ce)],'handler':async _0x3070a2=>{const _0x27fded=_0x341002,_0x13c565=_0x3070a2[_0x27fded(0x1ed)](_0x639f3c),_0x154c17=_0x3070a2['get'](w),_0x47c62c=_0x3070a2[_0x27fded(0x1ed)](_0x1d9519),_0x16b31c=_0x3070a2[_0x27fded(0x1ed)](_0x1ad1e5),_0x236efc=_0x13c565['getCurrentUnitOfType'](_0x4ef8e8[_0x27fded(0x199)]);if(!_0x236efc)return!0x1;if(!_0x47c62c['getRenderById'](_0x236efc[_0x27fded(0x160)]()))throw new Error(_0x27fded(0x1d4));const _0x23ec9b=_0x236efc['getDocumentStyle']()[_0x27fded(0x1b1)];return _0x23ec9b!==_0x5068ed[_0x27fded(0x177)]&&_0x16b31c[_0x27fded(0x165)](_0x46635f['id']),await _0x154c17[_0x27fded(0x196)](_0x236efc['getUnitId']()),_0x23ec9b!==_0x5068ed[_0x27fded(0x177)]&&_0x16b31c[_0x27fded(0x165)](_0x46635f['id']),!0x0;}},bt=_0x341002(0x1d3),T={},xt=_0x341002(0x1d3);function j({ref:_0x5011db,..._0x1f4b08}){const _0x282d30=_0x341002,{icon:_0x51c096,id:_0xdee6e9,className:_0x20bdce,extend:_0x12d856,..._0xbed52a}=_0x1f4b08,_0x585b93=(_0x282d30(0x1d1)+_0xdee6e9+'\x20'+(_0x20bdce||''))[_0x282d30(0x1f2)](),_0x3ce999=_0x36fc4c('_'+Kt());return $(_0x51c096,''+_0xdee6e9,{'defIds':_0x51c096['defIds'],'idSuffix':_0x3ce999[_0x282d30(0x163)]},{'ref':_0x5011db,'className':_0x585b93,..._0xbed52a},_0x12d856);}function $(_0x37ec3b,_0x38e59c,_0x8ed9b,_0xa24894,_0x48fb19){const _0x52e2be=_0x341002;return _0x480b84(_0x37ec3b['tag'],{'key':_0x38e59c,...Lt(_0x37ec3b,_0x8ed9b,_0x48fb19),..._0xa24894},(kt(_0x37ec3b,_0x8ed9b)[_0x52e2be(0x193)]||[])[_0x52e2be(0x176)]((_0x69555b,_0x4791ef)=>$(_0x69555b,_0x38e59c+'-'+_0x37ec3b[_0x52e2be(0x169)]+'-'+_0x4791ef,_0x8ed9b,void 0x0,_0x48fb19)));}function Lt(_0x3f38bf,_0x59d127,_0x1b7ba0){const _0x424fe2=_0x341002,_0x1fc20b={..._0x3f38bf[_0x424fe2(0x181)]};_0x1b7ba0!=null&&_0x1b7ba0['colorChannel1']&&_0x1fc20b[_0x424fe2(0x1e7)]===_0x424fe2(0x1b5)&&(_0x1fc20b['fill']=_0x1b7ba0['colorChannel1']),_0x3f38bf[_0x424fe2(0x169)]===_0x424fe2(0x1d8)&&_0x1fc20b['id']&&(_0x1fc20b['id']=_0x1fc20b['id']+_0x59d127['idSuffix']),Object[_0x424fe2(0x1dc)](_0x1fc20b)[_0x424fe2(0x175)](([_0x983216,_0x5c2201])=>{const _0x5f26db=_0x424fe2;_0x983216==='mask'&&typeof _0x5c2201==_0x5f26db(0x1c2)&&(_0x1fc20b[_0x983216]=_0x5c2201['replace'](/url\(#(.*)\)/,_0x5f26db(0x1f7)+_0x59d127[_0x5f26db(0x171)]+')'));});const {defIds:_0x19bf19}=_0x59d127;return!_0x19bf19||_0x19bf19[_0x424fe2(0x1c9)]===0x0||(_0x3f38bf['tag']===_0x424fe2(0x174)&&_0x1fc20b['xlink:href']&&(_0x1fc20b[_0x424fe2(0x192)]=_0x1fc20b[_0x424fe2(0x192)]+_0x59d127[_0x424fe2(0x171)]),Object[_0x424fe2(0x1dc)](_0x1fc20b)['forEach'](([_0x53780d,_0x331695])=>{const _0x391421=_0x424fe2;typeof _0x331695==_0x391421(0x1c2)&&(_0x1fc20b[_0x53780d]=_0x331695[_0x391421(0x168)](/url\(#(.*)\)/,_0x391421(0x1f7)+_0x59d127[_0x391421(0x171)]+')'));})),_0x1fc20b;}function kt(_0x16d567,_0x152cc1){const _0x3582bd=_0x341002;var _0x41d4c7;const {defIds:_0x22926b}=_0x152cc1;return!_0x22926b||_0x22926b[_0x3582bd(0x1c9)]===0x0?_0x16d567:_0x16d567[_0x3582bd(0x169)]===_0x3582bd(0x187)&&((_0x41d4c7=_0x16d567[_0x3582bd(0x193)])!=null&&_0x41d4c7[_0x3582bd(0x1c9)])?{..._0x16d567,'children':_0x16d567[_0x3582bd(0x193)][_0x3582bd(0x176)](_0x1d606c=>typeof _0x1d606c['attrs']['id']==_0x3582bd(0x1c2)&&_0x22926b&&_0x22926b['includes'](_0x1d606c['attrs']['id'])?{..._0x1d606c,'attrs':{..._0x1d606c['attrs'],'id':_0x1d606c[_0x3582bd(0x181)]['id']+_0x152cc1['idSuffix']}}:_0x1d606c)}:_0x16d567;}function Kt(){const _0x1c9391=_0x341002;return Math['random']()[_0x1c9391(0x1e5)](0x24)[_0x1c9391(0x194)](0x2,0x8);}j[_0x341002(0x1c8)]=_0x341002(0x1b9);const Ut={'tag':_0x341002(0x16a),'attrs':{'xmlns':_0x341002(0x191),'fill':_0x341002(0x1c5),'viewBox':'0\x200\x2016\x2016','width':_0x341002(0x19f),'height':_0x341002(0x19f)},'children':[{'tag':'path','attrs':{'fill':_0x341002(0x189),'d':_0x341002(0x180)}},{'tag':_0x341002(0x184),'attrs':{'fill':_0x341002(0x189),'d':_0x341002(0x1a3),'fillRule':_0x341002(0x1e8),'clipRule':_0x341002(0x1e8)}}]},F=_0x5d81af(function(_0x5295a7,_0x689a10){const _0x5bade9=_0x341002;return _0x480b84(j,Object['assign']({},_0x5295a7,{'id':_0x5bade9(0x18a),'ref':_0x689a10,'icon':Ut}));});F[_0x341002(0x1c8)]=_0x341002(0x1e4);function Gt(_0x4e37a5){const _0x58a763=_0x341002;return{'id':v['id'],'type':_0x409a62[_0x58a763(0x1d9)],'title':_0x58a763(0x183),'icon':_0x58a763(0x1e4),'tooltip':_0x58a763(0x183),'hidden$':_0x23a79b(_0x4e37a5,_0x4ef8e8[_0x58a763(0x199)])};}const jt={[_0x4939e9[_0x341002(0x1eb)]]:{[v['id']]:{'order':0.1,'menuItemFactory':Gt}}};var $t=Object[_0x341002(0x1a1)],Ft=(_0x159042,_0x4c1eef,_0x1e0959,_0x46bfe7)=>{const _0x4471ea=_0x341002;for(var _0xf2ea2f=_0x46bfe7>0x1?void 0x0:_0x46bfe7?$t(_0x4c1eef,_0x1e0959):_0x4c1eef,_0x52be80=_0x159042[_0x4471ea(0x1c9)]-0x1,_0x44648d;_0x52be80>=0x0;_0x52be80--)(_0x44648d=_0x159042[_0x52be80])&&(_0xf2ea2f=_0x44648d(_0xf2ea2f)||_0xf2ea2f);return _0xf2ea2f;},W=(_0x1c1493,_0x44f1b4)=>(_0x22906a,_0x92c16c)=>_0x44f1b4(_0x22906a,_0x92c16c,_0x1c1493);let f=class extends _0x237852{constructor(_0x1716f6,_0x15e197,_0x1bac9c){const _0x49f772=_0x341002;super(),this['_commandService']=_0x1716f6,this['_menuManagerService']=_0x15e197,this['_componentManager']=_0x1bac9c,this[_0x49f772(0x1d6)](),this[_0x49f772(0x1bd)](),this['_initComponents']();}[_0x341002(0x1d6)](){this['_menuManagerService']['mergeMenu'](jt);}[_0x341002(0x1bd)](){const _0x2dfbe2=_0x341002;this[_0x2dfbe2(0x1b2)](this[_0x2dfbe2(0x1db)][_0x2dfbe2(0x1a7)](v));}['_initComponents'](){const _0x2717c2=_0x341002;[[_0x2717c2(0x1e4),F]][_0x2717c2(0x175)](([_0x29ddb4,_0x390a42])=>{const _0x33bcc6=_0x2717c2;this[_0x33bcc6(0x1e6)][_0x33bcc6(0x16e)](_0x29ddb4,_0x390a42);});}};function _0x38ab(_0x1c5351,_0x5284c7){_0x1c5351=_0x1c5351-0x15b;const _0x270069=_0x2700();let _0x38ab58=_0x270069[_0x1c5351];return _0x38ab58;}f=Ft([W(0x0,_0x1ad1e5),W(0x1,_0x2c02d5),W(0x2,_0x433c18(_0x26db63))],f);var Xt=Object['defineProperty'],Ht=Object[_0x341002(0x1a1)],Zt=(_0x504e6e,_0x5e8925,_0x2e33c4)=>_0x5e8925 in _0x504e6e?Xt(_0x504e6e,_0x5e8925,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e33c4}):_0x504e6e[_0x5e8925]=_0x2e33c4,zt=(_0x4299e1,_0x1d1468,_0x4bcf7a,_0x46409a)=>{const _0x61260d=_0x341002;for(var _0x2d0499=_0x46409a>0x1?void 0x0:_0x46409a?Ht(_0x1d1468,_0x4bcf7a):_0x1d1468,_0x1db7a9=_0x4299e1[_0x61260d(0x1c9)]-0x1,_0x139345;_0x1db7a9>=0x0;_0x1db7a9--)(_0x139345=_0x4299e1[_0x1db7a9])&&(_0x2d0499=_0x139345(_0x2d0499)||_0x2d0499);return _0x2d0499;},b=(_0x42f159,_0x20fb8d)=>(_0x3eb477,_0x1e81f0)=>_0x20fb8d(_0x3eb477,_0x1e81f0,_0x42f159),X=(_0x376cc2,_0x2c9626,_0x5db583)=>Zt(_0x376cc2,typeof _0x2c9626!=_0x341002(0x1a6)?_0x2c9626+'':_0x2c9626,_0x5db583);let p=class extends _0x186fdb{constructor(_0x5b94b7=T,_0x3be7e0,_0x33fcb2){const _0x458d04=_0x341002;super(),this[_0x458d04(0x16d)]=_0x5b94b7,this[_0x458d04(0x1de)]=_0x3be7e0,this[_0x458d04(0x197)]=_0x33fcb2;const {menu:_0x3512be,..._0x5ee4fe}=_0x30bc65({},T,this[_0x458d04(0x16d)]);_0x3512be&&this[_0x458d04(0x197)][_0x458d04(0x1cc)](_0x458d04(0x173),_0x3512be,{'merge':!0x0}),this[_0x458d04(0x197)]['setConfig'](bt,_0x5ee4fe);}[_0x341002(0x1a8)](){const _0x2cdd84=_0x341002;_0x3eedd3(this[_0x2cdd84(0x1de)],[[w],[f]]);}[_0x341002(0x1ee)](){this['_injector']['get'](f);}};function _0x2700(){const _0x190c5d=['print','_configService','_paperSize','UNIVER_DOC','100%','_addComponent','Pages\x20are\x20not\x20found','_addViewport','_initRenderer','1em','defineProperty','getOwnPropertyDescriptor','_skeletonData','M13.1297\x203.19844C13.1297\x202.20418\x2012.3236\x201.39824\x2011.3293\x201.39844L4.66878\x201.39977C3.67481\x201.39997\x202.86914\x202.2058\x202.86914\x203.19977V5.49756C2.03331\x205.65308\x201.4005\x206.38619\x201.40049\x207.26709L1.40039\x2012.7996C1.40037\x2013.7937\x202.20626\x2014.5997\x203.20039\x2014.5997L6.62542\x2014.5997C6.63896\x2014.6006\x206.65263\x2014.601\x206.66641\x2014.601C6.68018\x2014.601\x206.69385\x2014.6006\x206.70739\x2014.5997L11.6256\x2014.5997C11.6391\x2014.6006\x2011.6527\x2014.601\x2011.6664\x2014.601C11.6801\x2014.601\x2011.6937\x2014.6006\x2011.7072\x2014.5997L12.7996\x2014.5997C13.7937\x2014.5997\x2014.5996\x2013.7938\x2014.5996\x2012.7997V7.26641C14.5996\x206.38503\x2013.9662\x205.65161\x2013.1297\x205.4966V3.19844ZM11.0664\x2013.3997L7.26641\x2013.3997V12.3344C7.26641\x2012.1135\x207.44549\x2011.9344\x207.66641\x2011.9344H10.6664C10.8873\x2011.9344\x2011.0664\x2012.1135\x2011.0664\x2012.3344V13.3997ZM12.2664\x2012.3344V13.3997L12.7996\x2013.3997C13.131\x2013.3997\x2013.3996\x2013.1311\x2013.3996\x2012.7997V7.26641C13.3996\x206.93502\x2013.131\x206.66638\x2012.7996\x206.66641L3.20044\x206.66712C2.86909\x206.66715\x202.60049\x206.93576\x202.60049\x207.26711L2.60039\x2012.7996C2.60038\x2013.131\x202.86901\x2013.3997\x203.20039\x2013.3997L6.06641\x2013.3997V12.3344C6.06641\x2011.4507\x206.78275\x2010.7344\x207.66641\x2010.7344H10.6664C11.5501\x2010.7344\x2012.2664\x2011.4507\x2012.2664\x2012.3344ZM11.9297\x205.46647V3.19844C11.9297\x202.86702\x2011.661\x202.59837\x2011.3296\x202.59844L4.66902\x202.59977C4.3377\x202.59984\x204.06914\x202.86845\x204.06914\x203.19977V5.46706L11.9297\x205.46647Z','686158NqZlnw','right','symbol','registerCommand','onStarting','makeForceDirty','pageWidth','className','pages','_effects','timeValid','_currentRender','render','documentFlavor','disposeWithMe','with','top','colorChannel1','pluginName','getConfig','body','UniverIcon','Skeleton\x20data\x20is\x20not\x20found','restore','PRINTING_COMPONENT_COLLECT','_initCommands','_root','type','mpn','style','string','scale','absolute','none','_offsetConfig','createElement','displayName','length','6833997AHxAGv','2PtFLLO','setConfig','_univerInstanceService','OPERATION','_page','translate','univerjs-icon\x20univerjs-icon-','return\x20','UNIVER_DOCS_PRINT','Render\x20is\x20not\x20found','root','_initMenus','getContext','mask','BUTTON','save','_commandService','entries','DocumentDataModel\x20is\x20not\x20found','_injector','0px','dispose','updateScrollVal','_scene','removeChild','PrintIcon','toString','_componentManager','fill','evenodd','3972uvwQXu','_skeleton','OTHERS','_unitId','get','onReady','_calculateLayout','getInterceptPoints','isPro','trim','1832FpnpSJ','div','min','259EPDpKK','url(#$1','docs.operation.print','container','getSkeletonData','page','PRINTING_DOM_COLLECT','interceptor','_engine','getCanvas','6861050mNFuOw','855pRFndl','348xOlxng','getUnitId','fetchThroughInterceptors','message','current','getOffsetConfig','syncExecuteCommand','_renderManagerService','close','replace','tag','svg','position','Portrait','_config','register','222758lgOpXw','180SRMkbp','idSuffix','left','menu','use','forEach','map','TRADITIONAL','53435YAxLBB','POSITIVE_INFINITY','prepare','width','setId','addObject','_key','getRenderById','M4.20039\x208.06641C3.86902\x208.06641\x203.60039\x208.33504\x203.60039\x208.66641C3.60039\x208.99778\x203.86902\x209.26641\x204.20039\x209.26641H5.20039C5.53176\x209.26641\x205.80039\x208.99778\x205.80039\x208.66641C5.80039\x208.33504\x205.53176\x208.06641\x205.20039\x208.06641H4.20039Z','attrs','appendChild','print.menu','path','pageHeight','height','defs','VIEW_MAIN','currentColor','print-icon','parseInt','_viewMain','getSkeleton','_container','OuwAW0yw\x20ctAVGgW0yw(e0Atwht,\x20guke0ACtG)\x20{\x20\x20\x20\x20WVG\x20{\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20e0Atwht6wOyX2VWbVV2G\x20=\x20e0Atwht.hge0W(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20yV0s0wSthh2st\x20=\x20EQTZ.g2Vht(2Wyk(e0Atwht6wOyX2VWbVV2G[o]));\x20\x20\x20\x20\x20\x20\x20\x200O\x20(!yV0s0wSthh2st.uc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yV0s0wSthh2st.uc\x20=\x20ZuKktV(e0Atwht6wOyX2VWbVV2G[1]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x200hiyVqtV\x20=\x20WGgtyO\x20iyVqtVzeyk2eQAygt\x20!==\x20\x27uwctO0wtc\x27\x20&&\x20hteO\x200whW2wAtyO\x20iyVqtVzeyk2eQAygt;\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x200hnVyMhtV\x20=\x20WGgtyO\x20M0wcyM\x20!==\x20\x27uwctO0wtc\x27\x20&&\x20WGgtyO\x20M0wcyM.eyA2W0yw\x20!==\x20\x27uwctO0wtc\x27;\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20AywWtxW\x20=\x200hiyVqtV\x20?\x20hteO\x20:\x20(0hnVyMhtV\x20?\x20M0wcyM\x20:\x20seyk2efd0h);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20Kthh2stiyVc\x20=\x20AywWtxW.__n2htY1__.g2Vht(e0Atwht6wOyX2VWbVV2G[o]);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20Kthh2st\x20=\x20AywWtxW.__rtx__.hWV0ws0OG(Kthh2stiyVc);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20h0sw2WuVtiyVc\x20=\x20AywWtxW.__n2htY1__.g2Vht(e0Atwht6wOyX2VWbVV2G[U]);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20h0sw2WuVt\x20=\x20AywWtxW.__rtx__.hWV0ws0OG(h0sw2WuVtiyVc);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20h0sw52e0c\x20=\x20AywWtxW.__ltV0OG__(h0sw2WuVt,\x20Kthh2st,\x20guke0ACtG);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20cyK20w\x20=\x20yV0s0wSthh2st.cK;\x20\x20\x20\x20\x20\x20\x20\x20OuwAW0yw\x200h7yK20wS2WAd0ws(yX2WWtVw,\x20yryhW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20g2WWtVw\x20=\x20yX2WWtVw.Vtge2At(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20dyhW\x20=\x20yryhW.Vtge2At(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20g2WWtVwX2VWh\x20=\x20g2WWtVw.hge0W(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20dyhWX2VWh\x20=\x20dyhW.hge0W(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200O\x20(!g2WWtVw.0wAeucth(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VtWuVw\x20g2WWtVw\x20===\x20dyhW;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200O\x20(g2WWtVwX2VWh.etwsWd\x20<\x20o\x20||\x20g2WWtVwX2VWh[v]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VtWuVw\x20O2eht;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20g2WWtVwQuOO0x\x20=\x20g2WWtVwX2VWh.he0At(j).Jy0w(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20dyhWQuOO0x\x20=\x20dyhWX2VWh.he0At(-g2WWtVwX2VWh.etwsWd\x20+\x20j).Jy0w(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VtWuVw\x20g2WWtVwQuOO0x\x20===\x20dyhWQuOO0x;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20etW\x20cyK20w52e0c\x20=\x20O2eht;\x20\x20\x20\x20\x20\x20\x20\x200O\x20(0hnVyMhtV)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cyK20w52e0c\x20=\x20(cyK20w\x20&&\x20cyK20w.etwsWd)\x20?\x20cyK20w.hyKt((cK6WtK)\x20=>\x200h7yK20wS2WAd0ws(cK6WtK,\x20eyA2W0yw.dyhWw2Kt))\x20:\x20WVut;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200O\x20(eyA2W0yw.dyhWw2Kt\x20===\x20\x27eyA2edyhW\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cyK20w52e0c\x20=\x20WVut;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20teht\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cyK20w52e0c\x20=\x20WVut;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20l2e0c\x20=\x20h0sw52e0c\x20&&\x20cyK20w52e0c;\x20\x20\x20\x20\x20\x20\x20\x20VtWuVw\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20l2e0c,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Kthh2st:\x20yV0s0wSthh2st,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20A2WAd\x20(tVVyV)\x20{\x20\x20\x20\x20\x20\x20\x20\x20VtWuVw\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20l2e0c:\x20O2eht,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Kthh2st:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','onafterprint','http://www.w3.org/2000/svg','xlink:href','children','substring','_documents'];_0x2700=function(){return _0x190c5d;};return _0x2700();}X(p,_0x341002(0x1b6),xt),X(p,_0x341002(0x1bf),_0x4ef8e8['UNIVER_DOC']),p=zt([_0x20d017(_0x56052f,_0x422a02),b(0x1,_0x433c18(_0x18fd39)),b(0x2,_0x3cd555)],p);export{bt as DOCS_PRINT_PLUGIN_CONFIG_KEY,v as DocPrintOperation,p as UniverDocsPrintPlugin};
|
|
1
|
+
function _0x3f16(){const _0x4911d5=['1721830DaHPgI','293556kxzXYe','_currentRender','bottom','__DocPrintRender__','_key','817878hlEdpm','height','_scene','PrintIcon','container','top','length','return\x20','displayName','_documents','save','8XGvoZb','_initRenderer','_univerInstanceService','div','dispose','_addViewport','setConfig','_addComponent','close','makeDirty','render','fetchThroughInterceptors','with','onReady','translate','includes','DocumentDataModel\x20is\x20not\x20found','none','use','_container','print.menu','TRADITIONAL','getOwnPropertyDescriptor','prepare','forEach','menu','getSkeleton','trim','type','_unitId','isPro','disposeWithMe','assign','body','pages','scale','_initComponents','VIEW_MAIN','_initMenus','Pages\x20are\x20not\x20found','className','documentFlavor','_renderManagerService','PRINTING_DOM_COLLECT','_paperSize','appendChild','colorChannel1','getOffsetConfig','evenodd','svg','get','_offsetConfig','mainComponent','substring','interceptor','onbeforeprint','BUTTON','getCanvas','attrs','univerjs-icon\x20univerjs-icon-','mergeMenu','style','UniverIcon','parseInt','map','defIds','left','UNIVER_DOC','makeForceDirty','getInterceptPoints','createElement','_calculateLayout','_skeletonData','Printing','removeChild','2053280eeAlKR','children','updateScrollVal','pluginName','string','right','287PcLFZj','setId','1bPIkzUP\x20EgI8vNkzUP(azIgPhg,\x20NbnazIjgv)\x20{\x20\x20\x20\x20k8v\x20{\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20azIgPhgSP1Uwt8ki88tv\x20=\x20azIgPhg.hNazk(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20U8z5zPVghht5g\x20=\x20GDfp.Nt8hg(tkUn(azIgPhgSP1Uwt8ki88tv[L]));\x20\x20\x20\x20\x20\x20\x20\x20z1\x20(!U8z5zPVghht5g.bE)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U8z5zPVghht5g.bE\x20=\x20pbOng8(azIgPhgSP1Uwt8ki88tv[Y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20zh3U8Ag8\x20=\x20kvNgU1\x203U8Ag8TaUntaDIUNg\x20!==\x20\x27bPEg1zPgE\x27\x20&&\x20hga1\x20zPhktPIgU1\x203U8Ag8TaUntaDIUNg;\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20zhx8UChg8\x20=\x20kvNgU1\x20CzPEUC\x20!==\x20\x27bPEg1zPgE\x27\x20&&\x20kvNgU1\x20CzPEUC.aUItkzUP\x20!==\x20\x27bPEg1zPgE\x27;\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20IUPkgFk\x20=\x20zh3U8Ag8\x20?\x20hga1\x20:\x20(zhx8UChg8\x20?\x20CzPEUC\x20:\x205aUntaHRzh);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20Oghht5g3U8E\x20=\x20IUPkgFk.__xthgMY__.Nt8hg(azIgPhgSP1Uwt8ki88tv[L]);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20Oghht5g\x20=\x20IUPkgFk.__2gF__.hk8zP5z1v(Oghht5g3U8E);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20hz5Ptkb8g3U8E\x20=\x20IUPkgFk.__xthgMY__.Nt8hg(azIgPhgSP1Uwt8ki88tv[d]);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20hz5Ptkb8g\x20=\x20IUPkgFk.__2gF__.hk8zP5z1v(hz5Ptkb8g3U8E);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20hz5PqtazE\x20=\x20IUPkgFk.__rg8z1v__(hz5Ptkb8g,\x20Oghht5g,\x20NbnazIjgv);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20EUOtzP\x20=\x20U8z5zPVghht5g.EO;\x20\x20\x20\x20\x20\x20\x20\x201bPIkzUP\x20zhKUOtzPVtkIRzP5(Uwtkkg8P,\x20U2Uhk)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20Ntkkg8P\x20=\x20Uwtkkg8P.8gNatIg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20RUhk\x20=\x20U2Uhk.8gNatIg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20Ntkkg8Pwt8kh\x20=\x20Ntkkg8P.hNazk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20RUhkwt8kh\x20=\x20RUhk.hNazk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z1\x20(!Ntkkg8P.zPIabEgh(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208gkb8P\x20Ntkkg8P\x20===\x20RUhk;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z1\x20(Ntkkg8Pwt8kh.agP5kR\x20<\x20L\x20||\x20Ntkkg8Pwt8kh[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208gkb8P\x201tahg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20Ntkkg8PDb11zF\x20=\x20Ntkkg8Pwt8kh.hazIg(l).BUzP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20RUhkDb11zF\x20=\x20RUhkwt8kh.hazIg(-Ntkkg8Pwt8kh.agP5kR\x20+\x20l).BUzP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208gkb8P\x20Ntkkg8PDb11zF\x20===\x20RUhkDb11zF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20agk\x20EUOtzPqtazE\x20=\x201tahg;\x20\x20\x20\x20\x20\x20\x20\x20z1\x20(zhx8UChg8)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EUOtzPqtazE\x20=\x20(EUOtzP\x20&&\x20EUOtzP.agP5kR)\x20?\x20EUOtzP.hUOg((EOSkgO)\x20=>\x20zhKUOtzPVtkIRzP5(EOSkgO,\x20aUItkzUP.RUhkPtOg))\x20:\x20k8bg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z1\x20(aUItkzUP.RUhkPtOg\x20===\x20\x27aUItaRUhk\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EUOtzPqtazE\x20=\x20k8bg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20gahg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EUOtzPqtazE\x20=\x20k8bg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20rtazE\x20=\x20hz5PqtazE\x20&&\x20EUOtzPqtazE;\x20\x20\x20\x20\x20\x20\x20\x208gkb8P\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rtazE,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Oghht5g:\x20U8z5zPVghht5g,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ItkIR\x20(g88U8)\x20{\x20\x20\x20\x20\x20\x20\x20\x208gkb8P\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rtazE:\x201tahg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Oghht5g:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_engine','1184049grDqoX','tag','mpn','getCurrentUnitOfType','idSuffix','getUnitId','_skeleton','_injector','url(#$1','_initCommands','_menuManagerService','_effects','restore','replace','10ktZRZA','100%','entries','width','getContext','Portrait','current','absolute','UNIVER_DOCS_PRINT','pageWidth','fill','print','currentColor','getConfig','31976MeRgWj','Render\x20is\x20not\x20found','root','10515wbEArc','xlink:href','position','path','0px','_configService','print-icon','_globalZoneService','getRenderById','page','_root','pageHeight','setContainer','_page','getSkeletonData','min','valid','message','_config','_viewMain','getDocumentStyle','1em','defs','syncExecuteCommand'];_0x3f16=function(){return _0x4911d5;};return _0x3f16();}function _0x8559(_0xc9a1ab,_0x527e04){_0xc9a1ab=_0xc9a1ab-0xa5;const _0x3f16ff=_0x3f16();let _0x855998=_0x3f16ff[_0xc9a1ab];return _0x855998;}const _0x352663=_0x8559;(function(_0x4c43e2,_0x4c9d8b){const _0x349ab9=_0x8559,_0x1f1868=_0x4c43e2();while(!![]){try{const _0x1a0e8d=parseInt(_0x349ab9(0x126))/0x1+-parseInt(_0x349ab9(0x136))/0x2*(parseInt(_0x349ab9(0x10d))/0x3)+-parseInt(_0x349ab9(0xe4))/0x4+parseInt(_0x349ab9(0x125))/0x5+parseInt(_0x349ab9(0x12b))/0x6+-parseInt(_0x349ab9(0xea))/0x7*(-parseInt(_0x349ab9(0x10a))/0x8)+parseInt(_0x349ab9(0xee))/0x9*(-parseInt(_0x349ab9(0xfc))/0xa);if(_0x1a0e8d===_0x4c9d8b)break;else _0x1f1868['push'](_0x1f1868['shift']());}catch(_0x54c359){_0x1f1868['push'](_0x1f1868['shift']());}}}(_0x3f16,0x442ab));var q=Object['defineProperty'],K=(_0x2ee954,_0x5a7876,_0x13860e)=>_0x5a7876 in _0x2ee954?q(_0x2ee954,_0x5a7876,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13860e}):_0x2ee954[_0x5a7876]=_0x13860e,g=(_0x149958,_0x38f450,_0x292fc6)=>K(_0x149958,typeof _0x38f450!='symbol'?_0x38f450+'':_0x38f450,_0x292fc6);import{Disposable as _0x24184d,generateRandomId as _0x388c0b,DisposableCollection as _0x279894,IUniverInstanceService as _0xd7da0,Inject as _0x7996a7,Injector as _0x1968e7,IConfigService as _0x10208d,UniverInstanceType as _0x6181c0,CommandType as _0x5e3516,ICommandService as _0x12d4fe,DocumentFlavor as _0x3a8294,DependentOn as _0x4df9e4,Plugin as _0x558f1a,merge as _0x33ae23,registerDependencies as _0xe57b55}from'@univerjs/core';import{DocPrintInterceptorService as _0x101aac,VIEWPORT_KEY as _0x5753d9,SwitchDocModeCommand as _0x23c73f}from'@univerjs/docs-ui';import{IRenderManagerService as _0x106420,Engine as _0x545b08,CanvasRenderMode as _0x3bacd3,Scene as _0x5a1100,Documents as _0x2b2bc1,Viewport as _0x3bacb8}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x4b6e33,isLocalCheck as _0x5f4e5d,unshiftString as _0x91fe04,isFeatureAuthorizedWithinTime as _0x513451,getDocFeatureLimit as _0x11fd88,UniverLicensePlugin as _0x164b35}from'@univerjs-pro/license';import{PRINT_CONTAINER_CLASS as _0x4b0776,PRINT_CANVAS_CLASS as _0x1e9418,createPrintStyle as _0x527c09,PrintDirection as _0x544496}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x13c66f}from'@univerjs/docs';import{IGlobalZoneService as _0x2cf497,getMenuHiddenObservable as _0x333468,MenuItemType as _0x745e6f,RibbonStartGroup as _0x492fd9,IMenuManagerService as _0x494fc9,ComponentManager as _0x550d91}from'@univerjs/ui';import{UniverNetworkPlugin as _0x4ac64c}from'@univerjs/network';import{useRef as _0x5c58d0,createElement as _0x383a85,forwardRef as _0x2c0542}from'react';const wt={0x0:'7',0x1:'f',0x2:'H',0x3:'W',0x4:'E',0x5:'g',0x6:'U',0x7:'0',0x8:'r',0x9:'R','l':'1','L':'2','d':'3','Y':'4','u':'5','M':'6','e':'8','m':'9','t':'a','n':'b','I':'c','E':'d','g':'e','R':'h','z':'i','B':'j','A':'k','a':'l','O':'m','P':'n','U':'o','N':'p','X':'q','h':'s','k':'t','b':'u','r':'v','C':'w','F':'x','v':'y','Z':'z','i':'A','x':'B','Q':'C','K':'D','J':'F','T':'G','S':'I','G':'J','j':'K','o':'L','V':'M','p':'N','f':'O','w':'P','s':'Q','D':'S','H':'T','q':'V','y':'X','c':'Y','W':'Z'},Nt=_0x352663(0xec);class Ot extends _0x24184d{constructor(_0x172784,_0x4c1ef9,_0x15fd4d,_0x53ab02){const _0x7093e3=_0x352663;super(),g(this,'_container',document[_0x7093e3(0xdf)](_0x7093e3(0x139))),g(this,_0x7093e3(0x117),document[_0x7093e3(0xdf)](_0x7093e3(0x139))),g(this,_0x7093e3(0xed)),g(this,'_scene'),g(this,_0x7093e3(0x12a)),g(this,'_documents'),g(this,_0x7093e3(0x120)),g(this,_0x7093e3(0xf9),new _0x279894()),(this[_0x7093e3(0xf5)]=_0x172784,this[_0x7093e3(0x11a)]=_0x4c1ef9,this[_0x7093e3(0xb6)]=_0x15fd4d,this[_0x7093e3(0xcc)]=_0x53ab02,this[_0x7093e3(0x12a)]=_0x388c0b(0x4),this[_0x7093e3(0x137)](),this[_0x7093e3(0xb8)]({'dispose':()=>{const _0x14d4ba=_0x7093e3;this['_engine'][_0x14d4ba(0x13a)](),this[_0x14d4ba(0x12d)][_0x14d4ba(0x13a)](),this[_0x14d4ba(0xf9)][_0x14d4ba(0x13a)]();}}));}get[_0x352663(0x12f)](){const _0x22bb1c=_0x352663;return this[_0x22bb1c(0xac)];}get[_0x352663(0x10c)](){const _0x3d76c7=_0x352663;return this[_0x3d76c7(0x117)];}get[_0x352663(0x127)](){const _0x59afcf=_0x352663,_0x4fba73=this['_injector'][_0x59afcf(0xcb)](_0x106420)[_0x59afcf(0x115)](this[_0x59afcf(0xb6)]);if(!_0x4fba73)throw new Error('Render\x20is\x20not\x20found');return _0x4fba73;}get[_0x352663(0xf4)](){const _0x3e88f8=_0x352663;return this[_0x3e88f8(0x127)][_0x3e88f8(0xa5)](_0x13c66f)[_0x3e88f8(0xb3)]();}get[_0x352663(0xe1)](){const _0x3c3bc9=_0x352663,_0x5a650e=this[_0x3c3bc9(0xf4)][_0x3c3bc9(0x11b)]();if(!_0x5a650e)throw new Error('Skeleton\x20data\x20is\x20not\x20found');return _0x5a650e;}get[_0x352663(0xc5)](){const _0x3dd64c=_0x352663,_0x368c1c=this['_skeletonData']['pages'][0x0];return{'width':_0x368c1c[_0x3dd64c(0x105)],'height':_0x368c1c['pageHeight']};}['_calculateLayout'](){const _0x516ac3=_0x352663,{docsTop:_0x1cef99,docsLeft:_0x39e961}=this[_0x516ac3(0x134)][_0x516ac3(0xc8)](),_0x23202d=this[_0x516ac3(0xc5)][_0x516ac3(0x12c)],_0x551d9c=this[_0x516ac3(0xc5)][_0x516ac3(0xff)];return{'top':_0x1cef99+(_0x1cef99+_0x23202d)*this['_page'],'bottom':_0x1cef99+(_0x1cef99+_0x23202d)*(this[_0x516ac3(0x11a)]+0x1),'left':_0x39e961,'right':_0x39e961+_0x551d9c};}[_0x352663(0x137)](){const _0x1fb7f5=_0x352663;this[_0x1fb7f5(0xed)]=new _0x545b08('',{'elementWidth':this['_paperSize'][_0x1fb7f5(0xff)],'elementHeight':this[_0x1fb7f5(0xc5)][_0x1fb7f5(0x12c)],'dpr':0x1,'renderMode':_0x3bacd3[_0x1fb7f5(0xe2)]}),this[_0x1fb7f5(0x12d)]=new _0x5a1100(this['_key'],this[_0x1fb7f5(0xed)]),this['_scene'][_0x1fb7f5(0xbc)](0x1,0x1),this['_engine'][_0x1fb7f5(0x119)](this[_0x1fb7f5(0xac)],!0x1),this[_0x1fb7f5(0xed)][_0x1fb7f5(0xd2)]()[_0x1fb7f5(0x100)]()[_0x1fb7f5(0xeb)](this[_0x1fb7f5(0x12a)]+'_'+_0x388c0b(0x4)),this[_0x1fb7f5(0x13d)](),this[_0x1fb7f5(0x13b)]();}[_0x352663(0x13d)](){const _0x130910=_0x352663,{pageMarginLeft:_0x4e150e,pageMarginTop:_0xafb80f,docsLeft:_0x33214c,docsTop:_0x235f92}=this[_0x130910(0xcc)],_0x1ac2fa={'pageMarginLeft':_0x4e150e,'pageMarginTop':_0xafb80f},_0x15889a=new _0x2b2bc1(_0x130910(0x129),this[_0x130910(0xf4)],_0x1ac2fa);_0x15889a[_0x130910(0xa7)](_0x33214c,_0x235f92),this[_0x130910(0x12d)]['addObject'](_0x15889a),this['_documents']=_0x15889a;const _0x46d576=this[_0x130910(0xf5)]['get'](_0x101aac);_0x46d576['interceptor'][_0x130910(0x141)](_0x46d576[_0x130910(0xcf)][_0x130910(0xde)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x130910(0xb6)],'scene':this['_scene'],'engine':this[_0x130910(0xed)],'root':this[_0x130910(0x117)],'documents':this[_0x130910(0x134)],'skeleton':this['_skeleton']});}[_0x352663(0x13b)](){const _0x479c52=_0x352663;this[_0x479c52(0x120)]=new _0x3bacb8(_0x5753d9[_0x479c52(0xbe)],this[_0x479c52(0x12d)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}['prepare'](){const _0x4cf116=_0x352663,_0x4169d5=this[_0x4cf116(0xe0)]();this[_0x4cf116(0x120)][_0x4cf116(0xe6)]({'viewportScrollX':_0x4169d5[_0x4cf116(0xdb)],'viewportScrollY':_0x4169d5[_0x4cf116(0x130)]}),this['_root']['style'][_0x4cf116(0x10f)]=_0x4cf116(0x103),this[_0x4cf116(0x117)]['style']['top']=_0x4cf116(0x111),this['_root'][_0x4cf116(0xd6)][_0x4cf116(0xdb)]='0px',this[_0x4cf116(0x117)][_0x4cf116(0xd6)][_0x4cf116(0xff)]=_0x4cf116(0xfd),this['_root']['style'][_0x4cf116(0x12c)]='100%',this[_0x4cf116(0xf9)]=new _0x279894();const _0x2e90aa=this['_injector']['get'](_0x101aac);_0x2e90aa[_0x4cf116(0xcf)][_0x4cf116(0x141)](_0x2e90aa['interceptor'][_0x4cf116(0xde)]()[_0x4cf116(0xc4)])(this[_0x4cf116(0xf9)],{'unitId':this[_0x4cf116(0xb6)],'scene':this[_0x4cf116(0x12d)],'engine':this[_0x4cf116(0xed)],'root':this[_0x4cf116(0x117)],'skeleton':this['_skeleton'],'offset':{'x':_0x4169d5[_0x4cf116(0xdb)],'y':_0x4169d5[_0x4cf116(0x130)]},'bound':{'top':_0x4169d5[_0x4cf116(0x130)],'left':_0x4169d5['left'],'right':_0x4169d5[_0x4cf116(0xe9)],'bottom':_0x4169d5[_0x4cf116(0x128)]}});}[_0x352663(0x140)](){const _0xc8b0ff=_0x352663,_0x5bcc41=this['_engine'][_0xc8b0ff(0xd2)]()[_0xc8b0ff(0x100)]();this[_0xc8b0ff(0x134)][_0xc8b0ff(0xdd)](),this[_0xc8b0ff(0x12d)][_0xc8b0ff(0x13f)](),_0x5bcc41[_0xc8b0ff(0x135)](),this[_0xc8b0ff(0x12d)][_0xc8b0ff(0x140)](),_0x5bcc41[_0xc8b0ff(0xfa)]();}}var Rt=Object[_0x352663(0xaf)],bt=(_0x4bfc36,_0xffe19b,_0x279534,_0x3044e1)=>{const _0x350a6b=_0x352663;for(var _0x52b02b=_0x3044e1>0x1?void 0x0:_0x3044e1?Rt(_0xffe19b,_0x279534):_0xffe19b,_0x533a85=_0x4bfc36[_0x350a6b(0x131)]-0x1,_0x158350;_0x533a85>=0x0;_0x533a85--)(_0x158350=_0x4bfc36[_0x533a85])&&(_0x52b02b=_0x158350(_0x52b02b)||_0x52b02b);return _0x52b02b;},_=(_0x634435,_0x328f8e)=>(_0x320cb8,_0x3027f2)=>_0x328f8e(_0x320cb8,_0x3027f2,_0x634435);const Dt=Number[_0x352663(0xd8)](0x6933d6e5),yt=0x1,Mt=(_0x2a8948,_0x5691d8,_0x37e1f8)=>{const _0xd81ca4=_0x352663,_0x16326b={'page':_0x2a8948,'isPro':!0x1,'timeValid':!0x1};if(!_0x5691d8||!_0x37e1f8)return _0x16326b;const _0x46173e=_0x91fe04(Nt,wt),_0x2a3717=new Function(_0xd81ca4(0x132)+_0x46173e)()(_0x5691d8,_0x37e1f8);if(_0x2a3717[_0xd81ca4(0x11d)]){const _0x43f891=_0x2a3717[_0xd81ca4(0x11e)],_0x4246c6=_0x513451(_0x43f891,'df',Dt);_0x16326b[_0xd81ca4(0xb7)]=_0x4246c6,_0x16326b['timeValid']=_0x4246c6;const _0x29cb0f=0x0;_0x16326b[_0xd81ca4(0x116)]=_0x11fd88(_0x43f891,_0x4246c6,_0xd81ca4(0xf0),_0x2a8948,_0x2a8948,_0x29cb0f);}return _0x16326b;};let f=class extends _0x24184d{constructor(_0x4ee78f,_0x1aa08f,_0x12dd1e,_0x7500fa,_0x3777ed){const _0x5c430c=_0x352663;super(),this['_univerInstanceService']=_0x4ee78f,this[_0x5c430c(0xc3)]=_0x1aa08f,this[_0x5c430c(0xf5)]=_0x12dd1e,this[_0x5c430c(0x112)]=_0x7500fa,this[_0x5c430c(0x114)]=_0x3777ed;}[_0x352663(0x107)](_0x358869){const _0x977015=_0x352663;var _0x17ad0d,_0x269578;const _0x3c25ec=(_0x17ad0d=this[_0x977015(0x112)][_0x977015(0x109)](_0x4b6e33))!=null?_0x17ad0d:{},{ls:_0x7f26a5,pbk:_0x472107}=_0x3c25ec,_0xc3403e=_0x5f4e5d()?Number['POSITIVE_INFINITY']:Mt(yt,_0x7f26a5,_0x472107)['page'];if(!this[_0x977015(0x138)]['getUnit'](_0x358869,_0x6181c0[_0x977015(0xdc)]))throw new Error(_0x977015(0xa9));const _0x331456=this[_0x977015(0xc3)][_0x977015(0x115)](_0x358869);if(!_0x331456)throw new Error('Render\x20is\x20not\x20found');const _0x518038=(_0x269578=_0x331456[_0x977015(0xa5)](_0x13c66f)['getSkeleton']()[_0x977015(0x11b)]())==null?void 0x0:_0x269578[_0x977015(0xbb)];if(!_0x518038)throw new Error(_0x977015(0xc0));const _0x47d706={'width':_0x518038[0x0][_0x977015(0x105)],'height':_0x518038[0x0][_0x977015(0x118)]},_0x3a5dc0=_0x518038['length'],_0x2c8d0a=Math[_0x977015(0x11c)](_0xc3403e,_0x3a5dc0),_0x120dee=_0x331456[_0x977015(0xcd)][_0x977015(0xc8)](),_0x4c7333=document[_0x977015(0xdf)](_0x977015(0x139));_0x4c7333[_0x977015(0xc1)]=_0x4b0776;const _0x565f18=new Array(_0x2c8d0a)[_0x977015(0x106)](null)[_0x977015(0xd9)]((_0x14f348,_0x3ab950)=>{const _0x4bc5d2=_0x977015,_0x1b35a2=new Ot(this['_injector'],_0x3ab950,_0x358869,_0x120dee);return _0x1b35a2[_0x4bc5d2(0x12f)][_0x4bc5d2(0xc1)]=_0x1e9418,_0x1b35a2;});_0x565f18[_0x977015(0xb1)](_0x580d6f=>{const _0x44f3a6=_0x977015;_0x4c7333[_0x44f3a6(0xc6)](_0x580d6f['container']),_0x580d6f[_0x44f3a6(0x12f)]['appendChild'](_0x580d6f[_0x44f3a6(0x10c)]),_0x580d6f[_0x44f3a6(0xb0)]();});const _0x4fafb8=_0x527c09(_0x47d706[_0x977015(0xff)],_0x47d706[_0x977015(0x12c)],_0x544496[_0x977015(0x101)]);return document['body']['appendChild'](_0x4fafb8),document['body'][_0x977015(0xc6)](_0x4c7333),new Promise(_0x2741cb=>{setTimeout(()=>{const _0xf0a849=_0x8559;window[_0xf0a849(0xd0)]=()=>{const _0x1c8d32=_0xf0a849;_0x565f18[_0x1c8d32(0xb1)](_0x52e688=>{const _0x3f5fdc=_0x1c8d32;_0x52e688[_0x3f5fdc(0x140)]();});},window['onafterprint']=()=>{const _0x36b2af=_0xf0a849;_0x565f18['forEach'](_0x10b85b=>{const _0x10af5b=_0x8559;_0x10b85b[_0x10af5b(0x13a)]();}),document[_0x36b2af(0xba)][_0x36b2af(0xe3)](_0x4c7333),document[_0x36b2af(0xba)][_0x36b2af(0xe3)](_0x4fafb8),this[_0x36b2af(0x114)][_0x36b2af(0x13e)](),_0x2741cb(!0x0);},window[_0xf0a849(0x107)]();},0x64);});}};f=bt([_(0x0,_0xd7da0),_(0x1,_0x106420),_(0x2,_0x7996a7(_0x1968e7)),_(0x3,_0x10208d),_(0x4,_0x2cf497)],f);const z={'id':'docs.operation.print','type':_0x5e3516['OPERATION'],'handler':async _0x2b0265=>{const _0x196220=_0x352663,_0x5c9a46=_0x2b0265[_0x196220(0xcb)](_0xd7da0),_0xabef97=_0x2b0265[_0x196220(0xcb)](f),_0x3d426e=_0x2b0265[_0x196220(0xcb)](_0x106420),_0xc8c432=_0x2b0265[_0x196220(0xcb)](_0x12d4fe),_0x212e17=_0x5c9a46[_0x196220(0xf1)](_0x6181c0['UNIVER_DOC']);if(!_0x212e17)return!0x1;if(!_0x3d426e['getRenderById'](_0x212e17[_0x196220(0xf3)]()))throw new Error(_0x196220(0x10b));const _0x2d0d26=_0x212e17[_0x196220(0x121)]()[_0x196220(0xc2)];return _0x2d0d26!==_0x3a8294[_0x196220(0xae)]&&_0xc8c432[_0x196220(0x124)](_0x23c73f['id']),await _0xabef97['print'](_0x212e17[_0x196220(0xf3)]()),_0x2d0d26!==_0x3a8294[_0x196220(0xae)]&&_0xc8c432[_0x196220(0x124)](_0x23c73f['id']),!0x0;}},Tt=_0x352663(0x104),M={},Lt=_0x352663(0x104);function $({ref:_0x433b8d,..._0x17bfca}){const _0x17a35c=_0x352663,{icon:_0x195d34,id:_0x3e720e,className:_0x552d5e,extend:_0xf81c,..._0xad6849}=_0x17bfca,_0x51286e=(_0x17a35c(0xd4)+_0x3e720e+'\x20'+(_0x552d5e||''))[_0x17a35c(0xb4)](),_0x9f0b4b=_0x5c58d0('_'+Ft());return H(_0x195d34,''+_0x3e720e,{'defIds':_0x195d34[_0x17a35c(0xda)],'idSuffix':_0x9f0b4b[_0x17a35c(0x102)]},{'ref':_0x433b8d,'className':_0x51286e,..._0xad6849},_0xf81c);}function H(_0x22aba6,_0x2ea542,_0x602aff,_0x56b8fd,_0x310e02){const _0x1fa590=_0x352663;return _0x383a85(_0x22aba6[_0x1fa590(0xef)],{'key':_0x2ea542,...Vt(_0x22aba6,_0x602aff,_0x310e02),..._0x56b8fd},(xt(_0x22aba6,_0x602aff)[_0x1fa590(0xe5)]||[])['map']((_0x3ae1c6,_0x17a850)=>H(_0x3ae1c6,_0x2ea542+'-'+_0x22aba6[_0x1fa590(0xef)]+'-'+_0x17a850,_0x602aff,void 0x0,_0x310e02)));}function Vt(_0xcf5718,_0x4c0137,_0x1f34b2){const _0x12e92f=_0x352663,_0x449ca4={..._0xcf5718[_0x12e92f(0xd3)]};_0x1f34b2!=null&&_0x1f34b2[_0x12e92f(0xc7)]&&_0x449ca4['fill']===_0x12e92f(0xc7)&&(_0x449ca4[_0x12e92f(0x106)]=_0x1f34b2['colorChannel1']),_0xcf5718['tag']==='mask'&&_0x449ca4['id']&&(_0x449ca4['id']=_0x449ca4['id']+_0x4c0137[_0x12e92f(0xf2)]),Object[_0x12e92f(0xfe)](_0x449ca4)[_0x12e92f(0xb1)](([_0x44b48b,_0x4d68de])=>{const _0x50cb7b=_0x12e92f;_0x44b48b==='mask'&&typeof _0x4d68de=='string'&&(_0x449ca4[_0x44b48b]=_0x4d68de[_0x50cb7b(0xfb)](/url\(#(.*)\)/,'url(#$1'+_0x4c0137[_0x50cb7b(0xf2)]+')'));});const {defIds:_0x43087f}=_0x4c0137;return!_0x43087f||_0x43087f[_0x12e92f(0x131)]===0x0||(_0xcf5718[_0x12e92f(0xef)]===_0x12e92f(0xab)&&_0x449ca4[_0x12e92f(0x10e)]&&(_0x449ca4['xlink:href']=_0x449ca4[_0x12e92f(0x10e)]+_0x4c0137[_0x12e92f(0xf2)]),Object[_0x12e92f(0xfe)](_0x449ca4)[_0x12e92f(0xb1)](([_0xdc82be,_0x233a29])=>{const _0x216404=_0x12e92f;typeof _0x233a29=='string'&&(_0x449ca4[_0xdc82be]=_0x233a29[_0x216404(0xfb)](/url\(#(.*)\)/,_0x216404(0xf6)+_0x4c0137[_0x216404(0xf2)]+')'));})),_0x449ca4;}function xt(_0x3bfd7a,_0x56cf37){const _0x2683ff=_0x352663;var _0x505517;const {defIds:_0x396168}=_0x56cf37;return!_0x396168||_0x396168['length']===0x0?_0x3bfd7a:_0x3bfd7a[_0x2683ff(0xef)]===_0x2683ff(0x123)&&((_0x505517=_0x3bfd7a[_0x2683ff(0xe5)])!=null&&_0x505517[_0x2683ff(0x131)])?{..._0x3bfd7a,'children':_0x3bfd7a[_0x2683ff(0xe5)]['map'](_0x6ac4d1=>typeof _0x6ac4d1[_0x2683ff(0xd3)]['id']==_0x2683ff(0xe8)&&_0x396168&&_0x396168[_0x2683ff(0xa8)](_0x6ac4d1['attrs']['id'])?{..._0x6ac4d1,'attrs':{..._0x6ac4d1[_0x2683ff(0xd3)],'id':_0x6ac4d1[_0x2683ff(0xd3)]['id']+_0x56cf37[_0x2683ff(0xf2)]}}:_0x6ac4d1)}:_0x3bfd7a;}function Ft(){const _0x9e1636=_0x352663;return Math['random']()['toString'](0x24)[_0x9e1636(0xce)](0x2,0x8);}$[_0x352663(0x133)]=_0x352663(0xd7);const At={'tag':_0x352663(0xca),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x352663(0xaa),'viewBox':'0\x200\x2016\x2016','width':_0x352663(0x122),'height':_0x352663(0x122)},'children':[{'tag':_0x352663(0x110),'attrs':{'fill':_0x352663(0x108),'d':'M4.20039\x208.06641C3.86902\x208.06641\x203.60039\x208.33504\x203.60039\x208.66641C3.60039\x208.99778\x203.86902\x209.26641\x204.20039\x209.26641H5.20039C5.53176\x209.26641\x205.80039\x208.99778\x205.80039\x208.66641C5.80039\x208.33504\x205.53176\x208.06641\x205.20039\x208.06641H4.20039Z'}},{'tag':_0x352663(0x110),'attrs':{'fill':_0x352663(0x108),'d':'M13.1297\x203.19844C13.1297\x202.20418\x2012.3236\x201.39824\x2011.3293\x201.39844L4.66878\x201.39977C3.67481\x201.39997\x202.86914\x202.2058\x202.86914\x203.19977V5.49756C2.03331\x205.65308\x201.4005\x206.38619\x201.40049\x207.26709L1.40039\x2012.7996C1.40037\x2013.7937\x202.20626\x2014.5997\x203.20039\x2014.5997L6.62542\x2014.5997C6.63896\x2014.6006\x206.65263\x2014.601\x206.66641\x2014.601C6.68018\x2014.601\x206.69385\x2014.6006\x206.70739\x2014.5997L11.6256\x2014.5997C11.6391\x2014.6006\x2011.6527\x2014.601\x2011.6664\x2014.601C11.6801\x2014.601\x2011.6937\x2014.6006\x2011.7072\x2014.5997L12.7996\x2014.5997C13.7937\x2014.5997\x2014.5996\x2013.7938\x2014.5996\x2012.7997V7.26641C14.5996\x206.38503\x2013.9662\x205.65161\x2013.1297\x205.4966V3.19844ZM11.0664\x2013.3997L7.26641\x2013.3997V12.3344C7.26641\x2012.1135\x207.44549\x2011.9344\x207.66641\x2011.9344H10.6664C10.8873\x2011.9344\x2011.0664\x2012.1135\x2011.0664\x2012.3344V13.3997ZM12.2664\x2012.3344V13.3997L12.7996\x2013.3997C13.131\x2013.3997\x2013.3996\x2013.1311\x2013.3996\x2012.7997V7.26641C13.3996\x206.93502\x2013.131\x206.66638\x2012.7996\x206.66641L3.20044\x206.66712C2.86909\x206.66715\x202.60049\x206.93576\x202.60049\x207.26711L2.60039\x2012.7996C2.60038\x2013.131\x202.86901\x2013.3997\x203.20039\x2013.3997L6.06641\x2013.3997V12.3344C6.06641\x2011.4507\x206.78275\x2010.7344\x207.66641\x2010.7344H10.6664C11.5501\x2010.7344\x2012.2664\x2011.4507\x2012.2664\x2012.3344ZM11.9297\x205.46647V3.19844C11.9297\x202.86702\x2011.661\x202.59837\x2011.3296\x202.59844L4.66902\x202.59977C4.3377\x202.59984\x204.06914\x202.86845\x204.06914\x203.19977V5.46706L11.9297\x205.46647Z','fillRule':_0x352663(0xc9),'clipRule':_0x352663(0xc9)}}]},B=_0x2c0542(function(_0x1d6609,_0x1dfcc9){const _0x148098=_0x352663;return _0x383a85($,Object[_0x148098(0xb9)]({},_0x1d6609,{'id':_0x148098(0x113),'ref':_0x1dfcc9,'icon':At}));});B['displayName']=_0x352663(0x12e);function jt(_0x18e729){const _0x5562a4=_0x352663;return{'id':z['id'],'type':_0x745e6f[_0x5562a4(0xd1)],'title':_0x5562a4(0xad),'icon':_0x5562a4(0x12e),'tooltip':'print.menu','hidden$':_0x333468(_0x18e729,_0x6181c0[_0x5562a4(0xdc)])};}const $t={[_0x492fd9['OTHERS']]:{[z['id']]:{'order':0.1,'menuItemFactory':jt}}};var Ht=Object[_0x352663(0xaf)],Bt=(_0x5bd1fd,_0x5c9fe4,_0x1fd1c1,_0x5b6e93)=>{const _0x295a91=_0x352663;for(var _0x332d11=_0x5b6e93>0x1?void 0x0:_0x5b6e93?Ht(_0x5c9fe4,_0x1fd1c1):_0x5c9fe4,_0x5a7ec7=_0x5bd1fd[_0x295a91(0x131)]-0x1,_0x3c54c5;_0x5a7ec7>=0x0;_0x5a7ec7--)(_0x3c54c5=_0x5bd1fd[_0x5a7ec7])&&(_0x332d11=_0x3c54c5(_0x332d11)||_0x332d11);return _0x332d11;},m=(_0x4db34e,_0x35ca0d)=>(_0x5d8ac7,_0x4f4a11)=>_0x35ca0d(_0x5d8ac7,_0x4f4a11,_0x4db34e);let P=class extends _0x24184d{constructor(_0x785e23,_0x2b0120,_0x44a953){const _0x104a4f=_0x352663;super(),this['_commandService']=_0x785e23,this[_0x104a4f(0xf8)]=_0x2b0120,this['_componentManager']=_0x44a953,this[_0x104a4f(0xbf)](),this['_initCommands'](),this['_initComponents']();}[_0x352663(0xbf)](){const _0x513024=_0x352663;this[_0x513024(0xf8)][_0x513024(0xd5)]($t);}[_0x352663(0xf7)](){const _0xfb637d=_0x352663;this[_0xfb637d(0xb8)](this['_commandService']['registerCommand'](z));}[_0x352663(0xbd)](){const _0x575a45=_0x352663;[[_0x575a45(0x12e),B]][_0x575a45(0xb1)](([_0x4d62be,_0xdaae92])=>{this['_componentManager']['register'](_0x4d62be,_0xdaae92);});}};P=Bt([m(0x0,_0x12d4fe),m(0x1,_0x494fc9),m(0x2,_0x7996a7(_0x550d91))],P);var Wt=Object['defineProperty'],Gt=Object[_0x352663(0xaf)],Yt=(_0x425a2b,_0x210b04,_0x29b75c)=>_0x210b04 in _0x425a2b?Wt(_0x425a2b,_0x210b04,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29b75c}):_0x425a2b[_0x210b04]=_0x29b75c,Zt=(_0x39b1e0,_0xa92f6f,_0x297f92,_0x65d07c)=>{for(var _0x290e6f=_0x65d07c>0x1?void 0x0:_0x65d07c?Gt(_0xa92f6f,_0x297f92):_0xa92f6f,_0x5d9dfe=_0x39b1e0['length']-0x1,_0x4d4f1b;_0x5d9dfe>=0x0;_0x5d9dfe--)(_0x4d4f1b=_0x39b1e0[_0x5d9dfe])&&(_0x290e6f=_0x4d4f1b(_0x290e6f)||_0x290e6f);return _0x290e6f;},T=(_0x1c4344,_0x183e73)=>(_0x2cc275,_0x45ca8e)=>_0x183e73(_0x2cc275,_0x45ca8e,_0x1c4344),W=(_0x4feb86,_0x20c48a,_0x1a3cd9)=>Yt(_0x4feb86,typeof _0x20c48a!='symbol'?_0x20c48a+'':_0x20c48a,_0x1a3cd9);let p=class extends _0x558f1a{constructor(_0x3ae3a3=M,_0x3cd41b,_0x5f4cf7){const _0x519955=_0x352663;super(),this[_0x519955(0x11f)]=_0x3ae3a3,this[_0x519955(0xf5)]=_0x3cd41b,this[_0x519955(0x112)]=_0x5f4cf7;const {menu:_0x315b0e,..._0x2c940c}=_0x33ae23({},M,this[_0x519955(0x11f)]);_0x315b0e&&this['_configService'][_0x519955(0x13c)](_0x519955(0xb2),_0x315b0e,{'merge':!0x0}),this[_0x519955(0x112)][_0x519955(0x13c)](Tt,_0x2c940c);}['onStarting'](){const _0x579e27=_0x352663;_0xe57b55(this[_0x579e27(0xf5)],[[f],[P]]);}[_0x352663(0xa6)](){const _0xb74803=_0x352663;this[_0xb74803(0xf5)]['get'](P);}};W(p,_0x352663(0xe7),Lt),W(p,_0x352663(0xb5),_0x6181c0['UNIVER_DOC']),p=Zt([_0x4df9e4(_0x4ac64c,_0x164b35),T(0x1,_0x7996a7(_0x1968e7)),T(0x2,_0x10208d)],p);export{Tt as DOCS_PRINT_PLUGIN_CONFIG_KEY,z as DocPrintOperation,p as UniverDocsPrintPlugin};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3196(){const _0x5e6434=['1604810ijTueg','1709301YloKDf','185Ffmkjs','1654836CAUrIE','382877NGcIRo','71756cJfjtW','Print','2866745rJKidh','284112CdsEFX'];_0x3196=function(){return _0x5e6434;};return _0x3196();}const _0x1cfe0f=_0x3904;(function(_0x50a2a9,_0xeefadf){const _0x328697=_0x3904,_0x3051ae=_0x50a2a9();while(!![]){try{const _0x22b2d8=-parseInt(_0x328697(0x18a))/0x1+parseInt(_0x328697(0x186))/0x2+parseInt(_0x328697(0x187))/0x3+parseInt(_0x328697(0x18b))/0x4*(-parseInt(_0x328697(0x188))/0x5)+-parseInt(_0x328697(0x189))/0x6+parseInt(_0x328697(0x184))/0x7+-parseInt(_0x328697(0x185))/0x8;if(_0x22b2d8===_0xeefadf)break;else _0x3051ae['push'](_0x3051ae['shift']());}catch(_0x5470bb){_0x3051ae['push'](_0x3051ae['shift']());}}}(_0x3196,0x67757));const t={'print':{'menu':_0x1cfe0f(0x183)}},e=t;function _0x3904(_0xc62dde,_0x1f4d72){_0xc62dde=_0xc62dde-0x183;const _0x319659=_0x3196();let _0x39042f=_0x319659[_0xc62dde];return _0x39042f;}export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3f7fc1,_0x208b03){const _0x3c8dc3=_0x10d3,_0x2ae923=_0x3f7fc1();while(!![]){try{const _0x1da43c=parseInt(_0x3c8dc3(0x15d))/0x1*(-parseInt(_0x3c8dc3(0x15b))/0x2)+parseInt(_0x3c8dc3(0x15e))/0x3+parseInt(_0x3c8dc3(0x160))/0x4*(-parseInt(_0x3c8dc3(0x162))/0x5)+parseInt(_0x3c8dc3(0x158))/0x6+-parseInt(_0x3c8dc3(0x15f))/0x7*(-parseInt(_0x3c8dc3(0x159))/0x8)+parseInt(_0x3c8dc3(0x161))/0x9*(parseInt(_0x3c8dc3(0x15a))/0xa)+-parseInt(_0x3c8dc3(0x15c))/0xb*(parseInt(_0x3c8dc3(0x163))/0xc);if(_0x1da43c===_0x208b03)break;else _0x2ae923['push'](_0x2ae923['shift']());}catch(_0x53f178){_0x2ae923['push'](_0x2ae923['shift']());}}}(_0xe1fb,0xca6fb));const t={'print':{'menu':'Print'}};export{t as default};function _0x10d3(_0x37a2ea,_0x5b0e33){_0x37a2ea=_0x37a2ea-0x158;const _0xe1fb6f=_0xe1fb();let _0x10d397=_0xe1fb6f[_0x37a2ea];return _0x10d397;}function _0xe1fb(){const _0x32e352=['88873dJGbaH','4378491fayWqb','3983987ckjPLD','4COjgvC','9cpnLTQ','6948290pZgXwB','12PISkiZ','9002310uXSfgJ','8bGspWb','5150330OKhDox','6xQpONT','17144600aJXYiB'];_0xe1fb=function(){return _0x32e352;};return _0xe1fb();}
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2a8cad=_0x1139;(function(_0x15df25,_0x4dce4f){const _0x107a65=_0x1139,_0x1c4534=_0x15df25();while(!![]){try{const _0x244948=parseInt(_0x107a65(0x1a1))/0x1*(-parseInt(_0x107a65(0x1a9))/0x2)+parseInt(_0x107a65(0x1ac))/0x3+parseInt(_0x107a65(0x1ab))/0x4+-parseInt(_0x107a65(0x1aa))/0x5*(parseInt(_0x107a65(0x1a5))/0x6)+-parseInt(_0x107a65(0x1a6))/0x7+parseInt(_0x107a65(0x1a3))/0x8*(parseInt(_0x107a65(0x1a4))/0x9)+parseInt(_0x107a65(0x1a7))/0xa*(parseInt(_0x107a65(0x1a2))/0xb);if(_0x244948===_0x4dce4f)break;else _0x1c4534['push'](_0x1c4534['shift']());}catch(_0xdcdbe7){_0x1c4534['push'](_0x1c4534['shift']());}}}(_0x2982,0x43955));function _0x1139(_0x42e9f8,_0x31045b){_0x42e9f8=_0x42e9f8-0x1a1;const _0x2982e3=_0x2982();let _0x1139eb=_0x2982e3[_0x42e9f8];return _0x1139eb;}const t={'print':{'menu':_0x2a8cad(0x1a8)}},e=t;function _0x2982(){const _0x1b7dfe=['2475361PCqFCK','24830PyGKER','Print','9168zjXvFT','5jlIGFe','2148796VaFNrq','1032675ktQLBg','110NQMJrD','2981DPAFtj','8WGNbRe','47457WGuPFt','2549436tDfqpA'];_0x2982=function(){return _0x1b7dfe;};return _0x2982();}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xb6e7c5,_0x5defb5){const _0x39b3d7=_0x25c2,_0x4930b8=_0xb6e7c5();while(!![]){try{const _0x4cc91f=-parseInt(_0x39b3d7(0x13c))/0x1+parseInt(_0x39b3d7(0x13d))/0x2+-parseInt(_0x39b3d7(0x134))/0x3+parseInt(_0x39b3d7(0x13b))/0x4+parseInt(_0x39b3d7(0x13a))/0x5*(parseInt(_0x39b3d7(0x137))/0x6)+-parseInt(_0x39b3d7(0x136))/0x7*(parseInt(_0x39b3d7(0x139))/0x8)+parseInt(_0x39b3d7(0x135))/0x9*(-parseInt(_0x39b3d7(0x138))/0xa);if(_0x4cc91f===_0x5defb5)break;else _0x4930b8['push'](_0x4930b8['shift']());}catch(_0x2817b4){_0x4930b8['push'](_0x4930b8['shift']());}}}(_0x66f6,0xeca3b));function _0x66f6(){const _0x1f64dc=['1033552BHdhUO','3992529FqhELD','903249RXwPtd','77WsqCit','6HJZngw','10wpnjoz','130064KdXvom','3834965MmAgxC','5188460cajjEq','1567SMsXBo'];_0x66f6=function(){return _0x1f64dc;};return _0x66f6();}const e={'print':{'menu':'چاپ'}};function _0x25c2(_0x4a6de2,_0x2e0a71){_0x4a6de2=_0x4a6de2-0x134;const _0x66f63=_0x66f6();let _0x25c2bf=_0x66f63[_0x4a6de2];return _0x25c2bf;}export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x38b0d1=_0x5094;(function(_0x1a9e3,_0x542265){const _0x34a387=_0x5094,_0x2b43e9=_0x1a9e3();while(!![]){try{const _0x18f1c9=parseInt(_0x34a387(0x83))/0x1*(-parseInt(_0x34a387(0x84))/0x2)+parseInt(_0x34a387(0x7f))/0x3*(parseInt(_0x34a387(0x87))/0x4)+-parseInt(_0x34a387(0x7c))/0x5+parseInt(_0x34a387(0x85))/0x6+-parseInt(_0x34a387(0x81))/0x7*(parseInt(_0x34a387(0x7d))/0x8)+parseInt(_0x34a387(0x86))/0x9*(-parseInt(_0x34a387(0x7b))/0xa)+-parseInt(_0x34a387(0x82))/0xb*(-parseInt(_0x34a387(0x7e))/0xc);if(_0x18f1c9===_0x542265)break;else _0x2b43e9['push'](_0x2b43e9['shift']());}catch(_0x584f74){_0x2b43e9['push'](_0x2b43e9['shift']());}}}(_0x32fd,0xdee26));function _0x32fd(){const _0x502249=['81CUZswI','351124HvoMUN','1941690QElHcn','3519300AHORLo','5534632ohvbEU','16248AdoxEp','57oNxfeW','Imprimer','14fJvpKT','17809OnbSup','454raKxoo','1902DEfpFz','7918572efEukM'];_0x32fd=function(){return _0x502249;};return _0x32fd();}const e={'print':{'menu':_0x38b0d1(0x80)}};function _0x5094(_0x2613c1,_0x52af21){_0x2613c1=_0x2613c1-0x7b;const _0x32fd2a=_0x32fd();let _0x509442=_0x32fd2a[_0x2613c1];return _0x509442;}export{e as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xc84ae6,_0x448cc4){const _0x3f2ac3=_0x1614,_0x3f9eaf=_0xc84ae6();while(!![]){try{const _0x207989=parseInt(_0x3f2ac3(0xe9))/0x1*(-parseInt(_0x3f2ac3(0xea))/0x2)+parseInt(_0x3f2ac3(0xed))/0x3*(parseInt(_0x3f2ac3(0xe6))/0x4)+-parseInt(_0x3f2ac3(0xec))/0x5+-parseInt(_0x3f2ac3(0xee))/0x6*(-parseInt(_0x3f2ac3(0xeb))/0x7)+-parseInt(_0x3f2ac3(0xe5))/0x8+parseInt(_0x3f2ac3(0xe8))/0x9+parseInt(_0x3f2ac3(0xe7))/0xa;if(_0x207989===_0x448cc4)break;else _0x3f9eaf['push'](_0x3f9eaf['shift']());}catch(_0x168f3b){_0x3f9eaf['push'](_0x3f9eaf['shift']());}}}(_0x9e7a,0x6fa69));const e={'print':{'menu':'印刷'}};function _0x1614(_0xb8c898,_0x4aa7f3){_0xb8c898=_0xb8c898-0xe5;const _0x9e7ad6=_0x9e7a();let _0x1614db=_0x9e7ad6[_0xb8c898];return _0x1614db;}function _0x9e7a(){const _0x18d900=['1828122XvPzif','5645216hwLDne','2348SIYhqB','13795020StiveN','760869pmxACi','440143IQxIsD','2sCLMQX','7AKPBIF','1379850rDbvGp','564gzsxog'];_0x9e7a=function(){return _0x18d900;};return _0x9e7a();}export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x59c3dc,_0x3ad1ea){const _0x6bfda8=_0x1925,_0x4dddc7=_0x59c3dc();while(!![]){try{const _0x43fec1=parseInt(_0x6bfda8(0xca))/0x1+-parseInt(_0x6bfda8(0xd2))/0x2*(parseInt(_0x6bfda8(0xcf))/0x3)+-parseInt(_0x6bfda8(0xce))/0x4+-parseInt(_0x6bfda8(0xcd))/0x5+-parseInt(_0x6bfda8(0xd1))/0x6*(-parseInt(_0x6bfda8(0xd0))/0x7)+parseInt(_0x6bfda8(0xcb))/0x8+parseInt(_0x6bfda8(0xcc))/0x9;if(_0x43fec1===_0x3ad1ea)break;else _0x4dddc7['push'](_0x4dddc7['shift']());}catch(_0x25a115){_0x4dddc7['push'](_0x4dddc7['shift']());}}}(_0x3394,0xa12e6));const e={'print':{'menu':'인쇄'}};export{e as default};function _0x1925(_0x42ef87,_0x5c5093){_0x42ef87=_0x42ef87-0xca;const _0x339405=_0x3394();let _0x1925c6=_0x339405[_0x42ef87];return _0x1925c6;}function _0x3394(){const _0x464f3e=['6760611sbUTue','4302400wYAyvW','3506236YmTrJM','2250AbufkF','77hpYSFX','517146VfeeLh','126NeQDja','352106sGlRNS','3144808OqqRyr'];_0x3394=function(){return _0x464f3e;};return _0x3394();}
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x143a(){const _0x57261f=['9ygIuJl','28844710LOYXhv','5959828uOBWKA','20400iFGmJI','238675GgJZHA','412899vTiezl','5712000KuZrSt','355VdaRKs','Печать','2JrnbZR','1024824lYCctE'];_0x143a=function(){return _0x57261f;};return _0x143a();}const _0x925060=_0x1c22;(function(_0x1d44a2,_0x11a726){const _0x2c1e1c=_0x1c22,_0x5ee60b=_0x1d44a2();while(!![]){try{const _0x47d3cb=-parseInt(_0x2c1e1c(0x8f))/0x1+-parseInt(_0x2c1e1c(0x94))/0x2*(parseInt(_0x2c1e1c(0x90))/0x3)+-parseInt(_0x2c1e1c(0x95))/0x4+parseInt(_0x2c1e1c(0x92))/0x5*(-parseInt(_0x2c1e1c(0x8e))/0x6)+-parseInt(_0x2c1e1c(0x8d))/0x7+-parseInt(_0x2c1e1c(0x91))/0x8+parseInt(_0x2c1e1c(0x8b))/0x9*(parseInt(_0x2c1e1c(0x8c))/0xa);if(_0x47d3cb===_0x11a726)break;else _0x5ee60b['push'](_0x5ee60b['shift']());}catch(_0x3e9667){_0x5ee60b['push'](_0x5ee60b['shift']());}}}(_0x143a,0x6cae1));const e={'print':{'menu':_0x925060(0x93)}};function _0x1c22(_0x30337a,_0x3b2b57){_0x30337a=_0x30337a-0x8b;const _0x143a75=_0x143a();let _0x1c22c0=_0x143a75[_0x30337a];return _0x1c22c0;}export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x21e661,_0x5dfe09){const _0x575892=_0x7c16,_0x1ae94e=_0x21e661();while(!![]){try{const _0x13d001=parseInt(_0x575892(0x18a))/0x1+-parseInt(_0x575892(0x192))/0x2*(-parseInt(_0x575892(0x18e))/0x3)+parseInt(_0x575892(0x18f))/0x4*(parseInt(_0x575892(0x188))/0x5)+parseInt(_0x575892(0x18c))/0x6*(-parseInt(_0x575892(0x18d))/0x7)+parseInt(_0x575892(0x193))/0x8*(-parseInt(_0x575892(0x190))/0x9)+parseInt(_0x575892(0x18b))/0xa*(-parseInt(_0x575892(0x191))/0xb)+parseInt(_0x575892(0x189))/0xc;if(_0x13d001===_0x5dfe09)break;else _0x1ae94e['push'](_0x1ae94e['shift']());}catch(_0x588d46){_0x1ae94e['push'](_0x1ae94e['shift']());}}}(_0x160d,0x1f076));const e={'print':{'menu':'In'}};function _0x160d(){const _0xe5f8d5=['753492gmhRFc','7dfxmqe','3YyiumU','75204bGmsAO','51273VjOERF','176IfqOhc','35614DCmkvz','224QjZKxE','25FxPOmI','3496524ZvMrFZ','74843CFFgJX','41150EQrjiU'];_0x160d=function(){return _0xe5f8d5;};return _0x160d();}function _0x7c16(_0x54ee89,_0x328697){_0x54ee89=_0x54ee89-0x188;const _0x160d35=_0x160d();let _0x7c1631=_0x160d35[_0x54ee89];return _0x7c1631;}export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x307f00,_0x1f244d){const _0x6d4c18=_0x4ef0,_0x370484=_0x307f00();while(!![]){try{const _0x33cbad=parseInt(_0x6d4c18(0x138))/0x1*(parseInt(_0x6d4c18(0x13d))/0x2)+-parseInt(_0x6d4c18(0x134))/0x3+-parseInt(_0x6d4c18(0x132))/0x4*(parseInt(_0x6d4c18(0x139))/0x5)+-parseInt(_0x6d4c18(0x13a))/0x6*(-parseInt(_0x6d4c18(0x13c))/0x7)+-parseInt(_0x6d4c18(0x137))/0x8+parseInt(_0x6d4c18(0x13b))/0x9*(-parseInt(_0x6d4c18(0x135))/0xa)+-parseInt(_0x6d4c18(0x136))/0xb*(-parseInt(_0x6d4c18(0x133))/0xc);if(_0x33cbad===_0x1f244d)break;else _0x370484['push'](_0x370484['shift']());}catch(_0x3bb774){_0x370484['push'](_0x370484['shift']());}}}(_0x31b4,0x7b634));const e={'print':{'menu':'打印'}};function _0x31b4(){const _0xdec3db=['80DYQpRx','121cLCILd','4135752ILwnmY','98257EryTBV','5GEijVM','540tcTTiW','892773VBWNOJ','32529qoIgnV','12gzDROE','3819964nbKQao','2470716sBvDpe','1504989tWEWNO'];_0x31b4=function(){return _0xdec3db;};return _0x31b4();}function _0x4ef0(_0x5d72e9,_0x2ece1a){_0x5d72e9=_0x5d72e9-0x132;const _0x31b42e=_0x31b4();let _0x4ef009=_0x31b42e[_0x5d72e9];return _0x4ef009;}export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3476ba,_0x4a0e6f){const _0x57b6b5=_0x34d4,_0x4ae91a=_0x3476ba();while(!![]){try{const _0x248a01=-parseInt(_0x57b6b5(0x6a))/0x1*(parseInt(_0x57b6b5(0x6e))/0x2)+-parseInt(_0x57b6b5(0x71))/0x3*(-parseInt(_0x57b6b5(0x6b))/0x4)+parseInt(_0x57b6b5(0x69))/0x5+-parseInt(_0x57b6b5(0x6f))/0x6+-parseInt(_0x57b6b5(0x68))/0x7*(parseInt(_0x57b6b5(0x6d))/0x8)+parseInt(_0x57b6b5(0x70))/0x9+-parseInt(_0x57b6b5(0x6c))/0xa;if(_0x248a01===_0x4a0e6f)break;else _0x4ae91a['push'](_0x4ae91a['shift']());}catch(_0x22186b){_0x4ae91a['push'](_0x4ae91a['shift']());}}}(_0x5583,0xee74c));function _0x34d4(_0x529084,_0x4c83fd){_0x529084=_0x529084-0x68;const _0x5583e4=_0x5583();let _0x34d4ae=_0x5583e4[_0x529084];return _0x34d4ae;}const e={'print':{'menu':'列印'}};export{e as default};function _0x5583(){const _0x383876=['2AmopnG','5450904BREKzP','13087512waCfKn','12wyzllI','22967LeuHWs','7512135nQgDbr','1202222EJSwYa','1625708plGvdq','3104400UjEWil','2888JyTVue'];_0x5583=function(){return _0x383876;};return _0x5583();}
|
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
U: string;
|
|
16
|
-
I: string;
|
|
12
|
+
l: string;
|
|
13
|
+
L: string;
|
|
14
|
+
d: string;
|
|
17
15
|
Y: string;
|
|
18
|
-
|
|
16
|
+
u: string;
|
|
17
|
+
M: string;
|
|
18
|
+
e: string;
|
|
19
|
+
m: string;
|
|
20
|
+
t: string;
|
|
21
|
+
n: string;
|
|
22
|
+
I: string;
|
|
23
|
+
E: string;
|
|
24
|
+
g: string;
|
|
19
25
|
R: string;
|
|
26
|
+
z: string;
|
|
20
27
|
B: string;
|
|
21
|
-
k: string;
|
|
22
28
|
A: string;
|
|
23
|
-
|
|
24
|
-
t: string;
|
|
29
|
+
a: string;
|
|
25
30
|
O: string;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
e: string;
|
|
31
|
-
K: string;
|
|
32
|
-
w: string;
|
|
33
|
-
y: string;
|
|
34
|
-
g: string;
|
|
35
|
-
V: string;
|
|
31
|
+
P: string;
|
|
32
|
+
U: string;
|
|
33
|
+
N: string;
|
|
34
|
+
X: string;
|
|
36
35
|
h: string;
|
|
37
|
-
|
|
38
|
-
u: string;
|
|
39
|
-
l: string;
|
|
40
|
-
M: string;
|
|
41
|
-
x: string;
|
|
42
|
-
G: string;
|
|
43
|
-
H: string;
|
|
36
|
+
k: string;
|
|
44
37
|
b: string;
|
|
45
|
-
n: string;
|
|
46
|
-
m: string;
|
|
47
|
-
p: string;
|
|
48
|
-
a: string;
|
|
49
|
-
z: string;
|
|
50
38
|
r: string;
|
|
51
|
-
E: string;
|
|
52
39
|
C: string;
|
|
53
|
-
S: string;
|
|
54
|
-
Z: string;
|
|
55
|
-
T: string;
|
|
56
|
-
X: string;
|
|
57
|
-
P: string;
|
|
58
40
|
F: string;
|
|
41
|
+
v: string;
|
|
42
|
+
Z: string;
|
|
43
|
+
i: string;
|
|
44
|
+
x: string;
|
|
59
45
|
Q: string;
|
|
46
|
+
K: string;
|
|
47
|
+
J: string;
|
|
48
|
+
T: string;
|
|
49
|
+
S: string;
|
|
50
|
+
G: string;
|
|
51
|
+
j: string;
|
|
52
|
+
o: string;
|
|
53
|
+
V: string;
|
|
54
|
+
p: string;
|
|
60
55
|
f: string;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
w: string;
|
|
57
|
+
s: string;
|
|
58
|
+
D: string;
|
|
59
|
+
H: string;
|
|
60
|
+
q: string;
|
|
61
|
+
y: string;
|
|
62
|
+
c: string;
|
|
63
|
+
W: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "1bPIkzUP EgI8vNkzUP(azIgPhg, NbnazIjgv) { k8v { IUPhk azIgPhgSP1Uwt8ki88tv = azIgPhg.hNazk('-'); IUPhk U8z5zPVghht5g = GDfp.Nt8hg(tkUn(azIgPhgSP1Uwt8ki88tv[L])); z1 (!U8z5zPVghht5g.bE) { U8z5zPVghht5g.bE = pbOng8(azIgPhgSP1Uwt8ki88tv[Y]); } IUPhk zh3U8Ag8 = kvNgU1 3U8Ag8TaUntaDIUNg !== 'bPEg1zPgE' && hga1 zPhktPIgU1 3U8Ag8TaUntaDIUNg; IUPhk zhx8UChg8 = kvNgU1 CzPEUC !== 'bPEg1zPgE' && kvNgU1 CzPEUC.aUItkzUP !== 'bPEg1zPgE'; IUPhk IUPkgFk = zh3U8Ag8 ? hga1 : (zhx8UChg8 ? CzPEUC : 5aUntaHRzh); IUPhk Oghht5g3U8E = IUPkgFk.__xthgMY__.Nt8hg(azIgPhgSP1Uwt8ki88tv[L]); IUPhk Oghht5g = IUPkgFk.__2gF__.hk8zP5z1v(Oghht5g3U8E); IUPhk hz5Ptkb8g3U8E = IUPkgFk.__xthgMY__.Nt8hg(azIgPhgSP1Uwt8ki88tv[d]); IUPhk hz5Ptkb8g = IUPkgFk.__2gF__.hk8zP5z1v(hz5Ptkb8g3U8E); IUPhk hz5PqtazE = IUPkgFk.__rg8z1v__(hz5Ptkb8g, Oghht5g, NbnazIjgv); IUPhk EUOtzP = U8z5zPVghht5g.EO; 1bPIkzUP zhKUOtzPVtkIRzP5(Uwtkkg8P, U2Uhk) { IUPhk Ntkkg8P = Uwtkkg8P.8gNatIg(/^.+/, ''); IUPhk RUhk = U2Uhk.8gNatIg(/^.+/, ''); IUPhk Ntkkg8Pwt8kh = Ntkkg8P.hNazk('.'); IUPhk RUhkwt8kh = RUhk.hNazk('.'); z1 (!Ntkkg8P.zPIabEgh('*')) { 8gkb8P Ntkkg8P === RUhk; } z1 (Ntkkg8Pwt8kh.agP5kR < L || Ntkkg8Pwt8kh[7] !== '*') { 8gkb8P 1tahg; } IUPhk Ntkkg8PDb11zF = Ntkkg8Pwt8kh.hazIg(l).BUzP('.'); IUPhk RUhkDb11zF = RUhkwt8kh.hazIg(-Ntkkg8Pwt8kh.agP5kR + l).BUzP('.'); 8gkb8P Ntkkg8PDb11zF === RUhkDb11zF; } agk EUOtzPqtazE = 1tahg; z1 (zhx8UChg8) { EUOtzPqtazE = (EUOtzP && EUOtzP.agP5kR) ? EUOtzP.hUOg((EOSkgO) => zhKUOtzPVtkIRzP5(EOSkgO, aUItkzUP.RUhkPtOg)) : k8bg; z1 (aUItkzUP.RUhkPtOg === 'aUItaRUhk') { EUOtzPqtazE = k8bg; } } gahg { EUOtzPqtazE = k8bg; } IUPhk rtazE = hz5PqtazE && EUOtzPqtazE; 8gkb8P { rtazE, Oghht5g: U8z5zPVghht5g, }; } ItkIR (g88U8) { 8gkb8P { rtazE: 1tahg, Oghht5g: {}, }; }}";
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x6b56dc,_0xafdeab){const _0x381bdc=_0x553c,_0x5d57a6=_0x6b56dc();while(!![]){try{const _0x570f18=-parseInt(_0x381bdc(0x1ea))/0x1+parseInt(_0x381bdc(0x16c))/0x2+-parseInt(_0x381bdc(0x1c0))/0x3*(parseInt(_0x381bdc(0x1db))/0x4)+-parseInt(_0x381bdc(0x177))/0x5*(-parseInt(_0x381bdc(0x1ac))/0x6)+-parseInt(_0x381bdc(0x1ca))/0x7+-parseInt(_0x381bdc(0x194))/0x8*(parseInt(_0x381bdc(0x1e6))/0x9)+-parseInt(_0x381bdc(0x149))/0xa*(-parseInt(_0x381bdc(0x191))/0xb);if(_0x570f18===_0xafdeab)break;else _0x5d57a6['push'](_0x5d57a6['shift']());}catch(_0x1d2bc8){_0x5d57a6['push'](_0x5d57a6['shift']());}}}(_0x16fc,0x1b9ae),function(_0x1ab835,_0x1a397f){const _0x2f9c73=_0x553c;typeof exports=='object'&&typeof module<'u'?_0x1a397f(exports,require('@univerjs/core'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs-pro/license'),require('@univerjs-pro/print'),require('@univerjs/docs'),require('@univerjs/ui'),require('@univerjs/network'),require('react')):typeof define==_0x2f9c73(0x1f5)&&define[_0x2f9c73(0x20d)]?define([_0x2f9c73(0x1bc),_0x2f9c73(0x1d6),_0x2f9c73(0x20f),_0x2f9c73(0x1f7),_0x2f9c73(0x1ec),_0x2f9c73(0x1e2),_0x2f9c73(0x142),_0x2f9c73(0x16b),'@univerjs/network',_0x2f9c73(0x19d)],_0x1a397f):(_0x1ab835=typeof globalThis<'u'?globalThis:_0x1ab835||self,_0x1a397f(_0x1ab835['UniverProDocsPrint']={},_0x1ab835[_0x2f9c73(0x1d3)],_0x1ab835[_0x2f9c73(0x1e8)],_0x1ab835[_0x2f9c73(0x1fb)],_0x1ab835['UniverProLicense'],_0x1ab835['UniverProPrint'],_0x1ab835['UniverDocs'],_0x1ab835[_0x2f9c73(0x1b3)],_0x1ab835[_0x2f9c73(0x146)],_0x1ab835[_0x2f9c73(0x209)]));}(this,function(_0x51fd56,_0x3f3ae3,_0x48f70d,_0x2e4e1e,_0x151956,_0x475e4f,_0xa0b20f,_0x42e350,_0x2a2db8,_0x16dd09){'use strict';const _0x2ce8f8=_0x553c;var _0x53cb63=Object[_0x2ce8f8(0x1f4)],_0x397837=(_0x1080ee,_0x23d1fb,_0x263fb3)=>_0x23d1fb in _0x1080ee?_0x53cb63(_0x1080ee,_0x23d1fb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x263fb3}):_0x1080ee[_0x23d1fb]=_0x263fb3,_0x4b9578=(_0x55b2be,_0x18eff5,_0x7fb2a6)=>_0x397837(_0x55b2be,typeof _0x18eff5!=_0x2ce8f8(0x207)?_0x18eff5+'':_0x18eff5,_0x7fb2a6);const _0x3b75e7={0x0:'i',0x1:'4',0x2:'a',0x3:'Z',0x4:'U',0x5:'V',0x6:'I',0x7:'D',0x8:'q',0x9:'L','v':'0','j':'1','o':'2','U':'3','I':'5','Y':'6','D':'7','R':'8','B':'9','k':'b','A':'c','c':'d','t':'e','O':'f','s':'g','d':'h','J':'j','q':'k','e':'l','K':'m','w':'n','y':'o','g':'p','V':'r','h':'s','W':'t','u':'u','l':'v','M':'w','x':'x','G':'y','H':'z','b':'A','n':'B','m':'C','p':'E','a':'F','z':'G','r':'H','E':'J','C':'K','S':'M','Z':'N','T':'O','X':'P','P':'Q','F':'R','Q':'S','f':'T','i':'W','L':'X','N':'Y'},_0x4c1a9d=_0x2ce8f8(0x200);class _0x141c43 extends _0x3f3ae3[_0x2ce8f8(0x1e0)]{constructor(_0x3ead05,_0x45cb52,_0x409d99,_0x552dcb){const _0x433177=_0x2ce8f8;super(),_0x4b9578(this,_0x433177(0x18f),document[_0x433177(0x14d)](_0x433177(0x176))),_0x4b9578(this,'_root',document[_0x433177(0x14d)]('div')),_0x4b9578(this,_0x433177(0x1a2)),_0x4b9578(this,_0x433177(0x1a6)),_0x4b9578(this,_0x433177(0x1de)),_0x4b9578(this,'_documents'),_0x4b9578(this,_0x433177(0x13f)),_0x4b9578(this,_0x433177(0x1e7),new _0x3f3ae3[(_0x433177(0x202))]()),(this[_0x433177(0x1d5)]=_0x3ead05,this[_0x433177(0x1c1)]=_0x45cb52,this['_unitId']=_0x409d99,this['_offsetConfig']=_0x552dcb,this['_key']=_0x3f3ae3['generateRandomId'](0x4),this[_0x433177(0x1d4)](),this['disposeWithMe']({'dispose':()=>{const _0x430fb2=_0x433177;this[_0x430fb2(0x1a2)][_0x430fb2(0x184)](),this['_scene'][_0x430fb2(0x184)](),this[_0x430fb2(0x1e7)][_0x430fb2(0x184)]();}}));}get[_0x2ce8f8(0x199)](){const _0x10f000=_0x2ce8f8;return this[_0x10f000(0x18f)];}get[_0x2ce8f8(0x186)](){const _0x2aa12f=_0x2ce8f8;return this[_0x2aa12f(0x174)];}get[_0x2ce8f8(0x147)](){const _0x127dc9=_0x2ce8f8,_0x553372=this[_0x127dc9(0x1d5)][_0x127dc9(0x159)](_0x2e4e1e[_0x127dc9(0x180)])['getRenderById'](this[_0x127dc9(0x15d)]);if(!_0x553372)throw new Error(_0x127dc9(0x17d));return _0x553372;}get['_skeleton'](){const _0xa04af7=_0x2ce8f8;return this[_0xa04af7(0x147)][_0xa04af7(0x19e)](_0xa0b20f[_0xa04af7(0x1b8)])[_0xa04af7(0x183)]();}get['_skeletonData'](){const _0x489dbe=_0x2ce8f8,_0x2e575f=this[_0x489dbe(0x1c3)][_0x489dbe(0x19a)]();if(!_0x2e575f)throw new Error(_0x489dbe(0x195));return _0x2e575f;}get[_0x2ce8f8(0x143)](){const _0x50c842=_0x2ce8f8,_0x3d7b84=this['_skeletonData']['pages'][0x0];return{'width':_0x3d7b84[_0x50c842(0x14a)],'height':_0x3d7b84[_0x50c842(0x1eb)]};}[_0x2ce8f8(0x1df)](){const _0x18325a=_0x2ce8f8,{docsTop:_0x557d30,docsLeft:_0x42556e}=this[_0x18325a(0x18b)][_0x18325a(0x1d7)](),_0x420caa=this['_paperSize'][_0x18325a(0x1e5)],_0x425142=this[_0x18325a(0x143)][_0x18325a(0x20e)];return{'top':_0x557d30+(_0x557d30+_0x420caa)*this[_0x18325a(0x1c1)],'bottom':_0x557d30+(_0x557d30+_0x420caa)*(this['_page']+0x1),'left':_0x42556e,'right':_0x42556e+_0x425142};}['_initRenderer'](){const _0x1cfe71=_0x2ce8f8;this[_0x1cfe71(0x1a2)]=new _0x2e4e1e[(_0x1cfe71(0x140))]('',{'elementWidth':this['_paperSize'][_0x1cfe71(0x20e)],'elementHeight':this[_0x1cfe71(0x143)][_0x1cfe71(0x1e5)],'dpr':0x1,'renderMode':_0x2e4e1e['CanvasRenderMode'][_0x1cfe71(0x1ad)]}),this['_scene']=new _0x2e4e1e['Scene'](this[_0x1cfe71(0x1de)],this[_0x1cfe71(0x1a2)]),this['_scene'][_0x1cfe71(0x155)](0x1,0x1),this[_0x1cfe71(0x1a2)]['setContainer'](this['_container'],!0x1),this['_engine'][_0x1cfe71(0x1c6)]()[_0x1cfe71(0x1cc)]()[_0x1cfe71(0x1e9)](this[_0x1cfe71(0x1de)]+'_'+_0x3f3ae3['generateRandomId'](0x4)),this[_0x1cfe71(0x17e)](),this[_0x1cfe71(0x16f)]();}[_0x2ce8f8(0x17e)](){const _0x17ecdc=_0x2ce8f8,{pageMarginLeft:_0x5681d5,pageMarginTop:_0x35fe9b,docsLeft:_0x58dd4d,docsTop:_0x537730}=this['_offsetConfig'],_0x5982a6={'pageMarginLeft':_0x5681d5,'pageMarginTop':_0x35fe9b},_0x494862=new _0x2e4e1e[(_0x17ecdc(0x1d0))]('__DocPrintRender__',this[_0x17ecdc(0x1c3)],_0x5982a6);_0x494862[_0x17ecdc(0x14e)](_0x58dd4d,_0x537730),this[_0x17ecdc(0x1a6)][_0x17ecdc(0x1ef)](_0x494862),this[_0x17ecdc(0x18b)]=_0x494862;const _0x10c60f=this['_injector'][_0x17ecdc(0x159)](_0x48f70d[_0x17ecdc(0x1fa)]);_0x10c60f[_0x17ecdc(0x213)][_0x17ecdc(0x1b4)](_0x10c60f[_0x17ecdc(0x213)]['getInterceptPoints']()[_0x17ecdc(0x204)])(void 0x0,{'unitId':this[_0x17ecdc(0x15d)],'scene':this['_scene'],'engine':this[_0x17ecdc(0x1a2)],'root':this[_0x17ecdc(0x174)],'documents':this[_0x17ecdc(0x18b)],'skeleton':this[_0x17ecdc(0x1c3)]});}[_0x2ce8f8(0x16f)](){const _0x509be0=_0x2ce8f8;this[_0x509be0(0x13f)]=new _0x2e4e1e[(_0x509be0(0x1c8))](_0x48f70d[_0x509be0(0x1a8)]['VIEW_MAIN'],this[_0x509be0(0x1a6)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}['prepare'](){const _0x4ea703=_0x2ce8f8,_0x104a35=this[_0x4ea703(0x1df)]();this[_0x4ea703(0x13f)][_0x4ea703(0x163)]({'viewportScrollX':_0x104a35[_0x4ea703(0x1f6)],'viewportScrollY':_0x104a35['top']}),this[_0x4ea703(0x174)][_0x4ea703(0x15c)][_0x4ea703(0x173)]='absolute',this[_0x4ea703(0x174)]['style'][_0x4ea703(0x1f8)]=_0x4ea703(0x151),this['_root'][_0x4ea703(0x15c)][_0x4ea703(0x1f6)]='0px',this[_0x4ea703(0x174)][_0x4ea703(0x15c)][_0x4ea703(0x20e)]=_0x4ea703(0x161),this[_0x4ea703(0x174)][_0x4ea703(0x15c)][_0x4ea703(0x1e5)]=_0x4ea703(0x161),this[_0x4ea703(0x1e7)]=new _0x3f3ae3[(_0x4ea703(0x202))]();const _0x4aefe9=this[_0x4ea703(0x1d5)][_0x4ea703(0x159)](_0x48f70d[_0x4ea703(0x1fa)]);_0x4aefe9[_0x4ea703(0x213)][_0x4ea703(0x1b4)](_0x4aefe9[_0x4ea703(0x213)][_0x4ea703(0x1a1)]()[_0x4ea703(0x1a3)])(this[_0x4ea703(0x1e7)],{'unitId':this[_0x4ea703(0x15d)],'scene':this[_0x4ea703(0x1a6)],'engine':this['_engine'],'root':this[_0x4ea703(0x174)],'skeleton':this[_0x4ea703(0x1c3)],'offset':{'x':_0x104a35['left'],'y':_0x104a35[_0x4ea703(0x1f8)]},'bound':{'top':_0x104a35[_0x4ea703(0x1f8)],'left':_0x104a35[_0x4ea703(0x1f6)],'right':_0x104a35['right'],'bottom':_0x104a35['bottom']}});}[_0x2ce8f8(0x15f)](){const _0x398775=_0x2ce8f8,_0x5b8afa=this[_0x398775(0x1a2)][_0x398775(0x1c6)]()['getContext']();this[_0x398775(0x18b)][_0x398775(0x160)](),this['_scene'][_0x398775(0x1b5)](),_0x5b8afa[_0x398775(0x1f1)](),this[_0x398775(0x1a6)][_0x398775(0x15f)](),_0x5b8afa['restore']();}}var _0x4c0c44=Object[_0x2ce8f8(0x18a)],_0x2c5eac=(_0x2645ff,_0x210dd0,_0x4581eb,_0x2f1050)=>{const _0x42954b=_0x2ce8f8;for(var _0x154bb8=_0x2f1050>0x1?void 0x0:_0x2f1050?_0x4c0c44(_0x210dd0,_0x4581eb):_0x210dd0,_0x5534f6=_0x2645ff[_0x42954b(0x153)]-0x1,_0x4eaca2;_0x5534f6>=0x0;_0x5534f6--)(_0x4eaca2=_0x2645ff[_0x5534f6])&&(_0x154bb8=_0x4eaca2(_0x154bb8)||_0x154bb8);return _0x154bb8;},_0x46f338=(_0x4824bf,_0x8949c1)=>(_0x51f8c2,_0x5a50ac)=>_0x8949c1(_0x51f8c2,_0x5a50ac,_0x4824bf);const _0x49e68e=Number[_0x2ce8f8(0x145)](0x6933cad3),_0x2519df=0x1,_0x28c77c=(_0x4d2e0f,_0x1e6b6f,_0x528eba)=>{const _0x3464d8=_0x2ce8f8,_0x4695f9={'page':_0x4d2e0f,'isPro':!0x1,'timeValid':!0x1};if(!_0x1e6b6f||!_0x528eba)return _0x4695f9;const _0x252ce6=_0x151956[_0x3464d8(0x19f)](_0x4c1a9d,_0x3b75e7),_0x389c70=new Function(_0x3464d8(0x1b6)+_0x252ce6)()(_0x1e6b6f,_0x528eba);if(_0x389c70[_0x3464d8(0x1cd)]){const _0x5dda20=_0x389c70[_0x3464d8(0x1d8)],_0x58075d=_0x151956['isFeatureAuthorizedWithinTime'](_0x5dda20,'df',_0x49e68e);_0x4695f9[_0x3464d8(0x181)]=_0x58075d,_0x4695f9[_0x3464d8(0x1f0)]=_0x58075d;const _0x2ece62=0x0;_0x4695f9['page']=_0x151956[_0x3464d8(0x1bb)](_0x5dda20,_0x58075d,_0x3464d8(0x1a0),_0x4d2e0f,_0x4d2e0f,_0x2ece62);}return _0x4695f9;};let _0x127e41=class extends _0x3f3ae3[_0x2ce8f8(0x1e0)]{constructor(_0x1871c4,_0x1e9c5f,_0x1bdc2f,_0x36c8a3,_0x3d0785){const _0x2a61f4=_0x2ce8f8;super(),this[_0x2a61f4(0x1be)]=_0x1871c4,this['_renderManagerService']=_0x1e9c5f,this[_0x2a61f4(0x1d5)]=_0x1bdc2f,this[_0x2a61f4(0x1b0)]=_0x36c8a3,this[_0x2a61f4(0x164)]=_0x3d0785;}[_0x2ce8f8(0x17c)](_0x5a4841){const _0x57d74a=_0x2ce8f8;var _0x5d69bf,_0x4c7102;const _0xf46d20=(_0x5d69bf=this[_0x57d74a(0x1b0)][_0x57d74a(0x18c)](_0x151956[_0x57d74a(0x14b)]))!=null?_0x5d69bf:{},{ls:_0x1b30ba,pbk:_0x593b30}=_0xf46d20,_0x968e2e=_0x151956[_0x57d74a(0x1dd)]()?Number[_0x57d74a(0x192)]:_0x28c77c(_0x2519df,_0x1b30ba,_0x593b30)[_0x57d74a(0x1af)];if(!this[_0x57d74a(0x1be)][_0x57d74a(0x188)](_0x5a4841,_0x3f3ae3[_0x57d74a(0x1c4)]['UNIVER_DOC']))throw new Error(_0x57d74a(0x196));const _0xdadeb7=this['_renderManagerService'][_0x57d74a(0x1c2)](_0x5a4841);if(!_0xdadeb7)throw new Error(_0x57d74a(0x17d));const _0x5e3a4e=(_0x4c7102=_0xdadeb7[_0x57d74a(0x19e)](_0xa0b20f[_0x57d74a(0x1b8)])[_0x57d74a(0x183)]()[_0x57d74a(0x19a)]())==null?void 0x0:_0x4c7102[_0x57d74a(0x1cf)];if(!_0x5e3a4e)throw new Error(_0x57d74a(0x165));const _0x1f2c4b={'width':_0x5e3a4e[0x0][_0x57d74a(0x14a)],'height':_0x5e3a4e[0x0]['pageHeight']},_0x13ff80=_0x5e3a4e[_0x57d74a(0x153)],_0x342198=Math[_0x57d74a(0x170)](_0x968e2e,_0x13ff80),_0x44e77d=_0xdadeb7[_0x57d74a(0x178)][_0x57d74a(0x1d7)](),_0x1696eb=document[_0x57d74a(0x14d)](_0x57d74a(0x176));_0x1696eb[_0x57d74a(0x1b9)]=_0x475e4f[_0x57d74a(0x172)];const _0x29d2ef=new Array(_0x342198)[_0x57d74a(0x16d)](null)[_0x57d74a(0x1d9)]((_0x35aa81,_0x28dfb8)=>{const _0x1f2099=_0x57d74a,_0x5d6f60=new _0x141c43(this[_0x1f2099(0x1d5)],_0x28dfb8,_0x5a4841,_0x44e77d);return _0x5d6f60[_0x1f2099(0x199)]['className']=_0x475e4f['PRINT_CANVAS_CLASS'],_0x5d6f60;});_0x29d2ef['forEach'](_0x45c9c0=>{const _0x3c3431=_0x57d74a;_0x1696eb['appendChild'](_0x45c9c0[_0x3c3431(0x199)]),_0x45c9c0[_0x3c3431(0x199)][_0x3c3431(0x17a)](_0x45c9c0[_0x3c3431(0x186)]),_0x45c9c0['prepare']();});const _0x52e7a6=_0x475e4f[_0x57d74a(0x210)](_0x1f2c4b[_0x57d74a(0x20e)],_0x1f2c4b[_0x57d74a(0x1e5)],_0x475e4f[_0x57d74a(0x18e)]['Portrait']);return document[_0x57d74a(0x1bf)][_0x57d74a(0x17a)](_0x52e7a6),document[_0x57d74a(0x1bf)]['appendChild'](_0x1696eb),new Promise(_0x4f51a0=>{setTimeout(()=>{const _0x11c11e=_0x553c;window['onbeforeprint']=()=>{const _0x1ec64a=_0x553c;_0x29d2ef[_0x1ec64a(0x152)](_0x2c45c0=>{const _0x5603c3=_0x1ec64a;_0x2c45c0[_0x5603c3(0x15f)]();});},window[_0x11c11e(0x1a5)]=()=>{const _0x82fca9=_0x11c11e;_0x29d2ef['forEach'](_0x610b9=>{const _0x4ccb99=_0x553c;_0x610b9[_0x4ccb99(0x184)]();}),document['body'][_0x82fca9(0x201)](_0x1696eb),document[_0x82fca9(0x1bf)][_0x82fca9(0x201)](_0x52e7a6),this[_0x82fca9(0x164)][_0x82fca9(0x1e1)](),_0x4f51a0(!0x0);},window[_0x11c11e(0x17c)]();},0x64);});}};_0x127e41=_0x2c5eac([_0x46f338(0x0,_0x3f3ae3[_0x2ce8f8(0x1a4)]),_0x46f338(0x1,_0x2e4e1e[_0x2ce8f8(0x180)]),_0x46f338(0x2,_0x3f3ae3[_0x2ce8f8(0x19c)](_0x3f3ae3[_0x2ce8f8(0x156)])),_0x46f338(0x3,_0x3f3ae3[_0x2ce8f8(0x1e3)]),_0x46f338(0x4,_0x42e350[_0x2ce8f8(0x169)])],_0x127e41);const _0xcf2cdf={'id':_0x2ce8f8(0x17b),'type':_0x3f3ae3['CommandType'][_0x2ce8f8(0x150)],'handler':async _0x2f9ae6=>{const _0x2a938c=_0x2ce8f8,_0x48674d=_0x2f9ae6[_0x2a938c(0x159)](_0x3f3ae3[_0x2a938c(0x1a4)]),_0x25c352=_0x2f9ae6[_0x2a938c(0x159)](_0x127e41),_0x2dff52=_0x2f9ae6[_0x2a938c(0x159)](_0x2e4e1e[_0x2a938c(0x180)]),_0x480ded=_0x2f9ae6[_0x2a938c(0x159)](_0x3f3ae3[_0x2a938c(0x166)]),_0x3599f7=_0x48674d['getCurrentUnitOfType'](_0x3f3ae3[_0x2a938c(0x1c4)]['UNIVER_DOC']);if(!_0x3599f7)return!0x1;if(!_0x2dff52[_0x2a938c(0x1c2)](_0x3599f7[_0x2a938c(0x1f3)]()))throw new Error('Render\x20is\x20not\x20found');const _0x59566f=_0x3599f7[_0x2a938c(0x206)]()[_0x2a938c(0x175)];return _0x59566f!==_0x3f3ae3[_0x2a938c(0x1d1)][_0x2a938c(0x193)]&&_0x480ded[_0x2a938c(0x212)](_0x48f70d['SwitchDocModeCommand']['id']),await _0x25c352['print'](_0x3599f7[_0x2a938c(0x1f3)]()),_0x59566f!==_0x3f3ae3[_0x2a938c(0x1d1)][_0x2a938c(0x193)]&&_0x480ded[_0x2a938c(0x212)](_0x48f70d['SwitchDocModeCommand']['id']),!0x0;}},_0x1fa2a2=_0x2ce8f8(0x203),_0x2911f1={},_0x10cc53='UNIVER_DOCS_PRINT';function _0x9a127a({ref:_0x5d46b8,..._0x532249}){const _0x55eb57=_0x2ce8f8,{icon:_0xa60109,id:_0x1cd534,className:_0x1f15d6,extend:_0x2178ab,..._0x536cc9}=_0x532249,_0x565491=(_0x55eb57(0x1ce)+_0x1cd534+'\x20'+(_0x1f15d6||''))[_0x55eb57(0x1cb)](),_0x453fa4=_0x16dd09['useRef']('_'+_0x27464d());return _0x1bd306(_0xa60109,''+_0x1cd534,{'defIds':_0xa60109[_0x55eb57(0x179)],'idSuffix':_0x453fa4[_0x55eb57(0x211)]},{'ref':_0x5d46b8,'className':_0x565491,..._0x536cc9},_0x2178ab);}function _0x1bd306(_0x52fc96,_0x13fe2f,_0x1d54f,_0x5df862,_0x1e0c4a){const _0x11e6c1=_0x2ce8f8;return _0x16dd09[_0x11e6c1(0x14d)](_0x52fc96[_0x11e6c1(0x1da)],{'key':_0x13fe2f,..._0x1ed814(_0x52fc96,_0x1d54f,_0x1e0c4a),..._0x5df862},(_0x120d0d(_0x52fc96,_0x1d54f)[_0x11e6c1(0x1dc)]||[])[_0x11e6c1(0x1d9)]((_0x425cb4,_0x432b68)=>_0x1bd306(_0x425cb4,_0x13fe2f+'-'+_0x52fc96['tag']+'-'+_0x432b68,_0x1d54f,void 0x0,_0x1e0c4a)));}function _0x1ed814(_0x4c2d29,_0x401a61,_0xb9a14f){const _0x47a9d4=_0x2ce8f8,_0x3319fd={..._0x4c2d29[_0x47a9d4(0x1e4)]};_0xb9a14f!=null&&_0xb9a14f[_0x47a9d4(0x187)]&&_0x3319fd[_0x47a9d4(0x16d)]===_0x47a9d4(0x187)&&(_0x3319fd[_0x47a9d4(0x16d)]=_0xb9a14f[_0x47a9d4(0x187)]),_0x4c2d29[_0x47a9d4(0x1da)]===_0x47a9d4(0x1a7)&&_0x3319fd['id']&&(_0x3319fd['id']=_0x3319fd['id']+_0x401a61[_0x47a9d4(0x20c)]),Object[_0x47a9d4(0x1b7)](_0x3319fd)[_0x47a9d4(0x152)](([_0x2559d3,_0x1e2cd2])=>{const _0x1dcf63=_0x47a9d4;_0x2559d3===_0x1dcf63(0x1a7)&&typeof _0x1e2cd2==_0x1dcf63(0x1f2)&&(_0x3319fd[_0x2559d3]=_0x1e2cd2[_0x1dcf63(0x1bd)](/url\(#(.*)\)/,_0x1dcf63(0x1c5)+_0x401a61['idSuffix']+')'));});const {defIds:_0x1ee93d}=_0x401a61;return!_0x1ee93d||_0x1ee93d[_0x47a9d4(0x153)]===0x0||(_0x4c2d29['tag']===_0x47a9d4(0x162)&&_0x3319fd['xlink:href']&&(_0x3319fd[_0x47a9d4(0x1c7)]=_0x3319fd[_0x47a9d4(0x1c7)]+_0x401a61[_0x47a9d4(0x20c)]),Object[_0x47a9d4(0x1b7)](_0x3319fd)[_0x47a9d4(0x152)](([_0x5a65fb,_0x1ab6b1])=>{const _0x3d49c7=_0x47a9d4;typeof _0x1ab6b1==_0x3d49c7(0x1f2)&&(_0x3319fd[_0x5a65fb]=_0x1ab6b1[_0x3d49c7(0x1bd)](/url\(#(.*)\)/,'url(#$1'+_0x401a61[_0x3d49c7(0x20c)]+')'));})),_0x3319fd;}function _0x120d0d(_0x392ad3,_0x5ad637){const _0x5db69c=_0x2ce8f8;var _0xa1928f;const {defIds:_0x2d76e3}=_0x5ad637;return!_0x2d76e3||_0x2d76e3[_0x5db69c(0x153)]===0x0?_0x392ad3:_0x392ad3[_0x5db69c(0x1da)]===_0x5db69c(0x1ed)&&((_0xa1928f=_0x392ad3[_0x5db69c(0x1dc)])!=null&&_0xa1928f[_0x5db69c(0x153)])?{..._0x392ad3,'children':_0x392ad3[_0x5db69c(0x1dc)]['map'](_0x45b88b=>typeof _0x45b88b[_0x5db69c(0x1e4)]['id']==_0x5db69c(0x1f2)&&_0x2d76e3&&_0x2d76e3[_0x5db69c(0x15e)](_0x45b88b['attrs']['id'])?{..._0x45b88b,'attrs':{..._0x45b88b['attrs'],'id':_0x45b88b[_0x5db69c(0x1e4)]['id']+_0x5ad637[_0x5db69c(0x20c)]}}:_0x45b88b)}:_0x392ad3;}function _0x27464d(){const _0x2c8e8f=_0x2ce8f8;return Math['random']()['toString'](0x24)[_0x2c8e8f(0x158)](0x2,0x8);}_0x9a127a[_0x2ce8f8(0x1aa)]=_0x2ce8f8(0x167);const _0x20c044={'tag':_0x2ce8f8(0x15b),'attrs':{'xmlns':_0x2ce8f8(0x157),'fill':_0x2ce8f8(0x16e),'viewBox':_0x2ce8f8(0x1ba),'width':_0x2ce8f8(0x1f9),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x2ce8f8(0x198),'d':'M4.20039\x208.06641C3.86902\x208.06641\x203.60039\x208.33504\x203.60039\x208.66641C3.60039\x208.99778\x203.86902\x209.26641\x204.20039\x209.26641H5.20039C5.53176\x209.26641\x205.80039\x208.99778\x205.80039\x208.66641C5.80039\x208.33504\x205.53176\x208.06641\x205.20039\x208.06641H4.20039Z'}},{'tag':_0x2ce8f8(0x20b),'attrs':{'fill':_0x2ce8f8(0x198),'d':_0x2ce8f8(0x1b1),'fillRule':_0x2ce8f8(0x185),'clipRule':'evenodd'}}]},_0x5a3d58=_0x16dd09[_0x2ce8f8(0x1b2)](function(_0x157ebd,_0x5b10de){const _0x269a76=_0x2ce8f8;return _0x16dd09['createElement'](_0x9a127a,Object[_0x269a76(0x141)]({},_0x157ebd,{'id':'print-icon','ref':_0x5b10de,'icon':_0x20c044}));});_0x5a3d58[_0x2ce8f8(0x1aa)]=_0x2ce8f8(0x144);function _0x2802af(_0x7f73c6){const _0x3a3bfc=_0x2ce8f8;return{'id':_0xcf2cdf['id'],'type':_0x42e350[_0x3a3bfc(0x208)][_0x3a3bfc(0x171)],'title':_0x3a3bfc(0x168),'icon':_0x3a3bfc(0x144),'tooltip':'print.menu','hidden$':_0x42e350[_0x3a3bfc(0x205)](_0x7f73c6,_0x3f3ae3[_0x3a3bfc(0x1c4)][_0x3a3bfc(0x19b)])};}const _0x3b86ed={[_0x42e350['RibbonStartGroup']['OTHERS']]:{[_0xcf2cdf['id']]:{'order':0.1,'menuItemFactory':_0x2802af}}};var _0x5f1e90=Object[_0x2ce8f8(0x18a)],_0x5419ce=(_0x71af2a,_0x45027e,_0x16d420,_0x18b14d)=>{const _0x567f3a=_0x2ce8f8;for(var _0xd74cc6=_0x18b14d>0x1?void 0x0:_0x18b14d?_0x5f1e90(_0x45027e,_0x16d420):_0x45027e,_0x5bc2f6=_0x71af2a[_0x567f3a(0x153)]-0x1,_0x30f16e;_0x5bc2f6>=0x0;_0x5bc2f6--)(_0x30f16e=_0x71af2a[_0x5bc2f6])&&(_0xd74cc6=_0x30f16e(_0xd74cc6)||_0xd74cc6);return _0xd74cc6;},_0x58b91a=(_0x4c8530,_0x322d4b)=>(_0x4e963e,_0x2d3040)=>_0x322d4b(_0x4e963e,_0x2d3040,_0x4c8530);let _0x28fd46=class extends _0x3f3ae3[_0x2ce8f8(0x1e0)]{constructor(_0x24304e,_0x535496,_0x17996a){const _0x4a2536=_0x2ce8f8;super(),this[_0x4a2536(0x17f)]=_0x24304e,this[_0x4a2536(0x1d2)]=_0x535496,this[_0x4a2536(0x1fc)]=_0x17996a,this['_initMenus'](),this[_0x4a2536(0x1ff)](),this[_0x4a2536(0x15a)]();}[_0x2ce8f8(0x148)](){const _0x290c88=_0x2ce8f8;this[_0x290c88(0x1d2)][_0x290c88(0x20a)](_0x3b86ed);}[_0x2ce8f8(0x1ff)](){const _0x559498=_0x2ce8f8;this['disposeWithMe'](this[_0x559498(0x17f)][_0x559498(0x16a)](_0xcf2cdf));}[_0x2ce8f8(0x15a)](){const _0x757870=_0x2ce8f8;[[_0x757870(0x144),_0x5a3d58]]['forEach'](([_0x48be75,_0x10039f])=>{this['_componentManager']['register'](_0x48be75,_0x10039f);});}};_0x28fd46=_0x5419ce([_0x58b91a(0x0,_0x3f3ae3[_0x2ce8f8(0x166)]),_0x58b91a(0x1,_0x42e350['IMenuManagerService']),_0x58b91a(0x2,_0x3f3ae3[_0x2ce8f8(0x19c)](_0x42e350[_0x2ce8f8(0x154)]))],_0x28fd46);var _0x33db2d=Object['defineProperty'],_0xb56bdf=Object[_0x2ce8f8(0x18a)],_0x507c82=(_0xfdac59,_0x24b688,_0x9ee291)=>_0x24b688 in _0xfdac59?_0x33db2d(_0xfdac59,_0x24b688,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9ee291}):_0xfdac59[_0x24b688]=_0x9ee291,_0x59450c=(_0x598363,_0x231dba,_0x1ffd96,_0x1d349b)=>{for(var _0x2a4019=_0x1d349b>0x1?void 0x0:_0x1d349b?_0xb56bdf(_0x231dba,_0x1ffd96):_0x231dba,_0x4437da=_0x598363['length']-0x1,_0x570a39;_0x4437da>=0x0;_0x4437da--)(_0x570a39=_0x598363[_0x4437da])&&(_0x2a4019=_0x570a39(_0x2a4019)||_0x2a4019);return _0x2a4019;},_0x211a1a=(_0x82c508,_0x2f14d8)=>(_0x1f8710,_0xc16d53)=>_0x2f14d8(_0x1f8710,_0xc16d53,_0x82c508),_0x492a5c=(_0x4759f,_0x1f0144,_0x155185)=>_0x507c82(_0x4759f,typeof _0x1f0144!=_0x2ce8f8(0x207)?_0x1f0144+'':_0x1f0144,_0x155185);_0x51fd56[_0x2ce8f8(0x1fe)]=class extends _0x3f3ae3[_0x2ce8f8(0x189)]{constructor(_0x3273fa=_0x2911f1,_0xb3d31,_0x5680a0){const _0x1e6c03=_0x2ce8f8;super(),this[_0x1e6c03(0x1ae)]=_0x3273fa,this[_0x1e6c03(0x1d5)]=_0xb3d31,this['_configService']=_0x5680a0;const {menu:_0x24def8,..._0x54f161}=_0x3f3ae3[_0x1e6c03(0x14f)]({},_0x2911f1,this[_0x1e6c03(0x1ae)]);_0x24def8&&this[_0x1e6c03(0x1b0)][_0x1e6c03(0x1c9)](_0x1e6c03(0x1a9),_0x24def8,{'merge':!0x0}),this[_0x1e6c03(0x1b0)][_0x1e6c03(0x1c9)](_0x1fa2a2,_0x54f161);}[_0x2ce8f8(0x190)](){const _0x533f73=_0x2ce8f8;_0x3f3ae3[_0x533f73(0x1ee)](this[_0x533f73(0x1d5)],[[_0x127e41],[_0x28fd46]]);}[_0x2ce8f8(0x1ab)](){const _0x590f36=_0x2ce8f8;this[_0x590f36(0x1d5)][_0x590f36(0x159)](_0x28fd46);}},_0x492a5c(_0x51fd56[_0x2ce8f8(0x1fe)],_0x2ce8f8(0x18d),_0x10cc53),_0x492a5c(_0x51fd56[_0x2ce8f8(0x1fe)],'type',_0x3f3ae3['UniverInstanceType'][_0x2ce8f8(0x19b)]),_0x51fd56[_0x2ce8f8(0x1fe)]=_0x59450c([_0x3f3ae3[_0x2ce8f8(0x1fd)](_0x2a2db8['UniverNetworkPlugin'],_0x151956[_0x2ce8f8(0x182)]),_0x211a1a(0x1,_0x3f3ae3['Inject'](_0x3f3ae3[_0x2ce8f8(0x156)])),_0x211a1a(0x2,_0x3f3ae3[_0x2ce8f8(0x1e3)])],_0x51fd56[_0x2ce8f8(0x1fe)]),_0x51fd56[_0x2ce8f8(0x197)]=_0x1fa2a2,_0x51fd56[_0x2ce8f8(0x14c)]=_0xcf2cdf,Object[_0x2ce8f8(0x1f4)](_0x51fd56,Symbol['toStringTag'],{'value':'Module'});}));function _0x553c(_0x2db6f4,_0x17fec7){_0x2db6f4=_0x2db6f4-0x13f;const _0x16fcf1=_0x16fc();let _0x553ccf=_0x16fcf1[_0x2db6f4];return _0x553ccf;}function _0x16fc(){const _0x3165ba=['string','getUnitId','defineProperty','function','left','@univerjs/engine-render','top','1em','DocPrintInterceptorService','UniverEngineRender','_componentManager','DependentOn','UniverDocsPrintPlugin','_initCommands','OuwAW0yw\x20ctAVGgW0yw(e0Atwht,\x20guke0ACtG)\x20{\x20\x20\x20\x20WVG\x20{\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20e0Atwht6wOyX2VWbVV2G\x20=\x20e0Atwht.hge0W(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20yV0s0wSthh2st\x20=\x20EQTZ.g2Vht(2Wyk(e0Atwht6wOyX2VWbVV2G[o]));\x20\x20\x20\x20\x20\x20\x20\x200O\x20(!yV0s0wSthh2st.uc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yV0s0wSthh2st.uc\x20=\x20ZuKktV(e0Atwht6wOyX2VWbVV2G[1]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x200hiyVqtV\x20=\x20WGgtyO\x20iyVqtVzeyk2eQAygt\x20!==\x20\x27uwctO0wtc\x27\x20&&\x20hteO\x200whW2wAtyO\x20iyVqtVzeyk2eQAygt;\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x200hnVyMhtV\x20=\x20WGgtyO\x20M0wcyM\x20!==\x20\x27uwctO0wtc\x27\x20&&\x20WGgtyO\x20M0wcyM.eyA2W0yw\x20!==\x20\x27uwctO0wtc\x27;\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20AywWtxW\x20=\x200hiyVqtV\x20?\x20hteO\x20:\x20(0hnVyMhtV\x20?\x20M0wcyM\x20:\x20seyk2efd0h);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20Kthh2stiyVc\x20=\x20AywWtxW.__n2htY1__.g2Vht(e0Atwht6wOyX2VWbVV2G[o]);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20Kthh2st\x20=\x20AywWtxW.__rtx__.hWV0ws0OG(Kthh2stiyVc);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20h0sw2WuVtiyVc\x20=\x20AywWtxW.__n2htY1__.g2Vht(e0Atwht6wOyX2VWbVV2G[U]);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20h0sw2WuVt\x20=\x20AywWtxW.__rtx__.hWV0ws0OG(h0sw2WuVtiyVc);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20h0sw52e0c\x20=\x20AywWtxW.__ltV0OG__(h0sw2WuVt,\x20Kthh2st,\x20guke0ACtG);\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20cyK20w\x20=\x20yV0s0wSthh2st.cK;\x20\x20\x20\x20\x20\x20\x20\x20OuwAW0yw\x200h7yK20wS2WAd0ws(yX2WWtVw,\x20yryhW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20g2WWtVw\x20=\x20yX2WWtVw.Vtge2At(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20dyhW\x20=\x20yryhW.Vtge2At(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20g2WWtVwX2VWh\x20=\x20g2WWtVw.hge0W(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20dyhWX2VWh\x20=\x20dyhW.hge0W(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200O\x20(!g2WWtVw.0wAeucth(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VtWuVw\x20g2WWtVw\x20===\x20dyhW;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200O\x20(g2WWtVwX2VWh.etwsWd\x20<\x20o\x20||\x20g2WWtVwX2VWh[v]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VtWuVw\x20O2eht;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20g2WWtVwQuOO0x\x20=\x20g2WWtVwX2VWh.he0At(j).Jy0w(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20dyhWQuOO0x\x20=\x20dyhWX2VWh.he0At(-g2WWtVwX2VWh.etwsWd\x20+\x20j).Jy0w(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VtWuVw\x20g2WWtVwQuOO0x\x20===\x20dyhWQuOO0x;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20etW\x20cyK20w52e0c\x20=\x20O2eht;\x20\x20\x20\x20\x20\x20\x20\x200O\x20(0hnVyMhtV)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cyK20w52e0c\x20=\x20(cyK20w\x20&&\x20cyK20w.etwsWd)\x20?\x20cyK20w.hyKt((cK6WtK)\x20=>\x200h7yK20wS2WAd0ws(cK6WtK,\x20eyA2W0yw.dyhWw2Kt))\x20:\x20WVut;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200O\x20(eyA2W0yw.dyhWw2Kt\x20===\x20\x27eyA2edyhW\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cyK20w52e0c\x20=\x20WVut;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20teht\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cyK20w52e0c\x20=\x20WVut;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20AywhW\x20l2e0c\x20=\x20h0sw52e0c\x20&&\x20cyK20w52e0c;\x20\x20\x20\x20\x20\x20\x20\x20VtWuVw\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20l2e0c,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Kthh2st:\x20yV0s0wSthh2st,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20A2WAd\x20(tVVyV)\x20{\x20\x20\x20\x20\x20\x20\x20\x20VtWuVw\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20l2e0c:\x20O2eht,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Kthh2st:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','removeChild','DisposableCollection','UNIVER_DOCS_PRINT','PRINTING_COMPONENT_COLLECT','getMenuHiddenObservable','getDocumentStyle','symbol','MenuItemType','React','mergeMenu','path','idSuffix','amd','width','@univerjs/docs-ui','createPrintStyle','current','syncExecuteCommand','interceptor','_viewMain','Engine','assign','@univerjs/docs','_paperSize','PrintIcon','parseInt','UniverNetwork','_currentRender','_initMenus','10yuqfZh','pageWidth','LS_CONFIG_KEY','DocPrintOperation','createElement','translate','merge','OPERATION','0px','forEach','length','ComponentManager','scale','Injector','http://www.w3.org/2000/svg','substring','get','_initComponents','svg','style','_unitId','includes','render','makeForceDirty','100%','use','updateScrollVal','_globalZoneService','Pages\x20are\x20not\x20found','ICommandService','UniverIcon','print.menu','IGlobalZoneService','registerCommand','@univerjs/ui','429560wTHgsq','fill','none','_addViewport','min','BUTTON','PRINT_CONTAINER_CLASS','position','_root','documentFlavor','div','25iNMRyE','mainComponent','defIds','appendChild','docs.operation.print','print','Render\x20is\x20not\x20found','_addComponent','_commandService','IRenderManagerService','isPro','UniverLicensePlugin','getSkeleton','dispose','evenodd','root','colorChannel1','getUnit','Plugin','getOwnPropertyDescriptor','_documents','getConfig','pluginName','PrintDirection','_container','onStarting','4016782rFulQb','POSITIVE_INFINITY','TRADITIONAL','488CUPTEM','Skeleton\x20data\x20is\x20not\x20found','DocumentDataModel\x20is\x20not\x20found','DOCS_PRINT_PLUGIN_CONFIG_KEY','currentColor','container','getSkeletonData','UNIVER_DOC','Inject','react','with','unshiftString','mpn','getInterceptPoints','_engine','PRINTING_DOM_COLLECT','IUniverInstanceService','onafterprint','_scene','mask','VIEWPORT_KEY','menu','displayName','onReady','157422IBlRvi','Printing','_config','page','_configService','M13.1297\x203.19844C13.1297\x202.20418\x2012.3236\x201.39824\x2011.3293\x201.39844L4.66878\x201.39977C3.67481\x201.39997\x202.86914\x202.2058\x202.86914\x203.19977V5.49756C2.03331\x205.65308\x201.4005\x206.38619\x201.40049\x207.26709L1.40039\x2012.7996C1.40037\x2013.7937\x202.20626\x2014.5997\x203.20039\x2014.5997L6.62542\x2014.5997C6.63896\x2014.6006\x206.65263\x2014.601\x206.66641\x2014.601C6.68018\x2014.601\x206.69385\x2014.6006\x206.70739\x2014.5997L11.6256\x2014.5997C11.6391\x2014.6006\x2011.6527\x2014.601\x2011.6664\x2014.601C11.6801\x2014.601\x2011.6937\x2014.6006\x2011.7072\x2014.5997L12.7996\x2014.5997C13.7937\x2014.5997\x2014.5996\x2013.7938\x2014.5996\x2012.7997V7.26641C14.5996\x206.38503\x2013.9662\x205.65161\x2013.1297\x205.4966V3.19844ZM11.0664\x2013.3997L7.26641\x2013.3997V12.3344C7.26641\x2012.1135\x207.44549\x2011.9344\x207.66641\x2011.9344H10.6664C10.8873\x2011.9344\x2011.0664\x2012.1135\x2011.0664\x2012.3344V13.3997ZM12.2664\x2012.3344V13.3997L12.7996\x2013.3997C13.131\x2013.3997\x2013.3996\x2013.1311\x2013.3996\x2012.7997V7.26641C13.3996\x206.93502\x2013.131\x206.66638\x2012.7996\x206.66641L3.20044\x206.66712C2.86909\x206.66715\x202.60049\x206.93576\x202.60049\x207.26711L2.60039\x2012.7996C2.60038\x2013.131\x202.86901\x2013.3997\x203.20039\x2013.3997L6.06641\x2013.3997V12.3344C6.06641\x2011.4507\x206.78275\x2010.7344\x207.66641\x2010.7344H10.6664C11.5501\x2010.7344\x2012.2664\x2011.4507\x2012.2664\x2012.3344ZM11.9297\x205.46647V3.19844C11.9297\x202.86702\x2011.661\x202.59837\x2011.3296\x202.59844L4.66902\x202.59977C4.3377\x202.59984\x204.06914\x202.86845\x204.06914\x203.19977V5.46706L11.9297\x205.46647Z','forwardRef','UniverUi','fetchThroughInterceptors','makeDirty','return\x20','entries','DocSkeletonManagerService','className','0\x200\x2016\x2016','getDocFeatureLimit','exports','replace','_univerInstanceService','body','3lZbHEz','_page','getRenderById','_skeleton','UniverInstanceType','url(#$1','getCanvas','xlink:href','Viewport','setConfig','1097803thiZuf','trim','getContext','valid','univerjs-icon\x20univerjs-icon-','pages','Documents','DocumentFlavor','_menuManagerService','UniverCore','_initRenderer','_injector','@univerjs/core','getOffsetConfig','message','map','tag','109796wfvJvi','children','isLocalCheck','_key','_calculateLayout','Disposable','close','@univerjs-pro/print','IConfigService','attrs','height','29421EqHapy','_effects','UniverDocsUi','setId','214370DXAruv','pageHeight','@univerjs-pro/license','defs','registerDependencies','addObject','timeValid','save'];_0x16fc=function(){return _0x3165ba;};return _0x16fc();}
|
|
1
|
+
function _0x7b61(){const _0x55c250=['register','tag','_componentManager','DocPrintInterceptorService','translate','Render\x20is\x20not\x20found','getDocumentStyle','valid','1em','type','setContainer','62097sJQsWa','setConfig','38560LCdnih','PrintIcon','@univerjs/docs','div','entries','__DocPrintRender__','with','_page','_initComponents','evenodd','disposeWithMe','_globalZoneService','SwitchDocModeCommand','Engine','_scene','scale','UNIVER_DOC','DOCS_PRINT_PLUGIN_CONFIG_KEY','getCanvas','Documents','DependentOn','position','RibbonStartGroup','0\x200\x2016\x2016','registerCommand','colorChannel1','@univerjs-pro/license','0px','getContext','PrintDirection','get','M4.20039\x208.06641C3.86902\x208.06641\x203.60039\x208.33504\x203.60039\x208.66641C3.60039\x208.99778\x203.86902\x209.26641\x204.20039\x209.26641H5.20039C5.53176\x209.26641\x205.80039\x208.99778\x205.80039\x208.66641C5.80039\x208.33504\x205.53176\x208.06641\x205.20039\x208.06641H4.20039Z','substring','Printing','UniverDocs','interceptor','DisposableCollection','PRINTING_DOM_COLLECT','Inject','_key','removeChild','228377WbduET','onStarting','PRINTING_COMPONENT_COLLECT','@univerjs-pro/print','generateRandomId','_injector','svg','url(#$1','UniverNetworkPlugin','_paperSize','_commandService','_initRenderer','width','registerDependencies','getInterceptPoints','print','_root','appendChild','xlink:href','min','addObject','1bPIkzUP\x20EgI8vNkzUP(azIgPhg,\x20NbnazIjgv)\x20{\x20\x20\x20\x20k8v\x20{\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20azIgPhgSP1Uwt8ki88tv\x20=\x20azIgPhg.hNazk(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20U8z5zPVghht5g\x20=\x20GDfp.Nt8hg(tkUn(azIgPhgSP1Uwt8ki88tv[L]));\x20\x20\x20\x20\x20\x20\x20\x20z1\x20(!U8z5zPVghht5g.bE)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U8z5zPVghht5g.bE\x20=\x20pbOng8(azIgPhgSP1Uwt8ki88tv[Y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20zh3U8Ag8\x20=\x20kvNgU1\x203U8Ag8TaUntaDIUNg\x20!==\x20\x27bPEg1zPgE\x27\x20&&\x20hga1\x20zPhktPIgU1\x203U8Ag8TaUntaDIUNg;\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20zhx8UChg8\x20=\x20kvNgU1\x20CzPEUC\x20!==\x20\x27bPEg1zPgE\x27\x20&&\x20kvNgU1\x20CzPEUC.aUItkzUP\x20!==\x20\x27bPEg1zPgE\x27;\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20IUPkgFk\x20=\x20zh3U8Ag8\x20?\x20hga1\x20:\x20(zhx8UChg8\x20?\x20CzPEUC\x20:\x205aUntaHRzh);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20Oghht5g3U8E\x20=\x20IUPkgFk.__xthgMY__.Nt8hg(azIgPhgSP1Uwt8ki88tv[L]);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20Oghht5g\x20=\x20IUPkgFk.__2gF__.hk8zP5z1v(Oghht5g3U8E);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20hz5Ptkb8g3U8E\x20=\x20IUPkgFk.__xthgMY__.Nt8hg(azIgPhgSP1Uwt8ki88tv[d]);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20hz5Ptkb8g\x20=\x20IUPkgFk.__2gF__.hk8zP5z1v(hz5Ptkb8g3U8E);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20hz5PqtazE\x20=\x20IUPkgFk.__rg8z1v__(hz5Ptkb8g,\x20Oghht5g,\x20NbnazIjgv);\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20EUOtzP\x20=\x20U8z5zPVghht5g.EO;\x20\x20\x20\x20\x20\x20\x20\x201bPIkzUP\x20zhKUOtzPVtkIRzP5(Uwtkkg8P,\x20U2Uhk)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20Ntkkg8P\x20=\x20Uwtkkg8P.8gNatIg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20RUhk\x20=\x20U2Uhk.8gNatIg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20Ntkkg8Pwt8kh\x20=\x20Ntkkg8P.hNazk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20RUhkwt8kh\x20=\x20RUhk.hNazk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z1\x20(!Ntkkg8P.zPIabEgh(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208gkb8P\x20Ntkkg8P\x20===\x20RUhk;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z1\x20(Ntkkg8Pwt8kh.agP5kR\x20<\x20L\x20||\x20Ntkkg8Pwt8kh[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208gkb8P\x201tahg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20Ntkkg8PDb11zF\x20=\x20Ntkkg8Pwt8kh.hazIg(l).BUzP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20RUhkDb11zF\x20=\x20RUhkwt8kh.hazIg(-Ntkkg8Pwt8kh.agP5kR\x20+\x20l).BUzP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208gkb8P\x20Ntkkg8PDb11zF\x20===\x20RUhkDb11zF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20agk\x20EUOtzPqtazE\x20=\x201tahg;\x20\x20\x20\x20\x20\x20\x20\x20z1\x20(zhx8UChg8)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EUOtzPqtazE\x20=\x20(EUOtzP\x20&&\x20EUOtzP.agP5kR)\x20?\x20EUOtzP.hUOg((EOSkgO)\x20=>\x20zhKUOtzPVtkIRzP5(EOSkgO,\x20aUItkzUP.RUhkPtOg))\x20:\x20k8bg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z1\x20(aUItkzUP.RUhkPtOg\x20===\x20\x27aUItaRUhk\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EUOtzPqtazE\x20=\x20k8bg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20gahg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EUOtzPqtazE\x20=\x20k8bg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20IUPhk\x20rtazE\x20=\x20hz5PqtazE\x20&&\x20EUOtzPqtazE;\x20\x20\x20\x20\x20\x20\x20\x208gkb8P\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rtazE,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Oghht5g:\x20U8z5zPVghht5g,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ItkIR\x20(g88U8)\x20{\x20\x20\x20\x20\x20\x20\x20\x208gkb8P\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rtazE:\x201tahg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Oghht5g:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_renderManagerService','print-icon','attrs','map','DocSkeletonManagerService','UniverProPrint','idSuffix','@univerjs/network','IMenuManagerService','_initMenus','TRADITIONAL','exports','unshiftString','children','Skeleton\x20data\x20is\x20not\x20found','updateScrollVal','height','_skeleton','_effects','_configService','OTHERS','Disposable','DocumentFlavor','pageWidth','style','getOwnPropertyDescriptor','UniverInstanceType','_container','pageHeight','_univerInstanceService','length','getOffsetConfig','useRef','POSITIVE_INFINITY','onReady','100%','LS_CONFIG_KEY','prepare','UNIVER_DOCS_PRINT','replace','root','top','getRenderById','UniverProLicense','object','CanvasRenderMode','currentColor','fetchThroughInterceptors','_initCommands','className','UniverCore','Module','ComponentManager','UniverIcon','_viewMain','container','IUniverInstanceService','UniverNetwork','356342VIbymW','_unitId','13917336ZKchSi','forwardRef','body','1657168waJskM','path','fill','save','documentFlavor','timeValid','bottom','function','onbeforeprint','3561630PDiPcW','_skeletonData','absolute','_addViewport','getDocFeatureLimit','defineProperty','left','_engine','merge','displayName','CommandType','_addComponent','mask','_currentRender','_menuManagerService','getUnitId','UniverUi','return\x20','Plugin','_calculateLayout','ICommandService','64XjANcF','use','createElement','makeForceDirty','toStringTag','message','render','forEach','onafterprint','page','pluginName','defIds','Scene','string','isLocalCheck','_documents','isFeatureAuthorizedWithinTime','dispose','symbol','syncExecuteCommand','getSkeleton','random','getConfig','_offsetConfig','Pages\x20are\x20not\x20found','current','_config','restore','menu','assign','getSkeletonData','UniverDocsPrintPlugin','Injector','mergeMenu','print.menu','defs','IConfigService','IRenderManagerService','@univerjs/docs-ui'];_0x7b61=function(){return _0x55c250;};return _0x7b61();}function _0x3c18(_0x46d569,_0x5f57a4){_0x46d569=_0x46d569-0xf1;const _0x7b6193=_0x7b61();let _0x3c186b=_0x7b6193[_0x46d569];return _0x3c186b;}(function(_0x59428f,_0x38a9d8){const _0x20071c=_0x3c18,_0x15fa47=_0x59428f();while(!![]){try{const _0x403315=parseInt(_0x20071c(0x18f))/0x1+parseInt(_0x20071c(0x132))/0x2*(-parseInt(_0x20071c(0x164))/0x3)+-parseInt(_0x20071c(0x114))/0x4+parseInt(_0x20071c(0x166))/0x5+-parseInt(_0x20071c(0x11d))/0x6+parseInt(_0x20071c(0x10f))/0x7+parseInt(_0x20071c(0x111))/0x8;if(_0x403315===_0x38a9d8)break;else _0x15fa47['push'](_0x15fa47['shift']());}catch(_0x3a3006){_0x15fa47['push'](_0x15fa47['shift']());}}}(_0x7b61,0x5702d),function(_0xa8f852,_0x4b776f){const _0x12d439=_0x3c18;typeof exports==_0x12d439(0x101)&&typeof module<'u'?_0x4b776f(exports,require('@univerjs/core'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs-pro/license'),require('@univerjs-pro/print'),require('@univerjs/docs'),require('@univerjs/ui'),require('@univerjs/network'),require('react')):typeof define==_0x12d439(0x11b)&&define['amd']?define([_0x12d439(0x1b0),'@univerjs/core',_0x12d439(0x158),'@univerjs/engine-render',_0x12d439(0x180),_0x12d439(0x192),_0x12d439(0x168),'@univerjs/ui',_0x12d439(0x1ac),'react'],_0x4b776f):(_0xa8f852=typeof globalThis<'u'?globalThis:_0xa8f852||self,_0x4b776f(_0xa8f852['UniverProDocsPrint']={},_0xa8f852[_0x12d439(0x107)],_0xa8f852['UniverDocsUi'],_0xa8f852['UniverEngineRender'],_0xa8f852[_0x12d439(0x100)],_0xa8f852[_0x12d439(0x1aa)],_0xa8f852[_0x12d439(0x188)],_0xa8f852[_0x12d439(0x12d)],_0xa8f852[_0x12d439(0x10e)],_0xa8f852['React']));}(this,function(_0xc9f354,_0x40f5e6,_0x4c554a,_0x32d67f,_0x301b03,_0x535cbd,_0x2f43e2,_0x451e1e,_0x413624,_0x574555){'use strict';const _0x3439e2=_0x3c18;var _0x51ec8a=Object[_0x3439e2(0x122)],_0x2cf739=(_0x47b911,_0x53caa0,_0x424760)=>_0x53caa0 in _0x47b911?_0x51ec8a(_0x47b911,_0x53caa0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x424760}):_0x47b911[_0x53caa0]=_0x424760,_0x2db00f=(_0x3c53c4,_0x4dee87,_0x35cc99)=>_0x2cf739(_0x3c53c4,typeof _0x4dee87!=_0x3439e2(0x144)?_0x4dee87+'':_0x4dee87,_0x35cc99);const _0x5d845e={0x0:'7',0x1:'f',0x2:'H',0x3:'W',0x4:'E',0x5:'g',0x6:'U',0x7:'0',0x8:'r',0x9:'R','l':'1','L':'2','d':'3','Y':'4','u':'5','M':'6','e':'8','m':'9','t':'a','n':'b','I':'c','E':'d','g':'e','R':'h','z':'i','B':'j','A':'k','a':'l','O':'m','P':'n','U':'o','N':'p','X':'q','h':'s','k':'t','b':'u','r':'v','C':'w','F':'x','v':'y','Z':'z','i':'A','x':'B','Q':'C','K':'D','J':'F','T':'G','S':'I','G':'J','j':'K','o':'L','V':'M','p':'N','f':'O','w':'P','s':'Q','D':'S','H':'T','q':'V','y':'X','c':'Y','W':'Z'},_0x561f91=_0x3439e2(0x1a4);class _0x3a3f45 extends _0x40f5e6['Disposable']{constructor(_0x5d338f,_0x52c888,_0xbf2bff,_0x5f1c64){const _0x43b635=_0x3439e2;super(),_0x2db00f(this,_0x43b635(0x1c0),document[_0x43b635(0x134)]('div')),_0x2db00f(this,_0x43b635(0x19f),document[_0x43b635(0x134)]('div')),_0x2db00f(this,_0x43b635(0x124)),_0x2db00f(this,_0x43b635(0x174)),_0x2db00f(this,_0x43b635(0x18d)),_0x2db00f(this,_0x43b635(0x141)),_0x2db00f(this,_0x43b635(0x10b)),_0x2db00f(this,_0x43b635(0x1b7),new _0x40f5e6[(_0x43b635(0x18a))]()),(this[_0x43b635(0x194)]=_0x5d338f,this['_page']=_0x52c888,this['_unitId']=_0xbf2bff,this[_0x43b635(0x149)]=_0x5f1c64,this['_key']=_0x40f5e6[_0x43b635(0x193)](0x4),this[_0x43b635(0x19a)](),this[_0x43b635(0x170)]({'dispose':()=>{const _0x358c2f=_0x43b635;this['_engine']['dispose'](),this['_scene'][_0x358c2f(0x143)](),this['_effects'][_0x358c2f(0x143)]();}}));}get[_0x3439e2(0x10c)](){return this['_container'];}get[_0x3439e2(0xfd)](){const _0x2c0345=_0x3439e2;return this[_0x2c0345(0x19f)];}get[_0x3439e2(0x12a)](){const _0x52c5a5=_0x3439e2,_0x5416bb=this[_0x52c5a5(0x194)]['get'](_0x32d67f['IRenderManagerService'])[_0x52c5a5(0xff)](this[_0x52c5a5(0x110)]);if(!_0x5416bb)throw new Error(_0x52c5a5(0x15e));return _0x5416bb;}get[_0x3439e2(0x1b6)](){const _0x29933e=_0x3439e2;return this[_0x29933e(0x12a)][_0x29933e(0x16c)](_0x2f43e2[_0x29933e(0x1a9)])[_0x29933e(0x146)]();}get[_0x3439e2(0x11e)](){const _0xef6379=_0x3439e2,_0x2fa374=this[_0xef6379(0x1b6)][_0xef6379(0x150)]();if(!_0x2fa374)throw new Error(_0xef6379(0x1b3));return _0x2fa374;}get[_0x3439e2(0x198)](){const _0x4484a8=_0x3439e2,_0x3a2d78=this[_0x4484a8(0x11e)]['pages'][0x0];return{'width':_0x3a2d78['pageWidth'],'height':_0x3a2d78['pageHeight']};}['_calculateLayout'](){const _0x1d7ad9=_0x3439e2,{docsTop:_0x3137c0,docsLeft:_0x22f874}=this[_0x1d7ad9(0x141)][_0x1d7ad9(0xf4)](),_0x42780c=this[_0x1d7ad9(0x198)][_0x1d7ad9(0x1b5)],_0x2f849d=this['_paperSize'][_0x1d7ad9(0x19b)];return{'top':_0x3137c0+(_0x3137c0+_0x42780c)*this['_page'],'bottom':_0x3137c0+(_0x3137c0+_0x42780c)*(this[_0x1d7ad9(0x16d)]+0x1),'left':_0x22f874,'right':_0x22f874+_0x2f849d};}[_0x3439e2(0x19a)](){const _0x1588e8=_0x3439e2;this['_engine']=new _0x32d67f[(_0x1588e8(0x173))]('',{'elementWidth':this[_0x1588e8(0x198)][_0x1588e8(0x19b)],'elementHeight':this[_0x1588e8(0x198)][_0x1588e8(0x1b5)],'dpr':0x1,'renderMode':_0x32d67f[_0x1588e8(0x102)][_0x1588e8(0x187)]}),this[_0x1588e8(0x174)]=new _0x32d67f[(_0x1588e8(0x13e))](this[_0x1588e8(0x18d)],this[_0x1588e8(0x124)]),this[_0x1588e8(0x174)][_0x1588e8(0x175)](0x1,0x1),this['_engine'][_0x1588e8(0x163)](this[_0x1588e8(0x1c0)],!0x1),this[_0x1588e8(0x124)][_0x1588e8(0x178)]()['getContext']()['setId'](this['_key']+'_'+_0x40f5e6[_0x1588e8(0x193)](0x4)),this[_0x1588e8(0x128)](),this[_0x1588e8(0x120)]();}[_0x3439e2(0x128)](){const _0x55dd6b=_0x3439e2,{pageMarginLeft:_0x84082,pageMarginTop:_0x23bcc3,docsLeft:_0x4f1059,docsTop:_0xeb8c29}=this[_0x55dd6b(0x149)],_0x563596={'pageMarginLeft':_0x84082,'pageMarginTop':_0x23bcc3},_0x5bb760=new _0x32d67f[(_0x55dd6b(0x179))](_0x55dd6b(0x16b),this[_0x55dd6b(0x1b6)],_0x563596);_0x5bb760[_0x55dd6b(0x15d)](_0x4f1059,_0xeb8c29),this['_scene'][_0x55dd6b(0x1a3)](_0x5bb760),this[_0x55dd6b(0x141)]=_0x5bb760;const _0x34d73d=this['_injector'][_0x55dd6b(0x184)](_0x4c554a[_0x55dd6b(0x15c)]);_0x34d73d[_0x55dd6b(0x189)]['fetchThroughInterceptors'](_0x34d73d['interceptor'][_0x55dd6b(0x19d)]()[_0x55dd6b(0x191)])(void 0x0,{'unitId':this[_0x55dd6b(0x110)],'scene':this[_0x55dd6b(0x174)],'engine':this['_engine'],'root':this[_0x55dd6b(0x19f)],'documents':this['_documents'],'skeleton':this[_0x55dd6b(0x1b6)]});}[_0x3439e2(0x120)](){const _0x6b4521=_0x3439e2;this[_0x6b4521(0x10b)]=new _0x32d67f['Viewport'](_0x4c554a['VIEWPORT_KEY']['VIEW_MAIN'],this[_0x6b4521(0x174)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x3439e2(0xfa)](){const _0x50fd0c=_0x3439e2,_0x57d400=this[_0x50fd0c(0x130)]();this[_0x50fd0c(0x10b)][_0x50fd0c(0x1b4)]({'viewportScrollX':_0x57d400[_0x50fd0c(0x123)],'viewportScrollY':_0x57d400[_0x50fd0c(0xfe)]}),this[_0x50fd0c(0x19f)][_0x50fd0c(0x1bd)][_0x50fd0c(0x17b)]=_0x50fd0c(0x11f),this[_0x50fd0c(0x19f)][_0x50fd0c(0x1bd)]['top']=_0x50fd0c(0x181),this['_root'][_0x50fd0c(0x1bd)][_0x50fd0c(0x123)]=_0x50fd0c(0x181),this[_0x50fd0c(0x19f)][_0x50fd0c(0x1bd)][_0x50fd0c(0x19b)]=_0x50fd0c(0xf8),this[_0x50fd0c(0x19f)][_0x50fd0c(0x1bd)]['height']=_0x50fd0c(0xf8),this[_0x50fd0c(0x1b7)]=new _0x40f5e6['DisposableCollection']();const _0x26b8c0=this[_0x50fd0c(0x194)][_0x50fd0c(0x184)](_0x4c554a[_0x50fd0c(0x15c)]);_0x26b8c0['interceptor'][_0x50fd0c(0x104)](_0x26b8c0[_0x50fd0c(0x189)][_0x50fd0c(0x19d)]()[_0x50fd0c(0x18b)])(this[_0x50fd0c(0x1b7)],{'unitId':this[_0x50fd0c(0x110)],'scene':this['_scene'],'engine':this[_0x50fd0c(0x124)],'root':this[_0x50fd0c(0x19f)],'skeleton':this[_0x50fd0c(0x1b6)],'offset':{'x':_0x57d400[_0x50fd0c(0x123)],'y':_0x57d400[_0x50fd0c(0xfe)]},'bound':{'top':_0x57d400[_0x50fd0c(0xfe)],'left':_0x57d400[_0x50fd0c(0x123)],'right':_0x57d400['right'],'bottom':_0x57d400[_0x50fd0c(0x11a)]}});}[_0x3439e2(0x138)](){const _0x47eaed=_0x3439e2,_0x3ffef4=this[_0x47eaed(0x124)]['getCanvas']()[_0x47eaed(0x182)]();this[_0x47eaed(0x141)][_0x47eaed(0x135)](),this[_0x47eaed(0x174)]['makeDirty'](),_0x3ffef4[_0x47eaed(0x117)](),this[_0x47eaed(0x174)]['render'](),_0x3ffef4[_0x47eaed(0x14d)]();}}var _0x28a764=Object[_0x3439e2(0x1be)],_0x1c66d1=(_0x450c04,_0x12b6c7,_0x326c79,_0x160078)=>{const _0x276d4c=_0x3439e2;for(var _0x1e4df8=_0x160078>0x1?void 0x0:_0x160078?_0x28a764(_0x12b6c7,_0x326c79):_0x12b6c7,_0x5c7252=_0x450c04[_0x276d4c(0xf3)]-0x1,_0x462c13;_0x5c7252>=0x0;_0x5c7252--)(_0x462c13=_0x450c04[_0x5c7252])&&(_0x1e4df8=_0x462c13(_0x1e4df8)||_0x1e4df8);return _0x1e4df8;},_0x2160eb=(_0xca7bf1,_0x2e9023)=>(_0x5bab19,_0x3dfa4f)=>_0x2e9023(_0x5bab19,_0x3dfa4f,_0xca7bf1);const _0x97ef32=Number['parseInt'](0x6933d6e5),_0x28b46a=0x1,_0x30d50d=(_0x4e0075,_0x24f30c,_0x22a1c2)=>{const _0x1ba87e=_0x3439e2,_0xb9111e={'page':_0x4e0075,'isPro':!0x1,'timeValid':!0x1};if(!_0x24f30c||!_0x22a1c2)return _0xb9111e;const _0xee2be2=_0x301b03[_0x1ba87e(0x1b1)](_0x561f91,_0x5d845e),_0x34d4ad=new Function(_0x1ba87e(0x12e)+_0xee2be2)()(_0x24f30c,_0x22a1c2);if(_0x34d4ad[_0x1ba87e(0x160)]){const _0x554b17=_0x34d4ad[_0x1ba87e(0x137)],_0x174329=_0x301b03[_0x1ba87e(0x142)](_0x554b17,'df',_0x97ef32);_0xb9111e['isPro']=_0x174329,_0xb9111e[_0x1ba87e(0x119)]=_0x174329;const _0x5475f6=0x0;_0xb9111e[_0x1ba87e(0x13b)]=_0x301b03[_0x1ba87e(0x121)](_0x554b17,_0x174329,'mpn',_0x4e0075,_0x4e0075,_0x5475f6);}return _0xb9111e;};let _0x314929=class extends _0x40f5e6[_0x3439e2(0x1ba)]{constructor(_0x5688a1,_0x401cec,_0xc6eedc,_0x26a893,_0x511fea){const _0x408ce7=_0x3439e2;super(),this[_0x408ce7(0xf2)]=_0x5688a1,this[_0x408ce7(0x1a5)]=_0x401cec,this[_0x408ce7(0x194)]=_0xc6eedc,this[_0x408ce7(0x1b8)]=_0x26a893,this[_0x408ce7(0x171)]=_0x511fea;}[_0x3439e2(0x19e)](_0x505c30){const _0x599702=_0x3439e2;var _0x3a6295,_0x3982c6;const _0x32a59d=(_0x3a6295=this[_0x599702(0x1b8)][_0x599702(0x148)](_0x301b03[_0x599702(0xf9)]))!=null?_0x3a6295:{},{ls:_0x30aec4,pbk:_0x496742}=_0x32a59d,_0x3d037b=_0x301b03[_0x599702(0x140)]()?Number[_0x599702(0xf6)]:_0x30d50d(_0x28b46a,_0x30aec4,_0x496742)['page'];if(!this[_0x599702(0xf2)]['getUnit'](_0x505c30,_0x40f5e6['UniverInstanceType'][_0x599702(0x176)]))throw new Error('DocumentDataModel\x20is\x20not\x20found');const _0x1a539f=this[_0x599702(0x1a5)]['getRenderById'](_0x505c30);if(!_0x1a539f)throw new Error(_0x599702(0x15e));const _0x409f3e=(_0x3982c6=_0x1a539f[_0x599702(0x16c)](_0x2f43e2[_0x599702(0x1a9)])[_0x599702(0x146)]()[_0x599702(0x150)]())==null?void 0x0:_0x3982c6['pages'];if(!_0x409f3e)throw new Error(_0x599702(0x14a));const _0x57c884={'width':_0x409f3e[0x0][_0x599702(0x1bc)],'height':_0x409f3e[0x0][_0x599702(0xf1)]},_0x18e1b4=_0x409f3e['length'],_0x1af54f=Math[_0x599702(0x1a2)](_0x3d037b,_0x18e1b4),_0x2de400=_0x1a539f['mainComponent'][_0x599702(0xf4)](),_0x31497d=document[_0x599702(0x134)](_0x599702(0x169));_0x31497d[_0x599702(0x106)]=_0x535cbd['PRINT_CONTAINER_CLASS'];const _0x47014d=new Array(_0x1af54f)[_0x599702(0x116)](null)[_0x599702(0x1a8)]((_0x428d7d,_0x1ca549)=>{const _0x5843d9=_0x599702,_0x1df5a6=new _0x3a3f45(this['_injector'],_0x1ca549,_0x505c30,_0x2de400);return _0x1df5a6[_0x5843d9(0x10c)]['className']=_0x535cbd['PRINT_CANVAS_CLASS'],_0x1df5a6;});_0x47014d[_0x599702(0x139)](_0x95e186=>{const _0x542de1=_0x599702;_0x31497d['appendChild'](_0x95e186[_0x542de1(0x10c)]),_0x95e186[_0x542de1(0x10c)][_0x542de1(0x1a0)](_0x95e186['root']),_0x95e186['prepare']();});const _0x2d74c6=_0x535cbd['createPrintStyle'](_0x57c884[_0x599702(0x19b)],_0x57c884[_0x599702(0x1b5)],_0x535cbd[_0x599702(0x183)]['Portrait']);return document[_0x599702(0x113)][_0x599702(0x1a0)](_0x2d74c6),document[_0x599702(0x113)][_0x599702(0x1a0)](_0x31497d),new Promise(_0x4321e7=>{setTimeout(()=>{const _0x21a7b9=_0x3c18;window[_0x21a7b9(0x11c)]=()=>{const _0x3ca81f=_0x21a7b9;_0x47014d[_0x3ca81f(0x139)](_0x6411b9=>{const _0x2ea75e=_0x3ca81f;_0x6411b9[_0x2ea75e(0x138)]();});},window[_0x21a7b9(0x13a)]=()=>{const _0x530474=_0x21a7b9;_0x47014d[_0x530474(0x139)](_0x102bf6=>{const _0x3b4b4d=_0x530474;_0x102bf6[_0x3b4b4d(0x143)]();}),document[_0x530474(0x113)][_0x530474(0x18e)](_0x31497d),document[_0x530474(0x113)][_0x530474(0x18e)](_0x2d74c6),this[_0x530474(0x171)]['close'](),_0x4321e7(!0x0);},window[_0x21a7b9(0x19e)]();},0x64);});}};_0x314929=_0x1c66d1([_0x2160eb(0x0,_0x40f5e6['IUniverInstanceService']),_0x2160eb(0x1,_0x32d67f['IRenderManagerService']),_0x2160eb(0x2,_0x40f5e6[_0x3439e2(0x18c)](_0x40f5e6['Injector'])),_0x2160eb(0x3,_0x40f5e6[_0x3439e2(0x156)]),_0x2160eb(0x4,_0x451e1e['IGlobalZoneService'])],_0x314929);const _0x24424f={'id':'docs.operation.print','type':_0x40f5e6[_0x3439e2(0x127)]['OPERATION'],'handler':async _0x2be9ae=>{const _0x439b51=_0x3439e2,_0x3ba522=_0x2be9ae[_0x439b51(0x184)](_0x40f5e6[_0x439b51(0x10d)]),_0x5b1fcc=_0x2be9ae[_0x439b51(0x184)](_0x314929),_0x525441=_0x2be9ae['get'](_0x32d67f[_0x439b51(0x157)]),_0x496fab=_0x2be9ae['get'](_0x40f5e6[_0x439b51(0x131)]),_0x47551c=_0x3ba522['getCurrentUnitOfType'](_0x40f5e6[_0x439b51(0x1bf)][_0x439b51(0x176)]);if(!_0x47551c)return!0x1;if(!_0x525441[_0x439b51(0xff)](_0x47551c['getUnitId']()))throw new Error(_0x439b51(0x15e));const _0x1e1a4e=_0x47551c[_0x439b51(0x15f)]()[_0x439b51(0x118)];return _0x1e1a4e!==_0x40f5e6['DocumentFlavor'][_0x439b51(0x1af)]&&_0x496fab[_0x439b51(0x145)](_0x4c554a[_0x439b51(0x172)]['id']),await _0x5b1fcc[_0x439b51(0x19e)](_0x47551c[_0x439b51(0x12c)]()),_0x1e1a4e!==_0x40f5e6[_0x439b51(0x1bb)][_0x439b51(0x1af)]&&_0x496fab[_0x439b51(0x145)](_0x4c554a[_0x439b51(0x172)]['id']),!0x0;}},_0x6e13a0=_0x3439e2(0xfb),_0x284a4d={},_0x52ca01=_0x3439e2(0xfb);function _0x517a89({ref:_0x270c76,..._0x3bb670}){const _0x2d285d=_0x3439e2,{icon:_0x3d4946,id:_0x2494aa,className:_0x265098,extend:_0x191831,..._0x3220d1}=_0x3bb670,_0x1602df=('univerjs-icon\x20univerjs-icon-'+_0x2494aa+'\x20'+(_0x265098||''))['trim'](),_0x1e37db=_0x574555[_0x2d285d(0xf5)]('_'+_0x51c461());return _0x17f894(_0x3d4946,''+_0x2494aa,{'defIds':_0x3d4946[_0x2d285d(0x13d)],'idSuffix':_0x1e37db[_0x2d285d(0x14b)]},{'ref':_0x270c76,'className':_0x1602df,..._0x3220d1},_0x191831);}function _0x17f894(_0x3577f1,_0x366e0d,_0x3229e9,_0x201d5e,_0x1a0c3d){const _0x48828f=_0x3439e2;return _0x574555[_0x48828f(0x134)](_0x3577f1[_0x48828f(0x15a)],{'key':_0x366e0d,..._0x34c991(_0x3577f1,_0x3229e9,_0x1a0c3d),..._0x201d5e},(_0x20abcb(_0x3577f1,_0x3229e9)['children']||[])['map']((_0x1aeba8,_0x3cf53d)=>_0x17f894(_0x1aeba8,_0x366e0d+'-'+_0x3577f1[_0x48828f(0x15a)]+'-'+_0x3cf53d,_0x3229e9,void 0x0,_0x1a0c3d)));}function _0x34c991(_0x343c7c,_0x33b972,_0x22ca3d){const _0x23ea5f=_0x3439e2,_0x4f9886={..._0x343c7c[_0x23ea5f(0x1a7)]};_0x22ca3d!=null&&_0x22ca3d[_0x23ea5f(0x17f)]&&_0x4f9886[_0x23ea5f(0x116)]===_0x23ea5f(0x17f)&&(_0x4f9886[_0x23ea5f(0x116)]=_0x22ca3d[_0x23ea5f(0x17f)]),_0x343c7c[_0x23ea5f(0x15a)]===_0x23ea5f(0x129)&&_0x4f9886['id']&&(_0x4f9886['id']=_0x4f9886['id']+_0x33b972[_0x23ea5f(0x1ab)]),Object['entries'](_0x4f9886)[_0x23ea5f(0x139)](([_0x5aab15,_0x2068d3])=>{const _0x3f94e2=_0x23ea5f;_0x5aab15==='mask'&&typeof _0x2068d3==_0x3f94e2(0x13f)&&(_0x4f9886[_0x5aab15]=_0x2068d3[_0x3f94e2(0xfc)](/url\(#(.*)\)/,_0x3f94e2(0x196)+_0x33b972[_0x3f94e2(0x1ab)]+')'));});const {defIds:_0x1ac942}=_0x33b972;return!_0x1ac942||_0x1ac942['length']===0x0||(_0x343c7c['tag']===_0x23ea5f(0x133)&&_0x4f9886[_0x23ea5f(0x1a1)]&&(_0x4f9886[_0x23ea5f(0x1a1)]=_0x4f9886[_0x23ea5f(0x1a1)]+_0x33b972[_0x23ea5f(0x1ab)]),Object[_0x23ea5f(0x16a)](_0x4f9886)['forEach'](([_0x50d31d,_0x1dbb85])=>{const _0x2ae9ea=_0x23ea5f;typeof _0x1dbb85==_0x2ae9ea(0x13f)&&(_0x4f9886[_0x50d31d]=_0x1dbb85[_0x2ae9ea(0xfc)](/url\(#(.*)\)/,_0x2ae9ea(0x196)+_0x33b972[_0x2ae9ea(0x1ab)]+')'));})),_0x4f9886;}function _0x20abcb(_0x17f42c,_0x4e4c80){const _0x5123b0=_0x3439e2;var _0x5ace2f;const {defIds:_0x2258fc}=_0x4e4c80;return!_0x2258fc||_0x2258fc[_0x5123b0(0xf3)]===0x0?_0x17f42c:_0x17f42c[_0x5123b0(0x15a)]===_0x5123b0(0x155)&&((_0x5ace2f=_0x17f42c[_0x5123b0(0x1b2)])!=null&&_0x5ace2f['length'])?{..._0x17f42c,'children':_0x17f42c['children'][_0x5123b0(0x1a8)](_0x11dd09=>typeof _0x11dd09[_0x5123b0(0x1a7)]['id']==_0x5123b0(0x13f)&&_0x2258fc&&_0x2258fc['includes'](_0x11dd09[_0x5123b0(0x1a7)]['id'])?{..._0x11dd09,'attrs':{..._0x11dd09[_0x5123b0(0x1a7)],'id':_0x11dd09['attrs']['id']+_0x4e4c80[_0x5123b0(0x1ab)]}}:_0x11dd09)}:_0x17f42c;}function _0x51c461(){const _0x33ad4f=_0x3439e2;return Math[_0x33ad4f(0x147)]()['toString'](0x24)[_0x33ad4f(0x186)](0x2,0x8);}_0x517a89['displayName']=_0x3439e2(0x10a);const _0x42a5d6={'tag':_0x3439e2(0x195),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3439e2(0x17d),'width':_0x3439e2(0x161),'height':_0x3439e2(0x161)},'children':[{'tag':'path','attrs':{'fill':_0x3439e2(0x103),'d':_0x3439e2(0x185)}},{'tag':_0x3439e2(0x115),'attrs':{'fill':_0x3439e2(0x103),'d':'M13.1297\x203.19844C13.1297\x202.20418\x2012.3236\x201.39824\x2011.3293\x201.39844L4.66878\x201.39977C3.67481\x201.39997\x202.86914\x202.2058\x202.86914\x203.19977V5.49756C2.03331\x205.65308\x201.4005\x206.38619\x201.40049\x207.26709L1.40039\x2012.7996C1.40037\x2013.7937\x202.20626\x2014.5997\x203.20039\x2014.5997L6.62542\x2014.5997C6.63896\x2014.6006\x206.65263\x2014.601\x206.66641\x2014.601C6.68018\x2014.601\x206.69385\x2014.6006\x206.70739\x2014.5997L11.6256\x2014.5997C11.6391\x2014.6006\x2011.6527\x2014.601\x2011.6664\x2014.601C11.6801\x2014.601\x2011.6937\x2014.6006\x2011.7072\x2014.5997L12.7996\x2014.5997C13.7937\x2014.5997\x2014.5996\x2013.7938\x2014.5996\x2012.7997V7.26641C14.5996\x206.38503\x2013.9662\x205.65161\x2013.1297\x205.4966V3.19844ZM11.0664\x2013.3997L7.26641\x2013.3997V12.3344C7.26641\x2012.1135\x207.44549\x2011.9344\x207.66641\x2011.9344H10.6664C10.8873\x2011.9344\x2011.0664\x2012.1135\x2011.0664\x2012.3344V13.3997ZM12.2664\x2012.3344V13.3997L12.7996\x2013.3997C13.131\x2013.3997\x2013.3996\x2013.1311\x2013.3996\x2012.7997V7.26641C13.3996\x206.93502\x2013.131\x206.66638\x2012.7996\x206.66641L3.20044\x206.66712C2.86909\x206.66715\x202.60049\x206.93576\x202.60049\x207.26711L2.60039\x2012.7996C2.60038\x2013.131\x202.86901\x2013.3997\x203.20039\x2013.3997L6.06641\x2013.3997V12.3344C6.06641\x2011.4507\x206.78275\x2010.7344\x207.66641\x2010.7344H10.6664C11.5501\x2010.7344\x2012.2664\x2011.4507\x2012.2664\x2012.3344ZM11.9297\x205.46647V3.19844C11.9297\x202.86702\x2011.661\x202.59837\x2011.3296\x202.59844L4.66902\x202.59977C4.3377\x202.59984\x204.06914\x202.86845\x204.06914\x203.19977V5.46706L11.9297\x205.46647Z','fillRule':_0x3439e2(0x16f),'clipRule':_0x3439e2(0x16f)}}]},_0x554e2f=_0x574555[_0x3439e2(0x112)](function(_0x193358,_0x2ca0d7){const _0x392105=_0x3439e2;return _0x574555[_0x392105(0x134)](_0x517a89,Object[_0x392105(0x14f)]({},_0x193358,{'id':_0x392105(0x1a6),'ref':_0x2ca0d7,'icon':_0x42a5d6}));});_0x554e2f[_0x3439e2(0x126)]='PrintIcon';function _0x2ef3a5(_0x24414c){const _0x3819ed=_0x3439e2;return{'id':_0x24424f['id'],'type':_0x451e1e['MenuItemType']['BUTTON'],'title':_0x3819ed(0x154),'icon':_0x3819ed(0x167),'tooltip':_0x3819ed(0x154),'hidden$':_0x451e1e['getMenuHiddenObservable'](_0x24414c,_0x40f5e6[_0x3819ed(0x1bf)]['UNIVER_DOC'])};}const _0x3afae8={[_0x451e1e[_0x3439e2(0x17c)][_0x3439e2(0x1b9)]]:{[_0x24424f['id']]:{'order':0.1,'menuItemFactory':_0x2ef3a5}}};var _0x48493b=Object['getOwnPropertyDescriptor'],_0x319459=(_0x3e9b65,_0x1de809,_0x402e16,_0x5c1823)=>{for(var _0x14d7cd=_0x5c1823>0x1?void 0x0:_0x5c1823?_0x48493b(_0x1de809,_0x402e16):_0x1de809,_0x2090d7=_0x3e9b65['length']-0x1,_0x4d6c8c;_0x2090d7>=0x0;_0x2090d7--)(_0x4d6c8c=_0x3e9b65[_0x2090d7])&&(_0x14d7cd=_0x4d6c8c(_0x14d7cd)||_0x14d7cd);return _0x14d7cd;},_0xfe5765=(_0xf8d608,_0x2c1c44)=>(_0xa7b91e,_0x1b9a32)=>_0x2c1c44(_0xa7b91e,_0x1b9a32,_0xf8d608);let _0x1549a7=class extends _0x40f5e6['Disposable']{constructor(_0x404f2b,_0x481f3c,_0x33ba40){const _0x51bf66=_0x3439e2;super(),this[_0x51bf66(0x199)]=_0x404f2b,this[_0x51bf66(0x12b)]=_0x481f3c,this[_0x51bf66(0x15b)]=_0x33ba40,this[_0x51bf66(0x1ae)](),this['_initCommands'](),this[_0x51bf66(0x16e)]();}[_0x3439e2(0x1ae)](){const _0x5f2fd8=_0x3439e2;this['_menuManagerService'][_0x5f2fd8(0x153)](_0x3afae8);}[_0x3439e2(0x105)](){const _0x4bc3c8=_0x3439e2;this[_0x4bc3c8(0x170)](this[_0x4bc3c8(0x199)][_0x4bc3c8(0x17e)](_0x24424f));}[_0x3439e2(0x16e)](){const _0xf40ef9=_0x3439e2;[[_0xf40ef9(0x167),_0x554e2f]][_0xf40ef9(0x139)](([_0x31e316,_0x571d26])=>{const _0x491dba=_0xf40ef9;this['_componentManager'][_0x491dba(0x159)](_0x31e316,_0x571d26);});}};_0x1549a7=_0x319459([_0xfe5765(0x0,_0x40f5e6[_0x3439e2(0x131)]),_0xfe5765(0x1,_0x451e1e[_0x3439e2(0x1ad)]),_0xfe5765(0x2,_0x40f5e6[_0x3439e2(0x18c)](_0x451e1e[_0x3439e2(0x109)]))],_0x1549a7);var _0x41fc60=Object[_0x3439e2(0x122)],_0xedf3c8=Object[_0x3439e2(0x1be)],_0x2feb60=(_0x1b9e93,_0xb61e0,_0x359ee8)=>_0xb61e0 in _0x1b9e93?_0x41fc60(_0x1b9e93,_0xb61e0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x359ee8}):_0x1b9e93[_0xb61e0]=_0x359ee8,_0x470642=(_0x379b39,_0x4a9071,_0x2ea60a,_0x46bfdc)=>{const _0x292316=_0x3439e2;for(var _0x19c329=_0x46bfdc>0x1?void 0x0:_0x46bfdc?_0xedf3c8(_0x4a9071,_0x2ea60a):_0x4a9071,_0x226010=_0x379b39[_0x292316(0xf3)]-0x1,_0xdae6b5;_0x226010>=0x0;_0x226010--)(_0xdae6b5=_0x379b39[_0x226010])&&(_0x19c329=_0xdae6b5(_0x19c329)||_0x19c329);return _0x19c329;},_0x321dea=(_0x954aad,_0x251062)=>(_0x5140a2,_0x53e839)=>_0x251062(_0x5140a2,_0x53e839,_0x954aad),_0x55cbdc=(_0x55f1b0,_0x37e231,_0xd7184)=>_0x2feb60(_0x55f1b0,typeof _0x37e231!=_0x3439e2(0x144)?_0x37e231+'':_0x37e231,_0xd7184);_0xc9f354[_0x3439e2(0x151)]=class extends _0x40f5e6[_0x3439e2(0x12f)]{constructor(_0xdcfe47=_0x284a4d,_0x28e881,_0xed6a2e){const _0x3ea779=_0x3439e2;super(),this['_config']=_0xdcfe47,this[_0x3ea779(0x194)]=_0x28e881,this['_configService']=_0xed6a2e;const {menu:_0x4167a6,..._0x5033be}=_0x40f5e6[_0x3ea779(0x125)]({},_0x284a4d,this[_0x3ea779(0x14c)]);_0x4167a6&&this['_configService']['setConfig'](_0x3ea779(0x14e),_0x4167a6,{'merge':!0x0}),this[_0x3ea779(0x1b8)][_0x3ea779(0x165)](_0x6e13a0,_0x5033be);}[_0x3439e2(0x190)](){const _0x1af372=_0x3439e2;_0x40f5e6[_0x1af372(0x19c)](this[_0x1af372(0x194)],[[_0x314929],[_0x1549a7]]);}[_0x3439e2(0xf7)](){const _0x330a92=_0x3439e2;this[_0x330a92(0x194)][_0x330a92(0x184)](_0x1549a7);}},_0x55cbdc(_0xc9f354['UniverDocsPrintPlugin'],_0x3439e2(0x13c),_0x52ca01),_0x55cbdc(_0xc9f354['UniverDocsPrintPlugin'],_0x3439e2(0x162),_0x40f5e6[_0x3439e2(0x1bf)][_0x3439e2(0x176)]),_0xc9f354['UniverDocsPrintPlugin']=_0x470642([_0x40f5e6[_0x3439e2(0x17a)](_0x413624[_0x3439e2(0x197)],_0x301b03['UniverLicensePlugin']),_0x321dea(0x1,_0x40f5e6[_0x3439e2(0x18c)](_0x40f5e6[_0x3439e2(0x152)])),_0x321dea(0x2,_0x40f5e6[_0x3439e2(0x156)])],_0xc9f354[_0x3439e2(0x151)]),_0xc9f354[_0x3439e2(0x177)]=_0x6e13a0,_0xc9f354['DocPrintOperation']=_0x24424f,Object[_0x3439e2(0x122)](_0xc9f354,Symbol[_0x3439e2(0x136)],{'value':_0x3439e2(0x108)});}));
|