@univerjs-pro/docs-print 0.12.4-insiders.20251212-6c41730 → 0.12.4-insiders.20251213-692494c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1c935c,_0x48f4fc){const _0x34107c=_0x3f34,_0x57895f=_0x1c935c();while(!![]){try{const _0x86ab5a=parseInt(_0x34107c(0x9c))/0x1+parseInt(_0x34107c(0xa0))/0x2+-parseInt(_0x34107c(0x9d))/0x3+parseInt(_0x34107c(0xa2))/0x4+parseInt(_0x34107c(0xa3))/0x5+-parseInt(_0x34107c(0x9e))/0x6+-parseInt(_0x34107c(0xa1))/0x7*(parseInt(_0x34107c(0x9f))/0x8);if(_0x86ab5a===_0x48f4fc)break;else _0x57895f['push'](_0x57895f['shift']());}catch(_0x37cfb1){_0x57895f['push'](_0x57895f['shift']());}}}(_0x1fcb,0x2b341));const e={'print':{'menu':'列印'}};function _0x1fcb(){const _0x7abc6=['35128CVXBOH','1039505uEMKYc','204086dthRwQ','364884RWGRpG','616296XEpMcI','344jzaKSK','100306EZqOIG','11333yweiTJ'];_0x1fcb=function(){return _0x7abc6;};return _0x1fcb();}function _0x3f34(_0x382458,_0x424a19){_0x382458=_0x382458-0x9c;const _0x1fcb53=_0x1fcb();let _0x3f3492=_0x1fcb53[_0x382458];return _0x3f3492;}export{e as default};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3485(){const _0x2abb4c=['63952gBkPPG','_univerInstanceService','_injector','xlink:href','getSkeleton','displayName','getRenderById','UNIVER_DOCS_PRINT','close','prepare','pageWidth','_initRenderer','menu','PRINTING_COMPONENT_COLLECT','colorChannel1','left','interceptor','fetchThroughInterceptors','_page','evenodd','_documents','children','page','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','mask','bottom','38644HBCKFK','substring','type','_key','1em','_effects','docs.operation.print','_engine','valid','path','10ppdgzl','isPro','86330IbaILP','getSkeletonData','Render\x20is\x20not\x20found','print-icon','onReady','replace','makeDirty','current','_renderManagerService','TRADITIONAL','http://www.w3.org/2000/svg','get','body','_addViewport','save','_root','PRINTING_DOM_COLLECT','getCurrentUnitOfType','_unitId','getConfig','trim','0\x200\x2016\x2016','2989986KTwqXC','_currentRender','pageHeight','_menuManagerService','_offsetConfig','defs','Skeleton\x20data\x20is\x20not\x20found','width','fill','url(#$1','forEach','getUnitId','_viewMain','toString','_globalZoneService','DocumentDataModel\x20is\x20not\x20found','idSuffix','24971210jkZjHZ','_componentManager','Portrait','map','parseInt','appendChild','registerCommand','entries','pages','removeChild','random','getCanvas','456agIwFL','__DocPrintRender__','_calculateLayout','tag','pluginName','currentColor','onStarting','OTHERS','0px','position','_configService','string','getOwnPropertyDescriptor','1188LOHNYb','_initComponents','dispose','mainComponent','_container','print','createElement','etixZrVi\x20RpxHgKZrVi(3rxpi9p,\x20KtA3rx8pg)\x20{\x20\x20\x20\x20ZHg\x20{\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x203rxpi9pPieVFnHZYHHng\x20=\x203rxpi9p.9K3rZ(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20VHrjrisp99njp\x20=\x20CaXb.KnH9p(nZVA(3rxpi9pPieVFnHZYHHng[2]));\x20\x20\x20\x20\x20\x20\x20\x20re\x20(!VHrjrisp99njp.tR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VHrjrisp99njp.tR\x20=\x20bt4ApH(3rxpi9pPieVFnHZYHHng[N]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20r9GVHJpH\x20=\x20ZgKpVe\x20GVHJpHh3VAn3axVKp\x20!==\x20\x27tiRperipR\x27\x20&&\x209p3e\x20ri9ZnixpVe\x20GVHJpHh3VAn3axVKp;\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20r95HVS9pH\x20=\x20ZgKpVe\x20SriRVS\x20!==\x20\x27tiRperipR\x27\x20&&\x20ZgKpVe\x20SriRVS.3VxnZrVi\x20!==\x20\x27tiRperipR\x27;\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20xViZpcZ\x20=\x20r9GVHJpH\x20?\x209p3e\x20:\x20(r95HVS9pH\x20?\x20SriRVS\x20:\x20j3VAn3Q0r9);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x204p99njpGVHR\x20=\x20xViZpcZ.__5n9pwN__.KnH9p(3rxpi9pPieVFnHZYHHng[2]);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x204p99njp\x20=\x20xViZpcZ.__Lpc__.9ZHrijreg(4p99njpGVHR);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x209rjinZtHpGVHR\x20=\x20xViZpcZ.__5n9pwN__.KnH9p(3rxpi9pPieVFnHZYHHng[D]);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x209rjinZtHp\x20=\x20xViZpcZ.__Lpc__.9ZHrijreg(9rjinZtHpGVHR);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x209rji1n3rR\x20=\x20xViZpcZ.__6pHreg__(9rjinZtHp,\x204p99njp,\x20KtA3rx8pg);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20RV4nri\x20=\x20VHrjrisp99njp.R4;\x20\x20\x20\x20\x20\x20\x20\x20etixZrVi\x20r9mV4nrisnZx0rij(VFnZZpHi,\x20VLV9Z)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20KnZZpHi\x20=\x20VFnZZpHi.HpK3nxp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x200V9Z\x20=\x20VLV9Z.HpK3nxp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20KnZZpHiFnHZ9\x20=\x20KnZZpHi.9K3rZ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x200V9ZFnHZ9\x20=\x200V9Z.9K3rZ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20re\x20(!KnZZpHi.rix3tRp9(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpZtHi\x20KnZZpHi\x20===\x200V9Z;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20re\x20(KnZZpHiFnHZ9.3pijZ0\x20<\x202\x20||\x20KnZZpHiFnHZ9[T]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpZtHi\x20en39p;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20KnZZpHiateerc\x20=\x20KnZZpHiFnHZ9.93rxp(M).lVri(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x200V9Zateerc\x20=\x200V9ZFnHZ9.93rxp(-KnZZpHiFnHZ9.3pijZ0\x20+\x20M).lVri(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpZtHi\x20KnZZpHiateerc\x20===\x200V9Zateerc;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203pZ\x20RV4nri1n3rR\x20=\x20en39p;\x20\x20\x20\x20\x20\x20\x20\x20re\x20(r95HVS9pH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RV4nri1n3rR\x20=\x20(RV4nri\x20&&\x20RV4nri.3pijZ0)\x20?\x20RV4nri.9V4p((R4PZp4)\x20=>\x20r9mV4nrisnZx0rij(R4PZp4,\x203VxnZrVi.0V9Zin4p))\x20:\x20ZHtp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20re\x20(3VxnZrVi.0V9Zin4p\x20===\x20\x273Vxn30V9Z\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RV4nri1n3rR\x20=\x20ZHtp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20p39p\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RV4nri1n3rR\x20=\x20ZHtp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x206n3rR\x20=\x209rji1n3rR\x20&&\x20RV4nri1n3rR;\x20\x20\x20\x20\x20\x20\x20\x20HpZtHi\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206n3rR,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204p99njp:\x20VHrjrisp99njp,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20xnZx0\x20(pHHVH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20HpZtHi\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206n3rR:\x20en39p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204p99njp:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','assign','315xsSbVl','univerjs-icon\x20univerjs-icon-','_paperSize','defineProperty','_addComponent','scale','PrintIcon','getContext','2525640iWzSDT','Pages\x20are\x20not\x20found','_commandService','print.menu','getDocumentStyle','use','addObject','_initMenus','height','syncExecuteCommand','getOffsetConfig','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','getInterceptPoints','timeValid','_scene','_skeletonData','svg','100%','absolute','right','symbol','documentFlavor','render','_skeleton','top','disposeWithMe','message','UNIVER_DOC','_config','461194FwOBnT','mergeMenu','length','none','_initCommands','setId','restore','Printing','className','updateScrollVal','attrs','onbeforeprint','style','translate','div'];_0x3485=function(){return _0x2abb4c;};return _0x3485();}const _0x2734cf=_0x4321;(function(_0x237e98,_0x1758e9){const _0x5d493a=_0x4321,_0x18c3bf=_0x237e98();while(!![]){try{const _0x52b376=parseInt(_0x5d493a(0x151))/0x1+parseInt(_0x5d493a(0x134))/0x2+parseInt(_0x5d493a(0x12c))/0x3*(parseInt(_0x5d493a(0xd7))/0x4)+-parseInt(_0x5d493a(0xe1))/0x5*(-parseInt(_0x5d493a(0xf9))/0x6)+-parseInt(_0x5d493a(0xbd))/0x7*(-parseInt(_0x5d493a(0x116))/0x8)+-parseInt(_0x5d493a(0x123))/0x9*(parseInt(_0x5d493a(0xe3))/0xa)+-parseInt(_0x5d493a(0x10a))/0xb;if(_0x52b376===_0x1758e9)break;else _0x18c3bf['push'](_0x18c3bf['shift']());}catch(_0x4cb01d){_0x18c3bf['push'](_0x18c3bf['shift']());}}}(_0x3485,0xce957));var z=Object[_0x2734cf(0x12f)],J=(_0x5a3565,_0x500681,_0x2e5b8a)=>_0x500681 in _0x5a3565?z(_0x5a3565,_0x500681,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e5b8a}):_0x5a3565[_0x500681]=_0x2e5b8a,a=(_0x5995ec,_0x40511f,_0x394a48)=>J(_0x5995ec,typeof _0x40511f!=_0x2734cf(0x148)?_0x40511f+'':_0x40511f,_0x394a48);import{Disposable as _0x5b6ab2,generateRandomId as _0x6376b,DisposableCollection as _0x551ea9,IUniverInstanceService as _0x1d7d48,Inject as _0x1bed45,Injector as _0x4ebc51,IConfigService as _0x236a91,UniverInstanceType as _0x180001,CommandType as _0x18ca01,ICommandService as _0x275db1,DocumentFlavor as _0x26f256,DependentOn as _0x4ac5f1,Plugin as _0x2da0b9,merge as _0x4609e0,registerDependencies as _0xfa7eff}from'@univerjs/core';function _0x4321(_0x202efc,_0x358295){_0x202efc=_0x202efc-0xbb;const _0x348523=_0x3485();let _0x4321e4=_0x348523[_0x202efc];return _0x4321e4;}import{DocPrintInterceptorService as _0x32c319,VIEWPORT_KEY as _0x4ea32e,SwitchDocModeCommand as _0x12f25d}from'@univerjs/docs-ui';import{IRenderManagerService as _0x2f6d86,Engine as _0x49acdf,CanvasRenderMode as _0x5be4f0,Scene as _0xef305c,Documents as _0x45ae66,Viewport as _0x5f44e6}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x4bb2bf,isLocalCheck as _0xba7e9d,unshiftString as _0x19132a,isFeatureAuthorizedWithinTime as _0x49df62,getDocFeatureLimit as _0x35ee7d,UniverLicensePlugin as _0x24c36d}from'@univerjs-pro/license';import{PRINT_CONTAINER_CLASS as _0x216f99,PRINT_CANVAS_CLASS as _0x2af329,createPrintStyle as _0x37c134,PrintDirection as _0x57668c}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x2d74b2}from'@univerjs/docs';import{IGlobalZoneService as _0x4e6a86,getMenuHiddenObservable as _0x2c5b8b,MenuItemType as _0x33f9a4,RibbonStartGroup as _0xcdd477,IMenuManagerService as _0x64145e,ComponentManager as _0x8c93ae}from'@univerjs/ui';import{UniverNetworkPlugin as _0x2c03e6}from'@univerjs/network';import{useRef as _0x455c3e,createElement as _0x22d356,forwardRef as _0x4e8767}from'react';const we={0x0:'h',0x1:'V',0x2:'2',0x3:'l',0x4:'m',0x5:'B',0x6:'v',0x7:'q',0x8:'K',0x9:'s','T':'0','M':'1','D':'3','N':'4','E':'5','w':'6','I':'7','U':'8','o':'9','n':'a','A':'b','x':'c','R':'d','p':'e','e':'f','j':'g','r':'i','l':'j','J':'k','i':'n','V':'o','K':'p','H':'r','Z':'t','t':'u','S':'w','c':'x','g':'y','y':'z','Y':'A','B':'C','m':'D','u':'E','z':'F','h':'G','L':'H','P':'I','C':'J','q':'L','s':'M','b':'N','X':'O','F':'P','v':'Q','O':'R','a':'S','Q':'T','k':'U','G':'W','f':'X','d':'Y','W':'Z'},Pe=_0x2734cf(0x12a);class De extends _0x5b6ab2{constructor(_0x2991b9,_0x4391db,_0x489074,_0x285573){const _0x43364a=_0x2734cf;super(),a(this,_0x43364a(0x127),document[_0x43364a(0x129)](_0x43364a(0xbc))),a(this,_0x43364a(0xf2),document['createElement']('div')),a(this,'_engine'),a(this,_0x43364a(0x142)),a(this,_0x43364a(0xda)),a(this,_0x43364a(0xd1)),a(this,_0x43364a(0x105)),a(this,_0x43364a(0xdc),new _0x551ea9()),(this[_0x43364a(0xbf)]=_0x2991b9,this['_page']=_0x4391db,this[_0x43364a(0xf5)]=_0x489074,this[_0x43364a(0xfd)]=_0x285573,this[_0x43364a(0xda)]=_0x6376b(0x4),this[_0x43364a(0xc8)](),this[_0x43364a(0x14d)]({'dispose':()=>{const _0x45074c=_0x43364a;this['_engine'][_0x45074c(0x125)](),this[_0x45074c(0x142)][_0x45074c(0x125)](),this[_0x45074c(0xdc)][_0x45074c(0x125)]();}}));}get['container'](){const _0x18d065=_0x2734cf;return this[_0x18d065(0x127)];}get['root'](){const _0x8c94fa=_0x2734cf;return this[_0x8c94fa(0xf2)];}get[_0x2734cf(0xfa)](){const _0x2018c6=_0x2734cf,_0x188e48=this['_injector'][_0x2018c6(0xee)](_0x2f6d86)['getRenderById'](this[_0x2018c6(0xf5)]);if(!_0x188e48)throw new Error(_0x2018c6(0xe5));return _0x188e48;}get[_0x2734cf(0x14b)](){const _0x2467f9=_0x2734cf;return this['_currentRender']['with'](_0x2d74b2)[_0x2467f9(0xc1)]();}get[_0x2734cf(0x143)](){const _0x25078a=_0x2734cf,_0x39d520=this[_0x25078a(0x14b)][_0x25078a(0xe4)]();if(!_0x39d520)throw new Error(_0x25078a(0xff));return _0x39d520;}get[_0x2734cf(0x12e)](){const _0x3f4f2f=_0x2734cf,_0x18abdf=this[_0x3f4f2f(0x143)]['pages'][0x0];return{'width':_0x18abdf[_0x3f4f2f(0xc7)],'height':_0x18abdf[_0x3f4f2f(0xfb)]};}[_0x2734cf(0x118)](){const _0x324655=_0x2734cf,{docsTop:_0x5eb178,docsLeft:_0x308bf8}=this[_0x324655(0xd1)][_0x324655(0x13e)](),_0x5826bf=this['_paperSize'][_0x324655(0x13c)],_0x48ec15=this[_0x324655(0x12e)]['width'];return{'top':_0x5eb178+(_0x5eb178+_0x5826bf)*this[_0x324655(0xcf)],'bottom':_0x5eb178+(_0x5eb178+_0x5826bf)*(this['_page']+0x1),'left':_0x308bf8,'right':_0x308bf8+_0x48ec15};}[_0x2734cf(0xc8)](){const _0x3a34ef=_0x2734cf;this[_0x3a34ef(0xde)]=new _0x49acdf('',{'elementWidth':this[_0x3a34ef(0x12e)][_0x3a34ef(0x100)],'elementHeight':this[_0x3a34ef(0x12e)][_0x3a34ef(0x13c)],'dpr':0x1,'renderMode':_0x5be4f0[_0x3a34ef(0x158)]}),this['_scene']=new _0xef305c(this[_0x3a34ef(0xda)],this[_0x3a34ef(0xde)]),this[_0x3a34ef(0x142)][_0x3a34ef(0x131)](0x1,0x1),this[_0x3a34ef(0xde)]['setContainer'](this['_container'],!0x1),this[_0x3a34ef(0xde)][_0x3a34ef(0x115)]()[_0x3a34ef(0x133)]()[_0x3a34ef(0x156)](this[_0x3a34ef(0xda)]+'_'+_0x6376b(0x4)),this['_addComponent'](),this[_0x3a34ef(0xf0)]();}[_0x2734cf(0x130)](){const _0x3ee5c5=_0x2734cf,{pageMarginLeft:_0x1a0589,pageMarginTop:_0x259a3a,docsLeft:_0x46e65b,docsTop:_0x38d189}=this[_0x3ee5c5(0xfd)],_0x15ed90={'pageMarginLeft':_0x1a0589,'pageMarginTop':_0x259a3a},_0x4be516=new _0x45ae66(_0x3ee5c5(0x117),this[_0x3ee5c5(0x14b)],_0x15ed90);_0x4be516[_0x3ee5c5(0xbb)](_0x46e65b,_0x38d189),this[_0x3ee5c5(0x142)][_0x3ee5c5(0x13a)](_0x4be516),this[_0x3ee5c5(0xd1)]=_0x4be516;const _0x28cee2=this[_0x3ee5c5(0xbf)][_0x3ee5c5(0xee)](_0x32c319);_0x28cee2[_0x3ee5c5(0xcd)][_0x3ee5c5(0xce)](_0x28cee2['interceptor'][_0x3ee5c5(0x140)]()[_0x3ee5c5(0xca)])(void 0x0,{'unitId':this[_0x3ee5c5(0xf5)],'scene':this['_scene'],'engine':this[_0x3ee5c5(0xde)],'root':this[_0x3ee5c5(0xf2)],'documents':this[_0x3ee5c5(0xd1)],'skeleton':this[_0x3ee5c5(0x14b)]});}[_0x2734cf(0xf0)](){const _0x22188e=_0x2734cf;this[_0x22188e(0x105)]=new _0x5f44e6(_0x4ea32e['VIEW_MAIN'],this[_0x22188e(0x142)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x2734cf(0xc6)](){const _0x3a5f3f=_0x2734cf,_0x28dcd1=this[_0x3a5f3f(0x118)]();this[_0x3a5f3f(0x105)][_0x3a5f3f(0x15a)]({'viewportScrollX':_0x28dcd1[_0x3a5f3f(0xcc)],'viewportScrollY':_0x28dcd1['top']}),this[_0x3a5f3f(0xf2)][_0x3a5f3f(0x15d)][_0x3a5f3f(0x11f)]=_0x3a5f3f(0x146),this[_0x3a5f3f(0xf2)][_0x3a5f3f(0x15d)][_0x3a5f3f(0x14c)]=_0x3a5f3f(0x11e),this[_0x3a5f3f(0xf2)][_0x3a5f3f(0x15d)][_0x3a5f3f(0xcc)]='0px',this[_0x3a5f3f(0xf2)][_0x3a5f3f(0x15d)][_0x3a5f3f(0x100)]=_0x3a5f3f(0x145),this['_root']['style'][_0x3a5f3f(0x13c)]='100%',this[_0x3a5f3f(0xdc)]=new _0x551ea9();const _0x4d0fac=this['_injector'][_0x3a5f3f(0xee)](_0x32c319);_0x4d0fac[_0x3a5f3f(0xcd)][_0x3a5f3f(0xce)](_0x4d0fac[_0x3a5f3f(0xcd)][_0x3a5f3f(0x140)]()[_0x3a5f3f(0xf3)])(this[_0x3a5f3f(0xdc)],{'unitId':this[_0x3a5f3f(0xf5)],'scene':this[_0x3a5f3f(0x142)],'engine':this[_0x3a5f3f(0xde)],'root':this['_root'],'skeleton':this[_0x3a5f3f(0x14b)],'offset':{'x':_0x28dcd1[_0x3a5f3f(0xcc)],'y':_0x28dcd1[_0x3a5f3f(0x14c)]},'bound':{'top':_0x28dcd1[_0x3a5f3f(0x14c)],'left':_0x28dcd1[_0x3a5f3f(0xcc)],'right':_0x28dcd1[_0x3a5f3f(0x147)],'bottom':_0x28dcd1[_0x3a5f3f(0xd6)]}});}[_0x2734cf(0x14a)](){const _0xbf1cf3=_0x2734cf,_0x4612ba=this['_engine'][_0xbf1cf3(0x115)]()[_0xbf1cf3(0x133)]();this[_0xbf1cf3(0xd1)]['makeForceDirty'](),this[_0xbf1cf3(0x142)][_0xbf1cf3(0xe9)](),_0x4612ba[_0xbf1cf3(0xf1)](),this[_0xbf1cf3(0x142)]['render'](),_0x4612ba[_0xbf1cf3(0x157)]();}}var je=Object[_0x2734cf(0x122)],ye=(_0x2f10c7,_0x21b53c,_0x4f847f,_0x16ba48)=>{const _0x312aa5=_0x2734cf;for(var _0x32f3d3=_0x16ba48>0x1?void 0x0:_0x16ba48?je(_0x21b53c,_0x4f847f):_0x21b53c,_0x1378d7=_0x2f10c7[_0x312aa5(0x153)]-0x1,_0x38873e;_0x1378d7>=0x0;_0x1378d7--)(_0x38873e=_0x2f10c7[_0x1378d7])&&(_0x32f3d3=_0x38873e(_0x32f3d3)||_0x32f3d3);return _0x32f3d3;},g=(_0x47c546,_0x15fd63)=>(_0x3bb0a0,_0x4d6dd7)=>_0x15fd63(_0x3bb0a0,_0x4d6dd7,_0x47c546);const Me=Number[_0x2734cf(0x10e)](0x693be097),Ne=0x1,Oe=(_0x5c3c79,_0x3f53c9,_0x7ab2da)=>{const _0x38a7fd=_0x2734cf,_0x1d3e2a={'page':_0x5c3c79,'isPro':!0x1,'timeValid':!0x1};if(!_0x3f53c9||!_0x7ab2da)return _0x1d3e2a;const _0xcbe88c=_0x19132a(Pe,we),_0x62f2d5=new Function('return\x20'+_0xcbe88c)()(_0x3f53c9,_0x7ab2da);if(_0x62f2d5[_0x38a7fd(0xdf)]){const _0x3ac860=_0x62f2d5[_0x38a7fd(0x14e)],_0xa70749=_0x49df62(_0x3ac860,'df',Me);_0x1d3e2a[_0x38a7fd(0xe2)]=_0xa70749,_0x1d3e2a[_0x38a7fd(0x141)]=_0xa70749;const _0x13e01e=0x0;_0x1d3e2a[_0x38a7fd(0xd3)]=_0x35ee7d(_0x3ac860,_0xa70749,'mpn',_0x5c3c79,_0x5c3c79,_0x13e01e);}return _0x1d3e2a;};let u=class extends _0x5b6ab2{constructor(_0x3837a0,_0x3a5b04,_0x340b46,_0x2ee4e6,_0x23f765){const _0x1f0b17=_0x2734cf;super(),this[_0x1f0b17(0xbe)]=_0x3837a0,this['_renderManagerService']=_0x3a5b04,this[_0x1f0b17(0xbf)]=_0x340b46,this['_configService']=_0x2ee4e6,this['_globalZoneService']=_0x23f765;}[_0x2734cf(0x128)](_0x48de0d){const _0xc1bd0a=_0x2734cf;var _0xd5c188,_0x423c6a;const _0x4c61a5=(_0xd5c188=this[_0xc1bd0a(0x120)][_0xc1bd0a(0xf6)](_0x4bb2bf))!=null?_0xd5c188:{},{ls:_0xa05c07,pbk:_0x3b1c43}=_0x4c61a5,_0x1315fa=_0xba7e9d()?Number['POSITIVE_INFINITY']:Oe(Ne,_0xa05c07,_0x3b1c43)['page'];if(!this['_univerInstanceService']['getUnit'](_0x48de0d,_0x180001[_0xc1bd0a(0x14f)]))throw new Error(_0xc1bd0a(0x108));const _0x3f7c3e=this[_0xc1bd0a(0xeb)][_0xc1bd0a(0xc3)](_0x48de0d);if(!_0x3f7c3e)throw new Error('Render\x20is\x20not\x20found');const _0x451837=(_0x423c6a=_0x3f7c3e['with'](_0x2d74b2)[_0xc1bd0a(0xc1)]()['getSkeletonData']())==null?void 0x0:_0x423c6a[_0xc1bd0a(0x112)];if(!_0x451837)throw new Error(_0xc1bd0a(0x135));const _0x419fba={'width':_0x451837[0x0][_0xc1bd0a(0xc7)],'height':_0x451837[0x0][_0xc1bd0a(0xfb)]},_0x539567=_0x451837[_0xc1bd0a(0x153)],_0x338728=Math['min'](_0x1315fa,_0x539567),_0x3a727f=_0x3f7c3e[_0xc1bd0a(0x126)][_0xc1bd0a(0x13e)](),_0x393183=document['createElement'](_0xc1bd0a(0xbc));_0x393183['className']=_0x216f99;const _0x56db41=new Array(_0x338728)[_0xc1bd0a(0x101)](null)[_0xc1bd0a(0x10d)]((_0x4f9f00,_0x3687a7)=>{const _0x5f30c1=_0xc1bd0a,_0x1d7148=new De(this[_0x5f30c1(0xbf)],_0x3687a7,_0x48de0d,_0x3a727f);return _0x1d7148['container'][_0x5f30c1(0x159)]=_0x2af329,_0x1d7148;});_0x56db41[_0xc1bd0a(0x103)](_0x2c2ddb=>{const _0x4355df=_0xc1bd0a;_0x393183['appendChild'](_0x2c2ddb['container']),_0x2c2ddb['container'][_0x4355df(0x10f)](_0x2c2ddb['root']),_0x2c2ddb['prepare']();});const _0x2946ad=_0x37c134(_0x419fba[_0xc1bd0a(0x100)],_0x419fba[_0xc1bd0a(0x13c)],_0x57668c[_0xc1bd0a(0x10c)]);return document[_0xc1bd0a(0xef)]['appendChild'](_0x2946ad),document[_0xc1bd0a(0xef)][_0xc1bd0a(0x10f)](_0x393183),new Promise(_0x5b322=>{setTimeout(()=>{const _0x1e4c67=_0x4321;window[_0x1e4c67(0x15c)]=()=>{const _0x25de78=_0x1e4c67;_0x56db41[_0x25de78(0x103)](_0x2036c2=>{const _0x10063b=_0x25de78;_0x2036c2[_0x10063b(0x14a)]();});},window['onafterprint']=()=>{const _0x14f550=_0x1e4c67;_0x56db41[_0x14f550(0x103)](_0x3dd4a8=>{const _0x428028=_0x14f550;_0x3dd4a8[_0x428028(0x125)]();}),document[_0x14f550(0xef)][_0x14f550(0x113)](_0x393183),document[_0x14f550(0xef)][_0x14f550(0x113)](_0x2946ad),this[_0x14f550(0x107)][_0x14f550(0xc5)](),_0x5b322(!0x0);},window['print']();},0x64);});}};u=ye([g(0x0,_0x1d7d48),g(0x1,_0x2f6d86),g(0x2,_0x1bed45(_0x4ebc51)),g(0x3,_0x236a91),g(0x4,_0x4e6a86)],u);const v={'id':_0x2734cf(0xdd),'type':_0x18ca01['OPERATION'],'handler':async _0x3ea86d=>{const _0x209828=_0x2734cf,_0x2e5388=_0x3ea86d[_0x209828(0xee)](_0x1d7d48),_0x2cbc61=_0x3ea86d['get'](u),_0x1dd32b=_0x3ea86d[_0x209828(0xee)](_0x2f6d86),_0x20a3c0=_0x3ea86d[_0x209828(0xee)](_0x275db1),_0x438a8b=_0x2e5388[_0x209828(0xf4)](_0x180001[_0x209828(0x14f)]);if(!_0x438a8b)return!0x1;if(!_0x1dd32b[_0x209828(0xc3)](_0x438a8b[_0x209828(0x104)]()))throw new Error('Render\x20is\x20not\x20found');const _0xaba6df=_0x438a8b[_0x209828(0x138)]()[_0x209828(0x149)];return _0xaba6df!==_0x26f256[_0x209828(0xec)]&&_0x20a3c0[_0x209828(0x13d)](_0x12f25d['id']),await _0x2cbc61[_0x209828(0x128)](_0x438a8b['getUnitId']()),_0xaba6df!==_0x26f256[_0x209828(0xec)]&&_0x20a3c0[_0x209828(0x13d)](_0x12f25d['id']),!0x0;}},Ee='UNIVER_DOCS_PRINT',O={},Le=_0x2734cf(0xc4);function U({ref:_0x75227f,..._0x400260}){const _0x400acc=_0x2734cf,{icon:_0x3dea5f,id:_0x31892e,className:_0x45fcdc,extend:_0x1bd5ff,..._0x492612}=_0x400260,_0x4b13f1=(_0x400acc(0x12d)+_0x31892e+'\x20'+(_0x45fcdc||''))[_0x400acc(0xf7)](),_0x19fa99=_0x455c3e('_'+Fe());return k(_0x3dea5f,''+_0x31892e,{'defIds':_0x3dea5f['defIds'],'idSuffix':_0x19fa99[_0x400acc(0xea)]},{'ref':_0x75227f,'className':_0x4b13f1,..._0x492612},_0x1bd5ff);}function k(_0x4b9a2b,_0x47ee83,_0x24ddde,_0x41399c,_0x5b8dfe){const _0x132343=_0x2734cf;return _0x22d356(_0x4b9a2b['tag'],{'key':_0x47ee83,...Te(_0x4b9a2b,_0x24ddde,_0x5b8dfe),..._0x41399c},(be(_0x4b9a2b,_0x24ddde)[_0x132343(0xd2)]||[])['map']((_0x5e6b3c,_0x2e3d2f)=>k(_0x5e6b3c,_0x47ee83+'-'+_0x4b9a2b[_0x132343(0x119)]+'-'+_0x2e3d2f,_0x24ddde,void 0x0,_0x5b8dfe)));}function Te(_0x2b1dee,_0x59750b,_0x3b6412){const _0xfc3286=_0x2734cf,_0x437682={..._0x2b1dee[_0xfc3286(0x15b)]};_0x3b6412!=null&&_0x3b6412[_0xfc3286(0xcb)]&&_0x437682[_0xfc3286(0x101)]===_0xfc3286(0xcb)&&(_0x437682[_0xfc3286(0x101)]=_0x3b6412['colorChannel1']),_0x2b1dee[_0xfc3286(0x119)]===_0xfc3286(0xd5)&&_0x437682['id']&&(_0x437682['id']=_0x437682['id']+_0x59750b[_0xfc3286(0x109)]),Object[_0xfc3286(0x111)](_0x437682)[_0xfc3286(0x103)](([_0x2497ee,_0xf6da30])=>{const _0x1bbf15=_0xfc3286;_0x2497ee===_0x1bbf15(0xd5)&&typeof _0xf6da30==_0x1bbf15(0x121)&&(_0x437682[_0x2497ee]=_0xf6da30['replace'](/url\(#(.*)\)/,_0x1bbf15(0x102)+_0x59750b[_0x1bbf15(0x109)]+')'));});const {defIds:_0xbc575}=_0x59750b;return!_0xbc575||_0xbc575[_0xfc3286(0x153)]===0x0||(_0x2b1dee[_0xfc3286(0x119)]===_0xfc3286(0x139)&&_0x437682[_0xfc3286(0xc0)]&&(_0x437682[_0xfc3286(0xc0)]=_0x437682[_0xfc3286(0xc0)]+_0x59750b[_0xfc3286(0x109)]),Object[_0xfc3286(0x111)](_0x437682)['forEach'](([_0x2f043d,_0x1292ed])=>{const _0x33446c=_0xfc3286;typeof _0x1292ed==_0x33446c(0x121)&&(_0x437682[_0x2f043d]=_0x1292ed[_0x33446c(0xe8)](/url\(#(.*)\)/,'url(#$1'+_0x59750b[_0x33446c(0x109)]+')'));})),_0x437682;}function be(_0x3e7f54,_0x25197a){const _0x2d4c20=_0x2734cf;var _0x104f2;const {defIds:_0x4270cb}=_0x25197a;return!_0x4270cb||_0x4270cb[_0x2d4c20(0x153)]===0x0?_0x3e7f54:_0x3e7f54[_0x2d4c20(0x119)]===_0x2d4c20(0xfe)&&((_0x104f2=_0x3e7f54[_0x2d4c20(0xd2)])!=null&&_0x104f2[_0x2d4c20(0x153)])?{..._0x3e7f54,'children':_0x3e7f54['children']['map'](_0x4177a7=>typeof _0x4177a7['attrs']['id']==_0x2d4c20(0x121)&&_0x4270cb&&_0x4270cb['includes'](_0x4177a7[_0x2d4c20(0x15b)]['id'])?{..._0x4177a7,'attrs':{..._0x4177a7[_0x2d4c20(0x15b)],'id':_0x4177a7[_0x2d4c20(0x15b)]['id']+_0x25197a[_0x2d4c20(0x109)]}}:_0x4177a7)}:_0x3e7f54;}function Fe(){const _0x546fa1=_0x2734cf;return Math[_0x546fa1(0x114)]()[_0x546fa1(0x106)](0x24)[_0x546fa1(0xd8)](0x2,0x8);}U[_0x2734cf(0xc2)]='UniverIcon';const Ke={'tag':_0x2734cf(0x144),'attrs':{'xmlns':_0x2734cf(0xed),'fill':_0x2734cf(0x154),'viewBox':_0x2734cf(0xf8),'width':_0x2734cf(0xdb),'height':'1em'},'children':[{'tag':_0x2734cf(0xe0),'attrs':{'fill':_0x2734cf(0x11b),'d':_0x2734cf(0x13f)}},{'tag':_0x2734cf(0xe0),'attrs':{'fill':_0x2734cf(0x11b),'d':_0x2734cf(0xd4),'fillRule':_0x2734cf(0xd0),'clipRule':_0x2734cf(0xd0)}}]},$=_0x4e8767(function(_0x47b4a0,_0x41cf1a){const _0x217b8d=_0x2734cf;return _0x22d356(U,Object[_0x217b8d(0x12b)]({},_0x47b4a0,{'id':_0x217b8d(0xe6),'ref':_0x41cf1a,'icon':Ke}));});$['displayName']=_0x2734cf(0x132);function Ae(_0x356321){const _0x57c292=_0x2734cf;return{'id':v['id'],'type':_0x33f9a4['BUTTON'],'title':_0x57c292(0x137),'icon':_0x57c292(0x132),'tooltip':_0x57c292(0x137),'hidden$':_0x2c5b8b(_0x356321,_0x180001[_0x57c292(0x14f)])};}const Ue={[_0xcdd477[_0x2734cf(0x11d)]]:{[v['id']]:{'order':0.1,'menuItemFactory':Ae}}};var ke=Object['getOwnPropertyDescriptor'],$e=(_0x4c4a31,_0x4aa083,_0x336b4c,_0x3fe9d9)=>{const _0x16a7cb=_0x2734cf;for(var _0x3aec0b=_0x3fe9d9>0x1?void 0x0:_0x3fe9d9?ke(_0x4aa083,_0x336b4c):_0x4aa083,_0x2bdff0=_0x4c4a31[_0x16a7cb(0x153)]-0x1,_0x412d03;_0x2bdff0>=0x0;_0x2bdff0--)(_0x412d03=_0x4c4a31[_0x2bdff0])&&(_0x3aec0b=_0x412d03(_0x3aec0b)||_0x3aec0b);return _0x3aec0b;},H=(_0x1ddaaa,_0x486ef4)=>(_0x2c43b0,_0x59b667)=>_0x486ef4(_0x2c43b0,_0x59b667,_0x1ddaaa);let f=class extends _0x5b6ab2{constructor(_0x1c8abb,_0x223109,_0x490859){const _0x23f430=_0x2734cf;super(),this['_commandService']=_0x1c8abb,this[_0x23f430(0xfc)]=_0x223109,this[_0x23f430(0x10b)]=_0x490859,this[_0x23f430(0x13b)](),this[_0x23f430(0x155)](),this[_0x23f430(0x124)]();}[_0x2734cf(0x13b)](){const _0x33e0d4=_0x2734cf;this[_0x33e0d4(0xfc)][_0x33e0d4(0x152)](Ue);}['_initCommands'](){const _0x123ed9=_0x2734cf;this['disposeWithMe'](this[_0x123ed9(0x136)][_0x123ed9(0x110)](v));}[_0x2734cf(0x124)](){const _0x2705bd=_0x2734cf;[[_0x2705bd(0x132),$]][_0x2705bd(0x103)](([_0x20f366,_0x15812b])=>{this['_componentManager']['register'](_0x20f366,_0x15812b);});}};f=$e([H(0x0,_0x275db1),H(0x1,_0x64145e),H(0x2,_0x1bed45(_0x8c93ae))],f);var Ge=Object[_0x2734cf(0x12f)],We=Object[_0x2734cf(0x122)],Ye=(_0x3659d6,_0x5a66a8,_0x307ad2)=>_0x5a66a8 in _0x3659d6?Ge(_0x3659d6,_0x5a66a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x307ad2}):_0x3659d6[_0x5a66a8]=_0x307ad2,Be=(_0x12592d,_0x1aafc9,_0x3951ab,_0x540647)=>{const _0x1def18=_0x2734cf;for(var _0x23df74=_0x540647>0x1?void 0x0:_0x540647?We(_0x1aafc9,_0x3951ab):_0x1aafc9,_0x511951=_0x12592d[_0x1def18(0x153)]-0x1,_0x530c8d;_0x511951>=0x0;_0x511951--)(_0x530c8d=_0x12592d[_0x511951])&&(_0x23df74=_0x530c8d(_0x23df74)||_0x23df74);return _0x23df74;},E=(_0x46d8a6,_0x2ba77f)=>(_0x35c7a2,_0x184ddc)=>_0x2ba77f(_0x35c7a2,_0x184ddc,_0x46d8a6),G=(_0x411f9b,_0x4f94ff,_0x5deee7)=>Ye(_0x411f9b,typeof _0x4f94ff!='symbol'?_0x4f94ff+'':_0x4f94ff,_0x5deee7);let m=class extends _0x2da0b9{constructor(_0x1ec1d6=O,_0x35231e,_0x17583b){const _0x2a9bb4=_0x2734cf;super(),this[_0x2a9bb4(0x150)]=_0x1ec1d6,this['_injector']=_0x35231e,this[_0x2a9bb4(0x120)]=_0x17583b;const {menu:_0x28052f,..._0x324f23}=_0x4609e0({},O,this['_config']);_0x28052f&&this[_0x2a9bb4(0x120)]['setConfig'](_0x2a9bb4(0xc9),_0x28052f,{'merge':!0x0}),this['_configService']['setConfig'](Ee,_0x324f23);}[_0x2734cf(0x11c)](){_0xfa7eff(this['_injector'],[[u],[f]]);}[_0x2734cf(0xe7)](){const _0x4b599a=_0x2734cf;this[_0x4b599a(0xbf)][_0x4b599a(0xee)](f);}};G(m,_0x2734cf(0x11a),Le),G(m,_0x2734cf(0xd9),_0x180001[_0x2734cf(0x14f)]),m=Be([_0x4ac5f1(_0x2c03e6,_0x24c36d),E(0x1,_0x1bed45(_0x4ebc51)),E(0x2,_0x236a91)],m);export{Ee as DOCS_PRINT_PLUGIN_CONFIG_KEY,v as DocPrintOperation,m as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x5c8275=_0x3c4a;function _0x2afd(){const _0x144491=['getOffsetConfig','getCurrentUnitOfType','Portrait','_initMenus','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','_skeleton','_menuManagerService','print-icon','map','1023052UzLRWJ','PRINTING_COMPONENT_COLLECT','_documents','height','random','BUTTON','UNIVER_DOCS_PRINT','getUnitId','render','534hhZDah','registerCommand','_skeletonData','prepare','updateScrollVal','defIds','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','_globalZoneService','top','symbol','_calculateLayout','colorChannel1','makeDirty','_univerInstanceService','_renderManagerService','root','PrintIcon','_currentRender','getConfig','TRADITIONAL','translate','current','getSkeleton','setConfig','_initCommands','toString','61380GOtadF','get','3VRHQny','with','pageWidth','width','scale','page','url(#$1','svg','__DocPrintRender__','mask','timeValid','_key','xlink:href','_paperSize','Pages\x20are\x20not\x20found','6vbrRpx','getCanvas','pluginName','getDocumentStyle','getContext','Render\x20is\x20not\x20found','49983PcPJmI','register','interceptor','entries','mainComponent','disposeWithMe','path','_addViewport','div','0px','body','left','type','Skeleton\x20data\x20is\x20not\x20found','print.menu','idSuffix','UNIVER_DOC','3945xkWJqP','_componentManager','appendChild','parseInt','_effects','docs.operation.print','dispose','_unitId','createElement','assign','onafterprint','OPERATION','_viewMain','save','close','syncExecuteCommand','fill','includes','pages','VIEW_MAIN','_injector','_root','mergeMenu','PRINTING_DOM_COLLECT','restore','attrs','http://www.w3.org/2000/svg','pageHeight','_commandService','0\x200\x2016\x2016','className','_initComponents','1em','_addComponent','setContainer','_page','string','none','_offsetConfig','currentColor','children','425390nifUFU','UniverIcon','tag','YWpvjlJp\x20IFvqe7jlJp(hlvFpHF,\x207WbhlvkFe)\x20{\x20\x20\x20\x20jqe\x20{\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20hlvFpHFApYJfaqj1qqae\x20=\x20hlvFpHF.H7hlj(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20JqlLlpZFHHaLF\x20=\x20ri3t.7aqHF(ajJb(hlvFpHFApYJfaqj1qqae[V]));\x20\x20\x20\x20\x20\x20\x20\x20lY\x20(!JqlLlpZFHHaLF.WI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JqlLlpZFHHaLF.WI\x20=\x20tWCbFq(hlvFpHFApYJfaqj1qqae[g]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20lHnJq2Fq\x20=\x20je7FJY\x20nJq2FqXhJbahivJ7F\x20!==\x20\x27WpIFYlpFI\x27\x20&&\x20HFhY\x20lpHjapvFJY\x20nJq2FqXhJbahivJ7F;\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20lHyqJdHFq\x20=\x20je7FJY\x20dlpIJd\x20!==\x20\x27WpIFYlpFI\x27\x20&&\x20je7FJY\x20dlpIJd.hJvajlJp\x20!==\x20\x27WpIFYlpFI\x27;\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20vJpjFNj\x20=\x20lHnJq2Fq\x20?\x20HFhY\x20:\x20(lHyqJdHFq\x20?\x20dlpIJd\x20:\x20LhJbah6slH);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20CFHHaLFnJqI\x20=\x20vJpjFNj.__yaHFGg__.7aqHF(hlvFpHFApYJfaqj1qqae[V]);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20CFHHaLF\x20=\x20vJpjFNj.__PFN__.HjqlpLlYe(CFHHaLFnJqI);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20HlLpajWqFnJqI\x20=\x20vJpjFNj.__yaHFGg__.7aqHF(hlvFpHFApYJfaqj1qqae[T]);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20HlLpajWqF\x20=\x20vJpjFNj.__PFN__.HjqlpLlYe(HlLpajWqFnJqI);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20HlLpoahlI\x20=\x20vJpjFNj.__cFqlYe__(HlLpajWqF,\x20CFHHaLF,\x207WbhlvkFe);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20IJCalp\x20=\x20JqlLlpZFHHaLF.IC;\x20\x20\x20\x20\x20\x20\x20\x20YWpvjlJp\x20lHQJCalpZajvslpL(JfajjFqp,\x20JPJHj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x207ajjFqp\x20=\x20JfajjFqp.qF7havF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20sJHj\x20=\x20JPJHj.qF7havF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x207ajjFqpfaqjH\x20=\x207ajjFqp.H7hlj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20sJHjfaqjH\x20=\x20sJHj.H7hlj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lY\x20(!7ajjFqp.lpvhWIFH(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qFjWqp\x207ajjFqp\x20===\x20sJHj;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lY\x20(7ajjFqpfaqjH.hFpLjs\x20<\x20V\x20||\x207ajjFqpfaqjH[D]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qFjWqp\x20YahHF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x207ajjFqpiWYYlN\x20=\x207ajjFqpfaqjH.HhlvF(u).9Jlp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20sJHjiWYYlN\x20=\x20sJHjfaqjH.HhlvF(-7ajjFqpfaqjH.hFpLjs\x20+\x20u).9Jlp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qFjWqp\x207ajjFqpiWYYlN\x20===\x20sJHjiWYYlN;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hFj\x20IJCalpoahlI\x20=\x20YahHF;\x20\x20\x20\x20\x20\x20\x20\x20lY\x20(lHyqJdHFq)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IJCalpoahlI\x20=\x20(IJCalp\x20&&\x20IJCalp.hFpLjs)\x20?\x20IJCalp.HJCF((ICAjFC)\x20=>\x20lHQJCalpZajvslpL(ICAjFC,\x20hJvajlJp.sJHjpaCF))\x20:\x20jqWF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lY\x20(hJvajlJp.sJHjpaCF\x20===\x20\x27hJvahsJHj\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IJCalpoahlI\x20=\x20jqWF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20FhHF\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IJCalpoahlI\x20=\x20jqWF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20cahlI\x20=\x20HlLpoahlI\x20&&\x20IJCalpoahlI;\x20\x20\x20\x20\x20\x20\x20\x20qFjWqp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cahlI,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CFHHaLF:\x20JqlLlpZFHHaLF,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20vajvs\x20(FqqJq)\x20{\x20\x20\x20\x20\x20\x20\x20\x20qFjWqp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cahlI:\x20YahHF,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CFHHaLF:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','valid','length','substring','trim','container','onReady','absolute','return\x20','print','mpn','_scene','onStarting','_configService','_container','360vKVcMS','_config','652488eFLfNa','getOwnPropertyDescriptor','displayName','11Nzfzhr','Printing','removeChild','defineProperty','61440PKIKlv','style','getRenderById','getInterceptPoints','forEach','evenodd','100%','_engine','bottom'];_0x2afd=function(){return _0x144491;};return _0x2afd();}(function(_0x40dc40,_0x3ccc83){const _0x4977da=_0x3c4a,_0xc5d63f=_0x40dc40();while(!![]){try{const _0xd42c75=parseInt(_0x4977da(0x1b9))/0x1*(parseInt(_0x4977da(0x1b3))/0x2)+-parseInt(_0x4977da(0x1a4))/0x3*(-parseInt(_0x4977da(0x220))/0x4)+parseInt(_0x4977da(0x1ca))/0x5*(parseInt(_0x4977da(0x229))/0x6)+parseInt(_0x4977da(0x1f3))/0x7+-parseInt(_0x4977da(0x207))/0x8+-parseInt(_0x4977da(0x205))/0x9*(parseInt(_0x4977da(0x20e))/0xa)+parseInt(_0x4977da(0x20a))/0xb*(parseInt(_0x4977da(0x243))/0xc);if(_0xd42c75===_0x3ccc83)break;else _0xc5d63f['push'](_0xc5d63f['shift']());}catch(_0x4d3384){_0xc5d63f['push'](_0xc5d63f['shift']());}}}(_0x2afd,0x345e1));var B=Object[_0x5c8275(0x20d)],z=(_0x5d4eba,_0x1cb29b,_0x59fca6)=>_0x1cb29b in _0x5d4eba?B(_0x5d4eba,_0x1cb29b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59fca6}):_0x5d4eba[_0x1cb29b]=_0x59fca6,l=(_0x23ee24,_0x2942b5,_0x29ee63)=>z(_0x23ee24,typeof _0x2942b5!='symbol'?_0x2942b5+'':_0x2942b5,_0x29ee63);import{Disposable as _0x454648,generateRandomId as _0x593649,DisposableCollection as _0x1fe4b2,IUniverInstanceService as _0x226ebc,Inject as _0x13c884,Injector as _0x59f6f2,IConfigService as _0x5d0b4d,UniverInstanceType as _0x49665a,CommandType as _0x2afa62,ICommandService as _0x28d9b0,DocumentFlavor as _0x1525dc,DependentOn as _0x17bfef,Plugin as _0x1e3de5,merge as _0x5324a7,registerDependencies as _0xb29cf3}from'@univerjs/core';import{DocPrintInterceptorService as _0x33e5bc,VIEWPORT_KEY as _0x111e88,SwitchDocModeCommand as _0x577d91}from'@univerjs/docs-ui';import{IRenderManagerService as _0x1fa6b5,Engine as _0x10bac1,CanvasRenderMode as _0x559f69,Scene as _0x3cc8a1,Documents as _0x466c32,Viewport as _0xd647e8}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x5aaa67,isLocalCheck as _0x51f5ed,unshiftString as _0x2e9635,isFeatureAuthorizedWithinTime as _0x6f4cc4,getDocFeatureLimit as _0x577957,UniverLicensePlugin as _0x42ddb1}from'@univerjs-pro/license';import{PRINT_CONTAINER_CLASS as _0x95ff62,PRINT_CANVAS_CLASS as _0x57496c,createPrintStyle as _0x3f9143,PrintDirection as _0x5793f4}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x17453f}from'@univerjs/docs';import{IGlobalZoneService as _0x387d82,getMenuHiddenObservable as _0x2810ab,MenuItemType as _0x50b404,RibbonStartGroup as _0x5e202f,IMenuManagerService as _0x140919,ComponentManager as _0x4db008}from'@univerjs/ui';import{UniverNetworkPlugin as _0x2b4fb0}from'@univerjs/network';import{useRef as _0x105a06,createElement as _0x640a38,forwardRef as _0xddb1b6}from'react';const Le={0x0:'Q',0x1:'A',0x2:'k',0x3:'O',0x4:'5',0x5:'q',0x6:'T',0x7:'p',0x8:'F',0x9:'j','D':'0','u':'1','V':'2','T':'3','g':'4','G':'6','w':'7','E':'8','R':'9','a':'a','b':'b','v':'c','I':'d','F':'e','Y':'f','L':'g','s':'h','l':'i','h':'l','C':'m','p':'n','J':'o','q':'r','H':'s','j':'t','W':'u','c':'v','d':'w','N':'x','e':'y','O':'z','y':'B','z':'C','Q':'D','B':'E','X':'G','P':'H','A':'I','r':'J','k':'K','S':'L','Z':'M','t':'N','f':'P','x':'R','i':'S','K':'U','o':'V','n':'W','M':'X','m':'Y','U':'Z'},we=_0x5c8275(0x1f6);class Pe extends _0x454648{constructor(_0x2628e4,_0x12da72,_0xe6d84e,_0x5a6474){const _0x20763d=_0x5c8275;super(),l(this,_0x20763d(0x204),document['createElement'](_0x20763d(0x1c1))),l(this,_0x20763d(0x1df),document['createElement'](_0x20763d(0x1c1))),l(this,_0x20763d(0x215)),l(this,_0x20763d(0x201)),l(this,_0x20763d(0x1af)),l(this,_0x20763d(0x222)),l(this,_0x20763d(0x1d6)),l(this,_0x20763d(0x1ce),new _0x1fe4b2()),(this[_0x20763d(0x1de)]=_0x2628e4,this['_page']=_0x12da72,this[_0x20763d(0x1d1)]=_0xe6d84e,this[_0x20763d(0x1f0)]=_0x5a6474,this[_0x20763d(0x1af)]=_0x593649(0x4),this['_initRenderer'](),this[_0x20763d(0x1be)]({'dispose':()=>{const _0x46b4bb=_0x20763d;this[_0x46b4bb(0x215)][_0x46b4bb(0x1d0)](),this['_scene'][_0x46b4bb(0x1d0)](),this[_0x46b4bb(0x1ce)][_0x46b4bb(0x1d0)]();}}));}get[_0x5c8275(0x1fb)](){const _0x49bcaa=_0x5c8275;return this[_0x49bcaa(0x204)];}get[_0x5c8275(0x238)](){const _0xa004dc=_0x5c8275;return this[_0xa004dc(0x1df)];}get[_0x5c8275(0x23a)](){const _0x187be3=_0x5c8275,_0xb0c88f=this[_0x187be3(0x1de)]['get'](_0x1fa6b5)[_0x187be3(0x210)](this['_unitId']);if(!_0xb0c88f)throw new Error('Render\x20is\x20not\x20found');return _0xb0c88f;}get[_0x5c8275(0x21c)](){const _0x58389c=_0x5c8275;return this[_0x58389c(0x23a)][_0x58389c(0x1a5)](_0x17453f)[_0x58389c(0x23f)]();}get[_0x5c8275(0x22b)](){const _0x442f86=_0x5c8275,_0x2fab0b=this[_0x442f86(0x21c)]['getSkeletonData']();if(!_0x2fab0b)throw new Error(_0x442f86(0x1c6));return _0x2fab0b;}get['_paperSize'](){const _0x23b1e7=_0x5c8275,_0x1ad4e1=this[_0x23b1e7(0x22b)][_0x23b1e7(0x1dc)][0x0];return{'width':_0x1ad4e1[_0x23b1e7(0x1a6)],'height':_0x1ad4e1[_0x23b1e7(0x1e5)]};}[_0x5c8275(0x233)](){const _0x340ac5=_0x5c8275,{docsTop:_0x4fdaee,docsLeft:_0x5ef43b}=this[_0x340ac5(0x222)][_0x340ac5(0x217)](),_0x19e96f=this[_0x340ac5(0x1b1)][_0x340ac5(0x223)],_0x10a1fa=this['_paperSize']['width'];return{'top':_0x4fdaee+(_0x4fdaee+_0x19e96f)*this[_0x340ac5(0x1ed)],'bottom':_0x4fdaee+(_0x4fdaee+_0x19e96f)*(this['_page']+0x1),'left':_0x5ef43b,'right':_0x5ef43b+_0x10a1fa};}['_initRenderer'](){const _0xe938a3=_0x5c8275;this[_0xe938a3(0x215)]=new _0x10bac1('',{'elementWidth':this['_paperSize'][_0xe938a3(0x1a7)],'elementHeight':this[_0xe938a3(0x1b1)][_0xe938a3(0x223)],'dpr':0x1,'renderMode':_0x559f69[_0xe938a3(0x20b)]}),this[_0xe938a3(0x201)]=new _0x3cc8a1(this[_0xe938a3(0x1af)],this['_engine']),this[_0xe938a3(0x201)][_0xe938a3(0x1a8)](0x1,0x1),this['_engine'][_0xe938a3(0x1ec)](this['_container'],!0x1),this[_0xe938a3(0x215)]['getCanvas']()[_0xe938a3(0x1b7)]()['setId'](this[_0xe938a3(0x1af)]+'_'+_0x593649(0x4)),this[_0xe938a3(0x1eb)](),this['_addViewport']();}[_0x5c8275(0x1eb)](){const _0x3e08b2=_0x5c8275,{pageMarginLeft:_0xc8165e,pageMarginTop:_0xe0186f,docsLeft:_0x8878b6,docsTop:_0x36278b}=this['_offsetConfig'],_0x3f8e9e={'pageMarginLeft':_0xc8165e,'pageMarginTop':_0xe0186f},_0x562739=new _0x466c32(_0x3e08b2(0x1ac),this['_skeleton'],_0x3f8e9e);_0x562739[_0x3e08b2(0x23d)](_0x8878b6,_0x36278b),this[_0x3e08b2(0x201)]['addObject'](_0x562739),this[_0x3e08b2(0x222)]=_0x562739;const _0x341fc1=this[_0x3e08b2(0x1de)][_0x3e08b2(0x244)](_0x33e5bc);_0x341fc1[_0x3e08b2(0x1bb)]['fetchThroughInterceptors'](_0x341fc1['interceptor'][_0x3e08b2(0x211)]()[_0x3e08b2(0x221)])(void 0x0,{'unitId':this[_0x3e08b2(0x1d1)],'scene':this['_scene'],'engine':this['_engine'],'root':this['_root'],'documents':this[_0x3e08b2(0x222)],'skeleton':this[_0x3e08b2(0x21c)]});}[_0x5c8275(0x1c0)](){const _0x1e7ff2=_0x5c8275;this['_viewMain']=new _0xd647e8(_0x111e88[_0x1e7ff2(0x1dd)],this[_0x1e7ff2(0x201)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}['prepare'](){const _0xa652ce=_0x5c8275,_0x599d4e=this[_0xa652ce(0x233)]();this[_0xa652ce(0x1d6)][_0xa652ce(0x22d)]({'viewportScrollX':_0x599d4e[_0xa652ce(0x1c4)],'viewportScrollY':_0x599d4e[_0xa652ce(0x231)]}),this[_0xa652ce(0x1df)][_0xa652ce(0x20f)]['position']=_0xa652ce(0x1fd),this[_0xa652ce(0x1df)][_0xa652ce(0x20f)][_0xa652ce(0x231)]=_0xa652ce(0x1c2),this[_0xa652ce(0x1df)][_0xa652ce(0x20f)][_0xa652ce(0x1c4)]=_0xa652ce(0x1c2),this[_0xa652ce(0x1df)]['style']['width']=_0xa652ce(0x214),this[_0xa652ce(0x1df)][_0xa652ce(0x20f)][_0xa652ce(0x223)]='100%',this['_effects']=new _0x1fe4b2();const _0xe68aa9=this[_0xa652ce(0x1de)][_0xa652ce(0x244)](_0x33e5bc);_0xe68aa9['interceptor']['fetchThroughInterceptors'](_0xe68aa9[_0xa652ce(0x1bb)][_0xa652ce(0x211)]()[_0xa652ce(0x1e1)])(this[_0xa652ce(0x1ce)],{'unitId':this['_unitId'],'scene':this[_0xa652ce(0x201)],'engine':this['_engine'],'root':this[_0xa652ce(0x1df)],'skeleton':this[_0xa652ce(0x21c)],'offset':{'x':_0x599d4e['left'],'y':_0x599d4e[_0xa652ce(0x231)]},'bound':{'top':_0x599d4e[_0xa652ce(0x231)],'left':_0x599d4e[_0xa652ce(0x1c4)],'right':_0x599d4e['right'],'bottom':_0x599d4e[_0xa652ce(0x216)]}});}[_0x5c8275(0x228)](){const _0x2db4d8=_0x5c8275,_0x52933f=this[_0x2db4d8(0x215)][_0x2db4d8(0x1b4)]()['getContext']();this[_0x2db4d8(0x222)]['makeForceDirty'](),this[_0x2db4d8(0x201)][_0x2db4d8(0x235)](),_0x52933f[_0x2db4d8(0x1d7)](),this['_scene'][_0x2db4d8(0x228)](),_0x52933f[_0x2db4d8(0x1e2)]();}}var Ne=Object['getOwnPropertyDescriptor'],ye=(_0x3f3473,_0x46532c,_0x57190e,_0x3d65a6)=>{const _0x5bf3ce=_0x5c8275;for(var _0x3bf8a9=_0x3d65a6>0x1?void 0x0:_0x3d65a6?Ne(_0x46532c,_0x57190e):_0x46532c,_0x5dc3d4=_0x3f3473[_0x5bf3ce(0x1f8)]-0x1,_0x507af6;_0x5dc3d4>=0x0;_0x5dc3d4--)(_0x507af6=_0x3f3473[_0x5dc3d4])&&(_0x3bf8a9=_0x507af6(_0x3bf8a9)||_0x3bf8a9);return _0x3bf8a9;},d=(_0x2c93f7,_0xb6c748)=>(_0x48c7af,_0x5d5475)=>_0xb6c748(_0x48c7af,_0x5d5475,_0x2c93f7);function _0x3c4a(_0x5a9c34,_0x225015){_0x5a9c34=_0x5a9c34-0x1a4;const _0x2afd97=_0x2afd();let _0x3c4a10=_0x2afd97[_0x5a9c34];return _0x3c4a10;}const De=Number[_0x5c8275(0x1cd)](0x693d14ed),Re=0x1,Me=(_0x1f0efd,_0x37903b,_0xf67b43)=>{const _0x386473=_0x5c8275,_0x594572={'page':_0x1f0efd,'isPro':!0x1,'timeValid':!0x1};if(!_0x37903b||!_0xf67b43)return _0x594572;const _0x563ea3=_0x2e9635(we,Le),_0xe7b4a8=new Function(_0x386473(0x1fe)+_0x563ea3)()(_0x37903b,_0xf67b43);if(_0xe7b4a8[_0x386473(0x1f7)]){const _0x260941=_0xe7b4a8['message'],_0x362635=_0x6f4cc4(_0x260941,'df',De);_0x594572['isPro']=_0x362635,_0x594572[_0x386473(0x1ae)]=_0x362635;const _0x3f3a79=0x0;_0x594572[_0x386473(0x1a9)]=_0x577957(_0x260941,_0x362635,_0x386473(0x200),_0x1f0efd,_0x1f0efd,_0x3f3a79);}return _0x594572;};let g=class extends _0x454648{constructor(_0x307093,_0x21978b,_0x2e322f,_0x16e01f,_0x4e7c5b){const _0x33a74e=_0x5c8275;super(),this[_0x33a74e(0x236)]=_0x307093,this[_0x33a74e(0x237)]=_0x21978b,this[_0x33a74e(0x1de)]=_0x2e322f,this[_0x33a74e(0x203)]=_0x16e01f,this[_0x33a74e(0x230)]=_0x4e7c5b;}[_0x5c8275(0x1ff)](_0x30186c){const _0x3f0efb=_0x5c8275;var _0x90323e,_0x51dfbf;const _0x2ac06b=(_0x90323e=this[_0x3f0efb(0x203)][_0x3f0efb(0x23b)](_0x5aaa67))!=null?_0x90323e:{},{ls:_0x4d60f1,pbk:_0x309047}=_0x2ac06b,_0x32fd0f=_0x51f5ed()?Number['POSITIVE_INFINITY']:Me(Re,_0x4d60f1,_0x309047)['page'];if(!this['_univerInstanceService']['getUnit'](_0x30186c,_0x49665a['UNIVER_DOC']))throw new Error('DocumentDataModel\x20is\x20not\x20found');const _0x2d2c98=this[_0x3f0efb(0x237)]['getRenderById'](_0x30186c);if(!_0x2d2c98)throw new Error(_0x3f0efb(0x1b8));const _0x5dfb2e=(_0x51dfbf=_0x2d2c98['with'](_0x17453f)[_0x3f0efb(0x23f)]()['getSkeletonData']())==null?void 0x0:_0x51dfbf[_0x3f0efb(0x1dc)];if(!_0x5dfb2e)throw new Error(_0x3f0efb(0x1b2));const _0x49c262={'width':_0x5dfb2e[0x0][_0x3f0efb(0x1a6)],'height':_0x5dfb2e[0x0]['pageHeight']},_0x35ed20=_0x5dfb2e[_0x3f0efb(0x1f8)],_0x2ac6a8=Math['min'](_0x32fd0f,_0x35ed20),_0x3434a3=_0x2d2c98[_0x3f0efb(0x1bd)][_0x3f0efb(0x217)](),_0x5842dd=document[_0x3f0efb(0x1d2)](_0x3f0efb(0x1c1));_0x5842dd[_0x3f0efb(0x1e8)]=_0x95ff62;const _0x3bb85c=new Array(_0x2ac6a8)['fill'](null)[_0x3f0efb(0x21f)]((_0x1ae48f,_0x4d1d44)=>{const _0x4a4233=_0x3f0efb,_0x390943=new Pe(this[_0x4a4233(0x1de)],_0x4d1d44,_0x30186c,_0x3434a3);return _0x390943[_0x4a4233(0x1fb)][_0x4a4233(0x1e8)]=_0x57496c,_0x390943;});_0x3bb85c[_0x3f0efb(0x212)](_0x4c93ae=>{const _0x4e1b44=_0x3f0efb;_0x5842dd[_0x4e1b44(0x1cc)](_0x4c93ae['container']),_0x4c93ae[_0x4e1b44(0x1fb)]['appendChild'](_0x4c93ae[_0x4e1b44(0x238)]),_0x4c93ae[_0x4e1b44(0x22c)]();});const _0x5badc7=_0x3f9143(_0x49c262[_0x3f0efb(0x1a7)],_0x49c262[_0x3f0efb(0x223)],_0x5793f4[_0x3f0efb(0x219)]);return document['body'][_0x3f0efb(0x1cc)](_0x5badc7),document[_0x3f0efb(0x1c3)][_0x3f0efb(0x1cc)](_0x5842dd),new Promise(_0x3295ac=>{setTimeout(()=>{const _0x5d53c5=_0x3c4a;window['onbeforeprint']=()=>{const _0x4aee4c=_0x3c4a;_0x3bb85c[_0x4aee4c(0x212)](_0x25ba76=>{const _0x41e023=_0x4aee4c;_0x25ba76[_0x41e023(0x228)]();});},window[_0x5d53c5(0x1d4)]=()=>{const _0x337387=_0x5d53c5;_0x3bb85c[_0x337387(0x212)](_0xa12405=>{const _0x37b4e0=_0x337387;_0xa12405[_0x37b4e0(0x1d0)]();}),document[_0x337387(0x1c3)][_0x337387(0x20c)](_0x5842dd),document[_0x337387(0x1c3)][_0x337387(0x20c)](_0x5badc7),this[_0x337387(0x230)][_0x337387(0x1d8)](),_0x3295ac(!0x0);},window[_0x5d53c5(0x1ff)]();},0x64);});}};g=ye([d(0x0,_0x226ebc),d(0x1,_0x1fa6b5),d(0x2,_0x13c884(_0x59f6f2)),d(0x3,_0x5d0b4d),d(0x4,_0x387d82)],g);const J={'id':_0x5c8275(0x1cf),'type':_0x2afa62[_0x5c8275(0x1d5)],'handler':async _0x4163e8=>{const _0x5c68ca=_0x5c8275,_0x3af609=_0x4163e8['get'](_0x226ebc),_0x3afed4=_0x4163e8[_0x5c68ca(0x244)](g),_0x484757=_0x4163e8[_0x5c68ca(0x244)](_0x1fa6b5),_0x61bc58=_0x4163e8['get'](_0x28d9b0),_0x2464e3=_0x3af609[_0x5c68ca(0x218)](_0x49665a['UNIVER_DOC']);if(!_0x2464e3)return!0x1;if(!_0x484757[_0x5c68ca(0x210)](_0x2464e3[_0x5c68ca(0x227)]()))throw new Error(_0x5c68ca(0x1b8));const _0x282b12=_0x2464e3[_0x5c68ca(0x1b6)]()['documentFlavor'];return _0x282b12!==_0x1525dc[_0x5c68ca(0x23c)]&&_0x61bc58['syncExecuteCommand'](_0x577d91['id']),await _0x3afed4[_0x5c68ca(0x1ff)](_0x2464e3[_0x5c68ca(0x227)]()),_0x282b12!==_0x1525dc[_0x5c68ca(0x23c)]&&_0x61bc58[_0x5c68ca(0x1d9)](_0x577d91['id']),!0x0;}},Oe=_0x5c8275(0x226),M={},Ee='UNIVER_DOCS_PRINT';function A({ref:_0x5babbc,..._0x2e8808}){const _0x767947=_0x5c8275,{icon:_0x5aa771,id:_0x119d8d,className:_0x4ce429,extend:_0x27f8f4,..._0x17aa43}=_0x2e8808,_0x36b9b6=('univerjs-icon\x20univerjs-icon-'+_0x119d8d+'\x20'+(_0x4ce429||''))[_0x767947(0x1fa)](),_0x352ca1=_0x105a06('_'+Ye());return k(_0x5aa771,''+_0x119d8d,{'defIds':_0x5aa771[_0x767947(0x22e)],'idSuffix':_0x352ca1[_0x767947(0x23e)]},{'ref':_0x5babbc,'className':_0x36b9b6,..._0x17aa43},_0x27f8f4);}function k(_0x27fe7e,_0x51ea57,_0x4e82bb,_0x404aac,_0x4eb7b9){const _0x34df07=_0x5c8275;return _0x640a38(_0x27fe7e[_0x34df07(0x1f5)],{'key':_0x51ea57,...be(_0x27fe7e,_0x4e82bb,_0x4eb7b9),..._0x404aac},(Te(_0x27fe7e,_0x4e82bb)[_0x34df07(0x1f2)]||[])[_0x34df07(0x21f)]((_0x4019b5,_0x276e1a)=>k(_0x4019b5,_0x51ea57+'-'+_0x27fe7e[_0x34df07(0x1f5)]+'-'+_0x276e1a,_0x4e82bb,void 0x0,_0x4eb7b9)));}function be(_0x3231fb,_0x35212d,_0x42e1e7){const _0x5f310b=_0x5c8275,_0x1bd4ec={..._0x3231fb['attrs']};_0x42e1e7!=null&&_0x42e1e7[_0x5f310b(0x234)]&&_0x1bd4ec['fill']===_0x5f310b(0x234)&&(_0x1bd4ec[_0x5f310b(0x1da)]=_0x42e1e7[_0x5f310b(0x234)]),_0x3231fb[_0x5f310b(0x1f5)]===_0x5f310b(0x1ad)&&_0x1bd4ec['id']&&(_0x1bd4ec['id']=_0x1bd4ec['id']+_0x35212d[_0x5f310b(0x1c8)]),Object[_0x5f310b(0x1bc)](_0x1bd4ec)[_0x5f310b(0x212)](([_0x55dcc0,_0x4a7011])=>{const _0x17ddbc=_0x5f310b;_0x55dcc0===_0x17ddbc(0x1ad)&&typeof _0x4a7011=='string'&&(_0x1bd4ec[_0x55dcc0]=_0x4a7011['replace'](/url\(#(.*)\)/,_0x17ddbc(0x1aa)+_0x35212d[_0x17ddbc(0x1c8)]+')'));});const {defIds:_0x2ff6be}=_0x35212d;return!_0x2ff6be||_0x2ff6be[_0x5f310b(0x1f8)]===0x0||(_0x3231fb[_0x5f310b(0x1f5)]==='use'&&_0x1bd4ec[_0x5f310b(0x1b0)]&&(_0x1bd4ec[_0x5f310b(0x1b0)]=_0x1bd4ec[_0x5f310b(0x1b0)]+_0x35212d[_0x5f310b(0x1c8)]),Object[_0x5f310b(0x1bc)](_0x1bd4ec)[_0x5f310b(0x212)](([_0x455f81,_0x57450c])=>{const _0x44191a=_0x5f310b;typeof _0x57450c=='string'&&(_0x1bd4ec[_0x455f81]=_0x57450c['replace'](/url\(#(.*)\)/,_0x44191a(0x1aa)+_0x35212d[_0x44191a(0x1c8)]+')'));})),_0x1bd4ec;}function Te(_0x3e5ba4,_0x2dae2b){const _0xf3acec=_0x5c8275;var _0xdebc76;const {defIds:_0x2a8899}=_0x2dae2b;return!_0x2a8899||_0x2a8899[_0xf3acec(0x1f8)]===0x0?_0x3e5ba4:_0x3e5ba4['tag']==='defs'&&((_0xdebc76=_0x3e5ba4[_0xf3acec(0x1f2)])!=null&&_0xdebc76[_0xf3acec(0x1f8)])?{..._0x3e5ba4,'children':_0x3e5ba4[_0xf3acec(0x1f2)][_0xf3acec(0x21f)](_0x5c14f0=>typeof _0x5c14f0[_0xf3acec(0x1e3)]['id']==_0xf3acec(0x1ee)&&_0x2a8899&&_0x2a8899[_0xf3acec(0x1db)](_0x5c14f0[_0xf3acec(0x1e3)]['id'])?{..._0x5c14f0,'attrs':{..._0x5c14f0[_0xf3acec(0x1e3)],'id':_0x5c14f0['attrs']['id']+_0x2dae2b[_0xf3acec(0x1c8)]}}:_0x5c14f0)}:_0x3e5ba4;}function Ye(){const _0xb63f3a=_0x5c8275;return Math[_0xb63f3a(0x224)]()[_0xb63f3a(0x242)](0x24)[_0xb63f3a(0x1f9)](0x2,0x8);}A['displayName']=_0x5c8275(0x1f4);const We={'tag':_0x5c8275(0x1ab),'attrs':{'xmlns':_0x5c8275(0x1e4),'fill':_0x5c8275(0x1ef),'viewBox':_0x5c8275(0x1e7),'width':_0x5c8275(0x1ea),'height':_0x5c8275(0x1ea)},'children':[{'tag':_0x5c8275(0x1bf),'attrs':{'fill':_0x5c8275(0x1f1),'d':_0x5c8275(0x21b)}},{'tag':_0x5c8275(0x1bf),'attrs':{'fill':_0x5c8275(0x1f1),'d':_0x5c8275(0x22f),'fillRule':_0x5c8275(0x213),'clipRule':'evenodd'}}]},x=_0xddb1b6(function(_0x3a2327,_0x3c821b){const _0x415175=_0x5c8275;return _0x640a38(A,Object[_0x415175(0x1d3)]({},_0x3a2327,{'id':_0x415175(0x21e),'ref':_0x3c821b,'icon':We}));});x[_0x5c8275(0x209)]=_0x5c8275(0x239);function Ve(_0x42b71f){const _0x14a2e3=_0x5c8275;return{'id':J['id'],'type':_0x50b404[_0x14a2e3(0x225)],'title':_0x14a2e3(0x1c7),'icon':_0x14a2e3(0x239),'tooltip':_0x14a2e3(0x1c7),'hidden$':_0x2810ab(_0x42b71f,_0x49665a['UNIVER_DOC'])};}const Ae={[_0x5e202f['OTHERS']]:{[J['id']]:{'order':0.1,'menuItemFactory':Ve}}};var ke=Object[_0x5c8275(0x208)],xe=(_0x1623c2,_0x1af929,_0x408678,_0x43417a)=>{const _0x476a25=_0x5c8275;for(var _0x4ef03f=_0x43417a>0x1?void 0x0:_0x43417a?ke(_0x1af929,_0x408678):_0x1af929,_0x223c2e=_0x1623c2[_0x476a25(0x1f8)]-0x1,_0x3dddee;_0x223c2e>=0x0;_0x223c2e--)(_0x3dddee=_0x1623c2[_0x223c2e])&&(_0x4ef03f=_0x3dddee(_0x4ef03f)||_0x4ef03f);return _0x4ef03f;},m=(_0x3df01d,_0x517525)=>(_0x3e0e30,_0x26ae09)=>_0x517525(_0x3e0e30,_0x26ae09,_0x3df01d);let u=class extends _0x454648{constructor(_0x26ff67,_0x579a51,_0x55649b){const _0x3222b3=_0x5c8275;super(),this[_0x3222b3(0x1e6)]=_0x26ff67,this[_0x3222b3(0x21d)]=_0x579a51,this[_0x3222b3(0x1cb)]=_0x55649b,this[_0x3222b3(0x21a)](),this['_initCommands'](),this[_0x3222b3(0x1e9)]();}[_0x5c8275(0x21a)](){const _0x4455c8=_0x5c8275;this[_0x4455c8(0x21d)][_0x4455c8(0x1e0)](Ae);}[_0x5c8275(0x241)](){const _0x399b32=_0x5c8275;this[_0x399b32(0x1be)](this[_0x399b32(0x1e6)][_0x399b32(0x22a)](J));}[_0x5c8275(0x1e9)](){[['PrintIcon',x]]['forEach'](([_0x5ef00a,_0x117b00])=>{const _0x51c869=_0x3c4a;this[_0x51c869(0x1cb)][_0x51c869(0x1ba)](_0x5ef00a,_0x117b00);});}};u=xe([m(0x0,_0x28d9b0),m(0x1,_0x140919),m(0x2,_0x13c884(_0x4db008))],u);var Ue=Object[_0x5c8275(0x20d)],$e=Object['getOwnPropertyDescriptor'],Ze=(_0x2a86f0,_0x1c76ae,_0xff60cd)=>_0x1c76ae in _0x2a86f0?Ue(_0x2a86f0,_0x1c76ae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xff60cd}):_0x2a86f0[_0x1c76ae]=_0xff60cd,Ge=(_0x1f1800,_0x47834e,_0x28326f,_0x235c67)=>{const _0x1411a9=_0x5c8275;for(var _0xe3c89b=_0x235c67>0x1?void 0x0:_0x235c67?$e(_0x47834e,_0x28326f):_0x47834e,_0x1c0b86=_0x1f1800[_0x1411a9(0x1f8)]-0x1,_0x1e6ebb;_0x1c0b86>=0x0;_0x1c0b86--)(_0x1e6ebb=_0x1f1800[_0x1c0b86])&&(_0xe3c89b=_0x1e6ebb(_0xe3c89b)||_0xe3c89b);return _0xe3c89b;},O=(_0x2b92a6,_0x28b57e)=>(_0x190d5,_0x10f03b)=>_0x28b57e(_0x190d5,_0x10f03b,_0x2b92a6),U=(_0x4adaa5,_0x29dbd1,_0xe5c0b5)=>Ze(_0x4adaa5,typeof _0x29dbd1!=_0x5c8275(0x232)?_0x29dbd1+'':_0x29dbd1,_0xe5c0b5);let F=class extends _0x1e3de5{constructor(_0x3a564c=M,_0x266c35,_0x23928e){const _0x43289f=_0x5c8275;super(),this[_0x43289f(0x206)]=_0x3a564c,this['_injector']=_0x266c35,this[_0x43289f(0x203)]=_0x23928e;const {menu:_0x519673,..._0x20cce0}=_0x5324a7({},M,this[_0x43289f(0x206)]);_0x519673&&this[_0x43289f(0x203)][_0x43289f(0x240)]('menu',_0x519673,{'merge':!0x0}),this[_0x43289f(0x203)][_0x43289f(0x240)](Oe,_0x20cce0);}[_0x5c8275(0x202)](){const _0x20a3e6=_0x5c8275;_0xb29cf3(this[_0x20a3e6(0x1de)],[[g],[u]]);}[_0x5c8275(0x1fc)](){const _0x2e346b=_0x5c8275;this[_0x2e346b(0x1de)][_0x2e346b(0x244)](u);}};U(F,_0x5c8275(0x1b5),Ee),U(F,_0x5c8275(0x1c5),_0x49665a[_0x5c8275(0x1c9)]),F=Ge([_0x17bfef(_0x2b4fb0,_0x42ddb1),O(0x1,_0x13c884(_0x59f6f2)),O(0x2,_0x5d0b4d)],F);export{Oe as DOCS_PRINT_PLUGIN_CONFIG_KEY,J as DocPrintOperation,F as UniverDocsPrintPlugin};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4d6523=_0x335a;(function(_0xe94b5,_0x58e051){const _0x33b932=_0x335a,_0x4afa74=_0xe94b5();while(!![]){try{const _0x206019=-parseInt(_0x33b932(0xfc))/0x1+parseInt(_0x33b932(0x101))/0x2+-parseInt(_0x33b932(0xfd))/0x3+parseInt(_0x33b932(0x100))/0x4*(parseInt(_0x33b932(0xff))/0x5)+parseInt(_0x33b932(0xfe))/0x6*(-parseInt(_0x33b932(0x102))/0x7)+parseInt(_0x33b932(0xfb))/0x8+-parseInt(_0x33b932(0x103))/0x9*(-parseInt(_0x33b932(0xfa))/0xa);if(_0x206019===_0x58e051)break;else _0x4afa74['push'](_0x4afa74['shift']());}catch(_0x474e17){_0x4afa74['push'](_0x4afa74['shift']());}}}(_0x32fc,0x9d3a7));function _0x32fc(){const _0x1c68a6=['8gCmuOL','1793476RytXAY','266jYVVtx','18cwouqY','Print','4905110WYQPYh','1669400BBiljI','218512DLvBgi','3414966hSZPru','69234XHDBxU','882220UHdTrC'];_0x32fc=function(){return _0x1c68a6;};return _0x32fc();}function _0x335a(_0x3330aa,_0x43baf7){_0x3330aa=_0x3330aa-0xfa;const _0x32fc31=_0x32fc();let _0x335afa=_0x32fc31[_0x3330aa];return _0x335afa;}const t={'print':{'menu':_0x4d6523(0x104)}},e=t;export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x155fff=_0x5c6f;function _0xc803(){const _0x210a40=['3606309HVNoRy','1700012APhZhE','Print','2606512rHhwSy','307752FWmXhT','3730545clpNst','16WGxlUB','5519lKryfF','20sRmLQE','28698JTeOmx','235soQQuE'];_0xc803=function(){return _0x210a40;};return _0xc803();}(function(_0x2c87ed,_0x40877d){const _0x219d97=_0x5c6f,_0x4029e5=_0x2c87ed();while(!![]){try{const _0x396012=-parseInt(_0x219d97(0x1ea))/0x1*(-parseInt(_0x219d97(0x1e9))/0x2)+-parseInt(_0x219d97(0x1e7))/0x3+-parseInt(_0x219d97(0x1ef))/0x4+-parseInt(_0x219d97(0x1ed))/0x5*(parseInt(_0x219d97(0x1ec))/0x6)+parseInt(_0x219d97(0x1e8))/0x7+-parseInt(_0x219d97(0x1e6))/0x8+-parseInt(_0x219d97(0x1ee))/0x9*(-parseInt(_0x219d97(0x1eb))/0xa);if(_0x396012===_0x40877d)break;else _0x4029e5['push'](_0x4029e5['shift']());}catch(_0x593e81){_0x4029e5['push'](_0x4029e5['shift']());}}}(_0xc803,0x494ff));function _0x5c6f(_0x520901,_0x34fa84){_0x520901=_0x520901-0x1e6;const _0xc80356=_0xc803();let _0x5c6f44=_0xc80356[_0x520901];return _0x5c6f44;}const t={'print':{'menu':_0x155fff(0x1f0)}};export{t as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x1b68(){const _0x432f71=['Print','6kCHOpY','1334069luIfHs','698788rmMvcf','391630MrNlTX','180882yCADmh','1784968ITwTwk','5EoYNjY','577598xLhrtC','1450KfTpCz','10566KDOIcl','1jZqqbS'];_0x1b68=function(){return _0x432f71;};return _0x1b68();}const _0x330e61=_0x371f;(function(_0x106bd4,_0x224efb){const _0x5b6c02=_0x371f,_0x46db31=_0x106bd4();while(!![]){try{const _0x34716c=parseInt(_0x5b6c02(0x123))/0x1*(-parseInt(_0x5b6c02(0x128))/0x2)+parseInt(_0x5b6c02(0x129))/0x3+parseInt(_0x5b6c02(0x127))/0x4*(parseInt(_0x5b6c02(0x11f))/0x5)+-parseInt(_0x5b6c02(0x125))/0x6*(-parseInt(_0x5b6c02(0x120))/0x7)+-parseInt(_0x5b6c02(0x12a))/0x8+parseInt(_0x5b6c02(0x122))/0x9*(parseInt(_0x5b6c02(0x121))/0xa)+parseInt(_0x5b6c02(0x126))/0xb;if(_0x34716c===_0x224efb)break;else _0x46db31['push'](_0x46db31['shift']());}catch(_0x1f0339){_0x46db31['push'](_0x46db31['shift']());}}}(_0x1b68,0x2e67e));function _0x371f(_0x536099,_0x418d73){_0x536099=_0x536099-0x11f;const _0x1b6854=_0x1b68();let _0x371ffa=_0x1b6854[_0x536099];return _0x371ffa;}const t={'print':{'menu':_0x330e61(0x124)}},e=t;export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x8997(){const _0x417e7d=['5440127QfckoH','25272STBAQW','18VyXDzF','3560208rssGhQ','5497992jQYulo','2876628HsADOw','2288345qyVCyE','910CWgEaa','2823050oQcRrO','27Offkys','1xOdaVU'];_0x8997=function(){return _0x417e7d;};return _0x8997();}function _0x35c9(_0x1a8c5b,_0x17024c){_0x1a8c5b=_0x1a8c5b-0x138;const _0x899746=_0x8997();let _0x35c958=_0x899746[_0x1a8c5b];return _0x35c958;}(function(_0xb1bdff,_0x231f4a){const _0x565bec=_0x35c9,_0x1d9f9b=_0xb1bdff();while(!![]){try{const _0x24e217=parseInt(_0x565bec(0x13b))/0x1*(parseInt(_0x565bec(0x13f))/0x2)+parseInt(_0x565bec(0x141))/0x3+-parseInt(_0x565bec(0x140))/0x4+parseInt(_0x565bec(0x142))/0x5*(parseInt(_0x565bec(0x13e))/0x6)+parseInt(_0x565bec(0x138))/0x7*(-parseInt(_0x565bec(0x13d))/0x8)+-parseInt(_0x565bec(0x13a))/0x9*(parseInt(_0x565bec(0x139))/0xa)+-parseInt(_0x565bec(0x13c))/0xb;if(_0x24e217===_0x231f4a)break;else _0x1d9f9b['push'](_0x1d9f9b['shift']());}catch(_0xe15ffd){_0x1d9f9b['push'](_0x1d9f9b['shift']());}}}(_0x8997,0xf0903));const e={'print':{'menu':'چاپ'}};export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const _0x232280=_0x1f93;function _0x4fa7(){const _0x1f2cd1=['5811235EyLTPZ','403574uqgGTL','Imprimer','3401588kVpmfU','715251dtCwJb','8107824psXXRW','18285477pQadHG','208641uvUVbK'];_0x4fa7=function(){return _0x1f2cd1;};return _0x4fa7();}function _0x1f93(_0x34690d,_0x1e9a87){_0x34690d=_0x34690d-0x1a5;const _0x4fa772=_0x4fa7();let _0x1f9370=_0x4fa772[_0x34690d];return _0x1f9370;}(function(_0x5b0597,_0x60cf21){const _0xe7cad4=_0x1f93,_0x1b3840=_0x5b0597();while(!![]){try{const _0x519d90=parseInt(_0xe7cad4(0x1ab))/0x1+-parseInt(_0xe7cad4(0x1a5))/0x2+parseInt(_0xe7cad4(0x1a8))/0x3+parseInt(_0xe7cad4(0x1a7))/0x4+parseInt(_0xe7cad4(0x1ac))/0x5+parseInt(_0xe7cad4(0x1a9))/0x6+-parseInt(_0xe7cad4(0x1aa))/0x7;if(_0x519d90===_0x60cf21)break;else _0x1b3840['push'](_0x1b3840['shift']());}catch(_0x2a1187){_0x1b3840['push'](_0x1b3840['shift']());}}}(_0x4fa7,0xf3690));const e={'print':{'menu':_0x232280(0x1a6)}};export{e as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1244b4,_0x171f8d){const _0x4e9ede=_0x4f34,_0xd51c48=_0x1244b4();while(!![]){try{const _0x2e3c27=parseInt(_0x4e9ede(0x17c))/0x1+parseInt(_0x4e9ede(0x17f))/0x2*(parseInt(_0x4e9ede(0x17b))/0x3)+-parseInt(_0x4e9ede(0x182))/0x4+parseInt(_0x4e9ede(0x183))/0x5*(parseInt(_0x4e9ede(0x17d))/0x6)+-parseInt(_0x4e9ede(0x179))/0x7*(-parseInt(_0x4e9ede(0x181))/0x8)+-parseInt(_0x4e9ede(0x17e))/0x9+parseInt(_0x4e9ede(0x17a))/0xa*(-parseInt(_0x4e9ede(0x180))/0xb);if(_0x2e3c27===_0x171f8d)break;else _0xd51c48['push'](_0xd51c48['shift']());}catch(_0x4b64d7){_0xd51c48['push'](_0xd51c48['shift']());}}}(_0x2733,0x83132));function _0x4f34(_0x76bb61,_0x26ab32){_0x76bb61=_0x76bb61-0x179;const _0x273376=_0x2733();let _0x4f343e=_0x273376[_0x76bb61];return _0x4f343e;}const e={'print':{'menu':'印刷'}};function _0x2733(){const _0x15ef3a=['3938vMCaOB','682JPPJEq','88xwmMVG','1609584lvGWPu','5QWMtMw','621159YPdXwN','48750QWBagt','894xVOxeD','368088FUafoQ','566838bLfzbL','7055118qbrYgY'];_0x2733=function(){return _0x15ef3a;};return _0x2733();}export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x45dc(){const _0x4ff4f1=['334212AgHMWd','18depJag','228340NvGbtG','2088366CWHwvq','6055056IOoTwv','300296JGRSca','147807iuULjR','4bNFDap','1014380pNxObe'];_0x45dc=function(){return _0x4ff4f1;};return _0x45dc();}(function(_0xad8799,_0xe2cafd){const _0x27b720=_0x1f83,_0x513ec6=_0xad8799();while(!![]){try{const _0x5a4e1f=-parseInt(_0x27b720(0xc0))/0x1+parseInt(_0x27b720(0xb8))/0x2*(-parseInt(_0x27b720(0xba))/0x3)+-parseInt(_0x27b720(0xb9))/0x4+parseInt(_0x27b720(0xbc))/0x5*(parseInt(_0x27b720(0xbb))/0x6)+parseInt(_0x27b720(0xbd))/0x7+parseInt(_0x27b720(0xbf))/0x8+parseInt(_0x27b720(0xbe))/0x9;if(_0x5a4e1f===_0xe2cafd)break;else _0x513ec6['push'](_0x513ec6['shift']());}catch(_0x26ba19){_0x513ec6['push'](_0x513ec6['shift']());}}}(_0x45dc,0x7f4ed));const e={'print':{'menu':'인쇄'}};function _0x1f83(_0x43e4d5,_0x33a1be){_0x43e4d5=_0x43e4d5-0xb8;const _0x45dc2c=_0x45dc();let _0x1f8397=_0x45dc2c[_0x43e4d5];return _0x1f8397;}export{e as default};
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x413795,_0x11c39){const _0x43645d=_0xa79d,_0xc6a470=_0x413795();while(!![]){try{const _0x513ecb=parseInt(_0x43645d(0xf7))/0x1*(parseInt(_0x43645d(0xfb))/0x2)+parseInt(_0x43645d(0xf5))/0x3*(-parseInt(_0x43645d(0xf8))/0x4)+parseInt(_0x43645d(0xf4))/0x5*(-parseInt(_0x43645d(0xf6))/0x6)+parseInt(_0x43645d(0xfc))/0x7+parseInt(_0x43645d(0xfe))/0x8+-parseInt(_0x43645d(0xf9))/0x9*(parseInt(_0x43645d(0xfd))/0xa)+parseInt(_0x43645d(0xfa))/0xb;if(_0x513ecb===_0x11c39)break;else _0xc6a470['push'](_0xc6a470['shift']());}catch(_0x1c19d7){_0xc6a470['push'](_0xc6a470['shift']());}}}(_0x2cea,0x34a7e));function _0xa79d(_0x148bdf,_0x3af631){_0x148bdf=_0x148bdf-0xf4;const _0x2ceabb=_0x2cea();let _0xa79d66=_0x2ceabb[_0x148bdf];return _0xa79d66;}const e={'print':{'menu':'Печать'}};function _0x2cea(){const _0x924038=['2TTVbFN','1513141GPRVwS','105980BeqTJO','2977176RMOhoa','110ESlkza','885288RgFtWG','109104zrMdrE','285106feWoDU','4wVIcQx','225qlERUz','3325916TUgMfV'];_0x2cea=function(){return _0x924038;};return _0x2cea();}export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4544(_0x3bcbc6,_0x4957a5){_0x3bcbc6=_0x3bcbc6-0xfb;const _0x3b306e=_0x3b30();let _0x4544de=_0x3b306e[_0x3bcbc6];return _0x4544de;}function _0x3b30(){const _0x4bae51=['2110810otDKJj','24017ClEuOh','3233392APLBIw','318EdUgzl','491916iKIqXq','4153190QBssbZ','473938GVZXrk','3cpRslb','752870moAwno','11wyvYVI','9ilPdeJ'];_0x3b30=function(){return _0x4bae51;};return _0x3b30();}(function(_0x381d7c,_0x4f96c8){const _0x120ae3=_0x4544,_0x289604=_0x381d7c();while(!![]){try{const _0x1ab268=-parseInt(_0x120ae3(0xfe))/0x1+parseInt(_0x120ae3(0x100))/0x2+parseInt(_0x120ae3(0xff))/0x3*(-parseInt(_0x120ae3(0xfc))/0x4)+-parseInt(_0x120ae3(0x103))/0x5+-parseInt(_0x120ae3(0xfb))/0x6*(-parseInt(_0x120ae3(0x104))/0x7)+parseInt(_0x120ae3(0x105))/0x8*(parseInt(_0x120ae3(0x102))/0x9)+parseInt(_0x120ae3(0xfd))/0xa*(parseInt(_0x120ae3(0x101))/0xb);if(_0x1ab268===_0x4f96c8)break;else _0x289604['push'](_0x289604['shift']());}catch(_0x574849){_0x289604['push'](_0x289604['shift']());}}}(_0x3b30,0x57924));const e={'print':{'menu':'In'}};export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1cf512,_0x192d23){const _0x17d723=_0x3b16,_0x15e011=_0x1cf512();while(!![]){try{const _0x4041d4=-parseInt(_0x17d723(0x101))/0x1*(parseInt(_0x17d723(0x104))/0x2)+-parseInt(_0x17d723(0x105))/0x3*(-parseInt(_0x17d723(0xff))/0x4)+-parseInt(_0x17d723(0x109))/0x5+-parseInt(_0x17d723(0x107))/0x6+parseInt(_0x17d723(0x100))/0x7*(parseInt(_0x17d723(0x102))/0x8)+parseInt(_0x17d723(0x108))/0x9*(parseInt(_0x17d723(0x10a))/0xa)+parseInt(_0x17d723(0x106))/0xb*(parseInt(_0x17d723(0x103))/0xc);if(_0x4041d4===_0x192d23)break;else _0x15e011['push'](_0x15e011['shift']());}catch(_0x5edf71){_0x15e011['push'](_0x15e011['shift']());}}}(_0x4500,0xa7e50));function _0x4500(){const _0x29bcc3=['12140hlcZWE','868ZxKGvT','574MyUeTR','37JJGbyO','34872hAZgpc','12PgiDQe','4342oPXmHp','3276zBTtHj','7621152mfIteS','4844574ajwSfQ','2826ZmWylQ','464890hdddqE'];_0x4500=function(){return _0x29bcc3;};return _0x4500();}const e={'print':{'menu':'打印'}};function _0x3b16(_0x6894b,_0x50efab){_0x6894b=_0x6894b-0xff;const _0x4500e4=_0x4500();let _0x3b162e=_0x4500e4[_0x6894b];return _0x3b162e;}export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1c935c,_0x48f4fc){const _0x34107c=_0x3f34,_0x57895f=_0x1c935c();while(!![]){try{const _0x86ab5a=parseInt(_0x34107c(0x9c))/0x1+parseInt(_0x34107c(0xa0))/0x2+-parseInt(_0x34107c(0x9d))/0x3+parseInt(_0x34107c(0xa2))/0x4+parseInt(_0x34107c(0xa3))/0x5+-parseInt(_0x34107c(0x9e))/0x6+-parseInt(_0x34107c(0xa1))/0x7*(parseInt(_0x34107c(0x9f))/0x8);if(_0x86ab5a===_0x48f4fc)break;else _0x57895f['push'](_0x57895f['shift']());}catch(_0x37cfb1){_0x57895f['push'](_0x57895f['shift']());}}}(_0x1fcb,0x2b341));const e={'print':{'menu':'列印'}};function _0x1fcb(){const _0x7abc6=['35128CVXBOH','1039505uEMKYc','204086dthRwQ','364884RWGRpG','616296XEpMcI','344jzaKSK','100306EZqOIG','11333yweiTJ'];_0x1fcb=function(){return _0x7abc6;};return _0x1fcb();}function _0x3f34(_0x382458,_0x424a19){_0x382458=_0x382458-0x9c;const _0x1fcb53=_0x1fcb();let _0x3f3492=_0x1fcb53[_0x382458];return _0x3f3492;}export{e as default};
|
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
T: string;
|
|
13
|
-
M: string;
|
|
14
12
|
D: string;
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
u: string;
|
|
14
|
+
V: string;
|
|
15
|
+
T: string;
|
|
16
|
+
g: string;
|
|
17
|
+
G: string;
|
|
17
18
|
w: string;
|
|
18
|
-
|
|
19
|
-
U: string;
|
|
20
|
-
o: string;
|
|
21
|
-
n: string;
|
|
22
|
-
A: string;
|
|
23
|
-
x: string;
|
|
19
|
+
E: string;
|
|
24
20
|
R: string;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
a: string;
|
|
22
|
+
b: string;
|
|
23
|
+
v: string;
|
|
24
|
+
I: string;
|
|
25
|
+
F: string;
|
|
26
|
+
Y: string;
|
|
27
|
+
L: string;
|
|
28
|
+
s: string;
|
|
29
29
|
l: string;
|
|
30
|
+
h: string;
|
|
31
|
+
C: string;
|
|
32
|
+
p: string;
|
|
30
33
|
J: string;
|
|
31
|
-
|
|
32
|
-
V: string;
|
|
33
|
-
K: string;
|
|
34
|
+
q: string;
|
|
34
35
|
H: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
S: string;
|
|
36
|
+
j: string;
|
|
37
|
+
W: string;
|
|
38
38
|
c: string;
|
|
39
|
-
|
|
39
|
+
d: string;
|
|
40
|
+
N: string;
|
|
41
|
+
e: string;
|
|
42
|
+
O: string;
|
|
40
43
|
y: string;
|
|
41
|
-
Y: string;
|
|
42
|
-
B: string;
|
|
43
|
-
m: string;
|
|
44
|
-
u: string;
|
|
45
44
|
z: string;
|
|
46
|
-
h: string;
|
|
47
|
-
L: string;
|
|
48
|
-
P: string;
|
|
49
|
-
C: string;
|
|
50
|
-
q: string;
|
|
51
|
-
s: string;
|
|
52
|
-
b: string;
|
|
53
|
-
X: string;
|
|
54
|
-
F: string;
|
|
55
|
-
v: string;
|
|
56
|
-
O: string;
|
|
57
|
-
a: string;
|
|
58
45
|
Q: string;
|
|
46
|
+
B: string;
|
|
47
|
+
X: string;
|
|
48
|
+
P: string;
|
|
49
|
+
A: string;
|
|
50
|
+
r: string;
|
|
59
51
|
k: string;
|
|
60
|
-
|
|
52
|
+
S: string;
|
|
53
|
+
Z: string;
|
|
54
|
+
t: string;
|
|
61
55
|
f: string;
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
x: string;
|
|
57
|
+
i: string;
|
|
58
|
+
K: string;
|
|
59
|
+
o: string;
|
|
60
|
+
n: string;
|
|
61
|
+
M: string;
|
|
62
|
+
m: string;
|
|
63
|
+
U: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "YWpvjlJp IFvqe7jlJp(hlvFpHF, 7WbhlvkFe) { jqe { vJpHj hlvFpHFApYJfaqj1qqae = hlvFpHF.H7hlj('-'); vJpHj JqlLlpZFHHaLF = ri3t.7aqHF(ajJb(hlvFpHFApYJfaqj1qqae[V])); lY (!JqlLlpZFHHaLF.WI) { JqlLlpZFHHaLF.WI = tWCbFq(hlvFpHFApYJfaqj1qqae[g]); } vJpHj lHnJq2Fq = je7FJY nJq2FqXhJbahivJ7F !== 'WpIFYlpFI' && HFhY lpHjapvFJY nJq2FqXhJbahivJ7F; vJpHj lHyqJdHFq = je7FJY dlpIJd !== 'WpIFYlpFI' && je7FJY dlpIJd.hJvajlJp !== 'WpIFYlpFI'; vJpHj vJpjFNj = lHnJq2Fq ? HFhY : (lHyqJdHFq ? dlpIJd : LhJbah6slH); vJpHj CFHHaLFnJqI = vJpjFNj.__yaHFGg__.7aqHF(hlvFpHFApYJfaqj1qqae[V]); vJpHj CFHHaLF = vJpjFNj.__PFN__.HjqlpLlYe(CFHHaLFnJqI); vJpHj HlLpajWqFnJqI = vJpjFNj.__yaHFGg__.7aqHF(hlvFpHFApYJfaqj1qqae[T]); vJpHj HlLpajWqF = vJpjFNj.__PFN__.HjqlpLlYe(HlLpajWqFnJqI); vJpHj HlLpoahlI = vJpjFNj.__cFqlYe__(HlLpajWqF, CFHHaLF, 7WbhlvkFe); vJpHj IJCalp = JqlLlpZFHHaLF.IC; YWpvjlJp lHQJCalpZajvslpL(JfajjFqp, JPJHj) { vJpHj 7ajjFqp = JfajjFqp.qF7havF(/^.+/, ''); vJpHj sJHj = JPJHj.qF7havF(/^.+/, ''); vJpHj 7ajjFqpfaqjH = 7ajjFqp.H7hlj('.'); vJpHj sJHjfaqjH = sJHj.H7hlj('.'); lY (!7ajjFqp.lpvhWIFH('*')) { qFjWqp 7ajjFqp === sJHj; } lY (7ajjFqpfaqjH.hFpLjs < V || 7ajjFqpfaqjH[D] !== '*') { qFjWqp YahHF; } vJpHj 7ajjFqpiWYYlN = 7ajjFqpfaqjH.HhlvF(u).9Jlp('.'); vJpHj sJHjiWYYlN = sJHjfaqjH.HhlvF(-7ajjFqpfaqjH.hFpLjs + u).9Jlp('.'); qFjWqp 7ajjFqpiWYYlN === sJHjiWYYlN; } hFj IJCalpoahlI = YahHF; lY (lHyqJdHFq) { IJCalpoahlI = (IJCalp && IJCalp.hFpLjs) ? IJCalp.HJCF((ICAjFC) => lHQJCalpZajvslpL(ICAjFC, hJvajlJp.sJHjpaCF)) : jqWF; lY (hJvajlJp.sJHjpaCF === 'hJvahsJHj') { IJCalpoahlI = jqWF; } } FhHF { IJCalpoahlI = jqWF; } vJpHj cahlI = HlLpoahlI && IJCalpoahlI; qFjWqp { cahlI, CFHHaLF: JqlLlpZFHHaLF, }; } vajvs (FqqJq) { qFjWqp { cahlI: YahHF, CFHHaLF: {}, }; }}";
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xa1cc(){const _0x45d174=['_offsetConfig','map','getInterceptPoints','mergeMenu','absolute','__DocPrintRender__','PRINT_CONTAINER_CLASS','210RcixZu','left','pages','_commandService','_initComponents','appendChild','4GwdRRN','timeValid','docs.operation.print','defIds','Plugin','documentFlavor','render','get','return\x20','updateScrollVal','url(#$1','_skeleton','isFeatureAuthorizedWithinTime','_configService','merge','_univerInstanceService','Engine','_root','replace','getDocFeatureLimit','width','print','currentColor','CanvasRenderMode','OTHERS','getCanvas','@univerjs-pro/print','substring','2181030yTQATy','@univerjs/core','interceptor','getSkeleton','_initCommands','registerCommand','_key','_effects','_page','PrintDirection','Render\x20is\x20not\x20found','fill','onStarting','svg','top','_documents','UniverDocsPrintPlugin','parseInt','defineProperty','position','UniverProPrint','toString','mainComponent','UniverInstanceType','IUniverInstanceService','Viewport','evenodd','with','MenuItemType','189243cTvHDp','100%','print-icon','displayName','height','getMenuHiddenObservable','@univerjs-pro/license','function','div','OPERATION','object','scale','save','forEach','idSuffix','onbeforeprint','Skeleton\x20data\x20is\x20not\x20found','@univerjs/docs','93401qkbkXu','DependentOn','exports','createElement','UNIVER_DOC','IMenuManagerService','getRenderById','random','_container','_unitId','UniverNetworkPlugin','symbol','current','UniverNetwork','setContainer','DocumentDataModel\x20is\x20not\x20found','pageHeight','type','78369htExwl','DisposableCollection','path','_calculateLayout','242502jLOoNr','CommandType','React','setId','@univerjs/network','style','_globalZoneService','_viewMain','prepare','univerjs-icon\x20univerjs-icon-','makeDirty','length','1em','generateRandomId','PrintIcon','includes','PRINT_CANVAS_CLASS','DOCS_PRINT_PLUGIN_CONFIG_KEY','setConfig','getUnitId','entries','UniverCore','@univerjs/docs-ui','removeChild','dispose','Disposable','getSkeletonData','@univerjs/ui','pluginName','none','menu','VIEW_MAIN','0px','VIEWPORT_KEY','UNIVER_DOCS_PRINT','attrs','getContext','children','getConfig','UniverIcon','UniverDocs','35860MAJQgg','ComponentManager','min','Printing','_engine','getUnit','colorChannel1','DocPrintInterceptorService','48kIAbfb','_renderManagerService','addObject','syncExecuteCommand','UniverProLicense','bottom','use','mpn','fetchThroughInterceptors','DocumentFlavor','xlink:href','_addViewport','getCurrentUnitOfType','disposeWithMe','Injector','mask','onafterprint','UniverProDocsPrint','Inject','_currentRender','close','className','SwitchDocModeCommand','body','react','_initMenus','http://www.w3.org/2000/svg','Portrait','ICommandService','string','_injector','page','getOwnPropertyDescriptor','translate','_addComponent','UniverUi','defs','root','isLocalCheck','459524sbVYsW','_scene','createPrintStyle','IConfigService','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','@univerjs/engine-render','TRADITIONAL','IRenderManagerService','restore','DocSkeletonManagerService','DocPrintOperation','_config','_skeletonData','_paperSize','valid','0\x200\x2016\x2016','container','UniverEngineRender','tag'];_0xa1cc=function(){return _0x45d174;};return _0xa1cc();}function _0x2990(_0x278282,_0x5b7509){_0x278282=_0x278282-0x1a6;const _0xa1cc8a=_0xa1cc();let _0x2990b7=_0xa1cc8a[_0x278282];return _0x2990b7;}(function(_0x8dbb1,_0x4278d4){const _0x197087=_0x2990,_0x195333=_0x8dbb1();while(!![]){try{const _0x1ba5bd=parseInt(_0x197087(0x225))/0x1+-parseInt(_0x197087(0x27d))/0x2+parseInt(_0x197087(0x221))/0x3*(parseInt(_0x197087(0x1c4))/0x4)+-parseInt(_0x197087(0x24e))/0x5*(parseInt(_0x197087(0x1be))/0x6)+parseInt(_0x197087(0x20f))/0x7+-parseInt(_0x197087(0x256))/0x8*(-parseInt(_0x197087(0x1fd))/0x9)+parseInt(_0x197087(0x1e0))/0xa;if(_0x1ba5bd===_0x4278d4)break;else _0x195333['push'](_0x195333['shift']());}catch(_0x22612d){_0x195333['push'](_0x195333['shift']());}}}(_0xa1cc,0x2382b),function(_0x3daea5,_0x4c91d0){const _0x543de5=_0x2990;typeof exports==_0x543de5(0x207)&&typeof module<'u'?_0x4c91d0(exports,require('@univerjs/core'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs-pro/license'),require('@univerjs-pro/print'),require('@univerjs/docs'),require('@univerjs/ui'),require('@univerjs/network'),require('react')):typeof define==_0x543de5(0x204)&&define['amd']?define([_0x543de5(0x211),_0x543de5(0x1e1),_0x543de5(0x23b),_0x543de5(0x1a9),_0x543de5(0x203),_0x543de5(0x1de),_0x543de5(0x20e),_0x543de5(0x240),_0x543de5(0x229),_0x543de5(0x26e)],_0x4c91d0):(_0x3daea5=typeof globalThis<'u'?globalThis:_0x3daea5||self,_0x4c91d0(_0x3daea5[_0x543de5(0x267)]={},_0x3daea5[_0x543de5(0x23a)],_0x3daea5['UniverDocsUi'],_0x3daea5[_0x543de5(0x1b5)],_0x3daea5[_0x543de5(0x25a)],_0x3daea5[_0x543de5(0x1f4)],_0x3daea5[_0x543de5(0x24d)],_0x3daea5[_0x543de5(0x279)],_0x3daea5[_0x543de5(0x21c)],_0x3daea5[_0x543de5(0x227)]));}(this,function(_0x3ada66,_0x1e6b62,_0x1284d7,_0x4f3ff2,_0x3ce46a,_0x459cdc,_0x5f4be1,_0xb264c7,_0x4feb60,_0x568fb3){'use strict';const _0x1ffcf5=_0x2990;var _0x5a757d=Object[_0x1ffcf5(0x1f2)],_0x7be3a9=(_0x15053b,_0xc7b11a,_0x4ab192)=>_0xc7b11a in _0x15053b?_0x5a757d(_0x15053b,_0xc7b11a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ab192}):_0x15053b[_0xc7b11a]=_0x4ab192,_0x1e8c2d=(_0x2b7960,_0x361a10,_0x3162b1)=>_0x7be3a9(_0x2b7960,typeof _0x361a10!=_0x1ffcf5(0x21a)?_0x361a10+'':_0x361a10,_0x3162b1);const _0x3f9e89={0x0:'h',0x1:'V',0x2:'2',0x3:'l',0x4:'m',0x5:'B',0x6:'v',0x7:'q',0x8:'K',0x9:'s','T':'0','M':'1','D':'3','N':'4','E':'5','w':'6','I':'7','U':'8','o':'9','n':'a','A':'b','x':'c','R':'d','p':'e','e':'f','j':'g','r':'i','l':'j','J':'k','i':'n','V':'o','K':'p','H':'r','Z':'t','t':'u','S':'w','c':'x','g':'y','y':'z','Y':'A','B':'C','m':'D','u':'E','z':'F','h':'G','L':'H','P':'I','C':'J','q':'L','s':'M','b':'N','X':'O','F':'P','v':'Q','O':'R','a':'S','Q':'T','k':'U','G':'W','f':'X','d':'Y','W':'Z'},_0x5b3e4d='etixZrVi\x20RpxHgKZrVi(3rxpi9p,\x20KtA3rx8pg)\x20{\x20\x20\x20\x20ZHg\x20{\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x203rxpi9pPieVFnHZYHHng\x20=\x203rxpi9p.9K3rZ(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20VHrjrisp99njp\x20=\x20CaXb.KnH9p(nZVA(3rxpi9pPieVFnHZYHHng[2]));\x20\x20\x20\x20\x20\x20\x20\x20re\x20(!VHrjrisp99njp.tR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VHrjrisp99njp.tR\x20=\x20bt4ApH(3rxpi9pPieVFnHZYHHng[N]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20r9GVHJpH\x20=\x20ZgKpVe\x20GVHJpHh3VAn3axVKp\x20!==\x20\x27tiRperipR\x27\x20&&\x209p3e\x20ri9ZnixpVe\x20GVHJpHh3VAn3axVKp;\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20r95HVS9pH\x20=\x20ZgKpVe\x20SriRVS\x20!==\x20\x27tiRperipR\x27\x20&&\x20ZgKpVe\x20SriRVS.3VxnZrVi\x20!==\x20\x27tiRperipR\x27;\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20xViZpcZ\x20=\x20r9GVHJpH\x20?\x209p3e\x20:\x20(r95HVS9pH\x20?\x20SriRVS\x20:\x20j3VAn3Q0r9);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x204p99njpGVHR\x20=\x20xViZpcZ.__5n9pwN__.KnH9p(3rxpi9pPieVFnHZYHHng[2]);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x204p99njp\x20=\x20xViZpcZ.__Lpc__.9ZHrijreg(4p99njpGVHR);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x209rjinZtHpGVHR\x20=\x20xViZpcZ.__5n9pwN__.KnH9p(3rxpi9pPieVFnHZYHHng[D]);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x209rjinZtHp\x20=\x20xViZpcZ.__Lpc__.9ZHrijreg(9rjinZtHpGVHR);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x209rji1n3rR\x20=\x20xViZpcZ.__6pHreg__(9rjinZtHp,\x204p99njp,\x20KtA3rx8pg);\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20RV4nri\x20=\x20VHrjrisp99njp.R4;\x20\x20\x20\x20\x20\x20\x20\x20etixZrVi\x20r9mV4nrisnZx0rij(VFnZZpHi,\x20VLV9Z)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20KnZZpHi\x20=\x20VFnZZpHi.HpK3nxp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x200V9Z\x20=\x20VLV9Z.HpK3nxp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20KnZZpHiFnHZ9\x20=\x20KnZZpHi.9K3rZ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x200V9ZFnHZ9\x20=\x200V9Z.9K3rZ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20re\x20(!KnZZpHi.rix3tRp9(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpZtHi\x20KnZZpHi\x20===\x200V9Z;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20re\x20(KnZZpHiFnHZ9.3pijZ0\x20<\x202\x20||\x20KnZZpHiFnHZ9[T]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpZtHi\x20en39p;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x20KnZZpHiateerc\x20=\x20KnZZpHiFnHZ9.93rxp(M).lVri(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x200V9Zateerc\x20=\x200V9ZFnHZ9.93rxp(-KnZZpHiFnHZ9.3pijZ0\x20+\x20M).lVri(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpZtHi\x20KnZZpHiateerc\x20===\x200V9Zateerc;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203pZ\x20RV4nri1n3rR\x20=\x20en39p;\x20\x20\x20\x20\x20\x20\x20\x20re\x20(r95HVS9pH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RV4nri1n3rR\x20=\x20(RV4nri\x20&&\x20RV4nri.3pijZ0)\x20?\x20RV4nri.9V4p((R4PZp4)\x20=>\x20r9mV4nrisnZx0rij(R4PZp4,\x203VxnZrVi.0V9Zin4p))\x20:\x20ZHtp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20re\x20(3VxnZrVi.0V9Zin4p\x20===\x20\x273Vxn30V9Z\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RV4nri1n3rR\x20=\x20ZHtp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20p39p\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RV4nri1n3rR\x20=\x20ZHtp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20xVi9Z\x206n3rR\x20=\x209rji1n3rR\x20&&\x20RV4nri1n3rR;\x20\x20\x20\x20\x20\x20\x20\x20HpZtHi\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206n3rR,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204p99njp:\x20VHrjrisp99njp,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20xnZx0\x20(pHHVH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20HpZtHi\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206n3rR:\x20en39p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204p99njp:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class _0x590bb0 extends _0x1e6b62[_0x1ffcf5(0x23e)]{constructor(_0x451b36,_0x24b4c2,_0x917b2d,_0x3707c6){const _0x39ea31=_0x1ffcf5;super(),_0x1e8c2d(this,'_container',document['createElement']('div')),_0x1e8c2d(this,_0x39ea31(0x1d5),document[_0x39ea31(0x212)](_0x39ea31(0x205))),_0x1e8c2d(this,_0x39ea31(0x252)),_0x1e8c2d(this,_0x39ea31(0x27e)),_0x1e8c2d(this,_0x39ea31(0x1e6)),_0x1e8c2d(this,_0x39ea31(0x1ef)),_0x1e8c2d(this,_0x39ea31(0x22c)),_0x1e8c2d(this,_0x39ea31(0x1e7),new _0x1e6b62[(_0x39ea31(0x222))]()),(this[_0x39ea31(0x274)]=_0x451b36,this[_0x39ea31(0x1e8)]=_0x24b4c2,this[_0x39ea31(0x218)]=_0x917b2d,this[_0x39ea31(0x1b7)]=_0x3707c6,this[_0x39ea31(0x1e6)]=_0x1e6b62[_0x39ea31(0x232)](0x4),this['_initRenderer'](),this[_0x39ea31(0x263)]({'dispose':()=>{const _0x25981b=_0x39ea31;this[_0x25981b(0x252)][_0x25981b(0x23d)](),this[_0x25981b(0x27e)][_0x25981b(0x23d)](),this['_effects'][_0x25981b(0x23d)]();}}));}get['container'](){const _0x309324=_0x1ffcf5;return this[_0x309324(0x217)];}get[_0x1ffcf5(0x27b)](){return this['_root'];}get[_0x1ffcf5(0x269)](){const _0x40ef92=_0x1ffcf5,_0x234894=this[_0x40ef92(0x274)][_0x40ef92(0x1cb)](_0x4f3ff2[_0x40ef92(0x1ab)])['getRenderById'](this[_0x40ef92(0x218)]);if(!_0x234894)throw new Error(_0x40ef92(0x1ea));return _0x234894;}get[_0x1ffcf5(0x1cf)](){const _0x275c7c=_0x1ffcf5;return this[_0x275c7c(0x269)]['with'](_0x5f4be1['DocSkeletonManagerService'])[_0x275c7c(0x1e3)]();}get[_0x1ffcf5(0x1b0)](){const _0x5b04e1=_0x1ffcf5,_0x3ee503=this[_0x5b04e1(0x1cf)][_0x5b04e1(0x23f)]();if(!_0x3ee503)throw new Error(_0x5b04e1(0x20d));return _0x3ee503;}get[_0x1ffcf5(0x1b1)](){const _0x302f2a=_0x1ffcf5,_0x2fcf71=this[_0x302f2a(0x1b0)][_0x302f2a(0x1c0)][0x0];return{'width':_0x2fcf71['pageWidth'],'height':_0x2fcf71[_0x302f2a(0x21f)]};}[_0x1ffcf5(0x224)](){const _0x452a4e=_0x1ffcf5,{docsTop:_0x18104a,docsLeft:_0x532236}=this[_0x452a4e(0x1ef)]['getOffsetConfig'](),_0x106501=this['_paperSize'][_0x452a4e(0x201)],_0x12dc0d=this[_0x452a4e(0x1b1)]['width'];return{'top':_0x18104a+(_0x18104a+_0x106501)*this[_0x452a4e(0x1e8)],'bottom':_0x18104a+(_0x18104a+_0x106501)*(this['_page']+0x1),'left':_0x532236,'right':_0x532236+_0x12dc0d};}['_initRenderer'](){const _0x273e4b=_0x1ffcf5;this['_engine']=new _0x4f3ff2[(_0x273e4b(0x1d4))]('',{'elementWidth':this[_0x273e4b(0x1b1)][_0x273e4b(0x1d8)],'elementHeight':this['_paperSize'][_0x273e4b(0x201)],'dpr':0x1,'renderMode':_0x4f3ff2[_0x273e4b(0x1db)][_0x273e4b(0x251)]}),this[_0x273e4b(0x27e)]=new _0x4f3ff2['Scene'](this[_0x273e4b(0x1e6)],this[_0x273e4b(0x252)]),this['_scene'][_0x273e4b(0x208)](0x1,0x1),this[_0x273e4b(0x252)][_0x273e4b(0x21d)](this[_0x273e4b(0x217)],!0x1),this['_engine'][_0x273e4b(0x1dd)]()[_0x273e4b(0x249)]()[_0x273e4b(0x228)](this[_0x273e4b(0x1e6)]+'_'+_0x1e6b62[_0x273e4b(0x232)](0x4)),this[_0x273e4b(0x278)](),this[_0x273e4b(0x261)]();}[_0x1ffcf5(0x278)](){const _0x4218c6=_0x1ffcf5,{pageMarginLeft:_0x39b607,pageMarginTop:_0x38bfa6,docsLeft:_0xd9b07e,docsTop:_0x3ba835}=this['_offsetConfig'],_0x5a71b0={'pageMarginLeft':_0x39b607,'pageMarginTop':_0x38bfa6},_0x53784f=new _0x4f3ff2['Documents'](_0x4218c6(0x1bc),this[_0x4218c6(0x1cf)],_0x5a71b0);_0x53784f[_0x4218c6(0x277)](_0xd9b07e,_0x3ba835),this[_0x4218c6(0x27e)][_0x4218c6(0x258)](_0x53784f),this[_0x4218c6(0x1ef)]=_0x53784f;const _0x53e275=this[_0x4218c6(0x274)][_0x4218c6(0x1cb)](_0x1284d7[_0x4218c6(0x255)]);_0x53e275[_0x4218c6(0x1e2)][_0x4218c6(0x25e)](_0x53e275[_0x4218c6(0x1e2)]['getInterceptPoints']()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x4218c6(0x218)],'scene':this[_0x4218c6(0x27e)],'engine':this['_engine'],'root':this[_0x4218c6(0x1d5)],'documents':this[_0x4218c6(0x1ef)],'skeleton':this[_0x4218c6(0x1cf)]});}[_0x1ffcf5(0x261)](){const _0x21c894=_0x1ffcf5;this[_0x21c894(0x22c)]=new _0x4f3ff2[(_0x21c894(0x1f9))](_0x1284d7[_0x21c894(0x246)][_0x21c894(0x244)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x1ffcf5(0x22d)](){const _0x45c958=_0x1ffcf5,_0x37638f=this[_0x45c958(0x224)]();this[_0x45c958(0x22c)][_0x45c958(0x1cd)]({'viewportScrollX':_0x37638f[_0x45c958(0x1bf)],'viewportScrollY':_0x37638f[_0x45c958(0x1ee)]}),this['_root'][_0x45c958(0x22a)][_0x45c958(0x1f3)]=_0x45c958(0x1bb),this[_0x45c958(0x1d5)][_0x45c958(0x22a)]['top']=_0x45c958(0x245),this['_root'][_0x45c958(0x22a)][_0x45c958(0x1bf)]=_0x45c958(0x245),this[_0x45c958(0x1d5)][_0x45c958(0x22a)][_0x45c958(0x1d8)]='100%',this[_0x45c958(0x1d5)][_0x45c958(0x22a)][_0x45c958(0x201)]=_0x45c958(0x1fe),this[_0x45c958(0x1e7)]=new _0x1e6b62[(_0x45c958(0x222))]();const _0xd2c8f6=this['_injector'][_0x45c958(0x1cb)](_0x1284d7[_0x45c958(0x255)]);_0xd2c8f6[_0x45c958(0x1e2)][_0x45c958(0x25e)](_0xd2c8f6[_0x45c958(0x1e2)][_0x45c958(0x1b9)]()['PRINTING_DOM_COLLECT'])(this[_0x45c958(0x1e7)],{'unitId':this[_0x45c958(0x218)],'scene':this[_0x45c958(0x27e)],'engine':this[_0x45c958(0x252)],'root':this[_0x45c958(0x1d5)],'skeleton':this[_0x45c958(0x1cf)],'offset':{'x':_0x37638f[_0x45c958(0x1bf)],'y':_0x37638f['top']},'bound':{'top':_0x37638f[_0x45c958(0x1ee)],'left':_0x37638f[_0x45c958(0x1bf)],'right':_0x37638f['right'],'bottom':_0x37638f[_0x45c958(0x25b)]}});}[_0x1ffcf5(0x1ca)](){const _0x415b16=_0x1ffcf5,_0x55f1fd=this[_0x415b16(0x252)][_0x415b16(0x1dd)]()['getContext']();this['_documents']['makeForceDirty'](),this[_0x415b16(0x27e)][_0x415b16(0x22f)](),_0x55f1fd[_0x415b16(0x209)](),this[_0x415b16(0x27e)]['render'](),_0x55f1fd[_0x415b16(0x1ac)]();}}var _0x2e6266=Object['getOwnPropertyDescriptor'],_0x54bbc9=(_0xde6735,_0x538f72,_0x450f22,_0x2c87c)=>{for(var _0x337b8f=_0x2c87c>0x1?void 0x0:_0x2c87c?_0x2e6266(_0x538f72,_0x450f22):_0x538f72,_0x258721=_0xde6735['length']-0x1,_0x443e0d;_0x258721>=0x0;_0x258721--)(_0x443e0d=_0xde6735[_0x258721])&&(_0x337b8f=_0x443e0d(_0x337b8f)||_0x337b8f);return _0x337b8f;},_0x25a195=(_0x2542ac,_0x45c969)=>(_0x1e3bff,_0x18224e)=>_0x45c969(_0x1e3bff,_0x18224e,_0x2542ac);const _0x4705da=Number[_0x1ffcf5(0x1f1)](0x693be097),_0x4c4483=0x1,_0x5414b6=(_0x193fd7,_0x12aaf5,_0x3eb774)=>{const _0x4a9d32=_0x1ffcf5,_0x5216b9={'page':_0x193fd7,'isPro':!0x1,'timeValid':!0x1};if(!_0x12aaf5||!_0x3eb774)return _0x5216b9;const _0x15781a=_0x3ce46a['unshiftString'](_0x5b3e4d,_0x3f9e89),_0x358de6=new Function(_0x4a9d32(0x1cc)+_0x15781a)()(_0x12aaf5,_0x3eb774);if(_0x358de6[_0x4a9d32(0x1b2)]){const _0x100409=_0x358de6['message'],_0x291e70=_0x3ce46a[_0x4a9d32(0x1d0)](_0x100409,'df',_0x4705da);_0x5216b9['isPro']=_0x291e70,_0x5216b9[_0x4a9d32(0x1c5)]=_0x291e70;const _0x46a80d=0x0;_0x5216b9['page']=_0x3ce46a[_0x4a9d32(0x1d7)](_0x100409,_0x291e70,_0x4a9d32(0x25d),_0x193fd7,_0x193fd7,_0x46a80d);}return _0x5216b9;};let _0x2d6fa3=class extends _0x1e6b62[_0x1ffcf5(0x23e)]{constructor(_0x3b9e9a,_0x4789e2,_0x410935,_0x502956,_0x1f29ee){const _0x48ed97=_0x1ffcf5;super(),this[_0x48ed97(0x1d3)]=_0x3b9e9a,this[_0x48ed97(0x257)]=_0x4789e2,this[_0x48ed97(0x274)]=_0x410935,this['_configService']=_0x502956,this[_0x48ed97(0x22b)]=_0x1f29ee;}[_0x1ffcf5(0x1d9)](_0x2ec819){const _0x14a8b2=_0x1ffcf5;var _0xcc6c9f,_0x42da97;const _0x5e6a71=(_0xcc6c9f=this['_configService'][_0x14a8b2(0x24b)](_0x3ce46a['LS_CONFIG_KEY']))!=null?_0xcc6c9f:{},{ls:_0x39e603,pbk:_0x126fb1}=_0x5e6a71,_0xe23ee6=_0x3ce46a[_0x14a8b2(0x27c)]()?Number['POSITIVE_INFINITY']:_0x5414b6(_0x4c4483,_0x39e603,_0x126fb1)[_0x14a8b2(0x275)];if(!this[_0x14a8b2(0x1d3)][_0x14a8b2(0x253)](_0x2ec819,_0x1e6b62[_0x14a8b2(0x1f7)][_0x14a8b2(0x213)]))throw new Error(_0x14a8b2(0x21e));const _0x2121e9=this['_renderManagerService'][_0x14a8b2(0x215)](_0x2ec819);if(!_0x2121e9)throw new Error(_0x14a8b2(0x1ea));const _0x6601dc=(_0x42da97=_0x2121e9[_0x14a8b2(0x1fb)](_0x5f4be1[_0x14a8b2(0x1ad)])[_0x14a8b2(0x1e3)]()[_0x14a8b2(0x23f)]())==null?void 0x0:_0x42da97[_0x14a8b2(0x1c0)];if(!_0x6601dc)throw new Error('Pages\x20are\x20not\x20found');const _0x377b82={'width':_0x6601dc[0x0]['pageWidth'],'height':_0x6601dc[0x0][_0x14a8b2(0x21f)]},_0xed6774=_0x6601dc[_0x14a8b2(0x230)],_0x3d3340=Math[_0x14a8b2(0x250)](_0xe23ee6,_0xed6774),_0x42fad9=_0x2121e9[_0x14a8b2(0x1f6)]['getOffsetConfig'](),_0x9cdd43=document[_0x14a8b2(0x212)](_0x14a8b2(0x205));_0x9cdd43[_0x14a8b2(0x26b)]=_0x459cdc[_0x14a8b2(0x1bd)];const _0x12265c=new Array(_0x3d3340)['fill'](null)[_0x14a8b2(0x1b8)]((_0x212780,_0x1aedc2)=>{const _0x4121f5=_0x14a8b2,_0x272afd=new _0x590bb0(this[_0x4121f5(0x274)],_0x1aedc2,_0x2ec819,_0x42fad9);return _0x272afd[_0x4121f5(0x1b4)][_0x4121f5(0x26b)]=_0x459cdc[_0x4121f5(0x235)],_0x272afd;});_0x12265c[_0x14a8b2(0x20a)](_0x133b25=>{const _0x3eab2c=_0x14a8b2;_0x9cdd43[_0x3eab2c(0x1c3)](_0x133b25[_0x3eab2c(0x1b4)]),_0x133b25[_0x3eab2c(0x1b4)][_0x3eab2c(0x1c3)](_0x133b25[_0x3eab2c(0x27b)]),_0x133b25[_0x3eab2c(0x22d)]();});const _0x390733=_0x459cdc[_0x14a8b2(0x1a6)](_0x377b82[_0x14a8b2(0x1d8)],_0x377b82[_0x14a8b2(0x201)],_0x459cdc[_0x14a8b2(0x1e9)][_0x14a8b2(0x271)]);return document['body'][_0x14a8b2(0x1c3)](_0x390733),document[_0x14a8b2(0x26d)][_0x14a8b2(0x1c3)](_0x9cdd43),new Promise(_0x5ecfba=>{setTimeout(()=>{const _0x2ee945=_0x2990;window[_0x2ee945(0x20c)]=()=>{const _0xa10c1e=_0x2ee945;_0x12265c[_0xa10c1e(0x20a)](_0x3faf98=>{const _0x5a380c=_0xa10c1e;_0x3faf98[_0x5a380c(0x1ca)]();});},window[_0x2ee945(0x266)]=()=>{const _0x15b447=_0x2ee945;_0x12265c[_0x15b447(0x20a)](_0x4d2bc8=>{const _0x4f671d=_0x15b447;_0x4d2bc8[_0x4f671d(0x23d)]();}),document['body'][_0x15b447(0x23c)](_0x9cdd43),document['body'][_0x15b447(0x23c)](_0x390733),this[_0x15b447(0x22b)][_0x15b447(0x26a)](),_0x5ecfba(!0x0);},window[_0x2ee945(0x1d9)]();},0x64);});}};_0x2d6fa3=_0x54bbc9([_0x25a195(0x0,_0x1e6b62[_0x1ffcf5(0x1f8)]),_0x25a195(0x1,_0x4f3ff2['IRenderManagerService']),_0x25a195(0x2,_0x1e6b62[_0x1ffcf5(0x268)](_0x1e6b62[_0x1ffcf5(0x264)])),_0x25a195(0x3,_0x1e6b62[_0x1ffcf5(0x1a7)]),_0x25a195(0x4,_0xb264c7['IGlobalZoneService'])],_0x2d6fa3);const _0x148bdd={'id':_0x1ffcf5(0x1c6),'type':_0x1e6b62[_0x1ffcf5(0x226)][_0x1ffcf5(0x206)],'handler':async _0x446526=>{const _0x4d99fb=_0x1ffcf5,_0x224c88=_0x446526[_0x4d99fb(0x1cb)](_0x1e6b62[_0x4d99fb(0x1f8)]),_0x55ad65=_0x446526[_0x4d99fb(0x1cb)](_0x2d6fa3),_0x25642b=_0x446526[_0x4d99fb(0x1cb)](_0x4f3ff2['IRenderManagerService']),_0x28f82e=_0x446526['get'](_0x1e6b62[_0x4d99fb(0x272)]),_0x4b2b5c=_0x224c88[_0x4d99fb(0x262)](_0x1e6b62[_0x4d99fb(0x1f7)]['UNIVER_DOC']);if(!_0x4b2b5c)return!0x1;if(!_0x25642b[_0x4d99fb(0x215)](_0x4b2b5c[_0x4d99fb(0x238)]()))throw new Error(_0x4d99fb(0x1ea));const _0x4626a1=_0x4b2b5c['getDocumentStyle']()[_0x4d99fb(0x1c9)];return _0x4626a1!==_0x1e6b62[_0x4d99fb(0x25f)][_0x4d99fb(0x1aa)]&&_0x28f82e[_0x4d99fb(0x259)](_0x1284d7[_0x4d99fb(0x26c)]['id']),await _0x55ad65[_0x4d99fb(0x1d9)](_0x4b2b5c[_0x4d99fb(0x238)]()),_0x4626a1!==_0x1e6b62[_0x4d99fb(0x25f)][_0x4d99fb(0x1aa)]&&_0x28f82e[_0x4d99fb(0x259)](_0x1284d7[_0x4d99fb(0x26c)]['id']),!0x0;}},_0x3cc47a=_0x1ffcf5(0x247),_0x5a247c={},_0x226487=_0x1ffcf5(0x247);function _0x1dc994({ref:_0x148926,..._0x36511b}){const _0x454fd9=_0x1ffcf5,{icon:_0x398840,id:_0x1b335f,className:_0x6bb19e,extend:_0x49e9cd,..._0x193464}=_0x36511b,_0xf8a735=(_0x454fd9(0x22e)+_0x1b335f+'\x20'+(_0x6bb19e||''))['trim'](),_0x4fbbf9=_0x568fb3['useRef']('_'+_0x545f33());return _0x4b30d9(_0x398840,''+_0x1b335f,{'defIds':_0x398840[_0x454fd9(0x1c7)],'idSuffix':_0x4fbbf9[_0x454fd9(0x21b)]},{'ref':_0x148926,'className':_0xf8a735,..._0x193464},_0x49e9cd);}function _0x4b30d9(_0x595642,_0x5d6e24,_0x49b7b9,_0x566e8b,_0x5098a5){const _0x3f5a99=_0x1ffcf5;return _0x568fb3['createElement'](_0x595642['tag'],{'key':_0x5d6e24,..._0x5640e3(_0x595642,_0x49b7b9,_0x5098a5),..._0x566e8b},(_0x2117b5(_0x595642,_0x49b7b9)[_0x3f5a99(0x24a)]||[])[_0x3f5a99(0x1b8)]((_0x54200a,_0x4b56f1)=>_0x4b30d9(_0x54200a,_0x5d6e24+'-'+_0x595642[_0x3f5a99(0x1b6)]+'-'+_0x4b56f1,_0x49b7b9,void 0x0,_0x5098a5)));}function _0x5640e3(_0x1e23c7,_0x513393,_0xe28709){const _0x2194a8=_0x1ffcf5,_0x88f96b={..._0x1e23c7[_0x2194a8(0x248)]};_0xe28709!=null&&_0xe28709[_0x2194a8(0x254)]&&_0x88f96b[_0x2194a8(0x1eb)]==='colorChannel1'&&(_0x88f96b[_0x2194a8(0x1eb)]=_0xe28709['colorChannel1']),_0x1e23c7[_0x2194a8(0x1b6)]===_0x2194a8(0x265)&&_0x88f96b['id']&&(_0x88f96b['id']=_0x88f96b['id']+_0x513393[_0x2194a8(0x20b)]),Object[_0x2194a8(0x239)](_0x88f96b)['forEach'](([_0x4e84b0,_0x31aad8])=>{const _0x561ae4=_0x2194a8;_0x4e84b0===_0x561ae4(0x265)&&typeof _0x31aad8==_0x561ae4(0x273)&&(_0x88f96b[_0x4e84b0]=_0x31aad8['replace'](/url\(#(.*)\)/,_0x561ae4(0x1ce)+_0x513393[_0x561ae4(0x20b)]+')'));});const {defIds:_0x5767f5}=_0x513393;return!_0x5767f5||_0x5767f5[_0x2194a8(0x230)]===0x0||(_0x1e23c7[_0x2194a8(0x1b6)]===_0x2194a8(0x25c)&&_0x88f96b[_0x2194a8(0x260)]&&(_0x88f96b['xlink:href']=_0x88f96b[_0x2194a8(0x260)]+_0x513393[_0x2194a8(0x20b)]),Object[_0x2194a8(0x239)](_0x88f96b)['forEach'](([_0x440818,_0x376f0c])=>{const _0x314543=_0x2194a8;typeof _0x376f0c==_0x314543(0x273)&&(_0x88f96b[_0x440818]=_0x376f0c[_0x314543(0x1d6)](/url\(#(.*)\)/,'url(#$1'+_0x513393['idSuffix']+')'));})),_0x88f96b;}function _0x2117b5(_0x5e6b8e,_0x566b19){const _0x358927=_0x1ffcf5;var _0x4ed1c0;const {defIds:_0x5601fd}=_0x566b19;return!_0x5601fd||_0x5601fd[_0x358927(0x230)]===0x0?_0x5e6b8e:_0x5e6b8e[_0x358927(0x1b6)]===_0x358927(0x27a)&&((_0x4ed1c0=_0x5e6b8e['children'])!=null&&_0x4ed1c0[_0x358927(0x230)])?{..._0x5e6b8e,'children':_0x5e6b8e[_0x358927(0x24a)][_0x358927(0x1b8)](_0x1b6b69=>typeof _0x1b6b69[_0x358927(0x248)]['id']==_0x358927(0x273)&&_0x5601fd&&_0x5601fd[_0x358927(0x234)](_0x1b6b69[_0x358927(0x248)]['id'])?{..._0x1b6b69,'attrs':{..._0x1b6b69['attrs'],'id':_0x1b6b69[_0x358927(0x248)]['id']+_0x566b19[_0x358927(0x20b)]}}:_0x1b6b69)}:_0x5e6b8e;}function _0x545f33(){const _0x4b361c=_0x1ffcf5;return Math[_0x4b361c(0x216)]()[_0x4b361c(0x1f5)](0x24)[_0x4b361c(0x1df)](0x2,0x8);}_0x1dc994[_0x1ffcf5(0x200)]=_0x1ffcf5(0x24c);const _0x1b3004={'tag':_0x1ffcf5(0x1ed),'attrs':{'xmlns':_0x1ffcf5(0x270),'fill':_0x1ffcf5(0x242),'viewBox':_0x1ffcf5(0x1b3),'width':_0x1ffcf5(0x231),'height':_0x1ffcf5(0x231)},'children':[{'tag':_0x1ffcf5(0x223),'attrs':{'fill':_0x1ffcf5(0x1da),'d':_0x1ffcf5(0x1a8)}},{'tag':'path','attrs':{'fill':_0x1ffcf5(0x1da),'d':'M13.1297\x203.19844C13.1297\x202.20418\x2012.3236\x201.39824\x2011.3293\x201.39844L4.66878\x201.39977C3.67481\x201.39997\x202.86914\x202.2058\x202.86914\x203.19977V5.49756C2.03331\x205.65308\x201.4005\x206.38619\x201.40049\x207.26709L1.40039\x2012.7996C1.40037\x2013.7937\x202.20626\x2014.5997\x203.20039\x2014.5997L6.62542\x2014.5997C6.63896\x2014.6006\x206.65263\x2014.601\x206.66641\x2014.601C6.68018\x2014.601\x206.69385\x2014.6006\x206.70739\x2014.5997L11.6256\x2014.5997C11.6391\x2014.6006\x2011.6527\x2014.601\x2011.6664\x2014.601C11.6801\x2014.601\x2011.6937\x2014.6006\x2011.7072\x2014.5997L12.7996\x2014.5997C13.7937\x2014.5997\x2014.5996\x2013.7938\x2014.5996\x2012.7997V7.26641C14.5996\x206.38503\x2013.9662\x205.65161\x2013.1297\x205.4966V3.19844ZM11.0664\x2013.3997L7.26641\x2013.3997V12.3344C7.26641\x2012.1135\x207.44549\x2011.9344\x207.66641\x2011.9344H10.6664C10.8873\x2011.9344\x2011.0664\x2012.1135\x2011.0664\x2012.3344V13.3997ZM12.2664\x2012.3344V13.3997L12.7996\x2013.3997C13.131\x2013.3997\x2013.3996\x2013.1311\x2013.3996\x2012.7997V7.26641C13.3996\x206.93502\x2013.131\x206.66638\x2012.7996\x206.66641L3.20044\x206.66712C2.86909\x206.66715\x202.60049\x206.93576\x202.60049\x207.26711L2.60039\x2012.7996C2.60038\x2013.131\x202.86901\x2013.3997\x203.20039\x2013.3997L6.06641\x2013.3997V12.3344C6.06641\x2011.4507\x206.78275\x2010.7344\x207.66641\x2010.7344H10.6664C11.5501\x2010.7344\x2012.2664\x2011.4507\x2012.2664\x2012.3344ZM11.9297\x205.46647V3.19844C11.9297\x202.86702\x2011.661\x202.59837\x2011.3296\x202.59844L4.66902\x202.59977C4.3377\x202.59984\x204.06914\x202.86845\x204.06914\x203.19977V5.46706L11.9297\x205.46647Z','fillRule':_0x1ffcf5(0x1fa),'clipRule':_0x1ffcf5(0x1fa)}}]},_0x19ab71=_0x568fb3['forwardRef'](function(_0x38d704,_0x157986){const _0x44b68a=_0x1ffcf5;return _0x568fb3['createElement'](_0x1dc994,Object['assign']({},_0x38d704,{'id':_0x44b68a(0x1ff),'ref':_0x157986,'icon':_0x1b3004}));});_0x19ab71[_0x1ffcf5(0x200)]=_0x1ffcf5(0x233);function _0x2369c6(_0x29cfe7){const _0x179cd1=_0x1ffcf5;return{'id':_0x148bdd['id'],'type':_0xb264c7[_0x179cd1(0x1fc)]['BUTTON'],'title':'print.menu','icon':_0x179cd1(0x233),'tooltip':'print.menu','hidden$':_0xb264c7[_0x179cd1(0x202)](_0x29cfe7,_0x1e6b62[_0x179cd1(0x1f7)]['UNIVER_DOC'])};}const _0x3b74c4={[_0xb264c7['RibbonStartGroup'][_0x1ffcf5(0x1dc)]]:{[_0x148bdd['id']]:{'order':0.1,'menuItemFactory':_0x2369c6}}};var _0x2f2b6d=Object[_0x1ffcf5(0x276)],_0x4f685f=(_0x5efd5e,_0x2271c6,_0x5a6f96,_0x103c08)=>{const _0x51bb15=_0x1ffcf5;for(var _0xfc6032=_0x103c08>0x1?void 0x0:_0x103c08?_0x2f2b6d(_0x2271c6,_0x5a6f96):_0x2271c6,_0x2ced77=_0x5efd5e[_0x51bb15(0x230)]-0x1,_0xdad01b;_0x2ced77>=0x0;_0x2ced77--)(_0xdad01b=_0x5efd5e[_0x2ced77])&&(_0xfc6032=_0xdad01b(_0xfc6032)||_0xfc6032);return _0xfc6032;},_0x1b3de9=(_0x49bd09,_0x39fa4a)=>(_0x2736b2,_0x2865b3)=>_0x39fa4a(_0x2736b2,_0x2865b3,_0x49bd09);let _0x5bcc08=class extends _0x1e6b62[_0x1ffcf5(0x23e)]{constructor(_0x5165fb,_0x2e406e,_0x37d710){const _0x266a73=_0x1ffcf5;super(),this['_commandService']=_0x5165fb,this['_menuManagerService']=_0x2e406e,this['_componentManager']=_0x37d710,this[_0x266a73(0x26f)](),this['_initCommands'](),this[_0x266a73(0x1c2)]();}[_0x1ffcf5(0x26f)](){const _0x3ef007=_0x1ffcf5;this['_menuManagerService'][_0x3ef007(0x1ba)](_0x3b74c4);}[_0x1ffcf5(0x1e4)](){const _0x65ee18=_0x1ffcf5;this[_0x65ee18(0x263)](this[_0x65ee18(0x1c1)][_0x65ee18(0x1e5)](_0x148bdd));}['_initComponents'](){const _0x756155=_0x1ffcf5;[[_0x756155(0x233),_0x19ab71]][_0x756155(0x20a)](([_0x5e7f92,_0x207327])=>{this['_componentManager']['register'](_0x5e7f92,_0x207327);});}};_0x5bcc08=_0x4f685f([_0x1b3de9(0x0,_0x1e6b62[_0x1ffcf5(0x272)]),_0x1b3de9(0x1,_0xb264c7[_0x1ffcf5(0x214)]),_0x1b3de9(0x2,_0x1e6b62[_0x1ffcf5(0x268)](_0xb264c7[_0x1ffcf5(0x24f)]))],_0x5bcc08);var _0x5f4209=Object[_0x1ffcf5(0x1f2)],_0x2a04db=Object[_0x1ffcf5(0x276)],_0x3addab=(_0x1c3950,_0x2d4434,_0x316a1d)=>_0x2d4434 in _0x1c3950?_0x5f4209(_0x1c3950,_0x2d4434,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x316a1d}):_0x1c3950[_0x2d4434]=_0x316a1d,_0x177127=(_0x3bda4d,_0xd8c198,_0x480acd,_0x59b883)=>{const _0x56b261=_0x1ffcf5;for(var _0x3ca9ef=_0x59b883>0x1?void 0x0:_0x59b883?_0x2a04db(_0xd8c198,_0x480acd):_0xd8c198,_0x1501e2=_0x3bda4d[_0x56b261(0x230)]-0x1,_0x3e4bf6;_0x1501e2>=0x0;_0x1501e2--)(_0x3e4bf6=_0x3bda4d[_0x1501e2])&&(_0x3ca9ef=_0x3e4bf6(_0x3ca9ef)||_0x3ca9ef);return _0x3ca9ef;},_0x4207b7=(_0x4c5bab,_0x2f9b14)=>(_0x20c4ef,_0x23d5e3)=>_0x2f9b14(_0x20c4ef,_0x23d5e3,_0x4c5bab),_0x18e06b=(_0x3d1ed4,_0x56f1fa,_0x1ead7e)=>_0x3addab(_0x3d1ed4,typeof _0x56f1fa!='symbol'?_0x56f1fa+'':_0x56f1fa,_0x1ead7e);_0x3ada66[_0x1ffcf5(0x1f0)]=class extends _0x1e6b62[_0x1ffcf5(0x1c8)]{constructor(_0x43afb3=_0x5a247c,_0x27ff0a,_0x363464){const _0x44463c=_0x1ffcf5;super(),this['_config']=_0x43afb3,this[_0x44463c(0x274)]=_0x27ff0a,this['_configService']=_0x363464;const {menu:_0x319edc,..._0x36d450}=_0x1e6b62[_0x44463c(0x1d2)]({},_0x5a247c,this[_0x44463c(0x1af)]);_0x319edc&&this[_0x44463c(0x1d1)][_0x44463c(0x237)](_0x44463c(0x243),_0x319edc,{'merge':!0x0}),this[_0x44463c(0x1d1)]['setConfig'](_0x3cc47a,_0x36d450);}[_0x1ffcf5(0x1ec)](){_0x1e6b62['registerDependencies'](this['_injector'],[[_0x2d6fa3],[_0x5bcc08]]);}['onReady'](){const _0x2bae9b=_0x1ffcf5;this[_0x2bae9b(0x274)][_0x2bae9b(0x1cb)](_0x5bcc08);}},_0x18e06b(_0x3ada66[_0x1ffcf5(0x1f0)],_0x1ffcf5(0x241),_0x226487),_0x18e06b(_0x3ada66[_0x1ffcf5(0x1f0)],_0x1ffcf5(0x220),_0x1e6b62['UniverInstanceType']['UNIVER_DOC']),_0x3ada66[_0x1ffcf5(0x1f0)]=_0x177127([_0x1e6b62[_0x1ffcf5(0x210)](_0x4feb60[_0x1ffcf5(0x219)],_0x3ce46a['UniverLicensePlugin']),_0x4207b7(0x1,_0x1e6b62['Inject'](_0x1e6b62[_0x1ffcf5(0x264)])),_0x4207b7(0x2,_0x1e6b62[_0x1ffcf5(0x1a7)])],_0x3ada66['UniverDocsPrintPlugin']),_0x3ada66[_0x1ffcf5(0x236)]=_0x3cc47a,_0x3ada66[_0x1ffcf5(0x1ae)]=_0x148bdd,Object['defineProperty'](_0x3ada66,Symbol['toStringTag'],{'value':'Module'});}));
|
|
1
|
+
function _0x1e5f(_0x334ee2,_0x521bc0){_0x334ee2=_0x334ee2-0x65;const _0x50c0ac=_0x50c0();let _0x1e5f5a=_0x50c0ac[_0x334ee2];return _0x1e5f5a;}function _0x50c0(){const _0x1ee947=['includes','_engine','100%','print','render','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','xlink:href','VIEWPORT_KEY','8443752UigWpA','isPro','useRef','VIEW_MAIN','assign','map','colorChannel1','return\x20','DocumentFlavor','1057570uofZkI','MenuItemType','_viewMain','getOwnPropertyDescriptor','_injector','_currentRender','displayName','prepare','_univerInstanceService','UniverNetwork','19383597djKAFz','pluginName','children','6231415rEKYit','bottom','url(#$1','getDocFeatureLimit','removeChild','IRenderManagerService','UniverDocsUi','Disposable','_key','_addComponent','@univerjs/core','_effects','@univerjs/engine-render','docs.operation.print','Documents','valid','dispose','_commandService','onReady','@univerjs/ui','svg','ComponentManager','__DocPrintRender__','registerDependencies','className','YWpvjlJp\x20IFvqe7jlJp(hlvFpHF,\x207WbhlvkFe)\x20{\x20\x20\x20\x20jqe\x20{\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20hlvFpHFApYJfaqj1qqae\x20=\x20hlvFpHF.H7hlj(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20JqlLlpZFHHaLF\x20=\x20ri3t.7aqHF(ajJb(hlvFpHFApYJfaqj1qqae[V]));\x20\x20\x20\x20\x20\x20\x20\x20lY\x20(!JqlLlpZFHHaLF.WI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JqlLlpZFHHaLF.WI\x20=\x20tWCbFq(hlvFpHFApYJfaqj1qqae[g]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20lHnJq2Fq\x20=\x20je7FJY\x20nJq2FqXhJbahivJ7F\x20!==\x20\x27WpIFYlpFI\x27\x20&&\x20HFhY\x20lpHjapvFJY\x20nJq2FqXhJbahivJ7F;\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20lHyqJdHFq\x20=\x20je7FJY\x20dlpIJd\x20!==\x20\x27WpIFYlpFI\x27\x20&&\x20je7FJY\x20dlpIJd.hJvajlJp\x20!==\x20\x27WpIFYlpFI\x27;\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20vJpjFNj\x20=\x20lHnJq2Fq\x20?\x20HFhY\x20:\x20(lHyqJdHFq\x20?\x20dlpIJd\x20:\x20LhJbah6slH);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20CFHHaLFnJqI\x20=\x20vJpjFNj.__yaHFGg__.7aqHF(hlvFpHFApYJfaqj1qqae[V]);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20CFHHaLF\x20=\x20vJpjFNj.__PFN__.HjqlpLlYe(CFHHaLFnJqI);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20HlLpajWqFnJqI\x20=\x20vJpjFNj.__yaHFGg__.7aqHF(hlvFpHFApYJfaqj1qqae[T]);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20HlLpajWqF\x20=\x20vJpjFNj.__PFN__.HjqlpLlYe(HlLpajWqFnJqI);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20HlLpoahlI\x20=\x20vJpjFNj.__cFqlYe__(HlLpajWqF,\x20CFHHaLF,\x207WbhlvkFe);\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20IJCalp\x20=\x20JqlLlpZFHHaLF.IC;\x20\x20\x20\x20\x20\x20\x20\x20YWpvjlJp\x20lHQJCalpZajvslpL(JfajjFqp,\x20JPJHj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x207ajjFqp\x20=\x20JfajjFqp.qF7havF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20sJHj\x20=\x20JPJHj.qF7havF(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x207ajjFqpfaqjH\x20=\x207ajjFqp.H7hlj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20sJHjfaqjH\x20=\x20sJHj.H7hlj(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lY\x20(!7ajjFqp.lpvhWIFH(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qFjWqp\x207ajjFqp\x20===\x20sJHj;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lY\x20(7ajjFqpfaqjH.hFpLjs\x20<\x20V\x20||\x207ajjFqpfaqjH[D]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qFjWqp\x20YahHF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x207ajjFqpiWYYlN\x20=\x207ajjFqpfaqjH.HhlvF(u).9Jlp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20sJHjiWYYlN\x20=\x20sJHjfaqjH.HhlvF(-7ajjFqpfaqjH.hFpLjs\x20+\x20u).9Jlp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qFjWqp\x207ajjFqpiWYYlN\x20===\x20sJHjiWYYlN;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hFj\x20IJCalpoahlI\x20=\x20YahHF;\x20\x20\x20\x20\x20\x20\x20\x20lY\x20(lHyqJdHFq)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IJCalpoahlI\x20=\x20(IJCalp\x20&&\x20IJCalp.hFpLjs)\x20?\x20IJCalp.HJCF((ICAjFC)\x20=>\x20lHQJCalpZajvslpL(ICAjFC,\x20hJvajlJp.sJHjpaCF))\x20:\x20jqWF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lY\x20(hJvajlJp.sJHjpaCF\x20===\x20\x27hJvahsJHj\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IJCalpoahlI\x20=\x20jqWF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20FhHF\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IJCalpoahlI\x20=\x20jqWF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20vJpHj\x20cahlI\x20=\x20HlLpoahlI\x20&&\x20IJCalpoahlI;\x20\x20\x20\x20\x20\x20\x20\x20qFjWqp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cahlI,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CFHHaLF:\x20JqlLlpZFHHaLF,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20vajvs\x20(FqqJq)\x20{\x20\x20\x20\x20\x20\x20\x20\x20qFjWqp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cahlI:\x20YahHF,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CFHHaLF:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_initRenderer','_menuManagerService','UniverEngineRender','defineProperty','Render\x20is\x20not\x20found','root','mpn','pageHeight','CanvasRenderMode','Injector','getMenuHiddenObservable','idSuffix','print.menu','_configService','UniverProPrint','pages','_initMenus','Portrait','get','path','_paperSize','_initComponents','div','0px','1em','PrintDirection','setId','Inject','toString','_componentManager','RibbonStartGroup','IUniverInstanceService','UniverNetworkPlugin','trim','getOffsetConfig','style','_skeleton','setContainer','PRINTING_COMPONENT_COLLECT','length','forEach','replace','204CZOCPz','UniverDocsPrintPlugin','tag','interceptor','attrs','fill','string','PRINTING_DOM_COLLECT','4vQIIQg','UniverDocs','absolute','POSITIVE_INFINITY','CommandType','current','timeValid','getSkeletonData','entries','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','_renderManagerService','currentColor','DocSkeletonManagerService','UniverIcon','_scene','@univerjs/docs','React','none','_globalZoneService','3321840dQeRZO','documentFlavor','SwitchDocModeCommand','position','_offsetConfig','_config','mask','left','function','UniverProLicense','generateRandomId','body','Engine','UNIVER_DOCS_PRINT','_root','substring','container','registerCommand','DisposableCollection','getRenderById','_calculateLayout','random','onbeforeprint','_skeletonData','DocumentDataModel\x20is\x20not\x20found','56609sNJSqm','_page','exports','getUnitId','_documents','OPERATION','getContext','PRINT_CANVAS_CLASS','PRINT_CONTAINER_CLASS','makeDirty','Skeleton\x20data\x20is\x20not\x20found','UNIVER_DOC','UniverLicensePlugin','evenodd','ICommandService','appendChild','getCurrentUnitOfType','createPrintStyle','0\x200\x2016\x2016','pageWidth','@univerjs-pro/license','min','IConfigService','1946894ywgbHM','disposeWithMe','syncExecuteCommand','@univerjs-pro/print','onafterprint','page','UniverProDocsPrint','message','menu','merge','DOCS_PRINT_PLUGIN_CONFIG_KEY','createElement','getUnit','top','defs','UniverInstanceType','UniverCore','right','translate','fetchThroughInterceptors','_container','mergeMenu','symbol','isFeatureAuthorizedWithinTime','BUTTON','Scene','_initCommands','parseInt','getInterceptPoints','mainComponent','_addViewport','_unitId','print-icon','height','makeForceDirty','TRADITIONAL','use'];_0x50c0=function(){return _0x1ee947;};return _0x50c0();}(function(_0x360801,_0x10b919){const _0x4208ff=_0x1e5f,_0x1e03f2=_0x360801();while(!![]){try{const _0x2567f6=parseInt(_0x4208ff(0x81))/0x1+-parseInt(_0x4208ff(0x11d))/0x2+-parseInt(_0x4208ff(0xed))/0x3+parseInt(_0x4208ff(0xda))/0x4*(-parseInt(_0x4208ff(0x8e))/0x5)+parseInt(_0x4208ff(0xd2))/0x6*(-parseInt(_0x4208ff(0x106))/0x7)+parseInt(_0x4208ff(0x78))/0x8+parseInt(_0x4208ff(0x8b))/0x9;if(_0x2567f6===_0x10b919)break;else _0x1e03f2['push'](_0x1e03f2['shift']());}catch(_0x481511){_0x1e03f2['push'](_0x1e03f2['shift']());}}}(_0x50c0,0xa24e4),function(_0x4e90dd,_0x6f2ff5){const _0x43a3bb=_0x1e5f;typeof exports=='object'&&typeof module<'u'?_0x6f2ff5(exports,require('@univerjs/core'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs-pro/license'),require('@univerjs-pro/print'),require('@univerjs/docs'),require('@univerjs/ui'),require('@univerjs/network'),require('react')):typeof define==_0x43a3bb(0xf5)&&define['amd']?define([_0x43a3bb(0x108),_0x43a3bb(0x98),'@univerjs/docs-ui',_0x43a3bb(0x9a),_0x43a3bb(0x11a),_0x43a3bb(0x120),_0x43a3bb(0xe9),_0x43a3bb(0xa1),'@univerjs/network','react'],_0x6f2ff5):(_0x4e90dd=typeof globalThis<'u'?globalThis:_0x4e90dd||self,_0x6f2ff5(_0x4e90dd[_0x43a3bb(0x123)]={},_0x4e90dd[_0x43a3bb(0x12d)],_0x4e90dd[_0x43a3bb(0x94)],_0x4e90dd[_0x43a3bb(0xaa)],_0x4e90dd[_0x43a3bb(0xf6)],_0x4e90dd[_0x43a3bb(0xb6)],_0x4e90dd[_0x43a3bb(0xdb)],_0x4e90dd['UniverUi'],_0x4e90dd[_0x43a3bb(0x8a)],_0x4e90dd[_0x43a3bb(0xea)]));}(this,function(_0x2ca2b8,_0x43b985,_0x233424,_0x18b122,_0xd0c84,_0x4b5b21,_0xa6373f,_0x1d632d,_0xb4121a,_0x45b025){'use strict';const _0x42f276=_0x1e5f;var _0x128059=Object[_0x42f276(0xab)],_0x54d247=(_0x41ff5e,_0x286448,_0x2bd2fa)=>_0x286448 in _0x41ff5e?_0x128059(_0x41ff5e,_0x286448,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2bd2fa}):_0x41ff5e[_0x286448]=_0x2bd2fa,_0x303bcc=(_0x65974c,_0x59ad0c,_0x2160e4)=>_0x54d247(_0x65974c,typeof _0x59ad0c!=_0x42f276(0x133)?_0x59ad0c+'':_0x59ad0c,_0x2160e4);const _0x4e9563={0x0:'Q',0x1:'A',0x2:'k',0x3:'O',0x4:'5',0x5:'q',0x6:'T',0x7:'p',0x8:'F',0x9:'j','D':'0','u':'1','V':'2','T':'3','g':'4','G':'6','w':'7','E':'8','R':'9','a':'a','b':'b','v':'c','I':'d','F':'e','Y':'f','L':'g','s':'h','l':'i','h':'l','C':'m','p':'n','J':'o','q':'r','H':'s','j':'t','W':'u','c':'v','d':'w','N':'x','e':'y','O':'z','y':'B','z':'C','Q':'D','B':'E','X':'G','P':'H','A':'I','r':'J','k':'K','S':'L','Z':'M','t':'N','f':'P','x':'R','i':'S','K':'U','o':'V','n':'W','M':'X','m':'Y','U':'Z'},_0x3bb39c=_0x42f276(0xa7);class _0x43e67d extends _0x43b985[_0x42f276(0x95)]{constructor(_0x4c091e,_0x117757,_0x18ef63,_0x463d92){const _0x347ac9=_0x42f276;super(),_0x303bcc(this,_0x347ac9(0x131),document[_0x347ac9(0x128)](_0x347ac9(0xbe))),_0x303bcc(this,_0x347ac9(0xfb),document[_0x347ac9(0x128)](_0x347ac9(0xbe))),_0x303bcc(this,_0x347ac9(0x71)),_0x303bcc(this,_0x347ac9(0xe8)),_0x303bcc(this,_0x347ac9(0x96)),_0x303bcc(this,_0x347ac9(0x10a)),_0x303bcc(this,_0x347ac9(0x83)),_0x303bcc(this,_0x347ac9(0x99),new _0x43b985['DisposableCollection']()),(this[_0x347ac9(0x85)]=_0x4c091e,this[_0x347ac9(0x107)]=_0x117757,this[_0x347ac9(0x6a)]=_0x18ef63,this[_0x347ac9(0xf1)]=_0x463d92,this[_0x347ac9(0x96)]=_0x43b985[_0x347ac9(0xf7)](0x4),this[_0x347ac9(0xa8)](),this[_0x347ac9(0x11e)]({'dispose':()=>{const _0x53d0c9=_0x347ac9;this[_0x53d0c9(0x71)][_0x53d0c9(0x9e)](),this[_0x53d0c9(0xe8)]['dispose'](),this['_effects'][_0x53d0c9(0x9e)]();}}));}get[_0x42f276(0xfd)](){const _0x4682bb=_0x42f276;return this[_0x4682bb(0x131)];}get[_0x42f276(0xad)](){const _0x32dfcd=_0x42f276;return this[_0x32dfcd(0xfb)];}get[_0x42f276(0x86)](){const _0x14b082=_0x42f276,_0x481570=this[_0x14b082(0x85)][_0x14b082(0xba)](_0x18b122['IRenderManagerService'])[_0x14b082(0x100)](this['_unitId']);if(!_0x481570)throw new Error(_0x14b082(0xac));return _0x481570;}get[_0x42f276(0xcc)](){const _0x14d42f=_0x42f276;return this[_0x14d42f(0x86)]['with'](_0xa6373f[_0x14d42f(0xe6)])['getSkeleton']();}get[_0x42f276(0x104)](){const _0x326ee7=_0x42f276,_0x16b3e9=this[_0x326ee7(0xcc)][_0x326ee7(0xe1)]();if(!_0x16b3e9)throw new Error(_0x326ee7(0x110));return _0x16b3e9;}get[_0x42f276(0xbc)](){const _0x30443e=_0x42f276,_0x5abce4=this['_skeletonData'][_0x30443e(0xb7)][0x0];return{'width':_0x5abce4[_0x30443e(0x119)],'height':_0x5abce4[_0x30443e(0xaf)]};}[_0x42f276(0x101)](){const _0x48b55d=_0x42f276,{docsTop:_0x596a76,docsLeft:_0x3118eb}=this['_documents'][_0x48b55d(0xca)](),_0x14a522=this[_0x48b55d(0xbc)][_0x48b55d(0x6c)],_0x32dcf1=this[_0x48b55d(0xbc)]['width'];return{'top':_0x596a76+(_0x596a76+_0x14a522)*this[_0x48b55d(0x107)],'bottom':_0x596a76+(_0x596a76+_0x14a522)*(this[_0x48b55d(0x107)]+0x1),'left':_0x3118eb,'right':_0x3118eb+_0x32dcf1};}[_0x42f276(0xa8)](){const _0x34b3b7=_0x42f276;this[_0x34b3b7(0x71)]=new _0x18b122[(_0x34b3b7(0xf9))]('',{'elementWidth':this['_paperSize']['width'],'elementHeight':this[_0x34b3b7(0xbc)][_0x34b3b7(0x6c)],'dpr':0x1,'renderMode':_0x18b122[_0x34b3b7(0xb0)]['Printing']}),this[_0x34b3b7(0xe8)]=new _0x18b122[(_0x34b3b7(0x136))](this[_0x34b3b7(0x96)],this[_0x34b3b7(0x71)]),this[_0x34b3b7(0xe8)]['scale'](0x1,0x1),this[_0x34b3b7(0x71)][_0x34b3b7(0xcd)](this[_0x34b3b7(0x131)],!0x1),this[_0x34b3b7(0x71)]['getCanvas']()[_0x34b3b7(0x10c)]()[_0x34b3b7(0xc2)](this[_0x34b3b7(0x96)]+'_'+_0x43b985[_0x34b3b7(0xf7)](0x4)),this[_0x34b3b7(0x97)](),this[_0x34b3b7(0x69)]();}[_0x42f276(0x97)](){const _0x107c63=_0x42f276,{pageMarginLeft:_0x3cf8c8,pageMarginTop:_0x30979e,docsLeft:_0x1e66f7,docsTop:_0x450e63}=this[_0x107c63(0xf1)],_0x2d8c67={'pageMarginLeft':_0x3cf8c8,'pageMarginTop':_0x30979e},_0x1bfa5a=new _0x18b122[(_0x107c63(0x9c))](_0x107c63(0xa4),this[_0x107c63(0xcc)],_0x2d8c67);_0x1bfa5a[_0x107c63(0x12f)](_0x1e66f7,_0x450e63),this['_scene']['addObject'](_0x1bfa5a),this[_0x107c63(0x10a)]=_0x1bfa5a;const _0x46cdf1=this[_0x107c63(0x85)][_0x107c63(0xba)](_0x233424['DocPrintInterceptorService']);_0x46cdf1[_0x107c63(0xd5)][_0x107c63(0x130)](_0x46cdf1[_0x107c63(0xd5)]['getInterceptPoints']()[_0x107c63(0xce)])(void 0x0,{'unitId':this['_unitId'],'scene':this['_scene'],'engine':this['_engine'],'root':this[_0x107c63(0xfb)],'documents':this[_0x107c63(0x10a)],'skeleton':this['_skeleton']});}[_0x42f276(0x69)](){const _0x2c039c=_0x42f276;this[_0x2c039c(0x83)]=new _0x18b122['Viewport'](_0x233424[_0x2c039c(0x77)][_0x2c039c(0x7b)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x42f276(0x88)](){const _0x84e206=_0x42f276,_0x161d4b=this[_0x84e206(0x101)]();this[_0x84e206(0x83)]['updateScrollVal']({'viewportScrollX':_0x161d4b[_0x84e206(0xf4)],'viewportScrollY':_0x161d4b[_0x84e206(0x12a)]}),this['_root'][_0x84e206(0xcb)][_0x84e206(0xf0)]=_0x84e206(0xdc),this[_0x84e206(0xfb)][_0x84e206(0xcb)]['top']=_0x84e206(0xbf),this[_0x84e206(0xfb)][_0x84e206(0xcb)][_0x84e206(0xf4)]='0px',this['_root'][_0x84e206(0xcb)]['width']=_0x84e206(0x72),this['_root']['style'][_0x84e206(0x6c)]=_0x84e206(0x72),this[_0x84e206(0x99)]=new _0x43b985[(_0x84e206(0xff))]();const _0x336d71=this['_injector'][_0x84e206(0xba)](_0x233424['DocPrintInterceptorService']);_0x336d71['interceptor'][_0x84e206(0x130)](_0x336d71[_0x84e206(0xd5)][_0x84e206(0x67)]()[_0x84e206(0xd9)])(this['_effects'],{'unitId':this[_0x84e206(0x6a)],'scene':this[_0x84e206(0xe8)],'engine':this[_0x84e206(0x71)],'root':this[_0x84e206(0xfb)],'skeleton':this[_0x84e206(0xcc)],'offset':{'x':_0x161d4b[_0x84e206(0xf4)],'y':_0x161d4b[_0x84e206(0x12a)]},'bound':{'top':_0x161d4b[_0x84e206(0x12a)],'left':_0x161d4b['left'],'right':_0x161d4b[_0x84e206(0x12e)],'bottom':_0x161d4b[_0x84e206(0x8f)]}});}['render'](){const _0x3545f1=_0x42f276,_0x8e451c=this['_engine']['getCanvas']()['getContext']();this[_0x3545f1(0x10a)][_0x3545f1(0x6d)](),this['_scene'][_0x3545f1(0x10f)](),_0x8e451c['save'](),this[_0x3545f1(0xe8)]['render'](),_0x8e451c['restore']();}}var _0x45a89d=Object['getOwnPropertyDescriptor'],_0x1a2955=(_0x406c69,_0x2935c4,_0x43cd33,_0x5322b)=>{const _0x2e62fd=_0x42f276;for(var _0x3a7704=_0x5322b>0x1?void 0x0:_0x5322b?_0x45a89d(_0x2935c4,_0x43cd33):_0x2935c4,_0x185be5=_0x406c69[_0x2e62fd(0xcf)]-0x1,_0xc2935;_0x185be5>=0x0;_0x185be5--)(_0xc2935=_0x406c69[_0x185be5])&&(_0x3a7704=_0xc2935(_0x3a7704)||_0x3a7704);return _0x3a7704;},_0x3064f9=(_0x1927d7,_0x4601b1)=>(_0x58a9ef,_0x17520e)=>_0x4601b1(_0x58a9ef,_0x17520e,_0x1927d7);const _0x12e2eb=Number[_0x42f276(0x66)](0x693d14ed),_0x375c89=0x1,_0x272b30=(_0x4ba33d,_0x190f1e,_0x11d252)=>{const _0x6cb95=_0x42f276,_0x190185={'page':_0x4ba33d,'isPro':!0x1,'timeValid':!0x1};if(!_0x190f1e||!_0x11d252)return _0x190185;const _0x81c30a=_0xd0c84['unshiftString'](_0x3bb39c,_0x4e9563),_0x24c523=new Function(_0x6cb95(0x7f)+_0x81c30a)()(_0x190f1e,_0x11d252);if(_0x24c523[_0x6cb95(0x9d)]){const _0x49edc5=_0x24c523[_0x6cb95(0x124)],_0x40120f=_0xd0c84[_0x6cb95(0x134)](_0x49edc5,'df',_0x12e2eb);_0x190185[_0x6cb95(0x79)]=_0x40120f,_0x190185[_0x6cb95(0xe0)]=_0x40120f;const _0xeffc45=0x0;_0x190185[_0x6cb95(0x122)]=_0xd0c84[_0x6cb95(0x91)](_0x49edc5,_0x40120f,_0x6cb95(0xae),_0x4ba33d,_0x4ba33d,_0xeffc45);}return _0x190185;};let _0x38355d=class extends _0x43b985[_0x42f276(0x95)]{constructor(_0x59cbbc,_0x1f3353,_0x4f4101,_0x36ced4,_0x387f55){const _0x5d7029=_0x42f276;super(),this[_0x5d7029(0x89)]=_0x59cbbc,this[_0x5d7029(0xe4)]=_0x1f3353,this[_0x5d7029(0x85)]=_0x4f4101,this[_0x5d7029(0xb5)]=_0x36ced4,this[_0x5d7029(0xec)]=_0x387f55;}[_0x42f276(0x73)](_0x5962c3){const _0x14c9ff=_0x42f276;var _0x5ab13a,_0x25bb92;const _0x24b3df=(_0x5ab13a=this['_configService']['getConfig'](_0xd0c84['LS_CONFIG_KEY']))!=null?_0x5ab13a:{},{ls:_0x455f92,pbk:_0x19be8e}=_0x24b3df,_0x5ca0f4=_0xd0c84['isLocalCheck']()?Number[_0x14c9ff(0xdd)]:_0x272b30(_0x375c89,_0x455f92,_0x19be8e)[_0x14c9ff(0x122)];if(!this[_0x14c9ff(0x89)][_0x14c9ff(0x129)](_0x5962c3,_0x43b985[_0x14c9ff(0x12c)][_0x14c9ff(0x111)]))throw new Error(_0x14c9ff(0x105));const _0x432edf=this['_renderManagerService']['getRenderById'](_0x5962c3);if(!_0x432edf)throw new Error('Render\x20is\x20not\x20found');const _0x4a8ddc=(_0x25bb92=_0x432edf['with'](_0xa6373f[_0x14c9ff(0xe6)])['getSkeleton']()[_0x14c9ff(0xe1)]())==null?void 0x0:_0x25bb92[_0x14c9ff(0xb7)];if(!_0x4a8ddc)throw new Error('Pages\x20are\x20not\x20found');const _0xd429cd={'width':_0x4a8ddc[0x0]['pageWidth'],'height':_0x4a8ddc[0x0][_0x14c9ff(0xaf)]},_0x5df782=_0x4a8ddc[_0x14c9ff(0xcf)],_0x336886=Math[_0x14c9ff(0x11b)](_0x5ca0f4,_0x5df782),_0x45faf1=_0x432edf[_0x14c9ff(0x68)][_0x14c9ff(0xca)](),_0x5bc457=document['createElement'](_0x14c9ff(0xbe));_0x5bc457[_0x14c9ff(0xa6)]=_0x4b5b21[_0x14c9ff(0x10e)];const _0x4c19e7=new Array(_0x336886)[_0x14c9ff(0xd7)](null)['map']((_0x5599f3,_0x5eb981)=>{const _0xe4a70e=_0x14c9ff,_0x262b6b=new _0x43e67d(this[_0xe4a70e(0x85)],_0x5eb981,_0x5962c3,_0x45faf1);return _0x262b6b['container'][_0xe4a70e(0xa6)]=_0x4b5b21[_0xe4a70e(0x10d)],_0x262b6b;});_0x4c19e7['forEach'](_0x289a58=>{const _0x5e9a9c=_0x14c9ff;_0x5bc457['appendChild'](_0x289a58[_0x5e9a9c(0xfd)]),_0x289a58[_0x5e9a9c(0xfd)][_0x5e9a9c(0x115)](_0x289a58[_0x5e9a9c(0xad)]),_0x289a58['prepare']();});const _0x582b57=_0x4b5b21[_0x14c9ff(0x117)](_0xd429cd['width'],_0xd429cd[_0x14c9ff(0x6c)],_0x4b5b21[_0x14c9ff(0xc1)][_0x14c9ff(0xb9)]);return document[_0x14c9ff(0xf8)][_0x14c9ff(0x115)](_0x582b57),document[_0x14c9ff(0xf8)][_0x14c9ff(0x115)](_0x5bc457),new Promise(_0x4d1449=>{setTimeout(()=>{const _0xa51995=_0x1e5f;window[_0xa51995(0x103)]=()=>{const _0x33cfac=_0xa51995;_0x4c19e7[_0x33cfac(0xd0)](_0x463d7d=>{const _0x3ec7b3=_0x33cfac;_0x463d7d[_0x3ec7b3(0x74)]();});},window[_0xa51995(0x121)]=()=>{const _0x5911b9=_0xa51995;_0x4c19e7[_0x5911b9(0xd0)](_0x1c2efb=>{const _0xcdb4c8=_0x5911b9;_0x1c2efb[_0xcdb4c8(0x9e)]();}),document['body'][_0x5911b9(0x92)](_0x5bc457),document['body']['removeChild'](_0x582b57),this['_globalZoneService']['close'](),_0x4d1449(!0x0);},window['print']();},0x64);});}};_0x38355d=_0x1a2955([_0x3064f9(0x0,_0x43b985[_0x42f276(0xc7)]),_0x3064f9(0x1,_0x18b122[_0x42f276(0x93)]),_0x3064f9(0x2,_0x43b985[_0x42f276(0xc3)](_0x43b985[_0x42f276(0xb1)])),_0x3064f9(0x3,_0x43b985[_0x42f276(0x11c)]),_0x3064f9(0x4,_0x1d632d['IGlobalZoneService'])],_0x38355d);const _0x5ed4de={'id':_0x42f276(0x9b),'type':_0x43b985[_0x42f276(0xde)][_0x42f276(0x10b)],'handler':async _0x52f6d8=>{const _0x45ff42=_0x42f276,_0x4d8140=_0x52f6d8[_0x45ff42(0xba)](_0x43b985[_0x45ff42(0xc7)]),_0x29e633=_0x52f6d8[_0x45ff42(0xba)](_0x38355d),_0x5c2735=_0x52f6d8['get'](_0x18b122[_0x45ff42(0x93)]),_0x2f458c=_0x52f6d8[_0x45ff42(0xba)](_0x43b985[_0x45ff42(0x114)]),_0x1d5ebe=_0x4d8140[_0x45ff42(0x116)](_0x43b985['UniverInstanceType'][_0x45ff42(0x111)]);if(!_0x1d5ebe)return!0x1;if(!_0x5c2735[_0x45ff42(0x100)](_0x1d5ebe[_0x45ff42(0x109)]()))throw new Error(_0x45ff42(0xac));const _0x5d0f29=_0x1d5ebe['getDocumentStyle']()[_0x45ff42(0xee)];return _0x5d0f29!==_0x43b985['DocumentFlavor'][_0x45ff42(0x6e)]&&_0x2f458c[_0x45ff42(0x11f)](_0x233424['SwitchDocModeCommand']['id']),await _0x29e633['print'](_0x1d5ebe[_0x45ff42(0x109)]()),_0x5d0f29!==_0x43b985[_0x45ff42(0x80)]['TRADITIONAL']&&_0x2f458c['syncExecuteCommand'](_0x233424[_0x45ff42(0xef)]['id']),!0x0;}},_0x47b1bf=_0x42f276(0xfa),_0x23c865={},_0x3c0281=_0x42f276(0xfa);function _0x28ab80({ref:_0x2413d9,..._0x1f11f5}){const _0xb97900=_0x42f276,{icon:_0x2a4d9a,id:_0x58ae0f,className:_0xb2cea6,extend:_0x598e0e,..._0x162acc}=_0x1f11f5,_0x2113bb=('univerjs-icon\x20univerjs-icon-'+_0x58ae0f+'\x20'+(_0xb2cea6||''))[_0xb97900(0xc9)](),_0x4e0daf=_0x45b025[_0xb97900(0x7a)]('_'+_0x196d41());return _0x1b0f9f(_0x2a4d9a,''+_0x58ae0f,{'defIds':_0x2a4d9a['defIds'],'idSuffix':_0x4e0daf[_0xb97900(0xdf)]},{'ref':_0x2413d9,'className':_0x2113bb,..._0x162acc},_0x598e0e);}function _0x1b0f9f(_0x3334b2,_0x109721,_0x1d11e8,_0x1d354a,_0x30f1fc){const _0x2f3aa7=_0x42f276;return _0x45b025[_0x2f3aa7(0x128)](_0x3334b2[_0x2f3aa7(0xd4)],{'key':_0x109721,..._0x4ddd1f(_0x3334b2,_0x1d11e8,_0x30f1fc),..._0x1d354a},(_0x115b00(_0x3334b2,_0x1d11e8)[_0x2f3aa7(0x8d)]||[])[_0x2f3aa7(0x7d)]((_0x2d8d75,_0x42d508)=>_0x1b0f9f(_0x2d8d75,_0x109721+'-'+_0x3334b2[_0x2f3aa7(0xd4)]+'-'+_0x42d508,_0x1d11e8,void 0x0,_0x30f1fc)));}function _0x4ddd1f(_0x15c902,_0x5d581d,_0x28b44b){const _0x5b4eae=_0x42f276,_0x409127={..._0x15c902['attrs']};_0x28b44b!=null&&_0x28b44b[_0x5b4eae(0x7e)]&&_0x409127[_0x5b4eae(0xd7)]===_0x5b4eae(0x7e)&&(_0x409127[_0x5b4eae(0xd7)]=_0x28b44b[_0x5b4eae(0x7e)]),_0x15c902[_0x5b4eae(0xd4)]===_0x5b4eae(0xf3)&&_0x409127['id']&&(_0x409127['id']=_0x409127['id']+_0x5d581d['idSuffix']),Object[_0x5b4eae(0xe2)](_0x409127)['forEach'](([_0x59f4af,_0x23d086])=>{const _0x4a8fc7=_0x5b4eae;_0x59f4af===_0x4a8fc7(0xf3)&&typeof _0x23d086==_0x4a8fc7(0xd8)&&(_0x409127[_0x59f4af]=_0x23d086[_0x4a8fc7(0xd1)](/url\(#(.*)\)/,_0x4a8fc7(0x90)+_0x5d581d['idSuffix']+')'));});const {defIds:_0x44cf38}=_0x5d581d;return!_0x44cf38||_0x44cf38[_0x5b4eae(0xcf)]===0x0||(_0x15c902[_0x5b4eae(0xd4)]===_0x5b4eae(0x6f)&&_0x409127[_0x5b4eae(0x76)]&&(_0x409127['xlink:href']=_0x409127[_0x5b4eae(0x76)]+_0x5d581d[_0x5b4eae(0xb3)]),Object[_0x5b4eae(0xe2)](_0x409127)[_0x5b4eae(0xd0)](([_0x5570c2,_0x29c4b7])=>{const _0xf91f9e=_0x5b4eae;typeof _0x29c4b7==_0xf91f9e(0xd8)&&(_0x409127[_0x5570c2]=_0x29c4b7[_0xf91f9e(0xd1)](/url\(#(.*)\)/,_0xf91f9e(0x90)+_0x5d581d[_0xf91f9e(0xb3)]+')'));})),_0x409127;}function _0x115b00(_0x18b0ff,_0x795216){const _0x17bb46=_0x42f276;var _0x1a5ecd;const {defIds:_0xf9aa16}=_0x795216;return!_0xf9aa16||_0xf9aa16[_0x17bb46(0xcf)]===0x0?_0x18b0ff:_0x18b0ff['tag']===_0x17bb46(0x12b)&&((_0x1a5ecd=_0x18b0ff[_0x17bb46(0x8d)])!=null&&_0x1a5ecd['length'])?{..._0x18b0ff,'children':_0x18b0ff[_0x17bb46(0x8d)][_0x17bb46(0x7d)](_0x32e0a2=>typeof _0x32e0a2[_0x17bb46(0xd6)]['id']==_0x17bb46(0xd8)&&_0xf9aa16&&_0xf9aa16[_0x17bb46(0x70)](_0x32e0a2[_0x17bb46(0xd6)]['id'])?{..._0x32e0a2,'attrs':{..._0x32e0a2[_0x17bb46(0xd6)],'id':_0x32e0a2[_0x17bb46(0xd6)]['id']+_0x795216[_0x17bb46(0xb3)]}}:_0x32e0a2)}:_0x18b0ff;}function _0x196d41(){const _0x14a38e=_0x42f276;return Math[_0x14a38e(0x102)]()[_0x14a38e(0xc4)](0x24)[_0x14a38e(0xfc)](0x2,0x8);}_0x28ab80[_0x42f276(0x87)]=_0x42f276(0xe7);const _0x303c9d={'tag':_0x42f276(0xa2),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x42f276(0xeb),'viewBox':_0x42f276(0x118),'width':_0x42f276(0xc0),'height':'1em'},'children':[{'tag':_0x42f276(0xbb),'attrs':{'fill':_0x42f276(0xe5),'d':_0x42f276(0x75)}},{'tag':_0x42f276(0xbb),'attrs':{'fill':_0x42f276(0xe5),'d':_0x42f276(0xe3),'fillRule':'evenodd','clipRule':_0x42f276(0x113)}}]},_0x4d0531=_0x45b025['forwardRef'](function(_0x4615f0,_0x2f342b){const _0x219f49=_0x42f276;return _0x45b025[_0x219f49(0x128)](_0x28ab80,Object[_0x219f49(0x7c)]({},_0x4615f0,{'id':_0x219f49(0x6b),'ref':_0x2f342b,'icon':_0x303c9d}));});_0x4d0531['displayName']='PrintIcon';function _0x1ac4b7(_0x4bf6ea){const _0x14ea14=_0x42f276;return{'id':_0x5ed4de['id'],'type':_0x1d632d[_0x14ea14(0x82)][_0x14ea14(0x135)],'title':_0x14ea14(0xb4),'icon':'PrintIcon','tooltip':'print.menu','hidden$':_0x1d632d[_0x14ea14(0xb2)](_0x4bf6ea,_0x43b985['UniverInstanceType'][_0x14ea14(0x111)])};}const _0x3fe18c={[_0x1d632d[_0x42f276(0xc6)]['OTHERS']]:{[_0x5ed4de['id']]:{'order':0.1,'menuItemFactory':_0x1ac4b7}}};var _0x1ac8ee=Object['getOwnPropertyDescriptor'],_0x5e5a38=(_0x20f8dc,_0x18839b,_0x6d676a,_0x1e5340)=>{for(var _0x2f3eb8=_0x1e5340>0x1?void 0x0:_0x1e5340?_0x1ac8ee(_0x18839b,_0x6d676a):_0x18839b,_0x512b11=_0x20f8dc['length']-0x1,_0xd0166;_0x512b11>=0x0;_0x512b11--)(_0xd0166=_0x20f8dc[_0x512b11])&&(_0x2f3eb8=_0xd0166(_0x2f3eb8)||_0x2f3eb8);return _0x2f3eb8;},_0x3685fb=(_0x4bf1d8,_0x5da085)=>(_0xd72e19,_0x1a0c7a)=>_0x5da085(_0xd72e19,_0x1a0c7a,_0x4bf1d8);let _0xf9538a=class extends _0x43b985[_0x42f276(0x95)]{constructor(_0x1d172e,_0xd997aa,_0x5cf227){const _0x1d9781=_0x42f276;super(),this[_0x1d9781(0x9f)]=_0x1d172e,this[_0x1d9781(0xa9)]=_0xd997aa,this[_0x1d9781(0xc5)]=_0x5cf227,this[_0x1d9781(0xb8)](),this['_initCommands'](),this['_initComponents']();}[_0x42f276(0xb8)](){const _0x410b44=_0x42f276;this[_0x410b44(0xa9)][_0x410b44(0x132)](_0x3fe18c);}[_0x42f276(0x65)](){const _0x1a5c30=_0x42f276;this[_0x1a5c30(0x11e)](this[_0x1a5c30(0x9f)][_0x1a5c30(0xfe)](_0x5ed4de));}[_0x42f276(0xbd)](){[['PrintIcon',_0x4d0531]]['forEach'](([_0x554b58,_0x400728])=>{const _0x1c7da7=_0x1e5f;this[_0x1c7da7(0xc5)]['register'](_0x554b58,_0x400728);});}};_0xf9538a=_0x5e5a38([_0x3685fb(0x0,_0x43b985[_0x42f276(0x114)]),_0x3685fb(0x1,_0x1d632d['IMenuManagerService']),_0x3685fb(0x2,_0x43b985[_0x42f276(0xc3)](_0x1d632d[_0x42f276(0xa3)]))],_0xf9538a);var _0x5832dc=Object['defineProperty'],_0x4ba84e=Object[_0x42f276(0x84)],_0xa7788d=(_0x572190,_0x273235,_0x450ddb)=>_0x273235 in _0x572190?_0x5832dc(_0x572190,_0x273235,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x450ddb}):_0x572190[_0x273235]=_0x450ddb,_0x46f32f=(_0x5cc0a6,_0x15268e,_0x193679,_0x5e33ff)=>{for(var _0x54af97=_0x5e33ff>0x1?void 0x0:_0x5e33ff?_0x4ba84e(_0x15268e,_0x193679):_0x15268e,_0x6b046a=_0x5cc0a6['length']-0x1,_0x17d194;_0x6b046a>=0x0;_0x6b046a--)(_0x17d194=_0x5cc0a6[_0x6b046a])&&(_0x54af97=_0x17d194(_0x54af97)||_0x54af97);return _0x54af97;},_0x3d22d2=(_0x4fc290,_0x4f7fed)=>(_0x268403,_0x3cafaa)=>_0x4f7fed(_0x268403,_0x3cafaa,_0x4fc290),_0x40d2c7=(_0x13a3a1,_0xda1f30,_0x277e5f)=>_0xa7788d(_0x13a3a1,typeof _0xda1f30!='symbol'?_0xda1f30+'':_0xda1f30,_0x277e5f);_0x2ca2b8[_0x42f276(0xd3)]=class extends _0x43b985['Plugin']{constructor(_0x2fbdc9=_0x23c865,_0x554c2e,_0x37e4d5){const _0x1dadd6=_0x42f276;super(),this[_0x1dadd6(0xf2)]=_0x2fbdc9,this[_0x1dadd6(0x85)]=_0x554c2e,this[_0x1dadd6(0xb5)]=_0x37e4d5;const {menu:_0x4c906a,..._0x20ac00}=_0x43b985[_0x1dadd6(0x126)]({},_0x23c865,this[_0x1dadd6(0xf2)]);_0x4c906a&&this[_0x1dadd6(0xb5)]['setConfig'](_0x1dadd6(0x125),_0x4c906a,{'merge':!0x0}),this[_0x1dadd6(0xb5)]['setConfig'](_0x47b1bf,_0x20ac00);}['onStarting'](){const _0x41a783=_0x42f276;_0x43b985[_0x41a783(0xa5)](this[_0x41a783(0x85)],[[_0x38355d],[_0xf9538a]]);}[_0x42f276(0xa0)](){const _0x500a29=_0x42f276;this[_0x500a29(0x85)][_0x500a29(0xba)](_0xf9538a);}},_0x40d2c7(_0x2ca2b8[_0x42f276(0xd3)],_0x42f276(0x8c),_0x3c0281),_0x40d2c7(_0x2ca2b8[_0x42f276(0xd3)],'type',_0x43b985[_0x42f276(0x12c)][_0x42f276(0x111)]),_0x2ca2b8[_0x42f276(0xd3)]=_0x46f32f([_0x43b985['DependentOn'](_0xb4121a[_0x42f276(0xc8)],_0xd0c84[_0x42f276(0x112)]),_0x3d22d2(0x1,_0x43b985['Inject'](_0x43b985[_0x42f276(0xb1)])),_0x3d22d2(0x2,_0x43b985['IConfigService'])],_0x2ca2b8[_0x42f276(0xd3)]),_0x2ca2b8[_0x42f276(0x127)]=_0x47b1bf,_0x2ca2b8['DocPrintOperation']=_0x5ed4de,Object[_0x42f276(0xab)](_0x2ca2b8,Symbol['toStringTag'],{'value':'Module'});}));
|