@univerjs-pro/docs-print 0.8.1-nightly.202506191607 → 0.8.2-nightly.202506201607
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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 +39 -39
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/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/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x5dc733=_0xa406;(function(_0x2596ef,_0x4ab61f){const _0x1643e3=_0xa406,_0x459f4f=_0x2596ef();while(!![]){try{const _0x20b772=-parseInt(_0x1643e3(0x195))/0x1*(-parseInt(_0x1643e3(0x157))/0x2)+-parseInt(_0x1643e3(0x188))/0x3*(-parseInt(_0x1643e3(0x13d))/0x4)+parseInt(_0x1643e3(0x10f))/0x5+-parseInt(_0x1643e3(0x1a5))/0x6+-parseInt(_0x1643e3(0x16c))/0x7*(parseInt(_0x1643e3(0x1a6))/0x8)+parseInt(_0x1643e3(0x15d))/0x9+-parseInt(_0x1643e3(0x1df))/0xa;if(_0x20b772===_0x4ab61f)break;else _0x459f4f['push'](_0x459f4f['shift']());}catch(_0x1d6661){_0x459f4f['push'](_0x459f4f['shift']());}}}(_0x139a,0x6ad57));var z=Object[_0x5dc733(0x16b)],F=(_0x3c38ae,_0xf4cbca,_0x11cbc4)=>_0xf4cbca in _0x3c38ae?z(_0x3c38ae,_0xf4cbca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11cbc4}):_0x3c38ae[_0xf4cbca]=_0x11cbc4,d=(_0x36c0ab,_0x230701,_0x27dd23)=>F(_0x36c0ab,typeof _0x230701!='symbol'?_0x230701+'':_0x230701,_0x27dd23);function _0xa406(_0x4ed8b7,_0x48c813){const _0x139a23=_0x139a();return _0xa406=function(_0xa40687,_0x3d5f7b){_0xa40687=_0xa40687-0x108;let _0x63f5da=_0x139a23[_0xa40687];return _0x63f5da;},_0xa406(_0x4ed8b7,_0x48c813);}Object[_0x5dc733(0x16b)](exports,Symbol[_0x5dc733(0x1ba)],{'value':_0x5dc733(0x148)});const _=require(_0x5dc733(0x136)),s=require(_0x5dc733(0x119)),K=require(_0x5dc733(0x15e)),g=require(_0x5dc733(0x133)),v=require(_0x5dc733(0x1c9)),p=require('@univerjs/engine-render'),E=require(_0x5dc733(0x14b)),N=require(_0x5dc733(0x167)),m=require(_0x5dc733(0x1bf)),b=_0x5dc733(0x1c8),P={},H=_0x5dc733(0x1c8);var f=function(){const _0x1429b3=_0x5dc733;return f=Object['assign']||function(_0x27ac53){const _0x1aa7a7=_0xa406;for(var _0xbfc83e,_0x1706a7=0x1,_0x3a51fe=arguments['length'];_0x1706a7<_0x3a51fe;_0x1706a7++){_0xbfc83e=arguments[_0x1706a7];for(var _0xc17b20 in _0xbfc83e)Object[_0x1aa7a7(0x198)][_0x1aa7a7(0x1c7)][_0x1aa7a7(0x17c)](_0xbfc83e,_0xc17b20)&&(_0x27ac53[_0xc17b20]=_0xbfc83e[_0xc17b20]);}return _0x27ac53;},f[_0x1429b3(0x19c)](this,arguments);},W=function(_0x1945ff,_0x480c5a){const _0x12a802=_0x5dc733;var _0x1b3085={};for(var _0x30fef4 in _0x1945ff)Object[_0x12a802(0x198)][_0x12a802(0x1c7)][_0x12a802(0x17c)](_0x1945ff,_0x30fef4)&&_0x480c5a['indexOf'](_0x30fef4)<0x0&&(_0x1b3085[_0x30fef4]=_0x1945ff[_0x30fef4]);if(_0x1945ff!=null&&typeof Object[_0x12a802(0x166)]==_0x12a802(0x121)){for(var _0x3a9df3=0x0,_0x30fef4=Object[_0x12a802(0x166)](_0x1945ff);_0x3a9df3<_0x30fef4[_0x12a802(0x12e)];_0x3a9df3++)_0x480c5a[_0x12a802(0x1d7)](_0x30fef4[_0x3a9df3])<0x0&&Object[_0x12a802(0x198)][_0x12a802(0x1a9)]['call'](_0x1945ff,_0x30fef4[_0x3a9df3])&&(_0x1b3085[_0x30fef4[_0x3a9df3]]=_0x1945ff[_0x30fef4[_0x3a9df3]]);}return _0x1b3085;},L=m['forwardRef'](function(_0xd2d099,_0x5c9a46){const _0x3ceb76=_0x5dc733;var _0x36cfa0=_0xd2d099[_0x3ceb76(0x115)],_0x571102=_0xd2d099['id'],_0x14bd39=_0xd2d099[_0x3ceb76(0x1a0)],_0x19e35d=_0xd2d099['extend'],_0x1d3a1a=W(_0xd2d099,[_0x3ceb76(0x115),'id',_0x3ceb76(0x1a0),_0x3ceb76(0x1bd)]),_0x1bac01=_0x3ceb76(0x1dd)[_0x3ceb76(0x1b1)](_0x571102,'\x20')['concat'](_0x14bd39||'')[_0x3ceb76(0x19a)](),_0x230437=m[_0x3ceb76(0x181)]('_'['concat'](Z()));return V(_0x36cfa0,''[_0x3ceb76(0x1b1)](_0x571102),{'defIds':_0x36cfa0['defIds'],'idSuffix':_0x230437[_0x3ceb76(0x193)]},f({'ref':_0x5c9a46,'className':_0x1bac01},_0x1d3a1a),_0x19e35d);});function V(_0x3582d6,_0x267eac,_0x34b4f2,_0x3ff876,_0x495b61){const _0x40e17a=_0x5dc733;return m[_0x40e17a(0x147)](_0x3582d6[_0x40e17a(0x176)],f(f({'key':_0x267eac},$(_0x3582d6,_0x34b4f2,_0x495b61)),_0x3ff876),(B(_0x3582d6,_0x34b4f2)[_0x40e17a(0x111)]||[])['map'](function(_0x38f42d,_0x1e171f){const _0x492df6=_0x40e17a;return V(_0x38f42d,''[_0x492df6(0x1b1)](_0x267eac,'-')[_0x492df6(0x1b1)](_0x3582d6['tag'],'-')['concat'](_0x1e171f),_0x34b4f2,void 0x0,_0x495b61);}));}function $(_0x5c8644,_0x7e3656,_0x523ec5){const _0x19996d=_0x5dc733;var _0x29e578=f({},_0x5c8644[_0x19996d(0x1a8)]);_0x523ec5!=null&&_0x523ec5['colorChannel1']&&_0x29e578['fill']===_0x19996d(0x1c5)&&(_0x29e578[_0x19996d(0x14f)]=_0x523ec5[_0x19996d(0x1c5)]),_0x5c8644['tag']===_0x19996d(0x190)&&_0x29e578['id']&&(_0x29e578['id']=_0x29e578['id']+_0x7e3656[_0x19996d(0x13f)]),Object['entries'](_0x29e578)[_0x19996d(0x1a4)](function(_0x4cfb81){const _0x2fc0ab=_0x19996d;var _0x56c09f=_0x4cfb81[0x0],_0x3b0737=_0x4cfb81[0x1];_0x56c09f===_0x2fc0ab(0x190)&&typeof _0x3b0737==_0x2fc0ab(0x1b3)&&(_0x29e578[_0x56c09f]=_0x3b0737['replace'](/url\(#(.*)\)/,_0x2fc0ab(0x17d)[_0x2fc0ab(0x1b1)](_0x7e3656[_0x2fc0ab(0x13f)],')')));});var _0x4ddc78=_0x7e3656[_0x19996d(0x112)];return!_0x4ddc78||_0x4ddc78['length']===0x0||(_0x5c8644[_0x19996d(0x176)]==='use'&&_0x29e578[_0x19996d(0x1ca)]&&(_0x29e578['xlink:href']=_0x29e578[_0x19996d(0x1ca)]+_0x7e3656['idSuffix']),Object['entries'](_0x29e578)[_0x19996d(0x1a4)](function(_0x3d32c5){const _0x5c7c45=_0x19996d;var _0x45fd7a=_0x3d32c5[0x0],_0x5459a6=_0x3d32c5[0x1];typeof _0x5459a6=='string'&&(_0x29e578[_0x45fd7a]=_0x5459a6[_0x5c7c45(0x1c4)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x7e3656[_0x5c7c45(0x13f)],')')));})),_0x29e578;}function B(_0x5610a1,_0x44218b){const _0x1a6eb1=_0x5dc733;var _0x1ac173,_0x30b649=_0x44218b[_0x1a6eb1(0x112)];return!_0x30b649||_0x30b649[_0x1a6eb1(0x12e)]===0x0?_0x5610a1:_0x5610a1['tag']===_0x1a6eb1(0x16f)&&(!((_0x1ac173=_0x5610a1[_0x1a6eb1(0x111)])===null||_0x1ac173===void 0x0)&&_0x1ac173[_0x1a6eb1(0x12e)])?f(f({},_0x5610a1),{'children':_0x5610a1[_0x1a6eb1(0x111)]['map'](function(_0x491784){const _0xd841af=_0x1a6eb1;return typeof _0x491784[_0xd841af(0x1a8)]['id']==_0xd841af(0x1b3)&&_0x30b649&&_0x30b649[_0xd841af(0x13c)](_0x491784[_0xd841af(0x1a8)]['id'])?f(f({},_0x491784),{'attrs':f(f({},_0x491784[_0xd841af(0x1a8)]),{'id':_0x491784[_0xd841af(0x1a8)]['id']+_0x44218b['idSuffix']})}):_0x491784;})}):_0x5610a1;}function Z(){const _0x2a121a=_0x5dc733;return Math[_0x2a121a(0x18b)]()[_0x2a121a(0x12c)](0x24)['substring'](0x2,0x8);}L[_0x5dc733(0x1d9)]='UniverIcon';var X={'tag':_0x5dc733(0x172),'attrs':{'xmlns':_0x5dc733(0x110),'fill':'none','viewBox':_0x5dc733(0x175),'width':_0x5dc733(0x122),'height':'1em'},'children':[{'tag':_0x5dc733(0x1b8),'attrs':{'fill':'currentColor','d':_0x5dc733(0x14d)}},{'tag':_0x5dc733(0x1b8),'attrs':{'fill':_0x5dc733(0x17a),'d':_0x5dc733(0x145),'fillRule':_0x5dc733(0x161),'clipRule':_0x5dc733(0x161)}}]},x=m[_0x5dc733(0x194)](function(_0x4333f2,_0x5d0e6e){const _0x4708c1=_0x5dc733;return m['createElement'](L,Object[_0x4708c1(0x1c3)]({},_0x4333f2,{'id':_0x4708c1(0x127),'ref':_0x5d0e6e,'icon':X}));});x[_0x5dc733(0x1d9)]=_0x5dc733(0x114);function _0x139a(){const _0x2cb6d8=['mergeMenu','Pages\x20are\x20not\x20found','_viewMain','1499460QXEHSB','width','merge','random','div','Disposable','onReady','symbol','mask','PRINTING_COMPONENT_COLLECT','getCanvas','current','forwardRef','6791sVssSz','createPrintStyle','Skeleton\x20data\x20is\x20not\x20found','prototype','Plugin','trim','getSkeleton','apply','_skeletonData','POSITIVE_INFINITY','PrintDirection','className','parseInt','getDocFeatureLimit','Portrait','forEach','2551722WaxPuu','8ZcTbzn','print','attrs','propertyIsEnumerable','restore','_scene','100%','right','BUTTON','min','getRenderById','concat','PRINT_CANVAS_CLASS','string','_initCommands','getContext','DocumentFlavor','_engine','path','UniverLicensePlugin','toStringTag','_unitId','removeChild','extend','updateScrollVal','react','RibbonStartGroup','docs.operation.print','prepare','assign','replace','colorChannel1','generateRandomId','hasOwnProperty','UNIVER_DOCS_PRINT','@univerjs/docs-ui','xlink:href','_componentManager','appendChild','documentFlavor','syncExecuteCommand','page','get','map','height','register','registerCommand','root','DisposableCollection','indexOf','ICommandService','displayName','Scene','UNIVER_DOC','UniverDocsPrintPlugin','univerjs-icon\x20univerjs-icon-','_commandService','4970580vlYAxv','type','IRenderManagerService','getOwnPropertyDescriptor','OTHERS','style','top','_initMenus','_offsetConfig','638725FrEGgl','http://www.w3.org/2000/svg','children','defIds','Inject','PrintIcon','icon','_addComponent','DocPrintOperation','DOCS_PRINT_PLUGIN_CONFIG_KEY','@univerjs/core','getConfig','_key','with','pluginName','_skeleton','translate','_config','function','1em','print.menu','fetchThroughInterceptors','_addViewport','registerDependencies','print-icon','UniverInstanceType','bottom','ComponentManager','setConfig','toString','Printing','length','IMenuManagerService','pageHeight','dispose','IUniverInstanceService','@univerjs/ui','_currentRender','DependentOn','@univerjs-pro/license','DocumentDataModel\x20is\x20not\x20found','scale','OPERATION','SwitchDocModeCommand','Render\x20is\x20not\x20found','includes','4WJqrYI','DocSkeletonManagerService','idSuffix','IConfigService','pages','_globalZoneService','CommandType','0px','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','addObject','createElement','Module','onbeforeprint','_univerInstanceService','@univerjs-pro/print','isFeatureAuthorizedWithinTime','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','Viewport','fill','_effects','unshiftString','getOffsetConfig','STOwqE9O\x20dlwG0DqE9O(sEwlOpl,\x20DTxsEwXl0)\x20{\x20\x20\x20\x20qG0\x20{\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20sEwlOplVOS9KfGqiGGf0\x20=\x20sEwlOpl.pDsEq(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x209GEkEOulppfkl\x20=\x20nvPj.DfGpl(fq9x(sEwlOplVOS9KfGqiGGf0[8]));\x20\x20\x20\x20\x20\x20\x20\x20ES\x20(!9GEkEOulppfkl.Td)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209GEkEOulppfkl.Td\x20=\x20jTYxlG(sEwlOplVOS9KfGqiGGf0[y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20EpI9GHlG\x20=\x20q0Dl9S\x20I9GHlGbs9xfsvw9Dl\x20!==\x20\x27TOdlSEOld\x27\x20&&\x20plsS\x20EOpqfOwl9S\x20I9GHlGbs9xfsvw9Dl;\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20w9Oqlzq\x20=\x20EpI9GHlG\x20?\x20plsS\x20:\x20cEOd9c;\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20YlppfklI9Gd\x20=\x20w9Oqlzq.__AfplJy__.DfGpl(sEwlOplVOS9KfGqiGGf0[8]);\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20Ylppfkl\x20=\x20w9Oqlzq.__4lz__.pqGEOkES0(YlppfklI9Gd);\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20pEkOfqTGlI9Gd\x20=\x20w9Oqlzq.__AfplJy__.DfGpl(sEwlOplVOS9KfGqiGGf0[m]);\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20pEkOfqTGl\x20=\x20w9Oqlzq.__4lz__.pqGEOkES0(pEkOfqTGlI9Gd);\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20pEkO6fsEd\x20=\x20w9Oqlzq.__tlGES0__(pEkOfqTGl,\x20Ylppfkl,\x20DTxsEwXl0);\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20d9YfEO\x20=\x209GEkEOulppfkl.dY;\x20\x20\x20\x20\x20\x20\x20\x20STOwqE9O\x20Ep39YfEOufqwCEOk(9KfqqlGO,\x20949pq)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20DfqqlGO\x20=\x209KfqqlGO.GlDsfwl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20C9pq\x20=\x20949pq.GlDsfwl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20DfqqlGOKfGqp\x20=\x20DfqqlGO.pDsEq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20C9pqKfGqp\x20=\x20C9pq.pDsEq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ES\x20(!DfqqlGO.EOwsTdlp(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlqTGO\x20DfqqlGO\x20===\x20C9pq;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ES\x20(DfqqlGOKfGqp.slOkqC\x20<\x208\x20||\x20DfqqlGOKfGqp[B]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlqTGO\x20Sfspl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20DfqqlGOvTSSEz\x20=\x20DfqqlGOKfGqp.psEwl(L).R9EO(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20C9pqvTSSEz\x20=\x20C9pqKfGqp.psEwl(-DfqqlGOKfGqp.slOkqC\x20+\x20L).R9EO(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlqTGO\x20DfqqlGOvTSSEz\x20===\x20C9pqvTSSEz;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20slq\x20d9YfEO6fsEd\x20=\x20(d9YfEO\x20&&\x20d9YfEO.slOkqC)\x20?\x20d9YfEO.p9Yl((dYVqlY)\x20=>\x20Ep39YfEOufqwCEOk(dYVqlY,\x20s9wfqE9O.C9pqOfYl))\x20:\x20qGTl;\x20\x20\x20\x20\x20\x20\x20\x20ES\x20(s9wfqE9O.C9pqOfYl\x20===\x20\x27s9wfsC9pq\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20d9YfEO6fsEd\x20=\x20qGTl;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20tfsEd\x20=\x20pEkO6fsEd\x20&&\x20d9YfEO6fsEd;\x20\x20\x20\x20\x20\x20\x20\x20GlqTGO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tfsEd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ylppfkl:\x209GEkEOulppfkl,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20wfqwC\x20(lGG9G)\x20{\x20\x20\x20\x20\x20\x20\x20\x20GlqTGO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tfsEd:\x20Sfspl,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ylppfkl:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_paperSize','timeValid','_renderManagerService','134RIWSWZ','valid','left','_configService','getInterceptPoints','interceptor','2803041vpPhMf','@univerjs/network','CanvasRenderMode','_root','evenodd','_injector','getSkeletonData','_container','LS_CONFIG_KEY','getOwnPropertySymbols','@univerjs/docs','onafterprint','container','PRINT_CONTAINER_CLASS','defineProperty','238525UbYEMw','getCurrentUnitOfType','_menuManagerService','defs','close','makeForceDirty','svg','render','_initRenderer','0\x200\x2016\x2016','tag','PRINTING_DOM_COLLECT','MenuItemType','_page','currentColor','_initComponents','call','url(#$1','setContainer','message','position','useRef','DocPrintInterceptorService','_documents','getUnitId'];_0x139a=function(){return _0x2cb6d8;};return _0x139a();}const J={0x0:'y',0x1:'L',0x2:'8',0x3:'D',0x4:'H',0x5:'T',0x6:'V',0x7:'E',0x8:'2',0x9:'o','B':'0','L':'1','m':'3','y':'4','M':'5','J':'6','F':'7','Z':'9','f':'a','x':'b','w':'c','d':'d','l':'e','S':'f','k':'g','C':'h','E':'i','R':'j','H':'k','s':'l','Y':'m','O':'n','D':'p','U':'q','G':'r','p':'s','q':'t','T':'u','t':'v','c':'w','z':'x','g':'z','i':'A','A':'B','Q':'C','o':'F','b':'G','V':'I','n':'J','X':'K','u':'M','j':'N','P':'O','K':'P','N':'Q','a':'R','v':'S','r':'U','I':'W','h':'X','e':'Y','W':'Z'},Q=_0x5dc733(0x153);class ee extends s[_0x5dc733(0x18d)]{constructor(_0x235847,_0x2fd5d2,_0x4a6cc9,_0x3b2a00){const _0x260ead=_0x5dc733;super(),d(this,_0x260ead(0x164),document[_0x260ead(0x147)](_0x260ead(0x18c))),d(this,_0x260ead(0x160),document[_0x260ead(0x147)](_0x260ead(0x18c))),d(this,_0x260ead(0x1b7)),d(this,_0x260ead(0x1ab)),d(this,_0x260ead(0x11b)),d(this,_0x260ead(0x183)),d(this,_0x260ead(0x187)),d(this,'_effects',new s[(_0x260ead(0x1d6))]()),(this[_0x260ead(0x162)]=_0x235847,this['_page']=_0x2fd5d2,this[_0x260ead(0x1bb)]=_0x4a6cc9,this[_0x260ead(0x10e)]=_0x3b2a00,this[_0x260ead(0x11b)]=s[_0x260ead(0x1c6)](0x4),this[_0x260ead(0x174)](),this['disposeWithMe']({'dispose':()=>{const _0x12f861=_0x260ead;this[_0x12f861(0x1b7)][_0x12f861(0x131)](),this[_0x12f861(0x1ab)][_0x12f861(0x131)](),this['_effects'][_0x12f861(0x131)]();}}));}get[_0x5dc733(0x169)](){const _0x3436d2=_0x5dc733;return this[_0x3436d2(0x164)];}get[_0x5dc733(0x1d5)](){return this['_root'];}get['_currentRender'](){const _0x517eb1=_0x5dc733,_0x5f4992=this[_0x517eb1(0x162)][_0x517eb1(0x1d0)](p['IRenderManagerService'])[_0x517eb1(0x1b0)](this[_0x517eb1(0x1bb)]);if(!_0x5f4992)throw new Error(_0x517eb1(0x13b));return _0x5f4992;}get[_0x5dc733(0x11e)](){const _0x1fd129=_0x5dc733;return this[_0x1fd129(0x134)][_0x1fd129(0x11c)](N['DocSkeletonManagerService'])['getSkeleton']();}get[_0x5dc733(0x19d)](){const _0x9c71b7=_0x5dc733,_0x57367b=this[_0x9c71b7(0x11e)]['getSkeletonData']();if(!_0x57367b)throw new Error(_0x9c71b7(0x197));return _0x57367b;}get[_0x5dc733(0x154)](){const _0x16f157=_0x5dc733,_0x2a487=this['_skeletonData'][_0x16f157(0x141)][0x0];return{'width':_0x2a487['pageWidth'],'height':_0x2a487[_0x16f157(0x130)]};}['_calculateLayout'](){const _0x5aa70e=_0x5dc733,{docsTop:_0x4e69fd,docsLeft:_0x237df7}=this['_documents'][_0x5aa70e(0x152)](),_0x3ed567=this['_paperSize'][_0x5aa70e(0x1d2)],_0x2d98f7=this[_0x5aa70e(0x154)][_0x5aa70e(0x189)];return{'top':_0x4e69fd+(_0x4e69fd+_0x3ed567)*this[_0x5aa70e(0x179)],'bottom':_0x4e69fd+(_0x4e69fd+_0x3ed567)*(this[_0x5aa70e(0x179)]+0x1),'left':_0x237df7,'right':_0x237df7+_0x2d98f7};}[_0x5dc733(0x174)](){const _0x17cf3b=_0x5dc733;this[_0x17cf3b(0x1b7)]=new p['Engine']('',{'elementWidth':this[_0x17cf3b(0x154)]['width'],'elementHeight':this[_0x17cf3b(0x154)][_0x17cf3b(0x1d2)],'dpr':0x1,'renderMode':p[_0x17cf3b(0x15f)][_0x17cf3b(0x12d)]}),this[_0x17cf3b(0x1ab)]=new p[(_0x17cf3b(0x1da))](this[_0x17cf3b(0x11b)],this['_engine']),this[_0x17cf3b(0x1ab)][_0x17cf3b(0x138)](0x1,0x1),this[_0x17cf3b(0x1b7)][_0x17cf3b(0x17e)](this['_container'],!0x1),this[_0x17cf3b(0x1b7)][_0x17cf3b(0x192)]()[_0x17cf3b(0x1b5)]()['setId'](this[_0x17cf3b(0x11b)]+'_'+s[_0x17cf3b(0x1c6)](0x4)),this['_addComponent'](),this[_0x17cf3b(0x125)]();}[_0x5dc733(0x116)](){const _0x268ff3=_0x5dc733,{pageMarginLeft:_0x3b8293,pageMarginTop:_0x5de732,docsLeft:_0x53061b,docsTop:_0x34faf2}=this['_offsetConfig'],_0x4a3a38={'pageMarginLeft':_0x3b8293,'pageMarginTop':_0x5de732},_0x10d435=new p['Documents']('__DocPrintRender__',this[_0x268ff3(0x11e)],_0x4a3a38);_0x10d435[_0x268ff3(0x11f)](_0x53061b,_0x34faf2),this[_0x268ff3(0x1ab)][_0x268ff3(0x146)](_0x10d435),this[_0x268ff3(0x183)]=_0x10d435;const _0x273c04=this[_0x268ff3(0x162)][_0x268ff3(0x1d0)](v[_0x268ff3(0x182)]);_0x273c04['interceptor'][_0x268ff3(0x124)](_0x273c04[_0x268ff3(0x15c)]['getInterceptPoints']()[_0x268ff3(0x191)])(void 0x0,{'unitId':this['_unitId'],'scene':this['_scene'],'engine':this[_0x268ff3(0x1b7)],'root':this['_root'],'documents':this[_0x268ff3(0x183)],'skeleton':this[_0x268ff3(0x11e)]});}[_0x5dc733(0x125)](){const _0x5beceb=_0x5dc733;this[_0x5beceb(0x187)]=new p[(_0x5beceb(0x14e))](v['VIEWPORT_KEY']['VIEW_MAIN'],this[_0x5beceb(0x1ab)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x5dc733(0x1c2)](){const _0x1cca22=_0x5dc733,_0x1467a1=this['_calculateLayout']();this[_0x1cca22(0x187)][_0x1cca22(0x1be)]({'viewportScrollX':_0x1467a1[_0x1cca22(0x159)],'viewportScrollY':_0x1467a1[_0x1cca22(0x10c)]}),this[_0x1cca22(0x160)][_0x1cca22(0x10b)][_0x1cca22(0x180)]='absolute',this[_0x1cca22(0x160)][_0x1cca22(0x10b)][_0x1cca22(0x10c)]=_0x1cca22(0x144),this[_0x1cca22(0x160)][_0x1cca22(0x10b)]['left']=_0x1cca22(0x144),this[_0x1cca22(0x160)][_0x1cca22(0x10b)][_0x1cca22(0x189)]=_0x1cca22(0x1ac),this[_0x1cca22(0x160)]['style'][_0x1cca22(0x1d2)]='100%',this[_0x1cca22(0x150)]=new s['DisposableCollection']();const _0x4d3b7c=this[_0x1cca22(0x162)][_0x1cca22(0x1d0)](v[_0x1cca22(0x182)]);_0x4d3b7c[_0x1cca22(0x15c)][_0x1cca22(0x124)](_0x4d3b7c[_0x1cca22(0x15c)][_0x1cca22(0x15b)]()[_0x1cca22(0x177)])(this[_0x1cca22(0x150)],{'unitId':this[_0x1cca22(0x1bb)],'scene':this[_0x1cca22(0x1ab)],'engine':this[_0x1cca22(0x1b7)],'root':this[_0x1cca22(0x160)],'skeleton':this[_0x1cca22(0x11e)],'offset':{'x':_0x1467a1[_0x1cca22(0x159)],'y':_0x1467a1[_0x1cca22(0x10c)]},'bound':{'top':_0x1467a1['top'],'left':_0x1467a1[_0x1cca22(0x159)],'right':_0x1467a1[_0x1cca22(0x1ad)],'bottom':_0x1467a1[_0x1cca22(0x129)]}});}['render'](){const _0x50b3f2=_0x5dc733,_0x27ffa0=this[_0x50b3f2(0x1b7)][_0x50b3f2(0x192)]()[_0x50b3f2(0x1b5)]();this[_0x50b3f2(0x183)][_0x50b3f2(0x171)](),this[_0x50b3f2(0x1ab)]['makeDirty'](),_0x27ffa0['save'](),this['_scene'][_0x50b3f2(0x173)](),_0x27ffa0[_0x50b3f2(0x1aa)]();}}var te=Object[_0x5dc733(0x109)],ne=(_0x1d3398,_0x1c2756,_0x311a50,_0x409f8b)=>{for(var _0x5703cb=_0x409f8b>0x1?void 0x0:_0x409f8b?te(_0x1c2756,_0x311a50):_0x1c2756,_0x1e9e02=_0x1d3398['length']-0x1,_0x39a013;_0x1e9e02>=0x0;_0x1e9e02--)(_0x39a013=_0x1d3398[_0x1e9e02])&&(_0x5703cb=_0x39a013(_0x5703cb)||_0x5703cb);return _0x5703cb;},O=(_0x319d53,_0x73b26a)=>(_0x56a717,_0x162e01)=>_0x73b26a(_0x56a717,_0x162e01,_0x319d53);const re=Number[_0x5dc733(0x1a1)](0x685435e9),ie=0x1,oe=(_0x18a02f,_0x316f78,_0x5adda0)=>{const _0x30ed94=_0x5dc733,_0x547f7f={'page':_0x18a02f,'isPro':!0x1,'timeValid':!0x1};if(!_0x316f78||!_0x5adda0)return _0x547f7f;const _0x5bf6b3=_[_0x30ed94(0x151)](Q,J),_0x3124bb=new Function('return\x20'+_0x5bf6b3)()(_0x316f78,_0x5adda0);if(_0x3124bb[_0x30ed94(0x158)]){const _0x1acbbb=_0x3124bb[_0x30ed94(0x17f)],_0x292ee0=_[_0x30ed94(0x14c)](_0x1acbbb,'df',re);_0x547f7f['isPro']=_0x292ee0,_0x547f7f[_0x30ed94(0x155)]=_0x292ee0;const _0x48457d=0x0;_0x547f7f[_0x30ed94(0x1cf)]=_[_0x30ed94(0x1a2)](_0x1acbbb,_0x292ee0,'mpn',_0x18a02f,_0x18a02f,_0x48457d);}return _0x547f7f;};let S=class extends s['Disposable']{constructor(_0x36b9f4,_0x3cbb97,_0x1b8725,_0x1659b9,_0x27856e){const _0x239dd5=_0x5dc733;super(),this[_0x239dd5(0x14a)]=_0x36b9f4,this[_0x239dd5(0x156)]=_0x3cbb97,this[_0x239dd5(0x162)]=_0x1b8725,this[_0x239dd5(0x15a)]=_0x1659b9,this[_0x239dd5(0x142)]=_0x27856e;}[_0x5dc733(0x1a7)](_0xf6b76){const _0x23693d=_0x5dc733;var _0x32c927,_0x29ddbd;const _0x7d26dc=(_0x32c927=this[_0x23693d(0x15a)][_0x23693d(0x11a)](_[_0x23693d(0x165)]))!=null?_0x32c927:{},{ls:_0x201717,pbk:_0x5bcc82}=_0x7d26dc,_0x489d5f=_['isLocalCheck']()?Number[_0x23693d(0x19e)]:oe(ie,_0x201717,_0x5bcc82)[_0x23693d(0x1cf)];if(!this[_0x23693d(0x14a)]['getUnit'](_0xf6b76,s[_0x23693d(0x128)][_0x23693d(0x1db)]))throw new Error(_0x23693d(0x137));const _0x2cdcf5=this[_0x23693d(0x156)][_0x23693d(0x1b0)](_0xf6b76);if(!_0x2cdcf5)throw new Error(_0x23693d(0x13b));const _0x322426=(_0x29ddbd=_0x2cdcf5[_0x23693d(0x11c)](N[_0x23693d(0x13e)])[_0x23693d(0x19b)]()[_0x23693d(0x163)]())==null?void 0x0:_0x29ddbd[_0x23693d(0x141)];if(!_0x322426)throw new Error(_0x23693d(0x186));const _0x2a2f88={'width':_0x322426[0x0]['pageWidth'],'height':_0x322426[0x0][_0x23693d(0x130)]},_0x2e5c0f=_0x322426['length'],_0x5771be=Math[_0x23693d(0x1af)](_0x489d5f,_0x2e5c0f),_0x145ca3=_0x2cdcf5['mainComponent'][_0x23693d(0x152)](),_0x564ee5=document['createElement']('div');_0x564ee5[_0x23693d(0x1a0)]=E[_0x23693d(0x16a)];const _0x5258d3=new Array(_0x5771be)[_0x23693d(0x14f)](null)[_0x23693d(0x1d1)]((_0x4583ee,_0x2aac1e)=>{const _0x87f21c=_0x23693d,_0x4ffa94=new ee(this[_0x87f21c(0x162)],_0x2aac1e,_0xf6b76,_0x145ca3);return _0x4ffa94['container'][_0x87f21c(0x1a0)]=E[_0x87f21c(0x1b2)],_0x4ffa94;});_0x5258d3[_0x23693d(0x1a4)](_0xb79492=>{const _0x5ee81c=_0x23693d;_0x564ee5['appendChild'](_0xb79492[_0x5ee81c(0x169)]),_0xb79492[_0x5ee81c(0x169)][_0x5ee81c(0x1cc)](_0xb79492[_0x5ee81c(0x1d5)]),_0xb79492[_0x5ee81c(0x1c2)]();});const _0x1b4487=E[_0x23693d(0x196)](_0x2a2f88['width'],_0x2a2f88[_0x23693d(0x1d2)],E[_0x23693d(0x19f)][_0x23693d(0x1a3)]);return document['body'][_0x23693d(0x1cc)](_0x1b4487),document['body']['appendChild'](_0x564ee5),new Promise(_0x70841c=>{setTimeout(()=>{const _0x6e4724=_0xa406;window[_0x6e4724(0x149)]=()=>{const _0x413411=_0x6e4724;_0x5258d3[_0x413411(0x1a4)](_0x1181a5=>{_0x1181a5['render']();});},window[_0x6e4724(0x168)]=()=>{const _0x266568=_0x6e4724;_0x5258d3[_0x266568(0x1a4)](_0x2db283=>{const _0x5b3975=_0x266568;_0x2db283[_0x5b3975(0x131)]();}),document['body'][_0x266568(0x1bc)](_0x564ee5),document['body'][_0x266568(0x1bc)](_0x1b4487),this[_0x266568(0x142)][_0x266568(0x170)](),_0x70841c(!0x0);},window[_0x6e4724(0x1a7)]();},0x64);});}};S=ne([O(0x0,s[_0x5dc733(0x132)]),O(0x1,p[_0x5dc733(0x108)]),O(0x2,s[_0x5dc733(0x113)](s['Injector'])),O(0x3,s[_0x5dc733(0x140)]),O(0x4,g['IGlobalZoneService'])],S);const I={'id':_0x5dc733(0x1c1),'type':s[_0x5dc733(0x143)][_0x5dc733(0x139)],'handler':async _0xf87be1=>{const _0x128d89=_0x5dc733,_0x11490d=_0xf87be1[_0x128d89(0x1d0)](s['IUniverInstanceService']),_0x1e4f34=_0xf87be1[_0x128d89(0x1d0)](S),_0x43d58c=_0xf87be1[_0x128d89(0x1d0)](p[_0x128d89(0x108)]),_0x5de59e=_0xf87be1[_0x128d89(0x1d0)](s[_0x128d89(0x1d8)]),_0x3b82b7=_0x11490d[_0x128d89(0x16d)](s['UniverInstanceType'][_0x128d89(0x1db)]);if(!_0x3b82b7)return!0x1;if(!_0x43d58c['getRenderById'](_0x3b82b7[_0x128d89(0x184)]()))throw new Error('Render\x20is\x20not\x20found');const _0x408e2c=_0x3b82b7['getDocumentStyle']()[_0x128d89(0x1cd)];return _0x408e2c!==s[_0x128d89(0x1b6)]['TRADITIONAL']&&_0x5de59e['syncExecuteCommand'](v['SwitchDocModeCommand']['id']),await _0x1e4f34[_0x128d89(0x1a7)](_0x3b82b7['getUnitId']()),_0x408e2c!==s['DocumentFlavor']['TRADITIONAL']&&_0x5de59e[_0x128d89(0x1ce)](v[_0x128d89(0x13a)]['id']),!0x0;}};function se(_0x4b84d1){const _0x792957=_0x5dc733;return{'id':I['id'],'type':g[_0x792957(0x178)][_0x792957(0x1ae)],'title':_0x792957(0x123),'icon':_0x792957(0x114),'tooltip':_0x792957(0x123),'hidden$':g['getMenuHiddenObservable'](_0x4b84d1,s[_0x792957(0x128)][_0x792957(0x1db)])};}const ce={[g[_0x5dc733(0x1c0)][_0x5dc733(0x10a)]]:{[I['id']]:{'order':0.1,'menuItemFactory':se}}};var ae=Object['getOwnPropertyDescriptor'],le=(_0xfd74f2,_0x474569,_0x5cb08f,_0x2062cd)=>{for(var _0x782efd=_0x2062cd>0x1?void 0x0:_0x2062cd?ae(_0x474569,_0x5cb08f):_0x474569,_0x3f3514=_0xfd74f2['length']-0x1,_0x14dfb7;_0x3f3514>=0x0;_0x3f3514--)(_0x14dfb7=_0xfd74f2[_0x3f3514])&&(_0x782efd=_0x14dfb7(_0x782efd)||_0x782efd);return _0x782efd;},D=(_0x67a91d,_0x51be53)=>(_0x598dff,_0x28b748)=>_0x51be53(_0x598dff,_0x28b748,_0x67a91d);let C=class extends s[_0x5dc733(0x18d)]{constructor(_0xf722e3,_0x3ca9be,_0x87c1af){const _0x5127ec=_0x5dc733;super(),this['_commandService']=_0xf722e3,this[_0x5127ec(0x16e)]=_0x3ca9be,this['_componentManager']=_0x87c1af,this[_0x5127ec(0x10d)](),this['_initCommands'](),this['_initComponents']();}[_0x5dc733(0x10d)](){const _0x1be1c0=_0x5dc733;this[_0x1be1c0(0x16e)][_0x1be1c0(0x185)](ce);}[_0x5dc733(0x1b4)](){const _0x2e198f=_0x5dc733;this['disposeWithMe'](this[_0x2e198f(0x1de)][_0x2e198f(0x1d4)](I));}[_0x5dc733(0x17b)](){const _0x4d1f13=_0x5dc733;[[_0x4d1f13(0x114),x]]['forEach'](([_0x2aac60,_0x1fa567])=>{const _0x2f3648=_0x4d1f13;this[_0x2f3648(0x1cb)][_0x2f3648(0x1d3)](_0x2aac60,_0x1fa567);});}};C=le([D(0x0,s['ICommandService']),D(0x1,g[_0x5dc733(0x12f)]),D(0x2,s[_0x5dc733(0x113)](g[_0x5dc733(0x12a)]))],C);var fe=Object['defineProperty'],de=Object[_0x5dc733(0x109)],pe=(_0x3360f8,_0x28c4ee,_0x42790e)=>_0x28c4ee in _0x3360f8?fe(_0x3360f8,_0x28c4ee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42790e}):_0x3360f8[_0x28c4ee]=_0x42790e,ue=(_0x505ffd,_0xb2c86d,_0x17461f,_0x1018a1)=>{const _0x594724=_0x5dc733;for(var _0x24a103=_0x1018a1>0x1?void 0x0:_0x1018a1?de(_0xb2c86d,_0x17461f):_0xb2c86d,_0x4eabc0=_0x505ffd[_0x594724(0x12e)]-0x1,_0x36d585;_0x4eabc0>=0x0;_0x4eabc0--)(_0x36d585=_0x505ffd[_0x4eabc0])&&(_0x24a103=_0x36d585(_0x24a103)||_0x24a103);return _0x24a103;},M=(_0x3deec2,_0x368b7d)=>(_0x2565ae,_0x165112)=>_0x368b7d(_0x2565ae,_0x165112,_0x3deec2),U=(_0x421da2,_0x5455b0,_0x3514f1)=>pe(_0x421da2,typeof _0x5455b0!=_0x5dc733(0x18f)?_0x5455b0+'':_0x5455b0,_0x3514f1);exports[_0x5dc733(0x1dc)]=class extends s[_0x5dc733(0x199)]{constructor(_0x913255=P,_0x1123c6,_0x59a0ec){const _0x3ac573=_0x5dc733;super(),this[_0x3ac573(0x120)]=_0x913255,this[_0x3ac573(0x162)]=_0x1123c6,this[_0x3ac573(0x15a)]=_0x59a0ec;const {menu:_0x453e3c,..._0x3c20e4}=s[_0x3ac573(0x18a)]({},P,this['_config']);_0x453e3c&&this[_0x3ac573(0x15a)]['setConfig']('menu',_0x453e3c,{'merge':!0x0}),this[_0x3ac573(0x15a)][_0x3ac573(0x12b)](b,_0x3c20e4);}['onStarting'](){const _0x3f98cd=_0x5dc733;s[_0x3f98cd(0x126)](this[_0x3f98cd(0x162)],[[S],[C]]);}[_0x5dc733(0x18e)](){const _0x59fbfa=_0x5dc733;this[_0x59fbfa(0x162)][_0x59fbfa(0x1d0)](C);}},U(exports[_0x5dc733(0x1dc)],_0x5dc733(0x11d),H),U(exports[_0x5dc733(0x1dc)],_0x5dc733(0x1e0),s[_0x5dc733(0x128)][_0x5dc733(0x1db)]),exports[_0x5dc733(0x1dc)]=ue([s[_0x5dc733(0x135)](K['UniverNetworkPlugin'],_[_0x5dc733(0x1b9)]),M(0x1,s[_0x5dc733(0x113)](s['Injector'])),M(0x2,s[_0x5dc733(0x140)])],exports[_0x5dc733(0x1dc)]),exports[_0x5dc733(0x118)]=b,exports[_0x5dc733(0x117)]=I,exports['defaultPluginConfig']=P;
|
|
1
|
+
'use strict';const _0x1eeb04=_0x241f;(function(_0x28c053,_0x37ca41){const _0xccdb0c=_0x241f,_0x7b8613=_0x28c053();while(!![]){try{const _0x300952=parseInt(_0xccdb0c(0x134))/0x1*(-parseInt(_0xccdb0c(0x120))/0x2)+parseInt(_0xccdb0c(0x8c))/0x3+parseInt(_0xccdb0c(0x10d))/0x4+parseInt(_0xccdb0c(0xb9))/0x5*(-parseInt(_0xccdb0c(0xd2))/0x6)+parseInt(_0xccdb0c(0x70))/0x7+-parseInt(_0xccdb0c(0x79))/0x8+parseInt(_0xccdb0c(0x130))/0x9*(parseInt(_0xccdb0c(0x98))/0xa);if(_0x300952===_0x37ca41)break;else _0x7b8613['push'](_0x7b8613['shift']());}catch(_0x484313){_0x7b8613['push'](_0x7b8613['shift']());}}}(_0x2bf7,0x834a6));var V=Object[_0x1eeb04(0x100)],j=(_0x2e9d2b,_0x3b3c2f,_0xdb6c92)=>_0x3b3c2f in _0x2e9d2b?V(_0x2e9d2b,_0x3b3c2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xdb6c92}):_0x2e9d2b[_0x3b3c2f]=_0xdb6c92,d=(_0x40fbaa,_0x571391,_0x277e7b)=>j(_0x40fbaa,typeof _0x571391!='symbol'?_0x571391+'':_0x571391,_0x277e7b);function _0x2bf7(){const _0xbb1821=['getOffsetConfig','useRef','absolute','xlink:href','IMenuManagerService','onbeforeprint','136rTGGRi','position','menu','DOCS_PRINT_PLUGIN_CONFIG_KEY','DocumentDataModel\x20is\x20not\x20found','with','_initCommands','render','print-icon','_scene','register','colorChannel1','print','mask','isLocalCheck','forEach','9243jfMpTY','ICommandService','_viewMain','_container','10163ICBTGE','100%','_initRenderer','use','top','_renderManagerService','Engine','getDocumentStyle','return\x20','getUnit','getDocFeatureLimit','valid','_injector','@univerjs/docs-ui','fill','getInterceptPoints','none','isPro','unshiftString','UNIVER_DOCS_PRINT','registerDependencies','6380234ZbmcIE','getCurrentUnitOfType','Disposable','current','0px','_skeletonData','registerCommand','getSkeletonData','@univerjs-pro/print','3470704fYtKgQ','_globalZoneService','@univerjs/network','length','width','CommandType','_offsetConfig','PrintIcon','Viewport','entries','interceptor','defs','getOwnPropertySymbols','evenodd','_paperSize','UniverNetworkPlugin','call','concat','generateRandomId','2158719TIBhYI','timeValid','left','indexOf','icon','displayName','trim','_engine','onReady','createElement','body','documentFlavor','6180bpeMxC','prototype','IConfigService','1em','Inject','Scene','symbol','http://www.w3.org/2000/svg','apply','Render\x20is\x20not\x20found','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','IRenderManagerService','RibbonStartGroup','right','TRADITIONAL','random','Pages\x20are\x20not\x20found','_initComponents','UniverDocsPrintPlugin','Printing','getMenuHiddenObservable','UniverLicensePlugin','pageWidth','prepare','height','DocumentFlavor','map','appendChild','IUniverInstanceService','OTHERS','pluginName','DocSkeletonManagerService','_menuManagerService','555lplOWN','includes','forwardRef','_componentManager','defIds','_commandService','syncExecuteCommand','getOwnPropertyDescriptor','getConfig','BUTTON','_addViewport','Portrait','_effects','extend','_root','print.menu','get','_skeleton','UniverIcon','createPrintStyle','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','_univerInstanceService','Injector','VIEWPORT_KEY','min','45462Cbyrrp','setConfig','_configService','__DocPrintRender__','container','SwitchDocModeCommand','ComponentManager','docs.operation.print','VIEW_MAIN','function','disposeWithMe','POSITIVE_INFINITY','UniverInstanceType','children','getRenderById','tag','_currentRender','mainComponent','idSuffix','addObject','IGlobalZoneService','pages','fetchThroughInterceptors','getContext','@univerjs/engine-render','OPERATION','DocPrintOperation','save','_addComponent','root','message','bottom','_initMenus','_calculateLayout','getSkeleton','removeChild','Skeleton\x20data\x20is\x20not\x20found','_config','DisposableCollection','MenuItemType','style','_unitId','merge','getUnitId','PRINT_CANVAS_CLASS','currentColor','defineProperty','className','onafterprint','url(#$1','path','assign','parseInt','pageHeight','_page','isFeatureAuthorizedWithinTime','translate','DocPrintInterceptorService','page','952056IuuppS','makeForceDirty','_documents','_key','onStarting','scale','DependentOn','getCanvas','attrs','PRINTING_DOM_COLLECT','div','dispose','setContainer'];_0x2bf7=function(){return _0xbb1821;};return _0x2bf7();}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const h=require('@univerjs-pro/license'),s=require('@univerjs/core'),H=require(_0x1eeb04(0x7b)),_=require('@univerjs/ui'),O=require(_0x1eeb04(0x68)),u=require(_0x1eeb04(0xea)),A=require(_0x1eeb04(0x78)),b=require('@univerjs/docs'),m=require('react'),R=_0x1eeb04(0x6e),S={},B=_0x1eeb04(0x6e);function _0x241f(_0x4f6f2f,_0x17ba34){const _0x2bf71a=_0x2bf7();return _0x241f=function(_0x241fcb,_0x3c1730){_0x241fcb=_0x241fcb-0x65;let _0x5c524d=_0x2bf71a[_0x241fcb];return _0x5c524d;},_0x241f(_0x4f6f2f,_0x17ba34);}var p=function(){const _0x120101=_0x1eeb04;return p=Object['assign']||function(_0x46776d){const _0x59dbcc=_0x241f;for(var _0x5c1c8d,_0xc77e0b=0x1,_0x5a59e6=arguments[_0x59dbcc(0x7c)];_0xc77e0b<_0x5a59e6;_0xc77e0b++){_0x5c1c8d=arguments[_0xc77e0b];for(var _0x50364c in _0x5c1c8d)Object['prototype']['hasOwnProperty']['call'](_0x5c1c8d,_0x50364c)&&(_0x46776d[_0x50364c]=_0x5c1c8d[_0x50364c]);}return _0x46776d;},p[_0x120101(0xa0)](this,arguments);},J=function(_0x4f5ca2,_0x4d9cdf){const _0x4314fb=_0x1eeb04;var _0x3b2bec={};for(var _0x5db301 in _0x4f5ca2)Object[_0x4314fb(0x99)]['hasOwnProperty']['call'](_0x4f5ca2,_0x5db301)&&_0x4d9cdf[_0x4314fb(0x8f)](_0x5db301)<0x0&&(_0x3b2bec[_0x5db301]=_0x4f5ca2[_0x5db301]);if(_0x4f5ca2!=null&&typeof Object[_0x4314fb(0x85)]==_0x4314fb(0xdb)){for(var _0x3d0435=0x0,_0x5db301=Object[_0x4314fb(0x85)](_0x4f5ca2);_0x3d0435<_0x5db301[_0x4314fb(0x7c)];_0x3d0435++)_0x4d9cdf[_0x4314fb(0x8f)](_0x5db301[_0x3d0435])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x4314fb(0x89)](_0x4f5ca2,_0x5db301[_0x3d0435])&&(_0x3b2bec[_0x5db301[_0x3d0435]]=_0x4f5ca2[_0x5db301[_0x3d0435]]);}return _0x3b2bec;},Y=m[_0x1eeb04(0xbb)](function(_0x2f1b9e,_0xa85ca2){const _0x2efb27=_0x1eeb04;var _0x17cf60=_0x2f1b9e['icon'],_0x5b0cb9=_0x2f1b9e['id'],_0xeaf47c=_0x2f1b9e[_0x2efb27(0x101)],_0x15b7fa=_0x2f1b9e[_0x2efb27(0xc6)],_0x4f6b1a=J(_0x2f1b9e,[_0x2efb27(0x90),'id',_0x2efb27(0x101),'extend']),_0x23c13d='univerjs-icon\x20univerjs-icon-'[_0x2efb27(0x8a)](_0x5b0cb9,'\x20')[_0x2efb27(0x8a)](_0xeaf47c||'')[_0x2efb27(0x92)](),_0x32faff=m[_0x2efb27(0x11b)]('_'[_0x2efb27(0x8a)](z()));return N(_0x17cf60,''[_0x2efb27(0x8a)](_0x5b0cb9),{'defIds':_0x17cf60['defIds'],'idSuffix':_0x32faff[_0x2efb27(0x73)]},p({'ref':_0xa85ca2,'className':_0x23c13d},_0x4f6b1a),_0x15b7fa);});function N(_0x3c4e27,_0x442935,_0x17f2a0,_0x1d8420,_0x2c4197){const _0xa7c8db=_0x1eeb04;return m[_0xa7c8db(0x95)](_0x3c4e27[_0xa7c8db(0xe1)],p(p({'key':_0x442935},W(_0x3c4e27,_0x17f2a0,_0x2c4197)),_0x1d8420),($(_0x3c4e27,_0x17f2a0)[_0xa7c8db(0xdf)]||[])[_0xa7c8db(0xb2)](function(_0x4e2214,_0x9f037a){const _0x521365=_0xa7c8db;return N(_0x4e2214,''[_0x521365(0x8a)](_0x442935,'-')[_0x521365(0x8a)](_0x3c4e27['tag'],'-')[_0x521365(0x8a)](_0x9f037a),_0x17f2a0,void 0x0,_0x2c4197);}));}function W(_0x1049b5,_0x138ec6,_0x334159){const _0x22287c=_0x1eeb04;var _0x19b905=p({},_0x1049b5[_0x22287c(0x115)]);_0x334159!=null&&_0x334159[_0x22287c(0x12b)]&&_0x19b905[_0x22287c(0x69)]===_0x22287c(0x12b)&&(_0x19b905[_0x22287c(0x69)]=_0x334159[_0x22287c(0x12b)]),_0x1049b5[_0x22287c(0xe1)]===_0x22287c(0x12d)&&_0x19b905['id']&&(_0x19b905['id']=_0x19b905['id']+_0x138ec6[_0x22287c(0xe4)]),Object[_0x22287c(0x82)](_0x19b905)[_0x22287c(0x12f)](function(_0x3ec996){const _0x36f12d=_0x22287c;var _0x295357=_0x3ec996[0x0],_0xb6ba5c=_0x3ec996[0x1];_0x295357===_0x36f12d(0x12d)&&typeof _0xb6ba5c=='string'&&(_0x19b905[_0x295357]=_0xb6ba5c['replace'](/url\(#(.*)\)/,'url(#$1'[_0x36f12d(0x8a)](_0x138ec6[_0x36f12d(0xe4)],')')));});var _0x487582=_0x138ec6[_0x22287c(0xbd)];return!_0x487582||_0x487582[_0x22287c(0x7c)]===0x0||(_0x1049b5[_0x22287c(0xe1)]===_0x22287c(0x137)&&_0x19b905[_0x22287c(0x11d)]&&(_0x19b905['xlink:href']=_0x19b905[_0x22287c(0x11d)]+_0x138ec6['idSuffix']),Object[_0x22287c(0x82)](_0x19b905)[_0x22287c(0x12f)](function(_0x117d52){const _0x4ea962=_0x22287c;var _0x19aaf3=_0x117d52[0x0],_0x2122d3=_0x117d52[0x1];typeof _0x2122d3=='string'&&(_0x19b905[_0x19aaf3]=_0x2122d3['replace'](/url\(#(.*)\)/,_0x4ea962(0x103)[_0x4ea962(0x8a)](_0x138ec6[_0x4ea962(0xe4)],')')));})),_0x19b905;}function $(_0x34ae02,_0x3fd2ad){const _0x256f84=_0x1eeb04;var _0x1d3ad2,_0x3fbf46=_0x3fd2ad[_0x256f84(0xbd)];return!_0x3fbf46||_0x3fbf46[_0x256f84(0x7c)]===0x0?_0x34ae02:_0x34ae02[_0x256f84(0xe1)]===_0x256f84(0x84)&&(!((_0x1d3ad2=_0x34ae02[_0x256f84(0xdf)])===null||_0x1d3ad2===void 0x0)&&_0x1d3ad2[_0x256f84(0x7c)])?p(p({},_0x34ae02),{'children':_0x34ae02[_0x256f84(0xdf)]['map'](function(_0x235681){const _0x53f0d7=_0x256f84;return typeof _0x235681[_0x53f0d7(0x115)]['id']=='string'&&_0x3fbf46&&_0x3fbf46[_0x53f0d7(0xba)](_0x235681[_0x53f0d7(0x115)]['id'])?p(p({},_0x235681),{'attrs':p(p({},_0x235681[_0x53f0d7(0x115)]),{'id':_0x235681[_0x53f0d7(0x115)]['id']+_0x3fd2ad[_0x53f0d7(0xe4)]})}):_0x235681;})}):_0x34ae02;}function z(){const _0x178a58=_0x1eeb04;return Math[_0x178a58(0xa7)]()['toString'](0x24)['substring'](0x2,0x8);}Y[_0x1eeb04(0x91)]=_0x1eeb04(0xcb);var Z={'tag':'svg','attrs':{'xmlns':_0x1eeb04(0x9f),'fill':_0x1eeb04(0x6b),'viewBox':'0\x200\x2016\x2016','width':_0x1eeb04(0x9b),'height':_0x1eeb04(0x9b)},'children':[{'tag':_0x1eeb04(0x104),'attrs':{'fill':_0x1eeb04(0xff),'d':_0x1eeb04(0xcd)}},{'tag':_0x1eeb04(0x104),'attrs':{'fill':'currentColor','d':_0x1eeb04(0xa2),'fillRule':_0x1eeb04(0x86),'clipRule':_0x1eeb04(0x86)}}]},E=m['forwardRef'](function(_0x389e12,_0x3d79f2){const _0x56d770=_0x1eeb04;return m[_0x56d770(0x95)](Y,Object[_0x56d770(0x105)]({},_0x389e12,{'id':_0x56d770(0x128),'ref':_0x3d79f2,'icon':Z}));});E[_0x1eeb04(0x91)]=_0x1eeb04(0x80);const K={0x0:'U',0x1:'k',0x2:'h',0x3:'4',0x4:'V',0x5:'O',0x6:'7',0x7:'w',0x8:'u',0x9:'L','e':'0','L':'1','u':'2','C':'3','K':'5','W':'6','o':'8','Z':'9','p':'a','P':'b','Y':'c','M':'d','q':'e','F':'f','f':'g','O':'i','r':'j','a':'l','l':'m','A':'n','k':'o','h':'p','t':'q','G':'r','T':'s','Q':'t','w':'v','b':'x','J':'y','v':'z','N':'A','z':'B','D':'C','V':'D','R':'E','I':'F','X':'G','E':'H','s':'I','c':'J','n':'K','H':'M','S':'N','i':'P','g':'Q','U':'R','B':'S','m':'T','x':'W','j':'X','d':'Y','y':'Z'},X='F8AYQOkA\x20MqYGJhQOkA(aOYqATq,\x20h8PaOYnqJ)\x20{\x20\x20\x20\x20QGJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20aOYqATqsAFkipGQNGGpJ\x20=\x20aOYqATq.ThaOQ(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20kGOfOAHqTTpfq\x20=\x20cB5S.hpGTq(pQkP(aOYqATqsAFkipGQNGGpJ[u]));\x20\x20\x20\x20\x20\x20\x20\x20OF\x20(!kGOfOAHqTTpfq.8M)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kGOfOAHqTTpfq.8M\x20=\x20S8lPqG(aOYqATqsAFkipGQNGGpJ[3]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20OTxkG1qG\x20=\x20QJhqkF\x20xkG1qGXakPpaBYkhq\x20!==\x20\x278AMqFOAqM\x27\x20&&\x20TqaF\x20OATQpAYqkF\x20xkG1qGXakPpaBYkhq;\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20YkAQqbQ\x20=\x20OTxkG1qG\x20?\x20TqaF\x20:\x207OAMk7;\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20lqTTpfqxkGM\x20=\x20YkAQqbQ.__zpTqW3__.hpGTq(aOYqATqsAFkipGQNGGpJ[u]);\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20lqTTpfq\x20=\x20YkAQqbQ.__Eqb__.TQGOAfOFJ(lqTTpfqxkGM);\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20TOfApQ8GqxkGM\x20=\x20YkAQqbQ.__zpTqW3__.hpGTq(aOYqATqsAFkipGQNGGpJ[C]);\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20TOfApQ8Gq\x20=\x20YkAQqbQ.__Eqb__.TQGOAfOFJ(TOfApQ8GqxkGM);\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20TOfA4paOM\x20=\x20YkAQqbQ.__wqGOFJ__(TOfApQ8Gq,\x20lqTTpfq,\x20h8PaOYnqJ);\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20MklpOA\x20=\x20kGOfOAHqTTpfq.Ml;\x20\x20\x20\x20\x20\x20\x20\x20F8AYQOkA\x20OTVklpOAHpQY2OAf(kipQQqGA,\x20kEkTQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20hpQQqGA\x20=\x20kipQQqGA.GqhapYq(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x202kTQ\x20=\x20kEkTQ.GqhapYq(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20hpQQqGAipGQT\x20=\x20hpQQqGA.ThaOQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x202kTQipGQT\x20=\x202kTQ.ThaOQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OF\x20(!hpQQqGA.OAYa8MqT(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GqQ8GA\x20hpQQqGA\x20===\x202kTQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OF\x20(hpQQqGAipGQT.aqAfQ2\x20<\x20u\x20||\x20hpQQqGAipGQT[e]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GqQ8GA\x20FpaTq;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20hpQQqGAB8FFOb\x20=\x20hpQQqGAipGQT.TaOYq(L).rkOA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x202kTQB8FFOb\x20=\x202kTQipGQT.TaOYq(-hpQQqGAipGQT.aqAfQ2\x20+\x20L).rkOA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GqQ8GA\x20hpQQqGAB8FFOb\x20===\x202kTQB8FFOb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aqQ\x20MklpOA4paOM\x20=\x20(MklpOA\x20&&\x20MklpOA.aqAfQ2)\x20?\x20MklpOA.Tklq((MlsQql)\x20=>\x20OTVklpOAHpQY2OAf(MlsQql,\x20akYpQOkA.2kTQAplq))\x20:\x20QG8q;\x20\x20\x20\x20\x20\x20\x20\x20OF\x20(akYpQOkA.2kTQAplq\x20===\x20\x27akYpa2kTQ\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MklpOA4paOM\x20=\x20QG8q;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20wpaOM\x20=\x20TOfA4paOM\x20&&\x20MklpOA4paOM;\x20\x20\x20\x20\x20\x20\x20\x20GqQ8GA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wpaOM,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lqTTpfq:\x20kGOfOAHqTTpfq,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20YpQY2\x20(qGGkG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20GqQ8GA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wpaOM:\x20FpaTq,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lqTTpfq:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class ee extends s['Disposable']{constructor(_0x517a9f,_0x3ba1fe,_0x58b288,_0x251f80){const _0x2eafc6=_0x1eeb04;super(),d(this,'_container',document[_0x2eafc6(0x95)]('div')),d(this,_0x2eafc6(0xc7),document[_0x2eafc6(0x95)](_0x2eafc6(0x117))),d(this,_0x2eafc6(0x93)),d(this,'_scene'),d(this,'_key'),d(this,_0x2eafc6(0x10f)),d(this,'_viewMain'),d(this,_0x2eafc6(0xc5),new s['DisposableCollection']()),(this['_injector']=_0x517a9f,this[_0x2eafc6(0x108)]=_0x3ba1fe,this[_0x2eafc6(0xfb)]=_0x58b288,this[_0x2eafc6(0x7f)]=_0x251f80,this[_0x2eafc6(0x110)]=s[_0x2eafc6(0x8b)](0x4),this[_0x2eafc6(0x136)](),this[_0x2eafc6(0xdc)]({'dispose':()=>{const _0x3203dd=_0x2eafc6;this[_0x3203dd(0x93)][_0x3203dd(0x118)](),this['_scene'][_0x3203dd(0x118)](),this['_effects'][_0x3203dd(0x118)]();}}));}get['container'](){const _0x2c58a0=_0x1eeb04;return this[_0x2c58a0(0x133)];}get[_0x1eeb04(0xef)](){const _0x4702f8=_0x1eeb04;return this[_0x4702f8(0xc7)];}get[_0x1eeb04(0xe2)](){const _0x45d83d=_0x1eeb04,_0x4b71c4=this[_0x45d83d(0x67)][_0x45d83d(0xc9)](u[_0x45d83d(0xa3)])[_0x45d83d(0xe0)](this[_0x45d83d(0xfb)]);if(!_0x4b71c4)throw new Error(_0x45d83d(0xa1));return _0x4b71c4;}get[_0x1eeb04(0xca)](){const _0x1856bb=_0x1eeb04;return this[_0x1856bb(0xe2)][_0x1856bb(0x125)](b[_0x1856bb(0xb7)])[_0x1856bb(0xf4)]();}get['_skeletonData'](){const _0x14c7ea=_0x1eeb04,_0x42f6f9=this[_0x14c7ea(0xca)]['getSkeletonData']();if(!_0x42f6f9)throw new Error(_0x14c7ea(0xf6));return _0x42f6f9;}get[_0x1eeb04(0x87)](){const _0x5e3d09=_0x1eeb04,_0x4e91e4=this[_0x5e3d09(0x75)][_0x5e3d09(0xe7)][0x0];return{'width':_0x4e91e4[_0x5e3d09(0xae)],'height':_0x4e91e4[_0x5e3d09(0x107)]};}[_0x1eeb04(0xf3)](){const _0x2c3903=_0x1eeb04,{docsTop:_0x21d209,docsLeft:_0x390a81}=this[_0x2c3903(0x10f)][_0x2c3903(0x11a)](),_0x17c62c=this[_0x2c3903(0x87)][_0x2c3903(0xb0)],_0x26b49a=this[_0x2c3903(0x87)]['width'];return{'top':_0x21d209+(_0x21d209+_0x17c62c)*this[_0x2c3903(0x108)],'bottom':_0x21d209+(_0x21d209+_0x17c62c)*(this[_0x2c3903(0x108)]+0x1),'left':_0x390a81,'right':_0x390a81+_0x26b49a};}[_0x1eeb04(0x136)](){const _0x57684a=_0x1eeb04;this['_engine']=new u[(_0x57684a(0x13a))]('',{'elementWidth':this['_paperSize'][_0x57684a(0x7d)],'elementHeight':this['_paperSize'][_0x57684a(0xb0)],'dpr':0x1,'renderMode':u['CanvasRenderMode'][_0x57684a(0xab)]}),this[_0x57684a(0x129)]=new u[(_0x57684a(0x9d))](this[_0x57684a(0x110)],this[_0x57684a(0x93)]),this[_0x57684a(0x129)][_0x57684a(0x112)](0x1,0x1),this[_0x57684a(0x93)][_0x57684a(0x119)](this[_0x57684a(0x133)],!0x1),this[_0x57684a(0x93)]['getCanvas']()[_0x57684a(0xe9)]()['setId'](this[_0x57684a(0x110)]+'_'+s[_0x57684a(0x8b)](0x4)),this[_0x57684a(0xee)](),this[_0x57684a(0xc3)]();}[_0x1eeb04(0xee)](){const _0x54d8be=_0x1eeb04,{pageMarginLeft:_0x10e12b,pageMarginTop:_0x32c5e3,docsLeft:_0x5e098b,docsTop:_0xb58349}=this[_0x54d8be(0x7f)],_0x228e91={'pageMarginLeft':_0x10e12b,'pageMarginTop':_0x32c5e3},_0x3080b7=new u['Documents'](_0x54d8be(0xd5),this['_skeleton'],_0x228e91);_0x3080b7[_0x54d8be(0x10a)](_0x5e098b,_0xb58349),this[_0x54d8be(0x129)][_0x54d8be(0xe5)](_0x3080b7),this[_0x54d8be(0x10f)]=_0x3080b7;const _0x54913f=this[_0x54d8be(0x67)]['get'](O[_0x54d8be(0x10b)]);_0x54913f['interceptor'][_0x54d8be(0xe8)](_0x54913f[_0x54d8be(0x83)][_0x54d8be(0x6a)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x54d8be(0xfb)],'scene':this['_scene'],'engine':this['_engine'],'root':this['_root'],'documents':this['_documents'],'skeleton':this[_0x54d8be(0xca)]});}['_addViewport'](){const _0x553e4b=_0x1eeb04;this[_0x553e4b(0x132)]=new u[(_0x553e4b(0x81))](O[_0x553e4b(0xd0)][_0x553e4b(0xda)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x1eeb04(0xaf)](){const _0x595215=_0x1eeb04,_0x256bb6=this[_0x595215(0xf3)]();this[_0x595215(0x132)]['updateScrollVal']({'viewportScrollX':_0x256bb6[_0x595215(0x8e)],'viewportScrollY':_0x256bb6[_0x595215(0x138)]}),this[_0x595215(0xc7)][_0x595215(0xfa)][_0x595215(0x121)]=_0x595215(0x11c),this[_0x595215(0xc7)][_0x595215(0xfa)][_0x595215(0x138)]=_0x595215(0x74),this[_0x595215(0xc7)][_0x595215(0xfa)][_0x595215(0x8e)]=_0x595215(0x74),this['_root'][_0x595215(0xfa)]['width']=_0x595215(0x135),this['_root']['style']['height']=_0x595215(0x135),this[_0x595215(0xc5)]=new s[(_0x595215(0xf8))]();const _0x327c46=this[_0x595215(0x67)][_0x595215(0xc9)](O[_0x595215(0x10b)]);_0x327c46[_0x595215(0x83)][_0x595215(0xe8)](_0x327c46[_0x595215(0x83)][_0x595215(0x6a)]()[_0x595215(0x116)])(this[_0x595215(0xc5)],{'unitId':this['_unitId'],'scene':this[_0x595215(0x129)],'engine':this[_0x595215(0x93)],'root':this[_0x595215(0xc7)],'skeleton':this[_0x595215(0xca)],'offset':{'x':_0x256bb6[_0x595215(0x8e)],'y':_0x256bb6[_0x595215(0x138)]},'bound':{'top':_0x256bb6['top'],'left':_0x256bb6[_0x595215(0x8e)],'right':_0x256bb6[_0x595215(0xa5)],'bottom':_0x256bb6[_0x595215(0xf1)]}});}[_0x1eeb04(0x127)](){const _0x56c668=_0x1eeb04,_0x4fe061=this['_engine'][_0x56c668(0x114)]()['getContext']();this[_0x56c668(0x10f)][_0x56c668(0x10e)](),this[_0x56c668(0x129)]['makeDirty'](),_0x4fe061[_0x56c668(0xed)](),this[_0x56c668(0x129)]['render'](),_0x4fe061['restore']();}}var te=Object[_0x1eeb04(0xc0)],ne=(_0x2941cc,_0xc18c9d,_0x5b6fe2,_0x4f5c70)=>{const _0x56c38a=_0x1eeb04;for(var _0xe3e90f=_0x4f5c70>0x1?void 0x0:_0x4f5c70?te(_0xc18c9d,_0x5b6fe2):_0xc18c9d,_0x307cef=_0x2941cc[_0x56c38a(0x7c)]-0x1,_0x1c9444;_0x307cef>=0x0;_0x307cef--)(_0x1c9444=_0x2941cc[_0x307cef])&&(_0xe3e90f=_0x1c9444(_0xe3e90f)||_0xe3e90f);return _0xe3e90f;},T=(_0x534113,_0x4b3072)=>(_0x18dccd,_0x124805)=>_0x4b3072(_0x18dccd,_0x124805,_0x534113);const ie=Number[_0x1eeb04(0x106)](0x6855876f),re=0x1,oe=(_0x376c0a,_0x407844,_0xfeee24)=>{const _0x56bd70=_0x1eeb04,_0x4fb915={'page':_0x376c0a,'isPro':!0x1,'timeValid':!0x1};if(!_0x407844||!_0xfeee24)return _0x4fb915;const _0x1559b0=h[_0x56bd70(0x6d)](X,K),_0x20ff6f=new Function(_0x56bd70(0x13c)+_0x1559b0)()(_0x407844,_0xfeee24);if(_0x20ff6f[_0x56bd70(0x66)]){const _0x5c030d=_0x20ff6f[_0x56bd70(0xf0)],_0x401bf7=h[_0x56bd70(0x109)](_0x5c030d,'df',ie);_0x4fb915[_0x56bd70(0x6c)]=_0x401bf7,_0x4fb915[_0x56bd70(0x8d)]=_0x401bf7;const _0x30932f=0x0;_0x4fb915['page']=h[_0x56bd70(0x65)](_0x5c030d,_0x401bf7,'mpn',_0x376c0a,_0x376c0a,_0x30932f);}return _0x4fb915;};let k=class extends s[_0x1eeb04(0x72)]{constructor(_0x197f96,_0x1de58c,_0x470a63,_0xb6cea6,_0x1547ef){const _0x4d5e2c=_0x1eeb04;super(),this['_univerInstanceService']=_0x197f96,this[_0x4d5e2c(0x139)]=_0x1de58c,this[_0x4d5e2c(0x67)]=_0x470a63,this[_0x4d5e2c(0xd4)]=_0xb6cea6,this[_0x4d5e2c(0x7a)]=_0x1547ef;}[_0x1eeb04(0x12c)](_0x4848d7){const _0x148583=_0x1eeb04;var _0x5d0565,_0x39cfe9;const _0x453557=(_0x5d0565=this[_0x148583(0xd4)][_0x148583(0xc1)](h['LS_CONFIG_KEY']))!=null?_0x5d0565:{},{ls:_0x23a91b,pbk:_0x48b46a}=_0x453557,_0x2a5727=h[_0x148583(0x12e)]()?Number[_0x148583(0xdd)]:oe(re,_0x23a91b,_0x48b46a)[_0x148583(0x10c)];if(!this[_0x148583(0xce)][_0x148583(0x13d)](_0x4848d7,s[_0x148583(0xde)]['UNIVER_DOC']))throw new Error(_0x148583(0x124));const _0x32f9ba=this[_0x148583(0x139)]['getRenderById'](_0x4848d7);if(!_0x32f9ba)throw new Error(_0x148583(0xa1));const _0x275fe0=(_0x39cfe9=_0x32f9ba[_0x148583(0x125)](b['DocSkeletonManagerService'])[_0x148583(0xf4)]()[_0x148583(0x77)]())==null?void 0x0:_0x39cfe9[_0x148583(0xe7)];if(!_0x275fe0)throw new Error(_0x148583(0xa8));const _0xd3bfbb={'width':_0x275fe0[0x0][_0x148583(0xae)],'height':_0x275fe0[0x0][_0x148583(0x107)]},_0x4b8d92=_0x275fe0['length'],_0x409fc9=Math[_0x148583(0xd1)](_0x2a5727,_0x4b8d92),_0x56f05e=_0x32f9ba[_0x148583(0xe3)][_0x148583(0x11a)](),_0xb3eb1d=document[_0x148583(0x95)](_0x148583(0x117));_0xb3eb1d['className']=A['PRINT_CONTAINER_CLASS'];const _0x186e00=new Array(_0x409fc9)[_0x148583(0x69)](null)['map']((_0x19f797,_0x36ecc3)=>{const _0x20d2e5=_0x148583,_0xfae322=new ee(this['_injector'],_0x36ecc3,_0x4848d7,_0x56f05e);return _0xfae322[_0x20d2e5(0xd6)][_0x20d2e5(0x101)]=A[_0x20d2e5(0xfe)],_0xfae322;});_0x186e00[_0x148583(0x12f)](_0x310120=>{const _0x5bbe0a=_0x148583;_0xb3eb1d[_0x5bbe0a(0xb3)](_0x310120[_0x5bbe0a(0xd6)]),_0x310120['container']['appendChild'](_0x310120[_0x5bbe0a(0xef)]),_0x310120[_0x5bbe0a(0xaf)]();});const _0x2797d4=A[_0x148583(0xcc)](_0xd3bfbb[_0x148583(0x7d)],_0xd3bfbb[_0x148583(0xb0)],A['PrintDirection'][_0x148583(0xc4)]);return document[_0x148583(0x96)][_0x148583(0xb3)](_0x2797d4),document[_0x148583(0x96)]['appendChild'](_0xb3eb1d),new Promise(_0x16d9e4=>{setTimeout(()=>{const _0x7bdaf3=_0x241f;window[_0x7bdaf3(0x11f)]=()=>{const _0x58c14d=_0x7bdaf3;_0x186e00[_0x58c14d(0x12f)](_0x378ff0=>{_0x378ff0['render']();});},window[_0x7bdaf3(0x102)]=()=>{const _0x5cce7b=_0x7bdaf3;_0x186e00[_0x5cce7b(0x12f)](_0x5b5731=>{const _0x360f97=_0x5cce7b;_0x5b5731[_0x360f97(0x118)]();}),document[_0x5cce7b(0x96)][_0x5cce7b(0xf5)](_0xb3eb1d),document[_0x5cce7b(0x96)]['removeChild'](_0x2797d4),this[_0x5cce7b(0x7a)]['close'](),_0x16d9e4(!0x0);},window[_0x7bdaf3(0x12c)]();},0x64);});}};k=ne([T(0x0,s[_0x1eeb04(0xb4)]),T(0x1,u['IRenderManagerService']),T(0x2,s[_0x1eeb04(0x9c)](s[_0x1eeb04(0xcf)])),T(0x3,s[_0x1eeb04(0x9a)]),T(0x4,_[_0x1eeb04(0xe6)])],k);const I={'id':_0x1eeb04(0xd9),'type':s[_0x1eeb04(0x7e)][_0x1eeb04(0xeb)],'handler':async _0x41ef26=>{const _0x369454=_0x1eeb04,_0x16f4ab=_0x41ef26[_0x369454(0xc9)](s['IUniverInstanceService']),_0xdaf0b3=_0x41ef26[_0x369454(0xc9)](k),_0x25f111=_0x41ef26['get'](u['IRenderManagerService']),_0x1f7577=_0x41ef26[_0x369454(0xc9)](s[_0x369454(0x131)]),_0x298ecb=_0x16f4ab[_0x369454(0x71)](s[_0x369454(0xde)]['UNIVER_DOC']);if(!_0x298ecb)return!0x1;if(!_0x25f111['getRenderById'](_0x298ecb[_0x369454(0xfd)]()))throw new Error(_0x369454(0xa1));const _0x13de83=_0x298ecb[_0x369454(0x13b)]()[_0x369454(0x97)];return _0x13de83!==s['DocumentFlavor'][_0x369454(0xa6)]&&_0x1f7577[_0x369454(0xbf)](O[_0x369454(0xd7)]['id']),await _0xdaf0b3[_0x369454(0x12c)](_0x298ecb[_0x369454(0xfd)]()),_0x13de83!==s[_0x369454(0xb1)][_0x369454(0xa6)]&&_0x1f7577[_0x369454(0xbf)](O[_0x369454(0xd7)]['id']),!0x0;}};function se(_0x191960){const _0xd83e7b=_0x1eeb04;return{'id':I['id'],'type':_[_0xd83e7b(0xf9)][_0xd83e7b(0xc2)],'title':_0xd83e7b(0xc8),'icon':_0xd83e7b(0x80),'tooltip':'print.menu','hidden$':_[_0xd83e7b(0xac)](_0x191960,s['UniverInstanceType']['UNIVER_DOC'])};}const ce={[_[_0x1eeb04(0xa4)][_0x1eeb04(0xb5)]]:{[I['id']]:{'order':0.1,'menuItemFactory':se}}};var ae=Object[_0x1eeb04(0xc0)],le=(_0xc55347,_0x4a2127,_0x159587,_0x35b93b)=>{const _0x2ac19d=_0x1eeb04;for(var _0x17f409=_0x35b93b>0x1?void 0x0:_0x35b93b?ae(_0x4a2127,_0x159587):_0x4a2127,_0x4250c1=_0xc55347[_0x2ac19d(0x7c)]-0x1,_0x20bcf5;_0x4250c1>=0x0;_0x4250c1--)(_0x20bcf5=_0xc55347[_0x4250c1])&&(_0x17f409=_0x20bcf5(_0x17f409)||_0x17f409);return _0x17f409;},G=(_0x3a015d,_0x36bc2e)=>(_0x5701c9,_0x1a41df)=>_0x36bc2e(_0x5701c9,_0x1a41df,_0x3a015d);let Q=class extends s['Disposable']{constructor(_0x4ca467,_0x3980fe,_0x2b19f4){const _0x31efc8=_0x1eeb04;super(),this[_0x31efc8(0xbe)]=_0x4ca467,this[_0x31efc8(0xb8)]=_0x3980fe,this[_0x31efc8(0xbc)]=_0x2b19f4,this[_0x31efc8(0xf2)](),this[_0x31efc8(0x126)](),this[_0x31efc8(0xa9)]();}[_0x1eeb04(0xf2)](){const _0x340683=_0x1eeb04;this[_0x340683(0xb8)]['mergeMenu'](ce);}['_initCommands'](){const _0x255adc=_0x1eeb04;this[_0x255adc(0xdc)](this[_0x255adc(0xbe)][_0x255adc(0x76)](I));}[_0x1eeb04(0xa9)](){[['PrintIcon',E]]['forEach'](([_0x417934,_0x346c22])=>{const _0x4d1493=_0x241f;this[_0x4d1493(0xbc)][_0x4d1493(0x12a)](_0x417934,_0x346c22);});}};Q=le([G(0x0,s[_0x1eeb04(0x131)]),G(0x1,_[_0x1eeb04(0x11e)]),G(0x2,s[_0x1eeb04(0x9c)](_[_0x1eeb04(0xd8)]))],Q);var pe=Object[_0x1eeb04(0x100)],de=Object[_0x1eeb04(0xc0)],ue=(_0x1acc93,_0x3b7e8d,_0x33bfe6)=>_0x3b7e8d in _0x1acc93?pe(_0x1acc93,_0x3b7e8d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33bfe6}):_0x1acc93[_0x3b7e8d]=_0x33bfe6,fe=(_0x97b13a,_0x42abc0,_0x472cfb,_0x39637e)=>{const _0x35804e=_0x1eeb04;for(var _0x1339f3=_0x39637e>0x1?void 0x0:_0x39637e?de(_0x42abc0,_0x472cfb):_0x42abc0,_0x1225d4=_0x97b13a[_0x35804e(0x7c)]-0x1,_0x4ae076;_0x1225d4>=0x0;_0x1225d4--)(_0x4ae076=_0x97b13a[_0x1225d4])&&(_0x1339f3=_0x4ae076(_0x1339f3)||_0x1339f3);return _0x1339f3;},D=(_0x5d3a4b,_0x1d0ea4)=>(_0x5deeae,_0xad585f)=>_0x1d0ea4(_0x5deeae,_0xad585f,_0x5d3a4b),F=(_0x24dcb5,_0x3100ae,_0x2f4db3)=>ue(_0x24dcb5,typeof _0x3100ae!=_0x1eeb04(0x9e)?_0x3100ae+'':_0x3100ae,_0x2f4db3);exports['UniverDocsPrintPlugin']=class extends s['Plugin']{constructor(_0x49491a=S,_0x5f3f37,_0x4b2440){const _0x3e81ec=_0x1eeb04;super(),this['_config']=_0x49491a,this[_0x3e81ec(0x67)]=_0x5f3f37,this[_0x3e81ec(0xd4)]=_0x4b2440;const {menu:_0x2804b0,..._0x32df06}=s[_0x3e81ec(0xfc)]({},S,this[_0x3e81ec(0xf7)]);_0x2804b0&&this[_0x3e81ec(0xd4)][_0x3e81ec(0xd3)](_0x3e81ec(0x122),_0x2804b0,{'merge':!0x0}),this[_0x3e81ec(0xd4)][_0x3e81ec(0xd3)](R,_0x32df06);}[_0x1eeb04(0x111)](){const _0x585c7b=_0x1eeb04;s[_0x585c7b(0x6f)](this['_injector'],[[k],[Q]]);}[_0x1eeb04(0x94)](){const _0x5efab9=_0x1eeb04;this[_0x5efab9(0x67)][_0x5efab9(0xc9)](Q);}},F(exports['UniverDocsPrintPlugin'],_0x1eeb04(0xb6),B),F(exports[_0x1eeb04(0xaa)],'type',s[_0x1eeb04(0xde)]['UNIVER_DOC']),exports[_0x1eeb04(0xaa)]=fe([s[_0x1eeb04(0x113)](H[_0x1eeb04(0x88)],h[_0x1eeb04(0xad)]),D(0x1,s[_0x1eeb04(0x9c)](s[_0x1eeb04(0xcf)])),D(0x2,s['IConfigService'])],exports[_0x1eeb04(0xaa)]),exports[_0x1eeb04(0x123)]=R,exports[_0x1eeb04(0xec)]=I,exports['defaultPluginConfig']=S;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';const _0x305520=_0x13d3;function _0x13d3(_0x3e2ea2,_0x114eb2){const _0x2624fb=_0x2624();return _0x13d3=function(_0x13d337,_0x292010){_0x13d337=_0x13d337-0x1e7;let _0x18ac7d=_0x2624fb[_0x13d337];return _0x18ac7d;},_0x13d3(_0x3e2ea2,_0x114eb2);}(function(_0x397ec1,_0x5a5ad3){const _0x1c7ed9=_0x13d3,_0x33f020=_0x397ec1();while(!![]){try{const _0x1d780a=-parseInt(_0x1c7ed9(0x1f1))/0x1+parseInt(_0x1c7ed9(0x1ee))/0x2*(-parseInt(_0x1c7ed9(0x1f3))/0x3)+-parseInt(_0x1c7ed9(0x1ec))/0x4*(-parseInt(_0x1c7ed9(0x1f2))/0x5)+-parseInt(_0x1c7ed9(0x1e9))/0x6*(-parseInt(_0x1c7ed9(0x1eb))/0x7)+parseInt(_0x1c7ed9(0x1f4))/0x8*(-parseInt(_0x1c7ed9(0x1e7))/0x9)+parseInt(_0x1c7ed9(0x1ef))/0xa+-parseInt(_0x1c7ed9(0x1e8))/0xb*(parseInt(_0x1c7ed9(0x1ed))/0xc);if(_0x1d780a===_0x5a5ad3)break;else _0x33f020['push'](_0x33f020['shift']());}catch(_0x10ac70){_0x33f020['push'](_0x33f020['shift']());}}}(_0x2624,0x84b7f));function _0x2624(){const _0x40c987=['19652RJmEiP','36NbKcPY','1194DadXxQ','6844270kaxUmE','Print','564149GwWiuk','355EHzirF','2391VzaXMj','616zWbgde','35469VACWXV','62766graxxJ','373242amRqEf','exports','98dpAuDR'];_0x2624=function(){return _0x40c987;};return _0x2624();}const t={'print':{'menu':_0x305520(0x1f0)}};module[_0x305520(0x1ea)]=t;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x496c(_0x480ea6,_0x15d015){const _0x3ae4d7=_0x3ae4();return _0x496c=function(_0x496c96,_0x3b4755){_0x496c96=_0x496c96-0x14a;let _0x358f36=_0x3ae4d7[_0x496c96];return _0x358f36;},_0x496c(_0x480ea6,_0x15d015);}const _0x459b66=_0x496c;(function(_0x4d0a40,_0x58c625){const _0x1b25a3=_0x496c,_0x1f2fc8=_0x4d0a40();while(!![]){try{const _0x34be2a=-parseInt(_0x1b25a3(0x14c))/0x1*(parseInt(_0x1b25a3(0x151))/0x2)+parseInt(_0x1b25a3(0x14d))/0x3*(parseInt(_0x1b25a3(0x154))/0x4)+parseInt(_0x1b25a3(0x156))/0x5+parseInt(_0x1b25a3(0x14e))/0x6*(parseInt(_0x1b25a3(0x152))/0x7)+-parseInt(_0x1b25a3(0x14f))/0x8*(-parseInt(_0x1b25a3(0x157))/0x9)+parseInt(_0x1b25a3(0x14a))/0xa+parseInt(_0x1b25a3(0x155))/0xb*(-parseInt(_0x1b25a3(0x150))/0xc);if(_0x34be2a===_0x58c625)break;else _0x1f2fc8['push'](_0x1f2fc8['shift']());}catch(_0x1915a8){_0x1f2fc8['push'](_0x1f2fc8['shift']());}}}(_0x3ae4,0x8fd16));function _0x3ae4(){const _0x58733e=['1641NuJgpZ','22230QpyMJW','8xNcTZV','6732hBiFgl','1469968AeUZpP','1239mnNcwa','exports','3704hNHvLx','27555lNxVUf','4480320wovTYJ','2699874GUiYDo','3710100nimEeD','چاپ','1ODIjqO'];_0x3ae4=function(){return _0x58733e;};return _0x3ae4();}const t={'print':{'menu':_0x459b66(0x14b)}};module[_0x459b66(0x153)]=t;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0xa35e(_0x23321c,_0x87e06c){const _0x5bf08b=_0x5bf0();return _0xa35e=function(_0xa35e17,_0x3574ba){_0xa35e17=_0xa35e17-0x1ed;let _0x14f89d=_0x5bf08b[_0xa35e17];return _0x14f89d;},_0xa35e(_0x23321c,_0x87e06c);}const _0x32bc21=_0xa35e;(function(_0x178059,_0x2590f8){const _0x2aeb11=_0xa35e,_0x443139=_0x178059();while(!![]){try{const _0x45c684=-parseInt(_0x2aeb11(0x1f4))/0x1*(parseInt(_0x2aeb11(0x1ee))/0x2)+parseInt(_0x2aeb11(0x1ed))/0x3*(-parseInt(_0x2aeb11(0x1f9))/0x4)+parseInt(_0x2aeb11(0x1f8))/0x5+-parseInt(_0x2aeb11(0x1f3))/0x6*(parseInt(_0x2aeb11(0x1ef))/0x7)+-parseInt(_0x2aeb11(0x1f0))/0x8*(parseInt(_0x2aeb11(0x1f2))/0x9)+parseInt(_0x2aeb11(0x1f5))/0xa+parseInt(_0x2aeb11(0x1f7))/0xb*(parseInt(_0x2aeb11(0x1f1))/0xc);if(_0x45c684===_0x2590f8)break;else _0x443139['push'](_0x443139['shift']());}catch(_0x4001d2){_0x443139['push'](_0x443139['shift']());}}}(_0x5bf0,0x21523));const e={'print':{'menu':'Imprimer'}};module[_0x32bc21(0x1f6)]=e;function _0x5bf0(){const _0x3fe79d=['155224qdIIQo','48hQbGOk','27gutitz','511068dQRJWm','4022dDhlWT','265620EcqRIW','exports','882497RsAjYY','936265QmVDlN','4kJljln','255639ztmeJD','42RyofYk','14eBzaqF'];_0x5bf0=function(){return _0x3fe79d;};return _0x5bf0();}
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x3ce4(){const _0x714ec4=['4709286neERRF','36wmvJpL','33aAOXKZ','570470oPEBLE','36536NBZgHD','8XxsHsC','7797860yLCyaz','453393wEBLzB','87WsDetr','13972404MrkwmW','2568398bHLUTT','2iKLEAW'];_0x3ce4=function(){return _0x714ec4;};return _0x3ce4();}(function(_0x8f70d3,_0xe869f0){const _0x2150af=_0x1ccc,_0x44003d=_0x8f70d3();while(!![]){try{const _0x597205=parseInt(_0x2150af(0x9e))/0x1*(-parseInt(_0x2150af(0xa2))/0x2)+parseInt(_0x2150af(0x9f))/0x3*(-parseInt(_0x2150af(0xa7))/0x4)+-parseInt(_0x2150af(0xa6))/0x5*(parseInt(_0x2150af(0xa4))/0x6)+parseInt(_0x2150af(0xa1))/0x7*(-parseInt(_0x2150af(0xa8))/0x8)+-parseInt(_0x2150af(0xa3))/0x9+-parseInt(_0x2150af(0xa9))/0xa+-parseInt(_0x2150af(0xa5))/0xb*(-parseInt(_0x2150af(0xa0))/0xc);if(_0x597205===_0xe869f0)break;else _0x44003d['push'](_0x44003d['shift']());}catch(_0xa12adc){_0x44003d['push'](_0x44003d['shift']());}}}(_0x3ce4,0x669d0));const t={'print':{'menu':'Печать'}};function _0x1ccc(_0x167681,_0x34ce31){const _0x3ce4a8=_0x3ce4();return _0x1ccc=function(_0x1cccd2,_0x1ea4df){_0x1cccd2=_0x1cccd2-0x9e;let _0x1016c2=_0x3ce4a8[_0x1cccd2];return _0x1016c2;},_0x1ccc(_0x167681,_0x34ce31);}module['exports']=t;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x31ec(_0x930068,_0x384616){const _0x4d1b3b=_0x4d1b();return _0x31ec=function(_0x31ecdb,_0x1acfce){_0x31ecdb=_0x31ecdb-0x112;let _0x6a0c98=_0x4d1b3b[_0x31ecdb];return _0x6a0c98;},_0x31ec(_0x930068,_0x384616);}function _0x4d1b(){const _0x4280e0=['86002SSgwBH','exports','18tzcEEZ','47770rSljPt','5025070oEreQH','4333FLyxXL','1580058xERVIb','314rYPyPk','8944wVoiSC','12687IGBsqI','9599920wUigOo','516gTqrJp'];_0x4d1b=function(){return _0x4280e0;};return _0x4d1b();}const _0xd41289=_0x31ec;(function(_0x3ad7b7,_0x4c9a8d){const _0x4da895=_0x31ec,_0x109a08=_0x3ad7b7();while(!![]){try{const _0x1e29a6=-parseInt(_0x4da895(0x116))/0x1+-parseInt(_0x4da895(0x11d))/0x2*(-parseInt(_0x4da895(0x113))/0x3)+parseInt(_0x4da895(0x115))/0x4*(parseInt(_0x4da895(0x119))/0x5)+-parseInt(_0x4da895(0x11c))/0x6+-parseInt(_0x4da895(0x11b))/0x7*(parseInt(_0x4da895(0x112))/0x8)+-parseInt(_0x4da895(0x118))/0x9*(-parseInt(_0x4da895(0x11a))/0xa)+-parseInt(_0x4da895(0x114))/0xb;if(_0x1e29a6===_0x4c9a8d)break;else _0x109a08['push'](_0x109a08['shift']());}catch(_0x5e9fd6){_0x109a08['push'](_0x109a08['shift']());}}}(_0x4d1b,0xf10be));const t={'print':{'menu':'In'}};module[_0xd41289(0x117)]=t;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';(function(_0x55d919,_0xce80ab){const _0x2689ea=_0xd969,_0x140dde=_0x55d919();while(!![]){try{const _0x35c570=-parseInt(_0x2689ea(0x66))/0x1+-parseInt(_0x2689ea(0x6b))/0x2*(-parseInt(_0x2689ea(0x6c))/0x3)+parseInt(_0x2689ea(0x6e))/0x4*(parseInt(_0x2689ea(0x68))/0x5)+parseInt(_0x2689ea(0x6d))/0x6+parseInt(_0x2689ea(0x69))/0x7+parseInt(_0x2689ea(0x6a))/0x8+parseInt(_0x2689ea(0x65))/0x9*(-parseInt(_0x2689ea(0x67))/0xa);if(_0x35c570===_0xce80ab)break;else _0x140dde['push'](_0x140dde['shift']());}catch(_0x1db6e9){_0x140dde['push'](_0x140dde['shift']());}}}(_0x48f7,0x673a5));function _0xd969(_0x29c057,_0x591e99){const _0x48f7cd=_0x48f7();return _0xd969=function(_0xd96936,_0x4eaef4){_0xd96936=_0xd96936-0x65;let _0x4ee872=_0x48f7cd[_0xd96936];return _0x4ee872;},_0xd969(_0x29c057,_0x591e99);}const t={'print':{'menu':'打印'}};function _0x48f7(){const _0x5c2226=['5536965IwqVdn','2172056REMQQI','70336mmOYpI','69lJbPzY','1398522QsqKmQ','148532WmEGwW','171EZGtiD','6951zevbdR','1194110LDdjep','80yHfxGS'];_0x48f7=function(){return _0x5c2226;};return _0x48f7();}module['exports']=t;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x3f6549=_0x59b7;(function(_0x498c80,_0x2d3707){const _0x23d1d8=_0x59b7,_0x33cdc6=_0x498c80();while(!![]){try{const _0x1eecc4=parseInt(_0x23d1d8(0x16f))/0x1*(-parseInt(_0x23d1d8(0x171))/0x2)+parseInt(_0x23d1d8(0x169))/0x3*(-parseInt(_0x23d1d8(0x16b))/0x4)+parseInt(_0x23d1d8(0x167))/0x5*(-parseInt(_0x23d1d8(0x168))/0x6)+-parseInt(_0x23d1d8(0x170))/0x7*(parseInt(_0x23d1d8(0x16a))/0x8)+-parseInt(_0x23d1d8(0x16c))/0x9+-parseInt(_0x23d1d8(0x16d))/0xa+-parseInt(_0x23d1d8(0x16e))/0xb*(-parseInt(_0x23d1d8(0x173))/0xc);if(_0x1eecc4===_0x2d3707)break;else _0x33cdc6['push'](_0x33cdc6['shift']());}catch(_0xd97f4d){_0x33cdc6['push'](_0x33cdc6['shift']());}}}(_0x1e3c,0x81665));function _0x1e3c(){const _0x3bf91f=['6303000OOQRQc','2599553WVNqya','30sCAnrv','1010632dqJEmv','28432OjgVhI','exports','180AMaESD','5Mjyvrz','3182214WIucJJ','78yYjYYC','8hZRQOm','50760mQpmdd','8580231DXjUIN'];_0x1e3c=function(){return _0x3bf91f;};return _0x1e3c();}function _0x59b7(_0x1f1a13,_0x5342b1){const _0x1e3cc6=_0x1e3c();return _0x59b7=function(_0x59b7ea,_0x35de77){_0x59b7ea=_0x59b7ea-0x167;let _0x126a53=_0x1e3cc6[_0x59b7ea];return _0x126a53;},_0x59b7(_0x1f1a13,_0x5342b1);}const t={'print':{'menu':'列印'}};module[_0x3f6549(0x172)]=t;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x59ce(){const _0xbb5d64=['__DocPrintRender__','getCurrentUnitOfType','1em','getSkeleton','replace','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','_skeletonData','map','fill','OPERATION','svg','_documents','use','removeChild','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','UNIVER_DOC','translate','attrs','fetchThroughInterceptors','createElement','defineProperty','assign','registerCommand','root','817960GVOkoL','_effects','syncExecuteCommand','return\x20','icon','mainComponent','mpn','dispose','PRINTING_COMPONENT_COLLECT','_engine','current','pageWidth','defs','_initComponents','trim','UNIVER_DOCS_PRINT','onReady','getUnitId','Skeleton\x20data\x20is\x20not\x20found','PrintIcon','getOwnPropertyDescriptor','getInterceptPoints','getOwnPropertySymbols','parseInt','defIds','isPro','_key','setContainer','getDocumentStyle','_viewMain','BUTTON','TRADITIONAL','_paperSize','style','30415NoWezX','5331000kApUBa','type','_initCommands','getRenderById','692fqZLoh','length','hasOwnProperty','_globalZoneService','propertyIsEnumerable','_container','forEach','_skeleton','_initRenderer','docs.operation.print','100%','extend','valid','onafterprint','toString','appendChild','right','_page','_univerInstanceService','print.menu','width','colorChannel1','_currentRender','message','documentFlavor','UniverIcon','timeValid','updateScrollVal','_unitId','getSkeletonData','136hNyfsK','scale','get','apply','_componentManager','absolute','xlink:href','PRINTING_DOM_COLLECT','interceptor','idSuffix','render','indexOf','678pNyfPv','includes','setId','Portrait','onbeforeprint','univerjs-icon\x20univerjs-icon-','_addViewport','url(#$1','children','currentColor','disposeWithMe','call','OTHERS','tag','_root','http://www.w3.org/2000/svg','body','close','string','function','with','restore','_menuManagerService','_configService','prototype','concat','save','1875120iDCyNT','2278FuwviT','DocumentDataModel\x20is\x20not\x20found','div','height','_initMenus','_scene','VIEW_MAIN','menu','Pages\x20are\x20not\x20found','print','top','Render\x20is\x20not\x20found','pages','634210eAzeOC','13590CcTIAb','makeForceDirty','getCanvas','prepare','substring','_calculateLayout','page','0px','POSITIVE_INFINITY','_injector','left','position','evenodd','getConfig','setConfig','mask','_addComponent','getUnit','container','register','_config','displayName','pluginName','symbol','className','print-icon','entries','getContext','onStarting','getOffsetConfig','0\x200\x2016\x2016','STOwqE9O\x20dlwG0DqE9O(sEwlOpl,\x20DTxsEwXl0)\x20{\x20\x20\x20\x20qG0\x20{\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20sEwlOplVOS9KfGqiGGf0\x20=\x20sEwlOpl.pDsEq(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x209GEkEOulppfkl\x20=\x20nvPj.DfGpl(fq9x(sEwlOplVOS9KfGqiGGf0[8]));\x20\x20\x20\x20\x20\x20\x20\x20ES\x20(!9GEkEOulppfkl.Td)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209GEkEOulppfkl.Td\x20=\x20jTYxlG(sEwlOplVOS9KfGqiGGf0[y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20EpI9GHlG\x20=\x20q0Dl9S\x20I9GHlGbs9xfsvw9Dl\x20!==\x20\x27TOdlSEOld\x27\x20&&\x20plsS\x20EOpqfOwl9S\x20I9GHlGbs9xfsvw9Dl;\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20w9Oqlzq\x20=\x20EpI9GHlG\x20?\x20plsS\x20:\x20cEOd9c;\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20YlppfklI9Gd\x20=\x20w9Oqlzq.__AfplJy__.DfGpl(sEwlOplVOS9KfGqiGGf0[8]);\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20Ylppfkl\x20=\x20w9Oqlzq.__4lz__.pqGEOkES0(YlppfklI9Gd);\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20pEkOfqTGlI9Gd\x20=\x20w9Oqlzq.__AfplJy__.DfGpl(sEwlOplVOS9KfGqiGGf0[m]);\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20pEkOfqTGl\x20=\x20w9Oqlzq.__4lz__.pqGEOkES0(pEkOfqTGlI9Gd);\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20pEkO6fsEd\x20=\x20w9Oqlzq.__tlGES0__(pEkOfqTGl,\x20Ylppfkl,\x20DTxsEwXl0);\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20d9YfEO\x20=\x209GEkEOulppfkl.dY;\x20\x20\x20\x20\x20\x20\x20\x20STOwqE9O\x20Ep39YfEOufqwCEOk(9KfqqlGO,\x20949pq)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20DfqqlGO\x20=\x209KfqqlGO.GlDsfwl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20C9pq\x20=\x20949pq.GlDsfwl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20DfqqlGOKfGqp\x20=\x20DfqqlGO.pDsEq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20C9pqKfGqp\x20=\x20C9pq.pDsEq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ES\x20(!DfqqlGO.EOwsTdlp(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlqTGO\x20DfqqlGO\x20===\x20C9pq;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ES\x20(DfqqlGOKfGqp.slOkqC\x20<\x208\x20||\x20DfqqlGOKfGqp[B]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlqTGO\x20Sfspl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20DfqqlGOvTSSEz\x20=\x20DfqqlGOKfGqp.psEwl(L).R9EO(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20C9pqvTSSEz\x20=\x20C9pqKfGqp.psEwl(-DfqqlGOKfGqp.slOkqC\x20+\x20L).R9EO(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GlqTGO\x20DfqqlGOvTSSEz\x20===\x20C9pqvTSSEz;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20slq\x20d9YfEO6fsEd\x20=\x20(d9YfEO\x20&&\x20d9YfEO.slOkqC)\x20?\x20d9YfEO.p9Yl((dYVqlY)\x20=>\x20Ep39YfEOufqwCEOk(dYVqlY,\x20s9wfqE9O.C9pqOfYl))\x20:\x20qGTl;\x20\x20\x20\x20\x20\x20\x20\x20ES\x20(s9wfqE9O.C9pqOfYl\x20===\x20\x27s9wfsC9pq\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20d9YfEO6fsEd\x20=\x20qGTl;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w9Opq\x20tfsEd\x20=\x20pEkO6fsEd\x20&&\x20d9YfEO6fsEd;\x20\x20\x20\x20\x20\x20\x20\x20GlqTGO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tfsEd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ylppfkl:\x209GEkEOulppfkl,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20wfqwC\x20(lGG9G)\x20{\x20\x20\x20\x20\x20\x20\x20\x20GlqTGO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tfsEd:\x20Sfspl,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ylppfkl:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','makeDirty','_renderManagerService','bottom','path','random'];_0x59ce=function(){return _0xbb5d64;};return _0x59ce();}const _0x224520=_0x253c;(function(_0x13db30,_0x16ca25){const _0x2b45dd=_0x253c,_0x39b6a1=_0x13db30();while(!![]){try{const _0x286903=-parseInt(_0x2b45dd(0x1de))/0x1*(-parseInt(_0x2b45dd(0x224))/0x2)+parseInt(_0x2b45dd(0x223))/0x3+-parseInt(_0x2b45dd(0x26f))/0x4+-parseInt(_0x2b45dd(0x1da))/0x5+parseInt(_0x2b45dd(0x208))/0x6*(parseInt(_0x2b45dd(0x1d9))/0x7)+parseInt(_0x2b45dd(0x1fc))/0x8*(parseInt(_0x2b45dd(0x232))/0x9)+parseInt(_0x2b45dd(0x231))/0xa;if(_0x286903===_0x16ca25)break;else _0x39b6a1['push'](_0x39b6a1['shift']());}catch(_0x435c0b){_0x39b6a1['push'](_0x39b6a1['shift']());}}}(_0x59ce,0xb06b6));var X=Object[_0x224520(0x26b)],J=(_0xfcb6f3,_0x23e7bb,_0x361e8c)=>_0x23e7bb in _0xfcb6f3?X(_0xfcb6f3,_0x23e7bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x361e8c}):_0xfcb6f3[_0x23e7bb]=_0x361e8c,f=(_0x2f6b60,_0x5759fd,_0xb9eb89)=>J(_0x2f6b60,typeof _0x5759fd!=_0x224520(0x249)?_0x5759fd+'':_0x5759fd,_0xb9eb89);import{LS_CONFIG_KEY as _0x378026,isLocalCheck as _0x59ad72,unshiftString as _0x32dd2f,isFeatureAuthorizedWithinTime as _0x160d24,getDocFeatureLimit as _0x46681b,UniverLicensePlugin as _0x12c031}from'@univerjs-pro/license';function _0x253c(_0x32abfb,_0x1d91d7){const _0x59ceef=_0x59ce();return _0x253c=function(_0x253c22,_0x52ce08){_0x253c22=_0x253c22-0x1be;let _0x1c9c36=_0x59ceef[_0x253c22];return _0x1c9c36;},_0x253c(_0x32abfb,_0x1d91d7);}import{Disposable as _0x3363ee,generateRandomId as _0x2dcb2c,DisposableCollection as _0x31b23f,IUniverInstanceService as _0x8b5ace,Inject as _0x55f876,Injector as _0x547b89,IConfigService as _0x2cf2e7,UniverInstanceType as _0x50a9bd,CommandType as _0x17e132,ICommandService as _0x189682,DocumentFlavor as _0x222610,DependentOn as _0x56042e,Plugin as _0x573bf7,merge as _0x1bd0fc,registerDependencies as _0x1323db}from'@univerjs/core';import{UniverNetworkPlugin as _0x406e69}from'@univerjs/network';import{IGlobalZoneService as _0x2c0b90,getMenuHiddenObservable as _0x3fe0c5,MenuItemType as _0x45e29d,RibbonStartGroup as _0x4dc33b,IMenuManagerService as _0x2b34a4,ComponentManager as _0x1f9ecc}from'@univerjs/ui';import{DocPrintInterceptorService as _0xc8b5ee,VIEWPORT_KEY as _0x1211aa,SwitchDocModeCommand as _0x4b6def}from'@univerjs/docs-ui';import{IRenderManagerService as _0x237c33,Engine as _0x448a0e,CanvasRenderMode as _0x5e6e7c,Scene as _0x21c111,Documents as _0x3c2070,Viewport as _0x4513c1}from'@univerjs/engine-render';import{PRINT_CONTAINER_CLASS as _0x3cec7e,PRINT_CANVAS_CLASS as _0x49a1e9,createPrintStyle as _0x4b1b7e,PrintDirection as _0x4b3eee}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x12399f}from'@univerjs/docs';import{forwardRef as _0x3c311d,useRef as _0x317491,createElement as _0x134ae5}from'react';const ye=_0x224520(0x1c6),b={},Te=_0x224520(0x1c6);var l=function(){const _0x531c6a=_0x224520;return l=Object['assign']||function(_0x2e44b6){const _0x3154da=_0x253c;for(var _0x2757d1,_0x185a5b=0x1,_0x458187=arguments[_0x3154da(0x1df)];_0x185a5b<_0x458187;_0x185a5b++){_0x2757d1=arguments[_0x185a5b];for(var _0x481305 in _0x2757d1)Object['prototype'][_0x3154da(0x1e0)][_0x3154da(0x213)](_0x2757d1,_0x481305)&&(_0x2e44b6[_0x481305]=_0x2757d1[_0x481305]);}return _0x2e44b6;},l[_0x531c6a(0x1ff)](this,arguments);},Pe=function(_0x1b7478,_0x5134dc){const _0x58b68c=_0x224520;var _0x11a1d3={};for(var _0x5aadfb in _0x1b7478)Object['prototype'][_0x58b68c(0x1e0)]['call'](_0x1b7478,_0x5aadfb)&&_0x5134dc[_0x58b68c(0x207)](_0x5aadfb)<0x0&&(_0x11a1d3[_0x5aadfb]=_0x1b7478[_0x5aadfb]);if(_0x1b7478!=null&&typeof Object[_0x58b68c(0x1cd)]==_0x58b68c(0x21b)){for(var _0x58dab8=0x0,_0x5aadfb=Object['getOwnPropertySymbols'](_0x1b7478);_0x58dab8<_0x5aadfb[_0x58b68c(0x1df)];_0x58dab8++)_0x5134dc[_0x58b68c(0x207)](_0x5aadfb[_0x58dab8])<0x0&&Object[_0x58b68c(0x220)][_0x58b68c(0x1e2)][_0x58b68c(0x213)](_0x1b7478,_0x5aadfb[_0x58dab8])&&(_0x11a1d3[_0x5aadfb[_0x58dab8]]=_0x1b7478[_0x5aadfb[_0x58dab8]]);}return _0x11a1d3;},F=_0x3c311d(function(_0x296b1a,_0x5f0799){const _0x5a7a0c=_0x224520;var _0x34e86e=_0x296b1a[_0x5a7a0c(0x273)],_0x21b8f3=_0x296b1a['id'],_0x4e1c1a=_0x296b1a[_0x5a7a0c(0x24a)],_0x544343=_0x296b1a['extend'],_0x8e4cbe=Pe(_0x296b1a,[_0x5a7a0c(0x273),'id','className',_0x5a7a0c(0x1e9)]),_0x48e3cf=_0x5a7a0c(0x20d)[_0x5a7a0c(0x221)](_0x21b8f3,'\x20')[_0x5a7a0c(0x221)](_0x4e1c1a||'')[_0x5a7a0c(0x1c5)](),_0x285c27=_0x317491('_'[_0x5a7a0c(0x221)](Ne()));return K(_0x34e86e,''[_0x5a7a0c(0x221)](_0x21b8f3),{'defIds':_0x34e86e[_0x5a7a0c(0x1cf)],'idSuffix':_0x285c27[_0x5a7a0c(0x1c1)]},l({'ref':_0x5f0799,'className':_0x48e3cf},_0x8e4cbe),_0x544343);});function K(_0xc1c972,_0x37f4c0,_0x492180,_0x2cc27a,_0x1ca9c3){const _0x56472c=_0x224520;return _0x134ae5(_0xc1c972[_0x56472c(0x215)],l(l({'key':_0x37f4c0},ke(_0xc1c972,_0x492180,_0x1ca9c3)),_0x2cc27a),(Re(_0xc1c972,_0x492180)[_0x56472c(0x210)]||[])[_0x56472c(0x25e)](function(_0x3d471b,_0x46d6b8){const _0x17190b=_0x56472c;return K(_0x3d471b,''[_0x17190b(0x221)](_0x37f4c0,'-')[_0x17190b(0x221)](_0xc1c972[_0x17190b(0x215)],'-')[_0x17190b(0x221)](_0x46d6b8),_0x492180,void 0x0,_0x1ca9c3);}));}function ke(_0x1de6a2,_0x28db0e,_0x521cd2){const _0x2806af=_0x224520;var _0x57862b=l({},_0x1de6a2[_0x2806af(0x268)]);_0x521cd2!=null&&_0x521cd2[_0x2806af(0x1f3)]&&_0x57862b[_0x2806af(0x25f)]==='colorChannel1'&&(_0x57862b[_0x2806af(0x25f)]=_0x521cd2['colorChannel1']),_0x1de6a2[_0x2806af(0x215)]===_0x2806af(0x241)&&_0x57862b['id']&&(_0x57862b['id']=_0x57862b['id']+_0x28db0e['idSuffix']),Object[_0x2806af(0x24c)](_0x57862b)['forEach'](function(_0x854fb5){const _0x76468b=_0x2806af;var _0x3bae10=_0x854fb5[0x0],_0x13fba7=_0x854fb5[0x1];_0x3bae10===_0x76468b(0x241)&&typeof _0x13fba7==_0x76468b(0x21a)&&(_0x57862b[_0x3bae10]=_0x13fba7[_0x76468b(0x25b)](/url\(#(.*)\)/,'url(#$1'[_0x76468b(0x221)](_0x28db0e['idSuffix'],')')));});var _0x369ccd=_0x28db0e[_0x2806af(0x1cf)];return!_0x369ccd||_0x369ccd[_0x2806af(0x1df)]===0x0||(_0x1de6a2[_0x2806af(0x215)]===_0x2806af(0x263)&&_0x57862b[_0x2806af(0x202)]&&(_0x57862b[_0x2806af(0x202)]=_0x57862b[_0x2806af(0x202)]+_0x28db0e[_0x2806af(0x205)]),Object[_0x2806af(0x24c)](_0x57862b)[_0x2806af(0x1e4)](function(_0x1d0a4c){const _0x13767b=_0x2806af;var _0x3814f1=_0x1d0a4c[0x0],_0x9d674c=_0x1d0a4c[0x1];typeof _0x9d674c==_0x13767b(0x21a)&&(_0x57862b[_0x3814f1]=_0x9d674c['replace'](/url\(#(.*)\)/,_0x13767b(0x20f)[_0x13767b(0x221)](_0x28db0e['idSuffix'],')')));})),_0x57862b;}function Re(_0x26a0b3,_0x2f66c6){const _0x220ab4=_0x224520;var _0x550523,_0x257690=_0x2f66c6[_0x220ab4(0x1cf)];return!_0x257690||_0x257690[_0x220ab4(0x1df)]===0x0?_0x26a0b3:_0x26a0b3['tag']===_0x220ab4(0x1c3)&&(!((_0x550523=_0x26a0b3[_0x220ab4(0x210)])===null||_0x550523===void 0x0)&&_0x550523[_0x220ab4(0x1df)])?l(l({},_0x26a0b3),{'children':_0x26a0b3[_0x220ab4(0x210)][_0x220ab4(0x25e)](function(_0x329388){const _0xbd6078=_0x220ab4;return typeof _0x329388[_0xbd6078(0x268)]['id']=='string'&&_0x257690&&_0x257690[_0xbd6078(0x209)](_0x329388['attrs']['id'])?l(l({},_0x329388),{'attrs':l(l({},_0x329388[_0xbd6078(0x268)]),{'id':_0x329388['attrs']['id']+_0x2f66c6['idSuffix']})}):_0x329388;})}):_0x26a0b3;}function Ne(){const _0x47b4c0=_0x224520;return Math[_0x47b4c0(0x256)]()[_0x47b4c0(0x1ec)](0x24)[_0x47b4c0(0x236)](0x2,0x8);}F[_0x224520(0x247)]=_0x224520(0x1f7);var Me={'tag':_0x224520(0x261),'attrs':{'xmlns':_0x224520(0x217),'fill':'none','viewBox':_0x224520(0x250),'width':_0x224520(0x259),'height':'1em'},'children':[{'tag':_0x224520(0x255),'attrs':{'fill':_0x224520(0x211),'d':_0x224520(0x265)}},{'tag':_0x224520(0x255),'attrs':{'fill':_0x224520(0x211),'d':_0x224520(0x25c),'fillRule':'evenodd','clipRule':_0x224520(0x23e)}}]},H=_0x3c311d(function(_0x5331da,_0x4819ea){const _0xa4dfe7=_0x224520;return _0x134ae5(F,Object[_0xa4dfe7(0x26c)]({},_0x5331da,{'id':_0xa4dfe7(0x24b),'ref':_0x4819ea,'icon':Me}));});H[_0x224520(0x247)]=_0x224520(0x1ca);const be={0x0:'y',0x1:'L',0x2:'8',0x3:'D',0x4:'H',0x5:'T',0x6:'V',0x7:'E',0x8:'2',0x9:'o','B':'0','L':'1','m':'3','y':'4','M':'5','J':'6','F':'7','Z':'9','f':'a','x':'b','w':'c','d':'d','l':'e','S':'f','k':'g','C':'h','E':'i','R':'j','H':'k','s':'l','Y':'m','O':'n','D':'p','U':'q','G':'r','p':'s','q':'t','T':'u','t':'v','c':'w','z':'x','g':'z','i':'A','A':'B','Q':'C','o':'F','b':'G','V':'I','n':'J','X':'K','u':'M','j':'N','P':'O','K':'P','N':'Q','a':'R','v':'S','r':'U','I':'W','h':'X','e':'Y','W':'Z'},Le=_0x224520(0x251);class Ve extends _0x3363ee{constructor(_0x28ffa8,_0x11c2c5,_0x4014d5,_0x5b4372){const _0x2d3754=_0x224520;super(),f(this,_0x2d3754(0x1e3),document['createElement'](_0x2d3754(0x226))),f(this,_0x2d3754(0x216),document[_0x2d3754(0x26a)](_0x2d3754(0x226))),f(this,_0x2d3754(0x1c0)),f(this,_0x2d3754(0x229)),f(this,_0x2d3754(0x1d1)),f(this,'_documents'),f(this,_0x2d3754(0x1d4)),f(this,'_effects',new _0x31b23f()),(this[_0x2d3754(0x23b)]=_0x28ffa8,this['_page']=_0x11c2c5,this[_0x2d3754(0x1fa)]=_0x4014d5,this['_offsetConfig']=_0x5b4372,this['_key']=_0x2dcb2c(0x4),this[_0x2d3754(0x1e6)](),this[_0x2d3754(0x212)]({'dispose':()=>{const _0x3be146=_0x2d3754;this[_0x3be146(0x1c0)]['dispose'](),this[_0x3be146(0x229)][_0x3be146(0x1be)](),this[_0x3be146(0x270)][_0x3be146(0x1be)]();}}));}get[_0x224520(0x244)](){const _0x391977=_0x224520;return this[_0x391977(0x1e3)];}get[_0x224520(0x26e)](){const _0xfbc582=_0x224520;return this[_0xfbc582(0x216)];}get[_0x224520(0x1f4)](){const _0xe98406=_0x224520,_0x1b28f6=this[_0xe98406(0x23b)][_0xe98406(0x1fe)](_0x237c33)[_0xe98406(0x1dd)](this[_0xe98406(0x1fa)]);if(!_0x1b28f6)throw new Error(_0xe98406(0x22f));return _0x1b28f6;}get[_0x224520(0x1e5)](){const _0x35608e=_0x224520;return this[_0x35608e(0x1f4)][_0x35608e(0x21c)](_0x12399f)[_0x35608e(0x25a)]();}get[_0x224520(0x25d)](){const _0x360d87=_0x224520,_0xcb667d=this['_skeleton'][_0x360d87(0x1fb)]();if(!_0xcb667d)throw new Error(_0x360d87(0x1c9));return _0xcb667d;}get[_0x224520(0x1d7)](){const _0xfbebda=_0x224520,_0x1ce471=this['_skeletonData'][_0xfbebda(0x230)][0x0];return{'width':_0x1ce471[_0xfbebda(0x1c2)],'height':_0x1ce471['pageHeight']};}['_calculateLayout'](){const _0x74cff1=_0x224520,{docsTop:_0x32d111,docsLeft:_0x224300}=this[_0x74cff1(0x262)][_0x74cff1(0x24f)](),_0x59ace8=this['_paperSize'][_0x74cff1(0x227)],_0x336271=this[_0x74cff1(0x1d7)][_0x74cff1(0x1f2)];return{'top':_0x32d111+(_0x32d111+_0x59ace8)*this[_0x74cff1(0x1ef)],'bottom':_0x32d111+(_0x32d111+_0x59ace8)*(this[_0x74cff1(0x1ef)]+0x1),'left':_0x224300,'right':_0x224300+_0x336271};}[_0x224520(0x1e6)](){const _0x52d451=_0x224520;this['_engine']=new _0x448a0e('',{'elementWidth':this[_0x52d451(0x1d7)][_0x52d451(0x1f2)],'elementHeight':this['_paperSize'][_0x52d451(0x227)],'dpr':0x1,'renderMode':_0x5e6e7c['Printing']}),this[_0x52d451(0x229)]=new _0x21c111(this[_0x52d451(0x1d1)],this[_0x52d451(0x1c0)]),this[_0x52d451(0x229)][_0x52d451(0x1fd)](0x1,0x1),this[_0x52d451(0x1c0)][_0x52d451(0x1d2)](this['_container'],!0x1),this[_0x52d451(0x1c0)][_0x52d451(0x234)]()[_0x52d451(0x24d)]()[_0x52d451(0x20a)](this[_0x52d451(0x1d1)]+'_'+_0x2dcb2c(0x4)),this[_0x52d451(0x242)](),this['_addViewport']();}[_0x224520(0x242)](){const _0x2ad246=_0x224520,{pageMarginLeft:_0x2e9b72,pageMarginTop:_0x216ada,docsLeft:_0x1856c9,docsTop:_0x518588}=this['_offsetConfig'],_0x2e4a28={'pageMarginLeft':_0x2e9b72,'pageMarginTop':_0x216ada},_0x461520=new _0x3c2070(_0x2ad246(0x257),this['_skeleton'],_0x2e4a28);_0x461520[_0x2ad246(0x267)](_0x1856c9,_0x518588),this['_scene']['addObject'](_0x461520),this[_0x2ad246(0x262)]=_0x461520;const _0x563e6f=this[_0x2ad246(0x23b)][_0x2ad246(0x1fe)](_0xc8b5ee);_0x563e6f[_0x2ad246(0x204)][_0x2ad246(0x269)](_0x563e6f[_0x2ad246(0x204)][_0x2ad246(0x1cc)]()[_0x2ad246(0x1bf)])(void 0x0,{'unitId':this[_0x2ad246(0x1fa)],'scene':this[_0x2ad246(0x229)],'engine':this[_0x2ad246(0x1c0)],'root':this[_0x2ad246(0x216)],'documents':this[_0x2ad246(0x262)],'skeleton':this[_0x2ad246(0x1e5)]});}[_0x224520(0x20e)](){const _0x2ace59=_0x224520;this[_0x2ace59(0x1d4)]=new _0x4513c1(_0x1211aa[_0x2ace59(0x22a)],this[_0x2ace59(0x229)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}['prepare'](){const _0x25e9c6=_0x224520,_0x11ce59=this[_0x25e9c6(0x237)]();this[_0x25e9c6(0x1d4)][_0x25e9c6(0x1f9)]({'viewportScrollX':_0x11ce59['left'],'viewportScrollY':_0x11ce59[_0x25e9c6(0x22e)]}),this['_root']['style'][_0x25e9c6(0x23d)]=_0x25e9c6(0x201),this[_0x25e9c6(0x216)][_0x25e9c6(0x1d8)]['top']=_0x25e9c6(0x239),this['_root']['style']['left']=_0x25e9c6(0x239),this[_0x25e9c6(0x216)][_0x25e9c6(0x1d8)][_0x25e9c6(0x1f2)]=_0x25e9c6(0x1e8),this[_0x25e9c6(0x216)][_0x25e9c6(0x1d8)][_0x25e9c6(0x227)]=_0x25e9c6(0x1e8),this['_effects']=new _0x31b23f();const _0x1b9547=this[_0x25e9c6(0x23b)]['get'](_0xc8b5ee);_0x1b9547['interceptor']['fetchThroughInterceptors'](_0x1b9547['interceptor'][_0x25e9c6(0x1cc)]()[_0x25e9c6(0x203)])(this[_0x25e9c6(0x270)],{'unitId':this['_unitId'],'scene':this['_scene'],'engine':this[_0x25e9c6(0x1c0)],'root':this[_0x25e9c6(0x216)],'skeleton':this[_0x25e9c6(0x1e5)],'offset':{'x':_0x11ce59[_0x25e9c6(0x23c)],'y':_0x11ce59[_0x25e9c6(0x22e)]},'bound':{'top':_0x11ce59[_0x25e9c6(0x22e)],'left':_0x11ce59['left'],'right':_0x11ce59[_0x25e9c6(0x1ee)],'bottom':_0x11ce59[_0x25e9c6(0x254)]}});}[_0x224520(0x206)](){const _0x48f1da=_0x224520,_0x53ba6f=this[_0x48f1da(0x1c0)][_0x48f1da(0x234)]()[_0x48f1da(0x24d)]();this[_0x48f1da(0x262)][_0x48f1da(0x233)](),this[_0x48f1da(0x229)][_0x48f1da(0x252)](),_0x53ba6f[_0x48f1da(0x222)](),this['_scene'][_0x48f1da(0x206)](),_0x53ba6f[_0x48f1da(0x21d)]();}}var xe=Object[_0x224520(0x1cb)],Ye=(_0x1a7a53,_0x2ee197,_0x53365c,_0x2635c1)=>{const _0x57659a=_0x224520;for(var _0x5b0e60=_0x2635c1>0x1?void 0x0:_0x2635c1?xe(_0x2ee197,_0x53365c):_0x2ee197,_0x3f6de2=_0x1a7a53[_0x57659a(0x1df)]-0x1,_0x2f5ddf;_0x3f6de2>=0x0;_0x3f6de2--)(_0x2f5ddf=_0x1a7a53[_0x3f6de2])&&(_0x5b0e60=_0x2f5ddf(_0x5b0e60)||_0x5b0e60);return _0x5b0e60;},u=(_0x1be9ad,_0x310359)=>(_0x2c62c8,_0x401a65)=>_0x310359(_0x2c62c8,_0x401a65,_0x1be9ad);const je=Number[_0x224520(0x1ce)](0x685435e9),Ue=0x1,Ae=(_0xe26b5c,_0x561520,_0x37baf3)=>{const _0x1a8571=_0x224520,_0x50b83d={'page':_0xe26b5c,'isPro':!0x1,'timeValid':!0x1};if(!_0x561520||!_0x37baf3)return _0x50b83d;const _0x5c0010=_0x32dd2f(Le,be),_0x2ebdc5=new Function(_0x1a8571(0x272)+_0x5c0010)()(_0x561520,_0x37baf3);if(_0x2ebdc5[_0x1a8571(0x1ea)]){const _0x3b631f=_0x2ebdc5[_0x1a8571(0x1f5)],_0x28d7e5=_0x160d24(_0x3b631f,'df',je);_0x50b83d[_0x1a8571(0x1d0)]=_0x28d7e5,_0x50b83d[_0x1a8571(0x1f8)]=_0x28d7e5;const _0xa82e25=0x0;_0x50b83d['page']=_0x46681b(_0x3b631f,_0x28d7e5,_0x1a8571(0x275),_0xe26b5c,_0xe26b5c,_0xa82e25);}return _0x50b83d;};let g=class extends _0x3363ee{constructor(_0xcebc43,_0x78180c,_0x148839,_0x2266d4,_0x18d23d){const _0x125c6c=_0x224520;super(),this['_univerInstanceService']=_0xcebc43,this[_0x125c6c(0x253)]=_0x78180c,this['_injector']=_0x148839,this[_0x125c6c(0x21f)]=_0x2266d4,this[_0x125c6c(0x1e1)]=_0x18d23d;}[_0x224520(0x22d)](_0x3afb2b){const _0xe68121=_0x224520;var _0x9c5627,_0x84ef29;const _0x226841=(_0x9c5627=this[_0xe68121(0x21f)][_0xe68121(0x23f)](_0x378026))!=null?_0x9c5627:{},{ls:_0x4148c6,pbk:_0x17edfc}=_0x226841,_0x3ee66f=_0x59ad72()?Number[_0xe68121(0x23a)]:Ae(Ue,_0x4148c6,_0x17edfc)[_0xe68121(0x238)];if(!this[_0xe68121(0x1f0)][_0xe68121(0x243)](_0x3afb2b,_0x50a9bd['UNIVER_DOC']))throw new Error(_0xe68121(0x225));const _0x278918=this['_renderManagerService'][_0xe68121(0x1dd)](_0x3afb2b);if(!_0x278918)throw new Error('Render\x20is\x20not\x20found');const _0x50fa91=(_0x84ef29=_0x278918[_0xe68121(0x21c)](_0x12399f)[_0xe68121(0x25a)]()['getSkeletonData']())==null?void 0x0:_0x84ef29[_0xe68121(0x230)];if(!_0x50fa91)throw new Error(_0xe68121(0x22c));const _0x352a42={'width':_0x50fa91[0x0][_0xe68121(0x1c2)],'height':_0x50fa91[0x0]['pageHeight']},_0x3fc202=_0x50fa91[_0xe68121(0x1df)],_0x236db9=Math['min'](_0x3ee66f,_0x3fc202),_0x7282d3=_0x278918[_0xe68121(0x274)][_0xe68121(0x24f)](),_0x5966a8=document[_0xe68121(0x26a)]('div');_0x5966a8['className']=_0x3cec7e;const _0x32d727=new Array(_0x236db9)['fill'](null)[_0xe68121(0x25e)]((_0x4d41a9,_0x2e2d92)=>{const _0x51e246=_0xe68121,_0x55e973=new Ve(this[_0x51e246(0x23b)],_0x2e2d92,_0x3afb2b,_0x7282d3);return _0x55e973[_0x51e246(0x244)][_0x51e246(0x24a)]=_0x49a1e9,_0x55e973;});_0x32d727[_0xe68121(0x1e4)](_0x3e3f38=>{const _0x3a16b9=_0xe68121;_0x5966a8[_0x3a16b9(0x1ed)](_0x3e3f38[_0x3a16b9(0x244)]),_0x3e3f38[_0x3a16b9(0x244)][_0x3a16b9(0x1ed)](_0x3e3f38[_0x3a16b9(0x26e)]),_0x3e3f38[_0x3a16b9(0x235)]();});const _0xf387b1=_0x4b1b7e(_0x352a42[_0xe68121(0x1f2)],_0x352a42[_0xe68121(0x227)],_0x4b3eee[_0xe68121(0x20b)]);return document[_0xe68121(0x218)][_0xe68121(0x1ed)](_0xf387b1),document[_0xe68121(0x218)][_0xe68121(0x1ed)](_0x5966a8),new Promise(_0x4d9d47=>{setTimeout(()=>{const _0x31daf8=_0x253c;window[_0x31daf8(0x20c)]=()=>{const _0xbf1555=_0x31daf8;_0x32d727[_0xbf1555(0x1e4)](_0x294a7d=>{const _0x3a8501=_0xbf1555;_0x294a7d[_0x3a8501(0x206)]();});},window[_0x31daf8(0x1eb)]=()=>{const _0x591b32=_0x31daf8;_0x32d727[_0x591b32(0x1e4)](_0x41a211=>{const _0x9df9b8=_0x591b32;_0x41a211[_0x9df9b8(0x1be)]();}),document['body'][_0x591b32(0x264)](_0x5966a8),document[_0x591b32(0x218)]['removeChild'](_0xf387b1),this[_0x591b32(0x1e1)][_0x591b32(0x219)](),_0x4d9d47(!0x0);},window[_0x31daf8(0x22d)]();},0x64);});}};g=Ye([u(0x0,_0x8b5ace),u(0x1,_0x237c33),u(0x2,_0x55f876(_0x547b89)),u(0x3,_0x2cf2e7),u(0x4,_0x2c0b90)],g);const I={'id':_0x224520(0x1e7),'type':_0x17e132[_0x224520(0x260)],'handler':async _0x4bcb59=>{const _0x7d9a8d=_0x224520,_0x1a0235=_0x4bcb59[_0x7d9a8d(0x1fe)](_0x8b5ace),_0x1a3b83=_0x4bcb59[_0x7d9a8d(0x1fe)](g),_0x1d3d5a=_0x4bcb59[_0x7d9a8d(0x1fe)](_0x237c33),_0x40c277=_0x4bcb59['get'](_0x189682),_0x30bf40=_0x1a0235[_0x7d9a8d(0x258)](_0x50a9bd[_0x7d9a8d(0x266)]);if(!_0x30bf40)return!0x1;if(!_0x1d3d5a[_0x7d9a8d(0x1dd)](_0x30bf40[_0x7d9a8d(0x1c8)]()))throw new Error('Render\x20is\x20not\x20found');const _0x594c84=_0x30bf40[_0x7d9a8d(0x1d3)]()[_0x7d9a8d(0x1f6)];return _0x594c84!==_0x222610[_0x7d9a8d(0x1d6)]&&_0x40c277[_0x7d9a8d(0x271)](_0x4b6def['id']),await _0x1a3b83[_0x7d9a8d(0x22d)](_0x30bf40[_0x7d9a8d(0x1c8)]()),_0x594c84!==_0x222610[_0x7d9a8d(0x1d6)]&&_0x40c277[_0x7d9a8d(0x271)](_0x4b6def['id']),!0x0;}};function ze(_0x4b3fa8){const _0x20bcee=_0x224520;return{'id':I['id'],'type':_0x45e29d[_0x20bcee(0x1d5)],'title':_0x20bcee(0x1f1),'icon':_0x20bcee(0x1ca),'tooltip':'print.menu','hidden$':_0x3fe0c5(_0x4b3fa8,_0x50a9bd[_0x20bcee(0x266)])};}const Fe={[_0x4dc33b[_0x224520(0x214)]]:{[I['id']]:{'order':0.1,'menuItemFactory':ze}}};var Ke=Object['getOwnPropertyDescriptor'],He=(_0x388bb1,_0x137fa8,_0x4044fb,_0x2e4697)=>{const _0x275c25=_0x224520;for(var _0x701158=_0x2e4697>0x1?void 0x0:_0x2e4697?Ke(_0x137fa8,_0x4044fb):_0x137fa8,_0x347cce=_0x388bb1[_0x275c25(0x1df)]-0x1,_0xd50591;_0x347cce>=0x0;_0x347cce--)(_0xd50591=_0x388bb1[_0x347cce])&&(_0x701158=_0xd50591(_0x701158)||_0x701158);return _0x701158;},w=(_0xa3fca7,_0x342f74)=>(_0x105d63,_0xc180f3)=>_0x342f74(_0x105d63,_0xc180f3,_0xa3fca7);let O=class extends _0x3363ee{constructor(_0x5ded33,_0x14d0d2,_0x331d9b){const _0x57da1b=_0x224520;super(),this['_commandService']=_0x5ded33,this['_menuManagerService']=_0x14d0d2,this[_0x57da1b(0x200)]=_0x331d9b,this[_0x57da1b(0x228)](),this[_0x57da1b(0x1dc)](),this[_0x57da1b(0x1c4)]();}[_0x224520(0x228)](){const _0x1bef1f=_0x224520;this[_0x1bef1f(0x21e)]['mergeMenu'](Fe);}[_0x224520(0x1dc)](){const _0x37747e=_0x224520;this[_0x37747e(0x212)](this['_commandService'][_0x37747e(0x26d)](I));}[_0x224520(0x1c4)](){const _0xe5c50d=_0x224520;[[_0xe5c50d(0x1ca),H]][_0xe5c50d(0x1e4)](([_0x483d06,_0x201129])=>{const _0x1284e7=_0xe5c50d;this[_0x1284e7(0x200)][_0x1284e7(0x245)](_0x483d06,_0x201129);});}};O=He([w(0x0,_0x189682),w(0x1,_0x2b34a4),w(0x2,_0x55f876(_0x1f9ecc))],O);var We=Object[_0x224520(0x26b)],$e=Object[_0x224520(0x1cb)],Be=(_0x1e097f,_0x10018b,_0x8c3ed0)=>_0x10018b in _0x1e097f?We(_0x1e097f,_0x10018b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8c3ed0}):_0x1e097f[_0x10018b]=_0x8c3ed0,Ze=(_0x2b1667,_0x52d414,_0x4e9648,_0x955fdb)=>{const _0x59bc7e=_0x224520;for(var _0x4f435f=_0x955fdb>0x1?void 0x0:_0x955fdb?$e(_0x52d414,_0x4e9648):_0x52d414,_0x1ff557=_0x2b1667[_0x59bc7e(0x1df)]-0x1,_0x118ea2;_0x1ff557>=0x0;_0x1ff557--)(_0x118ea2=_0x2b1667[_0x1ff557])&&(_0x4f435f=_0x118ea2(_0x4f435f)||_0x4f435f);return _0x4f435f;},L=(_0x254b3c,_0x2d958f)=>(_0x35ac2b,_0x1d87bd)=>_0x2d958f(_0x35ac2b,_0x1d87bd,_0x254b3c),W=(_0x126bad,_0x126299,_0x3bbbf4)=>Be(_0x126bad,typeof _0x126299!='symbol'?_0x126299+'':_0x126299,_0x3bbbf4);let m=class extends _0x573bf7{constructor(_0x330139=b,_0x3d6e06,_0x36dcf2){const _0x1e016e=_0x224520;super(),this[_0x1e016e(0x246)]=_0x330139,this[_0x1e016e(0x23b)]=_0x3d6e06,this['_configService']=_0x36dcf2;const {menu:_0x320a15,..._0x47c075}=_0x1bd0fc({},b,this['_config']);_0x320a15&&this[_0x1e016e(0x21f)][_0x1e016e(0x240)](_0x1e016e(0x22b),_0x320a15,{'merge':!0x0}),this[_0x1e016e(0x21f)][_0x1e016e(0x240)](ye,_0x47c075);}[_0x224520(0x24e)](){const _0x47dca2=_0x224520;_0x1323db(this[_0x47dca2(0x23b)],[[g],[O]]);}[_0x224520(0x1c7)](){const _0x1c90d1=_0x224520;this[_0x1c90d1(0x23b)][_0x1c90d1(0x1fe)](O);}};W(m,_0x224520(0x248),Te),W(m,_0x224520(0x1db),_0x50a9bd[_0x224520(0x266)]),m=Ze([_0x56042e(_0x406e69,_0x12c031),L(0x1,_0x55f876(_0x547b89)),L(0x2,_0x2cf2e7)],m);export{ye as DOCS_PRINT_PLUGIN_CONFIG_KEY,I as DocPrintOperation,m as UniverDocsPrintPlugin,b as defaultPluginConfig};
|
|
1
|
+
const _0x4d0bec=_0x3ec8;function _0x588f(){const _0x52cea1=['PRINTING_DOM_COLLECT','_injector','_viewMain','render','_menuManagerService','container','3219192wTVptN','_scene','colorChannel1','syncExecuteCommand','removeChild','symbol','_offsetConfig','indexOf','left','min','_addComponent','trim','get','getOwnPropertySymbols','getSkeletonData','_univerInstanceService','substring','register','__DocPrintRender__','687253rsKCRz','pageHeight','UniverIcon','getOwnPropertyDescriptor','univerjs-icon\x20univerjs-icon-','print-icon','use','propertyIsEnumerable','icon','318582fAjVgZ','2840088vcRKIT','1582440VRXcSN','_skeletonData','onbeforeprint','interceptor','_root','type','_initRenderer','_unitId','random','543135wDLWzt','F8AYQOkA\x20MqYGJhQOkA(aOYqATq,\x20h8PaOYnqJ)\x20{\x20\x20\x20\x20QGJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20aOYqATqsAFkipGQNGGpJ\x20=\x20aOYqATq.ThaOQ(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20kGOfOAHqTTpfq\x20=\x20cB5S.hpGTq(pQkP(aOYqATqsAFkipGQNGGpJ[u]));\x20\x20\x20\x20\x20\x20\x20\x20OF\x20(!kGOfOAHqTTpfq.8M)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20kGOfOAHqTTpfq.8M\x20=\x20S8lPqG(aOYqATqsAFkipGQNGGpJ[3]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20OTxkG1qG\x20=\x20QJhqkF\x20xkG1qGXakPpaBYkhq\x20!==\x20\x278AMqFOAqM\x27\x20&&\x20TqaF\x20OATQpAYqkF\x20xkG1qGXakPpaBYkhq;\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20YkAQqbQ\x20=\x20OTxkG1qG\x20?\x20TqaF\x20:\x207OAMk7;\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20lqTTpfqxkGM\x20=\x20YkAQqbQ.__zpTqW3__.hpGTq(aOYqATqsAFkipGQNGGpJ[u]);\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20lqTTpfq\x20=\x20YkAQqbQ.__Eqb__.TQGOAfOFJ(lqTTpfqxkGM);\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20TOfApQ8GqxkGM\x20=\x20YkAQqbQ.__zpTqW3__.hpGTq(aOYqATqsAFkipGQNGGpJ[C]);\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20TOfApQ8Gq\x20=\x20YkAQqbQ.__Eqb__.TQGOAfOFJ(TOfApQ8GqxkGM);\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20TOfA4paOM\x20=\x20YkAQqbQ.__wqGOFJ__(TOfApQ8Gq,\x20lqTTpfq,\x20h8PaOYnqJ);\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20MklpOA\x20=\x20kGOfOAHqTTpfq.Ml;\x20\x20\x20\x20\x20\x20\x20\x20F8AYQOkA\x20OTVklpOAHpQY2OAf(kipQQqGA,\x20kEkTQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20hpQQqGA\x20=\x20kipQQqGA.GqhapYq(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x202kTQ\x20=\x20kEkTQ.GqhapYq(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20hpQQqGAipGQT\x20=\x20hpQQqGA.ThaOQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x202kTQipGQT\x20=\x202kTQ.ThaOQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OF\x20(!hpQQqGA.OAYa8MqT(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GqQ8GA\x20hpQQqGA\x20===\x202kTQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OF\x20(hpQQqGAipGQT.aqAfQ2\x20<\x20u\x20||\x20hpQQqGAipGQT[e]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GqQ8GA\x20FpaTq;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20hpQQqGAB8FFOb\x20=\x20hpQQqGAipGQT.TaOYq(L).rkOA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x202kTQB8FFOb\x20=\x202kTQipGQT.TaOYq(-hpQQqGAipGQT.aqAfQ2\x20+\x20L).rkOA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GqQ8GA\x20hpQQqGAB8FFOb\x20===\x202kTQB8FFOb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aqQ\x20MklpOA4paOM\x20=\x20(MklpOA\x20&&\x20MklpOA.aqAfQ2)\x20?\x20MklpOA.Tklq((MlsQql)\x20=>\x20OTVklpOAHpQY2OAf(MlsQql,\x20akYpQOkA.2kTQAplq))\x20:\x20QG8q;\x20\x20\x20\x20\x20\x20\x20\x20OF\x20(akYpQOkA.2kTQAplq\x20===\x20\x27akYpa2kTQ\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MklpOA4paOM\x20=\x20QG8q;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YkATQ\x20wpaOM\x20=\x20TOfA4paOM\x20&&\x20MklpOA4paOM;\x20\x20\x20\x20\x20\x20\x20\x20GqQ8GA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wpaOM,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lqTTpfq:\x20kGOfOAHqTTpfq,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20YpQY2\x20(qGGkG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20GqQ8GA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wpaOM:\x20FpaTq,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lqTTpfq:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','close','_skeleton','top','div','extend','style','entries','defineProperty','pageWidth','string','parseInt','prepare','setContainer','getUnitId','1em','BUTTON','mainComponent','translate','isPro','onReady','_globalZoneService','concat','_componentManager','_engine','apply','body','_container','onStarting','getRenderById','menu','className','prototype','tag','6BdWhEp','createElement','call','restore','with','fetchThroughInterceptors','current','_config','OTHERS','print.menu','forEach','evenodd','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','_calculateLayout','registerCommand','_addViewport','hasOwnProperty','print','height','_configService','page','appendChild','position','POSITIVE_INFINITY','map','onafterprint','url(#$1','getOffsetConfig','0px','_currentRender','children','dispose','http://www.w3.org/2000/svg','defIds','pages','_paperSize','_initComponents','none','Printing','defs','Render\x20is\x20not\x20found','mask','setId','_initMenus','getConfig','_key','addObject','_documents','_effects','UNIVER_DOCS_PRINT','getInterceptPoints','xlink:href','attrs','return\x20','svg','TRADITIONAL','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','getContext','100%','setConfig','pluginName','displayName','includes','assign','fill','_page','Portrait','UNIVER_DOC','width','currentColor','getSkeleton','makeForceDirty','3747552ESPnfz','PrintIcon','getCanvas','valid','updateScrollVal','_renderManagerService','length','_initCommands','idSuffix','toString','path','OPERATION','replace','disposeWithMe'];_0x588f=function(){return _0x52cea1;};return _0x588f();}(function(_0x15fa97,_0x14f642){const _0x3e4ede=_0x3ec8,_0x83e13a=_0x15fa97();while(!![]){try{const _0x574d7a=-parseInt(_0x3e4ede(0x207))/0x1+-parseInt(_0x3e4ede(0x235))/0x2*(-parseInt(_0x3e4ede(0x212))/0x3)+parseInt(_0x3e4ede(0x1eb))/0x4+-parseInt(_0x3e4ede(0x209))/0x5+-parseInt(_0x3e4ede(0x1d7))/0x6+parseInt(_0x3e4ede(0x1fe))/0x7+parseInt(_0x3e4ede(0x208))/0x8;if(_0x574d7a===_0x14f642)break;else _0x83e13a['push'](_0x83e13a['shift']());}catch(_0x1f9fd8){_0x83e13a['push'](_0x83e13a['shift']());}}}(_0x588f,0x84315));var Z=Object[_0x4d0bec(0x21b)],K=(_0x551565,_0x2229f5,_0x2494b9)=>_0x2229f5 in _0x551565?Z(_0x551565,_0x2229f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2494b9}):_0x551565[_0x2229f5]=_0x2494b9,l=(_0x3c0f7e,_0x2eda5f,_0x44b5a5)=>K(_0x3c0f7e,typeof _0x2eda5f!=_0x4d0bec(0x1f0)?_0x2eda5f+'':_0x2eda5f,_0x44b5a5);import{LS_CONFIG_KEY as _0x2bb02b,isLocalCheck as _0x23e9ea,unshiftString as _0x29df5b,isFeatureAuthorizedWithinTime as _0x52eb70,getDocFeatureLimit as _0xe4be08,UniverLicensePlugin as _0x42f6d7}from'@univerjs-pro/license';import{Disposable as _0x20cf0f,generateRandomId as _0x871bc1,DisposableCollection as _0x3119b5,IUniverInstanceService as _0x451758,Inject as _0xe71555,Injector as _0x5e5d34,IConfigService as _0x1353a1,UniverInstanceType as _0x1cc9da,CommandType as _0x15b1f1,ICommandService as _0x2dd077,DocumentFlavor as _0x5890c3,DependentOn as _0x12fdb7,Plugin as _0xeb60e6,merge as _0xc0bf03,registerDependencies as _0x3f8bc7}from'@univerjs/core';import{UniverNetworkPlugin as _0x4e664b}from'@univerjs/network';import{IGlobalZoneService as _0x36830c,getMenuHiddenObservable as _0x23187a,MenuItemType as _0x4418db,RibbonStartGroup as _0xc73f67,IMenuManagerService as _0x2a7fe7,ComponentManager as _0x21e47a}from'@univerjs/ui';import{DocPrintInterceptorService as _0x58fa77,VIEWPORT_KEY as _0x3d3fc1,SwitchDocModeCommand as _0x5bea39}from'@univerjs/docs-ui';import{IRenderManagerService as _0x255530,Engine as _0xa4dd1a,CanvasRenderMode as _0x202834,Scene as _0x55c6d9,Documents as _0x1ecc24,Viewport as _0x58948f}from'@univerjs/engine-render';import{PRINT_CONTAINER_CLASS as _0x3722ad,PRINT_CANVAS_CLASS as _0x182193,createPrintStyle as _0x4db940,PrintDirection as _0x588dad}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x564bf7}from'@univerjs/docs';import{forwardRef as _0x43e47f,useRef as _0x2bdea2,createElement as _0x38dbfa}from'react';const Se=_0x4d0bec(0x1c0),N={},Me='UNIVER_DOCS_PRINT';var p=function(){const _0x2fc8ed=_0x4d0bec;return p=Object[_0x2fc8ed(0x1ce)]||function(_0x5bbbe4){const _0x4ff519=_0x2fc8ed;for(var _0x55aa5a,_0x56c1c3=0x1,_0x423269=arguments[_0x4ff519(0x1dd)];_0x56c1c3<_0x423269;_0x56c1c3++){_0x55aa5a=arguments[_0x56c1c3];for(var _0xfd362a in _0x55aa5a)Object[_0x4ff519(0x233)]['hasOwnProperty'][_0x4ff519(0x237)](_0x55aa5a,_0xfd362a)&&(_0x5bbbe4[_0xfd362a]=_0x55aa5a[_0xfd362a]);}return _0x5bbbe4;},p[_0x2fc8ed(0x22c)](this,arguments);},we=function(_0x2e2cdb,_0x43eec9){const _0x270c56=_0x4d0bec;var _0x364611={};for(var _0x35dd3c in _0x2e2cdb)Object['prototype'][_0x270c56(0x19f)][_0x270c56(0x237)](_0x2e2cdb,_0x35dd3c)&&_0x43eec9[_0x270c56(0x1f2)](_0x35dd3c)<0x0&&(_0x364611[_0x35dd3c]=_0x2e2cdb[_0x35dd3c]);if(_0x2e2cdb!=null&&typeof Object[_0x270c56(0x1f8)]=='function'){for(var _0x24ecd8=0x0,_0x35dd3c=Object[_0x270c56(0x1f8)](_0x2e2cdb);_0x24ecd8<_0x35dd3c[_0x270c56(0x1dd)];_0x24ecd8++)_0x43eec9['indexOf'](_0x35dd3c[_0x24ecd8])<0x0&&Object['prototype'][_0x270c56(0x205)][_0x270c56(0x237)](_0x2e2cdb,_0x35dd3c[_0x24ecd8])&&(_0x364611[_0x35dd3c[_0x24ecd8]]=_0x2e2cdb[_0x35dd3c[_0x24ecd8]]);}return _0x364611;},U=_0x43e47f(function(_0x5a5c6c,_0x420072){const _0x4b3ce3=_0x4d0bec;var _0x37347e=_0x5a5c6c[_0x4b3ce3(0x206)],_0x1af7b9=_0x5a5c6c['id'],_0x570cfd=_0x5a5c6c[_0x4b3ce3(0x232)],_0x1f1417=_0x5a5c6c[_0x4b3ce3(0x218)],_0x5adb3a=we(_0x5a5c6c,['icon','id','className','extend']),_0x12c122=_0x4b3ce3(0x202)[_0x4b3ce3(0x229)](_0x1af7b9,'\x20')[_0x4b3ce3(0x229)](_0x570cfd||'')[_0x4b3ce3(0x1f6)](),_0x5221e8=_0x2bdea2('_'[_0x4b3ce3(0x229)](Ye()));return H(_0x37347e,''[_0x4b3ce3(0x229)](_0x1af7b9),{'defIds':_0x37347e[_0x4b3ce3(0x1b0)],'idSuffix':_0x5221e8[_0x4b3ce3(0x195)]},p({'ref':_0x420072,'className':_0x12c122},_0x5adb3a),_0x1f1417);});function H(_0x19388d,_0x1f34d6,_0x39b0a3,_0x2fc044,_0x2e033b){const _0x1db1f9=_0x4d0bec;return _0x38dbfa(_0x19388d[_0x1db1f9(0x234)],p(p({'key':_0x1f34d6},ye(_0x19388d,_0x39b0a3,_0x2e033b)),_0x2fc044),(Pe(_0x19388d,_0x39b0a3)[_0x1db1f9(0x1ad)]||[])[_0x1db1f9(0x1a7)](function(_0x5ecb47,_0x46664e){const _0xdcbbe=_0x1db1f9;return H(_0x5ecb47,''[_0xdcbbe(0x229)](_0x1f34d6,'-')[_0xdcbbe(0x229)](_0x19388d['tag'],'-')[_0xdcbbe(0x229)](_0x46664e),_0x39b0a3,void 0x0,_0x2e033b);}));}function ye(_0x24d21c,_0x5bffe3,_0x1492b2){const _0x4a7778=_0x4d0bec;var _0x1b652d=p({},_0x24d21c[_0x4a7778(0x1c3)]);_0x1492b2!=null&&_0x1492b2[_0x4a7778(0x1ed)]&&_0x1b652d[_0x4a7778(0x1cf)]==='colorChannel1'&&(_0x1b652d[_0x4a7778(0x1cf)]=_0x1492b2[_0x4a7778(0x1ed)]),_0x24d21c[_0x4a7778(0x234)]===_0x4a7778(0x1b8)&&_0x1b652d['id']&&(_0x1b652d['id']=_0x1b652d['id']+_0x5bffe3[_0x4a7778(0x1df)]),Object[_0x4a7778(0x21a)](_0x1b652d)['forEach'](function(_0x1b1f28){const _0x4534bd=_0x4a7778;var _0x571a10=_0x1b1f28[0x0],_0x2bcf9b=_0x1b1f28[0x1];_0x571a10===_0x4534bd(0x1b8)&&typeof _0x2bcf9b==_0x4534bd(0x21d)&&(_0x1b652d[_0x571a10]=_0x2bcf9b['replace'](/url\(#(.*)\)/,_0x4534bd(0x1a9)[_0x4534bd(0x229)](_0x5bffe3[_0x4534bd(0x1df)],')')));});var _0x55cabc=_0x5bffe3[_0x4a7778(0x1b0)];return!_0x55cabc||_0x55cabc[_0x4a7778(0x1dd)]===0x0||(_0x24d21c['tag']===_0x4a7778(0x204)&&_0x1b652d[_0x4a7778(0x1c2)]&&(_0x1b652d[_0x4a7778(0x1c2)]=_0x1b652d[_0x4a7778(0x1c2)]+_0x5bffe3['idSuffix']),Object[_0x4a7778(0x21a)](_0x1b652d)['forEach'](function(_0x32d6bd){const _0x251900=_0x4a7778;var _0x4600d0=_0x32d6bd[0x0],_0x1292a0=_0x32d6bd[0x1];typeof _0x1292a0==_0x251900(0x21d)&&(_0x1b652d[_0x4600d0]=_0x1292a0[_0x251900(0x1e3)](/url\(#(.*)\)/,_0x251900(0x1a9)[_0x251900(0x229)](_0x5bffe3[_0x251900(0x1df)],')')));})),_0x1b652d;}function Pe(_0x478223,_0x48cef4){const _0x4b8df4=_0x4d0bec;var _0xed599b,_0x4785e3=_0x48cef4['defIds'];return!_0x4785e3||_0x4785e3[_0x4b8df4(0x1dd)]===0x0?_0x478223:_0x478223[_0x4b8df4(0x234)]===_0x4b8df4(0x1b6)&&(!((_0xed599b=_0x478223[_0x4b8df4(0x1ad)])===null||_0xed599b===void 0x0)&&_0xed599b[_0x4b8df4(0x1dd)])?p(p({},_0x478223),{'children':_0x478223[_0x4b8df4(0x1ad)][_0x4b8df4(0x1a7)](function(_0x2e6461){const _0x2f9679=_0x4b8df4;return typeof _0x2e6461[_0x2f9679(0x1c3)]['id']==_0x2f9679(0x21d)&&_0x4785e3&&_0x4785e3[_0x2f9679(0x1cd)](_0x2e6461[_0x2f9679(0x1c3)]['id'])?p(p({},_0x2e6461),{'attrs':p(p({},_0x2e6461[_0x2f9679(0x1c3)]),{'id':_0x2e6461['attrs']['id']+_0x48cef4[_0x2f9679(0x1df)]})}):_0x2e6461;})}):_0x478223;}function Ye(){const _0x326d61=_0x4d0bec;return Math[_0x326d61(0x211)]()[_0x326d61(0x1e0)](0x24)[_0x326d61(0x1fb)](0x2,0x8);}U[_0x4d0bec(0x1cc)]=_0x4d0bec(0x200);var be={'tag':_0x4d0bec(0x1c5),'attrs':{'xmlns':_0x4d0bec(0x1af),'fill':_0x4d0bec(0x1b4),'viewBox':'0\x200\x2016\x2016','width':_0x4d0bec(0x222),'height':'1em'},'children':[{'tag':_0x4d0bec(0x1e1),'attrs':{'fill':_0x4d0bec(0x1d4),'d':_0x4d0bec(0x19b)}},{'tag':_0x4d0bec(0x1e1),'attrs':{'fill':_0x4d0bec(0x1d4),'d':_0x4d0bec(0x1c7),'fillRule':'evenodd','clipRule':_0x4d0bec(0x19a)}}]},B=_0x43e47f(function(_0x16f0bf,_0x2eda68){const _0x24442f=_0x4d0bec;return _0x38dbfa(U,Object[_0x24442f(0x1ce)]({},_0x16f0bf,{'id':_0x24442f(0x203),'ref':_0x2eda68,'icon':be}));});B[_0x4d0bec(0x1cc)]='PrintIcon';const Ne={0x0:'U',0x1:'k',0x2:'h',0x3:'4',0x4:'V',0x5:'O',0x6:'7',0x7:'w',0x8:'u',0x9:'L','e':'0','L':'1','u':'2','C':'3','K':'5','W':'6','o':'8','Z':'9','p':'a','P':'b','Y':'c','M':'d','q':'e','F':'f','f':'g','O':'i','r':'j','a':'l','l':'m','A':'n','k':'o','h':'p','t':'q','G':'r','T':'s','Q':'t','w':'v','b':'x','J':'y','v':'z','N':'A','z':'B','D':'C','V':'D','R':'E','I':'F','X':'G','E':'H','s':'I','c':'J','n':'K','H':'M','S':'N','i':'P','g':'Q','U':'R','B':'S','m':'T','x':'W','j':'X','d':'Y','y':'Z'},De=_0x4d0bec(0x213);class Re extends _0x20cf0f{constructor(_0x405e5c,_0x43cd8e,_0x234495,_0x1d133e){const _0x15ce23=_0x4d0bec;super(),l(this,'_container',document['createElement'](_0x15ce23(0x217))),l(this,_0x15ce23(0x20d),document['createElement'](_0x15ce23(0x217))),l(this,_0x15ce23(0x22b)),l(this,_0x15ce23(0x1ec)),l(this,_0x15ce23(0x1bc)),l(this,_0x15ce23(0x1be)),l(this,_0x15ce23(0x1e7)),l(this,_0x15ce23(0x1bf),new _0x3119b5()),(this[_0x15ce23(0x1e6)]=_0x405e5c,this[_0x15ce23(0x1d0)]=_0x43cd8e,this[_0x15ce23(0x210)]=_0x234495,this[_0x15ce23(0x1f1)]=_0x1d133e,this[_0x15ce23(0x1bc)]=_0x871bc1(0x4),this[_0x15ce23(0x20f)](),this[_0x15ce23(0x1e4)]({'dispose':()=>{const _0x283416=_0x15ce23;this['_engine'][_0x283416(0x1ae)](),this[_0x283416(0x1ec)][_0x283416(0x1ae)](),this[_0x283416(0x1bf)]['dispose']();}}));}get[_0x4d0bec(0x1ea)](){return this['_container'];}get['root'](){const _0x4b77fe=_0x4d0bec;return this[_0x4b77fe(0x20d)];}get[_0x4d0bec(0x1ac)](){const _0x365ba9=_0x4d0bec,_0x4ff643=this[_0x365ba9(0x1e6)]['get'](_0x255530)[_0x365ba9(0x230)](this[_0x365ba9(0x210)]);if(!_0x4ff643)throw new Error(_0x365ba9(0x1b7));return _0x4ff643;}get[_0x4d0bec(0x215)](){const _0x206fe6=_0x4d0bec;return this[_0x206fe6(0x1ac)][_0x206fe6(0x193)](_0x564bf7)[_0x206fe6(0x1d5)]();}get[_0x4d0bec(0x20a)](){const _0x300dfc=_0x4d0bec,_0x30c240=this[_0x300dfc(0x215)][_0x300dfc(0x1f9)]();if(!_0x30c240)throw new Error('Skeleton\x20data\x20is\x20not\x20found');return _0x30c240;}get[_0x4d0bec(0x1b2)](){const _0x5b7b39=_0x4d0bec,_0x3dfbca=this[_0x5b7b39(0x20a)][_0x5b7b39(0x1b1)][0x0];return{'width':_0x3dfbca[_0x5b7b39(0x21c)],'height':_0x3dfbca[_0x5b7b39(0x1ff)]};}['_calculateLayout'](){const _0x406b65=_0x4d0bec,{docsTop:_0x404734,docsLeft:_0x37c988}=this['_documents']['getOffsetConfig'](),_0x410256=this['_paperSize'][_0x406b65(0x1a1)],_0x85b67f=this[_0x406b65(0x1b2)][_0x406b65(0x1d3)];return{'top':_0x404734+(_0x404734+_0x410256)*this[_0x406b65(0x1d0)],'bottom':_0x404734+(_0x404734+_0x410256)*(this[_0x406b65(0x1d0)]+0x1),'left':_0x37c988,'right':_0x37c988+_0x85b67f};}[_0x4d0bec(0x20f)](){const _0x357d62=_0x4d0bec;this['_engine']=new _0xa4dd1a('',{'elementWidth':this['_paperSize']['width'],'elementHeight':this[_0x357d62(0x1b2)][_0x357d62(0x1a1)],'dpr':0x1,'renderMode':_0x202834[_0x357d62(0x1b5)]}),this[_0x357d62(0x1ec)]=new _0x55c6d9(this[_0x357d62(0x1bc)],this[_0x357d62(0x22b)]),this[_0x357d62(0x1ec)]['scale'](0x1,0x1),this[_0x357d62(0x22b)][_0x357d62(0x220)](this[_0x357d62(0x22e)],!0x1),this[_0x357d62(0x22b)][_0x357d62(0x1d9)]()[_0x357d62(0x1c8)]()[_0x357d62(0x1b9)](this[_0x357d62(0x1bc)]+'_'+_0x871bc1(0x4)),this[_0x357d62(0x1f5)](),this['_addViewport']();}[_0x4d0bec(0x1f5)](){const _0xaed1f0=_0x4d0bec,{pageMarginLeft:_0x28f530,pageMarginTop:_0xd59c7,docsLeft:_0x9bf602,docsTop:_0x1d0b63}=this[_0xaed1f0(0x1f1)],_0x48b82d={'pageMarginLeft':_0x28f530,'pageMarginTop':_0xd59c7},_0x4851c5=new _0x1ecc24(_0xaed1f0(0x1fd),this[_0xaed1f0(0x215)],_0x48b82d);_0x4851c5[_0xaed1f0(0x225)](_0x9bf602,_0x1d0b63),this['_scene'][_0xaed1f0(0x1bd)](_0x4851c5),this[_0xaed1f0(0x1be)]=_0x4851c5;const _0x1f8a2e=this[_0xaed1f0(0x1e6)][_0xaed1f0(0x1f7)](_0x58fa77);_0x1f8a2e[_0xaed1f0(0x20c)]['fetchThroughInterceptors'](_0x1f8a2e[_0xaed1f0(0x20c)]['getInterceptPoints']()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0xaed1f0(0x1ec)],'engine':this['_engine'],'root':this[_0xaed1f0(0x20d)],'documents':this[_0xaed1f0(0x1be)],'skeleton':this[_0xaed1f0(0x215)]});}[_0x4d0bec(0x19e)](){const _0x5ce640=_0x4d0bec;this[_0x5ce640(0x1e7)]=new _0x58948f(_0x3d3fc1['VIEW_MAIN'],this[_0x5ce640(0x1ec)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}['prepare'](){const _0x604a20=_0x4d0bec,_0x135f5a=this[_0x604a20(0x19c)]();this[_0x604a20(0x1e7)][_0x604a20(0x1db)]({'viewportScrollX':_0x135f5a[_0x604a20(0x1f3)],'viewportScrollY':_0x135f5a[_0x604a20(0x216)]}),this[_0x604a20(0x20d)][_0x604a20(0x219)][_0x604a20(0x1a5)]='absolute',this[_0x604a20(0x20d)][_0x604a20(0x219)][_0x604a20(0x216)]=_0x604a20(0x1ab),this[_0x604a20(0x20d)][_0x604a20(0x219)]['left']=_0x604a20(0x1ab),this[_0x604a20(0x20d)][_0x604a20(0x219)][_0x604a20(0x1d3)]=_0x604a20(0x1c9),this['_root']['style']['height']='100%',this[_0x604a20(0x1bf)]=new _0x3119b5();const _0x149a4a=this[_0x604a20(0x1e6)]['get'](_0x58fa77);_0x149a4a[_0x604a20(0x20c)][_0x604a20(0x194)](_0x149a4a['interceptor'][_0x604a20(0x1c1)]()[_0x604a20(0x1e5)])(this[_0x604a20(0x1bf)],{'unitId':this[_0x604a20(0x210)],'scene':this[_0x604a20(0x1ec)],'engine':this[_0x604a20(0x22b)],'root':this[_0x604a20(0x20d)],'skeleton':this[_0x604a20(0x215)],'offset':{'x':_0x135f5a[_0x604a20(0x1f3)],'y':_0x135f5a['top']},'bound':{'top':_0x135f5a[_0x604a20(0x216)],'left':_0x135f5a[_0x604a20(0x1f3)],'right':_0x135f5a['right'],'bottom':_0x135f5a['bottom']}});}[_0x4d0bec(0x1e8)](){const _0xd31608=_0x4d0bec,_0x25cd30=this['_engine'][_0xd31608(0x1d9)]()[_0xd31608(0x1c8)]();this[_0xd31608(0x1be)][_0xd31608(0x1d6)](),this[_0xd31608(0x1ec)]['makeDirty'](),_0x25cd30['save'](),this['_scene']['render'](),_0x25cd30[_0xd31608(0x192)]();}}var Ee=Object[_0x4d0bec(0x201)],Fe=(_0x4cf32a,_0x42a916,_0x14a12e,_0x35e231)=>{const _0x2680f4=_0x4d0bec;for(var _0xddf376=_0x35e231>0x1?void 0x0:_0x35e231?Ee(_0x42a916,_0x14a12e):_0x42a916,_0x3be05a=_0x4cf32a[_0x2680f4(0x1dd)]-0x1,_0x12e4cf;_0x3be05a>=0x0;_0x3be05a--)(_0x12e4cf=_0x4cf32a[_0x3be05a])&&(_0xddf376=_0x12e4cf(_0xddf376)||_0xddf376);return _0xddf376;},h=(_0x45b457,_0x360f07)=>(_0x380cf2,_0xd491d1)=>_0x360f07(_0x380cf2,_0xd491d1,_0x45b457);const xe=Number[_0x4d0bec(0x21e)](0x6855876f),Le=0x1,Ve=(_0x334a05,_0x37f4db,_0x9753c5)=>{const _0x416251=_0x4d0bec,_0x43ef12={'page':_0x334a05,'isPro':!0x1,'timeValid':!0x1};if(!_0x37f4db||!_0x9753c5)return _0x43ef12;const _0x3261ac=_0x29df5b(De,Ne),_0x15986f=new Function(_0x416251(0x1c4)+_0x3261ac)()(_0x37f4db,_0x9753c5);if(_0x15986f[_0x416251(0x1da)]){const _0x27ad14=_0x15986f['message'],_0x3e2604=_0x52eb70(_0x27ad14,'df',xe);_0x43ef12[_0x416251(0x226)]=_0x3e2604,_0x43ef12['timeValid']=_0x3e2604;const _0x4b0eb4=0x0;_0x43ef12['page']=_0xe4be08(_0x27ad14,_0x3e2604,'mpn',_0x334a05,_0x334a05,_0x4b0eb4);}return _0x43ef12;};let g=class extends _0x20cf0f{constructor(_0x4ac2b0,_0x199a22,_0x48764b,_0x5929f1,_0x311bba){const _0x4a672a=_0x4d0bec;super(),this[_0x4a672a(0x1fa)]=_0x4ac2b0,this[_0x4a672a(0x1dc)]=_0x199a22,this[_0x4a672a(0x1e6)]=_0x48764b,this[_0x4a672a(0x1a2)]=_0x5929f1,this[_0x4a672a(0x228)]=_0x311bba;}[_0x4d0bec(0x1a0)](_0x3fc820){const _0x26f589=_0x4d0bec;var _0x1610e0,_0x4f929b;const _0x2bc2eb=(_0x1610e0=this[_0x26f589(0x1a2)][_0x26f589(0x1bb)](_0x2bb02b))!=null?_0x1610e0:{},{ls:_0x4a6abc,pbk:_0x5aee81}=_0x2bc2eb,_0x20019c=_0x23e9ea()?Number[_0x26f589(0x1a6)]:Ve(Le,_0x4a6abc,_0x5aee81)[_0x26f589(0x1a3)];if(!this[_0x26f589(0x1fa)]['getUnit'](_0x3fc820,_0x1cc9da['UNIVER_DOC']))throw new Error('DocumentDataModel\x20is\x20not\x20found');const _0x1001a4=this[_0x26f589(0x1dc)][_0x26f589(0x230)](_0x3fc820);if(!_0x1001a4)throw new Error(_0x26f589(0x1b7));const _0x3f3bc5=(_0x4f929b=_0x1001a4[_0x26f589(0x193)](_0x564bf7)[_0x26f589(0x1d5)]()[_0x26f589(0x1f9)]())==null?void 0x0:_0x4f929b[_0x26f589(0x1b1)];if(!_0x3f3bc5)throw new Error('Pages\x20are\x20not\x20found');const _0x305a08={'width':_0x3f3bc5[0x0]['pageWidth'],'height':_0x3f3bc5[0x0]['pageHeight']},_0x173a69=_0x3f3bc5[_0x26f589(0x1dd)],_0x1470cb=Math[_0x26f589(0x1f4)](_0x20019c,_0x173a69),_0xe17853=_0x1001a4[_0x26f589(0x224)][_0x26f589(0x1aa)](),_0x42f3c9=document[_0x26f589(0x236)]('div');_0x42f3c9[_0x26f589(0x232)]=_0x3722ad;const _0x102daf=new Array(_0x1470cb)[_0x26f589(0x1cf)](null)[_0x26f589(0x1a7)]((_0x38a8da,_0x1d1171)=>{const _0x376383=_0x26f589,_0x35b91f=new Re(this[_0x376383(0x1e6)],_0x1d1171,_0x3fc820,_0xe17853);return _0x35b91f[_0x376383(0x1ea)][_0x376383(0x232)]=_0x182193,_0x35b91f;});_0x102daf[_0x26f589(0x199)](_0x3dd6e9=>{const _0x3b6b84=_0x26f589;_0x42f3c9['appendChild'](_0x3dd6e9['container']),_0x3dd6e9[_0x3b6b84(0x1ea)][_0x3b6b84(0x1a4)](_0x3dd6e9['root']),_0x3dd6e9[_0x3b6b84(0x21f)]();});const _0x11731a=_0x4db940(_0x305a08[_0x26f589(0x1d3)],_0x305a08[_0x26f589(0x1a1)],_0x588dad[_0x26f589(0x1d1)]);return document[_0x26f589(0x22d)][_0x26f589(0x1a4)](_0x11731a),document['body']['appendChild'](_0x42f3c9),new Promise(_0x38102e=>{setTimeout(()=>{const _0x2d1f96=_0x3ec8;window[_0x2d1f96(0x20b)]=()=>{const _0x2ac15b=_0x2d1f96;_0x102daf[_0x2ac15b(0x199)](_0x462a55=>{const _0x6afcb1=_0x2ac15b;_0x462a55[_0x6afcb1(0x1e8)]();});},window[_0x2d1f96(0x1a8)]=()=>{const _0x15e1aa=_0x2d1f96;_0x102daf[_0x15e1aa(0x199)](_0x28b8ff=>{const _0x9ed9bb=_0x15e1aa;_0x28b8ff[_0x9ed9bb(0x1ae)]();}),document[_0x15e1aa(0x22d)][_0x15e1aa(0x1ef)](_0x42f3c9),document[_0x15e1aa(0x22d)][_0x15e1aa(0x1ef)](_0x11731a),this[_0x15e1aa(0x228)][_0x15e1aa(0x214)](),_0x38102e(!0x0);},window[_0x2d1f96(0x1a0)]();},0x64);});}};g=Fe([h(0x0,_0x451758),h(0x1,_0x255530),h(0x2,_0xe71555(_0x5e5d34)),h(0x3,_0x1353a1),h(0x4,_0x36830c)],g);const C={'id':'docs.operation.print','type':_0x15b1f1[_0x4d0bec(0x1e2)],'handler':async _0x56f7f3=>{const _0x48bc71=_0x4d0bec,_0x40bdc0=_0x56f7f3['get'](_0x451758),_0x57695c=_0x56f7f3['get'](g),_0x81b720=_0x56f7f3[_0x48bc71(0x1f7)](_0x255530),_0x32bb0b=_0x56f7f3['get'](_0x2dd077),_0x1e1638=_0x40bdc0['getCurrentUnitOfType'](_0x1cc9da['UNIVER_DOC']);if(!_0x1e1638)return!0x1;if(!_0x81b720[_0x48bc71(0x230)](_0x1e1638[_0x48bc71(0x221)]()))throw new Error(_0x48bc71(0x1b7));const _0x155387=_0x1e1638['getDocumentStyle']()['documentFlavor'];return _0x155387!==_0x5890c3[_0x48bc71(0x1c6)]&&_0x32bb0b['syncExecuteCommand'](_0x5bea39['id']),await _0x57695c['print'](_0x1e1638[_0x48bc71(0x221)]()),_0x155387!==_0x5890c3[_0x48bc71(0x1c6)]&&_0x32bb0b[_0x48bc71(0x1ee)](_0x5bea39['id']),!0x0;}};function je(_0x378aac){const _0x4e5ede=_0x4d0bec;return{'id':C['id'],'type':_0x4418db[_0x4e5ede(0x223)],'title':_0x4e5ede(0x198),'icon':'PrintIcon','tooltip':_0x4e5ede(0x198),'hidden$':_0x23187a(_0x378aac,_0x1cc9da[_0x4e5ede(0x1d2)])};}const Ue={[_0xc73f67[_0x4d0bec(0x197)]]:{[C['id']]:{'order':0.1,'menuItemFactory':je}}};var He=Object[_0x4d0bec(0x201)],Be=(_0x2a8b11,_0xa425c7,_0x19a9b7,_0x141e81)=>{for(var _0x2e1e7d=_0x141e81>0x1?void 0x0:_0x141e81?He(_0xa425c7,_0x19a9b7):_0xa425c7,_0x49a903=_0x2a8b11['length']-0x1,_0x55e97d;_0x49a903>=0x0;_0x49a903--)(_0x55e97d=_0x2a8b11[_0x49a903])&&(_0x2e1e7d=_0x55e97d(_0x2e1e7d)||_0x2e1e7d);return _0x2e1e7d;},Q=(_0x1bec0a,_0x22170a)=>(_0x4596c7,_0x29b57b)=>_0x22170a(_0x4596c7,_0x29b57b,_0x1bec0a);function _0x3ec8(_0x5c49f2,_0x2f1f64){const _0x588fe4=_0x588f();return _0x3ec8=function(_0x3ec8f2,_0x13c2c0){_0x3ec8f2=_0x3ec8f2-0x192;let _0x548878=_0x588fe4[_0x3ec8f2];return _0x548878;},_0x3ec8(_0x5c49f2,_0x2f1f64);}let m=class extends _0x20cf0f{constructor(_0x2f8ef2,_0x3d7f8c,_0x41e49c){const _0x1830d7=_0x4d0bec;super(),this['_commandService']=_0x2f8ef2,this[_0x1830d7(0x1e9)]=_0x3d7f8c,this[_0x1830d7(0x22a)]=_0x41e49c,this['_initMenus'](),this[_0x1830d7(0x1de)](),this[_0x1830d7(0x1b3)]();}[_0x4d0bec(0x1ba)](){const _0xcb2710=_0x4d0bec;this[_0xcb2710(0x1e9)]['mergeMenu'](Ue);}[_0x4d0bec(0x1de)](){const _0x47c7c5=_0x4d0bec;this[_0x47c7c5(0x1e4)](this['_commandService'][_0x47c7c5(0x19d)](C));}[_0x4d0bec(0x1b3)](){const _0x22ebc3=_0x4d0bec;[[_0x22ebc3(0x1d8),B]]['forEach'](([_0x2016a2,_0x4d5b70])=>{const _0xa4b6a8=_0x22ebc3;this[_0xa4b6a8(0x22a)][_0xa4b6a8(0x1fc)](_0x2016a2,_0x4d5b70);});}};m=Be([Q(0x0,_0x2dd077),Q(0x1,_0x2a7fe7),Q(0x2,_0xe71555(_0x21e47a))],m);var Je=Object['defineProperty'],We=Object[_0x4d0bec(0x201)],$e=(_0x41aa68,_0x501940,_0x2f9fed)=>_0x501940 in _0x41aa68?Je(_0x41aa68,_0x501940,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f9fed}):_0x41aa68[_0x501940]=_0x2f9fed,ze=(_0x43df7b,_0x2767e,_0x40c8ab,_0x1ca6d0)=>{const _0x544af3=_0x4d0bec;for(var _0x4b3f18=_0x1ca6d0>0x1?void 0x0:_0x1ca6d0?We(_0x2767e,_0x40c8ab):_0x2767e,_0x44f1f8=_0x43df7b[_0x544af3(0x1dd)]-0x1,_0x349edf;_0x44f1f8>=0x0;_0x44f1f8--)(_0x349edf=_0x43df7b[_0x44f1f8])&&(_0x4b3f18=_0x349edf(_0x4b3f18)||_0x4b3f18);return _0x4b3f18;},D=(_0x367c74,_0x3b1b0a)=>(_0x422a63,_0x1d957a)=>_0x3b1b0a(_0x422a63,_0x1d957a,_0x367c74),J=(_0x31d658,_0x291b82,_0x46ea80)=>$e(_0x31d658,typeof _0x291b82!=_0x4d0bec(0x1f0)?_0x291b82+'':_0x291b82,_0x46ea80);let O=class extends _0xeb60e6{constructor(_0x2ce2d4=N,_0x27f3e1,_0x1e7120){const _0x4961ab=_0x4d0bec;super(),this[_0x4961ab(0x196)]=_0x2ce2d4,this[_0x4961ab(0x1e6)]=_0x27f3e1,this['_configService']=_0x1e7120;const {menu:_0x2c40d4,..._0x159fb4}=_0xc0bf03({},N,this[_0x4961ab(0x196)]);_0x2c40d4&&this[_0x4961ab(0x1a2)][_0x4961ab(0x1ca)](_0x4961ab(0x231),_0x2c40d4,{'merge':!0x0}),this[_0x4961ab(0x1a2)][_0x4961ab(0x1ca)](Se,_0x159fb4);}[_0x4d0bec(0x22f)](){_0x3f8bc7(this['_injector'],[[g],[m]]);}[_0x4d0bec(0x227)](){const _0x1af612=_0x4d0bec;this[_0x1af612(0x1e6)]['get'](m);}};J(O,_0x4d0bec(0x1cb),Me),J(O,_0x4d0bec(0x20e),_0x1cc9da[_0x4d0bec(0x1d2)]),O=ze([_0x12fdb7(_0x4e664b,_0x42f6d7),D(0x1,_0xe71555(_0x5e5d34)),D(0x2,_0x1353a1)],O);export{Se as DOCS_PRINT_PLUGIN_CONFIG_KEY,C as DocPrintOperation,O as UniverDocsPrintPlugin,N as defaultPluginConfig};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2439c4=_0x2426;(function(_0x2dd4f9,_0x35c6c5){const _0x420425=_0x2426,_0x349e1f=_0x2dd4f9();while(!![]){try{const _0x483f51=parseInt(_0x420425(0x13c))/0x1+parseInt(_0x420425(0x13d))/0x2+-parseInt(_0x420425(0x13f))/0x3*(-parseInt(_0x420425(0x145))/0x4)+-parseInt(_0x420425(0x143))/0x5*(parseInt(_0x420425(0x144))/0x6)+parseInt(_0x420425(0x13b))/0x7*(-parseInt(_0x420425(0x141))/0x8)+-parseInt(_0x420425(0x146))/0x9*(-parseInt(_0x420425(0x140))/0xa)+parseInt(_0x420425(0x13e))/0xb;if(_0x483f51===_0x35c6c5)break;else _0x349e1f['push'](_0x349e1f['shift']());}catch(_0x250abc){_0x349e1f['push'](_0x349e1f['shift']());}}}(_0x2e3e,0x79c31));function _0x2e3e(){const _0x80bbc3=['Print','5fmwMkZ','5920842rJoHLi','33028XVqjqL','9MerCFl','5982571KLLWxQ','931006VEUKil','413652ndeVcq','3383688fSQeZp','141uqhheI','5066780mYtZsS','8zRdBUk'];_0x2e3e=function(){return _0x80bbc3;};return _0x2e3e();}const t={'print':{'menu':_0x2439c4(0x142)}};function _0x2426(_0x541ff8,_0x596178){const _0x2e3ec0=_0x2e3e();return _0x2426=function(_0x2426a5,_0x3effb7){_0x2426a5=_0x2426a5-0x13b;let _0x41814d=_0x2e3ec0[_0x2426a5];return _0x41814d;},_0x2426(_0x541ff8,_0x596178);}export{t as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xdb61f3=_0x5867;(function(_0x25e48a,_0x205beb){const _0x585548=_0x5867,_0x103867=_0x25e48a();while(!![]){try{const _0x2c8ef3=parseInt(_0x585548(0xb5))/0x1*(-parseInt(_0x585548(0xb4))/0x2)+parseInt(_0x585548(0xb8))/0x3+-parseInt(_0x585548(0xb6))/0x4+parseInt(_0x585548(0xb0))/0x5+parseInt(_0x585548(0xb2))/0x6+-parseInt(_0x585548(0xb1))/0x7+parseInt(_0x585548(0xb7))/0x8;if(_0x2c8ef3===_0x205beb)break;else _0x103867['push'](_0x103867['shift']());}catch(_0x214e46){_0x103867['push'](_0x103867['shift']());}}}(_0x5ac6,0xecf6d));function _0x5867(_0x2755fa,_0x5468ff){const _0x5ac680=_0x5ac6();return _0x5867=function(_0x5867d6,_0x3a71e0){_0x5867d6=_0x5867d6-0xb0;let _0x383555=_0x5ac680[_0x5867d6];return _0x383555;},_0x5867(_0x2755fa,_0x5468ff);}const e={'print':{'menu':_0xdb61f3(0xb3)}};function _0x5ac6(){const _0x3212eb=['76775khakth','5974269qxlJAI','2409036HtPSeR','چاپ','432862MBSbzN','5CUWmJX','7621320FZnFYw','21107984ftoIfZ','5268594letNHs'];_0x5ac6=function(){return _0x3212eb;};return _0x5ac6();}export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5ec1(){const _0x3dc59d=['6267700HCqIYM','3468654pnCDLo','186JxRRdB','182203tnitsG','4346376dAcywz','Imprimer','5622759kduCAE','167oHioFM','29740AAUUyh','424MExSFD','6684DcjaDZ'];_0x5ec1=function(){return _0x3dc59d;};return _0x5ec1();}const _0x407e11=_0x20ed;function _0x20ed(_0x4970ed,_0xf9281d){const _0x5ec19a=_0x5ec1();return _0x20ed=function(_0x20ed83,_0x13fa7c){_0x20ed83=_0x20ed83-0x191;let _0x38b268=_0x5ec19a[_0x20ed83];return _0x38b268;},_0x20ed(_0x4970ed,_0xf9281d);}(function(_0x5ac186,_0x5e2e12){const _0x4e0b5d=_0x20ed,_0x5b5f83=_0x5ac186();while(!![]){try{const _0x206f04=parseInt(_0x4e0b5d(0x195))/0x1*(parseInt(_0x4e0b5d(0x198))/0x2)+-parseInt(_0x4e0b5d(0x19a))/0x3+-parseInt(_0x4e0b5d(0x192))/0x4+-parseInt(_0x4e0b5d(0x196))/0x5*(parseInt(_0x4e0b5d(0x19b))/0x6)+parseInt(_0x4e0b5d(0x191))/0x7*(parseInt(_0x4e0b5d(0x197))/0x8)+parseInt(_0x4e0b5d(0x194))/0x9+parseInt(_0x4e0b5d(0x199))/0xa;if(_0x206f04===_0x5e2e12)break;else _0x5b5f83['push'](_0x5b5f83['shift']());}catch(_0x53e44e){_0x5b5f83['push'](_0x5b5f83['shift']());}}}(_0x5ec1,0xba074));const e={'print':{'menu':_0x407e11(0x193)}};export{e as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x33c137,_0x2d14ff){const _0x1962da=_0xc829,_0x1fc80d=_0x33c137();while(!![]){try{const _0x1a5762=-parseInt(_0x1962da(0x13f))/0x1*(-parseInt(_0x1962da(0x13e))/0x2)+parseInt(_0x1962da(0x143))/0x3+-parseInt(_0x1962da(0x144))/0x4+parseInt(_0x1962da(0x140))/0x5*(-parseInt(_0x1962da(0x13c))/0x6)+parseInt(_0x1962da(0x13d))/0x7+-parseInt(_0x1962da(0x145))/0x8*(-parseInt(_0x1962da(0x141))/0x9)+-parseInt(_0x1962da(0x142))/0xa;if(_0x1a5762===_0x2d14ff)break;else _0x1fc80d['push'](_0x1fc80d['shift']());}catch(_0x4d6236){_0x1fc80d['push'](_0x1fc80d['shift']());}}}(_0x4116,0xe2baa));function _0xc829(_0x5aed54,_0x2dc7ab){const _0x41166d=_0x4116();return _0xc829=function(_0xc8293b,_0x551454){_0xc8293b=_0xc8293b-0x13c;let _0x471d89=_0x41166d[_0xc8293b];return _0x471d89;},_0xc829(_0x5aed54,_0x2dc7ab);}const e={'print':{'menu':'Печать'}};function _0x4116(){const _0xd129e5=['141265GkUlvk','64089LBpMbT','6726290FcrHcT','303819gsLZYw','1436892dWceZN','1656CUanPc','186mWHjaW','3090752XeQRDz','2UUrjYg','819521cDJymY'];_0x4116=function(){return _0xd129e5;};return _0x4116();}export{e as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2f53e5,_0x21fe23){const _0x388604=_0x3212,_0x97f948=_0x2f53e5();while(!![]){try{const _0x29231a=-parseInt(_0x388604(0x164))/0x1+parseInt(_0x388604(0x169))/0x2*(parseInt(_0x388604(0x168))/0x3)+-parseInt(_0x388604(0x163))/0x4+parseInt(_0x388604(0x166))/0x5*(parseInt(_0x388604(0x167))/0x6)+-parseInt(_0x388604(0x16b))/0x7+-parseInt(_0x388604(0x16a))/0x8+parseInt(_0x388604(0x165))/0x9;if(_0x29231a===_0x21fe23)break;else _0x97f948['push'](_0x97f948['shift']());}catch(_0x5cf678){_0x97f948['push'](_0x97f948['shift']());}}}(_0x420a,0xc65c3));const e={'print':{'menu':'In'}};function _0x3212(_0x595611,_0x5d5b6c){const _0x420a3d=_0x420a();return _0x3212=function(_0x321221,_0x1cba12){_0x321221=_0x321221-0x163;let _0x14c8ec=_0x420a3d[_0x321221];return _0x14c8ec;},_0x3212(_0x595611,_0x5d5b6c);}function _0x420a(){const _0x29a754=['502145fqnims','30jFQPGN','60414uovuyM','34tlwaFR','6471368FaEYxE','10474226YkokLg','4605760snXZzP','470885isAPgj','35060004NSLdCL'];_0x420a=function(){return _0x29a754;};return _0x420a();}export{e as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2d3309,_0x4580c4){const _0x342152=_0xc9ac,_0xb4cad3=_0x2d3309();while(!![]){try{const _0x3f3b7e=-parseInt(_0x342152(0x15c))/0x1+-parseInt(_0x342152(0x15b))/0x2+parseInt(_0x342152(0x15a))/0x3+parseInt(_0x342152(0x159))/0x4+-parseInt(_0x342152(0x156))/0x5+parseInt(_0x342152(0x157))/0x6+parseInt(_0x342152(0x158))/0x7;if(_0x3f3b7e===_0x4580c4)break;else _0xb4cad3['push'](_0xb4cad3['shift']());}catch(_0x546cb2){_0xb4cad3['push'](_0xb4cad3['shift']());}}}(_0x2dce,0x534de));function _0xc9ac(_0x5446f5,_0x2f8399){const _0x2dcea0=_0x2dce();return _0xc9ac=function(_0xc9ac49,_0x39cb34){_0xc9ac49=_0xc9ac49-0x156;let _0x231fe5=_0x2dcea0[_0xc9ac49];return _0x231fe5;},_0xc9ac(_0x5446f5,_0x2f8399);}const e={'print':{'menu':'打印'}};function _0x2dce(){const _0x3a07f3=['2362290jUGtrp','3830766MXSxzK','4044817gTAxpG','1421008zoiMZg','1420860oDHoBC','1304944oUZjOJ','579020oCyywN'];_0x2dce=function(){return _0x3a07f3;};return _0x2dce();}export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x272a5e,_0x53fc56){const _0x2279cd=_0x2b04,_0xd3316a=_0x272a5e();while(!![]){try{const _0x536ac9=parseInt(_0x2279cd(0x172))/0x1*(-parseInt(_0x2279cd(0x174))/0x2)+parseInt(_0x2279cd(0x177))/0x3*(parseInt(_0x2279cd(0x178))/0x4)+parseInt(_0x2279cd(0x17a))/0x5+parseInt(_0x2279cd(0x176))/0x6+-parseInt(_0x2279cd(0x173))/0x7+-parseInt(_0x2279cd(0x171))/0x8+parseInt(_0x2279cd(0x175))/0x9*(parseInt(_0x2279cd(0x179))/0xa);if(_0x536ac9===_0x53fc56)break;else _0xd3316a['push'](_0xd3316a['shift']());}catch(_0x1776c1){_0xd3316a['push'](_0xd3316a['shift']());}}}(_0x5353,0xc659c));function _0x2b04(_0x37e87a,_0x310d64){const _0x535311=_0x5353();return _0x2b04=function(_0x2b0401,_0x39fead){_0x2b0401=_0x2b0401-0x171;let _0x40d2be=_0x535311[_0x2b0401];return _0x40d2be;},_0x2b04(_0x37e87a,_0x310d64);}const e={'print':{'menu':'列印'}};export{e as default};function _0x5353(){const _0x22c76c=['4gjXvMv','400sPBAnh','3604785EildBj','6401752vVdJKu','826nMVcuN','1789466nsaZit','1410ZfRSCE','24183XiZhOD','2564286andOgT','3584439vojIsf'];_0x5353=function(){return _0x22c76c;};return _0x5353();}
|