@univerjs-pro/docs-print 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x57b297=_0x411a;(function(_0x18b651,_0x4c2b82){const _0x138ca3=_0x411a,_0x3b017a=_0x18b651();while(!![]){try{const _0x11c59a=-parseInt(_0x138ca3(0x1e9))/0x1+-parseInt(_0x138ca3(0x1f3))/0x2*(parseInt(_0x138ca3(0x1a4))/0x3)+parseInt(_0x138ca3(0x1e3))/0x4*(-parseInt(_0x138ca3(0x197))/0x5)+parseInt(_0x138ca3(0x1f0))/0x6*(parseInt(_0x138ca3(0x190))/0x7)+-parseInt(_0x138ca3(0x19c))/0x8*(parseInt(_0x138ca3(0x22d))/0x9)+parseInt(_0x138ca3(0x1de))/0xa*(-parseInt(_0x138ca3(0x1a2))/0xb)+parseInt(_0x138ca3(0x19b))/0xc;if(_0x11c59a===_0x4c2b82)break;else _0x3b017a['push'](_0x3b017a['shift']());}catch(_0x57454b){_0x3b017a['push'](_0x3b017a['shift']());}}}(_0x22f2,0x8b95c),Object[_0x57b297(0x207)](exports,Symbol[_0x57b297(0x1d0)],{'value':'Module'}));let e=require(`@univerjs/core`),t=require(`@univerjs/docs-ui`),n=require(`@univerjs/engine-render`),r=require(`@univerjs-pro/license`),i=require(`@univerjs-pro/print`),a=require(`@univerjs/docs`),o=require(`@univerjs/ui`),s=require(`@univerjs/network`),c=require(`@univerjs/icons`);function l(_0x380393){'@babel/helpers - typeof';const _0x4b3067=_0x57b297;return l=typeof Symbol==_0x4b3067(0x223)&&typeof Symbol[_0x4b3067(0x1da)]=='symbol'?function(_0x512ecb){return typeof _0x512ecb;}:function(_0x301e29){const _0x531448=_0x4b3067;return _0x301e29&&typeof Symbol==_0x531448(0x223)&&_0x301e29[_0x531448(0x1c3)]===Symbol&&_0x301e29!==Symbol[_0x531448(0x18f)]?_0x531448(0x1c8):typeof _0x301e29;},l(_0x380393);}function u(_0x27b161,_0x3bca56){const _0x149bfa=_0x57b297;if(l(_0x27b161)!=_0x149bfa(0x202)||!_0x27b161)return _0x27b161;var _0xce961d=_0x27b161[Symbol[_0x149bfa(0x1c7)]];if(_0xce961d!==void 0x0){var _0x5cf761=_0xce961d[_0x149bfa(0x1a3)](_0x27b161,_0x3bca56||_0x149bfa(0x198));if(l(_0x5cf761)!=_0x149bfa(0x202))return _0x5cf761;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3bca56===_0x149bfa(0x1af)?String:Number)(_0x27b161);}function d(_0xa47e53){const _0x2b4c94=_0x57b297;var _0x32d19f=u(_0xa47e53,_0x2b4c94(0x1af));return l(_0x32d19f)==_0x2b4c94(0x1c8)?_0x32d19f:_0x32d19f+'';}function _0x22f2(){const _0x4584d1=['forEach','UniverDocsPrintPlugin','358468ZJruQB','call','1494ZFqVgf','packageName','Pages\x20are\x20not\x20found','DocPrintInterceptorService','_componentManager','Plugin','OPERATION','DocSkeletonManagerService','isPro','getInterceptPoints','className','string','_engine','UniverNetworkPlugin','_scene','_initComponents','RibbonStartGroup','_globalZoneService','fetchThroughInterceptors','CanvasRenderMode','length','_key','pageHeight','getOwnPropertyDescriptor','_injector','BUTTON','print.menu','width','_offsetConfig','_effects','__DocPrintRender__','constructor','get','Render\x20is\x20not\x20found','getUnitId','toPrimitive','symbol','VIEW_MAIN','_unitId','_calculateLayout','registerDependencies','MenuItemType','IUniverInstanceService','UniverInstanceType','toStringTag','onStarting','_initCommands','Scene','left','_container','IRenderManagerService','createElement','bottom','getOffsetConfig','iterator','_root','getDocFeatureLimit','_skeleton','210vpuzvW','documentFlavor','registerCommand','div','DocumentFlavor','12adbvOW','appendChild','0px','print','map','IGlobalZoneService','94429NAhyji','_documents','_config','Viewport','mpn','getUnit','DOCS_PRINT_PLUGIN_CONFIG_KEY','5646UFahDF','ICommandService','TRADITIONAL','3146TXGjHw','docs.operation.print','OTHERS','body','with','_skeletonData','translate','mergeMenu','_addViewport','_initMenus','PrintIcon','UniverLicensePlugin','_renderManagerService','100%','Engine','object','getCurrentUnitOfType','UNIVER_DOC','dispose','Injector','defineProperty','getMenuHiddenObservable','fill','interceptor','UNIVER_DOCS_PRINT','generateRandomId','_univerInstanceService','DisposableCollection','DependentOn','_initRenderer','getRenderById','decorate','onafterprint','setContainer','restore','_paperSize','Printing','_addComponent','Documents','container','_configService','_page','close','render','getContext','message','height','merge','function','root','pageWidth','setConfig','position','PrintDirection','_viewMain','Disposable','syncExecuteCommand','ComponentManager','1017iShBZw','getSkeletonData','LS_CONFIG_KEY','getSkeleton','right','disposeWithMe','top','menu','getCanvas','_menuManagerService','setId','IConfigService','timeValid','SwitchDocModeCommand','version','prototype','6986dbrHmb','removeChild','PRINTING_COMPONENT_COLLECT','style','_currentRender','0.19.0','prepare','685880QEbFBL','default','getConfig','page','24703440gLoMDL','32024HqQLXw','absolute','_commandService','scale'];_0x22f2=function(){return _0x4584d1;};return _0x22f2();}function f(_0x46d30b,_0x342013,_0x32a48f){const _0x25a81c=_0x57b297;return(_0x342013=d(_0x342013))in _0x46d30b?Object[_0x25a81c(0x207)](_0x46d30b,_0x342013,{'value':_0x32a48f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x46d30b[_0x342013]=_0x32a48f,_0x46d30b;}function _0x411a(_0x42f156,_0x13d2c7){_0x42f156=_0x42f156-0x185;const _0x22f2f3=_0x22f2();let _0x411a57=_0x22f2f3[_0x42f156];return _0x411a57;}var p=class extends e[_0x57b297(0x22a)]{get[_0x57b297(0x21a)](){const _0x33b48e=_0x57b297;return this[_0x33b48e(0x1d5)];}get[_0x57b297(0x224)](){const _0x2461f0=_0x57b297;return this[_0x2461f0(0x1db)];}get[_0x57b297(0x194)](){const _0x2ab32d=_0x57b297;let _0x5cb7ec=this[_0x2ab32d(0x1bc)][_0x2ab32d(0x1c4)](n[_0x2ab32d(0x1d6)])[_0x2ab32d(0x211)](this['_unitId']);if(!_0x5cb7ec)throw Error(_0x2ab32d(0x1c5));return _0x5cb7ec;}get[_0x57b297(0x1dd)](){const _0x3fbc78=_0x57b297;return this[_0x3fbc78(0x194)][_0x3fbc78(0x1f7)](a[_0x3fbc78(0x1ab)])[_0x3fbc78(0x230)]();}get[_0x57b297(0x1f8)](){const _0x4ec1ce=_0x57b297;let _0x17bd8a=this['_skeleton'][_0x4ec1ce(0x22e)]();if(!_0x17bd8a)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x17bd8a;}get['_paperSize'](){const _0x2b3e38=_0x57b297;let _0x99063f=this[_0x2b3e38(0x1f8)]['pages'][0x0];return{'width':_0x99063f[_0x2b3e38(0x225)],'height':_0x99063f[_0x2b3e38(0x1ba)]};}constructor(_0xc5ad0,_0x12b5e9,_0x43c09f,_0x5cfe78){const _0x1cb854=_0x57b297;super(),this[_0x1cb854(0x1bc)]=_0xc5ad0,this[_0x1cb854(0x21c)]=_0x12b5e9,this[_0x1cb854(0x1ca)]=_0x43c09f,this[_0x1cb854(0x1c0)]=_0x5cfe78,f(this,_0x1cb854(0x1d5),document[_0x1cb854(0x1d7)](_0x1cb854(0x1e1))),f(this,_0x1cb854(0x1db),document[_0x1cb854(0x1d7)]('div')),f(this,_0x1cb854(0x1b0),void 0x0),f(this,_0x1cb854(0x1b2),void 0x0),f(this,_0x1cb854(0x1b9),void 0x0),f(this,'_documents',void 0x0),f(this,_0x1cb854(0x229),void 0x0),f(this,'_effects',new e[(_0x1cb854(0x20e))]()),this[_0x1cb854(0x1b9)]=(0x0,e['generateRandomId'])(0x4),this['_initRenderer'](),this[_0x1cb854(0x185)]({'dispose':()=>{const _0x2bf8e4=_0x1cb854;this[_0x2bf8e4(0x1b0)]['dispose'](),this[_0x2bf8e4(0x1b2)][_0x2bf8e4(0x205)](),this['_effects'][_0x2bf8e4(0x205)]();}});}[_0x57b297(0x1cb)](){const _0x4f764c=_0x57b297;let {docsTop:_0x407b6b,docsLeft:_0x3a2a51}=this['_documents'][_0x4f764c(0x1d9)](),_0x78c04a=this['_paperSize'][_0x4f764c(0x221)],_0x2b79d6=this['_paperSize'][_0x4f764c(0x1bf)];return{'top':_0x407b6b+(_0x407b6b+_0x78c04a)*this[_0x4f764c(0x21c)],'bottom':_0x407b6b+(_0x407b6b+_0x78c04a)*(this[_0x4f764c(0x21c)]+0x1),'left':_0x3a2a51,'right':_0x3a2a51+_0x2b79d6};}[_0x57b297(0x210)](){const _0x29266c=_0x57b297;this[_0x29266c(0x1b0)]=new n[(_0x29266c(0x201))]('',{'elementWidth':this[_0x29266c(0x216)][_0x29266c(0x1bf)],'elementHeight':this['_paperSize']['height'],'dpr':0x1,'renderMode':n[_0x29266c(0x1b7)][_0x29266c(0x217)]}),this['_scene']=new n[(_0x29266c(0x1d3))](this[_0x29266c(0x1b9)],this[_0x29266c(0x1b0)]),this[_0x29266c(0x1b2)][_0x29266c(0x19f)](0x1,0x1),this[_0x29266c(0x1b0)][_0x29266c(0x214)](this[_0x29266c(0x1d5)],!0x1),this[_0x29266c(0x1b0)][_0x29266c(0x188)]()[_0x29266c(0x21f)]()[_0x29266c(0x18a)](this['_key']+'_'+(0x0,e[_0x29266c(0x20c)])(0x4)),this['_addComponent'](),this[_0x29266c(0x1fb)]();}[_0x57b297(0x218)](){const _0x57d204=_0x57b297;let {pageMarginLeft:_0x338db4,pageMarginTop:_0x3f6615,docsLeft:_0x5ce15a,docsTop:_0x4684cd}=this[_0x57d204(0x1c0)],_0x76e77d={'pageMarginLeft':_0x338db4,'pageMarginTop':_0x3f6615},_0x53d7ce=new n[(_0x57d204(0x219))](_0x57d204(0x1c2),this[_0x57d204(0x1dd)],_0x76e77d);_0x53d7ce[_0x57d204(0x1f9)](_0x5ce15a,_0x4684cd),this[_0x57d204(0x1b2)]['addObject'](_0x53d7ce),this[_0x57d204(0x1ea)]=_0x53d7ce;let _0x5cfc3c=this[_0x57d204(0x1bc)]['get'](t[_0x57d204(0x1a7)]);_0x5cfc3c[_0x57d204(0x20a)][_0x57d204(0x1b6)](_0x5cfc3c[_0x57d204(0x20a)][_0x57d204(0x1ad)]()[_0x57d204(0x192)])(void 0x0,{'unitId':this[_0x57d204(0x1ca)],'scene':this[_0x57d204(0x1b2)],'engine':this['_engine'],'root':this['_root'],'documents':this[_0x57d204(0x1ea)],'skeleton':this[_0x57d204(0x1dd)]});}[_0x57b297(0x1fb)](){const _0x2ea6c6=_0x57b297;this['_viewMain']=new n[(_0x2ea6c6(0x1ec))](t['VIEWPORT_KEY'][_0x2ea6c6(0x1c9)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}['prepare'](){const _0x47aa0a=_0x57b297;let _0x1f0011=this['_calculateLayout']();this[_0x47aa0a(0x229)]['updateScrollVal']({'viewportScrollX':_0x1f0011['left'],'viewportScrollY':_0x1f0011[_0x47aa0a(0x186)]}),this[_0x47aa0a(0x1db)]['style'][_0x47aa0a(0x227)]=_0x47aa0a(0x19d),this[_0x47aa0a(0x1db)][_0x47aa0a(0x193)][_0x47aa0a(0x186)]=_0x47aa0a(0x1e5),this[_0x47aa0a(0x1db)][_0x47aa0a(0x193)]['left']='0px',this['_root'][_0x47aa0a(0x193)][_0x47aa0a(0x1bf)]=_0x47aa0a(0x200),this[_0x47aa0a(0x1db)][_0x47aa0a(0x193)][_0x47aa0a(0x221)]=_0x47aa0a(0x200),this[_0x47aa0a(0x1c1)]=new e[(_0x47aa0a(0x20e))]();let _0x489c66=this[_0x47aa0a(0x1bc)][_0x47aa0a(0x1c4)](t['DocPrintInterceptorService']);_0x489c66[_0x47aa0a(0x20a)][_0x47aa0a(0x1b6)](_0x489c66[_0x47aa0a(0x20a)][_0x47aa0a(0x1ad)]()['PRINTING_DOM_COLLECT'])(this['_effects'],{'unitId':this[_0x47aa0a(0x1ca)],'scene':this['_scene'],'engine':this[_0x47aa0a(0x1b0)],'root':this[_0x47aa0a(0x1db)],'skeleton':this[_0x47aa0a(0x1dd)],'offset':{'x':_0x1f0011[_0x47aa0a(0x1d4)],'y':_0x1f0011['top']},'bound':{'top':_0x1f0011[_0x47aa0a(0x186)],'left':_0x1f0011['left'],'right':_0x1f0011[_0x47aa0a(0x231)],'bottom':_0x1f0011[_0x47aa0a(0x1d8)]}});}[_0x57b297(0x21e)](){const _0x3527db=_0x57b297;let _0x34bf0c=this[_0x3527db(0x1b0)]['getCanvas']()['getContext']();this['_documents']['makeForceDirty'](),this['_scene']['makeDirty'](),_0x34bf0c['save'](),this['_scene'][_0x3527db(0x21e)](),_0x34bf0c[_0x3527db(0x215)]();}};function m(_0x1b7aec,_0x4314ca){return function(_0x48c819,_0x194abb){_0x4314ca(_0x48c819,_0x194abb,_0x1b7aec);};}function h(_0x51f048,_0x4d50bd,_0x200f54,_0x1b0dd6){const _0x9b4dbc=_0x57b297;var _0x4e4a5c=arguments['length'],_0x3ea82e=_0x4e4a5c<0x3?_0x4d50bd:_0x1b0dd6===null?_0x1b0dd6=Object[_0x9b4dbc(0x1bb)](_0x4d50bd,_0x200f54):_0x1b0dd6,_0x46e236;if(typeof Reflect==_0x9b4dbc(0x202)&&typeof Reflect[_0x9b4dbc(0x212)]=='function')_0x3ea82e=Reflect[_0x9b4dbc(0x212)](_0x51f048,_0x4d50bd,_0x200f54,_0x1b0dd6);else{for(var _0x58e0ee=_0x51f048[_0x9b4dbc(0x1b8)]-0x1;_0x58e0ee>=0x0;_0x58e0ee--)(_0x46e236=_0x51f048[_0x58e0ee])&&(_0x3ea82e=(_0x4e4a5c<0x3?_0x46e236(_0x3ea82e):_0x4e4a5c>0x3?_0x46e236(_0x4d50bd,_0x200f54,_0x3ea82e):_0x46e236(_0x4d50bd,_0x200f54))||_0x3ea82e);}return _0x4e4a5c>0x3&&_0x3ea82e&&Object[_0x9b4dbc(0x207)](_0x4d50bd,_0x200f54,_0x3ea82e),_0x3ea82e;}const g=Number['parseInt'](0x69c78f3a),_=(_0x51e51b,_0x5cf87e,_0x12515a)=>{const _0x1c475c=_0x57b297;let _0x4d4a3a={'page':_0x51e51b,'isPro':!0x1,'timeValid':!0x1};if(!_0x5cf87e||!_0x12515a)return _0x4d4a3a;let _0x464301=(0x0,r['getLicenseInfo'])(_0x5cf87e,_0x12515a);if(_0x464301['valid']){let _0x16eb98=_0x464301[_0x1c475c(0x220)],_0x580022=(0x0,r['isFeatureAuthorizedWithinTime'])(_0x16eb98,'df',g);_0x4d4a3a[_0x1c475c(0x1ac)]=_0x580022,_0x4d4a3a[_0x1c475c(0x18c)]=_0x580022,_0x4d4a3a[_0x1c475c(0x19a)]=(0x0,r[_0x1c475c(0x1dc)])(_0x16eb98,_0x580022,_0x1c475c(0x1ed),_0x51e51b,_0x51e51b,0x0);}return _0x4d4a3a;};let v=class extends e['Disposable']{constructor(_0x1f306f,_0x2cf0c7,_0x589e71,_0xcf3bc0,_0x2395f1){const _0x1ffc8b=_0x57b297;super(),this[_0x1ffc8b(0x20d)]=_0x1f306f,this[_0x1ffc8b(0x1ff)]=_0x2cf0c7,this[_0x1ffc8b(0x1bc)]=_0x589e71,this['_configService']=_0xcf3bc0,this[_0x1ffc8b(0x1b5)]=_0x2395f1;}[_0x57b297(0x1e6)](_0x4d1c0a){const _0x4b353b=_0x57b297;var _0x2273c9,_0x3624e5;let {ls:_0xc2d811,pbk:_0x42a884}=(_0x2273c9=this[_0x4b353b(0x21b)][_0x4b353b(0x199)](r[_0x4b353b(0x22f)]))==null?{}:_0x2273c9,_0x2e8024=(0x0,r['isLocalCheck'])()?0x1/0x0:_(0x1,_0xc2d811,_0x42a884)['page'];if(!this['_univerInstanceService'][_0x4b353b(0x1ee)](_0x4d1c0a,e['UniverInstanceType'][_0x4b353b(0x204)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x1b056a=this['_renderManagerService'][_0x4b353b(0x211)](_0x4d1c0a);if(!_0x1b056a)throw Error(_0x4b353b(0x1c5));let _0x5740b1=(_0x3624e5=_0x1b056a[_0x4b353b(0x1f7)](a[_0x4b353b(0x1ab)])['getSkeleton']()['getSkeletonData']())==null?void 0x0:_0x3624e5['pages'];if(!_0x5740b1)throw Error(_0x4b353b(0x1a6));let _0x46fb96={'width':_0x5740b1[0x0][_0x4b353b(0x225)],'height':_0x5740b1[0x0]['pageHeight']},_0x40e152=_0x5740b1[_0x4b353b(0x1b8)],_0x391976=Math['min'](_0x2e8024,_0x40e152),_0x570610=_0x1b056a['mainComponent'][_0x4b353b(0x1d9)](),_0x446fb4=document[_0x4b353b(0x1d7)]('div');_0x446fb4[_0x4b353b(0x1ae)]=i['PRINT_CONTAINER_CLASS'];let _0x5c0b7f=Array(_0x391976)[_0x4b353b(0x209)](null)[_0x4b353b(0x1e7)]((_0x10f0e2,_0x18d682)=>{const _0x22225d=_0x4b353b;let _0x3c2d7d=new p(this['_injector'],_0x18d682,_0x4d1c0a,_0x570610);return _0x3c2d7d[_0x22225d(0x21a)][_0x22225d(0x1ae)]=i['PRINT_CANVAS_CLASS'],_0x3c2d7d;});_0x5c0b7f[_0x4b353b(0x1a0)](_0x57ca78=>{const _0x29f5c8=_0x4b353b;_0x446fb4['appendChild'](_0x57ca78[_0x29f5c8(0x21a)]),_0x57ca78[_0x29f5c8(0x21a)][_0x29f5c8(0x1e4)](_0x57ca78[_0x29f5c8(0x224)]),_0x57ca78[_0x29f5c8(0x196)]();});let _0x8c0436=(0x0,i['createPrintStyle'])(_0x46fb96['width'],_0x46fb96[_0x4b353b(0x221)],i[_0x4b353b(0x228)]['Portrait']);return document['body'][_0x4b353b(0x1e4)](_0x8c0436),document[_0x4b353b(0x1f6)][_0x4b353b(0x1e4)](_0x446fb4),new Promise(_0x1c3e1d=>{setTimeout(()=>{const _0x11bd93=_0x411a;window['onbeforeprint']=()=>{const _0x34543b=_0x411a;_0x5c0b7f[_0x34543b(0x1a0)](_0x503644=>{const _0x3f93ad=_0x34543b;_0x503644[_0x3f93ad(0x21e)]();});},window[_0x11bd93(0x213)]=()=>{const _0x53806a=_0x11bd93;_0x5c0b7f[_0x53806a(0x1a0)](_0x50c397=>{_0x50c397['dispose']();}),document[_0x53806a(0x1f6)][_0x53806a(0x191)](_0x446fb4),document[_0x53806a(0x1f6)][_0x53806a(0x191)](_0x8c0436),this[_0x53806a(0x1b5)][_0x53806a(0x21d)](),_0x1c3e1d(!0x0);},window[_0x11bd93(0x1e6)]();},0x64);});}};v=h([m(0x0,e[_0x57b297(0x1ce)]),m(0x1,n[_0x57b297(0x1d6)]),m(0x2,(0x0,e['Inject'])(e[_0x57b297(0x206)])),m(0x3,e[_0x57b297(0x18b)]),m(0x4,o[_0x57b297(0x1e8)])],v);const y={'id':_0x57b297(0x1f4),'type':e['CommandType'][_0x57b297(0x1aa)],'handler':async _0x2db630=>{const _0x538baa=_0x57b297;let _0x558f53=_0x2db630[_0x538baa(0x1c4)](e['IUniverInstanceService']),_0xc027c7=_0x2db630[_0x538baa(0x1c4)](v),_0x12f9c0=_0x2db630['get'](n['IRenderManagerService']),_0xed0fc1=_0x2db630[_0x538baa(0x1c4)](e['ICommandService']),_0x3c0a1e=_0x558f53[_0x538baa(0x203)](e['UniverInstanceType'][_0x538baa(0x204)]);if(!_0x3c0a1e)return!0x1;if(!_0x12f9c0[_0x538baa(0x211)](_0x3c0a1e[_0x538baa(0x1c6)]()))throw Error(_0x538baa(0x1c5));let _0x565188=_0x3c0a1e['getDocumentStyle']()[_0x538baa(0x1df)];return _0x565188!==e[_0x538baa(0x1e2)]['TRADITIONAL']&&_0xed0fc1[_0x538baa(0x22b)](t[_0x538baa(0x18d)]['id']),await _0xc027c7[_0x538baa(0x1e6)](_0x3c0a1e['getUnitId']()),_0x565188!==e[_0x538baa(0x1e2)][_0x538baa(0x1f2)]&&_0xed0fc1[_0x538baa(0x22b)](t[_0x538baa(0x18d)]['id']),!0x0;}},b=_0x57b297(0x20b),x={};var S='@univerjs-pro/docs-print',C=_0x57b297(0x195);function w(_0x4e6a2d){const _0x21ffcb=_0x57b297;return{'id':y['id'],'type':o[_0x21ffcb(0x1cd)][_0x21ffcb(0x1bd)],'title':'print.menu','icon':_0x21ffcb(0x1fd),'tooltip':_0x21ffcb(0x1be),'hidden$':(0x0,o[_0x21ffcb(0x208)])(_0x4e6a2d,e[_0x21ffcb(0x1cf)]['UNIVER_DOC'])};}const T={[o[_0x57b297(0x1b4)][_0x57b297(0x1f5)]]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x57b297(0x22a)]{constructor(_0x475b9b,_0x6cda60,_0x3edb96){const _0xbdb79a=_0x57b297;super(),this[_0xbdb79a(0x19e)]=_0x475b9b,this['_menuManagerService']=_0x6cda60,this[_0xbdb79a(0x1a8)]=_0x3edb96,this[_0xbdb79a(0x1fc)](),this[_0xbdb79a(0x1d2)](),this[_0xbdb79a(0x1b3)]();}[_0x57b297(0x1fc)](){const _0x4601f4=_0x57b297;this[_0x4601f4(0x189)][_0x4601f4(0x1fa)](T);}[_0x57b297(0x1d2)](){const _0x3e0db8=_0x57b297;this[_0x3e0db8(0x185)](this[_0x3e0db8(0x19e)][_0x3e0db8(0x1e0)](y));}[_0x57b297(0x1b3)](){const _0x13386d=_0x57b297;[[_0x13386d(0x1fd),c['PrintIcon']]][_0x13386d(0x1a0)](([_0x1475be,_0x2721ca])=>{const _0x13e93b=_0x13386d;this[_0x13e93b(0x1a8)]['register'](_0x1475be,_0x2721ca);});}};E=h([m(0x0,e[_0x57b297(0x1f1)]),m(0x1,o['IMenuManagerService']),m(0x2,(0x0,e['Inject'])(o[_0x57b297(0x22c)]))],E);let D=class extends e[_0x57b297(0x1a9)]{constructor(_0x3a9e7a=x,_0x491368,_0x477c6d){const _0x2e79f8=_0x57b297;super(),this['_config']=_0x3a9e7a,this[_0x2e79f8(0x1bc)]=_0x491368,this['_configService']=_0x477c6d;let {menu:_0x17fb67,..._0x49e002}=(0x0,e[_0x2e79f8(0x222)])({},x,this[_0x2e79f8(0x1eb)]);_0x17fb67&&this[_0x2e79f8(0x21b)][_0x2e79f8(0x226)](_0x2e79f8(0x187),_0x17fb67,{'merge':!0x0}),this[_0x2e79f8(0x21b)][_0x2e79f8(0x226)](b,_0x49e002);}[_0x57b297(0x1d1)](){const _0x19a67e=_0x57b297;(0x0,e[_0x19a67e(0x1cc)])(this[_0x19a67e(0x1bc)],[[v],[E]]);}['onReady'](){this['_injector']['get'](E);}};f(D,'pluginName',_0x57b297(0x20b)),f(D,_0x57b297(0x1a5),S),f(D,_0x57b297(0x18e),C),f(D,'type',e[_0x57b297(0x1cf)]['UNIVER_DOC']),D=h([(0x0,e[_0x57b297(0x20f)])(s[_0x57b297(0x1b1)],r[_0x57b297(0x1fe)]),m(0x1,(0x0,e['Inject'])(e['Injector'])),m(0x2,e[_0x57b297(0x18b)])],D),exports[_0x57b297(0x1ef)]=b,exports['DocPrintOperation']=y,Object['defineProperty'](exports,_0x57b297(0x1a1),{'enumerable':!0x0,'get':function(){return D;}});
|
|
1
|
+
const _0x15f427=_0x273e;(function(_0x2111e9,_0x4ac7e3){const _0x4b4605=_0x273e,_0x537a67=_0x2111e9();while(!![]){try{const _0x430a4c=parseInt(_0x4b4605(0x259))/0x1*(parseInt(_0x4b4605(0x1e0))/0x2)+parseInt(_0x4b4605(0x1fd))/0x3+parseInt(_0x4b4605(0x1d6))/0x4*(-parseInt(_0x4b4605(0x1e7))/0x5)+-parseInt(_0x4b4605(0x1c6))/0x6*(-parseInt(_0x4b4605(0x252))/0x7)+parseInt(_0x4b4605(0x1b4))/0x8+-parseInt(_0x4b4605(0x236))/0x9*(-parseInt(_0x4b4605(0x24e))/0xa)+parseInt(_0x4b4605(0x24c))/0xb*(-parseInt(_0x4b4605(0x21f))/0xc);if(_0x430a4c===_0x4ac7e3)break;else _0x537a67['push'](_0x537a67['shift']());}catch(_0xeed0c8){_0x537a67['push'](_0x537a67['shift']());}}}(_0x4c18,0x8f746),Object[_0x15f427(0x1e9)](exports,Symbol[_0x15f427(0x1c9)],{'value':_0x15f427(0x212)}));let e=require(`@univerjs/core`),t=require(`@univerjs/docs-ui`),n=require(`@univerjs/engine-render`),r=require(`@univerjs-pro/license`),i=require(`@univerjs-pro/print`),a=require(`@univerjs/docs`),o=require(`@univerjs/ui`),s=require(`@univerjs/network`),c=require(`@univerjs/icons`);function l(_0x47bd49){'@babel/helpers - typeof';const _0x92ed70=_0x15f427;return l=typeof Symbol==_0x92ed70(0x1ba)&&typeof Symbol[_0x92ed70(0x20c)]=='symbol'?function(_0x3dce48){return typeof _0x3dce48;}:function(_0x13d4fa){const _0x2c61aa=_0x92ed70;return _0x13d4fa&&typeof Symbol==_0x2c61aa(0x1ba)&&_0x13d4fa[_0x2c61aa(0x23e)]===Symbol&&_0x13d4fa!==Symbol[_0x2c61aa(0x1f8)]?_0x2c61aa(0x1ef):typeof _0x13d4fa;},l(_0x47bd49);}function u(_0x2da2b0,_0x14a0f1){const _0x63c2cd=_0x15f427;if(l(_0x2da2b0)!='object'||!_0x2da2b0)return _0x2da2b0;var _0xb29868=_0x2da2b0[Symbol[_0x63c2cd(0x1c2)]];if(_0xb29868!==void 0x0){var _0x1fc767=_0xb29868[_0x63c2cd(0x21b)](_0x2da2b0,_0x14a0f1||_0x63c2cd(0x223));if(l(_0x1fc767)!='object')return _0x1fc767;throw TypeError(_0x63c2cd(0x203));}return(_0x14a0f1===_0x63c2cd(0x22f)?String:Number)(_0x2da2b0);}function d(_0x497c55){const _0x2c6bf0=_0x15f427;var _0x51a342=u(_0x497c55,_0x2c6bf0(0x22f));return l(_0x51a342)==_0x2c6bf0(0x1ef)?_0x51a342:_0x51a342+'';}function f(_0x431ae9,_0x3f30e9,_0x3f75b1){const _0x53e85e=_0x15f427;return(_0x3f30e9=d(_0x3f30e9))in _0x431ae9?Object[_0x53e85e(0x1e9)](_0x431ae9,_0x3f30e9,{'value':_0x3f75b1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x431ae9[_0x3f30e9]=_0x3f75b1,_0x431ae9;}var p=class extends e[_0x15f427(0x256)]{get[_0x15f427(0x1ea)](){return this['_container'];}get[_0x15f427(0x1cd)](){const _0x5e619b=_0x15f427;return this[_0x5e619b(0x1d8)];}get[_0x15f427(0x213)](){const _0x11dc04=_0x15f427;let _0x2ed12c=this[_0x11dc04(0x1b8)][_0x11dc04(0x1b9)](n[_0x11dc04(0x1f9)])[_0x11dc04(0x1dc)](this['_unitId']);if(!_0x2ed12c)throw Error(_0x11dc04(0x1dd));return _0x2ed12c;}get[_0x15f427(0x23a)](){const _0x436bc4=_0x15f427;return this['_currentRender'][_0x436bc4(0x1eb)](a[_0x436bc4(0x1c1)])[_0x436bc4(0x263)]();}get['_skeletonData'](){const _0x47c6f7=_0x15f427;let _0x51d75c=this[_0x47c6f7(0x23a)][_0x47c6f7(0x260)]();if(!_0x51d75c)throw Error(_0x47c6f7(0x248));return _0x51d75c;}get['_paperSize'](){const _0x17f23b=_0x15f427;let _0x477876=this[_0x17f23b(0x1e6)][_0x17f23b(0x220)][0x0];return{'width':_0x477876[_0x17f23b(0x22b)],'height':_0x477876[_0x17f23b(0x205)]};}constructor(_0x12d33f,_0x3947cf,_0x145536,_0x2569b0){const _0x15249a=_0x15f427;super(),this[_0x15249a(0x1b8)]=_0x12d33f,this['_page']=_0x3947cf,this['_unitId']=_0x145536,this['_offsetConfig']=_0x2569b0,f(this,'_container',document[_0x15249a(0x20b)](_0x15249a(0x250))),f(this,_0x15249a(0x1d8),document[_0x15249a(0x20b)]('div')),f(this,'_engine',void 0x0),f(this,_0x15249a(0x1ca),void 0x0),f(this,'_key',void 0x0),f(this,_0x15249a(0x1cf),void 0x0),f(this,'_viewMain',void 0x0),f(this,_0x15249a(0x201),new e['DisposableCollection']()),this[_0x15249a(0x257)]=(0x0,e[_0x15249a(0x1c3)])(0x4),this[_0x15249a(0x25c)](),this[_0x15249a(0x238)]({'dispose':()=>{const _0x8e06dc=_0x15249a;this[_0x8e06dc(0x258)][_0x8e06dc(0x246)](),this[_0x8e06dc(0x1ca)]['dispose'](),this[_0x8e06dc(0x201)][_0x8e06dc(0x246)]();}});}['_calculateLayout'](){const _0x301d97=_0x15f427;let {docsTop:_0x342464,docsLeft:_0x2e4c30}=this[_0x301d97(0x1cf)]['getOffsetConfig'](),_0x32edea=this[_0x301d97(0x1f0)][_0x301d97(0x232)],_0xeee004=this[_0x301d97(0x1f0)][_0x301d97(0x245)];return{'top':_0x342464+(_0x342464+_0x32edea)*this[_0x301d97(0x1e5)],'bottom':_0x342464+(_0x342464+_0x32edea)*(this[_0x301d97(0x1e5)]+0x1),'left':_0x2e4c30,'right':_0x2e4c30+_0xeee004};}['_initRenderer'](){const _0x5d203f=_0x15f427;this['_engine']=new n[(_0x5d203f(0x1cc))]('',{'elementWidth':this[_0x5d203f(0x1f0)][_0x5d203f(0x245)],'elementHeight':this['_paperSize']['height'],'dpr':0x1,'renderMode':n['CanvasRenderMode']['Printing']}),this[_0x5d203f(0x1ca)]=new n[(_0x5d203f(0x1da))](this[_0x5d203f(0x257)],this[_0x5d203f(0x258)]),this['_scene'][_0x5d203f(0x216)](0x1,0x1),this[_0x5d203f(0x258)][_0x5d203f(0x215)](this['_container'],!0x1),this[_0x5d203f(0x258)][_0x5d203f(0x247)]()['getContext']()[_0x5d203f(0x25f)](this[_0x5d203f(0x257)]+'_'+(0x0,e['generateRandomId'])(0x4)),this[_0x5d203f(0x1c0)](),this[_0x5d203f(0x1f7)]();}[_0x15f427(0x1c0)](){const _0x442153=_0x15f427;let {pageMarginLeft:_0xc26084,pageMarginTop:_0x2949c1,docsLeft:_0x35d5d7,docsTop:_0x54c553}=this[_0x442153(0x1d4)],_0x5c17a5={'pageMarginLeft':_0xc26084,'pageMarginTop':_0x2949c1},_0x29679a=new n[(_0x442153(0x231))](_0x442153(0x1d3),this[_0x442153(0x23a)],_0x5c17a5);_0x29679a[_0x442153(0x218)](_0x35d5d7,_0x54c553),this['_scene'][_0x442153(0x1b6)](_0x29679a),this[_0x442153(0x1cf)]=_0x29679a;let _0x485573=this['_injector']['get'](t['DocPrintInterceptorService']);_0x485573[_0x442153(0x234)][_0x442153(0x1c5)](_0x485573[_0x442153(0x234)][_0x442153(0x1d7)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x442153(0x210)],'scene':this[_0x442153(0x1ca)],'engine':this['_engine'],'root':this['_root'],'documents':this[_0x442153(0x1cf)],'skeleton':this[_0x442153(0x23a)]});}[_0x15f427(0x1f7)](){const _0xe432ea=_0x15f427;this[_0xe432ea(0x1bb)]=new n[(_0xe432ea(0x1bc))](t['VIEWPORT_KEY'][_0xe432ea(0x20a)],this[_0xe432ea(0x1ca)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x15f427(0x1c7)](){const _0x55d243=_0x15f427;let _0x5054d2=this['_calculateLayout']();this['_viewMain']['updateScrollVal']({'viewportScrollX':_0x5054d2['left'],'viewportScrollY':_0x5054d2['top']}),this[_0x55d243(0x1d8)]['style'][_0x55d243(0x1f4)]=_0x55d243(0x25d),this['_root'][_0x55d243(0x24f)]['top']=_0x55d243(0x239),this[_0x55d243(0x1d8)][_0x55d243(0x24f)][_0x55d243(0x1b3)]=_0x55d243(0x239),this[_0x55d243(0x1d8)][_0x55d243(0x24f)][_0x55d243(0x245)]=_0x55d243(0x21d),this['_root'][_0x55d243(0x24f)][_0x55d243(0x232)]=_0x55d243(0x21d),this['_effects']=new e['DisposableCollection']();let _0x3ec16b=this[_0x55d243(0x1b8)][_0x55d243(0x1b9)](t[_0x55d243(0x206)]);_0x3ec16b[_0x55d243(0x234)][_0x55d243(0x1c5)](_0x3ec16b['interceptor'][_0x55d243(0x1d7)]()['PRINTING_DOM_COLLECT'])(this[_0x55d243(0x201)],{'unitId':this[_0x55d243(0x210)],'scene':this[_0x55d243(0x1ca)],'engine':this[_0x55d243(0x258)],'root':this[_0x55d243(0x1d8)],'skeleton':this[_0x55d243(0x23a)],'offset':{'x':_0x5054d2[_0x55d243(0x1b3)],'y':_0x5054d2[_0x55d243(0x1e3)]},'bound':{'top':_0x5054d2[_0x55d243(0x1e3)],'left':_0x5054d2[_0x55d243(0x1b3)],'right':_0x5054d2[_0x55d243(0x22e)],'bottom':_0x5054d2[_0x55d243(0x1d0)]}});}[_0x15f427(0x24b)](){const _0x5e03cb=_0x15f427;let _0x721079=this[_0x5e03cb(0x258)][_0x5e03cb(0x247)]()[_0x5e03cb(0x227)]();this[_0x5e03cb(0x1cf)][_0x5e03cb(0x251)](),this[_0x5e03cb(0x1ca)]['makeDirty'](),_0x721079[_0x5e03cb(0x21c)](),this['_scene']['render'](),_0x721079[_0x5e03cb(0x253)]();}};function m(_0x2ed748,_0x3f3291){return function(_0x1a563b,_0x370930){_0x3f3291(_0x1a563b,_0x370930,_0x2ed748);};}function h(_0x3edc62,_0x4b5855,_0x469d79,_0x29221e){const _0x1d4e1c=_0x15f427;var _0x4fc0cb=arguments[_0x1d4e1c(0x24a)],_0x308e21=_0x4fc0cb<0x3?_0x4b5855:_0x29221e===null?_0x29221e=Object[_0x1d4e1c(0x1bd)](_0x4b5855,_0x469d79):_0x29221e,_0x13a1f7;if(typeof Reflect==_0x1d4e1c(0x24d)&&typeof Reflect[_0x1d4e1c(0x1fc)]==_0x1d4e1c(0x1ba))_0x308e21=Reflect[_0x1d4e1c(0x1fc)](_0x3edc62,_0x4b5855,_0x469d79,_0x29221e);else{for(var _0x525586=_0x3edc62[_0x1d4e1c(0x24a)]-0x1;_0x525586>=0x0;_0x525586--)(_0x13a1f7=_0x3edc62[_0x525586])&&(_0x308e21=(_0x4fc0cb<0x3?_0x13a1f7(_0x308e21):_0x4fc0cb>0x3?_0x13a1f7(_0x4b5855,_0x469d79,_0x308e21):_0x13a1f7(_0x4b5855,_0x469d79))||_0x308e21);}return _0x4fc0cb>0x3&&_0x308e21&&Object['defineProperty'](_0x4b5855,_0x469d79,_0x308e21),_0x308e21;}const g=Number[_0x15f427(0x261)](0x69cf7334),_=(_0x446d40,_0x179330,_0x53fcf9)=>{const _0x4053c1=_0x15f427;let _0x19d98f={'page':_0x446d40,'isPro':!0x1,'timeValid':!0x1};if(!_0x179330||!_0x53fcf9)return _0x19d98f;let _0x54a6d9=(0x0,r[_0x4053c1(0x25a)])(_0x179330,_0x53fcf9);if(_0x54a6d9['valid']){let _0x112674=_0x54a6d9['message'],_0x4d7701=(0x0,r[_0x4053c1(0x264)])(_0x112674,'df',g);_0x19d98f[_0x4053c1(0x204)]=_0x4d7701,_0x19d98f[_0x4053c1(0x1f3)]=_0x4d7701,_0x19d98f[_0x4053c1(0x23c)]=(0x0,r[_0x4053c1(0x1c4)])(_0x112674,_0x4d7701,_0x4053c1(0x1f1),_0x446d40,_0x446d40,0x0);}return _0x19d98f;};let v=class extends e['Disposable']{constructor(_0x57f35f,_0x4d099b,_0x3a1ad1,_0x307348,_0x356881){const _0x2c6de5=_0x15f427;super(),this[_0x2c6de5(0x217)]=_0x57f35f,this[_0x2c6de5(0x209)]=_0x4d099b,this[_0x2c6de5(0x1b8)]=_0x3a1ad1,this[_0x2c6de5(0x233)]=_0x307348,this[_0x2c6de5(0x1e2)]=_0x356881;}[_0x15f427(0x22a)](_0x2f6894){const _0x336459=_0x15f427;var _0x2938bf,_0x3de2a0;let {ls:_0x15b260,pbk:_0x2f277c}=(_0x2938bf=this[_0x336459(0x233)][_0x336459(0x242)](r['LS_CONFIG_KEY']))==null?{}:_0x2938bf,_0x1e48aa=(0x0,r['isLocalCheck'])()?0x1/0x0:_(0x1,_0x15b260,_0x2f277c)[_0x336459(0x23c)];if(!this[_0x336459(0x217)][_0x336459(0x240)](_0x2f6894,e[_0x336459(0x1f5)][_0x336459(0x244)]))throw Error(_0x336459(0x20d));let _0x356ff5=this[_0x336459(0x209)][_0x336459(0x1dc)](_0x2f6894);if(!_0x356ff5)throw Error(_0x336459(0x1dd));let _0x3a19b7=(_0x3de2a0=_0x356ff5['with'](a[_0x336459(0x1c1)])['getSkeleton']()[_0x336459(0x260)]())==null?void 0x0:_0x3de2a0['pages'];if(!_0x3a19b7)throw Error(_0x336459(0x229));let _0x48ea8e={'width':_0x3a19b7[0x0][_0x336459(0x22b)],'height':_0x3a19b7[0x0][_0x336459(0x205)]},_0x239289=_0x3a19b7[_0x336459(0x24a)],_0x12ede2=Math[_0x336459(0x22d)](_0x1e48aa,_0x239289),_0x1133ee=_0x356ff5[_0x336459(0x1bf)][_0x336459(0x1f2)](),_0x454bbb=document['createElement'](_0x336459(0x250));_0x454bbb['className']=i[_0x336459(0x1d2)];let _0x12f8ad=Array(_0x12ede2)[_0x336459(0x1df)](null)[_0x336459(0x1fe)]((_0x569968,_0x46e3a3)=>{const _0x5574c9=_0x336459;let _0x8ae591=new p(this[_0x5574c9(0x1b8)],_0x46e3a3,_0x2f6894,_0x1133ee);return _0x8ae591[_0x5574c9(0x1ea)][_0x5574c9(0x1c8)]=i[_0x5574c9(0x21a)],_0x8ae591;});_0x12f8ad['forEach'](_0x55668a=>{const _0x312ced=_0x336459;_0x454bbb[_0x312ced(0x1fa)](_0x55668a['container']),_0x55668a[_0x312ced(0x1ea)][_0x312ced(0x1fa)](_0x55668a[_0x312ced(0x1cd)]),_0x55668a[_0x312ced(0x1c7)]();});let _0x4ffc92=(0x0,i[_0x336459(0x1be)])(_0x48ea8e[_0x336459(0x245)],_0x48ea8e[_0x336459(0x232)],i['PrintDirection'][_0x336459(0x23d)]);return document['body']['appendChild'](_0x4ffc92),document[_0x336459(0x1ec)][_0x336459(0x1fa)](_0x454bbb),new Promise(_0xf2fa75=>{setTimeout(()=>{const _0x2224d5=_0x273e;window[_0x2224d5(0x1f6)]=()=>{_0x12f8ad['forEach'](_0x1b6e40=>{const _0x581bb0=_0x273e;_0x1b6e40[_0x581bb0(0x24b)]();});},window[_0x2224d5(0x226)]=()=>{const _0x445679=_0x2224d5;_0x12f8ad[_0x445679(0x23f)](_0xe8e579=>{const _0x16c221=_0x445679;_0xe8e579[_0x16c221(0x246)]();}),document[_0x445679(0x1ec)][_0x445679(0x1e1)](_0x454bbb),document[_0x445679(0x1ec)][_0x445679(0x1e1)](_0x4ffc92),this[_0x445679(0x1e2)][_0x445679(0x214)](),_0xf2fa75(!0x0);},window[_0x2224d5(0x22a)]();},0x64);});}};v=h([m(0x0,e[_0x15f427(0x1fb)]),m(0x1,n[_0x15f427(0x1f9)]),m(0x2,(0x0,e[_0x15f427(0x221)])(e[_0x15f427(0x237)])),m(0x3,e[_0x15f427(0x1ff)]),m(0x4,o[_0x15f427(0x241)])],v);const y={'id':_0x15f427(0x219),'type':e[_0x15f427(0x230)][_0x15f427(0x23b)],'handler':async _0x25f7bf=>{const _0x416617=_0x15f427;let _0x52c909=_0x25f7bf[_0x416617(0x1b9)](e['IUniverInstanceService']),_0x1cd810=_0x25f7bf[_0x416617(0x1b9)](v),_0x3f8493=_0x25f7bf['get'](n[_0x416617(0x1f9)]),_0x528451=_0x25f7bf[_0x416617(0x1b9)](e[_0x416617(0x225)]),_0x877287=_0x52c909['getCurrentUnitOfType'](e[_0x416617(0x1f5)]['UNIVER_DOC']);if(!_0x877287)return!0x1;if(!_0x3f8493[_0x416617(0x1dc)](_0x877287['getUnitId']()))throw Error(_0x416617(0x1dd));let _0xfdae34=_0x877287['getDocumentStyle']()['documentFlavor'];return _0xfdae34!==e['DocumentFlavor']['TRADITIONAL']&&_0x528451[_0x416617(0x1db)](t[_0x416617(0x1de)]['id']),await _0x1cd810[_0x416617(0x22a)](_0x877287[_0x416617(0x1ce)]()),_0xfdae34!==e[_0x416617(0x254)][_0x416617(0x1ed)]&&_0x528451[_0x416617(0x1db)](t[_0x416617(0x1de)]['id']),!0x0;}},b='UNIVER_DOCS_PRINT',x={};var S='@univerjs-pro/docs-print',C=_0x15f427(0x1d1);function w(_0x563d07){const _0x52828d=_0x15f427;return{'id':y['id'],'type':o[_0x52828d(0x243)]['BUTTON'],'title':'print.menu','icon':_0x52828d(0x228),'tooltip':'print.menu','hidden$':(0x0,o[_0x52828d(0x1d5)])(_0x563d07,e[_0x52828d(0x1f5)][_0x52828d(0x244)])};}const T={[o[_0x15f427(0x1cb)]['OTHERS']]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x15f427(0x256)]{constructor(_0x546d99,_0x2c4089,_0x4655e6){const _0x372e2c=_0x15f427;super(),this[_0x372e2c(0x211)]=_0x546d99,this[_0x372e2c(0x1b7)]=_0x2c4089,this[_0x372e2c(0x224)]=_0x4655e6,this[_0x372e2c(0x255)](),this[_0x372e2c(0x200)](),this[_0x372e2c(0x25b)]();}[_0x15f427(0x255)](){const _0x20563a=_0x15f427;this[_0x20563a(0x1b7)][_0x20563a(0x20f)](T);}[_0x15f427(0x200)](){const _0x19feaf=_0x15f427;this[_0x19feaf(0x238)](this[_0x19feaf(0x211)]['registerCommand'](y));}['_initComponents'](){const _0x1fa269=_0x15f427;[[_0x1fa269(0x228),c[_0x1fa269(0x228)]]][_0x1fa269(0x23f)](([_0x49471c,_0x28607d])=>{const _0x85143d=_0x1fa269;this[_0x85143d(0x224)][_0x85143d(0x222)](_0x49471c,_0x28607d);});}};function _0x273e(_0x39a5d9,_0x6d6df2){_0x39a5d9=_0x39a5d9-0x1b3;const _0x4c1801=_0x4c18();let _0x273e0f=_0x4c1801[_0x39a5d9];return _0x273e0f;}function _0x4c18(){const _0x3b7cbf=['3130356USJIky','prepare','className','toStringTag','_scene','RibbonStartGroup','Engine','root','getUnitId','_documents','bottom','0.20.0','PRINT_CONTAINER_CLASS','__DocPrintRender__','_offsetConfig','getMenuHiddenObservable','16vKgkXr','getInterceptPoints','_root','merge','Scene','syncExecuteCommand','getRenderById','Render\x20is\x20not\x20found','SwitchDocModeCommand','fill','10GJawmP','removeChild','_globalZoneService','top','UNIVER_DOCS_PRINT','_page','_skeletonData','941985idMwSr','UniverNetworkPlugin','defineProperty','container','with','body','TRADITIONAL','menu','symbol','_paperSize','mpn','getOffsetConfig','timeValid','position','UniverInstanceType','onbeforeprint','_addViewport','prototype','IRenderManagerService','appendChild','IUniverInstanceService','decorate','3414657JFjsqq','map','IConfigService','_initCommands','_effects','packageName','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','isPro','pageHeight','DocPrintInterceptorService','DependentOn','ComponentManager','_renderManagerService','VIEW_MAIN','createElement','iterator','DocumentDataModel\x20is\x20not\x20found','Plugin','mergeMenu','_unitId','_commandService','Module','_currentRender','close','setContainer','scale','_univerInstanceService','translate','docs.operation.print','PRINT_CANVAS_CLASS','call','save','100%','IMenuManagerService','5771412fjKdlb','pages','Inject','register','default','_componentManager','ICommandService','onafterprint','getContext','PrintIcon','Pages\x20are\x20not\x20found','print','pageWidth','pluginName','min','right','string','CommandType','Documents','height','_configService','interceptor','DOCS_PRINT_PLUGIN_CONFIG_KEY','1751157yywaKr','Injector','disposeWithMe','0px','_skeleton','OPERATION','page','Portrait','constructor','forEach','getUnit','IGlobalZoneService','getConfig','MenuItemType','UNIVER_DOC','width','dispose','getCanvas','Skeleton\x20data\x20is\x20not\x20found','_config','length','render','66qOjFfn','object','60hzqROr','style','div','makeForceDirty','7FTVkVt','restore','DocumentFlavor','_initMenus','Disposable','_key','_engine','136521bdkLTu','getLicenseInfo','_initComponents','_initRenderer','absolute','setConfig','setId','getSkeletonData','parseInt','onReady','getSkeleton','isFeatureAuthorizedWithinTime','left','5735168tAvyus','version','addObject','_menuManagerService','_injector','get','function','_viewMain','Viewport','getOwnPropertyDescriptor','createPrintStyle','mainComponent','_addComponent','DocSkeletonManagerService','toPrimitive','generateRandomId','getDocFeatureLimit','fetchThroughInterceptors'];_0x4c18=function(){return _0x3b7cbf;};return _0x4c18();}E=h([m(0x0,e[_0x15f427(0x225)]),m(0x1,o[_0x15f427(0x21e)]),m(0x2,(0x0,e['Inject'])(o[_0x15f427(0x208)]))],E);let D=class extends e[_0x15f427(0x20e)]{constructor(_0x4254ea=x,_0xb0dcab,_0xab47f5){const _0x368536=_0x15f427;super(),this[_0x368536(0x249)]=_0x4254ea,this[_0x368536(0x1b8)]=_0xb0dcab,this[_0x368536(0x233)]=_0xab47f5;let {menu:_0x31a131,..._0x5aaf40}=(0x0,e[_0x368536(0x1d9)])({},x,this['_config']);_0x31a131&&this[_0x368536(0x233)][_0x368536(0x25e)](_0x368536(0x1ee),_0x31a131,{'merge':!0x0}),this[_0x368536(0x233)][_0x368536(0x25e)](b,_0x5aaf40);}['onStarting'](){(0x0,e['registerDependencies'])(this['_injector'],[[v],[E]]);}[_0x15f427(0x262)](){const _0xb492b8=_0x15f427;this[_0xb492b8(0x1b8)][_0xb492b8(0x1b9)](E);}};f(D,_0x15f427(0x22c),_0x15f427(0x1e4)),f(D,_0x15f427(0x202),S),f(D,_0x15f427(0x1b5),C),f(D,'type',e[_0x15f427(0x1f5)]['UNIVER_DOC']),D=h([(0x0,e[_0x15f427(0x207)])(s[_0x15f427(0x1e8)],r['UniverLicensePlugin']),m(0x1,(0x0,e[_0x15f427(0x221)])(e['Injector'])),m(0x2,e['IConfigService'])],D),exports[_0x15f427(0x235)]=b,exports['DocPrintOperation']=y,Object[_0x15f427(0x1e9)](exports,'UniverDocsPrintPlugin',{'enumerable':!0x0,'get':function(){return D;}});
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3159d5=_0x7cc4;(function(_0x1c5da1,_0x417be8){const _0x1792fc=_0x7cc4,_0x2b01ec=_0x1c5da1();while(!![]){try{const _0x4c0167=parseInt(_0x1792fc(0x6d))/0x1+-parseInt(_0x1792fc(0x73))/0x2*(-parseInt(_0x1792fc(0x76))/0x3)+-parseInt(_0x1792fc(0x6e))/0x4+-parseInt(_0x1792fc(0x6f))/0x5*(parseInt(_0x1792fc(0x6c))/0x6)+-parseInt(_0x1792fc(0x70))/0x7+-parseInt(_0x1792fc(0x72))/0x8+-parseInt(_0x1792fc(0x75))/0x9*(-parseInt(_0x1792fc(0x74))/0xa);if(_0x4c0167===_0x417be8)break;else _0x2b01ec['push'](_0x2b01ec['shift']());}catch(_0x39353a){_0x2b01ec['push'](_0x2b01ec['shift']());}}}(_0x4ae8,0x2a192));function _0x4ae8(){const _0x26a2a2=['1901907MNLjQG','Print','2106864WFMopr','2TYEXyX','20ZSrDon','3135897yNndqN','525669FebRwg','exports','48ynHzpD','120571ADwCWf','1042684agNvZS','15310pyXebX'];_0x4ae8=function(){return _0x26a2a2;};return _0x4ae8();}const e={'print':{'menu':_0x3159d5(0x71)}};function _0x7cc4(_0x160b4f,_0x1de08c){_0x160b4f=_0x160b4f-0x6b;const _0x4ae848=_0x4ae8();let _0x7cc43d=_0x4ae848[_0x160b4f];return _0x7cc43d;}module[_0x3159d5(0x6b)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3961(){const _0xda7597=['229596rCTLXx','Print','339920RuwXhi','42465spvMiD','76378CjdfCy','165135pgrieY','84sYCQLZ','exports','1354003ogKbEF','21111XalGFt'];_0x3961=function(){return _0xda7597;};return _0x3961();}const _0x2bc0ea=_0x1ca5;(function(_0x5e7ecf,_0x48cb07){const _0x4366ed=_0x1ca5,_0x526c74=_0x5e7ecf();while(!![]){try{const _0x57fa6e=parseInt(_0x4366ed(0x6c))/0x1+-parseInt(_0x4366ed(0x6b))/0x2+-parseInt(_0x4366ed(0x70))/0x3*(parseInt(_0x4366ed(0x6d))/0x4)+parseInt(_0x4366ed(0x6a))/0x5+-parseInt(_0x4366ed(0x67))/0x6+parseInt(_0x4366ed(0x6f))/0x7+-parseInt(_0x4366ed(0x69))/0x8;if(_0x57fa6e===_0x48cb07)break;else _0x526c74['push'](_0x526c74['shift']());}catch(_0x20e61b){_0x526c74['push'](_0x526c74['shift']());}}}(_0x3961,0x187ef));function _0x1ca5(_0x48234f,_0x413303){_0x48234f=_0x48234f-0x67;const _0x3961a5=_0x3961();let _0x1ca54d=_0x3961a5[_0x48234f];return _0x1ca54d;}const e={'print':{'menu':_0x2bc0ea(0x68)}};module[_0x2bc0ea(0x6e)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5d7595=_0x592d;(function(_0x4b1508,_0xf35a26){const _0x34de2d=_0x592d,_0x11c055=_0x4b1508();while(!![]){try{const _0xaf6ea=parseInt(_0x34de2d(0x152))/0x1*(-parseInt(_0x34de2d(0x151))/0x2)+-parseInt(_0x34de2d(0x150))/0x3+parseInt(_0x34de2d(0x153))/0x4*(parseInt(_0x34de2d(0x154))/0x5)+-parseInt(_0x34de2d(0x159))/0x6+parseInt(_0x34de2d(0x157))/0x7*(-parseInt(_0x34de2d(0x14f))/0x8)+-parseInt(_0x34de2d(0x155))/0x9*(-parseInt(_0x34de2d(0x156))/0xa)+parseInt(_0x34de2d(0x158))/0xb;if(_0xaf6ea===_0xf35a26)break;else _0x11c055['push'](_0x11c055['shift']());}catch(_0x3dd7cb){_0x11c055['push'](_0x11c055['shift']());}}}(_0x1ad3,0xf4133));const e={'print':{'menu':'Print'}};function _0x592d(_0x5066f9,_0xc626bd){_0x5066f9=_0x5066f9-0x14e;const _0x1ad3e9=_0x1ad3();let _0x592d99=_0x1ad3e9[_0x5066f9];return _0x592d99;}function _0x1ad3(){const _0x35fd49=['731791DkJzbM','110248iDUCyT','205hNwnzw','13266DMdbRO','9670xGMIvG','21QBLScq','27725731wABmec','7623096FLgDFs','exports','3237392jhFlxJ','2579583zdpmKT','2dEanep'];_0x1ad3=function(){return _0x35fd49;};return _0x1ad3();}module[_0x5d7595(0x14e)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1033(){const _0x345f3e=['exports','2226270lcZTla','743589mwaunB','86388tYyxRC','145DjBkNK','7723bCMcrj','214LDhBAE','19228710kWqBNd','947754bdMCbs','800RyWZcp','35707pCxmsR'];_0x1033=function(){return _0x345f3e;};return _0x1033();}const _0x2ea227=_0x3aaa;function _0x3aaa(_0x3f9712,_0xd0bf41){_0x3f9712=_0x3f9712-0x1bc;const _0x1033ce=_0x1033();let _0x3aaa40=_0x1033ce[_0x3f9712];return _0x3aaa40;}(function(_0x13178d,_0x586de6){const _0x6bd7d=_0x3aaa,_0x361399=_0x13178d();while(!![]){try{const _0x3371b3=parseInt(_0x6bd7d(0x1bd))/0x1*(-parseInt(_0x6bd7d(0x1be))/0x2)+-parseInt(_0x6bd7d(0x1c4))/0x3+-parseInt(_0x6bd7d(0x1c6))/0x4*(-parseInt(_0x6bd7d(0x1bc))/0x5)+parseInt(_0x6bd7d(0x1c0))/0x6+-parseInt(_0x6bd7d(0x1c2))/0x7*(parseInt(_0x6bd7d(0x1c1))/0x8)+parseInt(_0x6bd7d(0x1c5))/0x9+parseInt(_0x6bd7d(0x1bf))/0xa;if(_0x3371b3===_0x586de6)break;else _0x361399['push'](_0x361399['shift']());}catch(_0x1949e2){_0x361399['push'](_0x361399['shift']());}}}(_0x1033,0xada2d));const e={'print':{'menu':'چاپ'}};module[_0x2ea227(0x1c3)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x242412=_0x5f3a;(function(_0x1c76c1,_0x483416){const _0x2784b8=_0x5f3a,_0x2455cc=_0x1c76c1();while(!![]){try{const _0x84f06a=parseInt(_0x2784b8(0x134))/0x1+-parseInt(_0x2784b8(0x139))/0x2*(parseInt(_0x2784b8(0x135))/0x3)+parseInt(_0x2784b8(0x133))/0x4+-parseInt(_0x2784b8(0x136))/0x5*(-parseInt(_0x2784b8(0x13a))/0x6)+parseInt(_0x2784b8(0x131))/0x7*(parseInt(_0x2784b8(0x137))/0x8)+-parseInt(_0x2784b8(0x138))/0x9+parseInt(_0x2784b8(0x132))/0xa*(-parseInt(_0x2784b8(0x130))/0xb);if(_0x84f06a===_0x483416)break;else _0x2455cc['push'](_0x2455cc['shift']());}catch(_0x31c679){_0x2455cc['push'](_0x2455cc['shift']());}}}(_0x3edf,0xc71b4));function _0x3edf(){const _0x44d56=['22gUKDjQ','535395RiAufq','10716460zLjmNV','6165796qvJjpr','1208842MnXYGO','54ZdyTnu','3220clKZrD','104OVejun','10333602etuQrp','32790cvkhug','6126gMEcbJ','exports'];_0x3edf=function(){return _0x44d56;};return _0x3edf();}const e={'print':{'menu':'Imprimer'}};function _0x5f3a(_0x49bc11,_0x4a4d8a){_0x49bc11=_0x49bc11-0x130;const _0x3edff9=_0x3edf();let _0x5f3a9c=_0x3edff9[_0x49bc11];return _0x5f3a9c;}module[_0x242412(0x13b)]=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2bac(_0x177722,_0x2cd537){_0x177722=_0x177722-0x10c;const _0x1959ea=_0x1959();let _0x2bacea=_0x1959ea[_0x177722];return _0x2bacea;}function _0x1959(){const _0x3f4136=['1000472MWgRhj','5625277TdBwHX','3289971pfmhaz','2256408IVPlMU','4661870JHcCHj','2QQSNXE','5346972fUVkAH','exports','377998PBvEts'];_0x1959=function(){return _0x3f4136;};return _0x1959();}const _0x423328=_0x2bac;(function(_0x366020,_0x1b5beb){const _0x5f01ca=_0x2bac,_0x28dca8=_0x366020();while(!![]){try{const _0x3a9458=parseInt(_0x5f01ca(0x111))/0x1+-parseInt(_0x5f01ca(0x10e))/0x2*(parseInt(_0x5f01ca(0x114))/0x3)+parseInt(_0x5f01ca(0x10f))/0x4+-parseInt(_0x5f01ca(0x10d))/0x5+parseInt(_0x5f01ca(0x10c))/0x6+parseInt(_0x5f01ca(0x113))/0x7+parseInt(_0x5f01ca(0x112))/0x8;if(_0x3a9458===_0x1b5beb)break;else _0x28dca8['push'](_0x28dca8['shift']());}catch(_0x1e4154){_0x28dca8['push'](_0x28dca8['shift']());}}}(_0x1959,0xf1cf0));const e={'print':{'menu':'印刷'}};module[_0x423328(0x110)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x20ec(){const _0x2f1b28=['1680181gCsqmL','1376116QxpWpR','126522EdeJOD','88lDYfjq','4200882qvVOuA','2PtWokc','5016636nFXHfS','9654702MlPVNg','5384400rhFdNH'];_0x20ec=function(){return _0x2f1b28;};return _0x20ec();}(function(_0xc8b26b,_0x46ec42){const _0x26af6f=_0x1126,_0x188e0f=_0xc8b26b();while(!![]){try{const _0x3852f7=parseInt(_0x26af6f(0xab))/0x1*(-parseInt(_0x26af6f(0xa7))/0x2)+parseInt(_0x26af6f(0xa8))/0x3+-parseInt(_0x26af6f(0xac))/0x4+-parseInt(_0x26af6f(0xaa))/0x5+parseInt(_0x26af6f(0xa9))/0x6+parseInt(_0x26af6f(0xa6))/0x7+parseInt(_0x26af6f(0xa5))/0x8*(parseInt(_0x26af6f(0xa4))/0x9);if(_0x3852f7===_0x46ec42)break;else _0x188e0f['push'](_0x188e0f['shift']());}catch(_0x22a2cc){_0x188e0f['push'](_0x188e0f['shift']());}}}(_0x20ec,0xe445b));function _0x1126(_0x5ba605,_0x1f23f1){_0x5ba605=_0x5ba605-0xa4;const _0x20ecab=_0x20ec();let _0x1126a5=_0x20ecab[_0x5ba605];return _0x1126a5;}const e={'print':{'menu':'인쇄'}};module['exports']=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5da94c=_0xe9c0;(function(_0x161111,_0x3c95ff){const _0x7dd857=_0xe9c0,_0x33514d=_0x161111();while(!![]){try{const _0x33e391=parseInt(_0x7dd857(0x175))/0x1*(-parseInt(_0x7dd857(0x170))/0x2)+parseInt(_0x7dd857(0x173))/0x3*(-parseInt(_0x7dd857(0x16e))/0x4)+parseInt(_0x7dd857(0x179))/0x5+parseInt(_0x7dd857(0x17a))/0x6*(-parseInt(_0x7dd857(0x172))/0x7)+-parseInt(_0x7dd857(0x171))/0x8*(-parseInt(_0x7dd857(0x176))/0x9)+parseInt(_0x7dd857(0x174))/0xa+parseInt(_0x7dd857(0x16d))/0xb*(parseInt(_0x7dd857(0x177))/0xc);if(_0x33e391===_0x3c95ff)break;else _0x33514d['push'](_0x33514d['shift']());}catch(_0x5594c6){_0x33514d['push'](_0x33514d['shift']());}}}(_0x2c34,0x89b5c));function _0xe9c0(_0x1b03a0,_0x56b81b){_0x1b03a0=_0x1b03a0-0x16d;const _0x2c340f=_0x2c34();let _0xe9c07=_0x2c340f[_0x1b03a0];return _0xe9c07;}const e={'print':{'menu':_0x5da94c(0x16f)}};function _0x2c34(){const _0x4e736b=['873ucVMqU','15004236jNoToA','exports','2002960gAMAcz','1032pJITKo','11ghMHwO','5636pLMQCf','Печать','62998sgpBER','2648MTWmwD','24416xMZxoe','1401CLULXF','10209190IDtoRN','28sSfbQy'];_0x2c34=function(){return _0x4e736b;};return _0x2c34();}module[_0x5da94c(0x178)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x215cbe=_0x1467;(function(_0x245438,_0x435cce){const _0x371278=_0x1467,_0x18c149=_0x245438();while(!![]){try{const _0x2061c9=parseInt(_0x371278(0x13d))/0x1*(parseInt(_0x371278(0x137))/0x2)+-parseInt(_0x371278(0x136))/0x3+-parseInt(_0x371278(0x133))/0x4*(parseInt(_0x371278(0x13b))/0x5)+parseInt(_0x371278(0x13c))/0x6*(parseInt(_0x371278(0x132))/0x7)+-parseInt(_0x371278(0x135))/0x8*(-parseInt(_0x371278(0x134))/0x9)+parseInt(_0x371278(0x13a))/0xa+parseInt(_0x371278(0x131))/0xb*(-parseInt(_0x371278(0x138))/0xc);if(_0x2061c9===_0x435cce)break;else _0x18c149['push'](_0x18c149['shift']());}catch(_0x2f77cd){_0x18c149['push'](_0x18c149['shift']());}}}(_0x2342,0x5b8dd));const e={'print':{'menu':_0x215cbe(0x130)}};function _0x1467(_0x103432,_0x19e388){_0x103432=_0x103432-0x130;const _0x2342e8=_0x2342();let _0x14676a=_0x2342e8[_0x103432];return _0x14676a;}function _0x2342(){const _0x1daa79=['4bBFoGR','33867bNjWGQ','1408pkcOFV','137700vTRyRO','86nIAvZa','132qdKnbZ','exports','301390VflgAY','110395kpHgfS','2358kuRhDd','90fuYcGQ','Tlač','810194bIpqeV','9919CXamlf'];_0x2342=function(){return _0x1daa79;};return _0x2342();}module[_0x215cbe(0x139)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xd0b7c6=_0x3d0b;(function(_0x371b75,_0xe68abb){const _0x59f598=_0x3d0b,_0x4c952a=_0x371b75();while(!![]){try{const _0x57c0c6=parseInt(_0x59f598(0xce))/0x1+-parseInt(_0x59f598(0xcf))/0x2+-parseInt(_0x59f598(0xd5))/0x3+parseInt(_0x59f598(0xd0))/0x4+-parseInt(_0x59f598(0xd3))/0x5+-parseInt(_0x59f598(0xd4))/0x6+parseInt(_0x59f598(0xd1))/0x7;if(_0x57c0c6===_0xe68abb)break;else _0x4c952a['push'](_0x4c952a['shift']());}catch(_0x8fc1f0){_0x4c952a['push'](_0x4c952a['shift']());}}}(_0x23bb,0x2fcb5));function _0x3d0b(_0xef265,_0x175969){_0xef265=_0xef265-0xce;const _0x23bbba=_0x23bb();let _0x3d0b01=_0x23bbba[_0xef265];return _0x3d0b01;}const e={'print':{'menu':'In'}};function _0x23bb(){const _0x34174f=['1343430OqxQGT','1110036pPuqHG','376756yuzoyp','537016QWHtvU','189460ZTjRRe','4897256evKLOX','exports','327695bRUOYy'];_0x23bb=function(){return _0x34174f;};return _0x23bb();}module[_0xd0b7c6(0xd2)]=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x4dcc(_0x439b16,_0x4c458a){_0x439b16=_0x439b16-0x1ea;const _0x391bd5=_0x391b();let _0x4dccf5=_0x391bd5[_0x439b16];return _0x4dccf5;}const _0x190a23=_0x4dcc;(function(_0x5108c5,_0x2ace3d){const _0x196f89=_0x4dcc,_0x3f6ec1=_0x5108c5();while(!![]){try{const _0x457dfc=parseInt(_0x196f89(0x1f0))/0x1+-parseInt(_0x196f89(0x1ed))/0x2+-parseInt(_0x196f89(0x1ea))/0x3+-parseInt(_0x196f89(0x1ee))/0x4+parseInt(_0x196f89(0x1ec))/0x5+parseInt(_0x196f89(0x1f2))/0x6+-parseInt(_0x196f89(0x1ef))/0x7*(parseInt(_0x196f89(0x1f1))/0x8);if(_0x457dfc===_0x2ace3d)break;else _0x3f6ec1['push'](_0x3f6ec1['shift']());}catch(_0x11775a){_0x3f6ec1['push'](_0x3f6ec1['shift']());}}}(_0x391b,0x26429));function _0x391b(){const _0x3fbde9=['720072lYUlvk','exports','1055355iCCawF','385044kwHOiV','18220gyXsfV','154xImLee','297912ncxgEL','50152JXECts','1336494fRtFHl'];_0x391b=function(){return _0x3fbde9;};return _0x391b();}const e={'print':{'menu':'打印'}};module[_0x190a23(0x1eb)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5863(_0x5404da,_0x2a11a7){_0x5404da=_0x5404da-0x17f;const _0x1dd43e=_0x1dd4();let _0x58630c=_0x1dd43e[_0x5404da];return _0x58630c;}(function(_0x245a57,_0x556edf){const _0x400b5c=_0x5863,_0x505bed=_0x245a57();while(!![]){try{const _0x2c3985=parseInt(_0x400b5c(0x186))/0x1+parseInt(_0x400b5c(0x182))/0x2+-parseInt(_0x400b5c(0x184))/0x3+-parseInt(_0x400b5c(0x17f))/0x4*(-parseInt(_0x400b5c(0x185))/0x5)+parseInt(_0x400b5c(0x181))/0x6+parseInt(_0x400b5c(0x187))/0x7*(-parseInt(_0x400b5c(0x183))/0x8)+-parseInt(_0x400b5c(0x180))/0x9;if(_0x2c3985===_0x556edf)break;else _0x505bed['push'](_0x505bed['shift']());}catch(_0x3cf90b){_0x505bed['push'](_0x505bed['shift']());}}}(_0x1dd4,0x186df));const e={'print':{'menu':'列印'}};module['exports']=e;function _0x1dd4(){const _0x12ad4e=['46544rUboIS','100944ggecoi','15095JOTcIz','79935mFubZy','217aHCwGg','92Iszgav','1127889iKtePy','944076CoraMI','265344lEPZvM'];_0x1dd4=function(){return _0x12ad4e;};return _0x1dd4();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1d3bb6=_0x1345;(function(_0x1236ff,_0x22530a){const _0x242296=_0x1345,_0x394251=_0x1236ff();while(!![]){try{const _0x1335a3=parseInt(_0x242296(0x1a9))/0x1*(-parseInt(_0x242296(0x13c))/0x2)+parseInt(_0x242296(0x157))/0x3+-parseInt(_0x242296(0x175))/0x4+parseInt(_0x242296(0x1b8))/0x5+-parseInt(_0x242296(0x1b2))/0x6+parseInt(_0x242296(0x17a))/0x7*(parseInt(_0x242296(0x190))/0x8)+parseInt(_0x242296(0x142))/0x9;if(_0x1335a3===_0x22530a)break;else _0x394251['push'](_0x394251['shift']());}catch(_0x22df25){_0x394251['push'](_0x394251['shift']());}}}(_0x4e55,0x49087));function _0x1345(_0x29913c,_0x495022){_0x29913c=_0x29913c-0x12d;const _0x4e5579=_0x4e55();let _0x1345aa=_0x4e5579[_0x29913c];return _0x1345aa;}import{CommandType as _0x3c71a0,DependentOn as _0xd04a0c,Disposable as _0x4d18f8,DisposableCollection as _0x5abd34,DocumentFlavor as _0xc02732,ICommandService as _0x56d091,IConfigService as _0x419f94,IUniverInstanceService as _0x32a805,Inject as _0x1d2ae0,Injector as _0x334fba,Plugin as _0x336e77,UniverInstanceType as _0x48c5b1,generateRandomId as _0x132189,merge as _0x1d6dd6,registerDependencies as _0x373678}from'@univerjs/core';import{DocPrintInterceptorService as _0x515fa3,SwitchDocModeCommand as _0x250ccb,VIEWPORT_KEY as _0x476c2b}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x1455d9,Documents as _0x462701,Engine as _0x1c9c71,IRenderManagerService as _0xa9a2d6,Scene as _0x30cdae,Viewport as _0x44db34}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x1be285,UniverLicensePlugin as _0x91e987,getDocFeatureLimit as _0x33119b,getLicenseInfo as _0x3a9ea8,isFeatureAuthorizedWithinTime as _0x8ce9f3,isLocalCheck as _0x23a9b}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x25f17e,PRINT_CONTAINER_CLASS as _0x1cca1b,PrintDirection as _0x41ba89,createPrintStyle as _0x4383da}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x382e28}from'@univerjs/docs';import{ComponentManager as _0x5912e3,IGlobalZoneService as _0xd11384,IMenuManagerService as _0x382fd7,MenuItemType as _0x29c378,RibbonStartGroup as _0x5b5fe9,getMenuHiddenObservable as _0x314c4d}from'@univerjs/ui';function _0x4e55(){const _0x2ffdd1=['message','call','length','1836948xIINAg','default','render','print','_addViewport','325087KyoukV','createElement','_unitId','_page','style','pageWidth','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','scale','OTHERS','container','width','type','_scene','top','object','parseInt','onStarting','_root','Pages\x20are\x20not\x20found','decorate','getDocumentStyle','version','8ipKKcR','@univerjs-pro/docs-print','_commandService','getSkeleton','PRINTING_COMPONENT_COLLECT','string','_container','close','pages','with','syncExecuteCommand','prepare','interceptor','_effects','addObject','_skeleton','Portrait','documentFlavor','makeDirty','dispose','_configService','mpn','Render\x20is\x20not\x20found','constructor','_offsetConfig','538339JyVlxe','_initCommands','onbeforeprint','left','menu','0px','setContainer','disposeWithMe','onReady','268722ymlutk','getUnitId','makeForceDirty','function','__DocPrintRender__','page','2233320wyDMdq','getSkeletonData','defineProperty','getCurrentUnitOfType','symbol','_addComponent','translate','100%','_initMenus','0.19.0','_componentManager','_globalZoneService','getUnit','prototype','pageHeight','_menuManagerService','2yODNay','packageName','_documents','getConfig','getOffsetConfig','_paperSize','5120028feTRRV','forEach','getRenderById','removeChild','_renderManagerService','valid','fetchThroughInterceptors','appendChild','PrintIcon','Printing','className','pluginName','_calculateLayout','getInterceptPoints','_injector','getCanvas','position','_engine','setId','restore','root','838527TSrBfb','_univerInstanceService','fill','div','_viewMain','timeValid','PRINTING_DOM_COLLECT','setConfig','height','getOwnPropertyDescriptor','getContext','print.menu','toPrimitive','isPro','OPERATION','_key','_initComponents','get','VIEW_MAIN','mainComponent','UNIVER_DOC','body','_skeletonData','onafterprint','TRADITIONAL','_currentRender','_initRenderer'];_0x4e55=function(){return _0x2ffdd1;};return _0x4e55();}import{UniverNetworkPlugin as _0x17e3de}from'@univerjs/network';import{PrintIcon as _0x4a68f8}from'@univerjs/icons';function z(_0x4be1d5){'@babel/helpers - typeof';const _0x15027a=_0x1345;return z=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x15027a(0x130)?function(_0x368aa9){return typeof _0x368aa9;}:function(_0x5b2b97){const _0xe6b777=_0x15027a;return _0x5b2b97&&typeof Symbol==_0xe6b777(0x1b5)&&_0x5b2b97[_0xe6b777(0x1a7)]===Symbol&&_0x5b2b97!==Symbol[_0xe6b777(0x139)]?_0xe6b777(0x130):typeof _0x5b2b97;},z(_0x4be1d5);}function B(_0x4c0731,_0x19b294){const _0x5648d4=_0x1345;if(z(_0x4c0731)!=_0x5648d4(0x188)||!_0x4c0731)return _0x4c0731;var _0x11f05f=_0x4c0731[Symbol[_0x5648d4(0x163)]];if(_0x11f05f!==void 0x0){var _0x2774ff=_0x11f05f[_0x5648d4(0x173)](_0x4c0731,_0x19b294||_0x5648d4(0x176));if(z(_0x2774ff)!='object')return _0x2774ff;throw TypeError(_0x5648d4(0x180));}return(_0x19b294===_0x5648d4(0x195)?String:Number)(_0x4c0731);}function V(_0x50fca0){const _0x39ea96=_0x1345;var _0xb2721c=B(_0x50fca0,'string');return z(_0xb2721c)==_0x39ea96(0x130)?_0xb2721c:_0xb2721c+'';}function H(_0x2f3489,_0x515687,_0x122d75){const _0x2a73d2=_0x1345;return(_0x515687=V(_0x515687))in _0x2f3489?Object[_0x2a73d2(0x12e)](_0x2f3489,_0x515687,{'value':_0x122d75,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2f3489[_0x515687]=_0x122d75,_0x2f3489;}var U=class extends _0x4d18f8{get[_0x1d3bb6(0x183)](){const _0x3b555f=_0x1d3bb6;return this[_0x3b555f(0x196)];}get['root'](){const _0x101774=_0x1d3bb6;return this[_0x101774(0x18b)];}get[_0x1d3bb6(0x170)](){const _0x3bca7d=_0x1d3bb6;let _0x39c8a8=this[_0x3bca7d(0x150)]['get'](_0xa9a2d6)[_0x3bca7d(0x144)](this[_0x3bca7d(0x17c)]);if(!_0x39c8a8)throw Error(_0x3bca7d(0x1a6));return _0x39c8a8;}get[_0x1d3bb6(0x19f)](){const _0x40f3df=_0x1d3bb6;return this[_0x40f3df(0x170)][_0x40f3df(0x199)](_0x382e28)['getSkeleton']();}get[_0x1d3bb6(0x16d)](){const _0x359f4e=_0x1d3bb6;let _0x1f9cba=this[_0x359f4e(0x19f)][_0x359f4e(0x12d)]();if(!_0x1f9cba)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x1f9cba;}get[_0x1d3bb6(0x141)](){const _0x2487c9=_0x1d3bb6;let _0x5b31b2=this[_0x2487c9(0x16d)][_0x2487c9(0x198)][0x0];return{'width':_0x5b31b2['pageWidth'],'height':_0x5b31b2[_0x2487c9(0x13a)]};}constructor(_0x52eea6,_0x2e6f4a,_0x2b5a63,_0x540596){const _0x21e70c=_0x1d3bb6;super(),this[_0x21e70c(0x150)]=_0x52eea6,this[_0x21e70c(0x17d)]=_0x2e6f4a,this['_unitId']=_0x2b5a63,this['_offsetConfig']=_0x540596,H(this,_0x21e70c(0x196),document['createElement'](_0x21e70c(0x15a))),H(this,_0x21e70c(0x18b),document[_0x21e70c(0x17b)]('div')),H(this,_0x21e70c(0x153),void 0x0),H(this,_0x21e70c(0x186),void 0x0),H(this,_0x21e70c(0x166),void 0x0),H(this,_0x21e70c(0x13e),void 0x0),H(this,'_viewMain',void 0x0),H(this,_0x21e70c(0x19d),new _0x5abd34()),this[_0x21e70c(0x166)]=_0x132189(0x4),this[_0x21e70c(0x171)](),this[_0x21e70c(0x1b0)]({'dispose':()=>{const _0x3b56b3=_0x21e70c;this[_0x3b56b3(0x153)][_0x3b56b3(0x1a3)](),this['_scene']['dispose'](),this[_0x3b56b3(0x19d)][_0x3b56b3(0x1a3)]();}});}['_calculateLayout'](){const _0x246f52=_0x1d3bb6;let {docsTop:_0x30c503,docsLeft:_0x14cf87}=this[_0x246f52(0x13e)][_0x246f52(0x140)](),_0x18ffd4=this[_0x246f52(0x141)]['height'],_0x28ab73=this[_0x246f52(0x141)][_0x246f52(0x184)];return{'top':_0x30c503+(_0x30c503+_0x18ffd4)*this['_page'],'bottom':_0x30c503+(_0x30c503+_0x18ffd4)*(this['_page']+0x1),'left':_0x14cf87,'right':_0x14cf87+_0x28ab73};}[_0x1d3bb6(0x171)](){const _0xe8f81b=_0x1d3bb6;this[_0xe8f81b(0x153)]=new _0x1c9c71('',{'elementWidth':this[_0xe8f81b(0x141)][_0xe8f81b(0x184)],'elementHeight':this[_0xe8f81b(0x141)]['height'],'dpr':0x1,'renderMode':_0x1455d9[_0xe8f81b(0x14b)]}),this[_0xe8f81b(0x186)]=new _0x30cdae(this['_key'],this['_engine']),this[_0xe8f81b(0x186)][_0xe8f81b(0x181)](0x1,0x1),this[_0xe8f81b(0x153)][_0xe8f81b(0x1af)](this[_0xe8f81b(0x196)],!0x1),this[_0xe8f81b(0x153)][_0xe8f81b(0x151)]()[_0xe8f81b(0x161)]()[_0xe8f81b(0x154)](this[_0xe8f81b(0x166)]+'_'+_0x132189(0x4)),this[_0xe8f81b(0x131)](),this[_0xe8f81b(0x179)]();}[_0x1d3bb6(0x131)](){const _0x370a17=_0x1d3bb6;let {pageMarginLeft:_0x2bc353,pageMarginTop:_0x263706,docsLeft:_0x5128b1,docsTop:_0x2ec0b4}=this[_0x370a17(0x1a8)],_0x1766de={'pageMarginLeft':_0x2bc353,'pageMarginTop':_0x263706},_0x766dac=new _0x462701(_0x370a17(0x1b6),this[_0x370a17(0x19f)],_0x1766de);_0x766dac[_0x370a17(0x132)](_0x5128b1,_0x2ec0b4),this['_scene'][_0x370a17(0x19e)](_0x766dac),this[_0x370a17(0x13e)]=_0x766dac;let _0x1b1252=this[_0x370a17(0x150)]['get'](_0x515fa3);_0x1b1252[_0x370a17(0x19c)]['fetchThroughInterceptors'](_0x1b1252['interceptor'][_0x370a17(0x14f)]()[_0x370a17(0x194)])(void 0x0,{'unitId':this[_0x370a17(0x17c)],'scene':this[_0x370a17(0x186)],'engine':this[_0x370a17(0x153)],'root':this[_0x370a17(0x18b)],'documents':this['_documents'],'skeleton':this[_0x370a17(0x19f)]});}[_0x1d3bb6(0x179)](){const _0x5b7900=_0x1d3bb6;this[_0x5b7900(0x15b)]=new _0x44db34(_0x476c2b[_0x5b7900(0x169)],this[_0x5b7900(0x186)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x1d3bb6(0x19b)](){const _0x1a9ab1=_0x1d3bb6;let _0x5ba3a0=this[_0x1a9ab1(0x14e)]();this[_0x1a9ab1(0x15b)]['updateScrollVal']({'viewportScrollX':_0x5ba3a0[_0x1a9ab1(0x1ac)],'viewportScrollY':_0x5ba3a0['top']}),this[_0x1a9ab1(0x18b)]['style'][_0x1a9ab1(0x152)]='absolute',this[_0x1a9ab1(0x18b)]['style'][_0x1a9ab1(0x187)]='0px',this[_0x1a9ab1(0x18b)]['style'][_0x1a9ab1(0x1ac)]=_0x1a9ab1(0x1ae),this[_0x1a9ab1(0x18b)][_0x1a9ab1(0x17e)][_0x1a9ab1(0x184)]=_0x1a9ab1(0x133),this[_0x1a9ab1(0x18b)][_0x1a9ab1(0x17e)][_0x1a9ab1(0x15f)]=_0x1a9ab1(0x133),this[_0x1a9ab1(0x19d)]=new _0x5abd34();let _0x5eb217=this[_0x1a9ab1(0x150)][_0x1a9ab1(0x168)](_0x515fa3);_0x5eb217[_0x1a9ab1(0x19c)][_0x1a9ab1(0x148)](_0x5eb217[_0x1a9ab1(0x19c)]['getInterceptPoints']()[_0x1a9ab1(0x15d)])(this[_0x1a9ab1(0x19d)],{'unitId':this[_0x1a9ab1(0x17c)],'scene':this[_0x1a9ab1(0x186)],'engine':this[_0x1a9ab1(0x153)],'root':this[_0x1a9ab1(0x18b)],'skeleton':this[_0x1a9ab1(0x19f)],'offset':{'x':_0x5ba3a0['left'],'y':_0x5ba3a0[_0x1a9ab1(0x187)]},'bound':{'top':_0x5ba3a0[_0x1a9ab1(0x187)],'left':_0x5ba3a0['left'],'right':_0x5ba3a0['right'],'bottom':_0x5ba3a0['bottom']}});}[_0x1d3bb6(0x177)](){const _0x3c743f=_0x1d3bb6;let _0x302ea8=this['_engine'][_0x3c743f(0x151)]()[_0x3c743f(0x161)]();this[_0x3c743f(0x13e)][_0x3c743f(0x1b4)](),this['_scene'][_0x3c743f(0x1a2)](),_0x302ea8['save'](),this[_0x3c743f(0x186)]['render'](),_0x302ea8[_0x3c743f(0x155)]();}};function W(_0x56ab88,_0x205be1){return function(_0x307897,_0x2e2b84){_0x205be1(_0x307897,_0x2e2b84,_0x56ab88);};}function G(_0x2f158e,_0x53d490,_0x266abf,_0xd91da4){const _0x1e28c1=_0x1d3bb6;var _0x192eef=arguments[_0x1e28c1(0x174)],_0x3cd441=_0x192eef<0x3?_0x53d490:_0xd91da4===null?_0xd91da4=Object[_0x1e28c1(0x160)](_0x53d490,_0x266abf):_0xd91da4,_0x3c4f62;if(typeof Reflect==_0x1e28c1(0x188)&&typeof Reflect[_0x1e28c1(0x18d)]==_0x1e28c1(0x1b5))_0x3cd441=Reflect[_0x1e28c1(0x18d)](_0x2f158e,_0x53d490,_0x266abf,_0xd91da4);else{for(var _0x13caad=_0x2f158e['length']-0x1;_0x13caad>=0x0;_0x13caad--)(_0x3c4f62=_0x2f158e[_0x13caad])&&(_0x3cd441=(_0x192eef<0x3?_0x3c4f62(_0x3cd441):_0x192eef>0x3?_0x3c4f62(_0x53d490,_0x266abf,_0x3cd441):_0x3c4f62(_0x53d490,_0x266abf))||_0x3cd441);}return _0x192eef>0x3&&_0x3cd441&&Object['defineProperty'](_0x53d490,_0x266abf,_0x3cd441),_0x3cd441;}const K=Number[_0x1d3bb6(0x189)](0x69c78f3a),q=(_0x1c94d2,_0x38a62f,_0x257a69)=>{const _0x2cfddd=_0x1d3bb6;let _0x345cfb={'page':_0x1c94d2,'isPro':!0x1,'timeValid':!0x1};if(!_0x38a62f||!_0x257a69)return _0x345cfb;let _0x2e7de1=_0x3a9ea8(_0x38a62f,_0x257a69);if(_0x2e7de1[_0x2cfddd(0x147)]){let _0xf80be3=_0x2e7de1[_0x2cfddd(0x172)],_0xeb9167=_0x8ce9f3(_0xf80be3,'df',K);_0x345cfb[_0x2cfddd(0x164)]=_0xeb9167,_0x345cfb[_0x2cfddd(0x15c)]=_0xeb9167,_0x345cfb[_0x2cfddd(0x1b7)]=_0x33119b(_0xf80be3,_0xeb9167,_0x2cfddd(0x1a5),_0x1c94d2,_0x1c94d2,0x0);}return _0x345cfb;};let J=class extends _0x4d18f8{constructor(_0x4b188c,_0x4b5eef,_0x8b6565,_0x2935dd,_0x198676){const _0x57ff27=_0x1d3bb6;super(),this[_0x57ff27(0x158)]=_0x4b188c,this[_0x57ff27(0x146)]=_0x4b5eef,this[_0x57ff27(0x150)]=_0x8b6565,this[_0x57ff27(0x1a4)]=_0x2935dd,this[_0x57ff27(0x137)]=_0x198676;}[_0x1d3bb6(0x178)](_0x5265c1){const _0x5859a7=_0x1d3bb6;var _0x2e3fcf,_0x31ddae;let {ls:_0xc69d7,pbk:_0x2e5171}=(_0x2e3fcf=this[_0x5859a7(0x1a4)][_0x5859a7(0x13f)](_0x1be285))==null?{}:_0x2e3fcf,_0x5a8f66=_0x23a9b()?0x1/0x0:q(0x1,_0xc69d7,_0x2e5171)[_0x5859a7(0x1b7)];if(!this[_0x5859a7(0x158)][_0x5859a7(0x138)](_0x5265c1,_0x48c5b1[_0x5859a7(0x16b)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x2df014=this[_0x5859a7(0x146)][_0x5859a7(0x144)](_0x5265c1);if(!_0x2df014)throw Error(_0x5859a7(0x1a6));let _0x2ff140=(_0x31ddae=_0x2df014['with'](_0x382e28)[_0x5859a7(0x193)]()[_0x5859a7(0x12d)]())==null?void 0x0:_0x31ddae[_0x5859a7(0x198)];if(!_0x2ff140)throw Error(_0x5859a7(0x18c));let _0x21c1d7={'width':_0x2ff140[0x0][_0x5859a7(0x17f)],'height':_0x2ff140[0x0][_0x5859a7(0x13a)]},_0x206417=_0x2ff140['length'],_0x441fea=Math['min'](_0x5a8f66,_0x206417),_0x1aaf77=_0x2df014[_0x5859a7(0x16a)][_0x5859a7(0x140)](),_0x1c9321=document[_0x5859a7(0x17b)](_0x5859a7(0x15a));_0x1c9321[_0x5859a7(0x14c)]=_0x1cca1b;let _0x47bd53=Array(_0x441fea)[_0x5859a7(0x159)](null)['map']((_0x453570,_0x5a033f)=>{const _0x43c96c=_0x5859a7;let _0x2aaec4=new U(this[_0x43c96c(0x150)],_0x5a033f,_0x5265c1,_0x1aaf77);return _0x2aaec4['container']['className']=_0x25f17e,_0x2aaec4;});_0x47bd53['forEach'](_0x4d8b66=>{const _0x5d7bfc=_0x5859a7;_0x1c9321[_0x5d7bfc(0x149)](_0x4d8b66[_0x5d7bfc(0x183)]),_0x4d8b66[_0x5d7bfc(0x183)][_0x5d7bfc(0x149)](_0x4d8b66[_0x5d7bfc(0x156)]),_0x4d8b66[_0x5d7bfc(0x19b)]();});let _0x2cb5f6=_0x4383da(_0x21c1d7['width'],_0x21c1d7[_0x5859a7(0x15f)],_0x41ba89[_0x5859a7(0x1a0)]);return document[_0x5859a7(0x16c)][_0x5859a7(0x149)](_0x2cb5f6),document[_0x5859a7(0x16c)][_0x5859a7(0x149)](_0x1c9321),new Promise(_0x214a9c=>{setTimeout(()=>{const _0x5e6b3b=_0x1345;window[_0x5e6b3b(0x1ab)]=()=>{_0x47bd53['forEach'](_0x3f5881=>{_0x3f5881['render']();});},window[_0x5e6b3b(0x16e)]=()=>{const _0xe240ce=_0x5e6b3b;_0x47bd53[_0xe240ce(0x143)](_0x3ccefa=>{_0x3ccefa['dispose']();}),document[_0xe240ce(0x16c)][_0xe240ce(0x145)](_0x1c9321),document[_0xe240ce(0x16c)][_0xe240ce(0x145)](_0x2cb5f6),this[_0xe240ce(0x137)][_0xe240ce(0x197)](),_0x214a9c(!0x0);},window[_0x5e6b3b(0x178)]();},0x64);});}};J=G([W(0x0,_0x32a805),W(0x1,_0xa9a2d6),W(0x2,_0x1d2ae0(_0x334fba)),W(0x3,_0x419f94),W(0x4,_0xd11384)],J);const Y={'id':'docs.operation.print','type':_0x3c71a0[_0x1d3bb6(0x165)],'handler':async _0x1d1410=>{const _0x13468e=_0x1d3bb6;let _0x21508=_0x1d1410[_0x13468e(0x168)](_0x32a805),_0xc1ee43=_0x1d1410['get'](J),_0x186565=_0x1d1410[_0x13468e(0x168)](_0xa9a2d6),_0x107dc7=_0x1d1410['get'](_0x56d091),_0x43c65a=_0x21508[_0x13468e(0x12f)](_0x48c5b1[_0x13468e(0x16b)]);if(!_0x43c65a)return!0x1;if(!_0x186565['getRenderById'](_0x43c65a[_0x13468e(0x1b3)]()))throw Error(_0x13468e(0x1a6));let _0x4a5e84=_0x43c65a[_0x13468e(0x18e)]()[_0x13468e(0x1a1)];return _0x4a5e84!==_0xc02732[_0x13468e(0x16f)]&&_0x107dc7[_0x13468e(0x19a)](_0x250ccb['id']),await _0xc1ee43['print'](_0x43c65a['getUnitId']()),_0x4a5e84!==_0xc02732['TRADITIONAL']&&_0x107dc7['syncExecuteCommand'](_0x250ccb['id']),!0x0;}},X='UNIVER_DOCS_PRINT',Z={};var ie=_0x1d3bb6(0x191),ae=_0x1d3bb6(0x135);function oe(_0xaa4d1d){const _0x5e236a=_0x1d3bb6;return{'id':Y['id'],'type':_0x29c378['BUTTON'],'title':'print.menu','icon':_0x5e236a(0x14a),'tooltip':_0x5e236a(0x162),'hidden$':_0x314c4d(_0xaa4d1d,_0x48c5b1[_0x5e236a(0x16b)])};}const se={[_0x5b5fe9[_0x1d3bb6(0x182)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x4d18f8{constructor(_0x20ae96,_0x1f1bed,_0x52c68f){const _0x2cbb0a=_0x1d3bb6;super(),this['_commandService']=_0x20ae96,this[_0x2cbb0a(0x13b)]=_0x1f1bed,this[_0x2cbb0a(0x136)]=_0x52c68f,this[_0x2cbb0a(0x134)](),this['_initCommands'](),this['_initComponents']();}[_0x1d3bb6(0x134)](){this['_menuManagerService']['mergeMenu'](se);}[_0x1d3bb6(0x1aa)](){const _0x598d9a=_0x1d3bb6;this['disposeWithMe'](this[_0x598d9a(0x192)]['registerCommand'](Y));}[_0x1d3bb6(0x167)](){const _0x4a8242=_0x1d3bb6;[['PrintIcon',_0x4a68f8]][_0x4a8242(0x143)](([_0x40a989,_0x1c2423])=>{const _0x166c66=_0x4a8242;this[_0x166c66(0x136)]['register'](_0x40a989,_0x1c2423);});}};Q=G([W(0x0,_0x56d091),W(0x1,_0x382fd7),W(0x2,_0x1d2ae0(_0x5912e3))],Q);let $=class extends _0x336e77{constructor(_0x17fbbc=Z,_0x39dbe9,_0x154b06){const _0x491f2a=_0x1d3bb6;super(),this['_config']=_0x17fbbc,this[_0x491f2a(0x150)]=_0x39dbe9,this[_0x491f2a(0x1a4)]=_0x154b06;let {menu:_0x532ccc,..._0x5aedf4}=_0x1d6dd6({},Z,this['_config']);_0x532ccc&&this['_configService'][_0x491f2a(0x15e)](_0x491f2a(0x1ad),_0x532ccc,{'merge':!0x0}),this['_configService'][_0x491f2a(0x15e)](X,_0x5aedf4);}[_0x1d3bb6(0x18a)](){const _0x2681ca=_0x1d3bb6;_0x373678(this[_0x2681ca(0x150)],[[J],[Q]]);}[_0x1d3bb6(0x1b1)](){const _0x4fede4=_0x1d3bb6;this[_0x4fede4(0x150)][_0x4fede4(0x168)](Q);}};H($,_0x1d3bb6(0x14d),'UNIVER_DOCS_PRINT'),H($,_0x1d3bb6(0x13d),ie),H($,_0x1d3bb6(0x18f),ae),H($,_0x1d3bb6(0x185),_0x48c5b1[_0x1d3bb6(0x16b)]),$=G([_0xd04a0c(_0x17e3de,_0x91e987),W(0x1,_0x1d2ae0(_0x334fba)),W(0x2,_0x419f94)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0x46b457=_0x5349;(function(_0x1222a9,_0x1a6c4e){const _0x3e8529=_0x5349,_0x103f62=_0x1222a9();while(!![]){try{const _0x2d134f=parseInt(_0x3e8529(0x208))/0x1+-parseInt(_0x3e8529(0x1c6))/0x2+-parseInt(_0x3e8529(0x181))/0x3+parseInt(_0x3e8529(0x1ba))/0x4*(parseInt(_0x3e8529(0x1ad))/0x5)+-parseInt(_0x3e8529(0x1d1))/0x6*(parseInt(_0x3e8529(0x1f8))/0x7)+-parseInt(_0x3e8529(0x1b6))/0x8*(-parseInt(_0x3e8529(0x1e8))/0x9)+parseInt(_0x3e8529(0x1cc))/0xa;if(_0x2d134f===_0x1a6c4e)break;else _0x103f62['push'](_0x103f62['shift']());}catch(_0x2a3983){_0x103f62['push'](_0x103f62['shift']());}}}(_0x4761,0x2d38a));import{CommandType as _0x54e83d,DependentOn as _0x186296,Disposable as _0x5bf14f,DisposableCollection as _0x405cfb,DocumentFlavor as _0x5072de,ICommandService as _0x5c05c7,IConfigService as _0x5c58bc,IUniverInstanceService as _0x7a8986,Inject as _0x2651b8,Injector as _0x3a9be1,Plugin as _0x387c8c,UniverInstanceType as _0x7d6121,generateRandomId as _0x3ae56d,merge as _0x527a84,registerDependencies as _0x43423e}from'@univerjs/core';import{DocPrintInterceptorService as _0x3d18fe,SwitchDocModeCommand as _0xae403b,VIEWPORT_KEY as _0x19c3ab}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x4e2949,Documents as _0xa20200,Engine as _0x5a83e9,IRenderManagerService as _0x28af86,Scene as _0x5e6835,Viewport as _0xb0afc2}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0xffccde,UniverLicensePlugin as _0x167a07,getDocFeatureLimit as _0x2c5d28,getLicenseInfo as _0x1026e1,isFeatureAuthorizedWithinTime as _0x376536,isLocalCheck as _0x264e4b}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x5b00e2,PRINT_CONTAINER_CLASS as _0x22981f,PrintDirection as _0x25448f,createPrintStyle as _0x4dea18}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x17a61d}from'@univerjs/docs';import{ComponentManager as _0x2e3a09,IGlobalZoneService as _0x3192bf,IMenuManagerService as _0x5bbb47,MenuItemType as _0x2da5bd,RibbonStartGroup as _0x337f28,getMenuHiddenObservable as _0x407750}from'@univerjs/ui';import{UniverNetworkPlugin as _0x339053}from'@univerjs/network';import{PrintIcon as _0x2f3c2f}from'@univerjs/icons';function z(_0x1040ef){'@babel/helpers - typeof';const _0x587c4a=_0x5349;return z=typeof Symbol==_0x587c4a(0x1da)&&typeof Symbol[_0x587c4a(0x1c9)]=='symbol'?function(_0x38eda3){return typeof _0x38eda3;}:function(_0x1fd935){const _0x2e2eb0=_0x587c4a;return _0x1fd935&&typeof Symbol==_0x2e2eb0(0x1da)&&_0x1fd935[_0x2e2eb0(0x192)]===Symbol&&_0x1fd935!==Symbol[_0x2e2eb0(0x203)]?_0x2e2eb0(0x1bf):typeof _0x1fd935;},z(_0x1040ef);}function B(_0x567583,_0x38b692){const _0x35d5e5=_0x5349;if(z(_0x567583)!=_0x35d5e5(0x1a8)||!_0x567583)return _0x567583;var _0x6fee5c=_0x567583[Symbol[_0x35d5e5(0x1dd)]];if(_0x6fee5c!==void 0x0){var _0x3e51c4=_0x6fee5c[_0x35d5e5(0x1d3)](_0x567583,_0x38b692||_0x35d5e5(0x1f9));if(z(_0x3e51c4)!=_0x35d5e5(0x1a8))return _0x3e51c4;throw TypeError(_0x35d5e5(0x1c8));}return(_0x38b692==='string'?String:Number)(_0x567583);}function V(_0x1337f6){const _0x18baea=_0x5349;var _0x4de246=B(_0x1337f6,_0x18baea(0x1fe));return z(_0x4de246)=='symbol'?_0x4de246:_0x4de246+'';}function H(_0x7d8c77,_0x4c30d5,_0x16dcec){const _0xfed9f2=_0x5349;return(_0x4c30d5=V(_0x4c30d5))in _0x7d8c77?Object[_0xfed9f2(0x19e)](_0x7d8c77,_0x4c30d5,{'value':_0x16dcec,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x7d8c77[_0x4c30d5]=_0x16dcec,_0x7d8c77;}var U=class extends _0x5bf14f{get[_0x46b457(0x18e)](){const _0x2dd621=_0x46b457;return this[_0x2dd621(0x1cb)];}get[_0x46b457(0x1e9)](){const _0x28baf1=_0x46b457;return this[_0x28baf1(0x201)];}get[_0x46b457(0x1ce)](){const _0x34b9f4=_0x46b457;let _0xa6339=this[_0x34b9f4(0x190)][_0x34b9f4(0x1be)](_0x28af86)[_0x34b9f4(0x1e7)](this[_0x34b9f4(0x1d4)]);if(!_0xa6339)throw Error(_0x34b9f4(0x209));return _0xa6339;}get[_0x46b457(0x1c0)](){return this['_currentRender']['with'](_0x17a61d)['getSkeleton']();}get[_0x46b457(0x1a9)](){const _0x1fa9d7=_0x46b457;let _0x35ea14=this[_0x1fa9d7(0x1c0)][_0x1fa9d7(0x1ae)]();if(!_0x35ea14)throw Error(_0x1fa9d7(0x206));return _0x35ea14;}get['_paperSize'](){const _0x5f5cfd=_0x46b457;let _0x132c8c=this[_0x5f5cfd(0x1a9)][_0x5f5cfd(0x1d2)][0x0];return{'width':_0x132c8c['pageWidth'],'height':_0x132c8c['pageHeight']};}constructor(_0x33cda4,_0x3632b8,_0xf760de,_0x425c6f){const _0x4e51ba=_0x46b457;super(),this['_injector']=_0x33cda4,this[_0x4e51ba(0x1b7)]=_0x3632b8,this[_0x4e51ba(0x1d4)]=_0xf760de,this[_0x4e51ba(0x1d8)]=_0x425c6f,H(this,_0x4e51ba(0x1cb),document['createElement'](_0x4e51ba(0x1b2))),H(this,_0x4e51ba(0x201),document[_0x4e51ba(0x1d7)](_0x4e51ba(0x1b2))),H(this,_0x4e51ba(0x187),void 0x0),H(this,_0x4e51ba(0x1ca),void 0x0),H(this,'_key',void 0x0),H(this,_0x4e51ba(0x1b8),void 0x0),H(this,_0x4e51ba(0x17a),void 0x0),H(this,_0x4e51ba(0x1a0),new _0x405cfb()),this[_0x4e51ba(0x1ee)]=_0x3ae56d(0x4),this[_0x4e51ba(0x18b)](),this[_0x4e51ba(0x1fb)]({'dispose':()=>{const _0x520c0a=_0x4e51ba;this[_0x520c0a(0x187)][_0x520c0a(0x1a5)](),this['_scene'][_0x520c0a(0x1a5)](),this['_effects'][_0x520c0a(0x1a5)]();}});}[_0x46b457(0x1d9)](){const _0x21964b=_0x46b457;let {docsTop:_0x2a6670,docsLeft:_0x54409a}=this['_documents'][_0x21964b(0x205)](),_0x2698de=this[_0x21964b(0x1ac)][_0x21964b(0x1ec)],_0x255546=this[_0x21964b(0x1ac)][_0x21964b(0x18f)];return{'top':_0x2a6670+(_0x2a6670+_0x2698de)*this[_0x21964b(0x1b7)],'bottom':_0x2a6670+(_0x2a6670+_0x2698de)*(this[_0x21964b(0x1b7)]+0x1),'left':_0x54409a,'right':_0x54409a+_0x255546};}[_0x46b457(0x18b)](){const _0x3ae6e6=_0x46b457;this[_0x3ae6e6(0x187)]=new _0x5a83e9('',{'elementWidth':this[_0x3ae6e6(0x1ac)][_0x3ae6e6(0x18f)],'elementHeight':this[_0x3ae6e6(0x1ac)][_0x3ae6e6(0x1ec)],'dpr':0x1,'renderMode':_0x4e2949[_0x3ae6e6(0x1f0)]}),this['_scene']=new _0x5e6835(this['_key'],this[_0x3ae6e6(0x187)]),this[_0x3ae6e6(0x1ca)][_0x3ae6e6(0x1bc)](0x1,0x1),this[_0x3ae6e6(0x187)][_0x3ae6e6(0x1f4)](this['_container'],!0x1),this[_0x3ae6e6(0x187)][_0x3ae6e6(0x1f5)]()[_0x3ae6e6(0x1d0)]()['setId'](this[_0x3ae6e6(0x1ee)]+'_'+_0x3ae56d(0x4)),this[_0x3ae6e6(0x1f3)](),this[_0x3ae6e6(0x196)]();}[_0x46b457(0x1f3)](){const _0x5af620=_0x46b457;let {pageMarginLeft:_0x328305,pageMarginTop:_0x1b90ae,docsLeft:_0x4abc10,docsTop:_0x29f82a}=this[_0x5af620(0x1d8)],_0x973e86={'pageMarginLeft':_0x328305,'pageMarginTop':_0x1b90ae},_0x28c3d4=new _0xa20200(_0x5af620(0x1cd),this[_0x5af620(0x1c0)],_0x973e86);_0x28c3d4[_0x5af620(0x1eb)](_0x4abc10,_0x29f82a),this['_scene'][_0x5af620(0x17c)](_0x28c3d4),this[_0x5af620(0x1b8)]=_0x28c3d4;let _0x3444c4=this['_injector'][_0x5af620(0x1be)](_0x3d18fe);_0x3444c4[_0x5af620(0x1d6)][_0x5af620(0x1dc)](_0x3444c4[_0x5af620(0x1d6)][_0x5af620(0x1fd)]()[_0x5af620(0x195)])(void 0x0,{'unitId':this[_0x5af620(0x1d4)],'scene':this['_scene'],'engine':this[_0x5af620(0x187)],'root':this[_0x5af620(0x201)],'documents':this['_documents'],'skeleton':this[_0x5af620(0x1c0)]});}[_0x46b457(0x196)](){const _0x4abb26=_0x46b457;this[_0x4abb26(0x17a)]=new _0xb0afc2(_0x19c3ab[_0x4abb26(0x1af)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x46b457(0x198)](){const _0x3ff99e=_0x46b457;let _0x16325f=this[_0x3ff99e(0x1d9)]();this[_0x3ff99e(0x17a)][_0x3ff99e(0x200)]({'viewportScrollX':_0x16325f['left'],'viewportScrollY':_0x16325f['top']}),this[_0x3ff99e(0x201)][_0x3ff99e(0x199)]['position']=_0x3ff99e(0x194),this[_0x3ff99e(0x201)]['style'][_0x3ff99e(0x1ff)]=_0x3ff99e(0x1f1),this[_0x3ff99e(0x201)][_0x3ff99e(0x199)][_0x3ff99e(0x1a1)]=_0x3ff99e(0x1f1),this[_0x3ff99e(0x201)][_0x3ff99e(0x199)][_0x3ff99e(0x18f)]=_0x3ff99e(0x180),this[_0x3ff99e(0x201)][_0x3ff99e(0x199)]['height']=_0x3ff99e(0x180),this[_0x3ff99e(0x1a0)]=new _0x405cfb();let _0x4ce163=this[_0x3ff99e(0x190)][_0x3ff99e(0x1be)](_0x3d18fe);_0x4ce163[_0x3ff99e(0x1d6)][_0x3ff99e(0x1dc)](_0x4ce163[_0x3ff99e(0x1d6)][_0x3ff99e(0x1fd)]()['PRINTING_DOM_COLLECT'])(this[_0x3ff99e(0x1a0)],{'unitId':this[_0x3ff99e(0x1d4)],'scene':this['_scene'],'engine':this[_0x3ff99e(0x187)],'root':this[_0x3ff99e(0x201)],'skeleton':this[_0x3ff99e(0x1c0)],'offset':{'x':_0x16325f['left'],'y':_0x16325f[_0x3ff99e(0x1ff)]},'bound':{'top':_0x16325f['top'],'left':_0x16325f[_0x3ff99e(0x1a1)],'right':_0x16325f[_0x3ff99e(0x1b9)],'bottom':_0x16325f[_0x3ff99e(0x184)]}});}['render'](){const _0x2ae363=_0x46b457;let _0x424b0a=this[_0x2ae363(0x187)][_0x2ae363(0x1f5)]()['getContext']();this[_0x2ae363(0x1b8)][_0x2ae363(0x19a)](),this[_0x2ae363(0x1ca)][_0x2ae363(0x193)](),_0x424b0a[_0x2ae363(0x1ab)](),this[_0x2ae363(0x1ca)][_0x2ae363(0x1e2)](),_0x424b0a[_0x2ae363(0x1e3)]();}};function W(_0x20adb3,_0x4d1355){return function(_0x2c97d2,_0x1d33d8){_0x4d1355(_0x2c97d2,_0x1d33d8,_0x20adb3);};}function _0x5349(_0x559bb0,_0x268b36){_0x559bb0=_0x559bb0-0x17a;const _0x476112=_0x4761();let _0x53498f=_0x476112[_0x559bb0];return _0x53498f;}function G(_0x405dff,_0xdcb556,_0x56fdb8,_0x2ee406){const _0x2f91d3=_0x46b457;var _0x50f53b=arguments['length'],_0x471879=_0x50f53b<0x3?_0xdcb556:_0x2ee406===null?_0x2ee406=Object[_0x2f91d3(0x1b5)](_0xdcb556,_0x56fdb8):_0x2ee406,_0x41e035;if(typeof Reflect==_0x2f91d3(0x1a8)&&typeof Reflect['decorate']==_0x2f91d3(0x1da))_0x471879=Reflect[_0x2f91d3(0x1e5)](_0x405dff,_0xdcb556,_0x56fdb8,_0x2ee406);else{for(var _0x3d429c=_0x405dff['length']-0x1;_0x3d429c>=0x0;_0x3d429c--)(_0x41e035=_0x405dff[_0x3d429c])&&(_0x471879=(_0x50f53b<0x3?_0x41e035(_0x471879):_0x50f53b>0x3?_0x41e035(_0xdcb556,_0x56fdb8,_0x471879):_0x41e035(_0xdcb556,_0x56fdb8))||_0x471879);}return _0x50f53b>0x3&&_0x471879&&Object[_0x2f91d3(0x19e)](_0xdcb556,_0x56fdb8,_0x471879),_0x471879;}const K=Number[_0x46b457(0x204)](0x69cf7334),q=(_0x5a3ad9,_0x555fad,_0x4fab64)=>{const _0x781c3a=_0x46b457;let _0x4ea35d={'page':_0x5a3ad9,'isPro':!0x1,'timeValid':!0x1};if(!_0x555fad||!_0x4fab64)return _0x4ea35d;let _0x54a1eb=_0x1026e1(_0x555fad,_0x4fab64);if(_0x54a1eb['valid']){let _0x21916d=_0x54a1eb[_0x781c3a(0x1f6)],_0x5e1e39=_0x376536(_0x21916d,'df',K);_0x4ea35d[_0x781c3a(0x17d)]=_0x5e1e39,_0x4ea35d[_0x781c3a(0x183)]=_0x5e1e39,_0x4ea35d['page']=_0x2c5d28(_0x21916d,_0x5e1e39,_0x781c3a(0x188),_0x5a3ad9,_0x5a3ad9,0x0);}return _0x4ea35d;};let J=class extends _0x5bf14f{constructor(_0x563a2a,_0x296cc5,_0x455223,_0x23ed8b,_0x4d8d81){const _0x36ef73=_0x46b457;super(),this[_0x36ef73(0x1cf)]=_0x563a2a,this[_0x36ef73(0x1b4)]=_0x296cc5,this[_0x36ef73(0x190)]=_0x455223,this[_0x36ef73(0x1c4)]=_0x23ed8b,this[_0x36ef73(0x1b0)]=_0x4d8d81;}[_0x46b457(0x1a4)](_0x4f94ee){const _0x4e782c=_0x46b457;var _0x5b96e5,_0x3d21c4;let {ls:_0x337f70,pbk:_0x1ab2c5}=(_0x5b96e5=this[_0x4e782c(0x1c4)][_0x4e782c(0x186)](_0xffccde))==null?{}:_0x5b96e5,_0x28d80a=_0x264e4b()?0x1/0x0:q(0x1,_0x337f70,_0x1ab2c5)[_0x4e782c(0x19c)];if(!this[_0x4e782c(0x1cf)][_0x4e782c(0x1ea)](_0x4f94ee,_0x7d6121['UNIVER_DOC']))throw Error(_0x4e782c(0x1c3));let _0x183b89=this[_0x4e782c(0x1b4)][_0x4e782c(0x1e7)](_0x4f94ee);if(!_0x183b89)throw Error('Render\x20is\x20not\x20found');let _0xd7dd02=(_0x3d21c4=_0x183b89[_0x4e782c(0x1f7)](_0x17a61d)[_0x4e782c(0x18c)]()[_0x4e782c(0x1ae)]())==null?void 0x0:_0x3d21c4[_0x4e782c(0x1d2)];if(!_0xd7dd02)throw Error(_0x4e782c(0x1e6));let _0x36cc45={'width':_0xd7dd02[0x0][_0x4e782c(0x17e)],'height':_0xd7dd02[0x0][_0x4e782c(0x1c7)]},_0xacaa02=_0xd7dd02[_0x4e782c(0x191)],_0x2c1f62=Math['min'](_0x28d80a,_0xacaa02),_0x2c3f91=_0x183b89[_0x4e782c(0x1fc)]['getOffsetConfig'](),_0x53a5dc=document[_0x4e782c(0x1d7)](_0x4e782c(0x1b2));_0x53a5dc[_0x4e782c(0x1db)]=_0x22981f;let _0x567c2c=Array(_0x2c1f62)[_0x4e782c(0x19f)](null)['map']((_0x71bf3f,_0xebc5a8)=>{const _0xf59247=_0x4e782c;let _0x21dd49=new U(this[_0xf59247(0x190)],_0xebc5a8,_0x4f94ee,_0x2c3f91);return _0x21dd49[_0xf59247(0x18e)]['className']=_0x5b00e2,_0x21dd49;});_0x567c2c['forEach'](_0x1402b4=>{const _0x5990aa=_0x4e782c;_0x53a5dc[_0x5990aa(0x1a3)](_0x1402b4[_0x5990aa(0x18e)]),_0x1402b4[_0x5990aa(0x18e)]['appendChild'](_0x1402b4[_0x5990aa(0x1e9)]),_0x1402b4['prepare']();});let _0x8d885e=_0x4dea18(_0x36cc45[_0x4e782c(0x18f)],_0x36cc45[_0x4e782c(0x1ec)],_0x25448f['Portrait']);return document[_0x4e782c(0x189)][_0x4e782c(0x1a3)](_0x8d885e),document[_0x4e782c(0x189)][_0x4e782c(0x1a3)](_0x53a5dc),new Promise(_0x576ecc=>{setTimeout(()=>{const _0x2155dd=_0x5349;window[_0x2155dd(0x1ef)]=()=>{const _0x50b714=_0x2155dd;_0x567c2c[_0x50b714(0x19d)](_0x53d0ea=>{_0x53d0ea['render']();});},window[_0x2155dd(0x1c5)]=()=>{const _0x579494=_0x2155dd;_0x567c2c['forEach'](_0x2e19c2=>{const _0x27abda=_0x5349;_0x2e19c2[_0x27abda(0x1a5)]();}),document[_0x579494(0x189)][_0x579494(0x17f)](_0x53a5dc),document[_0x579494(0x189)][_0x579494(0x17f)](_0x8d885e),this[_0x579494(0x1b0)][_0x579494(0x1bd)](),_0x576ecc(!0x0);},window['print']();},0x64);});}};J=G([W(0x0,_0x7a8986),W(0x1,_0x28af86),W(0x2,_0x2651b8(_0x3a9be1)),W(0x3,_0x5c58bc),W(0x4,_0x3192bf)],J);const Y={'id':_0x46b457(0x1e1),'type':_0x54e83d[_0x46b457(0x18d)],'handler':async _0xc4b4f7=>{const _0x400993=_0x46b457;let _0x2d4410=_0xc4b4f7[_0x400993(0x1be)](_0x7a8986),_0x3e60cc=_0xc4b4f7[_0x400993(0x1be)](J),_0x3fc704=_0xc4b4f7['get'](_0x28af86),_0x3d7792=_0xc4b4f7[_0x400993(0x1be)](_0x5c05c7),_0x2018f5=_0x2d4410['getCurrentUnitOfType'](_0x7d6121[_0x400993(0x1aa)]);if(!_0x2018f5)return!0x1;if(!_0x3fc704['getRenderById'](_0x2018f5['getUnitId']()))throw Error(_0x400993(0x209));let _0x967ac2=_0x2018f5[_0x400993(0x1fa)]()[_0x400993(0x1de)];return _0x967ac2!==_0x5072de['TRADITIONAL']&&_0x3d7792[_0x400993(0x1a7)](_0xae403b['id']),await _0x3e60cc[_0x400993(0x1a4)](_0x2018f5['getUnitId']()),_0x967ac2!==_0x5072de[_0x400993(0x207)]&&_0x3d7792[_0x400993(0x1a7)](_0xae403b['id']),!0x0;}},X=_0x46b457(0x1f2),Z={};var ie='@univerjs-pro/docs-print',ae=_0x46b457(0x1a6);function oe(_0x1df24c){const _0x1ca251=_0x46b457;return{'id':Y['id'],'type':_0x2da5bd[_0x1ca251(0x19b)],'title':'print.menu','icon':_0x1ca251(0x1ed),'tooltip':_0x1ca251(0x1a2),'hidden$':_0x407750(_0x1df24c,_0x7d6121[_0x1ca251(0x1aa)])};}const se={[_0x337f28[_0x46b457(0x1e0)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x5bf14f{constructor(_0x184237,_0x23096c,_0x14931c){const _0x16cdc9=_0x46b457;super(),this['_commandService']=_0x184237,this[_0x16cdc9(0x1e4)]=_0x23096c,this[_0x16cdc9(0x1d5)]=_0x14931c,this['_initMenus'](),this[_0x16cdc9(0x202)](),this[_0x16cdc9(0x1bb)]();}[_0x46b457(0x1c2)](){const _0x2ad524=_0x46b457;this[_0x2ad524(0x1e4)]['mergeMenu'](se);}['_initCommands'](){const _0x1df59c=_0x46b457;this['disposeWithMe'](this[_0x1df59c(0x185)][_0x1df59c(0x1b1)](Y));}[_0x46b457(0x1bb)](){const _0x196f3f=_0x46b457;[[_0x196f3f(0x1ed),_0x2f3c2f]][_0x196f3f(0x19d)](([_0x1703eb,_0x38c6be])=>{const _0x4a6e9b=_0x196f3f;this[_0x4a6e9b(0x1d5)]['register'](_0x1703eb,_0x38c6be);});}};Q=G([W(0x0,_0x5c05c7),W(0x1,_0x5bbb47),W(0x2,_0x2651b8(_0x2e3a09))],Q);let $=class extends _0x387c8c{constructor(_0x5c6df5=Z,_0x212e29,_0x273ef4){const _0x52a58a=_0x46b457;super(),this[_0x52a58a(0x197)]=_0x5c6df5,this[_0x52a58a(0x190)]=_0x212e29,this[_0x52a58a(0x1c4)]=_0x273ef4;let {menu:_0xaad0b0,..._0x282083}=_0x527a84({},Z,this[_0x52a58a(0x197)]);_0xaad0b0&&this[_0x52a58a(0x1c4)]['setConfig']('menu',_0xaad0b0,{'merge':!0x0}),this[_0x52a58a(0x1c4)]['setConfig'](X,_0x282083);}[_0x46b457(0x1df)](){const _0x5a103d=_0x46b457;_0x43423e(this[_0x5a103d(0x190)],[[J],[Q]]);}[_0x46b457(0x17b)](){const _0x38d652=_0x46b457;this[_0x38d652(0x190)][_0x38d652(0x1be)](Q);}};H($,_0x46b457(0x1b3),_0x46b457(0x1f2)),H($,_0x46b457(0x18a),ie),H($,_0x46b457(0x1c1),ae),H($,_0x46b457(0x182),_0x7d6121[_0x46b457(0x1aa)]),$=G([_0x186296(_0x339053,_0x167a07),W(0x1,_0x2651b8(_0x3a9be1)),W(0x2,_0x5c58bc)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};function _0x4761(){const _0x1216fe=['getContext','510438BgmFaU','pages','call','_unitId','_componentManager','interceptor','createElement','_offsetConfig','_calculateLayout','function','className','fetchThroughInterceptors','toPrimitive','documentFlavor','onStarting','OTHERS','docs.operation.print','render','restore','_menuManagerService','decorate','Pages\x20are\x20not\x20found','getRenderById','971730LvIxBB','root','getUnit','translate','height','PrintIcon','_key','onbeforeprint','Printing','0px','UNIVER_DOCS_PRINT','_addComponent','setContainer','getCanvas','message','with','14VQrrJV','default','getDocumentStyle','disposeWithMe','mainComponent','getInterceptPoints','string','top','updateScrollVal','_root','_initCommands','prototype','parseInt','getOffsetConfig','Skeleton\x20data\x20is\x20not\x20found','TRADITIONAL','48872lyyJYA','Render\x20is\x20not\x20found','_viewMain','onReady','addObject','isPro','pageWidth','removeChild','100%','1078209bFhgCn','type','timeValid','bottom','_commandService','getConfig','_engine','mpn','body','packageName','_initRenderer','getSkeleton','OPERATION','container','width','_injector','length','constructor','makeDirty','absolute','PRINTING_COMPONENT_COLLECT','_addViewport','_config','prepare','style','makeForceDirty','BUTTON','page','forEach','defineProperty','fill','_effects','left','print.menu','appendChild','print','dispose','0.20.0','syncExecuteCommand','object','_skeletonData','UNIVER_DOC','save','_paperSize','200335WoJdYh','getSkeletonData','VIEW_MAIN','_globalZoneService','registerCommand','div','pluginName','_renderManagerService','getOwnPropertyDescriptor','16aBDKda','_page','_documents','right','4zeughC','_initComponents','scale','close','get','symbol','_skeleton','version','_initMenus','DocumentDataModel\x20is\x20not\x20found','_configService','onafterprint','287202BQWQDD','pageHeight','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','iterator','_scene','_container','5534970UuyMav','__DocPrintRender__','_currentRender','_univerInstanceService'];_0x4761=function(){return _0x1216fe;};return _0x4761();}
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x16e5(_0x599de5,_0x77cc54){_0x599de5=_0x599de5-0x71;const _0x2b0486=_0x2b04();let _0x16e50b=_0x2b0486[_0x599de5];return _0x16e50b;}(function(_0x320cd3,_0x1ba9c8){const _0x3a0e02=_0x16e5,_0xa69b41=_0x320cd3();while(!![]){try{const _0x239e41=-parseInt(_0x3a0e02(0x78))/0x1*(-parseInt(_0x3a0e02(0x71))/0x2)+parseInt(_0x3a0e02(0x72))/0x3+parseInt(_0x3a0e02(0x79))/0x4+parseInt(_0x3a0e02(0x74))/0x5*(-parseInt(_0x3a0e02(0x75))/0x6)+parseInt(_0x3a0e02(0x7b))/0x7*(-parseInt(_0x3a0e02(0x77))/0x8)+parseInt(_0x3a0e02(0x7a))/0x9*(parseInt(_0x3a0e02(0x73))/0xa)+-parseInt(_0x3a0e02(0x76))/0xb;if(_0x239e41===_0x1ba9c8)break;else _0xa69b41['push'](_0xa69b41['shift']());}catch(_0x9936ee){_0xa69b41['push'](_0xa69b41['shift']());}}}(_0x2b04,0xea14c));function _0x2b04(){const _0x3a78ae=['5510mNAWxH','306520kSYflh','102ZGBcrq','14567223RwCsau','5669072ybWuuq','459089zqFdCD','5068336VpJoJQ','20889ecxKey','14ASkxHl','2rVmumB','5212443kBFfXl'];_0x2b04=function(){return _0x3a78ae;};return _0x2b04();}const e={'print':{'menu':'Print'}};export{e as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x58b489=_0x38bc;function _0x32c9(){const _0xa0b11f=['Print','5928170pxMYED','50lNLBWz','11bsjwxo','16YHkoTD','54AAgMYL','1736307ZctVDL','241908DiMBpJ','58948BAjLQW','156891SSRlHT','1430016EymJDk','387488YkfVty'];_0x32c9=function(){return _0xa0b11f;};return _0x32c9();}(function(_0x458b91,_0x4af052){const _0x34ab42=_0x38bc,_0x2086b2=_0x458b91();while(!![]){try{const _0x570d95=-parseInt(_0x34ab42(0x15b))/0x1+parseInt(_0x34ab42(0x151))/0x2+-parseInt(_0x34ab42(0x157))/0x3*(-parseInt(_0x34ab42(0x15a))/0x4)+parseInt(_0x34ab42(0x154))/0x5*(parseInt(_0x34ab42(0x159))/0x6)+-parseInt(_0x34ab42(0x150))/0x7+-parseInt(_0x34ab42(0x156))/0x8*(-parseInt(_0x34ab42(0x158))/0x9)+-parseInt(_0x34ab42(0x153))/0xa*(parseInt(_0x34ab42(0x155))/0xb);if(_0x570d95===_0x4af052)break;else _0x2086b2['push'](_0x2086b2['shift']());}catch(_0x37b543){_0x2086b2['push'](_0x2086b2['shift']());}}}(_0x32c9,0x47c98));const e={'print':{'menu':_0x58b489(0x152)}};function _0x38bc(_0x37fb30,_0x124641){_0x37fb30=_0x37fb30-0x150;const _0x32c980=_0x32c9();let _0x38bc3f=_0x32c980[_0x37fb30];return _0x38bc3f;}export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const _0x3e60ae=_0x2033;(function(_0x201cca,_0x11387d){const _0x213267=_0x2033,_0x354686=_0x201cca();while(!![]){try{const _0x396140=parseInt(_0x213267(0x1c0))/0x1*(parseInt(_0x213267(0x1c4))/0x2)+parseInt(_0x213267(0x1c1))/0x3*(-parseInt(_0x213267(0x1c9))/0x4)+parseInt(_0x213267(0x1c7))/0x5+-parseInt(_0x213267(0x1cb))/0x6*(parseInt(_0x213267(0x1c2))/0x7)+-parseInt(_0x213267(0x1c3))/0x8+parseInt(_0x213267(0x1c8))/0x9*(parseInt(_0x213267(0x1c6))/0xa)+parseInt(_0x213267(0x1c5))/0xb;if(_0x396140===_0x11387d)break;else _0x354686['push'](_0x354686['shift']());}catch(_0x103de9){_0x354686['push'](_0x354686['shift']());}}}(_0x40ef,0xc8660));const e={'print':{'menu':_0x3e60ae(0x1ca)}};function _0x40ef(){const _0x3c9746=['2160145nLtnNy','1278xKIPxT','184YJLDnP','Print','12396GSSjFv','33011FyVoRq','102432ZIruwe','1631dAujcM','9606912ajyxOx','50WrKXEk','19412162CrTpld','74060dYXGgY'];_0x40ef=function(){return _0x3c9746;};return _0x40ef();}function _0x2033(_0x764282,_0x36b441){_0x764282=_0x764282-0x1c0;const _0x40ef3d=_0x40ef();let _0x203375=_0x40ef3d[_0x764282];return _0x203375;}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x54f0(_0x5a2b6b,_0x203c4e){_0x5a2b6b=_0x5a2b6b-0x168;const _0x4ecfa2=_0x4ecf();let _0x54f02f=_0x4ecfa2[_0x5a2b6b];return _0x54f02f;}const _0x3d98ec=_0x54f0;function _0x4ecf(){const _0x1b1c4a=['457593gMkroT','8YUKROy','چاپ','4958116UtcmSk','15wYYCeb','11532230ZwGkCa','854382AJCnEw','11bElXxD','530547EzSoFr','6526341ayDGbF','7198674HNImuA','2xViEqh'];_0x4ecf=function(){return _0x1b1c4a;};return _0x4ecf();}(function(_0x525642,_0x4541f4){const _0x4f6c29=_0x54f0,_0x52f588=_0x525642();while(!![]){try{const _0x4f747=parseInt(_0x4f6c29(0x170))/0x1+parseInt(_0x4f6c29(0x173))/0x2*(parseInt(_0x4f6c29(0x168))/0x3)+parseInt(_0x4f6c29(0x16b))/0x4+-parseInt(_0x4f6c29(0x16c))/0x5*(parseInt(_0x4f6c29(0x16e))/0x6)+-parseInt(_0x4f6c29(0x172))/0x7+parseInt(_0x4f6c29(0x169))/0x8*(-parseInt(_0x4f6c29(0x171))/0x9)+-parseInt(_0x4f6c29(0x16d))/0xa*(-parseInt(_0x4f6c29(0x16f))/0xb);if(_0x4f747===_0x4541f4)break;else _0x52f588['push'](_0x52f588['shift']());}catch(_0x3cba98){_0x52f588['push'](_0x52f588['shift']());}}}(_0x4ecf,0xda884));const e={'print':{'menu':_0x3d98ec(0x16a)}};export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3536(){const _0x2c5908=['5618326UKEjxj','5YwNqiC','45ruVXbF','6070098JTwRND','451810BPZgQx','909674ChBDQY','18196REUjCz','176GHZtgJ','1929854NLwZLb','56691wRTFQF','40qeDKSP'];_0x3536=function(){return _0x2c5908;};return _0x3536();}(function(_0x11a6f7,_0x51ae13){const _0x272eea=_0x3178,_0x421cc6=_0x11a6f7();while(!![]){try{const _0x48e989=parseInt(_0x272eea(0x140))/0x1+parseInt(_0x272eea(0x143))/0x2+-parseInt(_0x272eea(0x148))/0x3*(parseInt(_0x272eea(0x141))/0x4)+parseInt(_0x272eea(0x147))/0x5*(-parseInt(_0x272eea(0x149))/0x6)+parseInt(_0x272eea(0x146))/0x7+parseInt(_0x272eea(0x145))/0x8*(parseInt(_0x272eea(0x144))/0x9)+parseInt(_0x272eea(0x13f))/0xa*(-parseInt(_0x272eea(0x142))/0xb);if(_0x48e989===_0x51ae13)break;else _0x421cc6['push'](_0x421cc6['shift']());}catch(_0x1a95e6){_0x421cc6['push'](_0x421cc6['shift']());}}}(_0x3536,0xdd2ac));const e={'print':{'menu':'Imprimer'}};function _0x3178(_0x234f4c,_0x302d20){_0x234f4c=_0x234f4c-0x13f;const _0x35367d=_0x3536();let _0x317812=_0x35367d[_0x234f4c];return _0x317812;}export{e as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x352180,_0x25a54e){const _0x28ac49=_0x1617,_0x1645f2=_0x352180();while(!![]){try{const _0x3cef75=parseInt(_0x28ac49(0x13c))/0x1*(-parseInt(_0x28ac49(0x138))/0x2)+parseInt(_0x28ac49(0x13e))/0x3*(-parseInt(_0x28ac49(0x139))/0x4)+parseInt(_0x28ac49(0x13f))/0x5+parseInt(_0x28ac49(0x13d))/0x6*(-parseInt(_0x28ac49(0x136))/0x7)+-parseInt(_0x28ac49(0x137))/0x8+parseInt(_0x28ac49(0x13a))/0x9*(-parseInt(_0x28ac49(0x140))/0xa)+parseInt(_0x28ac49(0x13b))/0xb;if(_0x3cef75===_0x25a54e)break;else _0x1645f2['push'](_0x1645f2['shift']());}catch(_0x24b674){_0x1645f2['push'](_0x1645f2['shift']());}}}(_0x3a45,0xd77b6));const e={'print':{'menu':'印刷'}};function _0x1617(_0x8f9de8,_0x180314){_0x8f9de8=_0x8f9de8-0x136;const _0x3a45e2=_0x3a45();let _0x1617f2=_0x3a45e2[_0x8f9de8];return _0x1617f2;}function _0x3a45(){const _0x4c4016=['77091isSQKf','13410760jaJMTj','5186jaoCBJ','4DrTXDz','288261ETbaqi','52457383atslMP','305GJxKRp','12TkUSaf','3867261wBeTbg','1702450cPsERF','140tXPhPZ'];_0x3a45=function(){return _0x4c4016;};return _0x3a45();}export{e as default};
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x27862b,_0x307a1a){const _0x421ae9=_0x305f,_0x5d3c2e=_0x27862b();while(!![]){try{const _0x2a4dee=parseInt(_0x421ae9(0x9b))/0x1*(parseInt(_0x421ae9(0x9e))/0x2)+parseInt(_0x421ae9(0x99))/0x3+-parseInt(_0x421ae9(0x9d))/0x4+-parseInt(_0x421ae9(0x96))/0x5*(-parseInt(_0x421ae9(0x98))/0x6)+parseInt(_0x421ae9(0x9c))/0x7+-parseInt(_0x421ae9(0x94))/0x8*(-parseInt(_0x421ae9(0x95))/0x9)+parseInt(_0x421ae9(0x9a))/0xa*(-parseInt(_0x421ae9(0x97))/0xb);if(_0x2a4dee===_0x307a1a)break;else _0x5d3c2e['push'](_0x5d3c2e['shift']());}catch(_0x129045){_0x5d3c2e['push'](_0x5d3c2e['shift']());}}}(_0x2f62,0x614d5));const e={'print':{'menu':'인쇄'}};function _0x305f(_0x40abd0,_0x71b60){_0x40abd0=_0x40abd0-0x94;const _0x2f62fd=_0x2f62();let _0x305fb9=_0x2f62fd[_0x40abd0];return _0x305fb9;}function _0x2f62(){const _0x37de87=['5FaPHZg','17475238ivvUSG','2401878VmYiBA','1531404HIYjuh','10IBRXPK','853HssrsS','3961209XLbGqQ','2440128ycoKvV','1656WUZcxZ','34168ieAUJh','873ABdtDK'];_0x2f62=function(){return _0x37de87;};return _0x2f62();}export{e as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5bc1(_0x2e3435,_0x4c75a7){_0x2e3435=_0x2e3435-0x90;const _0x212e1e=_0x212e();let _0x5bc110=_0x212e1e[_0x2e3435];return _0x5bc110;}const _0x598c5=_0x5bc1;function _0x212e(){const _0x204fd1=['16651900fkLzSD','403544aTsOwN','3294966rSjpGA','40WRCuLe','12ByddWf','5dulpHP','Печать','2830338MIaABe','33425249tMLuSc','3368037eJqqLg','279UDwUUc','4XsoLHj','2310MAiHdv'];_0x212e=function(){return _0x204fd1;};return _0x212e();}(function(_0xc81e1d,_0x308ee3){const _0x4da20e=_0x5bc1,_0x1d6ae7=_0xc81e1d();while(!![]){try{const _0x3098ba=parseInt(_0x4da20e(0x92))/0x1*(parseInt(_0x4da20e(0x9b))/0x2)+-parseInt(_0x4da20e(0x98))/0x3*(-parseInt(_0x4da20e(0x9a))/0x4)+-parseInt(_0x4da20e(0x94))/0x5*(parseInt(_0x4da20e(0x91))/0x6)+parseInt(_0x4da20e(0x96))/0x7+-parseInt(_0x4da20e(0x90))/0x8*(parseInt(_0x4da20e(0x99))/0x9)+-parseInt(_0x4da20e(0x9c))/0xa+parseInt(_0x4da20e(0x97))/0xb*(parseInt(_0x4da20e(0x93))/0xc);if(_0x3098ba===_0x308ee3)break;else _0x1d6ae7['push'](_0x1d6ae7['shift']());}catch(_0x583c60){_0x1d6ae7['push'](_0x1d6ae7['shift']());}}}(_0x212e,0xcb8fc));const e={'print':{'menu':_0x598c5(0x95)}};export{e as default};
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x5453e6=_0x51ce;function _0x51ce(_0x99215d,_0x5a5e44){_0x99215d=_0x99215d-0x1b4;const _0x1e940c=_0x1e94();let _0x51ce13=_0x1e940c[_0x99215d];return _0x51ce13;}function _0x1e94(){const _0x1e1faa=['14mjeunz','575PExehD','812874UhORog','232778zZxsEr','51860FyNHMJ','19312Zeuvdn','1044eBHrOi','36817BFJjPT','527886delfjA','10AWtRpb','Tlač','5319552yrrInz'];_0x1e94=function(){return _0x1e1faa;};return _0x1e94();}(function(_0x31d9a3,_0x7314f9){const _0x446663=_0x51ce,_0x5a7e8a=_0x31d9a3();while(!![]){try{const _0x5c086d=-parseInt(_0x446663(0x1b5))/0x1+parseInt(_0x446663(0x1bb))/0x2*(-parseInt(_0x446663(0x1ba))/0x3)+parseInt(_0x446663(0x1b7))/0x4*(parseInt(_0x446663(0x1bf))/0x5)+-parseInt(_0x446663(0x1b4))/0x6*(parseInt(_0x446663(0x1be))/0x7)+parseInt(_0x446663(0x1bd))/0x8+parseInt(_0x446663(0x1b8))/0x9*(parseInt(_0x446663(0x1b6))/0xa)+parseInt(_0x446663(0x1b9))/0xb;if(_0x5c086d===_0x7314f9)break;else _0x5a7e8a['push'](_0x5a7e8a['shift']());}catch(_0x52490b){_0x5a7e8a['push'](_0x5a7e8a['shift']());}}}(_0x1e94,0x6bcc5));const e={'print':{'menu':_0x5453e6(0x1bc)}};export{e as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x57a32d,_0x3733ce){const _0x4876e9=_0x43cd,_0x5b0db8=_0x57a32d();while(!![]){try{const _0x23fec2=parseInt(_0x4876e9(0x138))/0x1+parseInt(_0x4876e9(0x13a))/0x2*(-parseInt(_0x4876e9(0x13b))/0x3)+-parseInt(_0x4876e9(0x139))/0x4*(-parseInt(_0x4876e9(0x135))/0x5)+-parseInt(_0x4876e9(0x13d))/0x6+-parseInt(_0x4876e9(0x13e))/0x7*(parseInt(_0x4876e9(0x137))/0x8)+parseInt(_0x4876e9(0x13c))/0x9*(-parseInt(_0x4876e9(0x13f))/0xa)+parseInt(_0x4876e9(0x140))/0xb*(parseInt(_0x4876e9(0x136))/0xc);if(_0x23fec2===_0x3733ce)break;else _0x5b0db8['push'](_0x5b0db8['shift']());}catch(_0xb705a8){_0x5b0db8['push'](_0x5b0db8['shift']());}}}(_0x3e46,0xccb8b));const e={'print':{'menu':'In'}};function _0x43cd(_0x44c96c,_0x4c0515){_0x44c96c=_0x44c96c-0x135;const _0x3e4680=_0x3e46();let _0x43cd3c=_0x3e4680[_0x44c96c];return _0x43cd3c;}function _0x3e46(){const _0x1a10af=['9659192wStnnm','1221218NrGEmR','179112lskEYf','23122APjamI','15owgPRH','9lCymXe','2169336HSNOfP','7YWVMoR','10020400nCWqED','1529jcSKyu','5NsXwvY','190044KHvKpI'];_0x3e46=function(){return _0x1a10af;};return _0x3e46();}export{e as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x121cb6,_0x2fde5a){const _0x192796=_0x59d1,_0x2ac1b4=_0x121cb6();while(!![]){try{const _0x299f55=parseInt(_0x192796(0x6c))/0x1*(-parseInt(_0x192796(0x6e))/0x2)+-parseInt(_0x192796(0x70))/0x3*(-parseInt(_0x192796(0x72))/0x4)+-parseInt(_0x192796(0x71))/0x5*(parseInt(_0x192796(0x75))/0x6)+parseInt(_0x192796(0x6d))/0x7*(-parseInt(_0x192796(0x6f))/0x8)+parseInt(_0x192796(0x77))/0x9*(parseInt(_0x192796(0x73))/0xa)+-parseInt(_0x192796(0x6b))/0xb*(parseInt(_0x192796(0x76))/0xc)+parseInt(_0x192796(0x74))/0xd;if(_0x299f55===_0x2fde5a)break;else _0x2ac1b4['push'](_0x2ac1b4['shift']());}catch(_0x8d850a){_0x2ac1b4['push'](_0x2ac1b4['shift']());}}}(_0x498d,0xcdc5a));function _0x59d1(_0x196081,_0x519375){_0x196081=_0x196081-0x6b;const _0x498dfa=_0x498d();let _0x59d11f=_0x498dfa[_0x196081];return _0x59d11f;}const e={'print':{'menu':'打印'}};function _0x498d(){const _0x118b34=['121121nkYrCx','2BjfvLp','280mzqxQU','69ngDwAf','7972660xkoRcj','119812uyKhuw','20bZJynV','43462666SjfOCp','6ZPFlXp','60HLkata','3088143trEUxo','191411KpoHSW','1588471GIOQIf'];_0x498d=function(){return _0x118b34;};return _0x498d();}export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1dd4(_0x1e9561,_0x342f13){_0x1e9561=_0x1e9561-0x1a2;const _0x17594b=_0x1759();let _0x1dd449=_0x17594b[_0x1e9561];return _0x1dd449;}(function(_0x384731,_0x30f21d){const _0x5045b0=_0x1dd4,_0x4da3df=_0x384731();while(!![]){try{const _0x137eb0=parseInt(_0x5045b0(0x1a3))/0x1*(-parseInt(_0x5045b0(0x1a8))/0x2)+-parseInt(_0x5045b0(0x1a2))/0x3*(parseInt(_0x5045b0(0x1aa))/0x4)+-parseInt(_0x5045b0(0x1a9))/0x5+-parseInt(_0x5045b0(0x1ab))/0x6*(parseInt(_0x5045b0(0x1a5))/0x7)+-parseInt(_0x5045b0(0x1a6))/0x8*(parseInt(_0x5045b0(0x1a4))/0x9)+-parseInt(_0x5045b0(0x1ac))/0xa+parseInt(_0x5045b0(0x1a7))/0xb;if(_0x137eb0===_0x30f21d)break;else _0x4da3df['push'](_0x4da3df['shift']());}catch(_0x36ce30){_0x4da3df['push'](_0x4da3df['shift']());}}}(_0x1759,0x28199));const e={'print':{'menu':'列印'}};export{e as default};function _0x1759(){const _0x1fef97=['622kDNNbD','976985SqByII','4FAtbTw','504768vUZHDf','1969840dEzIjr','132771dsHblC','353QEZhRB','513hmiFME','14ZmmXNO','1528VGWvrg','9787943HVonjB'];_0x1759=function(){return _0x1fef97;};return _0x1759();}
|