@univerjs-pro/docs-print 0.24.0-insiders.20260530-57a0a3e → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.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-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.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-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.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-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x26d9b9=_0x4aca;(function(_0x49ad18,_0x303e14){const _0x16172d=_0x4aca,_0x537a01=_0x49ad18();while(!![]){try{const _0x875946=parseInt(_0x16172d(0x239))/0x1+-parseInt(_0x16172d(0x1f6))/0x2+parseInt(_0x16172d(0x20a))/0x3+parseInt(_0x16172d(0x206))/0x4+-parseInt(_0x16172d(0x249))/0x5*(-parseInt(_0x16172d(0x1f9))/0x6)+parseInt(_0x16172d(0x23d))/0x7*(parseInt(_0x16172d(0x201))/0x8)+parseInt(_0x16172d(0x230))/0x9*(-parseInt(_0x16172d(0x22f))/0xa);if(_0x875946===_0x303e14)break;else _0x537a01['push'](_0x537a01['shift']());}catch(_0x1132c2){_0x537a01['push'](_0x537a01['shift']());}}}(_0x39e9,0x327e6),Object[_0x26d9b9(0x21b)](exports,Symbol[_0x26d9b9(0x1cb)],{'value':'Module'}));let e=require('@univerjs/core'),t=require('@univerjs/docs-ui'),n=require('@univerjs/engine-render'),r=require('@univerjs-pro/license'),i=require('@univerjs-pro/print'),a=require('@univerjs/docs'),o=require('@univerjs/ui'),s=require('@univerjs/network'),c=require('@univerjs/icons');function l(_0x3e1b92){'@babel/helpers - typeof';const _0x244c6e=_0x26d9b9;return l=typeof Symbol==_0x244c6e(0x225)&&typeof Symbol[_0x244c6e(0x1f7)]==_0x244c6e(0x1ed)?function(_0x44e8a4){return typeof _0x44e8a4;}:function(_0x3c8796){const _0xaae7d5=_0x244c6e;return _0x3c8796&&typeof Symbol=='function'&&_0x3c8796[_0xaae7d5(0x209)]===Symbol&&_0x3c8796!==Symbol['prototype']?_0xaae7d5(0x1ed):typeof _0x3c8796;},l(_0x3e1b92);}function u(_0x19f4da,_0x397adc){const _0x3c9e05=_0x26d9b9;if(l(_0x19f4da)!=_0x3c9e05(0x240)||!_0x19f4da)return _0x19f4da;var _0x1f7b1e=_0x19f4da[Symbol[_0x3c9e05(0x215)]];if(_0x1f7b1e!==void 0x0){var _0x379ea0=_0x1f7b1e[_0x3c9e05(0x1d1)](_0x19f4da,_0x397adc||_0x3c9e05(0x221));if(l(_0x379ea0)!=_0x3c9e05(0x240))return _0x379ea0;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x397adc==='string'?String:Number)(_0x19f4da);}function d(_0x3bc2fd){const _0xbdca46=_0x26d9b9;var _0x582dcb=u(_0x3bc2fd,'string');return l(_0x582dcb)==_0xbdca46(0x1ed)?_0x582dcb:_0x582dcb+'';}function f(_0x4b001e,_0x35e767,_0xa3bcdc){const _0x3d4348=_0x26d9b9;return(_0x35e767=d(_0x35e767))in _0x4b001e?Object[_0x3d4348(0x21b)](_0x4b001e,_0x35e767,{'value':_0xa3bcdc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4b001e[_0x35e767]=_0xa3bcdc,_0x4b001e;}function _0x4aca(_0x3a6d15,_0x3776dd){_0x3a6d15=_0x3a6d15-0x1a1;const _0x39e9e4=_0x39e9();let _0x4aca98=_0x39e9e4[_0x3a6d15];return _0x4aca98;}var p=class extends e[_0x26d9b9(0x1e8)]{get['container'](){const _0x5e74ce=_0x26d9b9;return this[_0x5e74ce(0x1fb)];}get[_0x26d9b9(0x1c6)](){const _0x39f4d1=_0x26d9b9;return this[_0x39f4d1(0x246)];}get[_0x26d9b9(0x1dd)](){const _0x1b1696=_0x26d9b9;let _0x47120a=this[_0x1b1696(0x1d2)][_0x1b1696(0x24a)](n['IRenderManagerService'])[_0x1b1696(0x207)](this[_0x1b1696(0x20c)]);if(!_0x47120a)throw Error(_0x1b1696(0x1db));return _0x47120a;}get['_skeleton'](){const _0x19338c=_0x26d9b9;return this[_0x19338c(0x1dd)][_0x19338c(0x216)](a[_0x19338c(0x23a)])[_0x19338c(0x200)]();}get[_0x26d9b9(0x22a)](){const _0x1da656=_0x26d9b9;let _0x15b385=this['_skeleton'][_0x1da656(0x23b)]();if(!_0x15b385)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x15b385;}get[_0x26d9b9(0x1a9)](){const _0x17958d=_0x26d9b9;let _0x52f062=this[_0x17958d(0x22a)]['pages'][0x0];return{'width':_0x52f062['pageWidth'],'height':_0x52f062[_0x17958d(0x1e3)]};}constructor(_0x1281fc,_0x207837,_0x46fd10,_0x1140f4){const _0x5cbcf0=_0x26d9b9;super(),this[_0x5cbcf0(0x1d2)]=_0x1281fc,this[_0x5cbcf0(0x1a2)]=_0x207837,this[_0x5cbcf0(0x20c)]=_0x46fd10,this['_offsetConfig']=_0x1140f4,f(this,_0x5cbcf0(0x1fb),document[_0x5cbcf0(0x1eb)](_0x5cbcf0(0x20f))),f(this,_0x5cbcf0(0x246),document[_0x5cbcf0(0x1eb)](_0x5cbcf0(0x20f))),f(this,_0x5cbcf0(0x21e),void 0x0),f(this,_0x5cbcf0(0x1c1),void 0x0),f(this,_0x5cbcf0(0x1bb),void 0x0),f(this,'_documents',void 0x0),f(this,_0x5cbcf0(0x1ec),void 0x0),f(this,'_effects',new e[(_0x5cbcf0(0x22e))]()),this[_0x5cbcf0(0x1bb)]=(0x0,e[_0x5cbcf0(0x1d3)])(0x4),this[_0x5cbcf0(0x243)](),this[_0x5cbcf0(0x1bd)]({'dispose':()=>{const _0x26f067=_0x5cbcf0;this[_0x26f067(0x21e)][_0x26f067(0x1fc)](),this[_0x26f067(0x1c1)]['dispose'](),this['_effects'][_0x26f067(0x1fc)]();}});}[_0x26d9b9(0x223)](){const _0x5c0748=_0x26d9b9;let {docsTop:_0x1b71d7,docsLeft:_0x790301}=this[_0x5c0748(0x1b7)][_0x5c0748(0x1c7)](),_0x1900b7=this[_0x5c0748(0x1a9)]['height'],_0x9ca447=this[_0x5c0748(0x1a9)][_0x5c0748(0x22d)];return{'top':_0x1b71d7+(_0x1b71d7+_0x1900b7)*this[_0x5c0748(0x1a2)],'bottom':_0x1b71d7+(_0x1b71d7+_0x1900b7)*(this[_0x5c0748(0x1a2)]+0x1),'left':_0x790301,'right':_0x790301+_0x9ca447};}[_0x26d9b9(0x243)](){const _0x1d3849=_0x26d9b9;this[_0x1d3849(0x21e)]=new n[(_0x1d3849(0x238))]('',{'elementWidth':this[_0x1d3849(0x1a9)]['width'],'elementHeight':this['_paperSize'][_0x1d3849(0x20e)],'dpr':0x1,'renderMode':n[_0x1d3849(0x20b)][_0x1d3849(0x1c8)]}),this[_0x1d3849(0x1c1)]=new n[(_0x1d3849(0x1a6))](this[_0x1d3849(0x1bb)],this[_0x1d3849(0x21e)]),this[_0x1d3849(0x1c1)][_0x1d3849(0x1c5)](0x1,0x1),this[_0x1d3849(0x21e)]['setContainer'](this[_0x1d3849(0x1fb)],!0x1),this['_engine']['getCanvas']()[_0x1d3849(0x1d7)]()[_0x1d3849(0x231)](this['_key']+'_'+(0x0,e[_0x1d3849(0x1d3)])(0x4)),this[_0x1d3849(0x22c)](),this[_0x1d3849(0x213)]();}[_0x26d9b9(0x22c)](){const _0x27ff7a=_0x26d9b9;let {pageMarginLeft:_0x26f568,pageMarginTop:_0xcbf349,docsLeft:_0x5571bb,docsTop:_0x2a69e6}=this['_offsetConfig'],_0x2dea86={'pageMarginLeft':_0x26f568,'pageMarginTop':_0xcbf349},_0x6f873d=new n[(_0x27ff7a(0x21a))](_0x27ff7a(0x1f1),this[_0x27ff7a(0x237)],_0x2dea86);_0x6f873d[_0x27ff7a(0x1ae)](_0x5571bb,_0x2a69e6),this[_0x27ff7a(0x1c1)][_0x27ff7a(0x214)](_0x6f873d),this['_documents']=_0x6f873d;let _0x591e67=this[_0x27ff7a(0x1d2)][_0x27ff7a(0x24a)](t['DocPrintInterceptorService']);_0x591e67[_0x27ff7a(0x218)]['fetchThroughInterceptors'](_0x591e67[_0x27ff7a(0x218)][_0x27ff7a(0x232)]()[_0x27ff7a(0x235)])(void 0x0,{'unitId':this[_0x27ff7a(0x20c)],'scene':this[_0x27ff7a(0x1c1)],'engine':this[_0x27ff7a(0x21e)],'root':this[_0x27ff7a(0x246)],'documents':this[_0x27ff7a(0x1b7)],'skeleton':this[_0x27ff7a(0x237)]});}['_addViewport'](){const _0xf5f9f3=_0x26d9b9;this[_0xf5f9f3(0x1ec)]=new n[(_0xf5f9f3(0x1c3))](t['VIEWPORT_KEY'][_0xf5f9f3(0x1e5)],this[_0xf5f9f3(0x1c1)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}['prepare'](){const _0x470131=_0x26d9b9;let _0x20fd61=this[_0x470131(0x223)]();this[_0x470131(0x1ec)]['updateScrollVal']({'viewportScrollX':_0x20fd61[_0x470131(0x1b4)],'viewportScrollY':_0x20fd61[_0x470131(0x234)]}),this['_root']['style']['position']='absolute',this['_root'][_0x470131(0x1ab)][_0x470131(0x234)]='0px',this[_0x470131(0x246)][_0x470131(0x1ab)][_0x470131(0x1b4)]='0px',this[_0x470131(0x246)]['style'][_0x470131(0x22d)]=_0x470131(0x1aa),this[_0x470131(0x246)][_0x470131(0x1ab)][_0x470131(0x20e)]=_0x470131(0x1aa),this[_0x470131(0x1a3)]=new e['DisposableCollection']();let _0x50612b=this[_0x470131(0x1d2)]['get'](t[_0x470131(0x229)]);_0x50612b['interceptor'][_0x470131(0x1ce)](_0x50612b[_0x470131(0x218)][_0x470131(0x232)]()[_0x470131(0x244)])(this['_effects'],{'unitId':this[_0x470131(0x20c)],'scene':this['_scene'],'engine':this[_0x470131(0x21e)],'root':this[_0x470131(0x246)],'skeleton':this['_skeleton'],'offset':{'x':_0x20fd61[_0x470131(0x1b4)],'y':_0x20fd61[_0x470131(0x234)]},'bound':{'top':_0x20fd61[_0x470131(0x234)],'left':_0x20fd61[_0x470131(0x1b4)],'right':_0x20fd61[_0x470131(0x202)],'bottom':_0x20fd61[_0x470131(0x1b8)]}});}[_0x26d9b9(0x1cd)](){const _0x2442fb=_0x26d9b9;let _0x5f499d=this[_0x2442fb(0x21e)][_0x2442fb(0x1a4)]()['getContext']();this[_0x2442fb(0x1b7)][_0x2442fb(0x1ac)](),this['_scene'][_0x2442fb(0x1bf)](),_0x5f499d[_0x2442fb(0x211)](),this['_scene'][_0x2442fb(0x1cd)](),_0x5f499d['restore']();}};function m(_0x13ec7b,_0x4bc7b0){return function(_0xb69030,_0x1487a6){_0x4bc7b0(_0xb69030,_0x1487a6,_0x13ec7b);};}function h(_0x27bcb8,_0x5f1235,_0x3f401c,_0x58ea94){const _0x46d2a4=_0x26d9b9;var _0xd69b0e=arguments[_0x46d2a4(0x1e2)],_0xcd5677=_0xd69b0e<0x3?_0x5f1235:_0x58ea94===null?_0x58ea94=Object['getOwnPropertyDescriptor'](_0x5f1235,_0x3f401c):_0x58ea94,_0x3e56a5;if(typeof Reflect==_0x46d2a4(0x240)&&typeof Reflect[_0x46d2a4(0x21c)]=='function')_0xcd5677=Reflect['decorate'](_0x27bcb8,_0x5f1235,_0x3f401c,_0x58ea94);else{for(var _0x1028ee=_0x27bcb8[_0x46d2a4(0x1e2)]-0x1;_0x1028ee>=0x0;_0x1028ee--)(_0x3e56a5=_0x27bcb8[_0x1028ee])&&(_0xcd5677=(_0xd69b0e<0x3?_0x3e56a5(_0xcd5677):_0xd69b0e>0x3?_0x3e56a5(_0x5f1235,_0x3f401c,_0xcd5677):_0x3e56a5(_0x5f1235,_0x3f401c))||_0xcd5677);}return _0xd69b0e>0x3&&_0xcd5677&&Object['defineProperty'](_0x5f1235,_0x3f401c,_0xcd5677),_0xcd5677;}const g=Number[_0x26d9b9(0x1f4)](0x6a1aaf6e),_=(_0x250663,_0x1f6150,_0x57880c)=>{const _0x445f03=_0x26d9b9;let _0x511506={'page':_0x250663,'isPro':!0x1,'timeValid':!0x1};if(!_0x1f6150||!_0x57880c)return _0x511506;let _0x17bf26=(0x0,r['getLicenseInfo'])(_0x1f6150,_0x57880c);if(_0x17bf26[_0x445f03(0x23e)]){let _0x3cc6b2=_0x17bf26[_0x445f03(0x1b1)],_0x1080f4=(0x0,r[_0x445f03(0x1b9)])(_0x3cc6b2,'df',g);_0x511506[_0x445f03(0x1b0)]=_0x1080f4,_0x511506[_0x445f03(0x203)]=_0x1080f4,_0x511506[_0x445f03(0x236)]=(0x0,r['getDocFeatureLimit'])(_0x3cc6b2,_0x1080f4,_0x445f03(0x1e6),_0x250663,_0x250663,0x0);}return _0x511506;};let v=class extends e[_0x26d9b9(0x1e8)]{constructor(_0x3bb5d1,_0x46c9ca,_0x425648,_0x4701a9,_0x115db8){const _0x4e4ccf=_0x26d9b9;super(),this[_0x4e4ccf(0x1cc)]=_0x3bb5d1,this[_0x4e4ccf(0x1f3)]=_0x46c9ca,this['_injector']=_0x425648,this[_0x4e4ccf(0x228)]=_0x4701a9,this[_0x4e4ccf(0x1d5)]=_0x115db8;}[_0x26d9b9(0x1fd)](_0x4e5796){const _0xb4454e=_0x26d9b9;var _0x1350e9,_0x4cd19d;let {ls:_0x357742,pbk:_0x4ab89f}=(_0x1350e9=this[_0xb4454e(0x228)][_0xb4454e(0x1bc)](r[_0xb4454e(0x1e4)]))==null?{}:_0x1350e9,_0xb8505c=(0x0,r[_0xb4454e(0x204)])()?0x1/0x0:_(0x1,_0x357742,_0x4ab89f)[_0xb4454e(0x236)];if(!this['_univerInstanceService'][_0xb4454e(0x1cf)](_0x4e5796,e['UniverInstanceType'][_0xb4454e(0x1f2)]))throw Error(_0xb4454e(0x1da));let _0x330f2c=this[_0xb4454e(0x1f3)][_0xb4454e(0x207)](_0x4e5796);if(!_0x330f2c)throw Error(_0xb4454e(0x1db));let _0x6a0a3c=(_0x4cd19d=_0x330f2c['with'](a[_0xb4454e(0x23a)])[_0xb4454e(0x200)]()[_0xb4454e(0x23b)]())==null?void 0x0:_0x4cd19d[_0xb4454e(0x1c2)];if(!_0x6a0a3c)throw Error(_0xb4454e(0x1ee));let _0x2ae9f9={'width':_0x6a0a3c[0x0][_0xb4454e(0x224)],'height':_0x6a0a3c[0x0][_0xb4454e(0x1e3)]},_0x2fe47a=_0x6a0a3c[_0xb4454e(0x1e2)],_0xeb5fcd=Math[_0xb4454e(0x226)](_0xb8505c,_0x2fe47a),_0x4a766e=_0x330f2c['mainComponent'][_0xb4454e(0x1c7)](),_0x4a1970=document[_0xb4454e(0x1eb)](_0xb4454e(0x20f));_0x4a1970[_0xb4454e(0x1b3)]=i[_0xb4454e(0x1ca)];let _0x27462f=Array(_0xeb5fcd)['fill'](null)['map']((_0x3a9a31,_0x44147d)=>{const _0x4199e0=_0xb4454e;let _0x1c3aa4=new p(this['_injector'],_0x44147d,_0x4e5796,_0x4a766e);return _0x1c3aa4[_0x4199e0(0x245)]['className']=i['PRINT_CANVAS_CLASS'],_0x1c3aa4;});_0x27462f[_0xb4454e(0x1f0)](_0x3c7704=>{const _0x530a30=_0xb4454e;_0x4a1970[_0x530a30(0x227)](_0x3c7704[_0x530a30(0x245)]),_0x3c7704[_0x530a30(0x245)][_0x530a30(0x227)](_0x3c7704[_0x530a30(0x1c6)]),_0x3c7704[_0x530a30(0x1e1)]();});let _0x390561=(0x0,i[_0xb4454e(0x1dc)])(_0x2ae9f9[_0xb4454e(0x22d)],_0x2ae9f9[_0xb4454e(0x20e)],i[_0xb4454e(0x241)][_0xb4454e(0x208)]);return document[_0xb4454e(0x210)][_0xb4454e(0x227)](_0x390561),document[_0xb4454e(0x210)]['appendChild'](_0x4a1970),new Promise(_0x125b7e=>{setTimeout(()=>{const _0x582dfa=_0x4aca;window[_0x582dfa(0x1e9)]=()=>{const _0x831603=_0x582dfa;_0x27462f[_0x831603(0x1f0)](_0x21ffcc=>{_0x21ffcc['render']();});},window[_0x582dfa(0x1d6)]=()=>{const _0x268c44=_0x582dfa;_0x27462f[_0x268c44(0x1f0)](_0x16696a=>{const _0x508c44=_0x268c44;_0x16696a[_0x508c44(0x1fc)]();}),document[_0x268c44(0x210)][_0x268c44(0x1fe)](_0x4a1970),document['body'][_0x268c44(0x1fe)](_0x390561),this['_globalZoneService'][_0x268c44(0x1de)](),_0x125b7e(!0x0);},window['print']();},0x64);});}};v=h([m(0x0,e[_0x26d9b9(0x1a1)]),m(0x1,n[_0x26d9b9(0x1a5)]),m(0x2,(0x0,e[_0x26d9b9(0x1af)])(e[_0x26d9b9(0x1a8)])),m(0x3,e['IConfigService']),m(0x4,o[_0x26d9b9(0x1b6)])],v);const y={'id':_0x26d9b9(0x1fa),'type':e['CommandType'][_0x26d9b9(0x233)],'handler':async _0xe8da0c=>{const _0x59d02a=_0x26d9b9;let _0x4a7018=_0xe8da0c[_0x59d02a(0x24a)](e['IUniverInstanceService']),_0x21610b=_0xe8da0c['get'](v),_0x15d577=_0xe8da0c['get'](n[_0x59d02a(0x1a5)]),_0x3d8d0f=_0xe8da0c[_0x59d02a(0x24a)](e[_0x59d02a(0x205)]),_0x4b82bf=_0x4a7018[_0x59d02a(0x248)](e[_0x59d02a(0x1d9)][_0x59d02a(0x1f2)]);if(!_0x4b82bf)return!0x1;if(!_0x15d577[_0x59d02a(0x207)](_0x4b82bf['getUnitId']()))throw Error('Render\x20is\x20not\x20found');let _0x15f7ba=_0x4b82bf['getDocumentStyle']()[_0x59d02a(0x21d)];return _0x15f7ba!==e['DocumentFlavor'][_0x59d02a(0x22b)]&&_0x3d8d0f[_0x59d02a(0x1f5)](t[_0x59d02a(0x23c)]['id']),await _0x21610b[_0x59d02a(0x1fd)](_0x4b82bf['getUnitId']()),_0x15f7ba!==e[_0x59d02a(0x1f8)][_0x59d02a(0x22b)]&&_0x3d8d0f['syncExecuteCommand'](t[_0x59d02a(0x23c)]['id']),!0x0;}},b='UNIVER_DOCS_PRINT',x={};var S=_0x26d9b9(0x1ef),C=_0x26d9b9(0x1b2);function w(_0x2ff922){const _0x19c00d=_0x26d9b9;return{'id':y['id'],'type':o[_0x19c00d(0x1c9)][_0x19c00d(0x1e7)],'title':'docs-print.menu','icon':_0x19c00d(0x1a7),'tooltip':_0x19c00d(0x24c),'hidden$':(0x0,o[_0x19c00d(0x212)])(_0x2ff922,e[_0x19c00d(0x1d9)][_0x19c00d(0x1f2)])};}const T={[o['RibbonStartGroup']['OTHERS']]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e['Disposable']{constructor(_0x51906e,_0x2b4cfd,_0x5bd467){const _0x2f356f=_0x26d9b9;super(),this[_0x2f356f(0x24d)]=_0x51906e,this[_0x2f356f(0x222)]=_0x2b4cfd,this[_0x2f356f(0x1ba)]=_0x5bd467,this['_initMenus'](),this[_0x2f356f(0x1c4)](),this['_initComponents']();}[_0x26d9b9(0x23f)](){const _0x4032d4=_0x26d9b9;this[_0x4032d4(0x222)][_0x4032d4(0x219)](T);}[_0x26d9b9(0x1c4)](){const _0x2e99b0=_0x26d9b9;this['disposeWithMe'](this[_0x2e99b0(0x24d)]['registerCommand'](y));}['_initComponents'](){const _0x2125f9=_0x26d9b9;[[_0x2125f9(0x1a7),c[_0x2125f9(0x1a7)]]]['forEach'](([_0x455c73,_0x4fccb3])=>{const _0x386bfb=_0x2125f9;this['_componentManager'][_0x386bfb(0x220)](_0x455c73,_0x4fccb3);});}};function _0x39e9(){const _0x35320d=['getOffsetConfig','Printing','MenuItemType','PRINT_CONTAINER_CLASS','toStringTag','_univerInstanceService','render','fetchThroughInterceptors','getUnit','DependentOn','call','_injector','generateRandomId','UniverLicensePlugin','_globalZoneService','onafterprint','getContext','IMenuManagerService','UniverInstanceType','DocumentDataModel\x20is\x20not\x20found','Render\x20is\x20not\x20found','createPrintStyle','_currentRender','close','UniverDocsPrintPlugin','merge','prepare','length','pageHeight','LS_CONFIG_KEY','VIEW_MAIN','mpn','BUTTON','Disposable','onbeforeprint','_config','createElement','_viewMain','symbol','Pages\x20are\x20not\x20found','@univerjs-pro/docs-print','forEach','__DocPrintRender__','UNIVER_DOC','_renderManagerService','parseInt','syncExecuteCommand','425532bvlnGK','iterator','DocumentFlavor','1842agXgab','docs.operation.print','_container','dispose','print','removeChild','UNIVER_DOCS_PRINT','getSkeleton','779200UkfsiL','right','timeValid','isLocalCheck','ICommandService','1069844MnOqXC','getRenderById','Portrait','constructor','200244FZdvKB','CanvasRenderMode','_unitId','menu','height','div','body','save','getMenuHiddenObservable','_addViewport','addObject','toPrimitive','with','DOCS_PRINT_PLUGIN_CONFIG_KEY','interceptor','mergeMenu','Documents','defineProperty','decorate','documentFlavor','_engine','setConfig','register','default','_menuManagerService','_calculateLayout','pageWidth','function','min','appendChild','_configService','DocPrintInterceptorService','_skeletonData','TRADITIONAL','_addComponent','width','DisposableCollection','40GPJCNO','907677VxdXIp','setId','getInterceptPoints','OPERATION','top','PRINTING_COMPONENT_COLLECT','page','_skeleton','Engine','289693xMnEVt','DocSkeletonManagerService','getSkeletonData','SwitchDocModeCommand','14OFphZy','valid','_initMenus','object','PrintDirection','pluginName','_initRenderer','PRINTING_DOM_COLLECT','container','_root','IConfigService','getCurrentUnitOfType','70ipBVat','get','ComponentManager','docs-print.menu','_commandService','IUniverInstanceService','_page','_effects','getCanvas','IRenderManagerService','Scene','PrintIcon','Injector','_paperSize','100%','style','makeForceDirty','UniverNetworkPlugin','translate','Inject','isPro','message','0.24.0-insiders.20260530-57a0a3e','className','left','registerDependencies','IZenZoneService','_documents','bottom','isFeatureAuthorizedWithinTime','_componentManager','_key','getConfig','disposeWithMe','packageName','makeDirty','Plugin','_scene','pages','Viewport','_initCommands','scale','root'];_0x39e9=function(){return _0x35320d;};return _0x39e9();}E=h([m(0x0,e['ICommandService']),m(0x1,o[_0x26d9b9(0x1d8)]),m(0x2,(0x0,e[_0x26d9b9(0x1af)])(o[_0x26d9b9(0x24b)]))],E);let D=class extends e[_0x26d9b9(0x1c0)]{constructor(_0x486ba5=x,_0x41f4ca,_0x1a1e37){const _0x4fa829=_0x26d9b9;super(),this[_0x4fa829(0x1ea)]=_0x486ba5,this[_0x4fa829(0x1d2)]=_0x41f4ca,this[_0x4fa829(0x228)]=_0x1a1e37;let {menu:_0x29c8d8,..._0x208ac1}=(0x0,e[_0x4fa829(0x1e0)])({},x,this[_0x4fa829(0x1ea)]);_0x29c8d8&&this['_configService'][_0x4fa829(0x21f)](_0x4fa829(0x20d),_0x29c8d8,{'merge':!0x0}),this[_0x4fa829(0x228)][_0x4fa829(0x21f)](b,_0x208ac1);}['onStarting'](){const _0x4c3885=_0x26d9b9;(0x0,e[_0x4c3885(0x1b5)])(this[_0x4c3885(0x1d2)],[[v],[E]]);}['onReady'](){const _0x4bae7a=_0x26d9b9;this[_0x4bae7a(0x1d2)]['get'](E);}};f(D,_0x26d9b9(0x242),_0x26d9b9(0x1ff)),f(D,_0x26d9b9(0x1be),S),f(D,'version',C),f(D,'type',e['UniverInstanceType'][_0x26d9b9(0x1f2)]),D=h([(0x0,e[_0x26d9b9(0x1d0)])(s[_0x26d9b9(0x1ad)],r[_0x26d9b9(0x1d4)]),m(0x1,(0x0,e['Inject'])(e['Injector'])),m(0x2,e[_0x26d9b9(0x247)])],D),exports[_0x26d9b9(0x217)]=b,exports['DocPrintOperation']=y,Object['defineProperty'](exports,_0x26d9b9(0x1df),{'enumerable':!0x0,'get':function(){return D;}});
|
|
1
|
+
function _0x5078(_0x1aa82c,_0x268af2){_0x1aa82c=_0x1aa82c-0x173;const _0x5c3284=_0x5c32();let _0x507893=_0x5c3284[_0x1aa82c];return _0x507893;}const _0x146b82=_0x5078;(function(_0x5e26d7,_0x53e605){const _0x2a596b=_0x5078,_0x2ee817=_0x5e26d7();while(!![]){try{const _0x55dbd5=-parseInt(_0x2a596b(0x17b))/0x1+parseInt(_0x2a596b(0x222))/0x2*(-parseInt(_0x2a596b(0x1a3))/0x3)+-parseInt(_0x2a596b(0x1b9))/0x4+parseInt(_0x2a596b(0x1e8))/0x5+-parseInt(_0x2a596b(0x211))/0x6*(-parseInt(_0x2a596b(0x195))/0x7)+parseInt(_0x2a596b(0x19b))/0x8*(parseInt(_0x2a596b(0x18d))/0x9)+parseInt(_0x2a596b(0x206))/0xa;if(_0x55dbd5===_0x53e605)break;else _0x2ee817['push'](_0x2ee817['shift']());}catch(_0x56c9ba){_0x2ee817['push'](_0x2ee817['shift']());}}}(_0x5c32,0xd95f2),Object[_0x146b82(0x179)](exports,Symbol[_0x146b82(0x20c)],{'value':_0x146b82(0x200)}));let e=require('@univerjs/core'),t=require('@univerjs/docs-ui'),n=require('@univerjs/engine-render'),r=require('@univerjs-pro/license'),i=require('@univerjs-pro/print'),a=require('@univerjs/docs'),o=require('@univerjs/ui'),s=require('@univerjs/network'),c=require('@univerjs/icons');function l(_0xdb531e){'@babel/helpers - typeof';const _0x570867=_0x146b82;return l=typeof Symbol=='function'&&typeof Symbol[_0x570867(0x1cc)]=='symbol'?function(_0x338b74){return typeof _0x338b74;}:function(_0x50fa47){const _0x140361=_0x570867;return _0x50fa47&&typeof Symbol==_0x140361(0x1c0)&&_0x50fa47[_0x140361(0x1c8)]===Symbol&&_0x50fa47!==Symbol[_0x140361(0x209)]?_0x140361(0x1c2):typeof _0x50fa47;},l(_0xdb531e);}function u(_0x1e4a9c,_0x43dc35){const _0x3e07d6=_0x146b82;if(l(_0x1e4a9c)!=_0x3e07d6(0x1f0)||!_0x1e4a9c)return _0x1e4a9c;var _0xea1187=_0x1e4a9c[Symbol[_0x3e07d6(0x1b6)]];if(_0xea1187!==void 0x0){var _0x2b9dd7=_0xea1187[_0x3e07d6(0x216)](_0x1e4a9c,_0x43dc35||_0x3e07d6(0x1de));if(l(_0x2b9dd7)!=_0x3e07d6(0x1f0))return _0x2b9dd7;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x43dc35==='string'?String:Number)(_0x1e4a9c);}function d(_0xde8c1e){const _0x4f51b9=_0x146b82;var _0x4794a6=u(_0xde8c1e,_0x4f51b9(0x225));return l(_0x4794a6)=='symbol'?_0x4794a6:_0x4794a6+'';}function f(_0x45ffd1,_0x44d1c5,_0x2a1335){return(_0x44d1c5=d(_0x44d1c5))in _0x45ffd1?Object['defineProperty'](_0x45ffd1,_0x44d1c5,{'value':_0x2a1335,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x45ffd1[_0x44d1c5]=_0x2a1335,_0x45ffd1;}var p=class extends e[_0x146b82(0x218)]{get[_0x146b82(0x1f9)](){const _0x3235ff=_0x146b82;return this[_0x3235ff(0x228)];}get[_0x146b82(0x1dd)](){const _0x57b137=_0x146b82;return this[_0x57b137(0x1a8)];}get[_0x146b82(0x1a9)](){const _0x3880b1=_0x146b82;let _0x59b648=this['_injector'][_0x3880b1(0x202)](n[_0x3880b1(0x174)])['getRenderById'](this[_0x3880b1(0x1b0)]);if(!_0x59b648)throw Error(_0x3880b1(0x1f7));return _0x59b648;}get[_0x146b82(0x21b)](){const _0x16a011=_0x146b82;return this[_0x16a011(0x1a9)][_0x16a011(0x1ee)](a[_0x16a011(0x1cb)])[_0x16a011(0x1e0)]();}get['_skeletonData'](){const _0x40dd09=_0x146b82;let _0x59f3da=this['_skeleton'][_0x40dd09(0x227)]();if(!_0x59f3da)throw Error(_0x40dd09(0x1be));return _0x59f3da;}get[_0x146b82(0x20d)](){const _0x5bd0b2=_0x146b82;let _0x5f1e67=this['_skeletonData']['pages'][0x0];return{'width':_0x5f1e67[_0x5bd0b2(0x1d8)],'height':_0x5f1e67['pageHeight']};}constructor(_0x250c20,_0x5a7380,_0x7e7da8,_0x39c39a){const _0x42d659=_0x146b82;super(),this['_injector']=_0x250c20,this['_page']=_0x5a7380,this[_0x42d659(0x1b0)]=_0x7e7da8,this[_0x42d659(0x1fc)]=_0x39c39a,f(this,_0x42d659(0x228),document['createElement'](_0x42d659(0x1d4))),f(this,_0x42d659(0x1a8),document[_0x42d659(0x1eb)](_0x42d659(0x1d4))),f(this,_0x42d659(0x1ce),void 0x0),f(this,_0x42d659(0x1a7),void 0x0),f(this,_0x42d659(0x188),void 0x0),f(this,_0x42d659(0x208),void 0x0),f(this,_0x42d659(0x1c3),void 0x0),f(this,_0x42d659(0x1e9),new e[(_0x42d659(0x220))]()),this['_key']=(0x0,e[_0x42d659(0x196)])(0x4),this['_initRenderer'](),this[_0x42d659(0x180)]({'dispose':()=>{const _0x2c8565=_0x42d659;this[_0x2c8565(0x1ce)][_0x2c8565(0x1a2)](),this[_0x2c8565(0x1a7)][_0x2c8565(0x1a2)](),this[_0x2c8565(0x1e9)]['dispose']();}});}[_0x146b82(0x1c1)](){const _0x4d6b0e=_0x146b82;let {docsTop:_0x6d898e,docsLeft:_0x25de67}=this[_0x4d6b0e(0x208)][_0x4d6b0e(0x19a)](),_0x269539=this[_0x4d6b0e(0x20d)]['height'],_0x3c5d50=this[_0x4d6b0e(0x20d)]['width'];return{'top':_0x6d898e+(_0x6d898e+_0x269539)*this[_0x4d6b0e(0x20a)],'bottom':_0x6d898e+(_0x6d898e+_0x269539)*(this[_0x4d6b0e(0x20a)]+0x1),'left':_0x25de67,'right':_0x25de67+_0x3c5d50};}[_0x146b82(0x1ec)](){const _0x1c5015=_0x146b82;this['_engine']=new n[(_0x1c5015(0x214))]('',{'elementWidth':this[_0x1c5015(0x20d)][_0x1c5015(0x207)],'elementHeight':this['_paperSize'][_0x1c5015(0x203)],'dpr':0x1,'renderMode':n[_0x1c5015(0x1ca)]['Printing']}),this[_0x1c5015(0x1a7)]=new n[(_0x1c5015(0x21f))](this['_key'],this[_0x1c5015(0x1ce)]),this[_0x1c5015(0x1a7)]['scale'](0x1,0x1),this[_0x1c5015(0x1ce)][_0x1c5015(0x17f)](this['_container'],!0x1),this[_0x1c5015(0x1ce)]['getCanvas']()[_0x1c5015(0x190)]()['setId'](this[_0x1c5015(0x188)]+'_'+(0x0,e[_0x1c5015(0x196)])(0x4)),this[_0x1c5015(0x1aa)](),this[_0x1c5015(0x21c)]();}[_0x146b82(0x1aa)](){const _0x2a823a=_0x146b82;let {pageMarginLeft:_0x481356,pageMarginTop:_0x1eff7a,docsLeft:_0x4c7e39,docsTop:_0x4089fc}=this[_0x2a823a(0x1fc)],_0x3c035e={'pageMarginLeft':_0x481356,'pageMarginTop':_0x1eff7a},_0x3394bd=new n['Documents']('__DocPrintRender__',this[_0x2a823a(0x21b)],_0x3c035e);_0x3394bd[_0x2a823a(0x18a)](_0x4c7e39,_0x4089fc),this[_0x2a823a(0x1a7)][_0x2a823a(0x205)](_0x3394bd),this[_0x2a823a(0x208)]=_0x3394bd;let _0x30fa1c=this[_0x2a823a(0x1cd)]['get'](t['DocPrintInterceptorService']);_0x30fa1c[_0x2a823a(0x20e)]['fetchThroughInterceptors'](_0x30fa1c[_0x2a823a(0x20e)][_0x2a823a(0x1c6)]()[_0x2a823a(0x1bc)])(void 0x0,{'unitId':this['_unitId'],'scene':this[_0x2a823a(0x1a7)],'engine':this['_engine'],'root':this[_0x2a823a(0x1a8)],'documents':this['_documents'],'skeleton':this['_skeleton']});}[_0x146b82(0x21c)](){const _0x257d67=_0x146b82;this[_0x257d67(0x1c3)]=new n[(_0x257d67(0x186))](t[_0x257d67(0x1b1)][_0x257d67(0x219)],this[_0x257d67(0x1a7)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x146b82(0x1ad)](){const _0x4393a7=_0x146b82;let _0x4fd044=this[_0x4393a7(0x1c1)]();this[_0x4393a7(0x1c3)][_0x4393a7(0x1c4)]({'viewportScrollX':_0x4fd044[_0x4393a7(0x201)],'viewportScrollY':_0x4fd044['top']}),this[_0x4393a7(0x1a8)]['style'][_0x4393a7(0x199)]=_0x4393a7(0x173),this[_0x4393a7(0x1a8)]['style']['top']='0px',this[_0x4393a7(0x1a8)][_0x4393a7(0x1c9)][_0x4393a7(0x201)]=_0x4393a7(0x1b4),this[_0x4393a7(0x1a8)][_0x4393a7(0x1c9)]['width']='100%',this['_root'][_0x4393a7(0x1c9)][_0x4393a7(0x203)]='100%',this[_0x4393a7(0x1e9)]=new e[(_0x4393a7(0x220))]();let _0x150627=this[_0x4393a7(0x1cd)][_0x4393a7(0x202)](t['DocPrintInterceptorService']);_0x150627[_0x4393a7(0x20e)][_0x4393a7(0x183)](_0x150627[_0x4393a7(0x20e)][_0x4393a7(0x1c6)]()[_0x4393a7(0x1e7)])(this['_effects'],{'unitId':this[_0x4393a7(0x1b0)],'scene':this['_scene'],'engine':this[_0x4393a7(0x1ce)],'root':this[_0x4393a7(0x1a8)],'skeleton':this[_0x4393a7(0x21b)],'offset':{'x':_0x4fd044['left'],'y':_0x4fd044[_0x4393a7(0x181)]},'bound':{'top':_0x4fd044[_0x4393a7(0x181)],'left':_0x4fd044[_0x4393a7(0x201)],'right':_0x4fd044[_0x4393a7(0x210)],'bottom':_0x4fd044['bottom']}});}[_0x146b82(0x213)](){const _0x221e15=_0x146b82;let _0x3eb1f6=this['_engine'][_0x221e15(0x1b2)]()[_0x221e15(0x190)]();this[_0x221e15(0x208)]['makeForceDirty'](),this[_0x221e15(0x1a7)][_0x221e15(0x1fd)](),_0x3eb1f6[_0x221e15(0x17d)](),this[_0x221e15(0x1a7)][_0x221e15(0x213)](),_0x3eb1f6[_0x221e15(0x1ac)]();}};function m(_0x1b5d72,_0x4eba5d){return function(_0x2a3226,_0x5e2ab1){_0x4eba5d(_0x2a3226,_0x5e2ab1,_0x1b5d72);};}function h(_0x264222,_0x5dbdb8,_0x4c6c28,_0x52b5d7){const _0x25f9f9=_0x146b82;var _0xfa8c7e=arguments[_0x25f9f9(0x1f2)],_0xf85022=_0xfa8c7e<0x3?_0x5dbdb8:_0x52b5d7===null?_0x52b5d7=Object[_0x25f9f9(0x226)](_0x5dbdb8,_0x4c6c28):_0x52b5d7,_0x1a2bbd;if(typeof Reflect==_0x25f9f9(0x1f0)&&typeof Reflect[_0x25f9f9(0x1c7)]==_0x25f9f9(0x1c0))_0xf85022=Reflect['decorate'](_0x264222,_0x5dbdb8,_0x4c6c28,_0x52b5d7);else{for(var _0x46d336=_0x264222[_0x25f9f9(0x1f2)]-0x1;_0x46d336>=0x0;_0x46d336--)(_0x1a2bbd=_0x264222[_0x46d336])&&(_0xf85022=(_0xfa8c7e<0x3?_0x1a2bbd(_0xf85022):_0xfa8c7e>0x3?_0x1a2bbd(_0x5dbdb8,_0x4c6c28,_0xf85022):_0x1a2bbd(_0x5dbdb8,_0x4c6c28))||_0xf85022);}return _0xfa8c7e>0x3&&_0xf85022&&Object[_0x25f9f9(0x179)](_0x5dbdb8,_0x4c6c28,_0xf85022),_0xf85022;}const g=Number[_0x146b82(0x1d1)](0x6a1aba27),_=(_0x42d81a,_0x26b53d,_0x1b2c45)=>{const _0x582742=_0x146b82;let _0x316f99={'page':_0x42d81a,'isPro':!0x1,'timeValid':!0x1};if(!_0x26b53d||!_0x1b2c45)return _0x316f99;let _0xd0e841=(0x0,r[_0x582742(0x1cf)])(_0x26b53d,_0x1b2c45);if(_0xd0e841[_0x582742(0x20b)]){let _0xfec77e=_0xd0e841[_0x582742(0x1dc)],_0x5b04b0=(0x0,r[_0x582742(0x192)])(_0xfec77e,'df',g);_0x316f99[_0x582742(0x217)]=_0x5b04b0,_0x316f99[_0x582742(0x223)]=_0x5b04b0,_0x316f99[_0x582742(0x21d)]=(0x0,r['getDocFeatureLimit'])(_0xfec77e,_0x5b04b0,_0x582742(0x1ab),_0x42d81a,_0x42d81a,0x0);}return _0x316f99;};let v=class extends e[_0x146b82(0x218)]{constructor(_0x367121,_0x36bba8,_0x44b8e2,_0x1b2e80,_0xa66b8b){const _0x27b73a=_0x146b82;super(),this['_univerInstanceService']=_0x367121,this[_0x27b73a(0x198)]=_0x36bba8,this[_0x27b73a(0x1cd)]=_0x44b8e2,this[_0x27b73a(0x194)]=_0x1b2e80,this[_0x27b73a(0x19e)]=_0xa66b8b;}[_0x146b82(0x17c)](_0x5b056f){const _0x3f7639=_0x146b82;var _0x2fe23c,_0x5bc367;let {ls:_0xe40ac7,pbk:_0x5d45ce}=(_0x2fe23c=this[_0x3f7639(0x194)][_0x3f7639(0x1ae)](r[_0x3f7639(0x1e5)]))==null?{}:_0x2fe23c,_0x4d0f3b=(0x0,r[_0x3f7639(0x175)])()?0x1/0x0:_(0x1,_0xe40ac7,_0x5d45ce)[_0x3f7639(0x21d)];if(!this[_0x3f7639(0x1bf)][_0x3f7639(0x1b3)](_0x5b056f,e[_0x3f7639(0x1d0)][_0x3f7639(0x1ef)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x348cd6=this['_renderManagerService'][_0x3f7639(0x221)](_0x5b056f);if(!_0x348cd6)throw Error(_0x3f7639(0x1f7));let _0x178be4=(_0x5bc367=_0x348cd6[_0x3f7639(0x1ee)](a[_0x3f7639(0x1cb)])[_0x3f7639(0x1e0)]()[_0x3f7639(0x227)]())==null?void 0x0:_0x5bc367[_0x3f7639(0x1a6)];if(!_0x178be4)throw Error(_0x3f7639(0x178));let _0x2cc4b7={'width':_0x178be4[0x0][_0x3f7639(0x1d8)],'height':_0x178be4[0x0][_0x3f7639(0x1e4)]},_0x5840cd=_0x178be4[_0x3f7639(0x1f2)],_0x151101=Math[_0x3f7639(0x176)](_0x4d0f3b,_0x5840cd),_0x58276d=_0x348cd6[_0x3f7639(0x18e)][_0x3f7639(0x19a)](),_0x34aa0f=document['createElement'](_0x3f7639(0x1d4));_0x34aa0f[_0x3f7639(0x1e1)]=i[_0x3f7639(0x1f8)];let _0x44f6b6=Array(_0x151101)[_0x3f7639(0x1bd)](null)[_0x3f7639(0x1a0)]((_0x5223c1,_0x3ef3f6)=>{const _0x525728=_0x3f7639;let _0x67a6a0=new p(this[_0x525728(0x1cd)],_0x3ef3f6,_0x5b056f,_0x58276d);return _0x67a6a0[_0x525728(0x1f9)][_0x525728(0x1e1)]=i['PRINT_CANVAS_CLASS'],_0x67a6a0;});_0x44f6b6['forEach'](_0x4ae10a=>{const _0x16563e=_0x3f7639;_0x34aa0f['appendChild'](_0x4ae10a[_0x16563e(0x1f9)]),_0x4ae10a['container'][_0x16563e(0x1db)](_0x4ae10a[_0x16563e(0x1dd)]),_0x4ae10a[_0x16563e(0x1ad)]();});let _0x1f51c5=(0x0,i[_0x3f7639(0x18c)])(_0x2cc4b7[_0x3f7639(0x207)],_0x2cc4b7['height'],i[_0x3f7639(0x1df)][_0x3f7639(0x1fe)]);return document['body'][_0x3f7639(0x1db)](_0x1f51c5),document[_0x3f7639(0x19f)][_0x3f7639(0x1db)](_0x34aa0f),new Promise(_0x26611a=>{setTimeout(()=>{const _0x7f8bb6=_0x5078;window['onbeforeprint']=()=>{_0x44f6b6['forEach'](_0x379240=>{const _0x1ec662=_0x5078;_0x379240[_0x1ec662(0x213)]();});},window[_0x7f8bb6(0x1fa)]=()=>{const _0x3f329f=_0x7f8bb6;_0x44f6b6['forEach'](_0x571f2e=>{const _0x14e765=_0x5078;_0x571f2e[_0x14e765(0x1a2)]();}),document['body'][_0x3f329f(0x184)](_0x34aa0f),document[_0x3f329f(0x19f)][_0x3f329f(0x184)](_0x1f51c5),this[_0x3f329f(0x19e)][_0x3f329f(0x1d3)](),_0x26611a(!0x0);},window[_0x7f8bb6(0x17c)]();},0x64);});}};v=h([m(0x0,e[_0x146b82(0x1ba)]),m(0x1,n[_0x146b82(0x174)]),m(0x2,(0x0,e[_0x146b82(0x18b)])(e[_0x146b82(0x19c)])),m(0x3,e[_0x146b82(0x1f1)]),m(0x4,o['IZenZoneService'])],v);const y={'id':_0x146b82(0x19d),'type':e[_0x146b82(0x1fb)][_0x146b82(0x1a4)],'handler':async _0x2b93cf=>{const _0x33b01f=_0x146b82;let _0x53f291=_0x2b93cf[_0x33b01f(0x202)](e[_0x33b01f(0x1ba)]),_0x5c5eb2=_0x2b93cf[_0x33b01f(0x202)](v),_0x12fd36=_0x2b93cf[_0x33b01f(0x202)](n[_0x33b01f(0x174)]),_0x5a57ca=_0x2b93cf[_0x33b01f(0x202)](e[_0x33b01f(0x224)]),_0x3f749a=_0x53f291[_0x33b01f(0x187)](e[_0x33b01f(0x1d0)][_0x33b01f(0x1ef)]);if(!_0x3f749a)return!0x1;if(!_0x12fd36[_0x33b01f(0x221)](_0x3f749a['getUnitId']()))throw Error(_0x33b01f(0x1f7));let _0xbb0293=_0x3f749a[_0x33b01f(0x204)]()[_0x33b01f(0x189)];return _0xbb0293!==e[_0x33b01f(0x1b8)][_0x33b01f(0x1d6)]&&_0x5a57ca['syncExecuteCommand'](t[_0x33b01f(0x1f4)]['id']),await _0x5c5eb2[_0x33b01f(0x17c)](_0x3f749a[_0x33b01f(0x1d2)]()),_0xbb0293!==e[_0x33b01f(0x1b8)][_0x33b01f(0x1d6)]&&_0x5a57ca[_0x33b01f(0x1b7)](t[_0x33b01f(0x1f4)]['id']),!0x0;}},b='UNIVER_DOCS_PRINT',x={};var S=_0x146b82(0x21e),C=_0x146b82(0x1f3);function w(_0x3f2a44){const _0x23a3a1=_0x146b82;return{'id':y['id'],'type':o['MenuItemType'][_0x23a3a1(0x18f)],'title':_0x23a3a1(0x1d5),'icon':_0x23a3a1(0x215),'tooltip':'docs-print.menu','hidden$':(0x0,o[_0x23a3a1(0x17a)])(_0x3f2a44,e[_0x23a3a1(0x1d0)][_0x23a3a1(0x1ef)])};}const T={[o[_0x146b82(0x177)]['OTHERS']]:{[y['id']]:{'order':0.1,'menuItemFactory':w}}};let E=class extends e[_0x146b82(0x218)]{constructor(_0x133c7d,_0x544fa8,_0xd8ee6c){const _0x331515=_0x146b82;super(),this[_0x331515(0x193)]=_0x133c7d,this[_0x331515(0x191)]=_0x544fa8,this[_0x331515(0x1b5)]=_0xd8ee6c,this[_0x331515(0x1a1)](),this[_0x331515(0x1ed)](),this['_initComponents']();}[_0x146b82(0x1a1)](){const _0x23e10d=_0x146b82;this[_0x23e10d(0x191)][_0x23e10d(0x1a5)](T);}[_0x146b82(0x1ed)](){const _0x533a52=_0x146b82;this['disposeWithMe'](this[_0x533a52(0x193)][_0x533a52(0x1ff)](y));}[_0x146b82(0x17e)](){const _0x282455=_0x146b82;[['PrintIcon',c[_0x282455(0x215)]]][_0x282455(0x197)](([_0x2abdb2,_0x35764b])=>{const _0x1bea5a=_0x282455;this['_componentManager'][_0x1bea5a(0x1bb)](_0x2abdb2,_0x35764b);});}};E=h([m(0x0,e[_0x146b82(0x224)]),m(0x1,o[_0x146b82(0x1af)]),m(0x2,(0x0,e['Inject'])(o[_0x146b82(0x1da)]))],E);let D=class extends e[_0x146b82(0x21a)]{constructor(_0x364f6c=x,_0x3fc5f3,_0x8e4ac6){const _0x2f11f0=_0x146b82;super(),this['_config']=_0x364f6c,this[_0x2f11f0(0x1cd)]=_0x3fc5f3,this[_0x2f11f0(0x194)]=_0x8e4ac6;let {menu:_0x53ebbe,..._0x3fe490}=(0x0,e[_0x2f11f0(0x1f6)])({},x,this[_0x2f11f0(0x1e3)]);_0x53ebbe&&this[_0x2f11f0(0x194)][_0x2f11f0(0x1ea)]('menu',_0x53ebbe,{'merge':!0x0}),this[_0x2f11f0(0x194)][_0x2f11f0(0x1ea)](b,_0x3fe490);}[_0x146b82(0x20f)](){(0x0,e['registerDependencies'])(this['_injector'],[[v],[E]]);}[_0x146b82(0x1d9)](){const _0xe80dbb=_0x146b82;this['_injector'][_0xe80dbb(0x202)](E);}};f(D,_0x146b82(0x1f5),_0x146b82(0x1e6)),f(D,_0x146b82(0x182),S),f(D,_0x146b82(0x185),C),f(D,_0x146b82(0x1e2),e[_0x146b82(0x1d0)][_0x146b82(0x1ef)]),D=h([(0x0,e['DependentOn'])(s[_0x146b82(0x212)],r['UniverLicensePlugin']),m(0x1,(0x0,e[_0x146b82(0x18b)])(e[_0x146b82(0x19c)])),m(0x2,e['IConfigService'])],D),exports[_0x146b82(0x1c5)]=b,exports[_0x146b82(0x1d7)]=y,Object[_0x146b82(0x179)](exports,'UniverDocsPrintPlugin',{'enumerable':!0x0,'get':function(){return D;}});function _0x5c32(){const _0x436bc7=['_documents','prototype','_page','valid','toStringTag','_paperSize','interceptor','onStarting','right','2223696kLQIcx','UniverNetworkPlugin','render','Engine','PrintIcon','call','isPro','Disposable','VIEW_MAIN','Plugin','_skeleton','_addViewport','page','@univerjs-pro/docs-print','Scene','DisposableCollection','getRenderById','18EXUoXj','timeValid','ICommandService','string','getOwnPropertyDescriptor','getSkeletonData','_container','absolute','IRenderManagerService','isLocalCheck','min','RibbonStartGroup','Pages\x20are\x20not\x20found','defineProperty','getMenuHiddenObservable','81762JTvxGt','print','save','_initComponents','setContainer','disposeWithMe','top','packageName','fetchThroughInterceptors','removeChild','version','Viewport','getCurrentUnitOfType','_key','documentFlavor','translate','Inject','createPrintStyle','1045863yzgKwe','mainComponent','BUTTON','getContext','_menuManagerService','isFeatureAuthorizedWithinTime','_commandService','_configService','7mVBAcX','generateRandomId','forEach','_renderManagerService','position','getOffsetConfig','120KeYUBT','Injector','docs.operation.print','_globalZoneService','body','map','_initMenus','dispose','364143uUXyNS','OPERATION','mergeMenu','pages','_scene','_root','_currentRender','_addComponent','mpn','restore','prepare','getConfig','IMenuManagerService','_unitId','VIEWPORT_KEY','getCanvas','getUnit','0px','_componentManager','toPrimitive','syncExecuteCommand','DocumentFlavor','6406972AFtzYk','IUniverInstanceService','register','PRINTING_COMPONENT_COLLECT','fill','Skeleton\x20data\x20is\x20not\x20found','_univerInstanceService','function','_calculateLayout','symbol','_viewMain','updateScrollVal','DOCS_PRINT_PLUGIN_CONFIG_KEY','getInterceptPoints','decorate','constructor','style','CanvasRenderMode','DocSkeletonManagerService','iterator','_injector','_engine','getLicenseInfo','UniverInstanceType','parseInt','getUnitId','close','div','docs-print.menu','TRADITIONAL','DocPrintOperation','pageWidth','onReady','ComponentManager','appendChild','message','root','default','PrintDirection','getSkeleton','className','type','_config','pageHeight','LS_CONFIG_KEY','UNIVER_DOCS_PRINT','PRINTING_DOM_COLLECT','6867670FtOZFJ','_effects','setConfig','createElement','_initRenderer','_initCommands','with','UNIVER_DOC','object','IConfigService','length','0.25.0','SwitchDocModeCommand','pluginName','merge','Render\x20is\x20not\x20found','PRINT_CONTAINER_CLASS','container','onafterprint','CommandType','_offsetConfig','makeDirty','Portrait','registerCommand','Module','left','get','height','getDocumentStyle','addObject','1790330RtTdIL','width'];_0x5c32=function(){return _0x436bc7;};return _0x5c32();}
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5ecb3c=_0x2ce6;function _0x2136(){const _0x137a0e=['3xMhLyY','6ogjMIy','33YAdqQz','17YDVyIo','1269452rGVxKg','13934uCBrIp','exports','5719610JzpgpT','4922544RUwSvV','603806qjiqAA','طباعة','2883840iWsTtV','1138788Uetoxz'];_0x2136=function(){return _0x137a0e;};return _0x2136();}(function(_0xd7fc11,_0x5c147a){const _0x3a0411=_0x2ce6,_0x5db48f=_0xd7fc11();while(!![]){try{const _0x58fd9e=parseInt(_0x3a0411(0xf6))/0x1*(parseInt(_0x3a0411(0xf8))/0x2)+-parseInt(_0x3a0411(0xf3))/0x3*(parseInt(_0x3a0411(0xf7))/0x4)+-parseInt(_0x3a0411(0xfe))/0x5*(parseInt(_0x3a0411(0xf4))/0x6)+-parseInt(_0x3a0411(0xfc))/0x7+-parseInt(_0x3a0411(0xfb))/0x8+parseInt(_0x3a0411(0xf2))/0x9+-parseInt(_0x3a0411(0xfa))/0xa*(-parseInt(_0x3a0411(0xf5))/0xb);if(_0x58fd9e===_0x5c147a)break;else _0x5db48f['push'](_0x5db48f['shift']());}catch(_0x5cf38c){_0x5db48f['push'](_0x5db48f['shift']());}}}(_0x2136,0x5925b));function _0x2ce6(_0x3a17f9,_0x4eca25){_0x3a17f9=_0x3a17f9-0xf2;const _0x2136f1=_0x2136();let _0x2ce603=_0x2136f1[_0x3a17f9];return _0x2ce603;}const e={'docs-print':{'menu':_0x5ecb3c(0xfd)}};module[_0x5ecb3c(0xf9)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x226867=_0x12e9;function _0x4db2(){const _0x5ec646=['8185626UpCaoR','149490bkllhT','exports','598178pubiFI','64756QeZIca','104uYdjiW','2974641VEZqCL','248388EutINT','206138gHxnSJ','Imprimir','165SxrHKW','506RvUqSu','2VdPWBG'];_0x4db2=function(){return _0x5ec646;};return _0x4db2();}(function(_0x2ea022,_0x5b3b50){const _0x204251=_0x12e9,_0x255eb9=_0x2ea022();while(!![]){try{const _0x27cef3=parseInt(_0x204251(0xf4))/0x1+-parseInt(_0x204251(0xf8))/0x2*(parseInt(_0x204251(0xf2))/0x3)+-parseInt(_0x204251(0xf0))/0x4*(-parseInt(_0x204251(0xf6))/0x5)+-parseInt(_0x204251(0xf3))/0x6+parseInt(_0x204251(0xef))/0x7*(parseInt(_0x204251(0xf1))/0x8)+-parseInt(_0x204251(0xec))/0x9+parseInt(_0x204251(0xed))/0xa*(parseInt(_0x204251(0xf7))/0xb);if(_0x27cef3===_0x5b3b50)break;else _0x255eb9['push'](_0x255eb9['shift']());}catch(_0x58b885){_0x255eb9['push'](_0x255eb9['shift']());}}}(_0x4db2,0x919f8));const e={'docs-print':{'menu':_0x226867(0xf5)}};function _0x12e9(_0x42fc37,_0x16bc79){_0x42fc37=_0x42fc37-0xec;const _0x4db233=_0x4db2();let _0x12e93b=_0x4db233[_0x42fc37];return _0x12e93b;}module[_0x226867(0xee)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2e47cb=_0xc0ff;(function(_0x5a37bc,_0x181253){const _0x3b2d9c=_0xc0ff,_0x7c60bf=_0x5a37bc();while(!![]){try{const _0x5b5869=-parseInt(_0x3b2d9c(0xdc))/0x1*(parseInt(_0x3b2d9c(0xd8))/0x2)+-parseInt(_0x3b2d9c(0xe0))/0x3*(parseInt(_0x3b2d9c(0xdf))/0x4)+parseInt(_0x3b2d9c(0xd9))/0x5+parseInt(_0x3b2d9c(0xd7))/0x6*(parseInt(_0x3b2d9c(0xd4))/0x7)+-parseInt(_0x3b2d9c(0xde))/0x8*(parseInt(_0x3b2d9c(0xdb))/0x9)+-parseInt(_0x3b2d9c(0xd6))/0xa*(-parseInt(_0x3b2d9c(0xdd))/0xb)+-parseInt(_0x3b2d9c(0xda))/0xc*(-parseInt(_0x3b2d9c(0xd3))/0xd);if(_0x5b5869===_0x181253)break;else _0x7c60bf['push'](_0x7c60bf['shift']());}catch(_0x55d9f0){_0x7c60bf['push'](_0x7c60bf['shift']());}}}(_0x5e68,0x36e22));function _0x5e68(){const _0x3ae485=['245GPHilC','Drucken','10EuLhlB','71628nzolar','579466HgmFhs','910435nQPsMK','12tkcffx','891sjRoWg','1KTNOJm','1870594TvENMU','1832XuUVou','8RuvJuY','601548sKAKkp','exports','2187471tsjkSL'];_0x5e68=function(){return _0x3ae485;};return _0x5e68();}function _0xc0ff(_0x2beaf8,_0x59581d){_0x2beaf8=_0x2beaf8-0xd2;const _0x5e68dd=_0x5e68();let _0xc0ff87=_0x5e68dd[_0x2beaf8];return _0xc0ff87;}const e={'docs-print':{'menu':_0x2e47cb(0xd5)}};module[_0x2e47cb(0xd2)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3646(_0x51d402,_0x47a5d7){_0x51d402=_0x51d402-0xf2;const _0x46df04=_0x46df();let _0x364645=_0x46df04[_0x51d402];return _0x364645;}function _0x46df(){const _0x411033=['5437644DUVXBU','8Hddzlj','10306692KAHOBY','Print','8mJDmwz','175178BjIvQi','6126dFcOge','56910JSJPoU','exports','3738627kPhosn','7nJUkdN','16293320SffaSG','3xSsHXO'];_0x46df=function(){return _0x411033;};return _0x46df();}const _0x183e5a=_0x3646;(function(_0x17255b,_0x50ba29){const _0x1a7545=_0x3646,_0x874975=_0x17255b();while(!![]){try{const _0x1fd0db=-parseInt(_0x1a7545(0xf9))/0x1*(parseInt(_0x1a7545(0xfd))/0x2)+parseInt(_0x1a7545(0xf7))/0x3*(-parseInt(_0x1a7545(0xf8))/0x4)+-parseInt(_0x1a7545(0xf2))/0x5+parseInt(_0x1a7545(0xfe))/0x6*(parseInt(_0x1a7545(0xf5))/0x7)+-parseInt(_0x1a7545(0xfc))/0x8*(-parseInt(_0x1a7545(0xf4))/0x9)+parseInt(_0x1a7545(0xf6))/0xa+parseInt(_0x1a7545(0xfa))/0xb;if(_0x1fd0db===_0x50ba29)break;else _0x874975['push'](_0x874975['shift']());}catch(_0x150105){_0x874975['push'](_0x874975['shift']());}}}(_0x46df,0xde777));const e={'docs-print':{'menu':_0x183e5a(0xfb)}};module[_0x183e5a(0xf3)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x40ad02=_0x37e7;function _0x37e7(_0x50cf0b,_0x740ed6){_0x50cf0b=_0x50cf0b-0x153;const _0x8cd3e7=_0x8cd3();let _0x37e714=_0x8cd3e7[_0x50cf0b];return _0x37e714;}function _0x8cd3(){const _0x3620e0=['2pujXbW','670ubPCtx','2840148GyXJrY','3221589FjjYTd','485yuOWlv','8HRrAdN','10160370JGDeFf','4zMZMiq','52872SzRxUH','179245xzRPtw','2548947JfTanF','exports','1725793zZLeJs','143uSvvTm'];_0x8cd3=function(){return _0x3620e0;};return _0x8cd3();}(function(_0x532533,_0x6728e5){const _0x3f5749=_0x37e7,_0xabc3a3=_0x532533();while(!![]){try{const _0x2edacd=parseInt(_0x3f5749(0x15c))/0x1*(parseInt(_0x3f5749(0x15e))/0x2)+-parseInt(_0x3f5749(0x15a))/0x3*(-parseInt(_0x3f5749(0x157))/0x4)+-parseInt(_0x3f5749(0x154))/0x5*(parseInt(_0x3f5749(0x158))/0x6)+-parseInt(_0x3f5749(0x153))/0x7*(parseInt(_0x3f5749(0x155))/0x8)+parseInt(_0x3f5749(0x156))/0x9+parseInt(_0x3f5749(0x15f))/0xa*(parseInt(_0x3f5749(0x159))/0xb)+-parseInt(_0x3f5749(0x160))/0xc*(parseInt(_0x3f5749(0x15d))/0xd);if(_0x2edacd===_0x6728e5)break;else _0xabc3a3['push'](_0xabc3a3['shift']());}catch(_0x3f5d0c){_0xabc3a3['push'](_0xabc3a3['shift']());}}}(_0x8cd3,0xd646d));const e={'docs-print':{'menu':'Imprimir'}};module[_0x40ad02(0x15b)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2ceb(){const _0x4461ec=['1258809qfBinP','83992ivTgFP','65yLNtmj','9733113lhddYf','6493688iBKChc','18248KxaXGc','exports','283476lXWtbt','2947ABuOsm','3520900xUsKNx','36CLOCxC'];_0x2ceb=function(){return _0x4461ec;};return _0x2ceb();}const _0x234091=_0x8b62;function _0x8b62(_0x4b0562,_0x1d6b9d){_0x4b0562=_0x4b0562-0x1c8;const _0x2ceb7d=_0x2ceb();let _0x8b622f=_0x2ceb7d[_0x4b0562];return _0x8b622f;}(function(_0x4eede6,_0x2e76f2){const _0x3d4fe4=_0x8b62,_0x34d7df=_0x4eede6();while(!![]){try{const _0x287d7f=parseInt(_0x3d4fe4(0x1cd))/0x1*(-parseInt(_0x3d4fe4(0x1cf))/0x2)+parseInt(_0x3d4fe4(0x1ce))/0x3+parseInt(_0x3d4fe4(0x1d2))/0x4+parseInt(_0x3d4fe4(0x1d0))/0x5*(parseInt(_0x3d4fe4(0x1ca))/0x6)+-parseInt(_0x3d4fe4(0x1cb))/0x7*(parseInt(_0x3d4fe4(0x1c8))/0x8)+parseInt(_0x3d4fe4(0x1d1))/0x9+-parseInt(_0x3d4fe4(0x1cc))/0xa;if(_0x287d7f===_0x2e76f2)break;else _0x34d7df['push'](_0x34d7df['shift']());}catch(_0x5b1e79){_0x34d7df['push'](_0x34d7df['shift']());}}}(_0x2ceb,0xdf401));const e={'docs-print':{'menu':'چاپ'}};module[_0x234091(0x1c9)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5c6e(_0x3c1935,_0x3a91fd){_0x3c1935=_0x3c1935-0x1ca;const _0x4a8092=_0x4a80();let _0x5c6e4e=_0x4a8092[_0x3c1935];return _0x5c6e4e;}const _0x8b82e7=_0x5c6e;function _0x4a80(){const _0x5806c4=['4PMaTGC','1534251TALybc','2WwFivS','108344vKSAyf','1106wFZMUx','306AetqRZ','577653GtMbtm','2429195KRxXVB','31473893qUEcHy','17526zFIMVM','Imprimer','706570sqjyBE'];_0x4a80=function(){return _0x5806c4;};return _0x4a80();}(function(_0x2bb8fa,_0x458738){const _0x407c7f=_0x5c6e,_0x24a95d=_0x2bb8fa();while(!![]){try{const _0x1b7f84=-parseInt(_0x407c7f(0x1d5))/0x1+-parseInt(_0x407c7f(0x1d1))/0x2*(parseInt(_0x407c7f(0x1d0))/0x3)+-parseInt(_0x407c7f(0x1cf))/0x4*(parseInt(_0x407c7f(0x1ca))/0x5)+parseInt(_0x407c7f(0x1cc))/0x6*(-parseInt(_0x407c7f(0x1d3))/0x7)+-parseInt(_0x407c7f(0x1d2))/0x8*(parseInt(_0x407c7f(0x1d4))/0x9)+parseInt(_0x407c7f(0x1ce))/0xa+parseInt(_0x407c7f(0x1cb))/0xb;if(_0x1b7f84===_0x458738)break;else _0x24a95d['push'](_0x24a95d['shift']());}catch(_0x1635cf){_0x24a95d['push'](_0x24a95d['shift']());}}}(_0x4a80,0x6a357));const e={'docs-print':{'menu':_0x8b82e7(0x1cd)}};module['exports']=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1e8545=_0x25a1;(function(_0xd14a9d,_0x28e734){const _0x424233=_0x25a1,_0x2cf078=_0xd14a9d();while(!![]){try{const _0x1d0b29=-parseInt(_0x424233(0xb3))/0x1*(parseInt(_0x424233(0xae))/0x2)+parseInt(_0x424233(0xaf))/0x3+-parseInt(_0x424233(0xb1))/0x4*(parseInt(_0x424233(0xb2))/0x5)+parseInt(_0x424233(0xaa))/0x6*(-parseInt(_0x424233(0xb5))/0x7)+parseInt(_0x424233(0xad))/0x8*(-parseInt(_0x424233(0xb0))/0x9)+parseInt(_0x424233(0xb4))/0xa*(-parseInt(_0x424233(0xac))/0xb)+parseInt(_0x424233(0xab))/0xc;if(_0x1d0b29===_0x28e734)break;else _0x2cf078['push'](_0x2cf078['shift']());}catch(_0x5b22f5){_0x2cf078['push'](_0x2cf078['shift']());}}}(_0x23c6,0x3973d));const e={'docs-print':{'menu':'Cetak'}};function _0x25a1(_0x274169,_0x5f3320){_0x274169=_0x274169-0xaa;const _0x23c6ff=_0x23c6();let _0x25a12c=_0x23c6ff[_0x274169];return _0x25a12c;}function _0x23c6(){const _0x4950ac=['1mOMNeG','2247190RSuyiZ','66654ZwzmNw','exports','6CtRGbt','10287768mGHTpv','22OuFKGj','131984Iasiyj','361694FatWKY','1025172qrZOoY','126wWAYfG','4sPGxLS','464670kKvmiu'];_0x23c6=function(){return _0x4950ac;};return _0x23c6();}module[_0x1e8545(0xb6)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xf89f(_0x498b66,_0x111ed0){_0x498b66=_0x498b66-0x7c;const _0xcca56b=_0xcca5();let _0xf89f3f=_0xcca56b[_0x498b66];return _0xf89f3f;}const _0x30bfe1=_0xf89f;(function(_0x117450,_0x3ae387){const _0x1ecbb6=_0xf89f,_0x1f2b32=_0x117450();while(!![]){try{const _0x23ce95=parseInt(_0x1ecbb6(0x86))/0x1*(-parseInt(_0x1ecbb6(0x7f))/0x2)+-parseInt(_0x1ecbb6(0x7e))/0x3+parseInt(_0x1ecbb6(0x7c))/0x4+parseInt(_0x1ecbb6(0x83))/0x5+-parseInt(_0x1ecbb6(0x82))/0x6+-parseInt(_0x1ecbb6(0x80))/0x7+parseInt(_0x1ecbb6(0x84))/0x8*(parseInt(_0x1ecbb6(0x7d))/0x9);if(_0x23ce95===_0x3ae387)break;else _0x1f2b32['push'](_0x1f2b32['shift']());}catch(_0x16384b){_0x1f2b32['push'](_0x1f2b32['shift']());}}}(_0xcca5,0xbb0ab));const e={'docs-print':{'menu':_0x30bfe1(0x85)}};module[_0x30bfe1(0x81)]=e;function _0xcca5(){const _0x1dcfa3=['3457750iQIRHI','47352zWxiqe','Stampa','2BTbPIy','2111764uQwmxs','3447aAhSXC','2945172stVKgF','40052cYyTTD','9991548mzzOaR','exports','1627230NxGbXr'];_0xcca5=function(){return _0x1dcfa3;};return _0xcca5();}
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x20368f=_0x155f;(function(_0x5ec03b,_0x107a5d){const _0x326ad3=_0x155f,_0x4ada13=_0x5ec03b();while(!![]){try{const _0x54698f=-parseInt(_0x326ad3(0x1e2))/0x1+parseInt(_0x326ad3(0x1e7))/0x2*(-parseInt(_0x326ad3(0x1e6))/0x3)+parseInt(_0x326ad3(0x1e8))/0x4*(parseInt(_0x326ad3(0x1df))/0x5)+-parseInt(_0x326ad3(0x1e3))/0x6+-parseInt(_0x326ad3(0x1e0))/0x7*(-parseInt(_0x326ad3(0x1e5))/0x8)+-parseInt(_0x326ad3(0x1e9))/0x9+-parseInt(_0x326ad3(0x1ea))/0xa*(-parseInt(_0x326ad3(0x1e1))/0xb);if(_0x54698f===_0x107a5d)break;else _0x4ada13['push'](_0x4ada13['shift']());}catch(_0x47700f){_0x4ada13['push'](_0x4ada13['shift']());}}}(_0x4d01,0x3c62e));const e={'docs-print':{'menu':'印刷'}};module[_0x20368f(0x1e4)]=e;function _0x155f(_0x52c28,_0x57feaa){_0x52c28=_0x52c28-0x1df;const _0x4d015b=_0x4d01();let _0x155fa3=_0x4d015b[_0x52c28];return _0x155fa3;}function _0x4d01(){const _0x23f60d=['7604YSZrSX','810153GeFpEM','940jUIARZ','440ENmOJW','42PVvPCZ','36146dpSebF','366058MzSCbe','542928bHRlcf','exports','610168GfWOsP','39jrnlMD','21522hMSmCR'];_0x4d01=function(){return _0x23f60d;};return _0x4d01();}
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5d94(){const _0x6d6c3c=['2405250HmECAL','4739940iMUDdb','1218KSVpcA','20565296BkmiIG','11544ICTAOT','2055996jaywXr','5097345gMbzqd','907057Ryltcl'];_0x5d94=function(){return _0x6d6c3c;};return _0x5d94();}(function(_0x3788df,_0x556622){const _0x41c406=_0x56b5,_0x22ad95=_0x3788df();while(!![]){try{const _0x4828cb=parseInt(_0x41c406(0x93))/0x1+-parseInt(_0x41c406(0x99))/0x2+parseInt(_0x41c406(0x94))/0x3+parseInt(_0x41c406(0x95))/0x4+parseInt(_0x41c406(0x92))/0x5+parseInt(_0x41c406(0x98))/0x6*(parseInt(_0x41c406(0x96))/0x7)+-parseInt(_0x41c406(0x97))/0x8;if(_0x4828cb===_0x556622)break;else _0x22ad95['push'](_0x22ad95['shift']());}catch(_0x365eea){_0x22ad95['push'](_0x22ad95['shift']());}}}(_0x5d94,0x9e8a1));const e={'docs-print':{'menu':'인쇄'}};function _0x56b5(_0x456998,_0x3e724e){_0x456998=_0x456998-0x92;const _0x5d9457=_0x5d94();let _0x56b526=_0x5d9457[_0x456998];return _0x56b526;}module['exports']=e;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x272bbb=_0xa3a7;function _0x46f8(){const _0x5dd3b5=['2100590BKloNd','44huPEij','Drukuj','2900eCwgBq','exports','1086QEGlEm','16332RyzYKO','3DyFVir','464220izsfIn','15tvxSnH','1883672BlevTp','4257rlhQgx','39176iOYVik','20489rxSUZS'];_0x46f8=function(){return _0x5dd3b5;};return _0x46f8();}(function(_0x5fcdc4,_0x4fbafb){const _0x614b65=_0xa3a7,_0x1f05b2=_0x5fcdc4();while(!![]){try{const _0x3b353b=-parseInt(_0x614b65(0x6d))/0x1*(parseInt(_0x614b65(0x70))/0x2)+-parseInt(_0x614b65(0x6b))/0x3*(-parseInt(_0x614b65(0x6c))/0x4)+-parseInt(_0x614b65(0x72))/0x5+-parseInt(_0x614b65(0x69))/0x6*(-parseInt(_0x614b65(0x71))/0x7)+parseInt(_0x614b65(0x6e))/0x8+parseInt(_0x614b65(0x6f))/0x9*(parseInt(_0x614b65(0x67))/0xa)+parseInt(_0x614b65(0x73))/0xb*(parseInt(_0x614b65(0x6a))/0xc);if(_0x3b353b===_0x4fbafb)break;else _0x1f05b2['push'](_0x1f05b2['shift']());}catch(_0x422ac2){_0x1f05b2['push'](_0x1f05b2['shift']());}}}(_0x46f8,0x4bad9));function _0xa3a7(_0x1c1bb0,_0x5a901e){_0x1c1bb0=_0x1c1bb0-0x66;const _0x46f833=_0x46f8();let _0xa3a7f5=_0x46f833[_0x1c1bb0];return _0xa3a7f5;}const e={'docs-print':{'menu':_0x272bbb(0x66)}};module[_0x272bbb(0x68)]=e;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x54e3(_0x4be9dd,_0x4d838b){_0x4be9dd=_0x4be9dd-0xf2;const _0x33e17d=_0x33e1();let _0x54e371=_0x33e17d[_0x4be9dd];return _0x54e371;}const _0x4f2e78=_0x54e3;function _0x33e1(){const _0x47866c=['141618KTRVmt','Imprimir','3066984ZaTUiq','12ejVrme','4qeHBsY','10uKXIhk','1968237uPhMgC','33290vmFiCX','164339iGaQCc','4367XZojMe','1509390takFeL','302828nHSNfm','exports'];_0x33e1=function(){return _0x47866c;};return _0x33e1();}(function(_0x1ac438,_0x5c8dd2){const _0x418ffe=_0x54e3,_0x56bb8e=_0x1ac438();while(!![]){try{const _0x295c06=parseInt(_0x418ffe(0xf5))/0x1*(-parseInt(_0x418ffe(0xf9))/0x2)+-parseInt(_0x418ffe(0xfb))/0x3+-parseInt(_0x418ffe(0xf3))/0x4*(-parseInt(_0x418ffe(0xfa))/0x5)+-parseInt(_0x418ffe(0xf8))/0x6*(-parseInt(_0x418ffe(0xfd))/0x7)+-parseInt(_0x418ffe(0xf7))/0x8+parseInt(_0x418ffe(0xf2))/0x9+parseInt(_0x418ffe(0xfc))/0xa*(parseInt(_0x418ffe(0xfe))/0xb);if(_0x295c06===_0x5c8dd2)break;else _0x56bb8e['push'](_0x56bb8e['shift']());}catch(_0x35f056){_0x56bb8e['push'](_0x56bb8e['shift']());}}}(_0x33e1,0x591cb));const e={'docs-print':{'menu':_0x4f2e78(0xf6)}};module[_0x4f2e78(0xf4)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x16c9(){const _0x568ed3=['2555nYAuEf','979733OtwRUh','30Necywg','2RQOFyV','11290568Nuxkzr','1738971ruqAug','1614111WGtFvi','4225524GqJTXF','6930UwYwEm','exports','8448910dYDAGc','Печать'];_0x16c9=function(){return _0x568ed3;};return _0x16c9();}const _0x5a0db9=_0x27b1;function _0x27b1(_0x13d0f2,_0x2f1aa9){_0x13d0f2=_0x13d0f2-0x9d;const _0x16c992=_0x16c9();let _0x27b1d4=_0x16c992[_0x13d0f2];return _0x27b1d4;}(function(_0x1a28a7,_0x34d519){const _0x1b287c=_0x27b1,_0x9ca921=_0x1a28a7();while(!![]){try{const _0x40f1ee=-parseInt(_0x1b287c(0xa0))/0x1*(-parseInt(_0x1b287c(0xa2))/0x2)+parseInt(_0x1b287c(0xa5))/0x3+-parseInt(_0x1b287c(0xa6))/0x4+parseInt(_0x1b287c(0x9d))/0x5+-parseInt(_0x1b287c(0xa7))/0x6*(parseInt(_0x1b287c(0x9f))/0x7)+-parseInt(_0x1b287c(0xa3))/0x8+parseInt(_0x1b287c(0xa4))/0x9*(parseInt(_0x1b287c(0xa1))/0xa);if(_0x40f1ee===_0x34d519)break;else _0x9ca921['push'](_0x9ca921['shift']());}catch(_0x37237b){_0x9ca921['push'](_0x9ca921['shift']());}}}(_0x16c9,0xdb38c));const e={'docs-print':{'menu':_0x5a0db9(0x9e)}};module[_0x5a0db9(0xa8)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2db2(_0xcba20,_0x95811e){_0xcba20=_0xcba20-0x140;const _0x234fc3=_0x234f();let _0x2db224=_0x234fc3[_0xcba20];return _0x2db224;}const _0x240aaa=_0x2db2;function _0x234f(){const _0x16b27c=['10116732uzhrFu','4460595JmeJss','239519AUlZgg','2206960Nbqadj','2479648euMbOl','26228tFbenE','104bvGqbY','358320qEjwWZ','Tlač','exports'];_0x234f=function(){return _0x16b27c;};return _0x234f();}(function(_0x123113,_0x4b8c71){const _0x5d8a17=_0x2db2,_0x1bbb2e=_0x123113();while(!![]){try{const _0x328a8b=-parseInt(_0x5d8a17(0x149))/0x1*(-parseInt(_0x5d8a17(0x148))/0x2)+parseInt(_0x5d8a17(0x144))/0x3+-parseInt(_0x5d8a17(0x147))/0x4+parseInt(_0x5d8a17(0x146))/0x5+-parseInt(_0x5d8a17(0x143))/0x6+parseInt(_0x5d8a17(0x145))/0x7+-parseInt(_0x5d8a17(0x140))/0x8;if(_0x328a8b===_0x4b8c71)break;else _0x1bbb2e['push'](_0x1bbb2e['shift']());}catch(_0x54b4c9){_0x1bbb2e['push'](_0x1bbb2e['shift']());}}}(_0x234f,0xee292));const e={'docs-print':{'menu':_0x240aaa(0x141)}};module[_0x240aaa(0x142)]=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2b5a9c=_0x1c9f;(function(_0x4ceaab,_0x4da74e){const _0x407361=_0x1c9f,_0xbd499f=_0x4ceaab();while(!![]){try{const _0x1d0220=-parseInt(_0x407361(0x160))/0x1+parseInt(_0x407361(0x15f))/0x2+parseInt(_0x407361(0x15e))/0x3*(parseInt(_0x407361(0x159))/0x4)+parseInt(_0x407361(0x15d))/0x5+-parseInt(_0x407361(0x15a))/0x6+parseInt(_0x407361(0x158))/0x7+-parseInt(_0x407361(0x15c))/0x8;if(_0x1d0220===_0x4da74e)break;else _0xbd499f['push'](_0xbd499f['shift']());}catch(_0x131c2e){_0xbd499f['push'](_0xbd499f['shift']());}}}(_0x4212,0xb84b1));function _0x4212(){const _0x321ffc=['3585NaxgWS','229206nBoGxo','1021109jzzSgw','10261069cxlBui','3432wirWUk','8593698PYtbBx','exports','600384xAXWtw','3387625rlEkWg'];_0x4212=function(){return _0x321ffc;};return _0x4212();}const e={'docs-print':{'menu':'In'}};function _0x1c9f(_0x155d45,_0x5998ac){_0x155d45=_0x155d45-0x158;const _0x4212db=_0x4212();let _0x1c9f3a=_0x4212db[_0x155d45];return _0x1c9f3a;}module[_0x2b5a9c(0x15b)]=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2464(_0x5c58fa,_0x1469da){_0x5c58fa=_0x5c58fa-0x10c;const _0x398bc6=_0x398b();let _0x246455=_0x398bc6[_0x5c58fa];return _0x246455;}(function(_0x22c8aa,_0x3dca6c){const _0x311bfa=_0x2464,_0x21e0b2=_0x22c8aa();while(!![]){try{const _0x49b894=parseInt(_0x311bfa(0x117))/0x1*(-parseInt(_0x311bfa(0x10f))/0x2)+-parseInt(_0x311bfa(0x115))/0x3+parseInt(_0x311bfa(0x112))/0x4*(parseInt(_0x311bfa(0x10e))/0x5)+parseInt(_0x311bfa(0x110))/0x6*(parseInt(_0x311bfa(0x116))/0x7)+parseInt(_0x311bfa(0x111))/0x8*(-parseInt(_0x311bfa(0x10c))/0x9)+parseInt(_0x311bfa(0x114))/0xa+-parseInt(_0x311bfa(0x113))/0xb*(-parseInt(_0x311bfa(0x10d))/0xc);if(_0x49b894===_0x3dca6c)break;else _0x21e0b2['push'](_0x21e0b2['shift']());}catch(_0x1e8f80){_0x21e0b2['push'](_0x21e0b2['shift']());}}}(_0x398b,0xbe138));function _0x398b(){const _0x527b6f=['3522483zGNGGr','8701356Cfqmsz','10DAIApS','802KZMTHh','1224GlXUeM','8GGQkOZ','216184SPwMYV','11MmCPAC','7252560kqJfhA','1784586IDwEbp','8071lFHHtt','72GXXKQZ'];_0x398b=function(){return _0x527b6f;};return _0x398b();}const e={'docs-print':{'menu':'打印'}};module['exports']=e;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const _0x1bb4d2=_0x5911;function _0x5911(_0x54f603,_0x3dfabe){_0x54f603=_0x54f603-0x6d;const _0x3cd1ef=_0x3cd1();let _0x59113d=_0x3cd1ef[_0x54f603];return _0x59113d;}function _0x3cd1(){const _0x43a487=['1173594xCMaSU','115bcFsGG','1593572dRyhWg','exports','15694zyHkae','5UquiLI','11367nuqcno','1574078jztmZV','232JeihtJ','350004URXSxy','1450dzJSMN','5002UuPqdB'];_0x3cd1=function(){return _0x43a487;};return _0x3cd1();}(function(_0x24bd23,_0x5a985a){const _0x4c53ee=_0x5911,_0xa656f=_0x24bd23();while(!![]){try{const _0x57e760=parseInt(_0x4c53ee(0x70))/0x1*(parseInt(_0x4c53ee(0x6e))/0x2)+parseInt(_0x4c53ee(0x78))/0x3+parseInt(_0x4c53ee(0x71))/0x4+parseInt(_0x4c53ee(0x74))/0x5*(-parseInt(_0x4c53ee(0x6f))/0x6)+parseInt(_0x4c53ee(0x73))/0x7*(-parseInt(_0x4c53ee(0x77))/0x8)+parseInt(_0x4c53ee(0x75))/0x9*(-parseInt(_0x4c53ee(0x6d))/0xa)+-parseInt(_0x4c53ee(0x76))/0xb;if(_0x57e760===_0x5a985a)break;else _0xa656f['push'](_0xa656f['shift']());}catch(_0x536bc8){_0xa656f['push'](_0xa656f['shift']());}}}(_0x3cd1,0x34b12));const e={'docs-print':{'menu':'列印'}};module[_0x1bb4d2(0x72)]=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x43c6(_0x4164dc,_0x158661){_0x4164dc=_0x4164dc-0x82;const _0x852502=_0x8525();let _0x43c647=_0x852502[_0x4164dc];return _0x43c647;}function _0x8525(){const _0x3f16f9=['1813887YVmUCS','5947365EwKtpN','2069940TeTUUa','429352NdlqEC','5450616UcQlYG','1106133dNtebZ','17863055JitJYt','exports'];_0x8525=function(){return _0x3f16f9;};return _0x8525();}const _0x4408a8=_0x43c6;(function(_0x196e67,_0x3cbd33){const _0x4f1976=_0x43c6,_0x4ce057=_0x196e67();while(!![]){try{const _0x59b2c4=-parseInt(_0x4f1976(0x88))/0x1+-parseInt(_0x4f1976(0x86))/0x2+-parseInt(_0x4f1976(0x83))/0x3+-parseInt(_0x4f1976(0x87))/0x4+parseInt(_0x4f1976(0x84))/0x5+parseInt(_0x4f1976(0x85))/0x6+parseInt(_0x4f1976(0x89))/0x7;if(_0x59b2c4===_0x3cbd33)break;else _0x4ce057['push'](_0x4ce057['shift']());}catch(_0x590c68){_0x4ce057['push'](_0x4ce057['shift']());}}}(_0x8525,0xc2e1c));const e={'docs-print':{'menu':'列印'}};module[_0x4408a8(0x82)]=e;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x424130=_0x4a9a;(function(_0x28c83d,_0x1c6831){const _0x37fd7d=_0x4a9a,_0x2684b9=_0x28c83d();while(!![]){try{const _0x530585=parseInt(_0x37fd7d(0x13c))/0x1*(-parseInt(_0x37fd7d(0x186))/0x2)+parseInt(_0x37fd7d(0x133))/0x3*(parseInt(_0x37fd7d(0x124))/0x4)+-parseInt(_0x37fd7d(0x18f))/0x5+-parseInt(_0x37fd7d(0x19b))/0x6+-parseInt(_0x37fd7d(0x169))/0x7+parseInt(_0x37fd7d(0x1a7))/0x8*(parseInt(_0x37fd7d(0x12a))/0x9)+parseInt(_0x37fd7d(0x1a1))/0xa;if(_0x530585===_0x1c6831)break;else _0x2684b9['push'](_0x2684b9['shift']());}catch(_0x1c29e8){_0x2684b9['push'](_0x2684b9['shift']());}}}(_0x4f32,0xaf232));import{CommandType as _0x432b1a,DependentOn as _0x5ba9f4,Disposable as _0x2422ea,DisposableCollection as _0x211c46,DocumentFlavor as _0x4eed08,ICommandService as _0x23bd95,IConfigService as _0x19ab90,IUniverInstanceService as _0x207fb3,Inject as _0x287350,Injector as _0x31a7bc,Plugin as _0x6d036c,UniverInstanceType as _0x6d890f,generateRandomId as _0x127e82,merge as _0x5b7a6f,registerDependencies as _0x28abe3}from'@univerjs/core';import{DocPrintInterceptorService as _0x3e54a2,SwitchDocModeCommand as _0xac9b84,VIEWPORT_KEY as _0x500753}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x665cde,Documents as _0x504caf,Engine as _0x227fe1,IRenderManagerService as _0x11dd25,Scene as _0x3851d9,Viewport as _0x539d87}from'@univerjs/engine-render';import{LS_CONFIG_KEY as _0x27a777,UniverLicensePlugin as _0x3d2f5b,getDocFeatureLimit as _0x32d670,getLicenseInfo as _0x3fa700,isFeatureAuthorizedWithinTime as _0xe6f3d2,isLocalCheck as _0x32f5b1}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x2de3bb,PRINT_CONTAINER_CLASS as _0x13cfad,PrintDirection as _0x140c3c,createPrintStyle as _0x30aea4}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x3bce77}from'@univerjs/docs';import{ComponentManager as _0x33c2ce,IMenuManagerService as _0x3cf659,IZenZoneService as _0x2d885c,MenuItemType as _0x453ed4,RibbonStartGroup as _0x3cac99,getMenuHiddenObservable as _0x3327a6}from'@univerjs/ui';import{UniverNetworkPlugin as _0xf5d917}from'@univerjs/network';import{PrintIcon as _0x12ee52}from'@univerjs/icons';function z(_0x4da055){'@babel/helpers - typeof';const _0x3c4a69=_0x4a9a;return z=typeof Symbol==_0x3c4a69(0x172)&&typeof Symbol[_0x3c4a69(0x149)]=='symbol'?function(_0x147723){return typeof _0x147723;}:function(_0x360d18){const _0x20719f=_0x3c4a69;return _0x360d18&&typeof Symbol==_0x20719f(0x172)&&_0x360d18[_0x20719f(0x12b)]===Symbol&&_0x360d18!==Symbol[_0x20719f(0x159)]?_0x20719f(0x125):typeof _0x360d18;},z(_0x4da055);}function B(_0x2efd74,_0x3aec40){const _0x19317b=_0x4a9a;if(z(_0x2efd74)!=_0x19317b(0x122)||!_0x2efd74)return _0x2efd74;var _0x5eacb9=_0x2efd74[Symbol['toPrimitive']];if(_0x5eacb9!==void 0x0){var _0x28248d=_0x5eacb9['call'](_0x2efd74,_0x3aec40||'default');if(z(_0x28248d)!=_0x19317b(0x122))return _0x28248d;throw TypeError(_0x19317b(0x17e));}return(_0x3aec40===_0x19317b(0x18d)?String:Number)(_0x2efd74);}function V(_0x1c95ee){const _0x48a12b=_0x4a9a;var _0x2182e2=B(_0x1c95ee,_0x48a12b(0x18d));return z(_0x2182e2)==_0x48a12b(0x125)?_0x2182e2:_0x2182e2+'';}function H(_0x1b68ca,_0x524f7c,_0x562c31){return(_0x524f7c=V(_0x524f7c))in _0x1b68ca?Object['defineProperty'](_0x1b68ca,_0x524f7c,{'value':_0x562c31,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1b68ca[_0x524f7c]=_0x562c31,_0x1b68ca;}function _0x4a9a(_0x1f198c,_0x7dbda7){_0x1f198c=_0x1f198c-0x11e;const _0x4f3246=_0x4f32();let _0x4a9a6d=_0x4f3246[_0x1f198c];return _0x4a9a6d;}var U=class extends _0x2422ea{get['container'](){const _0x4fa21a=_0x4a9a;return this[_0x4fa21a(0x156)];}get[_0x424130(0x139)](){const _0x549460=_0x424130;return this[_0x549460(0x142)];}get[_0x424130(0x165)](){const _0x2e152d=_0x424130;let _0xc079ae=this[_0x2e152d(0x128)][_0x2e152d(0x154)](_0x11dd25)[_0x2e152d(0x16f)](this[_0x2e152d(0x181)]);if(!_0xc079ae)throw Error(_0x2e152d(0x126));return _0xc079ae;}get[_0x424130(0x19d)](){const _0xd1ea43=_0x424130;return this[_0xd1ea43(0x165)][_0xd1ea43(0x14d)](_0x3bce77)[_0xd1ea43(0x132)]();}get[_0x424130(0x15b)](){const _0xdbbeca=_0x424130;let _0x254094=this[_0xdbbeca(0x19d)][_0xdbbeca(0x153)]();if(!_0x254094)throw Error('Skeleton\x20data\x20is\x20not\x20found');return _0x254094;}get[_0x424130(0x194)](){const _0x8c9cfe=_0x424130;let _0x331681=this[_0x8c9cfe(0x15b)][_0x8c9cfe(0x168)][0x0];return{'width':_0x331681[_0x8c9cfe(0x15f)],'height':_0x331681['pageHeight']};}constructor(_0x145a61,_0x54d347,_0x4b48bc,_0x4a0684){const _0x255b3b=_0x424130;super(),this['_injector']=_0x145a61,this[_0x255b3b(0x199)]=_0x54d347,this[_0x255b3b(0x181)]=_0x4b48bc,this[_0x255b3b(0x14f)]=_0x4a0684,H(this,'_container',document[_0x255b3b(0x137)](_0x255b3b(0x15a))),H(this,_0x255b3b(0x142),document[_0x255b3b(0x137)](_0x255b3b(0x15a))),H(this,_0x255b3b(0x14c),void 0x0),H(this,'_scene',void 0x0),H(this,_0x255b3b(0x12f),void 0x0),H(this,_0x255b3b(0x1a3),void 0x0),H(this,_0x255b3b(0x11f),void 0x0),H(this,_0x255b3b(0x183),new _0x211c46()),this['_key']=_0x127e82(0x4),this[_0x255b3b(0x16a)](),this[_0x255b3b(0x157)]({'dispose':()=>{const _0x4db14d=_0x255b3b;this[_0x4db14d(0x14c)][_0x4db14d(0x178)](),this[_0x4db14d(0x16d)][_0x4db14d(0x178)](),this[_0x4db14d(0x183)]['dispose']();}});}['_calculateLayout'](){const _0x229e2a=_0x424130;let {docsTop:_0x2d6723,docsLeft:_0x18494e}=this['_documents']['getOffsetConfig'](),_0x3a9f91=this['_paperSize']['height'],_0x411dea=this['_paperSize'][_0x229e2a(0x176)];return{'top':_0x2d6723+(_0x2d6723+_0x3a9f91)*this[_0x229e2a(0x199)],'bottom':_0x2d6723+(_0x2d6723+_0x3a9f91)*(this[_0x229e2a(0x199)]+0x1),'left':_0x18494e,'right':_0x18494e+_0x411dea};}[_0x424130(0x16a)](){const _0x3fda40=_0x424130;this[_0x3fda40(0x14c)]=new _0x227fe1('',{'elementWidth':this[_0x3fda40(0x194)][_0x3fda40(0x176)],'elementHeight':this[_0x3fda40(0x194)][_0x3fda40(0x150)],'dpr':0x1,'renderMode':_0x665cde[_0x3fda40(0x13e)]}),this['_scene']=new _0x3851d9(this['_key'],this[_0x3fda40(0x14c)]),this['_scene'][_0x3fda40(0x14e)](0x1,0x1),this[_0x3fda40(0x14c)][_0x3fda40(0x18a)](this[_0x3fda40(0x156)],!0x1),this['_engine']['getCanvas']()[_0x3fda40(0x162)]()[_0x3fda40(0x1a0)](this[_0x3fda40(0x12f)]+'_'+_0x127e82(0x4)),this[_0x3fda40(0x14b)](),this[_0x3fda40(0x177)]();}[_0x424130(0x14b)](){const _0x132611=_0x424130;let {pageMarginLeft:_0x247dda,pageMarginTop:_0xe7d086,docsLeft:_0x224ace,docsTop:_0x563327}=this[_0x132611(0x14f)],_0x28073c={'pageMarginLeft':_0x247dda,'pageMarginTop':_0xe7d086},_0x55f46a=new _0x504caf('__DocPrintRender__',this[_0x132611(0x19d)],_0x28073c);_0x55f46a[_0x132611(0x185)](_0x224ace,_0x563327),this[_0x132611(0x16d)][_0x132611(0x180)](_0x55f46a),this[_0x132611(0x1a3)]=_0x55f46a;let _0x4933d2=this[_0x132611(0x128)][_0x132611(0x154)](_0x3e54a2);_0x4933d2['interceptor']['fetchThroughInterceptors'](_0x4933d2[_0x132611(0x144)]['getInterceptPoints']()[_0x132611(0x135)])(void 0x0,{'unitId':this[_0x132611(0x181)],'scene':this[_0x132611(0x16d)],'engine':this[_0x132611(0x14c)],'root':this[_0x132611(0x142)],'documents':this[_0x132611(0x1a3)],'skeleton':this[_0x132611(0x19d)]});}[_0x424130(0x177)](){const _0x1c8c1d=_0x424130;this['_viewMain']=new _0x539d87(_0x500753[_0x1c8c1d(0x15c)],this['_scene'],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0x424130(0x16e)](){const _0xab6c5f=_0x424130;let _0x42dcb2=this[_0xab6c5f(0x179)]();this[_0xab6c5f(0x11f)][_0xab6c5f(0x160)]({'viewportScrollX':_0x42dcb2['left'],'viewportScrollY':_0x42dcb2[_0xab6c5f(0x192)]}),this[_0xab6c5f(0x142)]['style']['position']='absolute',this[_0xab6c5f(0x142)][_0xab6c5f(0x161)][_0xab6c5f(0x192)]=_0xab6c5f(0x19a),this[_0xab6c5f(0x142)][_0xab6c5f(0x161)]['left']=_0xab6c5f(0x19a),this[_0xab6c5f(0x142)][_0xab6c5f(0x161)][_0xab6c5f(0x176)]='100%',this[_0xab6c5f(0x142)][_0xab6c5f(0x161)][_0xab6c5f(0x150)]=_0xab6c5f(0x120),this[_0xab6c5f(0x183)]=new _0x211c46();let _0x23ef7f=this[_0xab6c5f(0x128)]['get'](_0x3e54a2);_0x23ef7f['interceptor'][_0xab6c5f(0x152)](_0x23ef7f[_0xab6c5f(0x144)][_0xab6c5f(0x12e)]()[_0xab6c5f(0x164)])(this[_0xab6c5f(0x183)],{'unitId':this[_0xab6c5f(0x181)],'scene':this['_scene'],'engine':this[_0xab6c5f(0x14c)],'root':this[_0xab6c5f(0x142)],'skeleton':this[_0xab6c5f(0x19d)],'offset':{'x':_0x42dcb2[_0xab6c5f(0x190)],'y':_0x42dcb2[_0xab6c5f(0x192)]},'bound':{'top':_0x42dcb2[_0xab6c5f(0x192)],'left':_0x42dcb2[_0xab6c5f(0x190)],'right':_0x42dcb2['right'],'bottom':_0x42dcb2['bottom']}});}[_0x424130(0x191)](){const _0x13f47b=_0x424130;let _0x391777=this[_0x13f47b(0x14c)][_0x13f47b(0x131)]()['getContext']();this['_documents']['makeForceDirty'](),this[_0x13f47b(0x16d)][_0x13f47b(0x16c)](),_0x391777[_0x13f47b(0x134)](),this['_scene'][_0x13f47b(0x191)](),_0x391777[_0x13f47b(0x11e)]();}};function W(_0x2eb053,_0x20bd47){return function(_0x1af93c,_0x4ca585){_0x20bd47(_0x1af93c,_0x4ca585,_0x2eb053);};}function G(_0x244bc8,_0x1f2a83,_0x107ce5,_0x561758){const _0x2bacde=_0x424130;var _0x20495a=arguments['length'],_0x46006e=_0x20495a<0x3?_0x1f2a83:_0x561758===null?_0x561758=Object[_0x2bacde(0x1a4)](_0x1f2a83,_0x107ce5):_0x561758,_0x2ec5a1;if(typeof Reflect==_0x2bacde(0x122)&&typeof Reflect[_0x2bacde(0x171)]==_0x2bacde(0x172))_0x46006e=Reflect[_0x2bacde(0x171)](_0x244bc8,_0x1f2a83,_0x107ce5,_0x561758);else{for(var _0x3a91bb=_0x244bc8[_0x2bacde(0x18c)]-0x1;_0x3a91bb>=0x0;_0x3a91bb--)(_0x2ec5a1=_0x244bc8[_0x3a91bb])&&(_0x46006e=(_0x20495a<0x3?_0x2ec5a1(_0x46006e):_0x20495a>0x3?_0x2ec5a1(_0x1f2a83,_0x107ce5,_0x46006e):_0x2ec5a1(_0x1f2a83,_0x107ce5))||_0x46006e);}return _0x20495a>0x3&&_0x46006e&&Object[_0x2bacde(0x17b)](_0x1f2a83,_0x107ce5,_0x46006e),_0x46006e;}const K=Number[_0x424130(0x188)](0x6a1aaf6e),q=(_0x4e8ade,_0x134b1c,_0x54ac5d)=>{const _0xd80c9=_0x424130;let _0x3219d2={'page':_0x4e8ade,'isPro':!0x1,'timeValid':!0x1};if(!_0x134b1c||!_0x54ac5d)return _0x3219d2;let _0x21249f=_0x3fa700(_0x134b1c,_0x54ac5d);if(_0x21249f[_0xd80c9(0x1a5)]){let _0x1d983f=_0x21249f[_0xd80c9(0x12c)],_0x2f1b2a=_0xe6f3d2(_0x1d983f,'df',K);_0x3219d2[_0xd80c9(0x197)]=_0x2f1b2a,_0x3219d2['timeValid']=_0x2f1b2a,_0x3219d2[_0xd80c9(0x13f)]=_0x32d670(_0x1d983f,_0x2f1b2a,_0xd80c9(0x123),_0x4e8ade,_0x4e8ade,0x0);}return _0x3219d2;};let J=class extends _0x2422ea{constructor(_0x3c10ac,_0xefe45b,_0x351672,_0x26677e,_0x2f5c63){const _0x2222f4=_0x424130;super(),this['_univerInstanceService']=_0x3c10ac,this[_0x2222f4(0x166)]=_0xefe45b,this[_0x2222f4(0x128)]=_0x351672,this[_0x2222f4(0x19c)]=_0x26677e,this[_0x2222f4(0x170)]=_0x2f5c63;}[_0x424130(0x13b)](_0x5dfe7f){const _0x16e0e3=_0x424130;var _0xf5114b,_0x346a61;let {ls:_0x297c4e,pbk:_0x8914c7}=(_0xf5114b=this[_0x16e0e3(0x19c)][_0x16e0e3(0x127)](_0x27a777))==null?{}:_0xf5114b,_0x49cfb1=_0x32f5b1()?0x1/0x0:q(0x1,_0x297c4e,_0x8914c7)[_0x16e0e3(0x13f)];if(!this[_0x16e0e3(0x1a2)][_0x16e0e3(0x14a)](_0x5dfe7f,_0x6d890f[_0x16e0e3(0x138)]))throw Error(_0x16e0e3(0x121));let _0x165a30=this[_0x16e0e3(0x166)][_0x16e0e3(0x16f)](_0x5dfe7f);if(!_0x165a30)throw Error(_0x16e0e3(0x126));let _0x1bfcee=(_0x346a61=_0x165a30['with'](_0x3bce77)[_0x16e0e3(0x132)]()[_0x16e0e3(0x153)]())==null?void 0x0:_0x346a61[_0x16e0e3(0x168)];if(!_0x1bfcee)throw Error('Pages\x20are\x20not\x20found');let _0x4bf262={'width':_0x1bfcee[0x0][_0x16e0e3(0x15f)],'height':_0x1bfcee[0x0][_0x16e0e3(0x147)]},_0x25bdf8=_0x1bfcee[_0x16e0e3(0x18c)],_0x55ccb2=Math['min'](_0x49cfb1,_0x25bdf8),_0x5760fd=_0x165a30[_0x16e0e3(0x1a8)][_0x16e0e3(0x13a)](),_0x27ec26=document['createElement'](_0x16e0e3(0x15a));_0x27ec26[_0x16e0e3(0x1a6)]=_0x13cfad;let _0x126a0c=Array(_0x55ccb2)[_0x16e0e3(0x15d)](null)['map']((_0x2ddd8e,_0x21b394)=>{const _0xec568c=_0x16e0e3;let _0x39602d=new U(this[_0xec568c(0x128)],_0x21b394,_0x5dfe7f,_0x5760fd);return _0x39602d['container'][_0xec568c(0x1a6)]=_0x2de3bb,_0x39602d;});_0x126a0c[_0x16e0e3(0x167)](_0x319fef=>{const _0x297d5c=_0x16e0e3;_0x27ec26['appendChild'](_0x319fef[_0x297d5c(0x130)]),_0x319fef[_0x297d5c(0x130)]['appendChild'](_0x319fef['root']),_0x319fef['prepare']();});let _0x1f6f85=_0x30aea4(_0x4bf262[_0x16e0e3(0x176)],_0x4bf262[_0x16e0e3(0x150)],_0x140c3c[_0x16e0e3(0x145)]);return document[_0x16e0e3(0x163)][_0x16e0e3(0x146)](_0x1f6f85),document[_0x16e0e3(0x163)]['appendChild'](_0x27ec26),new Promise(_0x55b0ca=>{setTimeout(()=>{const _0x349ab2=_0x4a9a;window[_0x349ab2(0x140)]=()=>{const _0x764820=_0x349ab2;_0x126a0c[_0x764820(0x167)](_0xb90c93=>{const _0x3d61de=_0x764820;_0xb90c93[_0x3d61de(0x191)]();});},window['onafterprint']=()=>{const _0xc852e4=_0x349ab2;_0x126a0c[_0xc852e4(0x167)](_0x30c8a6=>{const _0x3aad55=_0xc852e4;_0x30c8a6[_0x3aad55(0x178)]();}),document[_0xc852e4(0x163)][_0xc852e4(0x195)](_0x27ec26),document[_0xc852e4(0x163)][_0xc852e4(0x195)](_0x1f6f85),this['_globalZoneService']['close'](),_0x55b0ca(!0x0);},window[_0x349ab2(0x13b)]();},0x64);});}};J=G([W(0x0,_0x207fb3),W(0x1,_0x11dd25),W(0x2,_0x287350(_0x31a7bc)),W(0x3,_0x19ab90),W(0x4,_0x2d885c)],J);const Y={'id':_0x424130(0x15e),'type':_0x432b1a[_0x424130(0x19e)],'handler':async _0x8bca8b=>{const _0x5eb5ad=_0x424130;let _0x1ea6b6=_0x8bca8b[_0x5eb5ad(0x154)](_0x207fb3),_0x9b7d09=_0x8bca8b[_0x5eb5ad(0x154)](J),_0x343622=_0x8bca8b[_0x5eb5ad(0x154)](_0x11dd25),_0x28609c=_0x8bca8b[_0x5eb5ad(0x154)](_0x23bd95),_0x5c384f=_0x1ea6b6[_0x5eb5ad(0x16b)](_0x6d890f['UNIVER_DOC']);if(!_0x5c384f)return!0x1;if(!_0x343622[_0x5eb5ad(0x16f)](_0x5c384f[_0x5eb5ad(0x17c)]()))throw Error(_0x5eb5ad(0x126));let _0x5c2fdc=_0x5c384f[_0x5eb5ad(0x17a)]()['documentFlavor'];return _0x5c2fdc!==_0x4eed08[_0x5eb5ad(0x175)]&&_0x28609c[_0x5eb5ad(0x198)](_0xac9b84['id']),await _0x9b7d09[_0x5eb5ad(0x13b)](_0x5c384f[_0x5eb5ad(0x17c)]()),_0x5c2fdc!==_0x4eed08[_0x5eb5ad(0x175)]&&_0x28609c['syncExecuteCommand'](_0xac9b84['id']),!0x0;}},X=_0x424130(0x148),Z={};var ie=_0x424130(0x12d),ae='0.24.0-insiders.20260530-57a0a3e';function oe(_0x8876b){const _0x3c52f7=_0x424130;return{'id':Y['id'],'type':_0x453ed4['BUTTON'],'title':_0x3c52f7(0x19f),'icon':'PrintIcon','tooltip':_0x3c52f7(0x19f),'hidden$':_0x3327a6(_0x8876b,_0x6d890f[_0x3c52f7(0x138)])};}const se={[_0x3cac99[_0x424130(0x18b)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};function _0x4f32(){const _0x58c460=['with','scale','_offsetConfig','height','register','fetchThroughInterceptors','getSkeletonData','get','_commandService','_container','disposeWithMe','_menuManagerService','prototype','div','_skeletonData','VIEW_MAIN','fill','docs.operation.print','pageWidth','updateScrollVal','style','getContext','body','PRINTING_DOM_COLLECT','_currentRender','_renderManagerService','forEach','pages','7782334XLiAyb','_initRenderer','getCurrentUnitOfType','makeDirty','_scene','prepare','getRenderById','_globalZoneService','decorate','function','registerCommand','PrintIcon','TRADITIONAL','width','_addViewport','dispose','_calculateLayout','getDocumentStyle','defineProperty','getUnitId','type','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','onReady','addObject','_unitId','onStarting','_effects','menu','translate','2NxEemK','_initMenus','parseInt','_initComponents','setContainer','OTHERS','length','string','mergeMenu','3466850sHPzRW','left','render','top','_config','_paperSize','removeChild','pluginName','isPro','syncExecuteCommand','_page','0px','8605260wmfWeq','_configService','_skeleton','OPERATION','docs-print.menu','setId','29895650ZuinLD','_univerInstanceService','_documents','getOwnPropertyDescriptor','valid','className','232nVEpoX','mainComponent','restore','_viewMain','100%','DocumentDataModel\x20is\x20not\x20found','object','mpn','29692bKEceZ','symbol','Render\x20is\x20not\x20found','getConfig','_injector','setConfig','221841PYzsil','constructor','message','@univerjs-pro/docs-print','getInterceptPoints','_key','container','getCanvas','getSkeleton','345ZsxKEb','save','PRINTING_COMPONENT_COLLECT','_initCommands','createElement','UNIVER_DOC','root','getOffsetConfig','print','601327HCBWGK','_componentManager','Printing','page','onbeforeprint','version','_root','packageName','interceptor','Portrait','appendChild','pageHeight','UNIVER_DOCS_PRINT','iterator','getUnit','_addComponent','_engine'];_0x4f32=function(){return _0x58c460;};return _0x4f32();}let Q=class extends _0x2422ea{constructor(_0x10a8ac,_0x362aef,_0x1d1ce4){const _0x190c69=_0x424130;super(),this[_0x190c69(0x155)]=_0x10a8ac,this[_0x190c69(0x158)]=_0x362aef,this[_0x190c69(0x13d)]=_0x1d1ce4,this['_initMenus'](),this[_0x190c69(0x136)](),this[_0x190c69(0x189)]();}[_0x424130(0x187)](){const _0x3221b0=_0x424130;this[_0x3221b0(0x158)][_0x3221b0(0x18e)](se);}[_0x424130(0x136)](){const _0x558831=_0x424130;this[_0x558831(0x157)](this[_0x558831(0x155)][_0x558831(0x173)](Y));}[_0x424130(0x189)](){const _0x4179c6=_0x424130;[[_0x4179c6(0x174),_0x12ee52]][_0x4179c6(0x167)](([_0x4d838b,_0x2b8113])=>{const _0x3d7ac5=_0x4179c6;this['_componentManager'][_0x3d7ac5(0x151)](_0x4d838b,_0x2b8113);});}};Q=G([W(0x0,_0x23bd95),W(0x1,_0x3cf659),W(0x2,_0x287350(_0x33c2ce))],Q);let $=class extends _0x6d036c{constructor(_0xcd8c71=Z,_0x2a19a3,_0x36c44d){const _0x32fc08=_0x424130;super(),this['_config']=_0xcd8c71,this[_0x32fc08(0x128)]=_0x2a19a3,this[_0x32fc08(0x19c)]=_0x36c44d;let {menu:_0x4c889e,..._0x1478bf}=_0x5b7a6f({},Z,this[_0x32fc08(0x193)]);_0x4c889e&&this[_0x32fc08(0x19c)][_0x32fc08(0x129)](_0x32fc08(0x184),_0x4c889e,{'merge':!0x0}),this[_0x32fc08(0x19c)][_0x32fc08(0x129)](X,_0x1478bf);}[_0x424130(0x182)](){const _0x216dbf=_0x424130;_0x28abe3(this[_0x216dbf(0x128)],[[J],[Q]]);}[_0x424130(0x17f)](){const _0x1e6a7e=_0x424130;this[_0x1e6a7e(0x128)][_0x1e6a7e(0x154)](Q);}};H($,_0x424130(0x196),_0x424130(0x148)),H($,_0x424130(0x143),ie),H($,_0x424130(0x141),ae),H($,_0x424130(0x17d),_0x6d890f[_0x424130(0x138)]),$=G([_0x5ba9f4(_0xf5d917,_0x3d2f5b),W(0x1,_0x287350(_0x31a7bc)),W(0x2,_0x19ab90)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
|
1
|
+
const _0xcac4ee=_0x450f;(function(_0xc2a861,_0x3ac663){const _0x523afe=_0x450f,_0x2d2020=_0xc2a861();while(!![]){try{const _0x21fb37=parseInt(_0x523afe(0x179))/0x1*(parseInt(_0x523afe(0x16f))/0x2)+-parseInt(_0x523afe(0x1a1))/0x3*(parseInt(_0x523afe(0x1cb))/0x4)+-parseInt(_0x523afe(0x17b))/0x5*(parseInt(_0x523afe(0x1a9))/0x6)+-parseInt(_0x523afe(0x19a))/0x7*(parseInt(_0x523afe(0x168))/0x8)+parseInt(_0x523afe(0x150))/0x9*(parseInt(_0x523afe(0x1d6))/0xa)+parseInt(_0x523afe(0x154))/0xb+-parseInt(_0x523afe(0x1c7))/0xc*(-parseInt(_0x523afe(0x197))/0xd);if(_0x21fb37===_0x3ac663)break;else _0x2d2020['push'](_0x2d2020['shift']());}catch(_0x47eaea){_0x2d2020['push'](_0x2d2020['shift']());}}}(_0xd282,0x777b7));import{CommandType as _0x34fe3f,DependentOn as _0xa60f30,Disposable as _0x230ee6,DisposableCollection as _0x199f44,DocumentFlavor as _0x25a3d3,ICommandService as _0x4976e1,IConfigService as _0x1cb8d3,IUniverInstanceService as _0xf1263f,Inject as _0x5cf149,Injector as _0x470ef1,Plugin as _0x5634b3,UniverInstanceType as _0x43ced7,generateRandomId as _0x160845,merge as _0x52d24f,registerDependencies as _0x4e18ec}from'@univerjs/core';import{DocPrintInterceptorService as _0x302a65,SwitchDocModeCommand as _0x4b2a46,VIEWPORT_KEY as _0xb2e57d}from'@univerjs/docs-ui';import{CanvasRenderMode as _0x6b3b32,Documents as _0x20286d,Engine as _0x324963,IRenderManagerService as _0x31149a,Scene as _0x434916,Viewport as _0x4ac181}from'@univerjs/engine-render';function _0x450f(_0x5e98d8,_0xecc405){_0x5e98d8=_0x5e98d8-0x14c;const _0xd28256=_0xd282();let _0x450fc4=_0xd28256[_0x5e98d8];return _0x450fc4;}import{LS_CONFIG_KEY as _0x5eb879,UniverLicensePlugin as _0x44c46a,getDocFeatureLimit as _0x818d5a,getLicenseInfo as _0x554117,isFeatureAuthorizedWithinTime as _0x5b32fc,isLocalCheck as _0x3a22ef}from'@univerjs-pro/license';import{PRINT_CANVAS_CLASS as _0x385d42,PRINT_CONTAINER_CLASS as _0x23afc2,PrintDirection as _0x8871af,createPrintStyle as _0xbbacfe}from'@univerjs-pro/print';import{DocSkeletonManagerService as _0x3db47d}from'@univerjs/docs';import{ComponentManager as _0x456c16,IMenuManagerService as _0x428976,IZenZoneService as _0x1488da,MenuItemType as _0x15517e,RibbonStartGroup as _0x8f0ea3,getMenuHiddenObservable as _0x1a10a1}from'@univerjs/ui';import{UniverNetworkPlugin as _0x2d5eb5}from'@univerjs/network';import{PrintIcon as _0x20bfbc}from'@univerjs/icons';function z(_0x4d4bf1){'@babel/helpers - typeof';const _0x1bd9c8=_0x450f;return z=typeof Symbol=='function'&&typeof Symbol[_0x1bd9c8(0x16d)]==_0x1bd9c8(0x1c1)?function(_0x21802c){return typeof _0x21802c;}:function(_0xd4fa66){const _0x1ee719=_0x1bd9c8;return _0xd4fa66&&typeof Symbol==_0x1ee719(0x1be)&&_0xd4fa66[_0x1ee719(0x185)]===Symbol&&_0xd4fa66!==Symbol['prototype']?'symbol':typeof _0xd4fa66;},z(_0x4d4bf1);}function B(_0x28afe6,_0x98e80a){const _0x11f51f=_0x450f;if(z(_0x28afe6)!=_0x11f51f(0x1ac)||!_0x28afe6)return _0x28afe6;var _0x44eb98=_0x28afe6[Symbol[_0x11f51f(0x14e)]];if(_0x44eb98!==void 0x0){var _0x159725=_0x44eb98[_0x11f51f(0x17a)](_0x28afe6,_0x98e80a||'default');if(z(_0x159725)!=_0x11f51f(0x1ac))return _0x159725;throw TypeError(_0x11f51f(0x19e));}return(_0x98e80a===_0x11f51f(0x176)?String:Number)(_0x28afe6);}function V(_0x5b76b8){const _0x2e5767=_0x450f;var _0x31c37e=B(_0x5b76b8,'string');return z(_0x31c37e)==_0x2e5767(0x1c1)?_0x31c37e:_0x31c37e+'';}function H(_0x5aeb99,_0x2dc50e,_0x3dfd69){const _0x5398bc=_0x450f;return(_0x2dc50e=V(_0x2dc50e))in _0x5aeb99?Object[_0x5398bc(0x15f)](_0x5aeb99,_0x2dc50e,{'value':_0x3dfd69,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5aeb99[_0x2dc50e]=_0x3dfd69,_0x5aeb99;}var U=class extends _0x230ee6{get[_0xcac4ee(0x1b9)](){const _0x2c8bac=_0xcac4ee;return this[_0x2c8bac(0x18a)];}get['root'](){const _0x5b51be=_0xcac4ee;return this[_0x5b51be(0x16b)];}get[_0xcac4ee(0x165)](){const _0x5ae4e7=_0xcac4ee;let _0x55e4dd=this[_0x5ae4e7(0x1bf)][_0x5ae4e7(0x1b8)](_0x31149a)['getRenderById'](this['_unitId']);if(!_0x55e4dd)throw Error(_0x5ae4e7(0x16e));return _0x55e4dd;}get[_0xcac4ee(0x171)](){const _0x28cc5f=_0xcac4ee;return this[_0x28cc5f(0x165)][_0x28cc5f(0x1c0)](_0x3db47d)[_0x28cc5f(0x1b2)]();}get['_skeletonData'](){const _0x5f0eb7=_0xcac4ee;let _0x1acc5d=this[_0x5f0eb7(0x171)][_0x5f0eb7(0x169)]();if(!_0x1acc5d)throw Error(_0x5f0eb7(0x19c));return _0x1acc5d;}get['_paperSize'](){const _0xa98e6c=_0xcac4ee;let _0x278f37=this[_0xa98e6c(0x155)][_0xa98e6c(0x1d5)][0x0];return{'width':_0x278f37[_0xa98e6c(0x1a8)],'height':_0x278f37['pageHeight']};}constructor(_0x41d7f1,_0xc9353d,_0x1bb2d5,_0x461726){const _0x4188a1=_0xcac4ee;super(),this['_injector']=_0x41d7f1,this[_0x4188a1(0x19d)]=_0xc9353d,this[_0x4188a1(0x1c8)]=_0x1bb2d5,this[_0x4188a1(0x15a)]=_0x461726,H(this,'_container',document[_0x4188a1(0x174)]('div')),H(this,_0x4188a1(0x16b),document['createElement'](_0x4188a1(0x182))),H(this,_0x4188a1(0x181),void 0x0),H(this,_0x4188a1(0x153),void 0x0),H(this,_0x4188a1(0x1ad),void 0x0),H(this,'_documents',void 0x0),H(this,_0x4188a1(0x1b4),void 0x0),H(this,_0x4188a1(0x186),new _0x199f44()),this[_0x4188a1(0x1ad)]=_0x160845(0x4),this['_initRenderer'](),this[_0x4188a1(0x15b)]({'dispose':()=>{const _0x34504e=_0x4188a1;this['_engine']['dispose'](),this[_0x34504e(0x153)][_0x34504e(0x170)](),this[_0x34504e(0x186)][_0x34504e(0x170)]();}});}[_0xcac4ee(0x1d9)](){const _0x89fc56=_0xcac4ee;let {docsTop:_0x2ed139,docsLeft:_0x1de755}=this[_0x89fc56(0x166)]['getOffsetConfig'](),_0x51fb69=this[_0x89fc56(0x1a3)]['height'],_0x2b3a0c=this['_paperSize'][_0x89fc56(0x18e)];return{'top':_0x2ed139+(_0x2ed139+_0x51fb69)*this[_0x89fc56(0x19d)],'bottom':_0x2ed139+(_0x2ed139+_0x51fb69)*(this['_page']+0x1),'left':_0x1de755,'right':_0x1de755+_0x2b3a0c};}[_0xcac4ee(0x173)](){const _0x1b96f9=_0xcac4ee;this[_0x1b96f9(0x181)]=new _0x324963('',{'elementWidth':this[_0x1b96f9(0x1a3)]['width'],'elementHeight':this[_0x1b96f9(0x1a3)][_0x1b96f9(0x160)],'dpr':0x1,'renderMode':_0x6b3b32[_0x1b96f9(0x15c)]}),this[_0x1b96f9(0x153)]=new _0x434916(this[_0x1b96f9(0x1ad)],this[_0x1b96f9(0x181)]),this[_0x1b96f9(0x153)][_0x1b96f9(0x199)](0x1,0x1),this[_0x1b96f9(0x181)][_0x1b96f9(0x189)](this['_container'],!0x1),this[_0x1b96f9(0x181)][_0x1b96f9(0x1d4)]()[_0x1b96f9(0x1d1)]()[_0x1b96f9(0x158)](this[_0x1b96f9(0x1ad)]+'_'+_0x160845(0x4)),this[_0x1b96f9(0x1a0)](),this[_0x1b96f9(0x1d2)]();}[_0xcac4ee(0x1a0)](){const _0xcd2cd0=_0xcac4ee;let {pageMarginLeft:_0x102d5f,pageMarginTop:_0xa35911,docsLeft:_0x2b7e7e,docsTop:_0x40a4ac}=this['_offsetConfig'],_0x9dfeb1={'pageMarginLeft':_0x102d5f,'pageMarginTop':_0xa35911},_0x3dfaf9=new _0x20286d(_0xcd2cd0(0x1b3),this[_0xcd2cd0(0x171)],_0x9dfeb1);_0x3dfaf9[_0xcd2cd0(0x1a6)](_0x2b7e7e,_0x40a4ac),this[_0xcd2cd0(0x153)][_0xcd2cd0(0x1ca)](_0x3dfaf9),this[_0xcd2cd0(0x166)]=_0x3dfaf9;let _0x27be18=this['_injector'][_0xcd2cd0(0x1b8)](_0x302a65);_0x27be18[_0xcd2cd0(0x152)][_0xcd2cd0(0x1a4)](_0x27be18[_0xcd2cd0(0x152)][_0xcd2cd0(0x1cf)]()['PRINTING_COMPONENT_COLLECT'])(void 0x0,{'unitId':this[_0xcd2cd0(0x1c8)],'scene':this['_scene'],'engine':this[_0xcd2cd0(0x181)],'root':this['_root'],'documents':this['_documents'],'skeleton':this[_0xcd2cd0(0x171)]});}[_0xcac4ee(0x1d2)](){const _0x5ac005=_0xcac4ee;this['_viewMain']=new _0x4ac181(_0xb2e57d[_0x5ac005(0x184)],this[_0x5ac005(0x153)],{'explicitViewportWidthSet':!0x0,'explicitViewportHeightSet':!0x0});}[_0xcac4ee(0x15e)](){const _0x25abe4=_0xcac4ee;let _0x7904e6=this[_0x25abe4(0x1d9)]();this[_0x25abe4(0x1b4)][_0x25abe4(0x1bd)]({'viewportScrollX':_0x7904e6[_0x25abe4(0x1d7)],'viewportScrollY':_0x7904e6[_0x25abe4(0x163)]}),this[_0x25abe4(0x16b)]['style'][_0x25abe4(0x1cd)]='absolute',this[_0x25abe4(0x16b)][_0x25abe4(0x1c6)]['top']=_0x25abe4(0x1b0),this['_root'][_0x25abe4(0x1c6)][_0x25abe4(0x1d7)]=_0x25abe4(0x1b0),this['_root']['style'][_0x25abe4(0x18e)]=_0x25abe4(0x151),this['_root']['style']['height']=_0x25abe4(0x151),this['_effects']=new _0x199f44();let _0x425caf=this['_injector'][_0x25abe4(0x1b8)](_0x302a65);_0x425caf['interceptor'][_0x25abe4(0x1a4)](_0x425caf[_0x25abe4(0x152)][_0x25abe4(0x1cf)]()['PRINTING_DOM_COLLECT'])(this[_0x25abe4(0x186)],{'unitId':this[_0x25abe4(0x1c8)],'scene':this[_0x25abe4(0x153)],'engine':this['_engine'],'root':this[_0x25abe4(0x16b)],'skeleton':this[_0x25abe4(0x171)],'offset':{'x':_0x7904e6[_0x25abe4(0x1d7)],'y':_0x7904e6[_0x25abe4(0x163)]},'bound':{'top':_0x7904e6['top'],'left':_0x7904e6[_0x25abe4(0x1d7)],'right':_0x7904e6[_0x25abe4(0x18d)],'bottom':_0x7904e6[_0x25abe4(0x1af)]}});}['render'](){const _0x2e779a=_0xcac4ee;let _0x595982=this[_0x2e779a(0x181)]['getCanvas']()[_0x2e779a(0x1d1)]();this[_0x2e779a(0x166)]['makeForceDirty'](),this[_0x2e779a(0x153)]['makeDirty'](),_0x595982['save'](),this[_0x2e779a(0x153)]['render'](),_0x595982[_0x2e779a(0x190)]();}};function W(_0x819e3,_0x356ecc){return function(_0x3e7a52,_0x102ccf){_0x356ecc(_0x3e7a52,_0x102ccf,_0x819e3);};}function G(_0x228803,_0x5b7267,_0x5ea707,_0x192b6c){const _0x56de85=_0xcac4ee;var _0x2c62bc=arguments[_0x56de85(0x1c4)],_0x3a93c7=_0x2c62bc<0x3?_0x5b7267:_0x192b6c===null?_0x192b6c=Object[_0x56de85(0x17c)](_0x5b7267,_0x5ea707):_0x192b6c,_0x385325;if(typeof Reflect==_0x56de85(0x1ac)&&typeof Reflect[_0x56de85(0x1ce)]==_0x56de85(0x1be))_0x3a93c7=Reflect[_0x56de85(0x1ce)](_0x228803,_0x5b7267,_0x5ea707,_0x192b6c);else{for(var _0x5e4915=_0x228803[_0x56de85(0x1c4)]-0x1;_0x5e4915>=0x0;_0x5e4915--)(_0x385325=_0x228803[_0x5e4915])&&(_0x3a93c7=(_0x2c62bc<0x3?_0x385325(_0x3a93c7):_0x2c62bc>0x3?_0x385325(_0x5b7267,_0x5ea707,_0x3a93c7):_0x385325(_0x5b7267,_0x5ea707))||_0x3a93c7);}return _0x2c62bc>0x3&&_0x3a93c7&&Object[_0x56de85(0x15f)](_0x5b7267,_0x5ea707,_0x3a93c7),_0x3a93c7;}const K=Number[_0xcac4ee(0x14d)](0x6a1aba27),q=(_0x41c8bd,_0x5d8e6a,_0x420539)=>{const _0x148c8d=_0xcac4ee;let _0xfc1482={'page':_0x41c8bd,'isPro':!0x1,'timeValid':!0x1};if(!_0x5d8e6a||!_0x420539)return _0xfc1482;let _0x1af032=_0x554117(_0x5d8e6a,_0x420539);if(_0x1af032[_0x148c8d(0x1d8)]){let _0x4ef9e9=_0x1af032['message'],_0x4c7abc=_0x5b32fc(_0x4ef9e9,'df',K);_0xfc1482[_0x148c8d(0x1b1)]=_0x4c7abc,_0xfc1482[_0x148c8d(0x1bb)]=_0x4c7abc,_0xfc1482[_0x148c8d(0x18b)]=_0x818d5a(_0x4ef9e9,_0x4c7abc,'mpn',_0x41c8bd,_0x41c8bd,0x0);}return _0xfc1482;};let J=class extends _0x230ee6{constructor(_0x4ee70c,_0x11bb55,_0x589ec2,_0x49d71c,_0x185a8c){const _0x122d89=_0xcac4ee;super(),this[_0x122d89(0x191)]=_0x4ee70c,this[_0x122d89(0x180)]=_0x11bb55,this['_injector']=_0x589ec2,this[_0x122d89(0x159)]=_0x49d71c,this[_0x122d89(0x1b6)]=_0x185a8c;}[_0xcac4ee(0x1ae)](_0x2a583c){const _0x29e764=_0xcac4ee;var _0x82d3c7,_0xe621c3;let {ls:_0x4e11a1,pbk:_0x221e9b}=(_0x82d3c7=this['_configService'][_0x29e764(0x17f)](_0x5eb879))==null?{}:_0x82d3c7,_0x19b95e=_0x3a22ef()?0x1/0x0:q(0x1,_0x4e11a1,_0x221e9b)[_0x29e764(0x18b)];if(!this[_0x29e764(0x191)][_0x29e764(0x188)](_0x2a583c,_0x43ced7[_0x29e764(0x1ba)]))throw Error('DocumentDataModel\x20is\x20not\x20found');let _0x2553b7=this[_0x29e764(0x180)]['getRenderById'](_0x2a583c);if(!_0x2553b7)throw Error('Render\x20is\x20not\x20found');let _0x14f40b=(_0xe621c3=_0x2553b7[_0x29e764(0x1c0)](_0x3db47d)['getSkeleton']()[_0x29e764(0x169)]())==null?void 0x0:_0xe621c3[_0x29e764(0x1d5)];if(!_0x14f40b)throw Error(_0x29e764(0x1b5));let _0x5bbef6={'width':_0x14f40b[0x0][_0x29e764(0x1a8)],'height':_0x14f40b[0x0][_0x29e764(0x172)]},_0x43bf90=_0x14f40b[_0x29e764(0x1c4)],_0xc53c3c=Math['min'](_0x19b95e,_0x43bf90),_0x33b69f=_0x2553b7[_0x29e764(0x16c)][_0x29e764(0x1cc)](),_0x2cea98=document['createElement'](_0x29e764(0x182));_0x2cea98[_0x29e764(0x1a7)]=_0x23afc2;let _0xf1cf7=Array(_0xc53c3c)[_0x29e764(0x1aa)](null)[_0x29e764(0x194)]((_0x247b3b,_0x2481ae)=>{const _0x4af9b4=_0x29e764;let _0x3a60e8=new U(this['_injector'],_0x2481ae,_0x2a583c,_0x33b69f);return _0x3a60e8[_0x4af9b4(0x1b9)][_0x4af9b4(0x1a7)]=_0x385d42,_0x3a60e8;});_0xf1cf7[_0x29e764(0x18f)](_0x49c4f4=>{const _0x1714dc=_0x29e764;_0x2cea98[_0x1714dc(0x177)](_0x49c4f4[_0x1714dc(0x1b9)]),_0x49c4f4[_0x1714dc(0x1b9)][_0x1714dc(0x177)](_0x49c4f4[_0x1714dc(0x1a5)]),_0x49c4f4[_0x1714dc(0x15e)]();});let _0x36aabc=_0xbbacfe(_0x5bbef6[_0x29e764(0x18e)],_0x5bbef6[_0x29e764(0x160)],_0x8871af[_0x29e764(0x1d0)]);return document['body'][_0x29e764(0x177)](_0x36aabc),document[_0x29e764(0x16a)][_0x29e764(0x177)](_0x2cea98),new Promise(_0x5948cc=>{setTimeout(()=>{const _0x2f4cb2=_0x450f;window['onbeforeprint']=()=>{_0xf1cf7['forEach'](_0x459d9b=>{const _0x37918e=_0x450f;_0x459d9b[_0x37918e(0x161)]();});},window[_0x2f4cb2(0x19b)]=()=>{const _0x2daaea=_0x2f4cb2;_0xf1cf7[_0x2daaea(0x18f)](_0x59bcd5=>{const _0x410840=_0x2daaea;_0x59bcd5[_0x410840(0x170)]();}),document[_0x2daaea(0x16a)][_0x2daaea(0x193)](_0x2cea98),document[_0x2daaea(0x16a)][_0x2daaea(0x193)](_0x36aabc),this[_0x2daaea(0x1b6)][_0x2daaea(0x178)](),_0x5948cc(!0x0);},window[_0x2f4cb2(0x1ae)]();},0x64);});}};J=G([W(0x0,_0xf1263f),W(0x1,_0x31149a),W(0x2,_0x5cf149(_0x470ef1)),W(0x3,_0x1cb8d3),W(0x4,_0x1488da)],J);const Y={'id':_0xcac4ee(0x17e),'type':_0x34fe3f[_0xcac4ee(0x1c5)],'handler':async _0x56f78b=>{const _0x12abfc=_0xcac4ee;let _0x417f04=_0x56f78b[_0x12abfc(0x1b8)](_0xf1263f),_0x36e460=_0x56f78b[_0x12abfc(0x1b8)](J),_0x2fbfcf=_0x56f78b[_0x12abfc(0x1b8)](_0x31149a),_0x2e9832=_0x56f78b[_0x12abfc(0x1b8)](_0x4976e1),_0x1eab2d=_0x417f04[_0x12abfc(0x164)](_0x43ced7[_0x12abfc(0x1ba)]);if(!_0x1eab2d)return!0x1;if(!_0x2fbfcf[_0x12abfc(0x17d)](_0x1eab2d[_0x12abfc(0x1c9)]()))throw Error(_0x12abfc(0x16e));let _0xd18b9d=_0x1eab2d['getDocumentStyle']()[_0x12abfc(0x15d)];return _0xd18b9d!==_0x25a3d3['TRADITIONAL']&&_0x2e9832[_0x12abfc(0x192)](_0x4b2a46['id']),await _0x36e460['print'](_0x1eab2d[_0x12abfc(0x1c9)]()),_0xd18b9d!==_0x25a3d3[_0x12abfc(0x167)]&&_0x2e9832[_0x12abfc(0x192)](_0x4b2a46['id']),!0x0;}},X='UNIVER_DOCS_PRINT',Z={};function _0xd282(){const _0xd4fd52=['OPERATION','style','228MXTQDs','_unitId','getUnitId','addObject','52XcDIth','getOffsetConfig','position','decorate','getInterceptPoints','Portrait','getContext','_addViewport','_initComponents','getCanvas','pages','70yFrRSR','left','valid','_calculateLayout','_config','parseInt','toPrimitive','_componentManager','47547vHutLl','100%','interceptor','_scene','7563138ZkdUWi','_skeletonData','_initMenus','type','setId','_configService','_offsetConfig','disposeWithMe','Printing','documentFlavor','prepare','defineProperty','height','render','OTHERS','top','getCurrentUnitOfType','_currentRender','_documents','TRADITIONAL','8VCaQzx','getSkeletonData','body','_root','mainComponent','iterator','Render\x20is\x20not\x20found','1136864DmETsO','dispose','_skeleton','pageHeight','_initRenderer','createElement','_initCommands','string','appendChild','close','1jEfcFZ','call','634205fpCukW','getOwnPropertyDescriptor','getRenderById','docs.operation.print','getConfig','_renderManagerService','_engine','div','_commandService','VIEW_MAIN','constructor','_effects','BUTTON','getUnit','setContainer','_container','page','register','right','width','forEach','restore','_univerInstanceService','syncExecuteCommand','removeChild','map','registerCommand','0.25.0','304135GsWSMJ','setConfig','scale','4019099NHcOmX','onafterprint','Skeleton\x20data\x20is\x20not\x20found','_page','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','@univerjs-pro/docs-print','_addComponent','9165MGdCyM','_menuManagerService','_paperSize','fetchThroughInterceptors','root','translate','className','pageWidth','30GtHLJA','fill','docs-print.menu','object','_key','print','bottom','0px','isPro','getSkeleton','__DocPrintRender__','_viewMain','Pages\x20are\x20not\x20found','_globalZoneService','version','get','container','UNIVER_DOC','timeValid','PrintIcon','updateScrollVal','function','_injector','with','symbol','menu','packageName','length'];_0xd282=function(){return _0xd4fd52;};return _0xd282();}var ie=_0xcac4ee(0x19f),ae=_0xcac4ee(0x196);function oe(_0x32b791){const _0x3969ed=_0xcac4ee;return{'id':Y['id'],'type':_0x15517e[_0x3969ed(0x187)],'title':'docs-print.menu','icon':_0x3969ed(0x1bc),'tooltip':_0x3969ed(0x1ab),'hidden$':_0x1a10a1(_0x32b791,_0x43ced7['UNIVER_DOC'])};}const se={[_0x8f0ea3[_0xcac4ee(0x162)]]:{[Y['id']]:{'order':0.1,'menuItemFactory':oe}}};let Q=class extends _0x230ee6{constructor(_0x1dfa52,_0x3f2767,_0x404e45){const _0x346ea5=_0xcac4ee;super(),this[_0x346ea5(0x183)]=_0x1dfa52,this[_0x346ea5(0x1a2)]=_0x3f2767,this[_0x346ea5(0x14f)]=_0x404e45,this[_0x346ea5(0x156)](),this[_0x346ea5(0x175)](),this[_0x346ea5(0x1d3)]();}[_0xcac4ee(0x156)](){const _0x268ed1=_0xcac4ee;this[_0x268ed1(0x1a2)]['mergeMenu'](se);}['_initCommands'](){const _0x11ddd8=_0xcac4ee;this[_0x11ddd8(0x15b)](this[_0x11ddd8(0x183)][_0x11ddd8(0x195)](Y));}[_0xcac4ee(0x1d3)](){const _0x296816=_0xcac4ee;[['PrintIcon',_0x20bfbc]][_0x296816(0x18f)](([_0x543a85,_0x19fbda])=>{const _0x3a66e8=_0x296816;this[_0x3a66e8(0x14f)][_0x3a66e8(0x18c)](_0x543a85,_0x19fbda);});}};Q=G([W(0x0,_0x4976e1),W(0x1,_0x428976),W(0x2,_0x5cf149(_0x456c16))],Q);let $=class extends _0x5634b3{constructor(_0x3bb149=Z,_0x4c9c27,_0x3b8c1c){const _0x4239ae=_0xcac4ee;super(),this[_0x4239ae(0x14c)]=_0x3bb149,this[_0x4239ae(0x1bf)]=_0x4c9c27,this[_0x4239ae(0x159)]=_0x3b8c1c;let {menu:_0x171a49,..._0xbc0ed8}=_0x52d24f({},Z,this[_0x4239ae(0x14c)]);_0x171a49&&this['_configService'][_0x4239ae(0x198)](_0x4239ae(0x1c2),_0x171a49,{'merge':!0x0}),this[_0x4239ae(0x159)][_0x4239ae(0x198)](X,_0xbc0ed8);}['onStarting'](){const _0x18523e=_0xcac4ee;_0x4e18ec(this[_0x18523e(0x1bf)],[[J],[Q]]);}['onReady'](){const _0x54668b=_0xcac4ee;this[_0x54668b(0x1bf)][_0x54668b(0x1b8)](Q);}};H($,'pluginName','UNIVER_DOCS_PRINT'),H($,_0xcac4ee(0x1c3),ie),H($,_0xcac4ee(0x1b7),ae),H($,_0xcac4ee(0x157),_0x43ced7['UNIVER_DOC']),$=G([_0xa60f30(_0x2d5eb5,_0x44c46a),W(0x1,_0x5cf149(_0x470ef1)),W(0x2,_0x1cb8d3)],$);export{X as DOCS_PRINT_PLUGIN_CONFIG_KEY,Y as DocPrintOperation,$ as UniverDocsPrintPlugin};
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3437(){const _0x1b9dbf=['4772hYSqjy','طباعة','7699ZwjuXH','110215cwJROZ','456232epjpIL','579BAUSrR','120MpCHvb','3135HaVcqo','210IOLnMh','6340XFSNTR','2770mdNPKj','775116iBrMGl'];_0x3437=function(){return _0x1b9dbf;};return _0x3437();}function _0x4ef7(_0x109564,_0x16b1b2){_0x109564=_0x109564-0x182;const _0x3437da=_0x3437();let _0x4ef799=_0x3437da[_0x109564];return _0x4ef799;}const _0x26ebb6=_0x4ef7;(function(_0x561ae6,_0x36a573){const _0x55d5a9=_0x4ef7,_0x5da9f7=_0x561ae6();while(!![]){try{const _0x267aa4=-parseInt(_0x55d5a9(0x185))/0x1+parseInt(_0x55d5a9(0x187))/0x2+parseInt(_0x55d5a9(0x188))/0x3*(parseInt(_0x55d5a9(0x183))/0x4)+parseInt(_0x55d5a9(0x18c))/0x5*(-parseInt(_0x55d5a9(0x18b))/0x6)+-parseInt(_0x55d5a9(0x186))/0x7*(parseInt(_0x55d5a9(0x189))/0x8)+parseInt(_0x55d5a9(0x182))/0x9+-parseInt(_0x55d5a9(0x18d))/0xa*(parseInt(_0x55d5a9(0x18a))/0xb);if(_0x267aa4===_0x36a573)break;else _0x5da9f7['push'](_0x5da9f7['shift']());}catch(_0x526269){_0x5da9f7['push'](_0x5da9f7['shift']());}}}(_0x3437,0x2b48a));const e={'docs-print':{'menu':_0x26ebb6(0x184)}};export{e as default};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5bbd(_0x38df39,_0x4f8122){_0x38df39=_0x38df39-0x1dc;const _0x2b07e0=_0x2b07();let _0x5bbda2=_0x2b07e0[_0x38df39];return _0x5bbda2;}const _0x3ad6ce=_0x5bbd;function _0x2b07(){const _0x2a6843=['5yCMURN','6462zNhvxz','10911290xgMalK','11KbhtAB','30332808cVJlew','Imprimir','14504rDAAbK','204296mJnbhn','123cuXdXd','138608pSTLmN','11161472XwDORz','3383430TMuSkX','6FMNbuu'];_0x2b07=function(){return _0x2a6843;};return _0x2b07();}(function(_0x549574,_0x5c1265){const _0x1b1276=_0x5bbd,_0x41e9bf=_0x549574();while(!![]){try{const _0x3072b2=-parseInt(_0x1b1276(0x1e0))/0x1*(-parseInt(_0x1b1276(0x1e7))/0x2)+parseInt(_0x1b1276(0x1e8))/0x3*(-parseInt(_0x1b1276(0x1dc))/0x4)+parseInt(_0x1b1276(0x1de))/0x5*(parseInt(_0x1b1276(0x1df))/0x6)+-parseInt(_0x1b1276(0x1dd))/0x7+-parseInt(_0x1b1276(0x1e6))/0x8*(-parseInt(_0x1b1276(0x1e1))/0x9)+-parseInt(_0x1b1276(0x1e2))/0xa*(parseInt(_0x1b1276(0x1e3))/0xb)+parseInt(_0x1b1276(0x1e4))/0xc;if(_0x3072b2===_0x5c1265)break;else _0x41e9bf['push'](_0x41e9bf['shift']());}catch(_0x3250c8){_0x41e9bf['push'](_0x41e9bf['shift']());}}}(_0x2b07,0xde4c9));const e={'docs-print':{'menu':_0x3ad6ce(0x1e5)}};export{e as default};
|
package/lib/es/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x43ee03=_0x3d9a;(function(_0x1a7eaf,_0x251e41){const _0x29ac2a=_0x3d9a,_0x33ba0c=_0x1a7eaf();while(!![]){try{const _0x5490ba=parseInt(_0x29ac2a(0xa8))/0x1+-parseInt(_0x29ac2a(0xa5))/0x2+-parseInt(_0x29ac2a(0xa9))/0x3*(parseInt(_0x29ac2a(0xa4))/0x4)+parseInt(_0x29ac2a(0xaa))/0x5*(-parseInt(_0x29ac2a(0xa3))/0x6)+parseInt(_0x29ac2a(0xae))/0x7*(-parseInt(_0x29ac2a(0xad))/0x8)+parseInt(_0x29ac2a(0xa6))/0x9*(-parseInt(_0x29ac2a(0xab))/0xa)+parseInt(_0x29ac2a(0xac))/0xb;if(_0x5490ba===_0x251e41)break;else _0x33ba0c['push'](_0x33ba0c['shift']());}catch(_0x599e78){_0x33ba0c['push'](_0x33ba0c['shift']());}}}(_0x5ab4,0xa40c3));const e={'docs-print':{'menu':_0x43ee03(0xa7)}};function _0x5ab4(){const _0x1dc74e=['1200260bFCqSC','39600341cciHux','1048scvCmW','35371PFHUYY','6hxdKHj','1697760lOAnZh','1248622pPlkLJ','54IZiLcH','Drucken','673196XOECHO','3bUkQJq','5852190YaSfAU'];_0x5ab4=function(){return _0x1dc74e;};return _0x5ab4();}function _0x3d9a(_0x55f03e,_0x217214){_0x55f03e=_0x55f03e-0xa3;const _0x5ab4e3=_0x5ab4();let _0x3d9a2b=_0x5ab4e3[_0x55f03e];return _0x3d9a2b;}export{e as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x45df9b=_0x2bfa;function _0x70d3(){const _0x5d8c6e=['1819868ZvjnPq','8bckCAr','2965506AfPTyU','30QPCxIW','10WtRsMD','7550172sMFytf','Print','1394367YJzjXQ','125142Cdjcwh','7lWLCiU','5036251wbRxmt','2mgtzJq','4491603PyrLAq'];_0x70d3=function(){return _0x5d8c6e;};return _0x70d3();}(function(_0x2f131,_0x2c990a){const _0x55e144=_0x2bfa,_0x1b82bc=_0x2f131();while(!![]){try{const _0x18247a=-parseInt(_0x55e144(0x80))/0x1*(parseInt(_0x55e144(0x84))/0x2)+parseInt(_0x55e144(0x88))/0x3+-parseInt(_0x55e144(0x86))/0x4*(-parseInt(_0x55e144(0x7d))/0x5)+parseInt(_0x55e144(0x81))/0x6*(parseInt(_0x55e144(0x82))/0x7)+-parseInt(_0x55e144(0x87))/0x8*(parseInt(_0x55e144(0x85))/0x9)+parseInt(_0x55e144(0x89))/0xa*(parseInt(_0x55e144(0x83))/0xb)+-parseInt(_0x55e144(0x7e))/0xc;if(_0x18247a===_0x2c990a)break;else _0x1b82bc['push'](_0x1b82bc['shift']());}catch(_0x421dd5){_0x1b82bc['push'](_0x1b82bc['shift']());}}}(_0x70d3,0xbc099));const e={'docs-print':{'menu':_0x45df9b(0x7f)}};function _0x2bfa(_0x19b496,_0x2969a6){_0x19b496=_0x19b496-0x7d;const _0x70d322=_0x70d3();let _0x2bfadf=_0x70d322[_0x19b496];return _0x2bfadf;}export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x194176,_0x49440b){const _0x572b78=_0x5478,_0x3f7f86=_0x194176();while(!![]){try{const _0x39d887=parseInt(_0x572b78(0x1b7))/0x1*(parseInt(_0x572b78(0x1bb))/0x2)+parseInt(_0x572b78(0x1b2))/0x3+parseInt(_0x572b78(0x1b4))/0x4*(parseInt(_0x572b78(0x1b1))/0x5)+-parseInt(_0x572b78(0x1b5))/0x6+parseInt(_0x572b78(0x1ba))/0x7+parseInt(_0x572b78(0x1b9))/0x8*(-parseInt(_0x572b78(0x1b8))/0x9)+parseInt(_0x572b78(0x1b3))/0xa*(-parseInt(_0x572b78(0x1b6))/0xb);if(_0x39d887===_0x49440b)break;else _0x3f7f86['push'](_0x3f7f86['shift']());}catch(_0x23f00e){_0x3f7f86['push'](_0x3f7f86['shift']());}}}(_0x10f8,0x86487));const e={'docs-print':{'menu':'Imprimir'}};export{e as default};function _0x5478(_0x204fda,_0x5e62d0){_0x204fda=_0x204fda-0x1b1;const _0x10f879=_0x10f8();let _0x547884=_0x10f879[_0x204fda];return _0x547884;}function _0x10f8(){const _0x426c1e=['4685358Bysqci','33uNYRth','1Oyrnke','9lqCnOi','7630880polvBI','5642189rSXzlz','1489430PhYBuB','5DbMQfA','2780460xshJHt','2010570xkBhvf','1641540fWBxeG'];_0x10f8=function(){return _0x426c1e;};return _0x10f8();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0xdcf997=_0x2712;function _0x2712(_0x2180e0,_0x364a4d){_0x2180e0=_0x2180e0-0x1f2;const _0x1ec04e=_0x1ec0();let _0x2712d8=_0x1ec04e[_0x2180e0];return _0x2712d8;}(function(_0x567c9e,_0xc814a9){const _0xaf24b6=_0x2712,_0x2ebbac=_0x567c9e();while(!![]){try{const _0x5ca5c7=parseInt(_0xaf24b6(0x1f3))/0x1+parseInt(_0xaf24b6(0x1fb))/0x2+parseInt(_0xaf24b6(0x1f2))/0x3+-parseInt(_0xaf24b6(0x1f4))/0x4+parseInt(_0xaf24b6(0x1fa))/0x5*(parseInt(_0xaf24b6(0x1f5))/0x6)+-parseInt(_0xaf24b6(0x1f7))/0x7+-parseInt(_0xaf24b6(0x1f6))/0x8*(-parseInt(_0xaf24b6(0x1f9))/0x9);if(_0x5ca5c7===_0xc814a9)break;else _0x2ebbac['push'](_0x2ebbac['shift']());}catch(_0x3783e3){_0x2ebbac['push'](_0x2ebbac['shift']());}}}(_0x1ec0,0x1f872));function _0x1ec0(){const _0x2cca33=['232426kwpwse','858908QOwLuV','6UqNWfR','304gyTMYh','1067472QnHsML','چاپ','35415QnchPv','203495SHJEif','73460ZpeXyX','110928WNbaiJ'];_0x1ec0=function(){return _0x2cca33;};return _0x1ec0();}const e={'docs-print':{'menu':_0xdcf997(0x1f8)}};export{e as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5142(_0x55168e,_0x319962){_0x55168e=_0x55168e-0x91;const _0x4a8b65=_0x4a8b();let _0x51426f=_0x4a8b65[_0x55168e];return _0x51426f;}const _0x318a32=_0x5142;(function(_0x2d036e,_0x594412){const _0x4d2caa=_0x5142,_0x48d419=_0x2d036e();while(!![]){try{const _0x48c68a=-parseInt(_0x4d2caa(0x98))/0x1*(-parseInt(_0x4d2caa(0x91))/0x2)+-parseInt(_0x4d2caa(0x9b))/0x3+-parseInt(_0x4d2caa(0x9a))/0x4+parseInt(_0x4d2caa(0x99))/0x5+-parseInt(_0x4d2caa(0x93))/0x6*(-parseInt(_0x4d2caa(0x96))/0x7)+-parseInt(_0x4d2caa(0x92))/0x8+parseInt(_0x4d2caa(0x94))/0x9*(parseInt(_0x4d2caa(0x95))/0xa);if(_0x48c68a===_0x594412)break;else _0x48d419['push'](_0x48d419['shift']());}catch(_0x2e33e2){_0x48d419['push'](_0x48d419['shift']());}}}(_0x4a8b,0x3332a));function _0x4a8b(){const _0x53a8fd=['14tmRlIi','Imprimer','7757yqtzlo','1189315dlOpYZ','1154708NUHZhO','841002bUUxwb','74KmfEYT','789512RTBhvx','369438vbaQXn','1032246reIEbG','20FkGEOq'];_0x4a8b=function(){return _0x53a8fd;};return _0x4a8b();}const e={'docs-print':{'menu':_0x318a32(0x97)}};export{e as default};
|
package/lib/es/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x7b23a9=_0x57cf;function _0x57cf(_0x5d720a,_0x566075){_0x5d720a=_0x5d720a-0x6e;const _0x19fd22=_0x19fd();let _0x57cf65=_0x19fd22[_0x5d720a];return _0x57cf65;}(function(_0x16a97c,_0x2437e5){const _0x1218a=_0x57cf,_0x1a4edc=_0x16a97c();while(!![]){try{const _0x1cc3ed=parseInt(_0x1218a(0x78))/0x1+-parseInt(_0x1218a(0x76))/0x2*(-parseInt(_0x1218a(0x74))/0x3)+parseInt(_0x1218a(0x72))/0x4*(-parseInt(_0x1218a(0x6f))/0x5)+-parseInt(_0x1218a(0x77))/0x6+-parseInt(_0x1218a(0x71))/0x7*(-parseInt(_0x1218a(0x6e))/0x8)+-parseInt(_0x1218a(0x73))/0x9+parseInt(_0x1218a(0x70))/0xa;if(_0x1cc3ed===_0x2437e5)break;else _0x1a4edc['push'](_0x1a4edc['shift']());}catch(_0x30936c){_0x1a4edc['push'](_0x1a4edc['shift']());}}}(_0x19fd,0x74610));const e={'docs-print':{'menu':_0x7b23a9(0x75)}};function _0x19fd(){const _0x56ca46=['321120XKRFcH','1351ezrAzW','226900SJJoct','1595736CXHblh','1601526MXxiGL','Cetak','2eEvsHy','5611962jqTLOW','297089wbKnfZ','32456bpbDnD','5jUehie'];_0x19fd=function(){return _0x56ca46;};return _0x19fd();}export{e as default};
|
package/lib/es/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1724(_0x25811e,_0x10c654){_0x25811e=_0x25811e-0xc5;const _0x24c445=_0x24c4();let _0x1724d3=_0x24c445[_0x25811e];return _0x1724d3;}(function(_0x66bfa4,_0x323814){const _0x286f88=_0x1724,_0x2b0d1c=_0x66bfa4();while(!![]){try{const _0x38002e=parseInt(_0x286f88(0xcd))/0x1+-parseInt(_0x286f88(0xc9))/0x2*(-parseInt(_0x286f88(0xc7))/0x3)+parseInt(_0x286f88(0xc8))/0x4*(parseInt(_0x286f88(0xca))/0x5)+-parseInt(_0x286f88(0xcc))/0x6+parseInt(_0x286f88(0xc5))/0x7+parseInt(_0x286f88(0xc6))/0x8+-parseInt(_0x286f88(0xcb))/0x9;if(_0x38002e===_0x323814)break;else _0x2b0d1c['push'](_0x2b0d1c['shift']());}catch(_0x26f34b){_0x2b0d1c['push'](_0x2b0d1c['shift']());}}}(_0x24c4,0xb0a18));function _0x24c4(){const _0x42faa0=['20633688iBspWR','4072728MdKwkE','242995JvOjDh','427567dRKBTu','7858832xYCUlf','2149734jeQeBh','3901256kwWZKu','4pMzoEi','5yyNcXI'];_0x24c4=function(){return _0x42faa0;};return _0x24c4();}const e={'docs-print':{'menu':'Stampa'}};export{e as default};
|
package/lib/es/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x2d0b(_0x261575,_0x4775a9){_0x261575=_0x261575-0x1ac;const _0x2ae5d0=_0x2ae5();let _0x2d0b99=_0x2ae5d0[_0x261575];return _0x2d0b99;}(function(_0x39cd75,_0x27416d){const _0x4dc45a=_0x2d0b,_0x47a052=_0x39cd75();while(!![]){try{const _0x533b94=-parseInt(_0x4dc45a(0x1b5))/0x1+-parseInt(_0x4dc45a(0x1b4))/0x2+parseInt(_0x4dc45a(0x1b2))/0x3+parseInt(_0x4dc45a(0x1ad))/0x4*(-parseInt(_0x4dc45a(0x1b0))/0x5)+-parseInt(_0x4dc45a(0x1ac))/0x6*(parseInt(_0x4dc45a(0x1b3))/0x7)+-parseInt(_0x4dc45a(0x1b1))/0x8*(parseInt(_0x4dc45a(0x1ae))/0x9)+parseInt(_0x4dc45a(0x1af))/0xa;if(_0x533b94===_0x27416d)break;else _0x47a052['push'](_0x47a052['shift']());}catch(_0x21da51){_0x47a052['push'](_0x47a052['shift']());}}}(_0x2ae5,0x1d111));const e={'docs-print':{'menu':'印刷'}};export{e as default};function _0x2ae5(){const _0x49827c=['92605JtwCQE','1435048cNPeBq','444738ASLbBb','324002Xnrrbi','459878CqQikp','121396xlhUBl','18oJZTzD','4nLPNBv','9wXjUVI','6589060HLFvYu'];_0x2ae5=function(){return _0x49827c;};return _0x2ae5();}
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x176fe9,_0x1f7cc4){const _0x5ae2f5=_0x3dc2,_0x349eb0=_0x176fe9();while(!![]){try{const _0x15a285=parseInt(_0x5ae2f5(0x120))/0x1+parseInt(_0x5ae2f5(0x119))/0x2+parseInt(_0x5ae2f5(0x11d))/0x3+parseInt(_0x5ae2f5(0x11e))/0x4+-parseInt(_0x5ae2f5(0x11c))/0x5*(parseInt(_0x5ae2f5(0x11b))/0x6)+parseInt(_0x5ae2f5(0x11f))/0x7+-parseInt(_0x5ae2f5(0x11a))/0x8;if(_0x15a285===_0x1f7cc4)break;else _0x349eb0['push'](_0x349eb0['shift']());}catch(_0x753ce6){_0x349eb0['push'](_0x349eb0['shift']());}}}(_0x1e12,0x48cd9));const e={'docs-print':{'menu':'인쇄'}};function _0x3dc2(_0x206c34,_0x3a1469){_0x206c34=_0x206c34-0x119;const _0x1e12b7=_0x1e12();let _0x3dc27e=_0x1e12b7[_0x206c34];return _0x3dc27e;}export{e as default};function _0x1e12(){const _0x1a75a8=['972882VmyTsV','2617816sEWLLG','223890OaWfjO','35syYWgm','495846llafJu','556652bSwGId','488600RUKhuv','25947jOSUFs'];_0x1e12=function(){return _0x1a75a8;};return _0x1e12();}
|