@univerjs-pro/docs-print 0.22.1 → 0.23.0-insiders.20260522-e8f2a3b
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/types/services/doc-print.service.d.ts +1 -3
- 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 +12 -12
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x154bed=_0x3da9;(function(_0x417849,_0x946dd6){const _0x4aaa01=_0x3da9,_0x47d3b3=_0x417849();while(!![]){try{const _0x37d96d=parseInt(_0x4aaa01(0x20b))/0x1*(-parseInt(_0x4aaa01(0x25a))/0x2)+parseInt(_0x4aaa01(0x25d))/0x3+-parseInt(_0x4aaa01(0x24e))/0x4*(parseInt(_0x4aaa01(0x1f6))/0x5)+-parseInt(_0x4aaa01(0x20f))/0x6+parseInt(_0x4aaa01(0x227))/0x7+-parseInt(_0x4aaa01(0x287))/0x8*(-parseInt(_0x4aaa01(0x224))/0x9)+parseInt(_0x4aaa01(0x286))/0xa;if(_0x37d96d===_0x946dd6)break;else _0x47d3b3['push'](_0x47d3b3['shift']());}catch(_0x4c8410){_0x47d3b3['push'](_0x47d3b3['shift']());}}}(_0x55f7,0xd0b18),Object[_0x154bed(0x21b)](exports,Symbol['toStringTag'],{'value':_0x154bed(0x1ff)}));let _univerjs_core=require('@univerjs/core'),_univerjs_docs_ui=require('@univerjs/docs-ui'),_univerjs_engine_render=require('@univerjs/engine-render'),_univerjs_pro_license=require('@univerjs-pro/license'),_univerjs_pro_print=require('@univerjs-pro/print'),_univerjs_docs=require('@univerjs/docs'),_univerjs_ui=require('@univerjs/ui'),_univerjs_network=require('@univerjs/network'),_univerjs_icons=require('@univerjs/icons');function _typeof(_0x4a4601){'@babel/helpers - typeof';const _0x261c88=_0x154bed;return _typeof='function'==typeof Symbol&&'symbol'==typeof Symbol[_0x261c88(0x22f)]?function(_0x1a27d3){return typeof _0x1a27d3;}:function(_0x371d93){const _0x34cfa0=_0x261c88;return _0x371d93&&_0x34cfa0(0x254)==typeof Symbol&&_0x371d93['constructor']===Symbol&&_0x371d93!==Symbol['prototype']?_0x34cfa0(0x267):typeof _0x371d93;},_typeof(_0x4a4601);}function toPrimitive(_0x2f967f,_0x340f4c){const _0xdd246e=_0x154bed;if('object'!=_typeof(_0x2f967f)||!_0x2f967f)return _0x2f967f;var _0x476a7b=_0x2f967f[Symbol[_0xdd246e(0x24d)]];if(void 0x0!==_0x476a7b){var _0x31c5c9=_0x476a7b[_0xdd246e(0x1e2)](_0x2f967f,_0x340f4c||_0xdd246e(0x221));if(_0xdd246e(0x228)!=_typeof(_0x31c5c9))return _0x31c5c9;throw new TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xdd246e(0x1f7)===_0x340f4c?String:Number)(_0x2f967f);}function toPropertyKey(_0x2b6de2){const _0x54a713=_0x154bed;var _0x13839b=toPrimitive(_0x2b6de2,_0x54a713(0x1f7));return _0x54a713(0x267)==_typeof(_0x13839b)?_0x13839b:_0x13839b+'';}function _defineProperty(_0x24ca62,_0x278bc1,_0x234bba){return(_0x278bc1=toPropertyKey(_0x278bc1))in _0x24ca62?Object['defineProperty'](_0x24ca62,_0x278bc1,{'value':_0x234bba,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x24ca62[_0x278bc1]=_0x234bba,_0x24ca62;}var DocPrintPageCanvasView=class extends _univerjs_core['Disposable']{get['container'](){const _0x256cb8=_0x154bed;return this[_0x256cb8(0x284)];}get[_0x154bed(0x23b)](){return this['_root'];}get[_0x154bed(0x251)](){const _0x494f4b=_0x154bed,_0x1c0cd7=this[_0x494f4b(0x1f3)][_0x494f4b(0x252)](_univerjs_engine_render[_0x494f4b(0x218)])[_0x494f4b(0x211)](this['_unitId']);if(!_0x1c0cd7)throw new Error(_0x494f4b(0x229));return _0x1c0cd7;}get[_0x154bed(0x28c)](){const _0x32944b=_0x154bed;return this[_0x32944b(0x251)][_0x32944b(0x21a)](_univerjs_docs[_0x32944b(0x23d)])[_0x32944b(0x1df)]();}get[_0x154bed(0x27f)](){const _0x1a1bc3=_0x154bed,_0x58b905=this[_0x1a1bc3(0x28c)][_0x1a1bc3(0x22a)]();if(!_0x58b905)throw new Error('Skeleton\x20data\x20is\x20not\x20found');return _0x58b905;}get[_0x154bed(0x1fa)](){const _0xcd2cb7=_0x154bed,_0x3e0393=this['_skeletonData'][_0xcd2cb7(0x242)][0x0];return{'width':_0x3e0393[_0xcd2cb7(0x26e)],'height':_0x3e0393[_0xcd2cb7(0x248)]};}constructor(_0x3e2998,_0x534b67,_0x4ffda8,_0x4b8437){const _0x3e54cc=_0x154bed;super(),this['_injector']=_0x3e2998,this[_0x3e54cc(0x253)]=_0x534b67,this[_0x3e54cc(0x270)]=_0x4ffda8,this[_0x3e54cc(0x209)]=_0x4b8437,_defineProperty(this,_0x3e54cc(0x284),document[_0x3e54cc(0x24c)](_0x3e54cc(0x26c))),_defineProperty(this,'_root',document[_0x3e54cc(0x24c)](_0x3e54cc(0x26c))),_defineProperty(this,_0x3e54cc(0x201),void 0x0),_defineProperty(this,_0x3e54cc(0x283),void 0x0),_defineProperty(this,_0x3e54cc(0x1e5),void 0x0),_defineProperty(this,'_documents',void 0x0),_defineProperty(this,_0x3e54cc(0x1ed),void 0x0),_defineProperty(this,'_effects',new _univerjs_core[(_0x3e54cc(0x250))]()),this[_0x3e54cc(0x1e5)]=(0x0,_univerjs_core[_0x3e54cc(0x220)])(0x4),this[_0x3e54cc(0x237)](),this[_0x3e54cc(0x273)]({'dispose':()=>{const _0x2f6ffc=_0x3e54cc;this[_0x2f6ffc(0x201)][_0x2f6ffc(0x265)](),this[_0x2f6ffc(0x283)]['dispose'](),this['_effects'][_0x2f6ffc(0x265)]();}});}[_0x154bed(0x210)](){const _0x8c3a31=_0x154bed,{docsTop:_0x86b47,docsLeft:_0x2d79e0}=this[_0x8c3a31(0x1e3)]['getOffsetConfig'](),_0x1b8882=this[_0x8c3a31(0x1fa)][_0x8c3a31(0x247)],_0x467dcc=this[_0x8c3a31(0x1fa)][_0x8c3a31(0x1ee)];return{'top':_0x86b47+(_0x86b47+_0x1b8882)*this[_0x8c3a31(0x253)],'bottom':_0x86b47+(_0x86b47+_0x1b8882)*(this[_0x8c3a31(0x253)]+0x1),'left':_0x2d79e0,'right':_0x2d79e0+_0x467dcc};}[_0x154bed(0x237)](){const _0x55bd8e=_0x154bed,_0x19d520=0x1,_0x132dab=0x1;this['_engine']=new _univerjs_engine_render['Engine']('',{'elementWidth':this[_0x55bd8e(0x1fa)][_0x55bd8e(0x1ee)],'elementHeight':this['_paperSize'][_0x55bd8e(0x247)],'dpr':_0x132dab,'renderMode':_univerjs_engine_render[_0x55bd8e(0x26b)][_0x55bd8e(0x262)]}),this['_scene']=new _univerjs_engine_render[(_0x55bd8e(0x274))](this[_0x55bd8e(0x1e5)],this['_engine']),this[_0x55bd8e(0x283)][_0x55bd8e(0x20a)](_0x19d520,_0x19d520),this[_0x55bd8e(0x201)]['setContainer'](this[_0x55bd8e(0x284)],![]),this[_0x55bd8e(0x201)][_0x55bd8e(0x1fe)]()[_0x55bd8e(0x261)]()['setId'](this[_0x55bd8e(0x1e5)]+'_'+(0x0,_univerjs_core['generateRandomId'])(0x4)),this[_0x55bd8e(0x1fc)](),this[_0x55bd8e(0x260)]();}[_0x154bed(0x1fc)](){const _0x3a9f1f=_0x154bed,{pageMarginLeft:_0x42d5cd,pageMarginTop:_0x578158,docsLeft:_0x2cb13e,docsTop:_0x1d0212}=this[_0x3a9f1f(0x209)],_0x538c9a={'pageMarginLeft':_0x42d5cd,'pageMarginTop':_0x578158},_0x5d4563=new _univerjs_engine_render[(_0x3a9f1f(0x27e))](_0x3a9f1f(0x20d),this['_skeleton'],_0x538c9a);_0x5d4563[_0x3a9f1f(0x205)](_0x2cb13e,_0x1d0212),this[_0x3a9f1f(0x283)][_0x3a9f1f(0x1eb)](_0x5d4563),this[_0x3a9f1f(0x1e3)]=_0x5d4563;const _0x5989c8=this[_0x3a9f1f(0x1f3)]['get'](_univerjs_docs_ui[_0x3a9f1f(0x202)]);_0x5989c8[_0x3a9f1f(0x1f2)][_0x3a9f1f(0x263)](_0x5989c8['interceptor']['getInterceptPoints']()[_0x3a9f1f(0x200)])(void 0x0,{'unitId':this[_0x3a9f1f(0x270)],'scene':this[_0x3a9f1f(0x283)],'engine':this[_0x3a9f1f(0x201)],'root':this[_0x3a9f1f(0x271)],'documents':this[_0x3a9f1f(0x1e3)],'skeleton':this[_0x3a9f1f(0x28c)]});}[_0x154bed(0x260)](){const _0x36da00=_0x154bed;this[_0x36da00(0x1ed)]=new _univerjs_engine_render[(_0x36da00(0x231))](_univerjs_docs_ui[_0x36da00(0x1ef)][_0x36da00(0x23a)],this[_0x36da00(0x283)],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}['prepare'](){const _0x5ee0aa=_0x154bed,_0x401d30=this[_0x5ee0aa(0x210)]();this[_0x5ee0aa(0x1ed)]['updateScrollVal']({'viewportScrollX':_0x401d30['left'],'viewportScrollY':_0x401d30[_0x5ee0aa(0x288)]}),this[_0x5ee0aa(0x271)][_0x5ee0aa(0x204)][_0x5ee0aa(0x212)]=_0x5ee0aa(0x23e),this[_0x5ee0aa(0x271)]['style'][_0x5ee0aa(0x288)]=_0x5ee0aa(0x255),this[_0x5ee0aa(0x271)][_0x5ee0aa(0x204)][_0x5ee0aa(0x275)]=_0x5ee0aa(0x255),this[_0x5ee0aa(0x271)]['style'][_0x5ee0aa(0x1ee)]=_0x5ee0aa(0x280),this[_0x5ee0aa(0x271)]['style']['height']='100%',this[_0x5ee0aa(0x1e9)]=new _univerjs_core[(_0x5ee0aa(0x250))]();const _0xd2d024=this[_0x5ee0aa(0x1f3)]['get'](_univerjs_docs_ui[_0x5ee0aa(0x202)]);_0xd2d024[_0x5ee0aa(0x1f2)]['fetchThroughInterceptors'](_0xd2d024['interceptor'][_0x5ee0aa(0x292)]()[_0x5ee0aa(0x25e)])(this['_effects'],{'unitId':this[_0x5ee0aa(0x270)],'scene':this[_0x5ee0aa(0x283)],'engine':this['_engine'],'root':this[_0x5ee0aa(0x271)],'skeleton':this[_0x5ee0aa(0x28c)],'offset':{'x':_0x401d30[_0x5ee0aa(0x275)],'y':_0x401d30[_0x5ee0aa(0x288)]},'bound':{'top':_0x401d30['top'],'left':_0x401d30['left'],'right':_0x401d30[_0x5ee0aa(0x27d)],'bottom':_0x401d30[_0x5ee0aa(0x23c)]}});}[_0x154bed(0x26f)](){const _0x50a2da=_0x154bed,_0x218b4e=this['_engine'][_0x50a2da(0x1fe)]()[_0x50a2da(0x261)]();this[_0x50a2da(0x1e3)][_0x50a2da(0x233)](),this[_0x50a2da(0x283)]['makeDirty'](),_0x218b4e[_0x50a2da(0x21c)](),this[_0x50a2da(0x283)][_0x50a2da(0x26f)](),_0x218b4e[_0x50a2da(0x238)]();}};function __decorateParam(_0x30cbc6,_0x1c62b8){return function(_0x2c6d03,_0x192c99){_0x1c62b8(_0x2c6d03,_0x192c99,_0x30cbc6);};}function __decorate(_0x38bb6d,_0x1fde8e,_0x581d2f,_0x4653d8){const _0x2dc876=_0x154bed;var _0x568005=arguments[_0x2dc876(0x24f)],_0x15b7b0=_0x568005<0x3?_0x1fde8e:_0x4653d8===null?_0x4653d8=Object[_0x2dc876(0x27c)](_0x1fde8e,_0x581d2f):_0x4653d8,_0x49d6e2;if(typeof Reflect===_0x2dc876(0x228)&&typeof Reflect[_0x2dc876(0x26d)]===_0x2dc876(0x254))_0x15b7b0=Reflect[_0x2dc876(0x26d)](_0x38bb6d,_0x1fde8e,_0x581d2f,_0x4653d8);else{for(var _0x497679=_0x38bb6d[_0x2dc876(0x24f)]-0x1;_0x497679>=0x0;_0x497679--)if(_0x49d6e2=_0x38bb6d[_0x497679])_0x15b7b0=(_0x568005<0x3?_0x49d6e2(_0x15b7b0):_0x568005>0x3?_0x49d6e2(_0x1fde8e,_0x581d2f,_0x15b7b0):_0x49d6e2(_0x1fde8e,_0x581d2f))||_0x15b7b0;}return _0x568005>0x3&&_0x15b7b0&&Object[_0x2dc876(0x21b)](_0x1fde8e,_0x581d2f,_0x15b7b0),_0x15b7b0;}const BUILD_TIMESTAMP=Number[_0x154bed(0x268)](0x6a042e42),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x45d59e,_0x5ecf8f,_0xb5bc19)=>{const _0x4e5e9c=_0x154bed,_0x52a332={'page':_0x45d59e,'isPro':![],'timeValid':![]};if(!_0x5ecf8f||!_0xb5bc19)return _0x52a332;const _0xe9a0da=(0x0,_univerjs_pro_license[_0x4e5e9c(0x1e1)])(_0x5ecf8f,_0xb5bc19);if(_0xe9a0da[_0x4e5e9c(0x1f9)]){const _0x30babf=_0xe9a0da['message'],_0x3edd3b=(0x0,_univerjs_pro_license['isFeatureAuthorizedWithinTime'])(_0x30babf,'df',BUILD_TIMESTAMP);_0x52a332[_0x4e5e9c(0x234)]=_0x3edd3b,_0x52a332[_0x4e5e9c(0x223)]=_0x3edd3b,_0x52a332[_0x4e5e9c(0x22d)]=(0x0,_univerjs_pro_license[_0x4e5e9c(0x1f8)])(_0x30babf,_0x3edd3b,_0x4e5e9c(0x25c),_0x45d59e,_0x45d59e,0x0);}return _0x52a332;};let DocPrintService=class DocPrintService extends _univerjs_core[_0x154bed(0x21d)]{constructor(_0x37d7ae,_0x39b05e,_0x5d7442,_0x7505f0,_0x1643fa){const _0x2eba7d=_0x154bed;super(),this[_0x2eba7d(0x1ea)]=_0x37d7ae,this['_renderManagerService']=_0x39b05e,this[_0x2eba7d(0x1f3)]=_0x5d7442,this[_0x2eba7d(0x28d)]=_0x7505f0,this[_0x2eba7d(0x277)]=_0x1643fa;}['print'](_0x4f0ce8){const _0x4a9568=_0x154bed;var _0x2159a1,_0x2844af;const {ls:_0x250fb8,pbk:_0x4e063c}=(_0x2159a1=this['_configService'][_0x4a9568(0x1e6)](_univerjs_pro_license[_0x4a9568(0x241)]))!==null&&_0x2159a1!==void 0x0?_0x2159a1:{},_0xbe31da=(0x0,_univerjs_pro_license['isLocalCheck'])()?Number[_0x4a9568(0x1fb)]:getPrintInfoByLicense(0x1,_0x250fb8,_0x4e063c)['page'];if(!this[_0x4a9568(0x1ea)][_0x4a9568(0x1f1)](_0x4f0ce8,_univerjs_core[_0x4a9568(0x21f)][_0x4a9568(0x1e8)]))throw new Error(_0x4a9568(0x28f));const _0x4d8a11=this[_0x4a9568(0x28b)][_0x4a9568(0x211)](_0x4f0ce8);if(!_0x4d8a11)throw new Error(_0x4a9568(0x229));const _0x532979=(_0x2844af=_0x4d8a11[_0x4a9568(0x21a)](_univerjs_docs[_0x4a9568(0x23d)])['getSkeleton']()[_0x4a9568(0x22a)]())===null||_0x2844af===void 0x0?void 0x0:_0x2844af[_0x4a9568(0x242)];if(!_0x532979)throw new Error(_0x4a9568(0x245));const _0x68e414={'width':_0x532979[0x0]['pageWidth'],'height':_0x532979[0x0]['pageHeight']},_0x130bda=_0x532979['length'],_0x472a9b=Math['min'](_0xbe31da,_0x130bda),_0x1ad0dc=_0x4d8a11[_0x4a9568(0x259)][_0x4a9568(0x1ec)](),_0x3cdb74=document[_0x4a9568(0x24c)](_0x4a9568(0x26c));_0x3cdb74['className']=_univerjs_pro_print[_0x4a9568(0x289)];const _0x400b8b=new Array(_0x472a9b)[_0x4a9568(0x235)](null)[_0x4a9568(0x28e)]((_0x4a63f3,_0x2b2a37)=>{const _0x211bbe=_0x4a9568,_0x4a5f70=new DocPrintPageCanvasView(this['_injector'],_0x2b2a37,_0x4f0ce8,_0x1ad0dc);return _0x4a5f70[_0x211bbe(0x219)][_0x211bbe(0x213)]=_univerjs_pro_print[_0x211bbe(0x23f)],_0x4a5f70;});_0x400b8b[_0x4a9568(0x22b)](_0x2e29e1=>{const _0xc28ab2=_0x4a9568;_0x3cdb74[_0xc28ab2(0x236)](_0x2e29e1['container']),_0x2e29e1['container'][_0xc28ab2(0x236)](_0x2e29e1[_0xc28ab2(0x23b)]),_0x2e29e1[_0xc28ab2(0x216)]();});const _0x1074d7=(0x0,_univerjs_pro_print['createPrintStyle'])(_0x68e414[_0x4a9568(0x1ee)],_0x68e414[_0x4a9568(0x247)],_univerjs_pro_print[_0x4a9568(0x279)][_0x4a9568(0x249)]);return document[_0x4a9568(0x22c)][_0x4a9568(0x236)](_0x1074d7),document[_0x4a9568(0x22c)]['appendChild'](_0x3cdb74),new Promise(_0x3e3162=>{setTimeout(()=>{const _0x5dcc1b=_0x3da9;window[_0x5dcc1b(0x285)]=()=>{const _0x4b1c31=_0x5dcc1b;_0x400b8b[_0x4b1c31(0x22b)](_0x3576b2=>{_0x3576b2['render']();});},window[_0x5dcc1b(0x269)]=()=>{const _0x5589f4=_0x5dcc1b;_0x400b8b[_0x5589f4(0x22b)](_0x473d8b=>{_0x473d8b['dispose']();}),document[_0x5589f4(0x22c)][_0x5589f4(0x278)](_0x3cdb74),document[_0x5589f4(0x22c)]['removeChild'](_0x1074d7),this['_globalZoneService'][_0x5589f4(0x1fd)](),_0x3e3162(!![]);},window[_0x5dcc1b(0x290)]();},0x64);});}};DocPrintService=__decorate([__decorateParam(0x0,_univerjs_core['IUniverInstanceService']),__decorateParam(0x1,_univerjs_engine_render['IRenderManagerService']),__decorateParam(0x2,(0x0,_univerjs_core[_0x154bed(0x1f0)])(_univerjs_core['Injector'])),__decorateParam(0x3,_univerjs_core[_0x154bed(0x256)]),__decorateParam(0x4,_univerjs_ui[_0x154bed(0x217)])],DocPrintService);const DocPrintOperation={'id':_0x154bed(0x203),'type':_univerjs_core[_0x154bed(0x258)][_0x154bed(0x240)],'handler':async _0x37d638=>{const _0x547406=_0x154bed,_0x2886f9=_0x37d638[_0x547406(0x252)](_univerjs_core['IUniverInstanceService']),_0x42ac05=_0x37d638[_0x547406(0x252)](DocPrintService),_0x371324=_0x37d638[_0x547406(0x252)](_univerjs_engine_render[_0x547406(0x218)]),_0x447395=_0x37d638[_0x547406(0x252)](_univerjs_core[_0x547406(0x20c)]),_0x463416=_0x2886f9['getCurrentUnitOfType'](_univerjs_core[_0x547406(0x21f)]['UNIVER_DOC']);if(!_0x463416)return![];if(!_0x371324[_0x547406(0x211)](_0x463416['getUnitId']()))throw new Error(_0x547406(0x229));const _0x16a62c=_0x463416[_0x547406(0x232)]()[_0x547406(0x291)];if(_0x16a62c!==_univerjs_core[_0x547406(0x239)][_0x547406(0x266)])_0x447395[_0x547406(0x226)](_univerjs_docs_ui[_0x547406(0x246)]['id']);await _0x42ac05[_0x547406(0x290)](_0x463416['getUnitId']());if(_0x16a62c!==_univerjs_core[_0x547406(0x239)]['TRADITIONAL'])_0x447395[_0x547406(0x226)](_univerjs_docs_ui[_0x547406(0x246)]['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY='UNIVER_DOCS_PRINT',defaultPluginConfig={};function _0x55f7(){const _0x3fbc01=['appendChild','_initRenderer','restore','DocumentFlavor','VIEW_MAIN','root','bottom','DocSkeletonManagerService','absolute','PRINT_CANVAS_CLASS','OPERATION','LS_CONFIG_KEY','pages','_config','DependentOn','Pages\x20are\x20not\x20found','SwitchDocModeCommand','height','pageHeight','Portrait','mergeMenu','getMenuHiddenObservable','createElement','toPrimitive','117580GNhErs','length','DisposableCollection','_currentRender','get','_page','function','0px','IConfigService','UniverDocsPrintPlugin','CommandType','mainComponent','1910278xwOcVo','print.menu','mpn','3998649aIgoSN','PRINTING_DOM_COLLECT','_initComponents','_addViewport','getContext','Printing','fetchThroughInterceptors','ComponentManager','dispose','TRADITIONAL','symbol','parseInt','onafterprint','_initCommands','CanvasRenderMode','div','decorate','pageWidth','render','_unitId','_root','_menuManagerService','disposeWithMe','Scene','left','type','_globalZoneService','removeChild','PrintDirection','onReady','PrintIcon','getOwnPropertyDescriptor','right','Documents','_skeletonData','100%','packageName','_componentManager','_scene','_container','onbeforeprint','14434280IisuQe','2944160xUDLWu','top','PRINT_CONTAINER_CLASS','@univerjs-pro/docs-print','_renderManagerService','_skeleton','_configService','map','DocumentDataModel\x20is\x20not\x20found','print','documentFlavor','getInterceptPoints','getSkeleton','UniverNetworkPlugin','getLicenseInfo','call','_documents','Injector','_key','getConfig','pluginName','UNIVER_DOC','_effects','_univerInstanceService','addObject','getOffsetConfig','_viewMain','width','VIEWPORT_KEY','Inject','getUnit','interceptor','_injector','MenuItemType','UNIVER_DOCS_PRINT','275gCSzEx','string','getDocFeatureLimit','valid','_paperSize','POSITIVE_INFINITY','_addComponent','close','getCanvas','Module','PRINTING_COMPONENT_COLLECT','_engine','DocPrintInterceptorService','docs.operation.print','style','translate','0.22.1','version','_initMenus','_offsetConfig','scale','1qcbbgo','ICommandService','__DocPrintRender__','register','5487252LJeoSz','_calculateLayout','getRenderById','position','className','_commandService','onStarting','prepare','IGlobalZoneService','IRenderManagerService','container','with','defineProperty','save','Disposable','setConfig','UniverInstanceType','generateRandomId','default','registerCommand','timeValid','18phKqcJ','merge','syncExecuteCommand','5802041FQGlRs','object','Render\x20is\x20not\x20found','getSkeletonData','forEach','body','page','menu','iterator','DocPrintOperation','Viewport','getDocumentStyle','makeForceDirty','isPro','fill'];_0x55f7=function(){return _0x3fbc01;};return _0x55f7();}var name=_0x154bed(0x28a),version=_0x154bed(0x206);const DOCS_PRINT_PLUGIN_NAME=_0x154bed(0x1f5);function _0x3da9(_0x3dab10,_0x197f14){_0x3dab10=_0x3dab10-0x1df;const _0x55f7e4=_0x55f7();let _0x3da952=_0x55f7e4[_0x3dab10];return _0x3da952;}function DocPrintMenuItemFactory(_0x296c9f){const _0x3f381f=_0x154bed;return{'id':DocPrintOperation['id'],'type':_univerjs_ui[_0x3f381f(0x1f4)]['BUTTON'],'title':_0x3f381f(0x25b),'icon':_0x3f381f(0x27b),'tooltip':_0x3f381f(0x25b),'hidden$':(0x0,_univerjs_ui[_0x3f381f(0x24b)])(_0x296c9f,_univerjs_core[_0x3f381f(0x21f)][_0x3f381f(0x1e8)])};}const menuSchema={[_univerjs_ui['RibbonStartGroup']['OTHERS']]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};let DocsPrintUIController=class DocsPrintUIController extends _univerjs_core[_0x154bed(0x21d)]{constructor(_0x1e1452,_0xa4620a,_0xf75060){const _0x4c6c51=_0x154bed;super(),this[_0x4c6c51(0x214)]=_0x1e1452,this['_menuManagerService']=_0xa4620a,this[_0x4c6c51(0x282)]=_0xf75060,this[_0x4c6c51(0x208)](),this[_0x4c6c51(0x26a)](),this['_initComponents']();}['_initMenus'](){const _0x34843b=_0x154bed;this[_0x34843b(0x272)][_0x34843b(0x24a)](menuSchema);}['_initCommands'](){const _0x3ddd42=_0x154bed;this[_0x3ddd42(0x273)](this[_0x3ddd42(0x214)][_0x3ddd42(0x222)](DocPrintOperation));}[_0x154bed(0x25f)](){const _0x1e7cef=_0x154bed;[[_0x1e7cef(0x27b),_univerjs_icons[_0x1e7cef(0x27b)]]][_0x1e7cef(0x22b)](([_0x277f79,_0x4385e4])=>{const _0x39572d=_0x1e7cef;this[_0x39572d(0x282)][_0x39572d(0x20e)](_0x277f79,_0x4385e4);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,_univerjs_core[_0x154bed(0x20c)]),__decorateParam(0x1,_univerjs_ui['IMenuManagerService']),__decorateParam(0x2,(0x0,_univerjs_core[_0x154bed(0x1f0)])(_univerjs_ui[_0x154bed(0x264)]))],DocsPrintUIController);let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends _univerjs_core['Plugin']{constructor(_0x4afe3f=defaultPluginConfig,_0x5b56be,_0x3bfb54){const _0x52ee57=_0x154bed;super(),this['_config']=_0x4afe3f,this[_0x52ee57(0x1f3)]=_0x5b56be,this[_0x52ee57(0x28d)]=_0x3bfb54;const {menu:_0x3e3e04,..._0x29caa1}=(0x0,_univerjs_core[_0x52ee57(0x225)])({},defaultPluginConfig,this[_0x52ee57(0x243)]);if(_0x3e3e04)this[_0x52ee57(0x28d)][_0x52ee57(0x21e)](_0x52ee57(0x22e),_0x3e3e04,{'merge':!![]});this[_0x52ee57(0x28d)][_0x52ee57(0x21e)](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0x29caa1);}[_0x154bed(0x215)](){const _0x2830b3=_0x154bed;(0x0,_univerjs_core['registerDependencies'])(this[_0x2830b3(0x1f3)],[[DocPrintService],[DocsPrintUIController]]);}[_0x154bed(0x27a)](){this['_injector']['get'](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,_0x154bed(0x1e7),DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,_0x154bed(0x281),name),_defineProperty(UniverDocsPrintPlugin,_0x154bed(0x207),version),_defineProperty(UniverDocsPrintPlugin,_0x154bed(0x276),_univerjs_core[_0x154bed(0x21f)][_0x154bed(0x1e8)]),UniverDocsPrintPlugin=__decorate([(0x0,_univerjs_core[_0x154bed(0x244)])(_univerjs_network[_0x154bed(0x1e0)],_univerjs_pro_license['UniverLicensePlugin']),__decorateParam(0x1,(0x0,_univerjs_core[_0x154bed(0x1f0)])(_univerjs_core[_0x154bed(0x1e4)])),__decorateParam(0x2,_univerjs_core[_0x154bed(0x256)])],UniverDocsPrintPlugin),exports['DOCS_PRINT_PLUGIN_CONFIG_KEY']=DOCS_PRINT_PLUGIN_CONFIG_KEY,exports[_0x154bed(0x230)]=DocPrintOperation,Object[_0x154bed(0x21b)](exports,_0x154bed(0x257),{'enumerable':!![],'get':function(){return UniverDocsPrintPlugin;}});
|
|
1
|
+
const _0x5f56d3=_0x46ea;function _0x36f5(){const _0x1f7ef0=['timeValid','type','OPERATION','__DocPrintRender__','_currentRender','print','0.23.0-insiders.20260522-e8f2a3b','DOCS_PRINT_PLUGIN_CONFIG_KEY','_initRenderer','UniverInstanceType','LS_CONFIG_KEY','Pages\x20are\x20not\x20found','isLocalCheck','default','_componentManager','65YctgKD','_scene','749004VVMjmD','createPrintStyle','Documents','menu','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','IMenuManagerService','@univerjs-pro/docs-print','parseInt','makeForceDirty','Inject','mainComponent','render','message','pageWidth','Module','TRADITIONAL','VIEW_MAIN','getDocFeatureLimit','PRINTING_DOM_COLLECT','absolute','getSkeletonData','min','BUTTON','pageHeight','print.menu','left','setConfig','isFeatureAuthorizedWithinTime','getContext','docs.operation.print','bottom','Injector','211136EcaMlJ','syncExecuteCommand','UniverNetworkPlugin','disposeWithMe','IConfigService','symbol','UNIVER_DOC','page','width','position','_offsetConfig','getMenuHiddenObservable','Plugin','_calculateLayout','pluginName','Disposable','_engine','getSkeleton','DocumentDataModel\x20is\x20not\x20found','dispose','_container','_addComponent','ICommandService','IUniverInstanceService','_menuManagerService','generateRandomId','function','_injector','UNIVER_DOCS_PRINT','defineProperty','string','DisposableCollection','fill','Engine','div','object','toStringTag','removeChild','Render\x20is\x20not\x20found','_initCommands','addObject','getOffsetConfig','_skeleton','translate','0px','right','updateScrollVal','onbeforeprint','_effects','DocPrintInterceptorService','_paperSize','getDocumentStyle','IRenderManagerService','RibbonStartGroup','getUnit','prepare','_key','DocSkeletonManagerService','100%','interceptor','fetchThroughInterceptors','call','_config','CommandType','container','_skeletonData','top','PRINT_CANVAS_CLASS','getInterceptPoints','mpn','createElement','getCanvas','getConfig','_unitId','_root','getOwnPropertyDescriptor','SwitchDocModeCommand','getRenderById','prototype','_addViewport','_univerInstanceService','makeDirty','registerCommand','OTHERS','isPro','pages','MenuItemType','className','constructor','iterator','onStarting','_configService','_page','valid','Printing','height','CanvasRenderMode','_initMenus','ComponentManager','PrintDirection','get','28bJUinD','packageName','152arPFNW','223659XAtbAJ','body','13783320pjuYJw','_viewMain','3086631pFLPqk','_renderManagerService','_documents','with','decorate','Scene','66176oJGqRY','getCurrentUnitOfType','383866auphjJ','onReady','style','length','getUnitId','appendChild','_initComponents'];_0x36f5=function(){return _0x1f7ef0;};return _0x36f5();}(function(_0x4e48d7,_0x4aec3c){const _0x267417=_0x46ea,_0x1935df=_0x4e48d7();while(!![]){try{const _0x4ed85a=-parseInt(_0x267417(0x1c5))/0x1*(-parseInt(_0x267417(0x1b8))/0x2)+parseInt(_0x267417(0x1bf))/0x3+-parseInt(_0x267417(0x153))/0x4*(-parseInt(_0x267417(0x131))/0x5)+-parseInt(_0x267417(0x133))/0x6+parseInt(_0x267417(0x1c7))/0x7+parseInt(_0x267417(0x1ba))/0x8*(-parseInt(_0x267417(0x1bb))/0x9)+-parseInt(_0x267417(0x1bd))/0xa;if(_0x4ed85a===_0x4aec3c)break;else _0x1935df['push'](_0x1935df['shift']());}catch(_0x5244e8){_0x1935df['push'](_0x1935df['shift']());}}}(_0x36f5,0xb008c),Object[_0x5f56d3(0x170)](exports,Symbol[_0x5f56d3(0x177)],{'value':_0x5f56d3(0x141)}));let e=require(`@univerjs/core`),t=require(`@univerjs/docs-ui`),n=require(`@univerjs/engine-render`),r=require(`@univerjs-pro/license`),i=require(`@univerjs-pro/print`),a=require(`@univerjs/docs`),o=require(`@univerjs/network`),s=require(`@univerjs/icons`),c=require(`@univerjs/ui`);function l(_0x490588){'@babel/helpers - typeof';const _0x534209=_0x5f56d3;return l=typeof Symbol==_0x534209(0x16d)&&typeof Symbol[_0x534209(0x1ac)]==_0x534209(0x158)?function(_0x357a6e){return typeof _0x357a6e;}:function(_0x4da97b){const _0xe1ddce=_0x534209;return _0x4da97b&&typeof Symbol==_0xe1ddce(0x16d)&&_0x4da97b[_0xe1ddce(0x1ab)]===Symbol&&_0x4da97b!==Symbol[_0xe1ddce(0x1a1)]?_0xe1ddce(0x158):typeof _0x4da97b;},l(_0x490588);}function u(_0x3cbb6c,_0xca670){const _0x31f6cf=_0x5f56d3;if(l(_0x3cbb6c)!=_0x31f6cf(0x176)||!_0x3cbb6c)return _0x3cbb6c;var _0x5f0422=_0x3cbb6c[Symbol['toPrimitive']];if(_0x5f0422!==void 0x0){var _0x3ffe2e=_0x5f0422[_0x31f6cf(0x190)](_0x3cbb6c,_0xca670||_0x31f6cf(0x12f));if(l(_0x3ffe2e)!=_0x31f6cf(0x176))return _0x3ffe2e;throw TypeError(_0x31f6cf(0x137));}return(_0xca670==='string'?String:Number)(_0x3cbb6c);}function d(_0x33a99e){const _0x2b9b3e=_0x5f56d3;var _0x60a9fd=u(_0x33a99e,_0x2b9b3e(0x171));return l(_0x60a9fd)=='symbol'?_0x60a9fd:_0x60a9fd+'';}function f(_0x5a156f,_0xc18e73,_0x51162d){return(_0xc18e73=d(_0xc18e73))in _0x5a156f?Object['defineProperty'](_0x5a156f,_0xc18e73,{'value':_0x51162d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5a156f[_0xc18e73]=_0x51162d,_0x5a156f;}var p=class extends e[_0x5f56d3(0x162)]{get['container'](){return this['_container'];}get['root'](){return this['_root'];}get[_0x5f56d3(0x126)](){const _0x252cbb=_0x5f56d3;let _0x3d4a50=this[_0x252cbb(0x16e)][_0x252cbb(0x1b7)](n[_0x252cbb(0x187)])[_0x252cbb(0x1a0)](this[_0x252cbb(0x19c)]);if(!_0x3d4a50)throw Error(_0x252cbb(0x179));return _0x3d4a50;}get[_0x5f56d3(0x17d)](){const _0x579bfc=_0x5f56d3;return this[_0x579bfc(0x126)]['with'](a['DocSkeletonManagerService'])[_0x579bfc(0x164)]();}get[_0x5f56d3(0x194)](){let _0x41965d=this['_skeleton']['getSkeletonData']();if(!_0x41965d)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x41965d;}get[_0x5f56d3(0x185)](){const _0x1a26ec=_0x5f56d3;let _0x58c7c2=this['_skeletonData'][_0x1a26ec(0x1a8)][0x0];return{'width':_0x58c7c2[_0x1a26ec(0x140)],'height':_0x58c7c2[_0x1a26ec(0x14a)]};}constructor(_0x23d46e,_0x38fa02,_0x5c4126,_0x3226ee){const _0x448290=_0x5f56d3;super(),this[_0x448290(0x16e)]=_0x23d46e,this[_0x448290(0x1af)]=_0x38fa02,this['_unitId']=_0x5c4126,this[_0x448290(0x15d)]=_0x3226ee,f(this,_0x448290(0x167),document[_0x448290(0x199)](_0x448290(0x175))),f(this,_0x448290(0x19d),document['createElement']('div')),f(this,_0x448290(0x163),void 0x0),f(this,_0x448290(0x132),void 0x0),f(this,_0x448290(0x18b),void 0x0),f(this,_0x448290(0x1c1),void 0x0),f(this,_0x448290(0x1be),void 0x0),f(this,_0x448290(0x183),new e['DisposableCollection']()),this[_0x448290(0x18b)]=(0x0,e['generateRandomId'])(0x4),this[_0x448290(0x12a)](),this['disposeWithMe']({'dispose':()=>{const _0x2d6218=_0x448290;this[_0x2d6218(0x163)]['dispose'](),this[_0x2d6218(0x132)]['dispose'](),this[_0x2d6218(0x183)][_0x2d6218(0x166)]();}});}[_0x5f56d3(0x160)](){const _0x309cf0=_0x5f56d3;let {docsTop:_0x69f798,docsLeft:_0xdcac03}=this[_0x309cf0(0x1c1)][_0x309cf0(0x17c)](),_0xde3311=this[_0x309cf0(0x185)][_0x309cf0(0x1b2)],_0x2cfbb3=this[_0x309cf0(0x185)][_0x309cf0(0x15b)];return{'top':_0x69f798+(_0x69f798+_0xde3311)*this[_0x309cf0(0x1af)],'bottom':_0x69f798+(_0x69f798+_0xde3311)*(this[_0x309cf0(0x1af)]+0x1),'left':_0xdcac03,'right':_0xdcac03+_0x2cfbb3};}[_0x5f56d3(0x12a)](){const _0x180ae7=_0x5f56d3;this[_0x180ae7(0x163)]=new n[(_0x180ae7(0x174))]('',{'elementWidth':this['_paperSize'][_0x180ae7(0x15b)],'elementHeight':this['_paperSize'][_0x180ae7(0x1b2)],'dpr':0x1,'renderMode':n[_0x180ae7(0x1b3)][_0x180ae7(0x1b1)]}),this[_0x180ae7(0x132)]=new n[(_0x180ae7(0x1c4))](this[_0x180ae7(0x18b)],this['_engine']),this[_0x180ae7(0x132)]['scale'](0x1,0x1),this[_0x180ae7(0x163)]['setContainer'](this[_0x180ae7(0x167)],!0x1),this['_engine'][_0x180ae7(0x19a)]()[_0x180ae7(0x14f)]()['setId'](this[_0x180ae7(0x18b)]+'_'+(0x0,e[_0x180ae7(0x16c)])(0x4)),this[_0x180ae7(0x168)](),this[_0x180ae7(0x1a2)]();}[_0x5f56d3(0x168)](){const _0x202c0b=_0x5f56d3;let {pageMarginLeft:_0x4fe818,pageMarginTop:_0x24348c,docsLeft:_0x52530c,docsTop:_0x406a8c}=this[_0x202c0b(0x15d)],_0x2b577d={'pageMarginLeft':_0x4fe818,'pageMarginTop':_0x24348c},_0x11435d=new n[(_0x202c0b(0x135))](_0x202c0b(0x125),this['_skeleton'],_0x2b577d);_0x11435d[_0x202c0b(0x17e)](_0x52530c,_0x406a8c),this[_0x202c0b(0x132)][_0x202c0b(0x17b)](_0x11435d),this[_0x202c0b(0x1c1)]=_0x11435d;let _0x300494=this[_0x202c0b(0x16e)][_0x202c0b(0x1b7)](t[_0x202c0b(0x184)]);_0x300494['interceptor'][_0x202c0b(0x18f)](_0x300494[_0x202c0b(0x18e)][_0x202c0b(0x197)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0x202c0b(0x19c)],'scene':this[_0x202c0b(0x132)],'engine':this['_engine'],'root':this[_0x202c0b(0x19d)],'documents':this[_0x202c0b(0x1c1)],'skeleton':this[_0x202c0b(0x17d)]});}['_addViewport'](){const _0x33c004=_0x5f56d3;this[_0x33c004(0x1be)]=new n['Viewport'](t['VIEWPORT_KEY'][_0x33c004(0x143)],this[_0x33c004(0x132)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x5f56d3(0x18a)](){const _0x29eea6=_0x5f56d3;let _0x4555c5=this[_0x29eea6(0x160)]();this[_0x29eea6(0x1be)][_0x29eea6(0x181)]({'viewportScrollX':_0x4555c5[_0x29eea6(0x14c)],'viewportScrollY':_0x4555c5[_0x29eea6(0x195)]}),this[_0x29eea6(0x19d)][_0x29eea6(0x1c9)][_0x29eea6(0x15c)]=_0x29eea6(0x146),this[_0x29eea6(0x19d)][_0x29eea6(0x1c9)][_0x29eea6(0x195)]=_0x29eea6(0x17f),this['_root'][_0x29eea6(0x1c9)]['left']=_0x29eea6(0x17f),this['_root'][_0x29eea6(0x1c9)]['width']=_0x29eea6(0x18d),this[_0x29eea6(0x19d)][_0x29eea6(0x1c9)]['height']=_0x29eea6(0x18d),this[_0x29eea6(0x183)]=new e[(_0x29eea6(0x172))]();let _0x51c2bc=this[_0x29eea6(0x16e)]['get'](t[_0x29eea6(0x184)]);_0x51c2bc[_0x29eea6(0x18e)][_0x29eea6(0x18f)](_0x51c2bc['interceptor'][_0x29eea6(0x197)]()[_0x29eea6(0x145)])(this[_0x29eea6(0x183)],{'unitId':this[_0x29eea6(0x19c)],'scene':this[_0x29eea6(0x132)],'engine':this['_engine'],'root':this[_0x29eea6(0x19d)],'skeleton':this[_0x29eea6(0x17d)],'offset':{'x':_0x4555c5['left'],'y':_0x4555c5[_0x29eea6(0x195)]},'bound':{'top':_0x4555c5['top'],'left':_0x4555c5[_0x29eea6(0x14c)],'right':_0x4555c5[_0x29eea6(0x180)],'bottom':_0x4555c5[_0x29eea6(0x151)]}});}[_0x5f56d3(0x13e)](){const _0xbe16f8=_0x5f56d3;let _0x23da6a=this[_0xbe16f8(0x163)][_0xbe16f8(0x19a)]()[_0xbe16f8(0x14f)]();this[_0xbe16f8(0x1c1)][_0xbe16f8(0x13b)](),this[_0xbe16f8(0x132)][_0xbe16f8(0x1a4)](),_0x23da6a['save'](),this[_0xbe16f8(0x132)][_0xbe16f8(0x13e)](),_0x23da6a['restore']();}};function m(_0x2f815f,_0x170a49){return function(_0x53d6be,_0x447aeb){_0x170a49(_0x53d6be,_0x447aeb,_0x2f815f);};}function h(_0x543d24,_0x147a18,_0x2d46fe,_0x14a6e9){const _0x32377c=_0x5f56d3;var _0x47ae3c=arguments[_0x32377c(0x1ca)],_0x114b92=_0x47ae3c<0x3?_0x147a18:_0x14a6e9===null?_0x14a6e9=Object[_0x32377c(0x19e)](_0x147a18,_0x2d46fe):_0x14a6e9,_0x2fc475;if(typeof Reflect==_0x32377c(0x176)&&typeof Reflect['decorate']==_0x32377c(0x16d))_0x114b92=Reflect[_0x32377c(0x1c3)](_0x543d24,_0x147a18,_0x2d46fe,_0x14a6e9);else{for(var _0x1c8596=_0x543d24[_0x32377c(0x1ca)]-0x1;_0x1c8596>=0x0;_0x1c8596--)(_0x2fc475=_0x543d24[_0x1c8596])&&(_0x114b92=(_0x47ae3c<0x3?_0x2fc475(_0x114b92):_0x47ae3c>0x3?_0x2fc475(_0x147a18,_0x2d46fe,_0x114b92):_0x2fc475(_0x147a18,_0x2d46fe))||_0x114b92);}return _0x47ae3c>0x3&&_0x114b92&&Object['defineProperty'](_0x147a18,_0x2d46fe,_0x114b92),_0x114b92;}const g=Number[_0x5f56d3(0x13a)](0x6a0fd66a),_=(_0x24a8e8,_0x438652,_0x98195d)=>{const _0x2b1b4b=_0x5f56d3;let _0x1d9fe4={'page':_0x24a8e8,'isPro':!0x1,'timeValid':!0x1};if(!_0x438652||!_0x98195d)return _0x1d9fe4;let _0x453b1c=(0x0,r['getLicenseInfo'])(_0x438652,_0x98195d);if(_0x453b1c[_0x2b1b4b(0x1b0)]){let _0x1eed84=_0x453b1c[_0x2b1b4b(0x13f)],_0x34e4b6=(0x0,r[_0x2b1b4b(0x14e)])(_0x1eed84,'df',g);_0x1d9fe4[_0x2b1b4b(0x1a7)]=_0x34e4b6,_0x1d9fe4[_0x2b1b4b(0x1ce)]=_0x34e4b6,_0x1d9fe4[_0x2b1b4b(0x15a)]=(0x0,r[_0x2b1b4b(0x144)])(_0x1eed84,_0x34e4b6,_0x2b1b4b(0x198),_0x24a8e8,_0x24a8e8,0x0);}return _0x1d9fe4;};let v=class extends e['Disposable']{constructor(_0x2071bb,_0x9e1b0a,_0x55f2bb,_0x37a0dc){const _0x454563=_0x5f56d3;super(),this[_0x454563(0x1a3)]=_0x2071bb,this[_0x454563(0x1c0)]=_0x9e1b0a,this[_0x454563(0x16e)]=_0x55f2bb,this[_0x454563(0x1ae)]=_0x37a0dc;}[_0x5f56d3(0x127)](_0x304145){const _0x38c3f4=_0x5f56d3;var _0x5e69c8,_0x85b740;let {ls:_0x15c2f5,pbk:_0x48076a}=(_0x5e69c8=this['_configService'][_0x38c3f4(0x19b)](r[_0x38c3f4(0x12c)]))==null?{}:_0x5e69c8,_0x56b9e5=(0x0,r[_0x38c3f4(0x12e)])()?0x1/0x0:_(0x1,_0x15c2f5,_0x48076a)[_0x38c3f4(0x15a)];if(!this[_0x38c3f4(0x1a3)][_0x38c3f4(0x189)](_0x304145,e[_0x38c3f4(0x12b)][_0x38c3f4(0x159)]))throw Error(_0x38c3f4(0x165));let _0x456dff=this[_0x38c3f4(0x1c0)][_0x38c3f4(0x1a0)](_0x304145);if(!_0x456dff)throw Error(_0x38c3f4(0x179));let _0x3eba05=(_0x85b740=_0x456dff[_0x38c3f4(0x1c2)](a[_0x38c3f4(0x18c)])[_0x38c3f4(0x164)]()[_0x38c3f4(0x147)]())==null?void 0x0:_0x85b740[_0x38c3f4(0x1a8)];if(!_0x3eba05)throw Error(_0x38c3f4(0x12d));let _0x3bccd6={'width':_0x3eba05[0x0][_0x38c3f4(0x140)],'height':_0x3eba05[0x0]['pageHeight']},_0x430e4e=_0x3eba05['length'],_0x2a01e9=Math[_0x38c3f4(0x148)](_0x56b9e5,_0x430e4e),_0x369bdc=_0x456dff[_0x38c3f4(0x13d)][_0x38c3f4(0x17c)](),_0x2f8b10=document['createElement'](_0x38c3f4(0x175));_0x2f8b10['className']=i['PRINT_CONTAINER_CLASS'];let _0xe42be0=Array(_0x2a01e9)[_0x38c3f4(0x173)](null)['map']((_0x550a4c,_0xba9268)=>{const _0x3102d3=_0x38c3f4;let _0x1d77a5=new p(this[_0x3102d3(0x16e)],_0xba9268,_0x304145,_0x369bdc);return _0x1d77a5['container'][_0x3102d3(0x1aa)]=i[_0x3102d3(0x196)],_0x1d77a5;});_0xe42be0['forEach'](_0x27812f=>{const _0x4222b8=_0x38c3f4;_0x2f8b10[_0x4222b8(0x1cc)](_0x27812f[_0x4222b8(0x193)]),_0x27812f[_0x4222b8(0x193)]['appendChild'](_0x27812f['root']),_0x27812f['prepare']();});let _0x252661=(0x0,i[_0x38c3f4(0x134)])(_0x3bccd6['width'],_0x3bccd6[_0x38c3f4(0x1b2)],i[_0x38c3f4(0x1b6)]['Portrait']);return document[_0x38c3f4(0x1bc)][_0x38c3f4(0x1cc)](_0x252661),document[_0x38c3f4(0x1bc)][_0x38c3f4(0x1cc)](_0x2f8b10),new Promise(_0x3afa0a=>{setTimeout(()=>{const _0x30422a=_0x46ea;window[_0x30422a(0x182)]=()=>{_0xe42be0['forEach'](_0x3d9a98=>{_0x3d9a98['render']();});},window['onafterprint']=()=>{const _0xf80d82=_0x30422a;_0xe42be0['forEach'](_0x13a30b=>{const _0x5588cd=_0x46ea;_0x13a30b[_0x5588cd(0x166)]();}),document[_0xf80d82(0x1bc)][_0xf80d82(0x178)](_0x2f8b10),document[_0xf80d82(0x1bc)][_0xf80d82(0x178)](_0x252661),_0x3afa0a(!0x0);},window[_0x30422a(0x127)]();},0x64);});}};function _0x46ea(_0x4bdf93,_0x1f37df){_0x4bdf93=_0x4bdf93-0x124;const _0x36f573=_0x36f5();let _0x46ea26=_0x36f573[_0x4bdf93];return _0x46ea26;}v=h([m(0x0,e['IUniverInstanceService']),m(0x1,n[_0x5f56d3(0x187)]),m(0x2,(0x0,e[_0x5f56d3(0x13c)])(e[_0x5f56d3(0x152)])),m(0x3,e[_0x5f56d3(0x157)])],v);const y={'id':_0x5f56d3(0x150),'type':e[_0x5f56d3(0x192)][_0x5f56d3(0x124)],'handler':async _0x22625b=>{const _0x18530a=_0x5f56d3;let _0x56432d=_0x22625b[_0x18530a(0x1b7)](e[_0x18530a(0x16a)]),_0x41181c=_0x22625b[_0x18530a(0x1b7)](v),_0x8f3eb8=_0x22625b[_0x18530a(0x1b7)](n[_0x18530a(0x187)]),_0x1c5682=_0x22625b[_0x18530a(0x1b7)](e[_0x18530a(0x169)]),_0x438332=_0x56432d[_0x18530a(0x1c6)](e[_0x18530a(0x12b)][_0x18530a(0x159)]);if(!_0x438332)return!0x1;if(!_0x8f3eb8['getRenderById'](_0x438332[_0x18530a(0x1cb)]()))throw Error(_0x18530a(0x179));let _0x15f9e8=_0x438332[_0x18530a(0x186)]()['documentFlavor'];return _0x15f9e8!==e['DocumentFlavor'][_0x18530a(0x142)]&&_0x1c5682['syncExecuteCommand'](t[_0x18530a(0x19f)]['id']),await _0x41181c[_0x18530a(0x127)](_0x438332[_0x18530a(0x1cb)]()),_0x15f9e8!==e['DocumentFlavor']['TRADITIONAL']&&_0x1c5682[_0x18530a(0x154)](t[_0x18530a(0x19f)]['id']),!0x0;}},b=_0x5f56d3(0x16f),x={};var S=_0x5f56d3(0x139),C=_0x5f56d3(0x128);function w(_0x3c6786){const _0x220e8f=_0x5f56d3;return{'id':y['id'],'type':c[_0x220e8f(0x1a9)][_0x220e8f(0x149)],'title':_0x220e8f(0x14b),'icon':'PrintIcon','tooltip':_0x220e8f(0x14b),'hidden$':(0x0,c[_0x220e8f(0x15e)])(_0x3c6786,e[_0x220e8f(0x12b)][_0x220e8f(0x159)])};}const T={[c[_0x5f56d3(0x188)][_0x5f56d3(0x1a6)]]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x5f56d3(0x162)]{constructor(_0x2ef903,_0x34ad05,_0x5e154d){const _0x468a87=_0x5f56d3;super(),this['_commandService']=_0x2ef903,this[_0x468a87(0x16b)]=_0x34ad05,this[_0x468a87(0x130)]=_0x5e154d,this[_0x468a87(0x1b4)](),this[_0x468a87(0x17a)](),this[_0x468a87(0x1cd)]();}[_0x5f56d3(0x1b4)](){this['_menuManagerService']['mergeMenu'](T);}[_0x5f56d3(0x17a)](){const _0x4119b0=_0x5f56d3;this[_0x4119b0(0x156)](this['_commandService'][_0x4119b0(0x1a5)](y));}[_0x5f56d3(0x1cd)](){[['PrintIcon',s['PrintIcon']]]['forEach'](([_0x1da63b,_0x3958bf])=>{const _0x114224=_0x46ea;this[_0x114224(0x130)]['register'](_0x1da63b,_0x3958bf);});}};E=h([m(0x0,e[_0x5f56d3(0x169)]),m(0x1,c[_0x5f56d3(0x138)]),m(0x2,(0x0,e[_0x5f56d3(0x13c)])(c[_0x5f56d3(0x1b5)]))],E);let D=class extends e[_0x5f56d3(0x15f)]{constructor(_0x373752=x,_0x15cf65,_0x3a1a3d){const _0x32892a=_0x5f56d3;super(),this['_config']=_0x373752,this[_0x32892a(0x16e)]=_0x15cf65,this[_0x32892a(0x1ae)]=_0x3a1a3d;let {menu:_0x302b74,..._0x4347e3}=(0x0,e['merge'])({},x,this[_0x32892a(0x191)]);_0x302b74&&this[_0x32892a(0x1ae)]['setConfig'](_0x32892a(0x136),_0x302b74,{'merge':!0x0}),this[_0x32892a(0x1ae)][_0x32892a(0x14d)](b,_0x4347e3);}[_0x5f56d3(0x1ad)](){(0x0,e['registerDependencies'])(this['_injector'],[[v],[E]]);}[_0x5f56d3(0x1c8)](){const _0x110b9a=_0x5f56d3;this[_0x110b9a(0x16e)][_0x110b9a(0x1b7)](E);}};f(D,_0x5f56d3(0x161),'UNIVER_DOCS_PRINT'),f(D,_0x5f56d3(0x1b9),S),f(D,'version',C),f(D,_0x5f56d3(0x1cf),e[_0x5f56d3(0x12b)]['UNIVER_DOC']),D=h([(0x0,e['DependentOn'])(o[_0x5f56d3(0x155)],r['UniverLicensePlugin']),m(0x1,(0x0,e[_0x5f56d3(0x13c)])(e[_0x5f56d3(0x152)])),m(0x2,e[_0x5f56d3(0x157)])],D),exports[_0x5f56d3(0x129)]=b,exports['DocPrintOperation']=y,Object[_0x5f56d3(0x170)](exports,'UniverDocsPrintPlugin',{'enumerable':!0x0,'get':function(){return D;}});
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x53c6c1=_0x3414;(function(_0x5ddcea,_0x179542){const _0x3811d2=_0x3414,_0x4463dc=_0x5ddcea();while(!![]){try{const _0x572a0a=-parseInt(_0x3811d2(0x16d))/0x1+-parseInt(_0x3811d2(0x163))/0x2*(-parseInt(_0x3811d2(0x16c))/0x3)+parseInt(_0x3811d2(0x16b))/0x4+parseInt(_0x3811d2(0x164))/0x5*(-parseInt(_0x3811d2(0x167))/0x6)+-parseInt(_0x3811d2(0x165))/0x7+parseInt(_0x3811d2(0x168))/0x8+-parseInt(_0x3811d2(0x16a))/0x9;if(_0x572a0a===_0x179542)break;else _0x4463dc['push'](_0x4463dc['shift']());}catch(_0x42e1e7){_0x4463dc['push'](_0x4463dc['shift']());}}}(_0x2bb5,0x3a141));function _0x3414(_0x3ccef1,_0x2ac5d7){_0x3ccef1=_0x3ccef1-0x163;const _0x2bb514=_0x2bb5();let _0x34147f=_0x2bb514[_0x3ccef1];return _0x34147f;}function _0x2bb5(){const _0x22edea=['2kcIHrD','5qXvQMI','452585pcIkrU','exports','1629690TZlWkr','3276936iOjlbp','Print','56313bDlHZL','53448ZznnTX','769305mwZXid','98998PovkUI'];_0x2bb5=function(){return _0x22edea;};return _0x2bb5();}const e={'print':{'menu':_0x53c6c1(0x169)}};module[_0x53c6c1(0x166)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x4a4a68=_0x177e;function _0x5864(){const _0x2c1b6b=['38780xCYimi','5utgREf','8pOonyG','10QvQgZU','714ZFRRSe','3720013OAMhkZ','5964931TEDRad','2218764sYuSyQ','11472282GzRoSy','12PVroLB','2318166yFABZx','131044LfJsWN','Print','exports'];_0x5864=function(){return _0x2c1b6b;};return _0x5864();}function _0x177e(_0x379cba,_0x56e1b8){_0x379cba=_0x379cba-0x11a;const _0x5864c2=_0x5864();let _0x177e31=_0x5864c2[_0x379cba];return _0x177e31;}(function(_0x2e381a,_0x9205c8){const _0x5cc15c=_0x177e,_0x54c688=_0x2e381a();while(!![]){try{const _0x2eaa0b=parseInt(_0x5cc15c(0x11b))/0x1*(parseInt(_0x5cc15c(0x125))/0x2)+parseInt(_0x5cc15c(0x124))/0x3+parseInt(_0x5cc15c(0x121))/0x4+-parseInt(_0x5cc15c(0x11a))/0x5*(parseInt(_0x5cc15c(0x11e))/0x6)+-parseInt(_0x5cc15c(0x120))/0x7*(parseInt(_0x5cc15c(0x11c))/0x8)+parseInt(_0x5cc15c(0x122))/0x9*(parseInt(_0x5cc15c(0x11d))/0xa)+-parseInt(_0x5cc15c(0x11f))/0xb*(parseInt(_0x5cc15c(0x123))/0xc);if(_0x2eaa0b===_0x9205c8)break;else _0x54c688['push'](_0x54c688['shift']());}catch(_0xd57ca){_0x54c688['push'](_0x54c688['shift']());}}}(_0x5864,0xc7539));const e={'print':{'menu':_0x4a4a68(0x126)}};module[_0x4a4a68(0x127)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3260de=_0x1f83;function _0x3642(){const _0x5c48a2=['583750WXOtun','256288RjKdOM','2557512yiusUW','1491582aBbZXU','Print','44565LQtUpR','7JWjfQK','68vpYNPs','2012640zERVyy','1679240mUQJDv','2AZyykR'];_0x3642=function(){return _0x5c48a2;};return _0x3642();}(function(_0x41dddc,_0xa1a373){const _0x1547b3=_0x1f83,_0x3ebd3c=_0x41dddc();while(!![]){try{const _0x6ad8fe=-parseInt(_0x1547b3(0x190))/0x1*(-parseInt(_0x1547b3(0x18e))/0x2)+parseInt(_0x1547b3(0x189))/0x3*(-parseInt(_0x1547b3(0x18b))/0x4)+parseInt(_0x1547b3(0x18f))/0x5+-parseInt(_0x1547b3(0x187))/0x6+parseInt(_0x1547b3(0x18a))/0x7*(parseInt(_0x1547b3(0x18d))/0x8)+parseInt(_0x1547b3(0x191))/0x9+-parseInt(_0x1547b3(0x18c))/0xa;if(_0x6ad8fe===_0xa1a373)break;else _0x3ebd3c['push'](_0x3ebd3c['shift']());}catch(_0x3dea42){_0x3ebd3c['push'](_0x3ebd3c['shift']());}}}(_0x3642,0x2836b));function _0x1f83(_0x212a6e,_0x5e15c8){_0x212a6e=_0x212a6e-0x187;const _0x364279=_0x3642();let _0x1f8370=_0x364279[_0x212a6e];return _0x1f8370;}const e={'print':{'menu':_0x3260de(0x188)}};module['exports']=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1939d9=_0x5d1e;(function(_0x474772,_0x5b9a65){const _0x5a0e64=_0x5d1e,_0x3d528f=_0x474772();while(!![]){try{const _0x50e169=parseInt(_0x5a0e64(0x1b3))/0x1+parseInt(_0x5a0e64(0x1b9))/0x2*(parseInt(_0x5a0e64(0x1bc))/0x3)+parseInt(_0x5a0e64(0x1b6))/0x4+parseInt(_0x5a0e64(0x1b4))/0x5+parseInt(_0x5a0e64(0x1b8))/0x6+-parseInt(_0x5a0e64(0x1b2))/0x7*(parseInt(_0x5a0e64(0x1b7))/0x8)+-parseInt(_0x5a0e64(0x1ba))/0x9;if(_0x50e169===_0x5b9a65)break;else _0x3d528f['push'](_0x3d528f['shift']());}catch(_0xf58eb8){_0x3d528f['push'](_0x3d528f['shift']());}}}(_0x1d5e,0x9675e));function _0x1d5e(){const _0x17daf3=['6068673EVbuXX','چاپ','107943nHtwxo','7aekwNl','67051TvQrNB','1517820bHYwVD','exports','4872240xxSUgS','7221448voFLBT','2116332TzGsjn','14pcFxGN'];_0x1d5e=function(){return _0x17daf3;};return _0x1d5e();}function _0x5d1e(_0xf393b1,_0x266226){_0xf393b1=_0xf393b1-0x1b2;const _0x1d5ed8=_0x1d5e();let _0x5d1ebe=_0x1d5ed8[_0xf393b1];return _0x5d1ebe;}const e={'print':{'menu':_0x1939d9(0x1bb)}};module[_0x1939d9(0x1b5)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3815(_0x2677b9,_0x1ca0b2){_0x2677b9=_0x2677b9-0xc4;const _0x4b0bd0=_0x4b0b();let _0x3815ed=_0x4b0bd0[_0x2677b9];return _0x3815ed;}const _0x37237a=_0x3815;function _0x4b0b(){const _0x1bc15e=['10313856tROJYA','1135206aeKHrh','360HjQxsZ','exports','359196hWycMp','45yIpNjI','18960264ZdwCsY','2355248RrRRsq','12112berYsS','13515080IbWWuW'];_0x4b0b=function(){return _0x1bc15e;};return _0x4b0b();}(function(_0x30b160,_0x4e1173){const _0x52b243=_0x3815,_0x41b7fa=_0x30b160();while(!![]){try{const _0x406332=-parseInt(_0x52b243(0xc9))/0x1+-parseInt(_0x52b243(0xcc))/0x2+-parseInt(_0x52b243(0xc7))/0x3*(parseInt(_0x52b243(0xcd))/0x4)+parseInt(_0x52b243(0xca))/0x5*(parseInt(_0x52b243(0xc6))/0x6)+parseInt(_0x52b243(0xc5))/0x7+parseInt(_0x52b243(0xc4))/0x8+-parseInt(_0x52b243(0xcb))/0x9;if(_0x406332===_0x4e1173)break;else _0x41b7fa['push'](_0x41b7fa['shift']());}catch(_0x5daf39){_0x41b7fa['push'](_0x41b7fa['shift']());}}}(_0x4b0b,0xd1a66));const e={'print':{'menu':'Imprimer'}};module[_0x37237a(0xc8)]=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x44ff(_0x17d2a1,_0x3bc239){_0x17d2a1=_0x17d2a1-0x167;const _0x4580ff=_0x4580();let _0x44ff90=_0x4580ff[_0x17d2a1];return _0x44ff90;}const _0x505fd7=_0x44ff;(function(_0x563d95,_0x2784c2){const _0x5685be=_0x44ff,_0x120d6a=_0x563d95();while(!![]){try{const _0x26e314=-parseInt(_0x5685be(0x168))/0x1+-parseInt(_0x5685be(0x171))/0x2*(-parseInt(_0x5685be(0x169))/0x3)+-parseInt(_0x5685be(0x16e))/0x4*(parseInt(_0x5685be(0x16d))/0x5)+-parseInt(_0x5685be(0x167))/0x6+parseInt(_0x5685be(0x16f))/0x7+-parseInt(_0x5685be(0x170))/0x8+parseInt(_0x5685be(0x16a))/0x9*(parseInt(_0x5685be(0x16c))/0xa);if(_0x26e314===_0x2784c2)break;else _0x120d6a['push'](_0x120d6a['shift']());}catch(_0x1629c1){_0x120d6a['push'](_0x120d6a['shift']());}}}(_0x4580,0x5bd35));const e={'print':{'menu':'印刷'}};function _0x4580(){const _0x200cc3=['2hYInVG','1272324GQyERF','374532hyjYXx','1670247dcSUgO','326052nuQyzJ','exports','320urAyWA','485XjdQaX','21724rehLnQ','955094RbDgXM','2903816lIdLLP'];_0x4580=function(){return _0x200cc3;};return _0x4580();}module[_0x505fd7(0x16b)]=e;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x23d596=_0x3ce5;(function(_0x1aaaae,_0x1bd426){const _0x569d5b=_0x3ce5,_0x37aaf9=_0x1aaaae();while(!![]){try{const _0x4fc3c9=parseInt(_0x569d5b(0x1c3))/0x1*(parseInt(_0x569d5b(0x1c4))/0x2)+parseInt(_0x569d5b(0x1c6))/0x3+parseInt(_0x569d5b(0x1c0))/0x4+parseInt(_0x569d5b(0x1bf))/0x5+parseInt(_0x569d5b(0x1c7))/0x6+-parseInt(_0x569d5b(0x1c1))/0x7*(-parseInt(_0x569d5b(0x1be))/0x8)+-parseInt(_0x569d5b(0x1c2))/0x9;if(_0x4fc3c9===_0x1bd426)break;else _0x37aaf9['push'](_0x37aaf9['shift']());}catch(_0x3b3631){_0x37aaf9['push'](_0x37aaf9['shift']());}}}(_0xbf23,0xa646d));function _0x3ce5(_0x455f14,_0x3a05c7){_0x455f14=_0x455f14-0x1be;const _0xbf23d4=_0xbf23();let _0x3ce553=_0xbf23d4[_0x455f14];return _0x3ce553;}const e={'print':{'menu':'인쇄'}};module[_0x23d596(0x1c5)]=e;function _0xbf23(){const _0x77b52b=['75784PUVqEQ','30IBwZXi','exports','437118DGsnMB','4195524iIarCj','8CyNAwE','1036920sPAIwI','1780796hRERtS','5822306KaofTS','25064928MHpeHc'];_0xbf23=function(){return _0x77b52b;};return _0xbf23();}
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const _0x5e7f83=_0x42d6;function _0x42d6(_0x5c6fbf,_0x5edc8e){_0x5c6fbf=_0x5c6fbf-0xac;const _0x1fcba9=_0x1fcb();let _0x42d646=_0x1fcba9[_0x5c6fbf];return _0x42d646;}(function(_0x3645d4,_0x203dd3){const _0x40f072=_0x42d6,_0x39ab70=_0x3645d4();while(!![]){try{const _0x1a3b8f=-parseInt(_0x40f072(0xb3))/0x1+-parseInt(_0x40f072(0xae))/0x2+-parseInt(_0x40f072(0xb2))/0x3+parseInt(_0x40f072(0xaf))/0x4+parseInt(_0x40f072(0xac))/0x5+-parseInt(_0x40f072(0xad))/0x6+-parseInt(_0x40f072(0xb0))/0x7*(-parseInt(_0x40f072(0xb1))/0x8);if(_0x1a3b8f===_0x203dd3)break;else _0x39ab70['push'](_0x39ab70['shift']());}catch(_0x247284){_0x39ab70['push'](_0x39ab70['shift']());}}}(_0x1fcb,0x95e5a));function _0x1fcb(){const _0x4c00d7=['exports','1885500bZsYyv','372678QHYKKC','2430628RCcPbz','2413984OKiREb','7573202gwpQuR','16fSHjYX','978786SScJCv','926701PmMzvW','Печать'];_0x1fcb=function(){return _0x4c00d7;};return _0x1fcb();}const e={'print':{'menu':_0x5e7f83(0xb4)}};module[_0x5e7f83(0xb5)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x580eef=_0x2875;function _0x2875(_0x2586e5,_0x4911d9){_0x2586e5=_0x2586e5-0x1d7;const _0x505d9c=_0x505d();let _0x287581=_0x505d9c[_0x2586e5];return _0x287581;}(function(_0x125a6a,_0x3b0c4c){const _0x2b77df=_0x2875,_0x4a7125=_0x125a6a();while(!![]){try{const _0x366fc1=-parseInt(_0x2b77df(0x1e0))/0x1*(parseInt(_0x2b77df(0x1d9))/0x2)+-parseInt(_0x2b77df(0x1e1))/0x3+parseInt(_0x2b77df(0x1d8))/0x4+-parseInt(_0x2b77df(0x1da))/0x5+parseInt(_0x2b77df(0x1dc))/0x6+parseInt(_0x2b77df(0x1d7))/0x7+parseInt(_0x2b77df(0x1db))/0x8*(-parseInt(_0x2b77df(0x1df))/0x9);if(_0x366fc1===_0x3b0c4c)break;else _0x4a7125['push'](_0x4a7125['shift']());}catch(_0x5182b6){_0x4a7125['push'](_0x4a7125['shift']());}}}(_0x505d,0x96e68));function _0x505d(){const _0x3e9a13=['1PrGfVO','174504fMvhNb','2977905wRRpvM','4134236yyVLtt','163184MwpEVH','5532350WDIbCd','253256NpnVEM','6800730xULdAi','exports','Tlač','207WLTGWH'];_0x505d=function(){return _0x3e9a13;};return _0x505d();}const e={'print':{'menu':_0x580eef(0x1de)}};module[_0x580eef(0x1dd)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5a2f8d,_0x4452c1){const _0xef3c1d=_0x59cc,_0x2777d8=_0x5a2f8d();while(!![]){try{const _0x2b4d9f=parseInt(_0xef3c1d(0x16e))/0x1*(-parseInt(_0xef3c1d(0x16f))/0x2)+-parseInt(_0xef3c1d(0x169))/0x3*(-parseInt(_0xef3c1d(0x16b))/0x4)+parseInt(_0xef3c1d(0x167))/0x5*(parseInt(_0xef3c1d(0x172))/0x6)+parseInt(_0xef3c1d(0x16c))/0x7+parseInt(_0xef3c1d(0x171))/0x8*(-parseInt(_0xef3c1d(0x16a))/0x9)+parseInt(_0xef3c1d(0x16d))/0xa+-parseInt(_0xef3c1d(0x170))/0xb*(parseInt(_0xef3c1d(0x168))/0xc);if(_0x2b4d9f===_0x4452c1)break;else _0x2777d8['push'](_0x2777d8['shift']());}catch(_0x130a29){_0x2777d8['push'](_0x2777d8['shift']());}}}(_0x5a2b,0x213c3));function _0x5a2b(){const _0x381a6e=['9jbgUDq','56396VSXGlj','1370404nnbwnv','2196050GtmiQF','1vscrtl','243464zdUjaG','570614uJzHrx','249896fmTcck','33834veUGNv','185WSmkUp','84IwiXGM','6vWHvQr'];_0x5a2b=function(){return _0x381a6e;};return _0x5a2b();}function _0x59cc(_0x4f34e1,_0x49f516){_0x4f34e1=_0x4f34e1-0x167;const _0x5a2b19=_0x5a2b();let _0x59ccd8=_0x5a2b19[_0x4f34e1];return _0x59ccd8;}const e={'print':{'menu':'In'}};module['exports']=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3ef1(_0x322529,_0x390bc6){_0x322529=_0x322529-0x146;const _0x189ee9=_0x189e();let _0x3ef19f=_0x189ee9[_0x322529];return _0x3ef19f;}function _0x189e(){const _0x4f02d6=['4ZkfwPA','4fmZLDU','2066508bDGIXR','3451701axoYxE','60XQOmBI','663823IaDDtm','33hyYmKZ','176337mwRsAX','2255144FzILgk','450hZuTqt','302319uPLubC','3366710aktgTg'];_0x189e=function(){return _0x4f02d6;};return _0x189e();}(function(_0x42b110,_0x5485a3){const _0x40f3c9=_0x3ef1,_0x1c0d42=_0x42b110();while(!![]){try{const _0x4cf5cb=parseInt(_0x40f3c9(0x14d))/0x1*(parseInt(_0x40f3c9(0x148))/0x2)+-parseInt(_0x40f3c9(0x14b))/0x3*(-parseInt(_0x40f3c9(0x149))/0x4)+-parseInt(_0x40f3c9(0x147))/0x5+-parseInt(_0x40f3c9(0x14c))/0x6*(parseInt(_0x40f3c9(0x14f))/0x7)+parseInt(_0x40f3c9(0x150))/0x8+-parseInt(_0x40f3c9(0x146))/0x9*(parseInt(_0x40f3c9(0x151))/0xa)+parseInt(_0x40f3c9(0x14e))/0xb*(parseInt(_0x40f3c9(0x14a))/0xc);if(_0x4cf5cb===_0x5485a3)break;else _0x1c0d42['push'](_0x1c0d42['shift']());}catch(_0x202213){_0x1c0d42['push'](_0x1c0d42['shift']());}}}(_0x189e,0xcd0ce));const e={'print':{'menu':'打印'}};module['exports']=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x31e175,_0x4b39bb){const _0x5e3bf7=_0x3e21,_0x133486=_0x31e175();while(!![]){try{const _0x1613a0=parseInt(_0x5e3bf7(0xe8))/0x1+-parseInt(_0x5e3bf7(0xe1))/0x2+parseInt(_0x5e3bf7(0xe7))/0x3*(-parseInt(_0x5e3bf7(0xea))/0x4)+-parseInt(_0x5e3bf7(0xe3))/0x5*(parseInt(_0x5e3bf7(0xe5))/0x6)+-parseInt(_0x5e3bf7(0xdf))/0x7*(-parseInt(_0x5e3bf7(0xe0))/0x8)+parseInt(_0x5e3bf7(0xe6))/0x9*(parseInt(_0x5e3bf7(0xe4))/0xa)+-parseInt(_0x5e3bf7(0xe2))/0xb*(-parseInt(_0x5e3bf7(0xe9))/0xc);if(_0x1613a0===_0x4b39bb)break;else _0x133486['push'](_0x133486['shift']());}catch(_0x321cce){_0x133486['push'](_0x133486['shift']());}}}(_0x5b10,0x44603));function _0x3e21(_0xd7c63c,_0x2b6c8b){_0xd7c63c=_0xd7c63c-0xdf;const _0x5b10cd=_0x5b10();let _0x3e212f=_0x5b10cd[_0xd7c63c];return _0x3e212f;}const e={'print':{'menu':'列印'}};function _0x5b10(){const _0x4b3f25=['7593yMdagA','326490bfhsNv','564xzyPQG','172yaecNF','1498133SqbgIe','8sVYsEv','270028QEEMAL','20515qUqCSo','725ntZgpN','50rFYOXG','16938kiWftb','549153foqJaz'];_0x5b10=function(){return _0x4b3f25;};return _0x5b10();}module['exports']=e;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2b6ce7=_0x3297;(function(_0x5850a1,_0x29ad99){const _0x488a69=_0x3297,_0x516bde=_0x5850a1();while(!![]){try{const _0x5e0873=parseInt(_0x488a69(0x20c))/0x1+-parseInt(_0x488a69(0x1ff))/0x2+parseInt(_0x488a69(0x1ad))/0x3+-parseInt(_0x488a69(0x206))/0x4*(-parseInt(_0x488a69(0x1ca))/0x5)+parseInt(_0x488a69(0x1ac))/0x6*(-parseInt(_0x488a69(0x21b))/0x7)+parseInt(_0x488a69(0x227))/0x8*(-parseInt(_0x488a69(0x1c1))/0x9)+parseInt(_0x488a69(0x1a4))/0xa;if(_0x5e0873===_0x29ad99)break;else _0x516bde['push'](_0x516bde['shift']());}catch(_0x37f06e){_0x516bde['push'](_0x516bde['shift']());}}}(_0x174e,0xde254));import{CommandType,DependentOn,Disposable,DisposableCollection,DocumentFlavor,ICommandService,IConfigService,IUniverInstanceService,Inject,Injector,Plugin,UniverInstanceType,generateRandomId,merge,registerDependencies}from'@univerjs/core';import{DocPrintInterceptorService,SwitchDocModeCommand,VIEWPORT_KEY}from'@univerjs/docs-ui';import{CanvasRenderMode,Documents,Engine,IRenderManagerService,Scene,Viewport}from'@univerjs/engine-render';import{LS_CONFIG_KEY,UniverLicensePlugin,getDocFeatureLimit,getLicenseInfo,isFeatureAuthorizedWithinTime,isLocalCheck}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS,PRINT_CONTAINER_CLASS,PrintDirection,createPrintStyle}from'@univerjs-pro/print';import{DocSkeletonManagerService}from'@univerjs/docs';import{ComponentManager,IGlobalZoneService,IMenuManagerService,MenuItemType,RibbonStartGroup,getMenuHiddenObservable}from'@univerjs/ui';import{UniverNetworkPlugin}from'@univerjs/network';import{PrintIcon}from'@univerjs/icons';function _typeof(_0x3d7479){'@babel/helpers - typeof';const _0x2b8b2f=_0x3297;return _typeof=_0x2b8b2f(0x1c7)==typeof Symbol&&'symbol'==typeof Symbol[_0x2b8b2f(0x1cc)]?function(_0x5cf2a3){return typeof _0x5cf2a3;}:function(_0x43d892){const _0x169205=_0x2b8b2f;return _0x43d892&&_0x169205(0x1c7)==typeof Symbol&&_0x43d892[_0x169205(0x1f5)]===Symbol&&_0x43d892!==Symbol['prototype']?_0x169205(0x1fd):typeof _0x43d892;},_typeof(_0x3d7479);}function toPrimitive(_0x4ea8dd,_0x88ef0c){const _0x2775ee=_0x3297;if(_0x2775ee(0x1d5)!=_typeof(_0x4ea8dd)||!_0x4ea8dd)return _0x4ea8dd;var _0x3a47ce=_0x4ea8dd[Symbol['toPrimitive']];if(void 0x0!==_0x3a47ce){var _0xcadc07=_0x3a47ce['call'](_0x4ea8dd,_0x88ef0c||_0x2775ee(0x1de));if(_0x2775ee(0x1d5)!=_typeof(_0xcadc07))return _0xcadc07;throw new TypeError(_0x2775ee(0x220));}return(_0x2775ee(0x1e0)===_0x88ef0c?String:Number)(_0x4ea8dd);}function toPropertyKey(_0x4049c3){const _0x322051=_0x3297;var _0x5ce362=toPrimitive(_0x4049c3,_0x322051(0x1e0));return'symbol'==_typeof(_0x5ce362)?_0x5ce362:_0x5ce362+'';}function _defineProperty(_0x466a66,_0x44abd9,_0x5d9a58){const _0x46a618=_0x3297;return(_0x44abd9=toPropertyKey(_0x44abd9))in _0x466a66?Object[_0x46a618(0x1ba)](_0x466a66,_0x44abd9,{'value':_0x5d9a58,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x466a66[_0x44abd9]=_0x5d9a58,_0x466a66;}var DocPrintPageCanvasView=class extends Disposable{get['container'](){const _0x4c98dc=_0x3297;return this[_0x4c98dc(0x1d6)];}get[_0x2b6ce7(0x1ab)](){const _0x360f57=_0x2b6ce7;return this[_0x360f57(0x21c)];}get[_0x2b6ce7(0x203)](){const _0x563f11=_0x2b6ce7,_0x2dbe2f=this[_0x563f11(0x1a7)][_0x563f11(0x1e4)](IRenderManagerService)[_0x563f11(0x1e6)](this[_0x563f11(0x1c0)]);if(!_0x2dbe2f)throw new Error(_0x563f11(0x1c8));return _0x2dbe2f;}get[_0x2b6ce7(0x1fc)](){const _0x3fce29=_0x2b6ce7;return this[_0x3fce29(0x203)][_0x3fce29(0x1e7)](DocSkeletonManagerService)[_0x3fce29(0x1af)]();}get[_0x2b6ce7(0x1bb)](){const _0x47d927=_0x2b6ce7,_0x2fe504=this['_skeleton'][_0x47d927(0x1b4)]();if(!_0x2fe504)throw new Error('Skeleton\x20data\x20is\x20not\x20found');return _0x2fe504;}get[_0x2b6ce7(0x229)](){const _0xaccc46=_0x2b6ce7,_0x30d002=this[_0xaccc46(0x1bb)][_0xaccc46(0x20a)][0x0];return{'width':_0x30d002['pageWidth'],'height':_0x30d002[_0xaccc46(0x1dd)]};}constructor(_0x5b345a,_0x597a42,_0x4fef07,_0x41f97f){const _0x59e0b7=_0x2b6ce7;super(),this[_0x59e0b7(0x1a7)]=_0x5b345a,this['_page']=_0x597a42,this[_0x59e0b7(0x1c0)]=_0x4fef07,this[_0x59e0b7(0x1e9)]=_0x41f97f,_defineProperty(this,_0x59e0b7(0x1d6),document['createElement'](_0x59e0b7(0x201))),_defineProperty(this,'_root',document[_0x59e0b7(0x1db)](_0x59e0b7(0x201))),_defineProperty(this,_0x59e0b7(0x1d3),void 0x0),_defineProperty(this,_0x59e0b7(0x215),void 0x0),_defineProperty(this,_0x59e0b7(0x1fa),void 0x0),_defineProperty(this,_0x59e0b7(0x218),void 0x0),_defineProperty(this,_0x59e0b7(0x221),void 0x0),_defineProperty(this,_0x59e0b7(0x1f1),new DisposableCollection()),this[_0x59e0b7(0x1fa)]=generateRandomId(0x4),this[_0x59e0b7(0x1f8)](),this[_0x59e0b7(0x214)]({'dispose':()=>{const _0x4ebf0d=_0x59e0b7;this[_0x4ebf0d(0x1d3)][_0x4ebf0d(0x216)](),this['_scene'][_0x4ebf0d(0x216)](),this['_effects']['dispose']();}});}[_0x2b6ce7(0x211)](){const _0x220b0e=_0x2b6ce7,{docsTop:_0x3d1774,docsLeft:_0x451844}=this[_0x220b0e(0x218)][_0x220b0e(0x212)](),_0x5e1cec=this[_0x220b0e(0x229)][_0x220b0e(0x20f)],_0x487680=this['_paperSize'][_0x220b0e(0x1da)];return{'top':_0x3d1774+(_0x3d1774+_0x5e1cec)*this[_0x220b0e(0x1a6)],'bottom':_0x3d1774+(_0x3d1774+_0x5e1cec)*(this[_0x220b0e(0x1a6)]+0x1),'left':_0x451844,'right':_0x451844+_0x487680};}[_0x2b6ce7(0x1f8)](){const _0x1d61f1=_0x2b6ce7,_0x1c51aa=0x1,_0x181d01=0x1;this['_engine']=new Engine('',{'elementWidth':this['_paperSize']['width'],'elementHeight':this[_0x1d61f1(0x229)][_0x1d61f1(0x20f)],'dpr':_0x181d01,'renderMode':CanvasRenderMode[_0x1d61f1(0x1cf)]}),this['_scene']=new Scene(this[_0x1d61f1(0x1fa)],this[_0x1d61f1(0x1d3)]),this[_0x1d61f1(0x215)][_0x1d61f1(0x1b3)](_0x1c51aa,_0x1c51aa),this[_0x1d61f1(0x1d3)][_0x1d61f1(0x1e3)](this[_0x1d61f1(0x1d6)],![]),this[_0x1d61f1(0x1d3)]['getCanvas']()[_0x1d61f1(0x1ea)]()[_0x1d61f1(0x208)](this[_0x1d61f1(0x1fa)]+'_'+generateRandomId(0x4)),this[_0x1d61f1(0x224)](),this['_addViewport']();}[_0x2b6ce7(0x224)](){const _0x3de27f=_0x2b6ce7,{pageMarginLeft:_0x498759,pageMarginTop:_0x30d12e,docsLeft:_0x19696f,docsTop:_0x19cc84}=this[_0x3de27f(0x1e9)],_0x3d1304={'pageMarginLeft':_0x498759,'pageMarginTop':_0x30d12e},_0x134604=new Documents(_0x3de27f(0x1ed),this['_skeleton'],_0x3d1304);_0x134604[_0x3de27f(0x1f3)](_0x19696f,_0x19cc84),this[_0x3de27f(0x215)][_0x3de27f(0x1b0)](_0x134604),this[_0x3de27f(0x218)]=_0x134604;const _0x226c80=this[_0x3de27f(0x1a7)][_0x3de27f(0x1e4)](DocPrintInterceptorService);_0x226c80[_0x3de27f(0x1a5)]['fetchThroughInterceptors'](_0x226c80[_0x3de27f(0x1a5)][_0x3de27f(0x205)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x3de27f(0x215)],'engine':this['_engine'],'root':this[_0x3de27f(0x21c)],'documents':this[_0x3de27f(0x218)],'skeleton':this[_0x3de27f(0x1fc)]});}[_0x2b6ce7(0x225)](){const _0x4b7b0e=_0x2b6ce7;this[_0x4b7b0e(0x221)]=new Viewport(VIEWPORT_KEY[_0x4b7b0e(0x1b9)],this[_0x4b7b0e(0x215)],{'explicitViewportWidthSet':!![],'explicitViewportHeightSet':!![]});}['prepare'](){const _0x3e9e8a=_0x2b6ce7,_0x3c0d19=this['_calculateLayout']();this['_viewMain'][_0x3e9e8a(0x207)]({'viewportScrollX':_0x3c0d19['left'],'viewportScrollY':_0x3c0d19[_0x3e9e8a(0x204)]}),this[_0x3e9e8a(0x21c)][_0x3e9e8a(0x1e1)][_0x3e9e8a(0x1b8)]=_0x3e9e8a(0x223),this[_0x3e9e8a(0x21c)]['style'][_0x3e9e8a(0x204)]=_0x3e9e8a(0x1bf),this[_0x3e9e8a(0x21c)][_0x3e9e8a(0x1e1)][_0x3e9e8a(0x21f)]=_0x3e9e8a(0x1bf),this[_0x3e9e8a(0x21c)]['style']['width']='100%',this['_root'][_0x3e9e8a(0x1e1)][_0x3e9e8a(0x20f)]=_0x3e9e8a(0x1c5),this['_effects']=new DisposableCollection();const _0xaa506f=this[_0x3e9e8a(0x1a7)][_0x3e9e8a(0x1e4)](DocPrintInterceptorService);_0xaa506f[_0x3e9e8a(0x1a5)]['fetchThroughInterceptors'](_0xaa506f[_0x3e9e8a(0x1a5)][_0x3e9e8a(0x205)]()[_0x3e9e8a(0x1b5)])(this[_0x3e9e8a(0x1f1)],{'unitId':this['_unitId'],'scene':this[_0x3e9e8a(0x215)],'engine':this[_0x3e9e8a(0x1d3)],'root':this[_0x3e9e8a(0x21c)],'skeleton':this['_skeleton'],'offset':{'x':_0x3c0d19[_0x3e9e8a(0x21f)],'y':_0x3c0d19['top']},'bound':{'top':_0x3c0d19[_0x3e9e8a(0x204)],'left':_0x3c0d19[_0x3e9e8a(0x21f)],'right':_0x3c0d19['right'],'bottom':_0x3c0d19['bottom']}});}[_0x2b6ce7(0x21d)](){const _0x4ba3f9=_0x2b6ce7,_0x540639=this['_engine']['getCanvas']()[_0x4ba3f9(0x1ea)]();this[_0x4ba3f9(0x218)][_0x4ba3f9(0x1a9)](),this[_0x4ba3f9(0x215)][_0x4ba3f9(0x21a)](),_0x540639[_0x4ba3f9(0x21e)](),this[_0x4ba3f9(0x215)]['render'](),_0x540639[_0x4ba3f9(0x1d9)]();}};function __decorateParam(_0x14add6,_0x2ea825){return function(_0x12472d,_0x1ec50a){_0x2ea825(_0x12472d,_0x1ec50a,_0x14add6);};}function __decorate(_0x17452b,_0x38353e,_0x497341,_0x2a1317){const _0x724cbb=_0x2b6ce7;var _0x9cb73e=arguments[_0x724cbb(0x20b)],_0x37c8c1=_0x9cb73e<0x3?_0x38353e:_0x2a1317===null?_0x2a1317=Object[_0x724cbb(0x1d8)](_0x38353e,_0x497341):_0x2a1317,_0x59f87e;if(typeof Reflect===_0x724cbb(0x1d5)&&typeof Reflect['decorate']===_0x724cbb(0x1c7))_0x37c8c1=Reflect[_0x724cbb(0x1d7)](_0x17452b,_0x38353e,_0x497341,_0x2a1317);else{for(var _0x4d3241=_0x17452b[_0x724cbb(0x20b)]-0x1;_0x4d3241>=0x0;_0x4d3241--)if(_0x59f87e=_0x17452b[_0x4d3241])_0x37c8c1=(_0x9cb73e<0x3?_0x59f87e(_0x37c8c1):_0x9cb73e>0x3?_0x59f87e(_0x38353e,_0x497341,_0x37c8c1):_0x59f87e(_0x38353e,_0x497341))||_0x37c8c1;}return _0x9cb73e>0x3&&_0x37c8c1&&Object['defineProperty'](_0x38353e,_0x497341,_0x37c8c1),_0x37c8c1;}const BUILD_TIMESTAMP=Number[_0x2b6ce7(0x20d)](0x6a042e42),DEFAULT_PRINT_LIMIT=0x1,getPrintInfoByLicense=(_0x16f60b,_0x47f078,_0x55c259)=>{const _0x4eb433=_0x2b6ce7,_0x4734bf={'page':_0x16f60b,'isPro':![],'timeValid':![]};if(!_0x47f078||!_0x55c259)return _0x4734bf;const _0x52c561=getLicenseInfo(_0x47f078,_0x55c259);if(_0x52c561[_0x4eb433(0x1df)]){const _0x6a6500=_0x52c561[_0x4eb433(0x1f4)],_0xdd4128=isFeatureAuthorizedWithinTime(_0x6a6500,'df',BUILD_TIMESTAMP);_0x4734bf['isPro']=_0xdd4128,_0x4734bf[_0x4eb433(0x210)]=_0xdd4128,_0x4734bf[_0x4eb433(0x209)]=getDocFeatureLimit(_0x6a6500,_0xdd4128,'mpn',_0x16f60b,_0x16f60b,0x0);}return _0x4734bf;};function _0x174e(){const _0x52eb42=['getContext','0.22.1','onbeforeprint','__DocPrintRender__','PrintIcon','forEach','setConfig','_effects','syncExecuteCommand','translate','message','constructor','map','_componentManager','_initRenderer','_config','_key','_menuManagerService','_skeleton','symbol','OPERATION','1837956Elbtuk','body','div','pluginName','_currentRender','top','getInterceptPoints','52vmVqBL','updateScrollVal','setId','page','pages','length','217873Eczkyl','parseInt','_univerInstanceService','height','timeValid','_calculateLayout','getOffsetConfig','onReady','disposeWithMe','_scene','dispose','container','_documents','TRADITIONAL','makeDirty','7EpbgJG','_root','render','save','left','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_viewMain','_commandService','absolute','_addComponent','_addViewport','_configService','13127256ESZICY','min','_paperSize','12239620fKVJDs','interceptor','_page','_injector','appendChild','makeForceDirty','documentFlavor','root','4948242DRybjS','3237381vYCzIp','_renderManagerService','getSkeleton','addObject','docs.operation.print','close','scale','getSkeletonData','PRINTING_DOM_COLLECT','Portrait','type','position','VIEW_MAIN','defineProperty','_skeletonData','_initCommands','onafterprint','POSITIVE_INFINITY','0px','_unitId','9pPyntD','UNIVER_DOCS_PRINT','print.menu','packageName','100%','Pages\x20are\x20not\x20found','function','Render\x20is\x20not\x20found','register','682130szuLhC','UNIVER_DOC','iterator','_globalZoneService','_initComponents','Printing','removeChild','@univerjs-pro/docs-print','getCurrentUnitOfType','_engine','mainComponent','object','_container','decorate','getOwnPropertyDescriptor','restore','width','createElement','getUnitId','pageHeight','default','valid','string','style','className','setContainer','get','print','getRenderById','with','_initMenus','_offsetConfig'];_0x174e=function(){return _0x52eb42;};return _0x174e();}let DocPrintService=class DocPrintService extends Disposable{constructor(_0x2295f5,_0x2fa4d7,_0x37d664,_0x262c4,_0x550427){const _0x18d9d9=_0x2b6ce7;super(),this[_0x18d9d9(0x20e)]=_0x2295f5,this['_renderManagerService']=_0x2fa4d7,this['_injector']=_0x37d664,this[_0x18d9d9(0x226)]=_0x262c4,this['_globalZoneService']=_0x550427;}[_0x2b6ce7(0x1e5)](_0x3c000e){const _0x3961a6=_0x2b6ce7;var _0xdf3f16,_0x2fd5b1;const {ls:_0x33f24e,pbk:_0x47669b}=(_0xdf3f16=this[_0x3961a6(0x226)]['getConfig'](LS_CONFIG_KEY))!==null&&_0xdf3f16!==void 0x0?_0xdf3f16:{},_0x334b6d=isLocalCheck()?Number[_0x3961a6(0x1be)]:getPrintInfoByLicense(0x1,_0x33f24e,_0x47669b)[_0x3961a6(0x209)];if(!this[_0x3961a6(0x20e)]['getUnit'](_0x3c000e,UniverInstanceType[_0x3961a6(0x1cb)]))throw new Error('DocumentDataModel\x20is\x20not\x20found');const _0xf96e29=this[_0x3961a6(0x1ae)][_0x3961a6(0x1e6)](_0x3c000e);if(!_0xf96e29)throw new Error(_0x3961a6(0x1c8));const _0x349dfc=(_0x2fd5b1=_0xf96e29[_0x3961a6(0x1e7)](DocSkeletonManagerService)[_0x3961a6(0x1af)]()[_0x3961a6(0x1b4)]())===null||_0x2fd5b1===void 0x0?void 0x0:_0x2fd5b1[_0x3961a6(0x20a)];if(!_0x349dfc)throw new Error(_0x3961a6(0x1c6));const _0x4103b7={'width':_0x349dfc[0x0]['pageWidth'],'height':_0x349dfc[0x0][_0x3961a6(0x1dd)]},_0x2c6131=_0x349dfc[_0x3961a6(0x20b)],_0x28f02a=Math[_0x3961a6(0x228)](_0x334b6d,_0x2c6131),_0x45b0fb=_0xf96e29[_0x3961a6(0x1d4)][_0x3961a6(0x212)](),_0x1f8f4d=document[_0x3961a6(0x1db)](_0x3961a6(0x201));_0x1f8f4d['className']=PRINT_CONTAINER_CLASS;const _0x56c12f=new Array(_0x28f02a)['fill'](null)[_0x3961a6(0x1f6)]((_0x42390d,_0x40b565)=>{const _0x2ed332=_0x3961a6,_0x3e2145=new DocPrintPageCanvasView(this[_0x2ed332(0x1a7)],_0x40b565,_0x3c000e,_0x45b0fb);return _0x3e2145[_0x2ed332(0x217)][_0x2ed332(0x1e2)]=PRINT_CANVAS_CLASS,_0x3e2145;});_0x56c12f[_0x3961a6(0x1ef)](_0x56da41=>{const _0x3c8863=_0x3961a6;_0x1f8f4d[_0x3c8863(0x1a8)](_0x56da41[_0x3c8863(0x217)]),_0x56da41['container'][_0x3c8863(0x1a8)](_0x56da41[_0x3c8863(0x1ab)]),_0x56da41['prepare']();});const _0x5904c8=createPrintStyle(_0x4103b7[_0x3961a6(0x1da)],_0x4103b7[_0x3961a6(0x20f)],PrintDirection[_0x3961a6(0x1b6)]);return document[_0x3961a6(0x200)][_0x3961a6(0x1a8)](_0x5904c8),document[_0x3961a6(0x200)][_0x3961a6(0x1a8)](_0x1f8f4d),new Promise(_0x5b226c=>{setTimeout(()=>{const _0x383acd=_0x3297;window[_0x383acd(0x1ec)]=()=>{const _0x108b15=_0x383acd;_0x56c12f[_0x108b15(0x1ef)](_0x42b800=>{const _0x4dbbf5=_0x108b15;_0x42b800[_0x4dbbf5(0x21d)]();});},window[_0x383acd(0x1bd)]=()=>{const _0x2ff987=_0x383acd;_0x56c12f[_0x2ff987(0x1ef)](_0x363cd4=>{const _0x48ffe0=_0x2ff987;_0x363cd4[_0x48ffe0(0x216)]();}),document[_0x2ff987(0x200)][_0x2ff987(0x1d0)](_0x1f8f4d),document[_0x2ff987(0x200)]['removeChild'](_0x5904c8),this[_0x2ff987(0x1cd)][_0x2ff987(0x1b2)](),_0x5b226c(!![]);},window[_0x383acd(0x1e5)]();},0x64);});}};DocPrintService=__decorate([__decorateParam(0x0,IUniverInstanceService),__decorateParam(0x1,IRenderManagerService),__decorateParam(0x2,Inject(Injector)),__decorateParam(0x3,IConfigService),__decorateParam(0x4,IGlobalZoneService)],DocPrintService);function _0x3297(_0x5db6a0,_0x21e14a){_0x5db6a0=_0x5db6a0-0x1a4;const _0x174ec1=_0x174e();let _0x32972b=_0x174ec1[_0x5db6a0];return _0x32972b;}const DocPrintOperation={'id':_0x2b6ce7(0x1b1),'type':CommandType[_0x2b6ce7(0x1fe)],'handler':async _0x174063=>{const _0x1c37d8=_0x2b6ce7,_0x72b8cd=_0x174063[_0x1c37d8(0x1e4)](IUniverInstanceService),_0x406c41=_0x174063['get'](DocPrintService),_0x12ea26=_0x174063[_0x1c37d8(0x1e4)](IRenderManagerService),_0x36fe7e=_0x174063[_0x1c37d8(0x1e4)](ICommandService),_0x5248e4=_0x72b8cd[_0x1c37d8(0x1d2)](UniverInstanceType[_0x1c37d8(0x1cb)]);if(!_0x5248e4)return![];if(!_0x12ea26[_0x1c37d8(0x1e6)](_0x5248e4[_0x1c37d8(0x1dc)]()))throw new Error('Render\x20is\x20not\x20found');const _0x5cc6bf=_0x5248e4['getDocumentStyle']()[_0x1c37d8(0x1aa)];if(_0x5cc6bf!==DocumentFlavor[_0x1c37d8(0x219)])_0x36fe7e[_0x1c37d8(0x1f2)](SwitchDocModeCommand['id']);await _0x406c41[_0x1c37d8(0x1e5)](_0x5248e4['getUnitId']());if(_0x5cc6bf!==DocumentFlavor['TRADITIONAL'])_0x36fe7e[_0x1c37d8(0x1f2)](SwitchDocModeCommand['id']);return!![];}},DOCS_PRINT_PLUGIN_CONFIG_KEY='UNIVER_DOCS_PRINT',defaultPluginConfig={};var name=_0x2b6ce7(0x1d1),version=_0x2b6ce7(0x1eb);const DOCS_PRINT_PLUGIN_NAME=_0x2b6ce7(0x1c2);function DocPrintMenuItemFactory(_0x43dcf2){const _0x748951=_0x2b6ce7;return{'id':DocPrintOperation['id'],'type':MenuItemType['BUTTON'],'title':'print.menu','icon':'PrintIcon','tooltip':_0x748951(0x1c3),'hidden$':getMenuHiddenObservable(_0x43dcf2,UniverInstanceType[_0x748951(0x1cb)])};}const menuSchema={[RibbonStartGroup['OTHERS']]:{[DocPrintOperation['id']]:{'order':0.1,'menuItemFactory':DocPrintMenuItemFactory}}};let DocsPrintUIController=class DocsPrintUIController extends Disposable{constructor(_0x18caab,_0x26b93a,_0x393d8d){const _0x32e497=_0x2b6ce7;super(),this[_0x32e497(0x222)]=_0x18caab,this[_0x32e497(0x1fb)]=_0x26b93a,this[_0x32e497(0x1f7)]=_0x393d8d,this['_initMenus'](),this[_0x32e497(0x1bc)](),this[_0x32e497(0x1ce)]();}[_0x2b6ce7(0x1e8)](){this['_menuManagerService']['mergeMenu'](menuSchema);}[_0x2b6ce7(0x1bc)](){const _0x4ab598=_0x2b6ce7;this[_0x4ab598(0x214)](this[_0x4ab598(0x222)]['registerCommand'](DocPrintOperation));}[_0x2b6ce7(0x1ce)](){const _0xff73d3=_0x2b6ce7;[[_0xff73d3(0x1ee),PrintIcon]][_0xff73d3(0x1ef)](([_0x981cb4,_0x15ca43])=>{const _0x27cf5e=_0xff73d3;this['_componentManager'][_0x27cf5e(0x1c9)](_0x981cb4,_0x15ca43);});}};DocsPrintUIController=__decorate([__decorateParam(0x0,ICommandService),__decorateParam(0x1,IMenuManagerService),__decorateParam(0x2,Inject(ComponentManager))],DocsPrintUIController);let UniverDocsPrintPlugin=class UniverDocsPrintPlugin extends Plugin{constructor(_0x519b26=defaultPluginConfig,_0x552f64,_0x499145){const _0x25ba9e=_0x2b6ce7;super(),this[_0x25ba9e(0x1f9)]=_0x519b26,this[_0x25ba9e(0x1a7)]=_0x552f64,this['_configService']=_0x499145;const {menu:_0x352f5e,..._0x437927}=merge({},defaultPluginConfig,this[_0x25ba9e(0x1f9)]);if(_0x352f5e)this[_0x25ba9e(0x226)][_0x25ba9e(0x1f0)]('menu',_0x352f5e,{'merge':!![]});this[_0x25ba9e(0x226)][_0x25ba9e(0x1f0)](DOCS_PRINT_PLUGIN_CONFIG_KEY,_0x437927);}['onStarting'](){const _0x423198=_0x2b6ce7;registerDependencies(this[_0x423198(0x1a7)],[[DocPrintService],[DocsPrintUIController]]);}[_0x2b6ce7(0x213)](){const _0x4f42bc=_0x2b6ce7;this[_0x4f42bc(0x1a7)]['get'](DocsPrintUIController);}};_defineProperty(UniverDocsPrintPlugin,_0x2b6ce7(0x202),DOCS_PRINT_PLUGIN_NAME),_defineProperty(UniverDocsPrintPlugin,_0x2b6ce7(0x1c4),name),_defineProperty(UniverDocsPrintPlugin,'version',version),_defineProperty(UniverDocsPrintPlugin,_0x2b6ce7(0x1b7),UniverInstanceType[_0x2b6ce7(0x1cb)]),UniverDocsPrintPlugin=__decorate([DependentOn(UniverNetworkPlugin,UniverLicensePlugin),__decorateParam(0x1,Inject(Injector)),__decorateParam(0x2,IConfigService)],UniverDocsPrintPlugin);export{DOCS_PRINT_PLUGIN_CONFIG_KEY,DocPrintOperation,UniverDocsPrintPlugin};
|
|
1
|
+
const _0x4b404a=_0x29e2;function _0x29e2(_0x4e602e,_0x56ef01){_0x4e602e=_0x4e602e-0x147;const _0x1a88fb=_0x1a88();let _0x29e219=_0x1a88fb[_0x4e602e];return _0x29e219;}(function(_0x32d500,_0x594f8c){const _0x23e40a=_0x29e2,_0x434f5c=_0x32d500();while(!![]){try{const _0x2848a0=-parseInt(_0x23e40a(0x1b3))/0x1+-parseInt(_0x23e40a(0x1a8))/0x2*(parseInt(_0x23e40a(0x1a6))/0x3)+-parseInt(_0x23e40a(0x1b9))/0x4*(parseInt(_0x23e40a(0x14b))/0x5)+parseInt(_0x23e40a(0x18a))/0x6+-parseInt(_0x23e40a(0x171))/0x7+parseInt(_0x23e40a(0x1b0))/0x8+parseInt(_0x23e40a(0x1c2))/0x9;if(_0x2848a0===_0x594f8c)break;else _0x434f5c['push'](_0x434f5c['shift']());}catch(_0x41ad68){_0x434f5c['push'](_0x434f5c['shift']());}}}(_0x1a88,0x24dbd));import{CommandType as _0x4adc39,DependentOn as _0x5695d5,Disposable as _0x1483d7,DisposableCollection as _0x4700fb,DocumentFlavor as _0x5a14a6,ICommandService as _0x4f1c8f,IConfigService as _0xb50110,IUniverInstanceService as _0x39b214,Inject as _0x576d46,Injector as _0xe07b6,Plugin as _0x2cefcc,UniverInstanceType as _0x5eb362,generateRandomId as _0x168470,merge as _0x34779a,registerDependencies as _0x35fa2e}from'@univerjs/core';import{DocPrintInterceptorService as _0x232e30,SwitchDocModeCommand as _0x3fec68,VIEWPORT_KEY as _0x25c40a}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x49c352,Documents as _0x3a2683,Engine as _0x3b727b,IRenderManagerService as _0x168721,Scene as _0x3d5a6d,Viewport as _0x3360c4}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0xc8ab92,UniverLicensePlugin as _0x436461,getDocFeatureLimit as _0x1c812a,getLicenseInfo as _0x2b66d6,isFeatureAuthorizedWithinTime as _0x3d5265,isLocalCheck as _0x1a25e5}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x34ab5b,PRINT_CONTAINER_CLASS as _0x4c3313,PrintDirection as _0x270123,createPrintStyle as _0x2a475e}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x1fa007}from'@univerjs/docs';import{UniverNetworkPlugin as _0xba2917}from'@univerjs/network';import{PrintIcon as _0x2e0803}from'@univerjs/icons';import{ComponentManager as _0x74757f,IMenuManagerService as _0x45e002,MenuItemType as _0x4ef310,RibbonStartGroup as _0x2a317d,getMenuHiddenObservable as _0x463a61}from'@univerjs/ui';function z(_0x10a427){'@babel/helpers - typeof';const _0x2abd4a=_0x29e2;return z=typeof Symbol==_0x2abd4a(0x186)&&typeof Symbol['iterator']==_0x2abd4a(0x19f)?function(_0x1a60ee){return typeof _0x1a60ee;}:function(_0x87a395){const _0x1cf7e2=_0x2abd4a;return _0x87a395&&typeof Symbol=='function'&&_0x87a395[_0x1cf7e2(0x15c)]===Symbol&&_0x87a395!==Symbol['prototype']?_0x1cf7e2(0x19f):typeof _0x87a395;},z(_0x10a427);}function B(_0x3b9a7d,_0x3674ea){const _0x106a7a=_0x29e2;if(z(_0x3b9a7d)!=_0x106a7a(0x196)||!_0x3b9a7d)return _0x3b9a7d;var _0x423ba2=_0x3b9a7d[Symbol[_0x106a7a(0x1b8)]];if(_0x423ba2!==void 0x0){var _0x1a9a9c=_0x423ba2['call'](_0x3b9a7d,_0x3674ea||_0x106a7a(0x170));if(z(_0x1a9a9c)!=_0x106a7a(0x196))return _0x1a9a9c;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3674ea===_0x106a7a(0x176)?String:Number)(_0x3b9a7d);}function _0x1a88(){const _0x48c653=['getUnit','default','1231258ZLdqGV','_configService','documentFlavor','syncExecuteCommand','_documents','string','_paperSize','_scene','render','onbeforeprint','scale','prepare','0px','getSkeletonData','getContext','_injector','appendChild','version','disposeWithMe','_addViewport','VIEW_MAIN','function','bottom','addObject','_key','1218378SJkXnd','_currentRender','print','BUTTON','_commandService','_unitId','_root','right','_skeletonData','width','parseInt','min','object','onReady','_componentManager','OTHERS','timeValid','height','_effects','pageWidth','packageName','symbol','interceptor','DocumentDataModel\x20is\x20not\x20found','top','map','pageHeight','length','128577JsHPUk','getRenderById','4nHdEqs','defineProperty','body','setId','_page','_container','style','_initCommands','354104WCRysH','valid','left','2325ofhReT','get','PRINTING_DOM_COLLECT','_initMenus','_viewMain','toPrimitive','36dsxJgp','docs.operation.print','__DocPrintRender__','type','position','_engine','_renderManagerService','UNIVER_DOCS_PRINT','forEach','1965096EaLKDE','UNIVER_DOC','Skeleton\x20data\x20is\x20not\x20found','0.23.0-insiders.20260522-e8f2a3b','container','getUnitId','_calculateLayout','registerCommand','message','_skeleton','28200vfoezV','isPro','fill','pages','page','@univerjs-pro/docs-print','createElement','print.menu','100%','pluginName','_initRenderer','div','Render\x20is\x20not\x20found','PRINTING_COMPONENT_COLLECT','setConfig','fetchThroughInterceptors','decorate','constructor','getOwnPropertyDescriptor','getInterceptPoints','_initComponents','_univerInstanceService','with','className','Portrait','absolute','OPERATION','getSkeleton','dispose','PrintIcon','onafterprint','root','_config','makeForceDirty','removeChild','_addComponent'];_0x1a88=function(){return _0x48c653;};return _0x1a88();}function V(_0x29d60e){const _0x5dd343=_0x29e2;var _0x21aec3=B(_0x29d60e,'string');return z(_0x21aec3)==_0x5dd343(0x19f)?_0x21aec3:_0x21aec3+'';}function H(_0xae58be,_0x1c205a,_0x441883){const _0x1a46b6=_0x29e2;return(_0x1c205a=V(_0x1c205a))in _0xae58be?Object[_0x1a46b6(0x1a9)](_0xae58be,_0x1c205a,{'value':_0x441883,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xae58be[_0x1c205a]=_0x441883,_0xae58be;}var U=class extends _0x1483d7{get[_0x4b404a(0x1c6)](){return this['_container'];}get['root'](){const _0x11b520=_0x4b404a;return this[_0x11b520(0x190)];}get[_0x4b404a(0x18b)](){const _0x3dfa9d=_0x4b404a;let _0x5129dd=this[_0x3dfa9d(0x180)][_0x3dfa9d(0x1b4)](_0x168721)['getRenderById'](this[_0x3dfa9d(0x18f)]);if(!_0x5129dd)throw Error(_0x3dfa9d(0x157));return _0x5129dd;}get['_skeleton'](){const _0x5c8b06=_0x4b404a;return this[_0x5c8b06(0x18b)][_0x5c8b06(0x161)](_0x1fa007)[_0x5c8b06(0x166)]();}get[_0x4b404a(0x192)](){const _0x456b6c=_0x4b404a;let _0x18abe1=this['_skeleton'][_0x456b6c(0x17e)]();if(!_0x18abe1)throw Error(_0x456b6c(0x1c4));return _0x18abe1;}get[_0x4b404a(0x177)](){const _0x28dbe1=_0x4b404a;let _0x3db197=this[_0x28dbe1(0x192)][_0x28dbe1(0x14e)][0x0];return{'width':_0x3db197[_0x28dbe1(0x19d)],'height':_0x3db197[_0x28dbe1(0x1a4)]};}constructor(_0x10c0a7,_0x12e114,_0x188463,_0xf646e2){const _0x33d051=_0x4b404a;super(),this[_0x33d051(0x180)]=_0x10c0a7,this[_0x33d051(0x1ac)]=_0x12e114,this['_unitId']=_0x188463,this['_offsetConfig']=_0xf646e2,H(this,_0x33d051(0x1ad),document[_0x33d051(0x151)]('div')),H(this,_0x33d051(0x190),document[_0x33d051(0x151)]('div')),H(this,_0x33d051(0x1be),void 0x0),H(this,_0x33d051(0x178),void 0x0),H(this,_0x33d051(0x189),void 0x0),H(this,_0x33d051(0x175),void 0x0),H(this,_0x33d051(0x1b7),void 0x0),H(this,'_effects',new _0x4700fb()),this[_0x33d051(0x189)]=_0x168470(0x4),this[_0x33d051(0x155)](),this[_0x33d051(0x183)]({'dispose':()=>{const _0x27f750=_0x33d051;this[_0x27f750(0x1be)][_0x27f750(0x167)](),this[_0x27f750(0x178)][_0x27f750(0x167)](),this['_effects'][_0x27f750(0x167)]();}});}[_0x4b404a(0x147)](){const _0x5f70bf=_0x4b404a;let {docsTop:_0x5e2504,docsLeft:_0x11687d}=this[_0x5f70bf(0x175)]['getOffsetConfig'](),_0x434d47=this[_0x5f70bf(0x177)]['height'],_0x33aa5b=this['_paperSize'][_0x5f70bf(0x193)];return{'top':_0x5e2504+(_0x5e2504+_0x434d47)*this['_page'],'bottom':_0x5e2504+(_0x5e2504+_0x434d47)*(this[_0x5f70bf(0x1ac)]+0x1),'left':_0x11687d,'right':_0x11687d+_0x33aa5b};}[_0x4b404a(0x155)](){const _0x2b217f=_0x4b404a;this[_0x2b217f(0x1be)]=new _0x3b727b('',{'elementWidth':this['_paperSize'][_0x2b217f(0x193)],'elementHeight':this[_0x2b217f(0x177)][_0x2b217f(0x19b)],'dpr':0x1,'renderMode':_0x49c352['Printing']}),this[_0x2b217f(0x178)]=new _0x3d5a6d(this[_0x2b217f(0x189)],this['_engine']),this[_0x2b217f(0x178)][_0x2b217f(0x17b)](0x1,0x1),this[_0x2b217f(0x1be)]['setContainer'](this[_0x2b217f(0x1ad)],!0x1),this[_0x2b217f(0x1be)]['getCanvas']()[_0x2b217f(0x17f)]()[_0x2b217f(0x1ab)](this[_0x2b217f(0x189)]+'_'+_0x168470(0x4)),this[_0x2b217f(0x16e)](),this[_0x2b217f(0x184)]();}[_0x4b404a(0x16e)](){const _0x4c51a4=_0x4b404a;let {pageMarginLeft:_0x715f38,pageMarginTop:_0x15fd1e,docsLeft:_0x1bcbeb,docsTop:_0x2c8b97}=this['_offsetConfig'],_0x1d5f65={'pageMarginLeft':_0x715f38,'pageMarginTop':_0x15fd1e},_0x40fe5e=new _0x3a2683(_0x4c51a4(0x1bb),this['_skeleton'],_0x1d5f65);_0x40fe5e['translate'](_0x1bcbeb,_0x2c8b97),this[_0x4c51a4(0x178)][_0x4c51a4(0x188)](_0x40fe5e),this[_0x4c51a4(0x175)]=_0x40fe5e;let _0x37263e=this['_injector'][_0x4c51a4(0x1b4)](_0x232e30);_0x37263e[_0x4c51a4(0x1a0)][_0x4c51a4(0x15a)](_0x37263e[_0x4c51a4(0x1a0)][_0x4c51a4(0x15e)]()[_0x4c51a4(0x158)])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x4c51a4(0x178)],'engine':this['_engine'],'root':this[_0x4c51a4(0x190)],'documents':this[_0x4c51a4(0x175)],'skeleton':this[_0x4c51a4(0x14a)]});}[_0x4b404a(0x184)](){const _0x3797c6=_0x4b404a;this[_0x3797c6(0x1b7)]=new _0x3360c4(_0x25c40a[_0x3797c6(0x185)],this[_0x3797c6(0x178)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x4b404a(0x17c)](){const _0x5a10fc=_0x4b404a;let _0x34cabe=this['_calculateLayout']();this['_viewMain']['updateScrollVal']({'viewportScrollX':_0x34cabe[_0x5a10fc(0x1b2)],'viewportScrollY':_0x34cabe[_0x5a10fc(0x1a2)]}),this[_0x5a10fc(0x190)][_0x5a10fc(0x1ae)][_0x5a10fc(0x1bd)]=_0x5a10fc(0x164),this[_0x5a10fc(0x190)]['style'][_0x5a10fc(0x1a2)]=_0x5a10fc(0x17d),this['_root'][_0x5a10fc(0x1ae)]['left']=_0x5a10fc(0x17d),this[_0x5a10fc(0x190)][_0x5a10fc(0x1ae)][_0x5a10fc(0x193)]=_0x5a10fc(0x153),this[_0x5a10fc(0x190)][_0x5a10fc(0x1ae)]['height']=_0x5a10fc(0x153),this['_effects']=new _0x4700fb();let _0x47d45d=this[_0x5a10fc(0x180)][_0x5a10fc(0x1b4)](_0x232e30);_0x47d45d[_0x5a10fc(0x1a0)]['fetchThroughInterceptors'](_0x47d45d[_0x5a10fc(0x1a0)]['getInterceptPoints']()[_0x5a10fc(0x1b5)])(this[_0x5a10fc(0x19c)],{'unitId':this['_unitId'],'scene':this[_0x5a10fc(0x178)],'engine':this[_0x5a10fc(0x1be)],'root':this[_0x5a10fc(0x190)],'skeleton':this[_0x5a10fc(0x14a)],'offset':{'x':_0x34cabe[_0x5a10fc(0x1b2)],'y':_0x34cabe[_0x5a10fc(0x1a2)]},'bound':{'top':_0x34cabe['top'],'left':_0x34cabe['left'],'right':_0x34cabe[_0x5a10fc(0x191)],'bottom':_0x34cabe[_0x5a10fc(0x187)]}});}[_0x4b404a(0x179)](){const _0x3b0a0b=_0x4b404a;let _0x3c4afb=this[_0x3b0a0b(0x1be)]['getCanvas']()[_0x3b0a0b(0x17f)]();this[_0x3b0a0b(0x175)][_0x3b0a0b(0x16c)](),this['_scene']['makeDirty'](),_0x3c4afb['save'](),this[_0x3b0a0b(0x178)][_0x3b0a0b(0x179)](),_0x3c4afb['restore']();}};function W(_0x46d524,_0x4208e8){return function(_0x11b12e,_0x2ba432){_0x4208e8(_0x11b12e,_0x2ba432,_0x46d524);};}function G(_0x4836a4,_0x5684d0,_0x3d9bf6,_0x49c02b){const _0x445c46=_0x4b404a;var _0x2dfc61=arguments['length'],_0x2a5aa3=_0x2dfc61<0x3?_0x5684d0:_0x49c02b===null?_0x49c02b=Object[_0x445c46(0x15d)](_0x5684d0,_0x3d9bf6):_0x49c02b,_0x318454;if(typeof Reflect==_0x445c46(0x196)&&typeof Reflect[_0x445c46(0x15b)]==_0x445c46(0x186))_0x2a5aa3=Reflect[_0x445c46(0x15b)](_0x4836a4,_0x5684d0,_0x3d9bf6,_0x49c02b);else{for(var _0x57356a=_0x4836a4[_0x445c46(0x1a5)]-0x1;_0x57356a>=0x0;_0x57356a--)(_0x318454=_0x4836a4[_0x57356a])&&(_0x2a5aa3=(_0x2dfc61<0x3?_0x318454(_0x2a5aa3):_0x2dfc61>0x3?_0x318454(_0x5684d0,_0x3d9bf6,_0x2a5aa3):_0x318454(_0x5684d0,_0x3d9bf6))||_0x2a5aa3);}return _0x2dfc61>0x3&&_0x2a5aa3&&Object[_0x445c46(0x1a9)](_0x5684d0,_0x3d9bf6,_0x2a5aa3),_0x2a5aa3;}const K=Number[_0x4b404a(0x194)](0x6a0fd66a),q=(_0x48ff71,_0xf923d2,_0x1d10e7)=>{const _0x6d667c=_0x4b404a;let _0x4a6e86={'page':_0x48ff71,'isPro':!0x1,'timeValid':!0x1};if(!_0xf923d2||!_0x1d10e7)return _0x4a6e86;let _0x301dd6=_0x2b66d6(_0xf923d2,_0x1d10e7);if(_0x301dd6[_0x6d667c(0x1b1)]){let _0xe21c7d=_0x301dd6[_0x6d667c(0x149)],_0x5e791a=_0x3d5265(_0xe21c7d,'df',K);_0x4a6e86[_0x6d667c(0x14c)]=_0x5e791a,_0x4a6e86[_0x6d667c(0x19a)]=_0x5e791a,_0x4a6e86[_0x6d667c(0x14f)]=_0x1c812a(_0xe21c7d,_0x5e791a,'mpn',_0x48ff71,_0x48ff71,0x0);}return _0x4a6e86;};let J=class extends _0x1483d7{constructor(_0x52efe9,_0x386a57,_0x10b3b9,_0x522c5d){const _0x9902b1=_0x4b404a;super(),this[_0x9902b1(0x160)]=_0x52efe9,this[_0x9902b1(0x1bf)]=_0x386a57,this[_0x9902b1(0x180)]=_0x10b3b9,this['_configService']=_0x522c5d;}[_0x4b404a(0x18c)](_0x29d8c7){const _0x9e73a5=_0x4b404a;var _0x18596e,_0x55be64;let {ls:_0x247eca,pbk:_0x5dab2a}=(_0x18596e=this[_0x9e73a5(0x172)]['getConfig'](_0xc8ab92))==null?{}:_0x18596e,_0x22d8b5=_0x1a25e5()?0x1/0x0:q(0x1,_0x247eca,_0x5dab2a)[_0x9e73a5(0x14f)];if(!this[_0x9e73a5(0x160)][_0x9e73a5(0x16f)](_0x29d8c7,_0x5eb362['UNIVER_DOC']))throw Error(_0x9e73a5(0x1a1));let _0x3c8de4=this[_0x9e73a5(0x1bf)]['getRenderById'](_0x29d8c7);if(!_0x3c8de4)throw Error('Render\x20is\x20not\x20found');let _0x4c71e6=(_0x55be64=_0x3c8de4['with'](_0x1fa007)[_0x9e73a5(0x166)]()[_0x9e73a5(0x17e)]())==null?void 0x0:_0x55be64['pages'];if(!_0x4c71e6)throw Error('Pages\x20are\x20not\x20found');let _0x117fe5={'width':_0x4c71e6[0x0]['pageWidth'],'height':_0x4c71e6[0x0][_0x9e73a5(0x1a4)]},_0x5cdfed=_0x4c71e6[_0x9e73a5(0x1a5)],_0x4a39fe=Math[_0x9e73a5(0x195)](_0x22d8b5,_0x5cdfed),_0x3f2668=_0x3c8de4['mainComponent']['getOffsetConfig'](),_0x126411=document[_0x9e73a5(0x151)](_0x9e73a5(0x156));_0x126411[_0x9e73a5(0x162)]=_0x4c3313;let _0x4229d6=Array(_0x4a39fe)[_0x9e73a5(0x14d)](null)[_0x9e73a5(0x1a3)]((_0x4495d7,_0x5d4758)=>{const _0x523721=_0x9e73a5;let _0xd4dae7=new U(this[_0x523721(0x180)],_0x5d4758,_0x29d8c7,_0x3f2668);return _0xd4dae7[_0x523721(0x1c6)][_0x523721(0x162)]=_0x34ab5b,_0xd4dae7;});_0x4229d6[_0x9e73a5(0x1c1)](_0x1c9263=>{const _0x4e3f2f=_0x9e73a5;_0x126411[_0x4e3f2f(0x181)](_0x1c9263[_0x4e3f2f(0x1c6)]),_0x1c9263[_0x4e3f2f(0x1c6)][_0x4e3f2f(0x181)](_0x1c9263[_0x4e3f2f(0x16a)]),_0x1c9263['prepare']();});let _0x4bd391=_0x2a475e(_0x117fe5[_0x9e73a5(0x193)],_0x117fe5[_0x9e73a5(0x19b)],_0x270123[_0x9e73a5(0x163)]);return document[_0x9e73a5(0x1aa)][_0x9e73a5(0x181)](_0x4bd391),document[_0x9e73a5(0x1aa)][_0x9e73a5(0x181)](_0x126411),new Promise(_0x105baf=>{setTimeout(()=>{const _0x38b9f8=_0x29e2;window[_0x38b9f8(0x17a)]=()=>{const _0x4b89c3=_0x38b9f8;_0x4229d6[_0x4b89c3(0x1c1)](_0x41f0f1=>{const _0x2f5a55=_0x4b89c3;_0x41f0f1[_0x2f5a55(0x179)]();});},window[_0x38b9f8(0x169)]=()=>{const _0x99722b=_0x38b9f8;_0x4229d6[_0x99722b(0x1c1)](_0x2da513=>{const _0x1cea59=_0x99722b;_0x2da513[_0x1cea59(0x167)]();}),document[_0x99722b(0x1aa)]['removeChild'](_0x126411),document['body'][_0x99722b(0x16d)](_0x4bd391),_0x105baf(!0x0);},window[_0x38b9f8(0x18c)]();},0x64);});}};J=G([W(0x0,_0x39b214),W(0x1,_0x168721),W(0x2,_0x576d46(_0xe07b6)),W(0x3,_0xb50110)],J);const Y={'id':_0x4b404a(0x1ba),'type':_0x4adc39[_0x4b404a(0x165)],'handler':async _0x3ecb1b=>{const _0x4b95e0=_0x4b404a;let _0x55bedd=_0x3ecb1b[_0x4b95e0(0x1b4)](_0x39b214),_0x393b00=_0x3ecb1b[_0x4b95e0(0x1b4)](J),_0x221ae2=_0x3ecb1b[_0x4b95e0(0x1b4)](_0x168721),_0x17a49e=_0x3ecb1b[_0x4b95e0(0x1b4)](_0x4f1c8f),_0x261b6=_0x55bedd['getCurrentUnitOfType'](_0x5eb362[_0x4b95e0(0x1c3)]);if(!_0x261b6)return!0x1;if(!_0x221ae2[_0x4b95e0(0x1a7)](_0x261b6[_0x4b95e0(0x1c7)]()))throw Error(_0x4b95e0(0x157));let _0x56aef1=_0x261b6['getDocumentStyle']()[_0x4b95e0(0x173)];return _0x56aef1!==_0x5a14a6['TRADITIONAL']&&_0x17a49e[_0x4b95e0(0x174)](_0x3fec68['id']),await _0x393b00['print'](_0x261b6[_0x4b95e0(0x1c7)]()),_0x56aef1!==_0x5a14a6['TRADITIONAL']&&_0x17a49e['syncExecuteCommand'](_0x3fec68['id']),!0x0;}},X=_0x4b404a(0x1c0),Z={};var re=_0x4b404a(0x150),ie=_0x4b404a(0x1c5);function ae(_0x228be9){const _0x56d050=_0x4b404a;return{'id':Y['id'],'type':_0x4ef310[_0x56d050(0x18d)],'title':_0x56d050(0x152),'icon':_0x56d050(0x168),'tooltip':_0x56d050(0x152),'hidden$':_0x463a61(_0x228be9,_0x5eb362[_0x56d050(0x1c3)])};}const oe={[_0x2a317d[_0x4b404a(0x199)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':ae}}};let Q=class extends _0x1483d7{constructor(_0x1edda4,_0x541a75,_0x53b4f8){const _0x3c0193=_0x4b404a;super(),this[_0x3c0193(0x18e)]=_0x1edda4,this['_menuManagerService']=_0x541a75,this[_0x3c0193(0x198)]=_0x53b4f8,this[_0x3c0193(0x1b6)](),this[_0x3c0193(0x1af)](),this[_0x3c0193(0x15f)]();}['_initMenus'](){this['_menuManagerService']['mergeMenu'](oe);}[_0x4b404a(0x1af)](){const _0x4b3ce8=_0x4b404a;this[_0x4b3ce8(0x183)](this['_commandService'][_0x4b3ce8(0x148)](Y));}[_0x4b404a(0x15f)](){const _0x5735f7=_0x4b404a;[[_0x5735f7(0x168),_0x2e0803]][_0x5735f7(0x1c1)](([_0xe6e326,_0x58b35b])=>{const _0xa08a49=_0x5735f7;this[_0xa08a49(0x198)]['register'](_0xe6e326,_0x58b35b);});}};Q=G([W(0x0,_0x4f1c8f),W(0x1,_0x45e002),W(0x2,_0x576d46(_0x74757f))],Q);let $=class extends _0x2cefcc{constructor(_0x102009=Z,_0x25bf9f,_0x3299ac){const _0x207e93=_0x4b404a;super(),this[_0x207e93(0x16b)]=_0x102009,this[_0x207e93(0x180)]=_0x25bf9f,this['_configService']=_0x3299ac;let {menu:_0x46f1a4,..._0x42d7bd}=_0x34779a({},Z,this['_config']);_0x46f1a4&&this[_0x207e93(0x172)][_0x207e93(0x159)]('menu',_0x46f1a4,{'merge':!0x0}),this[_0x207e93(0x172)][_0x207e93(0x159)](X,_0x42d7bd);}['onStarting'](){const _0x5e8eb0=_0x4b404a;_0x35fa2e(this[_0x5e8eb0(0x180)],[[J],[Q]]);}[_0x4b404a(0x197)](){const _0x26285c=_0x4b404a;this[_0x26285c(0x180)][_0x26285c(0x1b4)](Q);}};H($,_0x4b404a(0x154),_0x4b404a(0x1c0)),H($,_0x4b404a(0x19e),re),H($,_0x4b404a(0x182),ie),H($,_0x4b404a(0x1bc),_0x5eb362[_0x4b404a(0x1c3)]),$=G([_0x5695d5(_0xba2917,_0x436461),W(0x1,_0x576d46(_0xe07b6)),W(0x2,_0xb50110)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xd018(_0x228b06,_0x5e89c2){_0x228b06=_0x228b06-0x1b8;const _0x2b6e4b=_0x2b6e();let _0xd018b0=_0x2b6e4b[_0x228b06];return _0xd018b0;}const _0x11ba42=_0xd018;(function(_0x5a1b99,_0x20bc28){const _0x4d0333=_0xd018,_0x4ced9f=_0x5a1b99();while(!![]){try{const _0x2dff18=parseInt(_0x4d0333(0x1be))/0x1*(parseInt(_0x4d0333(0x1ba))/0x2)+parseInt(_0x4d0333(0x1b9))/0x3+parseInt(_0x4d0333(0x1bf))/0x4*(-parseInt(_0x4d0333(0x1bd))/0x5)+parseInt(_0x4d0333(0x1bc))/0x6+parseInt(_0x4d0333(0x1b8))/0x7*(-parseInt(_0x4d0333(0x1c1))/0x8)+parseInt(_0x4d0333(0x1c2))/0x9+-parseInt(_0x4d0333(0x1bb))/0xa;if(_0x2dff18===_0x20bc28)break;else _0x4ced9f['push'](_0x4ced9f['shift']());}catch(_0x584461){_0x4ced9f['push'](_0x4ced9f['shift']());}}}(_0x2b6e,0x5ee17));const e={'print':{'menu':_0x11ba42(0x1c0)}};function _0x2b6e(){const _0x49d83e=['795303PbNRhK','790016LRJego','1347690MRKLbF','4472952agSnvC','223865IXhrVK','1WqLEWZ','68oFaVVX','Print','7856UGQRaM','3912768AuFvut','3962RmloOq'];_0x2b6e=function(){return _0x49d83e;};return _0x2b6e();}export{e as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2c4a(_0xa9005c,_0x23a1a1){_0xa9005c=_0xa9005c-0x191;const _0x33a731=_0x33a7();let _0x2c4a96=_0x33a731[_0xa9005c];return _0x2c4a96;}const _0xe8065a=_0x2c4a;function _0x33a7(){const _0x22663a=['6393352IDHjDH','Print','13931RyaKDB','18kIRqGN','176oeXems','66500xwTSkr','291QbLwjj','1445794qQMzzV','1006863SlYgMX','4968594LGVUzV','1118055QivzrL','220ogZrmh'];_0x33a7=function(){return _0x22663a;};return _0x33a7();}(function(_0xaaad00,_0x5217fd){const _0x42fc7f=_0x2c4a,_0x2f2d6c=_0xaaad00();while(!![]){try{const _0x3a0b0c=-parseInt(_0x42fc7f(0x19c))/0x1*(parseInt(_0x42fc7f(0x192))/0x2)+parseInt(_0x42fc7f(0x194))/0x3*(-parseInt(_0x42fc7f(0x193))/0x4)+-parseInt(_0x42fc7f(0x198))/0x5+parseInt(_0x42fc7f(0x191))/0x6*(parseInt(_0x42fc7f(0x195))/0x7)+parseInt(_0x42fc7f(0x19a))/0x8+parseInt(_0x42fc7f(0x197))/0x9+parseInt(_0x42fc7f(0x199))/0xa*(parseInt(_0x42fc7f(0x196))/0xb);if(_0x3a0b0c===_0x5217fd)break;else _0x2f2d6c['push'](_0x2f2d6c['shift']());}catch(_0xf3d292){_0x2f2d6c['push'](_0x2f2d6c['shift']());}}}(_0x33a7,0xe1337));const e={'print':{'menu':_0xe8065a(0x19b)}};export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1cb8(_0x226433,_0x455697){_0x226433=_0x226433-0x1d1;const _0x56eb8e=_0x56eb();let _0x1cb86f=_0x56eb8e[_0x226433];return _0x1cb86f;}const _0x3d5551=_0x1cb8;(function(_0x5d0982,_0x238b40){const _0x304ad5=_0x1cb8,_0x134a5c=_0x5d0982();while(!![]){try{const _0x4e6897=-parseInt(_0x304ad5(0x1d4))/0x1*(parseInt(_0x304ad5(0x1db))/0x2)+-parseInt(_0x304ad5(0x1dc))/0x3+-parseInt(_0x304ad5(0x1d8))/0x4*(-parseInt(_0x304ad5(0x1d7))/0x5)+parseInt(_0x304ad5(0x1d1))/0x6*(parseInt(_0x304ad5(0x1d6))/0x7)+parseInt(_0x304ad5(0x1d2))/0x8+-parseInt(_0x304ad5(0x1d3))/0x9*(-parseInt(_0x304ad5(0x1d5))/0xa)+-parseInt(_0x304ad5(0x1da))/0xb;if(_0x4e6897===_0x238b40)break;else _0x134a5c['push'](_0x134a5c['shift']());}catch(_0x35390a){_0x134a5c['push'](_0x134a5c['shift']());}}}(_0x56eb,0xdaa2a));function _0x56eb(){const _0x4b5c44=['17402hfhUHk','130goyOPp','1731338IxWiYm','70405SqoNOo','452Accfiq','Print','11243177qKkHMS','58WEuIgZ','5322819FYOhDl','6kQSmln','13353064oymIFM','476964sTYTdx'];_0x56eb=function(){return _0x4b5c44;};return _0x56eb();}const e={'print':{'menu':_0x3d5551(0x1d9)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const _0xbc1240=_0x24a7;(function(_0x48e457,_0x2cf3fe){const _0x4016c7=_0x24a7,_0xf21021=_0x48e457();while(!![]){try{const _0x532e24=parseInt(_0x4016c7(0x1af))/0x1*(-parseInt(_0x4016c7(0x1b3))/0x2)+-parseInt(_0x4016c7(0x1b4))/0x3*(parseInt(_0x4016c7(0x1ad))/0x4)+parseInt(_0x4016c7(0x1b5))/0x5+parseInt(_0x4016c7(0x1b6))/0x6+parseInt(_0x4016c7(0x1ae))/0x7+parseInt(_0x4016c7(0x1b2))/0x8*(-parseInt(_0x4016c7(0x1b1))/0x9)+-parseInt(_0x4016c7(0x1b7))/0xa*(-parseInt(_0x4016c7(0x1ac))/0xb);if(_0x532e24===_0x2cf3fe)break;else _0xf21021['push'](_0xf21021['shift']());}catch(_0x4cc974){_0xf21021['push'](_0xf21021['shift']());}}}(_0x27ed,0x4ed74));function _0x24a7(_0xd5db80,_0x15a01b){_0xd5db80=_0xd5db80-0x1ac;const _0x27ed65=_0x27ed();let _0x24a7d5=_0x27ed65[_0xd5db80];return _0x24a7d5;}function _0x27ed(){const _0x22f341=['155485kmxFHh','180jhALfR','3258787ohpPzt','3035OGAmJt','چاپ','126jyGCKV','220208Uatqao','156hgEtNL','4137DlVdns','823385PgcRym','310548yfDqtE','230EoZhIB'];_0x27ed=function(){return _0x22f341;};return _0x27ed();}const e={'print':{'menu':_0xbc1240(0x1b0)}};export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3f93(_0x452250,_0x29a33e){_0x452250=_0x452250-0x1bf;const _0x11fda2=_0x11fd();let _0x3f9338=_0x11fda2[_0x452250];return _0x3f9338;}function _0x11fd(){const _0x200df6=['3406256RvTqEa','18lCpDbz','3JBfKle','11XnlhWG','2381204lxrsUO','5314190zMGmgg','382062nwIOgI','2257612QJFpAx','900758lkoHNN','105ufBBWV','2391237HDNQtq'];_0x11fd=function(){return _0x200df6;};return _0x11fd();}(function(_0x3634d9,_0x550a03){const _0x17ab8b=_0x3f93,_0x20bf94=_0x3634d9();while(!![]){try{const _0x1041ef=parseInt(_0x17ab8b(0x1c0))/0x1*(-parseInt(_0x17ab8b(0x1c6))/0x2)+parseInt(_0x17ab8b(0x1c8))/0x3+parseInt(_0x17ab8b(0x1c5))/0x4+parseInt(_0x17ab8b(0x1c7))/0x5*(parseInt(_0x17ab8b(0x1c4))/0x6)+-parseInt(_0x17ab8b(0x1c2))/0x7+-parseInt(_0x17ab8b(0x1c9))/0x8*(parseInt(_0x17ab8b(0x1bf))/0x9)+-parseInt(_0x17ab8b(0x1c3))/0xa*(-parseInt(_0x17ab8b(0x1c1))/0xb);if(_0x1041ef===_0x550a03)break;else _0x20bf94['push'](_0x20bf94['shift']());}catch(_0x4ae038){_0x20bf94['push'](_0x20bf94['shift']());}}}(_0x11fd,0xa7c8d));const e={'print':{'menu':'Imprimer'}};export{e as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3ceda3,_0x592d7c){const _0x27052e=_0x3db9,_0x24e11e=_0x3ceda3();while(!![]){try{const _0x458f22=-parseInt(_0x27052e(0xdd))/0x1*(parseInt(_0x27052e(0xdf))/0x2)+parseInt(_0x27052e(0xdb))/0x3+parseInt(_0x27052e(0xdc))/0x4*(-parseInt(_0x27052e(0xd9))/0x5)+-parseInt(_0x27052e(0xde))/0x6+parseInt(_0x27052e(0xd8))/0x7+-parseInt(_0x27052e(0xda))/0x8*(-parseInt(_0x27052e(0xe0))/0x9)+-parseInt(_0x27052e(0xd7))/0xa;if(_0x458f22===_0x592d7c)break;else _0x24e11e['push'](_0x24e11e['shift']());}catch(_0x51e39a){_0x24e11e['push'](_0x24e11e['shift']());}}}(_0x44f2,0x2479a));function _0x3db9(_0x501bee,_0x46a487){_0x501bee=_0x501bee-0xd7;const _0x44f224=_0x44f2();let _0x3db92f=_0x44f224[_0x501bee];return _0x3db92f;}const e={'print':{'menu':'印刷'}};function _0x44f2(){const _0x2bc515=['4077RIKukC','841090jkzRMu','1601040mofxhP','8865WJDlYL','2448RkUzSg','843654nFxSRE','428IhxdPg','1zJdcqw','98712YfiUUL','417764CUGBWL'];_0x44f2=function(){return _0x2bc515;};return _0x44f2();}export{e as default};
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5083(_0x407038,_0x10e832){_0x407038=_0x407038-0x12e;const _0x4f1b92=_0x4f1b();let _0x508351=_0x4f1b92[_0x407038];return _0x508351;}(function(_0x56b047,_0x30db4d){const _0x488d73=_0x5083,_0x14eb36=_0x56b047();while(!![]){try{const _0x2723c0=parseInt(_0x488d73(0x130))/0x1+parseInt(_0x488d73(0x136))/0x2+-parseInt(_0x488d73(0x134))/0x3+parseInt(_0x488d73(0x12f))/0x4+-parseInt(_0x488d73(0x135))/0x5*(parseInt(_0x488d73(0x133))/0x6)+parseInt(_0x488d73(0x132))/0x7+-parseInt(_0x488d73(0x131))/0x8*(parseInt(_0x488d73(0x12e))/0x9);if(_0x2723c0===_0x30db4d)break;else _0x14eb36['push'](_0x14eb36['shift']());}catch(_0x17144f){_0x14eb36['push'](_0x14eb36['shift']());}}}(_0x4f1b,0xaf1f4));const e={'print':{'menu':'인쇄'}};export{e as default};function _0x4f1b(){const _0x1e1856=['5701252UZfoPT','559257LhLQJa','24YvDTwl','8131900lsKXUK','6OmeEjW','3307818QAuIPE','4672745ExNXkW','2549436hZywEc','4999599cDMALq'];_0x4f1b=function(){return _0x1e1856;};return _0x4f1b();}
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4b2d4f=_0x2e30;(function(_0x2d39ff,_0x8f1cfc){const _0x148917=_0x2e30,_0x223d42=_0x2d39ff();while(!![]){try{const _0x5a59e1=parseInt(_0x148917(0x86))/0x1+parseInt(_0x148917(0x8e))/0x2+parseInt(_0x148917(0x8d))/0x3*(-parseInt(_0x148917(0x87))/0x4)+-parseInt(_0x148917(0x8c))/0x5+parseInt(_0x148917(0x8a))/0x6+parseInt(_0x148917(0x85))/0x7+parseInt(_0x148917(0x89))/0x8*(-parseInt(_0x148917(0x88))/0x9);if(_0x5a59e1===_0x8f1cfc)break;else _0x223d42['push'](_0x223d42['shift']());}catch(_0x5cd178){_0x223d42['push'](_0x223d42['shift']());}}}(_0x5ec7,0x658e6));const e={'print':{'menu':_0x4b2d4f(0x8b)}};export{e as default};function _0x2e30(_0x3ae7f2,_0x20cc4a){_0x3ae7f2=_0x3ae7f2-0x85;const _0x5ec7c7=_0x5ec7();let _0x2e30ae=_0x5ec7c7[_0x3ae7f2];return _0x2e30ae;}function _0x5ec7(){const _0x1f14ae=['5295864SovqEx','253523MvBnir','81884WEJcho','9MoSVux','7094944xLiaGt','2938842AbZrSX','Печать','1079575MPDRDU','114mkMHKJ','1593546MungUZ'];_0x5ec7=function(){return _0x1f14ae;};return _0x5ec7();}
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x307664=_0x2c22;function _0x2c22(_0x1e7501,_0x3acd4d){_0x1e7501=_0x1e7501-0x12f;const _0x32529e=_0x3252();let _0x2c2296=_0x32529e[_0x1e7501];return _0x2c2296;}function _0x3252(){const _0x3419b8=['1OoUeOW','6665425nrUXch','4804767TnrxKg','6lFtCSM','Tlač','4WLbZex','5087040IbAwHC','1119410buJoVk','2040940fYcrGN','4566603CTCGAQ','2576777kIYZdT'];_0x3252=function(){return _0x3419b8;};return _0x3252();}(function(_0x42b54c,_0x46e0f0){const _0x2cfdc2=_0x2c22,_0x1cdd9a=_0x42b54c();while(!![]){try{const _0x5d96ef=parseInt(_0x2cfdc2(0x12f))/0x1*(parseInt(_0x2cfdc2(0x136))/0x2)+parseInt(_0x2cfdc2(0x138))/0x3+-parseInt(_0x2cfdc2(0x134))/0x4*(parseInt(_0x2cfdc2(0x130))/0x5)+parseInt(_0x2cfdc2(0x132))/0x6*(parseInt(_0x2cfdc2(0x139))/0x7)+-parseInt(_0x2cfdc2(0x135))/0x8+parseInt(_0x2cfdc2(0x131))/0x9+-parseInt(_0x2cfdc2(0x137))/0xa;if(_0x5d96ef===_0x46e0f0)break;else _0x1cdd9a['push'](_0x1cdd9a['shift']());}catch(_0x2e529e){_0x1cdd9a['push'](_0x1cdd9a['shift']());}}}(_0x3252,0xc5f45));const e={'print':{'menu':_0x307664(0x133)}};export{e as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x509c95,_0x45db1b){const _0x125c40=_0x3afe,_0x506822=_0x509c95();while(!![]){try{const _0x3dffc4=-parseInt(_0x125c40(0xa1))/0x1*(-parseInt(_0x125c40(0xa0))/0x2)+parseInt(_0x125c40(0x9b))/0x3*(-parseInt(_0x125c40(0xa3))/0x4)+-parseInt(_0x125c40(0x9c))/0x5+parseInt(_0x125c40(0x9f))/0x6+-parseInt(_0x125c40(0xa2))/0x7*(parseInt(_0x125c40(0x9a))/0x8)+parseInt(_0x125c40(0x9d))/0x9*(-parseInt(_0x125c40(0x9e))/0xa)+-parseInt(_0x125c40(0xa4))/0xb*(-parseInt(_0x125c40(0x99))/0xc);if(_0x3dffc4===_0x45db1b)break;else _0x506822['push'](_0x506822['shift']());}catch(_0x6efa91){_0x506822['push'](_0x506822['shift']());}}}(_0x197d,0xd5654));function _0x3afe(_0x9e262c,_0x369558){_0x9e262c=_0x9e262c-0x99;const _0x197d1e=_0x197d();let _0x3afe4a=_0x197d1e[_0x9e262c];return _0x3afe4a;}function _0x197d(){const _0x1fb974=['11275070pHBtIK','4036782SvCLlH','1634xfFoFS','1085GgSeGH','70nQPiEd','8wXmXZM','20433556TabsIu','24UbUThG','1365664kdCPgC','1411668iaDvtv','3123335JwgutM','9ueaaun'];_0x197d=function(){return _0x1fb974;};return _0x197d();}const e={'print':{'menu':'In'}};export{e as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1b50(_0x590ca6,_0x63b9d1){_0x590ca6=_0x590ca6-0x1cf;const _0x2cb6ed=_0x2cb6();let _0x1b504d=_0x2cb6ed[_0x590ca6];return _0x1b504d;}(function(_0x1a1ad7,_0x301cbf){const _0x1294f9=_0x1b50,_0x1c8e1c=_0x1a1ad7();while(!![]){try{const _0x1c5f53=parseInt(_0x1294f9(0x1d5))/0x1*(parseInt(_0x1294f9(0x1d8))/0x2)+-parseInt(_0x1294f9(0x1cf))/0x3*(-parseInt(_0x1294f9(0x1d3))/0x4)+parseInt(_0x1294f9(0x1d0))/0x5*(-parseInt(_0x1294f9(0x1d6))/0x6)+parseInt(_0x1294f9(0x1d7))/0x7*(parseInt(_0x1294f9(0x1db))/0x8)+parseInt(_0x1294f9(0x1da))/0x9*(parseInt(_0x1294f9(0x1d2))/0xa)+-parseInt(_0x1294f9(0x1d9))/0xb+parseInt(_0x1294f9(0x1d1))/0xc*(-parseInt(_0x1294f9(0x1d4))/0xd);if(_0x1c5f53===_0x301cbf)break;else _0x1c8e1c['push'](_0x1c8e1c['shift']());}catch(_0x2f52c2){_0x1c8e1c['push'](_0x1c8e1c['shift']());}}}(_0x2cb6,0x2be18));function _0x2cb6(){const _0x3d5b0c=['6922rxXoaI','892474RrCgNM','640287SBEDmi','15896SbCMLo','294rVkqVF','35EFMiUd','9684ZyjmsB','10rRNnfs','6884aFpaSC','1131MSztKH','29sDUfEO','290514OrhWuD','1162axcxxN'];_0x2cb6=function(){return _0x3d5b0c;};return _0x2cb6();}const e={'print':{'menu':'打印'}};export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5d2b36,_0x1ca97d){const _0x300c59=_0x3b79,_0x5468ef=_0x5d2b36();while(!![]){try{const _0x5aeea0=-parseInt(_0x300c59(0xae))/0x1+-parseInt(_0x300c59(0xb2))/0x2*(parseInt(_0x300c59(0xb4))/0x3)+parseInt(_0x300c59(0xb5))/0x4+-parseInt(_0x300c59(0xb0))/0x5+parseInt(_0x300c59(0xad))/0x6*(-parseInt(_0x300c59(0xb3))/0x7)+parseInt(_0x300c59(0xb1))/0x8*(-parseInt(_0x300c59(0xac))/0x9)+parseInt(_0x300c59(0xaf))/0xa;if(_0x5aeea0===_0x1ca97d)break;else _0x5468ef['push'](_0x5468ef['shift']());}catch(_0x440892){_0x5468ef['push'](_0x5468ef['shift']());}}}(_0x43be,0xa2175));function _0x43be(){const _0x1ff698=['1387984aKuBdG','10917819jXmdTD','6DpLwbu','276536HRMGtj','39939690XARgIK','4434355AAgsdA','8aTOYZn','411962ESBCAv','4778193CipJJf','9atnpuK'];_0x43be=function(){return _0x1ff698;};return _0x43be();}function _0x3b79(_0x4e5eb6,_0x2fd807){_0x4e5eb6=_0x4e5eb6-0xac;const _0x43be86=_0x43be();let _0x3b799d=_0x43be86[_0x4e5eb6];return _0x3b799d;}const e={'print':{'menu':'列印'}};export{e as default};
|