@univerjs-pro/collaboration-client 0.5.0-nightly.202411131606 → 0.5.0-nightly.202411151606

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.
@@ -1 +1 @@
1
- const _0x3d3fbf=_0x2383;(function(_0x219c26,_0x4285d6){const _0x562fc3=_0x2383,_0x19670d=_0x219c26();while(!![]){try{const _0x5a8857=parseInt(_0x562fc3(0xd0))/0x1+-parseInt(_0x562fc3(0xc8))/0x2*(parseInt(_0x562fc3(0xc6))/0x3)+-parseInt(_0x562fc3(0xc7))/0x4+parseInt(_0x562fc3(0xd1))/0x5*(parseInt(_0x562fc3(0xc0))/0x6)+-parseInt(_0x562fc3(0xcd))/0x7*(-parseInt(_0x562fc3(0xce))/0x8)+parseInt(_0x562fc3(0xd6))/0x9+parseInt(_0x562fc3(0xbe))/0xa*(-parseInt(_0x562fc3(0xd5))/0xb);if(_0x5a8857===_0x4285d6)break;else _0x19670d['push'](_0x19670d['shift']());}catch(_0x51fbb0){_0x19670d['push'](_0x19670d['shift']());}}}(_0x33b5,0x90f42));function _0x2383(_0x2a3773,_0x24d371){const _0x33b541=_0x33b5();return _0x2383=function(_0x238350,_0x1017b9){_0x238350=_0x238350-0xbc;let _0x52fa78=_0x33b541[_0x238350];return _0x52fa78;},_0x2383(_0x2a3773,_0x24d371);}const e={'collab-client':{'tooltip':{'reconnect':_0x3d3fbf(0xbf)}},'collabStatus':{'fetchMiss':_0x3d3fbf(0xd4),'conflict':_0x3d3fbf(0xcc),'notCollab':_0x3d3fbf(0xc9),'synced':_0x3d3fbf(0xd2),'syncing':_0x3d3fbf(0xc4),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x3d3fbf(0xc1),'will-retry':_0x3d3fbf(0xbd),'room-full':_0x3d3fbf(0xc5),'collaboration-timeout':_0x3d3fbf(0xcf)},'conflict':{'title':_0x3d3fbf(0xc2),'content':_0x3d3fbf(0xcb)},'permission':{'title':_0x3d3fbf(0xca),'content':_0x3d3fbf(0xd7)},'collaboration':{'single-unit':{'warning':_0x3d3fbf(0xc3)},'closeRoom':_0x3d3fbf(0xbc)},'auth':{'needGotoLoginAlert':_0x3d3fbf(0xd3)}};function _0x33b5(){const _0x45c20c=['Click\x20to\x20Reconnect','4469214cBtFeX','Connection\x20failed,\x20please\x20check\x20your\x20network.','Collaboration\x20Conflict','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','295620tOaczS','1047940guZjLI','24jcrNiB','Local\x20file','Authentication\x20Error','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Edit\x20conflicts','4032413eXWmhu','16XAoake','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1098145YJjEzd','5xnhIhQ','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','9534217NTTWBh','6989013YroMTH','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','20dBOFkG'];_0x33b5=function(){return _0x45c20c;};return _0x33b5();}export{e as default};
1
+ function _0x4f84(){const _0x49272c=['Local\x20file','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','14817561uUABeT','Syncing...','49255FXYUac','8oJFvgc','1198617CSrJrJ','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','308pIwaLu','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','854jTKWQn','10tSscAC','905301qOYXwW','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Collaboration\x20Conflict','574558kLSwvu','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','558340EcLhlq','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','18390dMNTSR','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x4f84=function(){return _0x49272c;};return _0x4f84();}const _0x4732b1=_0x30e8;function _0x30e8(_0x31c16b,_0x47f405){const _0x4f8466=_0x4f84();return _0x30e8=function(_0x30e8ef,_0x2b35d3){_0x30e8ef=_0x30e8ef-0xff;let _0x2af8b7=_0x4f8466[_0x30e8ef];return _0x2af8b7;},_0x30e8(_0x31c16b,_0x47f405);}(function(_0x2f8907,_0x2ad46a){const _0x14471c=_0x30e8,_0x38b7b6=_0x2f8907();while(!![]){try{const _0x34622f=parseInt(_0x14471c(0x101))/0x1+-parseInt(_0x14471c(0x105))/0x2+parseInt(_0x14471c(0x110))/0x3+-parseInt(_0x14471c(0x112))/0x4*(-parseInt(_0x14471c(0x10e))/0x5)+parseInt(_0x14471c(0x107))/0x6*(parseInt(_0x14471c(0x114))/0x7)+parseInt(_0x14471c(0x10f))/0x8*(-parseInt(_0x14471c(0x116))/0x9)+parseInt(_0x14471c(0x115))/0xa*(-parseInt(_0x14471c(0x10c))/0xb);if(_0x34622f===_0x2ad46a)break;else _0x38b7b6['push'](_0x38b7b6['shift']());}catch(_0x34bde3){_0x38b7b6['push'](_0x38b7b6['shift']());}}}(_0x4f84,0x5cb60));const e={'collab-client':{'tooltip':{'reconnect':_0x4732b1(0x103)}},'collabStatus':{'fetchMiss':_0x4732b1(0x104),'conflict':'Edit\x20conflicts','notCollab':_0x4732b1(0x109),'synced':'Synced','syncing':_0x4732b1(0x10d),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x4732b1(0x108),'room-full':_0x4732b1(0x111),'collaboration-timeout':_0x4732b1(0x106)},'conflict':{'title':_0x4732b1(0x100),'content':_0x4732b1(0xff)},'permission':{'title':_0x4732b1(0x10b),'content':_0x4732b1(0x113)},'collaboration':{'single-unit':{'warning':_0x4732b1(0x102)},'closeRoom':_0x4732b1(0x10a)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
@@ -1 +1 @@
1
- function _0x47fe(_0x37036c,_0x19bf73){const _0x513c53=_0x513c();return _0x47fe=function(_0x47fea6,_0x145c8e){_0x47fea6=_0x47fea6-0x131;let _0x47142a=_0x513c53[_0x47fea6];return _0x47142a;},_0x47fe(_0x37036c,_0x19bf73);}const _0x72beb0=_0x47fe;(function(_0x5c0a45,_0x15ec7c){const _0x4c1b27=_0x47fe,_0x53e442=_0x5c0a45();while(!![]){try{const _0x18aad3=parseInt(_0x4c1b27(0x135))/0x1*(-parseInt(_0x4c1b27(0x134))/0x2)+parseInt(_0x4c1b27(0x13b))/0x3+parseInt(_0x4c1b27(0x13f))/0x4+parseInt(_0x4c1b27(0x138))/0x5*(-parseInt(_0x4c1b27(0x131))/0x6)+-parseInt(_0x4c1b27(0x141))/0x7*(parseInt(_0x4c1b27(0x13d))/0x8)+-parseInt(_0x4c1b27(0x136))/0x9*(parseInt(_0x4c1b27(0x140))/0xa)+-parseInt(_0x4c1b27(0x144))/0xb*(-parseInt(_0x4c1b27(0x139))/0xc);if(_0x18aad3===_0x15ec7c)break;else _0x53e442['push'](_0x53e442['shift']());}catch(_0x4199c9){_0x53e442['push'](_0x53e442['shift']());}}}(_0x513c,0xd4a26));function _0x513c(){const _0x454346=['39459kEwFBL','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','3299791ZSXVia','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','همگام\x20سازی','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','تداخل\x20همکاری','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی...','3869682DwKLeT','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','21394FImaOK','1JkCmkp','1320408IeyWyb','پرونده\x20محلی','5qLbxcn','24mFYahA','تداخل\x20ویرایش','4608564fizlXS','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','592msyITr','خطای\x20اعتبارسنجی','990872QYNbgl','30OivTjO'];_0x513c=function(){return _0x454346;};return _0x513c();}const o={'collab-client':{'tooltip':{'reconnect':_0x72beb0(0x132)}},'collabStatus':{'fetchMiss':_0x72beb0(0x142),'conflict':_0x72beb0(0x13a),'notCollab':_0x72beb0(0x137),'synced':_0x72beb0(0x147),'syncing':_0x72beb0(0x14b),'offline':_0x72beb0(0x145)},'session':{'connection-failed':_0x72beb0(0x146),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x72beb0(0x133)},'conflict':{'title':_0x72beb0(0x149),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x72beb0(0x13e),'content':_0x72beb0(0x148)},'collaboration':{'single-unit':{'warning':_0x72beb0(0x143)},'closeRoom':_0x72beb0(0x13c)},'auth':{'needGotoLoginAlert':_0x72beb0(0x14a)}};export{o as default};
1
+ const _0x4426a4=_0x3822;(function(_0x346937,_0x48ae96){const _0x7dae34=_0x3822,_0x12318f=_0x346937();while(!![]){try{const _0x2819fa=parseInt(_0x7dae34(0xbd))/0x1*(-parseInt(_0x7dae34(0xbc))/0x2)+-parseInt(_0x7dae34(0xbf))/0x3+parseInt(_0x7dae34(0xae))/0x4+-parseInt(_0x7dae34(0xb1))/0x5+-parseInt(_0x7dae34(0xb3))/0x6*(parseInt(_0x7dae34(0xb7))/0x7)+parseInt(_0x7dae34(0xb5))/0x8+parseInt(_0x7dae34(0xb4))/0x9;if(_0x2819fa===_0x48ae96)break;else _0x12318f['push'](_0x12318f['shift']());}catch(_0xfe6625){_0x12318f['push'](_0x12318f['shift']());}}}(_0x5ea5,0x3ce54));const o={'collab-client':{'tooltip':{'reconnect':_0x4426a4(0xc2)}},'collabStatus':{'fetchMiss':_0x4426a4(0xaf),'conflict':_0x4426a4(0xc1),'notCollab':_0x4426a4(0xc0),'synced':_0x4426a4(0xbe),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x4426a4(0xb9),'will-retry':_0x4426a4(0xc3),'room-full':_0x4426a4(0xb0),'collaboration-timeout':_0x4426a4(0xb8)},'conflict':{'title':_0x4426a4(0xb2),'content':_0x4426a4(0xba)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x4426a4(0xb6)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x4426a4(0xbb)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x5ea5(){const _0x112e8e=['22stgziz','2171ZEBsLk','همگام\x20سازی','1472328aAcJMC','پرونده\x20محلی','تداخل\x20ویرایش','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','1811612TFMzrO','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','1368250jufgRi','تداخل\x20همکاری','351306jseQqv','6703461ZsEcFI','1530472VdwTvI','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','42dRxCqx','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'];_0x5ea5=function(){return _0x112e8e;};return _0x5ea5();}function _0x3822(_0x26ba09,_0x45ffe9){const _0x5ea5ea=_0x5ea5();return _0x3822=function(_0x3822e5,_0xa04f71){_0x3822e5=_0x3822e5-0xae;let _0x23963c=_0x5ea5ea[_0x3822e5];return _0x23963c;},_0x3822(_0x26ba09,_0x45ffe9);}export{o as default};
@@ -1 +1 @@
1
- const _0x9d783c=_0x36f5;function _0x36f5(_0xdb3360,_0x368dbe){const _0x56f736=_0x56f7();return _0x36f5=function(_0x36f533,_0x844e15){_0x36f533=_0x36f533-0x1f0;let _0x1ca8d1=_0x56f736[_0x36f533];return _0x1ca8d1;},_0x36f5(_0xdb3360,_0x368dbe);}(function(_0x53a4ed,_0x56ddde){const _0x302247=_0x36f5,_0x2a5f97=_0x53a4ed();while(!![]){try{const _0x40b3c7=parseInt(_0x302247(0x206))/0x1+parseInt(_0x302247(0x207))/0x2*(parseInt(_0x302247(0x1f7))/0x3)+parseInt(_0x302247(0x1fd))/0x4*(-parseInt(_0x302247(0x1f5))/0x5)+-parseInt(_0x302247(0x201))/0x6+parseInt(_0x302247(0x1fc))/0x7+-parseInt(_0x302247(0x205))/0x8+parseInt(_0x302247(0x208))/0x9*(parseInt(_0x302247(0x202))/0xa);if(_0x40b3c7===_0x56ddde)break;else _0x2a5f97['push'](_0x2a5f97['shift']());}catch(_0xd40045){_0x2a5f97['push'](_0x2a5f97['shift']());}}}(_0x56f7,0xcf889));const e={'collab-client':{'tooltip':{'reconnect':_0x9d783c(0x1f8)}},'collabStatus':{'fetchMiss':_0x9d783c(0x203),'conflict':'Edit\x20conflicts','notCollab':_0x9d783c(0x1f9),'synced':'Synced','syncing':_0x9d783c(0x1fe),'offline':_0x9d783c(0x1f1)},'session':{'connection-failed':_0x9d783c(0x1ff),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x9d783c(0x204),'collaboration-timeout':_0x9d783c(0x1f0)},'conflict':{'title':_0x9d783c(0x1f3),'content':_0x9d783c(0x1f2)},'permission':{'title':_0x9d783c(0x1f6),'content':_0x9d783c(0x1fa)},'collaboration':{'single-unit':{'warning':_0x9d783c(0x200)},'closeRoom':_0x9d783c(0x1f4)},'auth':{'needGotoLoginAlert':_0x9d783c(0x1fb)}},o=e;function _0x56f7(){const _0x2aade7=['Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','9924719zzTdql','678932oapLoo','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','9820074FClkMO','1607770KjQStt','Syncing\x20server\x20data...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','9144352WxMrhZ','841394bIrikz','6XQceVy','72bqvABi','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Collaboration\x20Conflict','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','10NjliEx','Authentication\x20Error','423819OcNQhi','Click\x20to\x20Reconnect'];_0x56f7=function(){return _0x2aade7;};return _0x56f7();}export{o as default};
1
+ const _0x3c5dd7=_0x293a;function _0x293a(_0x2780df,_0x51f634){const _0x6ef65e=_0x6ef6();return _0x293a=function(_0x293abc,_0x454062){_0x293abc=_0x293abc-0x148;let _0x30549f=_0x6ef65e[_0x293abc];return _0x30549f;},_0x293a(_0x2780df,_0x51f634);}(function(_0x593f69,_0x59f608){const _0x4d8562=_0x293a,_0x85cdc7=_0x593f69();while(!![]){try{const _0x1cd5be=-parseInt(_0x4d8562(0x14a))/0x1*(-parseInt(_0x4d8562(0x153))/0x2)+-parseInt(_0x4d8562(0x148))/0x3*(parseInt(_0x4d8562(0x15d))/0x4)+parseInt(_0x4d8562(0x15f))/0x5+-parseInt(_0x4d8562(0x157))/0x6*(-parseInt(_0x4d8562(0x160))/0x7)+-parseInt(_0x4d8562(0x14d))/0x8+-parseInt(_0x4d8562(0x14f))/0x9*(-parseInt(_0x4d8562(0x14e))/0xa)+-parseInt(_0x4d8562(0x156))/0xb;if(_0x1cd5be===_0x59f608)break;else _0x85cdc7['push'](_0x85cdc7['shift']());}catch(_0x550d90){_0x85cdc7['push'](_0x85cdc7['shift']());}}}(_0x6ef6,0x76e55));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3c5dd7(0x15b),'conflict':_0x3c5dd7(0x15c),'notCollab':'Local\x20file','synced':_0x3c5dd7(0x15e),'syncing':_0x3c5dd7(0x161),'offline':_0x3c5dd7(0x14b)},'session':{'connection-failed':_0x3c5dd7(0x155),'will-retry':_0x3c5dd7(0x151),'room-full':_0x3c5dd7(0x152),'collaboration-timeout':_0x3c5dd7(0x150)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3c5dd7(0x159)},'permission':{'title':_0x3c5dd7(0x154),'content':_0x3c5dd7(0x149)},'collaboration':{'single-unit':{'warning':_0x3c5dd7(0x15a)},'closeRoom':_0x3c5dd7(0x14c)},'auth':{'needGotoLoginAlert':_0x3c5dd7(0x158)}},o=e;function _0x6ef6(){const _0xec43a4=['Syncing\x20server\x20data...','Edit\x20conflicts','24OqtOAZ','Synced','2146995zPrgbw','7147sbsIbm','Syncing...','185727PaRPHA','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','15kRGyQi','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1045232PhXOtC','130230IDGQdW','207eskSaz','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','36786Ffyjkc','Authentication\x20Error','Connection\x20failed,\x20please\x20check\x20your\x20network.','7708899NkXMkv','4026vtcVmU','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x6ef6=function(){return _0xec43a4;};return _0x6ef6();}export{o as default};
@@ -1 +1 @@
1
- function _0xff32(_0x3aba31,_0x560381){const _0x3a2c5b=_0x3a2c();return _0xff32=function(_0xff3242,_0x3385ea){_0xff3242=_0xff3242-0x1c7;let _0x100a87=_0x3a2c5b[_0xff3242];return _0x100a87;},_0xff32(_0x3aba31,_0x560381);}const _0x30cb33=_0xff32;function _0x3a2c(){const _0x44266d=['Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','10sOzDLj','206776lahEiz','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','3610080PHePee','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1445105lELJkO','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','4427478JrnrPX','Connection\x20failed,\x20please\x20check\x20your\x20network.','Synced','Click\x20to\x20Reconnect','14981140lIvCot','7OMlSUN','Authentication\x20Error','Local\x20file','Syncing...','Collaboration\x20Conflict','1402924gTzdHD','8Ysrwrt','1298358QXKZOb','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x3a2c=function(){return _0x44266d;};return _0x3a2c();}(function(_0x232e27,_0x44d080){const _0x33c5c9=_0xff32,_0xa3c90d=_0x232e27();while(!![]){try{const _0x2e35ce=parseInt(_0x33c5c9(0x1d4))/0x1*(-parseInt(_0x33c5c9(0x1d3))/0x2)+-parseInt(_0x33c5c9(0x1d6))/0x3+parseInt(_0x33c5c9(0x1cb))/0x4+parseInt(_0x33c5c9(0x1d9))/0x5+parseInt(_0x33c5c9(0x1cd))/0x6*(parseInt(_0x33c5c9(0x1e0))/0x7)+parseInt(_0x33c5c9(0x1cc))/0x8*(parseInt(_0x33c5c9(0x1db))/0x9)+parseInt(_0x33c5c9(0x1df))/0xa;if(_0x2e35ce===_0x44d080)break;else _0xa3c90d['push'](_0xa3c90d['shift']());}catch(_0x3646f6){_0xa3c90d['push'](_0xa3c90d['shift']());}}}(_0x3a2c,0x94ac1));const e={'collab-client':{'tooltip':{'reconnect':_0x30cb33(0x1de)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x30cb33(0x1c8),'synced':_0x30cb33(0x1dd),'syncing':_0x30cb33(0x1c9),'offline':_0x30cb33(0x1d8)},'session':{'connection-failed':_0x30cb33(0x1dc),'will-retry':_0x30cb33(0x1d5),'room-full':_0x30cb33(0x1d1),'collaboration-timeout':_0x30cb33(0x1d7)},'conflict':{'title':_0x30cb33(0x1ca),'content':_0x30cb33(0x1da)},'permission':{'title':_0x30cb33(0x1c7),'content':_0x30cb33(0x1d0)},'collaboration':{'single-unit':{'warning':_0x30cb33(0x1d2)},'closeRoom':_0x30cb33(0x1ce)},'auth':{'needGotoLoginAlert':_0x30cb33(0x1cf)}},o=e;export{o as default};
1
+ const _0xd07dc2=_0x11ae;function _0x4066(){const _0x59dffc=['20620152hZsYic','168pSdIlb','Connection\x20failed,\x20please\x20check\x20your\x20network.','Click\x20to\x20Reconnect','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','Synced','1106214YFCyti','1274770dHZQHq','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Edit\x20conflicts','3379390xEKQcR','Syncing\x20server\x20data...','Syncing...','2907555cSqjJS','214616OOJLqN','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','4eFCfoQ','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','65796TBmxmr','10dfnhVp','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'];_0x4066=function(){return _0x59dffc;};return _0x4066();}(function(_0x279e73,_0x395a9d){const _0xe34643=_0x11ae,_0x4538c0=_0x279e73();while(!![]){try{const _0x1fca3f=parseInt(_0xe34643(0x1fd))/0x1+-parseInt(_0xe34643(0x1f2))/0x2+-parseInt(_0xe34643(0x1f8))/0x3*(parseInt(_0xe34643(0x1fb))/0x4)+-parseInt(_0xe34643(0x1f5))/0x5+-parseInt(_0xe34643(0x1f1))/0x6+-parseInt(_0xe34643(0x201))/0x7*(-parseInt(_0xe34643(0x1f9))/0x8)+-parseInt(_0xe34643(0x200))/0x9*(-parseInt(_0xe34643(0x1fe))/0xa);if(_0x1fca3f===_0x395a9d)break;else _0x4538c0['push'](_0x4538c0['shift']());}catch(_0x3265d8){_0x4538c0['push'](_0x4538c0['shift']());}}}(_0x4066,0x825c3));function _0x11ae(_0x39ec25,_0x3891d6){const _0x406689=_0x4066();return _0x11ae=function(_0x11aeac,_0x496a1e){_0x11aeac=_0x11aeac-0x1f0;let _0x94d31e=_0x406689[_0x11aeac];return _0x94d31e;},_0x11ae(_0x39ec25,_0x3891d6);}const e={'collab-client':{'tooltip':{'reconnect':_0xd07dc2(0x203)}},'collabStatus':{'fetchMiss':_0xd07dc2(0x1f6),'conflict':_0xd07dc2(0x1f4),'notCollab':'Local\x20file','synced':_0xd07dc2(0x1f0),'syncing':_0xd07dc2(0x1f7),'offline':_0xd07dc2(0x1fc)},'session':{'connection-failed':_0xd07dc2(0x202),'will-retry':_0xd07dc2(0x204),'room-full':_0xd07dc2(0x205),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0xd07dc2(0x206),'content':_0xd07dc2(0x1ff)},'permission':{'title':'Authentication\x20Error','content':_0xd07dc2(0x1f3)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0xd07dc2(0x1fa)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
@@ -1 +1 @@
1
- function _0x5565(_0x5cee59,_0x5a7a70){const _0x7d52a1=_0x7d52();return _0x5565=function(_0x55655b,_0x96e572){_0x55655b=_0x55655b-0x7b;let _0x39047a=_0x7d52a1[_0x55655b];return _0x39047a;},_0x5565(_0x5cee59,_0x5a7a70);}const _0x3b577b=_0x5565;(function(_0x539f46,_0x2caedf){const _0x5a6a2a=_0x5565,_0x5db274=_0x539f46();while(!![]){try{const _0x283023=parseInt(_0x5a6a2a(0x8a))/0x1+-parseInt(_0x5a6a2a(0x7e))/0x2*(-parseInt(_0x5a6a2a(0x81))/0x3)+-parseInt(_0x5a6a2a(0x8e))/0x4*(-parseInt(_0x5a6a2a(0x8c))/0x5)+-parseInt(_0x5a6a2a(0x8f))/0x6*(parseInt(_0x5a6a2a(0x7f))/0x7)+parseInt(_0x5a6a2a(0x89))/0x8*(-parseInt(_0x5a6a2a(0x80))/0x9)+parseInt(_0x5a6a2a(0x88))/0xa+-parseInt(_0x5a6a2a(0x84))/0xb*(parseInt(_0x5a6a2a(0x83))/0xc);if(_0x283023===_0x2caedf)break;else _0x5db274['push'](_0x5db274['shift']());}catch(_0x43c1ef){_0x5db274['push'](_0x5db274['shift']());}}}(_0x7d52,0x5472d));function _0x7d52(){const _0x2fe672=['2457305vcbuHb','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','4ZWmaBS','6iNvGTt','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','连接失败,请检查你的网络','权限错误','正在拉取服务端数据...','协同冲突','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','2GzONHa','386701NtsfDb','1931985EsMGkf','698970WevTij','已同步','732POpqQq','98296msSfod','点击重新连接','连接失败,将在一会儿之后重试连接','已离线,编辑将在本地缓存','527020TeZNXC','8BbwBdM','383752PuFjVE','由于协同房间被关闭,编辑权限被收回。'];_0x7d52=function(){return _0x2fe672;};return _0x7d52();}const o={'collab-client':{'tooltip':{'reconnect':_0x3b577b(0x85)}},'collabStatus':{'fetchMiss':_0x3b577b(0x93),'conflict':'编辑冲突','notCollab':'本地文件','synced':_0x3b577b(0x82),'syncing':'保存中...','offline':_0x3b577b(0x87)},'session':{'connection-failed':_0x3b577b(0x91),'will-retry':_0x3b577b(0x86),'room-full':'协同房间已满,你的编辑将在本地缓存','collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':_0x3b577b(0x7b),'content':_0x3b577b(0x7d)},'permission':{'title':_0x3b577b(0x92),'content':_0x3b577b(0x7c)},'collaboration':{'single-unit':{'warning':_0x3b577b(0x8d)},'closeRoom':_0x3b577b(0x8b)},'auth':{'needGotoLoginAlert':_0x3b577b(0x90)}};export{o as default};
1
+ const _0xbf25da=_0x501d;(function(_0x575da9,_0x5df8c8){const _0x4f437b=_0x501d,_0x4e1f7b=_0x575da9();while(!![]){try{const _0x575b7a=parseInt(_0x4f437b(0x164))/0x1*(parseInt(_0x4f437b(0x156))/0x2)+-parseInt(_0x4f437b(0x167))/0x3*(parseInt(_0x4f437b(0x15c))/0x4)+-parseInt(_0x4f437b(0x16b))/0x5+parseInt(_0x4f437b(0x15b))/0x6*(parseInt(_0x4f437b(0x15a))/0x7)+parseInt(_0x4f437b(0x16d))/0x8+-parseInt(_0x4f437b(0x162))/0x9+-parseInt(_0x4f437b(0x15f))/0xa*(parseInt(_0x4f437b(0x159))/0xb);if(_0x575b7a===_0x5df8c8)break;else _0x4e1f7b['push'](_0x4e1f7b['shift']());}catch(_0x16143b){_0x4e1f7b['push'](_0x4e1f7b['shift']());}}}(_0x1ec0,0x8bf78));function _0x501d(_0x197512,_0x2150b4){const _0x1ec021=_0x1ec0();return _0x501d=function(_0x501df3,_0x3e373a){_0x501df3=_0x501df3-0x156;let _0x15a8e2=_0x1ec021[_0x501df3];return _0x15a8e2;},_0x501d(_0x197512,_0x2150b4);}const o={'collab-client':{'tooltip':{'reconnect':_0xbf25da(0x15e)}},'collabStatus':{'fetchMiss':_0xbf25da(0x16a),'conflict':_0xbf25da(0x165),'notCollab':_0xbf25da(0x157),'synced':_0xbf25da(0x163),'syncing':'保存中...','offline':_0xbf25da(0x158)},'session':{'connection-failed':_0xbf25da(0x169),'will-retry':_0xbf25da(0x16e),'room-full':_0xbf25da(0x160),'collaboration-timeout':_0xbf25da(0x15d)},'conflict':{'title':_0xbf25da(0x168),'content':_0xbf25da(0x161)},'permission':{'title':'权限错误','content':_0xbf25da(0x16f)},'collaboration':{'single-unit':{'warning':'你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。'},'closeRoom':_0xbf25da(0x16c)},'auth':{'needGotoLoginAlert':_0xbf25da(0x166)}};export{o as default};function _0x1ec0(){const _0x13260f=['你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','22oKBeSM','本地文件','已离线,编辑将在本地缓存','118129Sudkrm','1609818KDJMja','18oPtKPs','88vTkUiv','服务器未响应,你的编辑将在本地缓存','点击重新连接','530TxoYlW','协同房间已满,你的编辑将在本地缓存','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','747549gCpqTZ','已同步','82421CWfHaV','编辑冲突','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','41007IhhTZi','协同冲突','连接失败,请检查你的网络','正在拉取服务端数据...','5719505fadoOz','由于协同房间被关闭,编辑权限被收回。','8588784XOUNTG','连接失败,将在一会儿之后重试连接'];_0x1ec0=function(){return _0x13260f;};return _0x1ec0();}
@@ -1 +1 @@
1
- function _0x2351(_0x1a9a7e,_0x326b45){const _0x234c1a=_0x234c();return _0x2351=function(_0x235132,_0x558b2b){_0x235132=_0x235132-0xe3;let _0xe9876b=_0x234c1a[_0x235132];return _0xe9876b;},_0x2351(_0x1a9a7e,_0x326b45);}const _0x2ccd9e=_0x2351;(function(_0x2c2adc,_0x1bf8b7){const _0x5af8da=_0x2351,_0xac26e7=_0x2c2adc();while(!![]){try{const _0x57d40b=-parseInt(_0x5af8da(0xf1))/0x1+parseInt(_0x5af8da(0xf4))/0x2+parseInt(_0x5af8da(0xf5))/0x3*(parseInt(_0x5af8da(0xe4))/0x4)+parseInt(_0x5af8da(0xf3))/0x5+-parseInt(_0x5af8da(0xef))/0x6*(-parseInt(_0x5af8da(0xea))/0x7)+-parseInt(_0x5af8da(0xf0))/0x8+parseInt(_0x5af8da(0xf2))/0x9*(parseInt(_0x5af8da(0xe9))/0xa);if(_0x57d40b===_0x1bf8b7)break;else _0xac26e7['push'](_0xac26e7['shift']());}catch(_0x79ca56){_0xac26e7['push'](_0xac26e7['shift']());}}}(_0x234c,0xac296));const e={'collab-client':{'tooltip':{'reconnect':_0x2ccd9e(0xf7)}},'collabStatus':{'fetchMiss':_0x2ccd9e(0xed),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x2ccd9e(0xec),'syncing':_0x2ccd9e(0xe3),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2ccd9e(0xe5),'will-retry':_0x2ccd9e(0xee),'room-full':_0x2ccd9e(0xf6),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x2ccd9e(0xeb),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x2ccd9e(0xe6),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x2ccd9e(0xe7)},'closeRoom':_0x2ccd9e(0xe8)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};function _0x234c(){const _0x456002=['10ahvhDx','1508311wVfkYE','Collaboration\x20Conflict','Synced','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','6BNHhug','8240648QLXubT','754911JoaLqc','2953116raOKgS','1076505xCMVPV','806180AkZnpA','7338LevEPF','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','Syncing...','2172GfcsAB','Connection\x20failed,\x20please\x20check\x20your\x20network.','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x234c=function(){return _0x456002;};return _0x234c();}
1
+ function _0x4383(_0x313d3a,_0x8fc50b){const _0x25ce32=_0x25ce();return _0x4383=function(_0x43834e,_0x3e6de3){_0x43834e=_0x43834e-0x148;let _0x1cfcff=_0x25ce32[_0x43834e];return _0x1cfcff;},_0x4383(_0x313d3a,_0x8fc50b);}const _0x3470e4=_0x4383;(function(_0x2076ca,_0x4e6ccd){const _0x2c9d85=_0x4383,_0x1ecf13=_0x2076ca();while(!![]){try{const _0x338c74=-parseInt(_0x2c9d85(0x159))/0x1+parseInt(_0x2c9d85(0x14a))/0x2+-parseInt(_0x2c9d85(0x15c))/0x3*(-parseInt(_0x2c9d85(0x150))/0x4)+parseInt(_0x2c9d85(0x151))/0x5+parseInt(_0x2c9d85(0x15a))/0x6*(parseInt(_0x2c9d85(0x152))/0x7)+-parseInt(_0x2c9d85(0x157))/0x8*(-parseInt(_0x2c9d85(0x15e))/0x9)+parseInt(_0x2c9d85(0x15b))/0xa*(-parseInt(_0x2c9d85(0x15f))/0xb);if(_0x338c74===_0x4e6ccd)break;else _0x1ecf13['push'](_0x1ecf13['shift']());}catch(_0x15d6fe){_0x1ecf13['push'](_0x1ecf13['shift']());}}}(_0x25ce,0x49dab));const e={'collab-client':{'tooltip':{'reconnect':_0x3470e4(0x15d)}},'collabStatus':{'fetchMiss':_0x3470e4(0x14b),'conflict':_0x3470e4(0x158),'notCollab':'Local\x20file','synced':_0x3470e4(0x154),'syncing':_0x3470e4(0x155),'offline':_0x3470e4(0x14c)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x3470e4(0x14d),'room-full':_0x3470e4(0x153),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3470e4(0x149)},'permission':{'title':_0x3470e4(0x14f),'content':_0x3470e4(0x156)},'collaboration':{'single-unit':{'warning':_0x3470e4(0x14e)},'closeRoom':_0x3470e4(0x148)},'auth':{'needGotoLoginAlert':_0x3470e4(0x160)}},o=e;export{o as default};function _0x25ce(){const _0x2c6306=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','Syncing...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','64ZgLYNe','Edit\x20conflicts','2871YlJmqy','6oNbdpi','10FRMkdI','884397SIjzgB','Click\x20to\x20Reconnect','418833MUyyAd','13353945wSHWtV','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','669286hBZHLn','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','4edrwcS','903860vvSeNN','2358041jjIhhz'];_0x25ce=function(){return _0x2c6306;};return _0x25ce();}
@@ -23,6 +23,7 @@ export declare const DEFAULT_SEND_CHANGESET_TIMEOUT = 2000;
23
23
  /** @deprecated Will be removed in the 0.2.19 release */
24
24
  export declare const COLLAB_WEB_SOCKET_URL_KEY = "COLLAB_WEB_SOCKET_URL";
25
25
  export declare const DEFAULT_COLLAB_WEB_SOCKET_URL = "ws://127.0.0.1:8000/universer-api/comb/connect";
26
+ export declare const DEFAULT_WS_SESSION_TICKET_URL = "/universer-api/user/session-ticket";
26
27
  /** The heartbeat interval in milliseconds. */
27
28
  export declare const HEARTBEAT_INTERVAL_KEY = "HEARTBEAT_INTERVAL";
28
29
  export declare const DEFAULT_HEARTBEAT_INTERVAL = 30000;
@@ -1,9 +1,10 @@
1
1
  import { IDisposable, ILocalStorageService, Nullable, ILogService } from '@univerjs/core';
2
2
  import { IMessageOptions, IMessageProps } from '@univerjs/design';
3
+ import { HTTPResponse } from '@univerjs/network';
3
4
  import { IBeforeCloseService, IMessageService, INotificationService } from '@univerjs/ui';
4
5
  import { ICombResponseEvent } from '@univerjs-pro/collaboration';
5
- import { Subject } from 'rxjs';
6
6
  import { ICollaborationSocket, ICollaborationSocketService } from '../../../services/socket/collaboration-socket.service';
7
+ import { Subject } from 'rxjs';
7
8
  /**
8
9
  * The handler object for a mocked socket connection. You can terminate, send messages / error through this object.
9
10
  */
@@ -52,3 +53,6 @@ export declare class MockMessageService implements IMessageService {
52
53
  export declare class MockNotificationService implements INotificationService {
53
54
  show(): IDisposable;
54
55
  }
56
+ export declare class MockHTTPService {
57
+ get(url: string): Promise<HTTPResponse<any>>;
58
+ }
@@ -15,6 +15,10 @@ export interface IUniverCollaborationClientConfig {
15
15
  snapshotServerUrl?: string;
16
16
  collabSubmitChangesetUrl?: string;
17
17
  collabWebSocketUrl?: string;
18
+ /**
19
+ * The URL of the endpoint for getting the websocket session ticket.
20
+ */
21
+ wsSessionTicketUrl?: string;
18
22
  loginUrlKey?: string;
19
23
  retryConnectingInterval?: number;
20
24
  authzUrl?: string;
@@ -1,5 +1,6 @@
1
1
  import { Nullable, Disposable, IConfigService, ILogService, Injector, LocaleService } from '@univerjs/core';
2
2
  import { ICollaborationSocket, ICollaborationSocketService } from '../socket/collaboration-socket.service';
3
+ import { HTTPService } from '@univerjs/network';
3
4
  import { IMessageService } from '@univerjs/ui';
4
5
  import { CollaborationSession, SessionStatus } from './collaboration-session';
5
6
  /**
@@ -13,6 +14,7 @@ export declare class CollaborationSessionService extends Disposable {
13
14
  private readonly _logService;
14
15
  private readonly _configService;
15
16
  private readonly _socketService;
17
+ private readonly _httpService;
16
18
  /**
17
19
  * Socket for collaboration sessions. Session are by unitID but the socket is share by collaboration sessions.
18
20
  */
@@ -26,7 +28,7 @@ export declare class CollaborationSessionService extends Disposable {
26
28
  private _socketReady;
27
29
  private _retryConnectingTimer;
28
30
  private _retryCount;
29
- constructor(_injector: Injector, _localeService: LocaleService, _messageService: IMessageService, _logService: ILogService, _configService: IConfigService, _socketService: ICollaborationSocketService);
31
+ constructor(_injector: Injector, _localeService: LocaleService, _messageService: IMessageService, _logService: ILogService, _configService: IConfigService, _socketService: ICollaborationSocketService, _httpService: HTTPService);
30
32
  private _initEventListeners;
31
33
  dispose(): void;
32
34
  /**
@@ -37,6 +39,18 @@ export declare class CollaborationSessionService extends Disposable {
37
39
  requireSession(unitID: string): Promise<CollaborationSession>;
38
40
  closeSession(unitID: string): void;
39
41
  reconnect(): void;
42
+ private _getSessionTicket;
43
+ private _createSocketURL;
44
+ /**
45
+ * Authentication flow for WebSocket connections:
46
+ * 1. Get one-time session ticket via HTTP request
47
+ * 2. Connect WebSocket with ticket as URL parameter
48
+ *
49
+ * Benefits:
50
+ * - Bypasses cookie-based auth restrictions
51
+ * - Supports custom auth headers
52
+ * - Uses secure one-time ticket validation
53
+ */
40
54
  private _createSocket;
41
55
  /**
42
56
  * Try to establish connection to the collaboration server.