@univerjs-pro/collaboration-client 0.5.0-nightly.202411141606 → 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 _0x3ecd8b=_0x43e4;function _0x1cd8(){const _0x3b907e=['Syncing...','10vSFLVf','606832RqhDqI','202fcbOIF','Click\x20to\x20Reconnect','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Local\x20file','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.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','7269vpHCmN','522968bteCVF','Syncing\x20server\x20data...','5859kgYjKv','905886VdLUUB','Synced','552vKIkDR','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','15379GVyZwB','Connection\x20failed,\x20please\x20check\x20your\x20network.','4205820lHkwSM','Authentication\x20Error'];_0x1cd8=function(){return _0x3b907e;};return _0x1cd8();}(function(_0xfcf609,_0x2cd140){const _0x33cc0a=_0x43e4,_0x438a8d=_0xfcf609();while(!![]){try{const _0x4e6849=parseInt(_0x33cc0a(0xcb))/0x1+-parseInt(_0x33cc0a(0xc5))/0x2*(-parseInt(_0x33cc0a(0xb7))/0x3)+parseInt(_0x33cc0a(0xcc))/0x4*(-parseInt(_0x33cc0a(0xc3))/0x5)+-parseInt(_0x33cc0a(0xba))/0x6*(parseInt(_0x33cc0a(0xbe))/0x7)+parseInt(_0x33cc0a(0xc4))/0x8+-parseInt(_0x33cc0a(0xb8))/0x9+parseInt(_0x33cc0a(0xc0))/0xa;if(_0x4e6849===_0x2cd140)break;else _0x438a8d['push'](_0x438a8d['shift']());}catch(_0x520c55){_0x438a8d['push'](_0x438a8d['shift']());}}}(_0x1cd8,0x215f8));const e={'collab-client':{'tooltip':{'reconnect':_0x3ecd8b(0xc6)}},'collabStatus':{'fetchMiss':_0x3ecd8b(0xcd),'conflict':'Edit\x20conflicts','notCollab':_0x3ecd8b(0xc8),'synced':_0x3ecd8b(0xb9),'syncing':_0x3ecd8b(0xc2),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x3ecd8b(0xbf),'will-retry':_0x3ecd8b(0xc7),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x3ecd8b(0xbc),'content':_0x3ecd8b(0xc9)},'permission':{'title':_0x3ecd8b(0xc1),'content':_0x3ecd8b(0xca)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x3ecd8b(0xbd)},'auth':{'needGotoLoginAlert':_0x3ecd8b(0xbb)}};function _0x43e4(_0x4d0fae,_0x241177){const _0x1cd86b=_0x1cd8();return _0x43e4=function(_0x43e4f2,_0x35fe8d){_0x43e4f2=_0x43e4f2-0xb7;let _0x504b8f=_0x1cd86b[_0x43e4f2];return _0x504b8f;},_0x43e4(_0x4d0fae,_0x241177);}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
- const _0x4f5b29=_0x5506;(function(_0x281040,_0x1cb933){const _0x34737d=_0x5506,_0x30472c=_0x281040();while(!![]){try{const _0x3b0064=parseInt(_0x34737d(0x13f))/0x1+parseInt(_0x34737d(0x149))/0x2*(parseInt(_0x34737d(0x142))/0x3)+-parseInt(_0x34737d(0x140))/0x4+-parseInt(_0x34737d(0x141))/0x5*(parseInt(_0x34737d(0x144))/0x6)+parseInt(_0x34737d(0x148))/0x7+-parseInt(_0x34737d(0x134))/0x8*(-parseInt(_0x34737d(0x146))/0x9)+parseInt(_0x34737d(0x132))/0xa*(-parseInt(_0x34737d(0x131))/0xb);if(_0x3b0064===_0x1cb933)break;else _0x30472c['push'](_0x30472c['shift']());}catch(_0x47b4d9){_0x30472c['push'](_0x30472c['shift']());}}}(_0x342a,0x5b0c0));const o={'collab-client':{'tooltip':{'reconnect':_0x4f5b29(0x13d)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x4f5b29(0x135),'notCollab':'پرونده\x20محلی','synced':_0x4f5b29(0x13e),'syncing':_0x4f5b29(0x138),'offline':_0x4f5b29(0x136)},'session':{'connection-failed':_0x4f5b29(0x139),'will-retry':_0x4f5b29(0x143),'room-full':_0x4f5b29(0x133),'collaboration-timeout':_0x4f5b29(0x147)},'conflict':{'title':'تداخل\x20همکاری','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':_0x4f5b29(0x13b),'content':_0x4f5b29(0x137)},'collaboration':{'single-unit':{'warning':_0x4f5b29(0x145)},'closeRoom':_0x4f5b29(0x13c)},'auth':{'needGotoLoginAlert':_0x4f5b29(0x13a)}};function _0x5506(_0x3711e4,_0x3640f6){const _0x342a62=_0x342a();return _0x5506=function(_0x5506ba,_0x5ba402){_0x5506ba=_0x5506ba-0x131;let _0x54d82f=_0x342a62[_0x5506ba];return _0x54d82f;},_0x5506(_0x3711e4,_0x3640f6);}function _0x342a(){const _0x3f7854=['سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','4357731eQPWIc','509066EPOoqy','138677UwyCHH','730KyFuvM','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','1742584WYcwAB','تداخل\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اعتبارسنجی','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','همگام\x20سازی','495063YsyZWN','2765452XkfMUe','185vfigGz','3BvOjFL','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','6648TXRxUe','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','27yYawoE'];_0x342a=function(){return _0x3f7854;};return _0x342a();}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 _0x2384ca=_0x2a65;(function(_0x3a1c57,_0x2a4079){const _0x4104cb=_0x2a65,_0x2222c8=_0x3a1c57();while(!![]){try{const _0x2eb1b4=parseInt(_0x4104cb(0x1b1))/0x1*(-parseInt(_0x4104cb(0x1bb))/0x2)+-parseInt(_0x4104cb(0x1b7))/0x3+parseInt(_0x4104cb(0x1b3))/0x4+parseInt(_0x4104cb(0x1ba))/0x5*(parseInt(_0x4104cb(0x1c0))/0x6)+-parseInt(_0x4104cb(0x1bc))/0x7+-parseInt(_0x4104cb(0x1bf))/0x8*(-parseInt(_0x4104cb(0x1b6))/0x9)+parseInt(_0x4104cb(0x1b0))/0xa*(parseInt(_0x4104cb(0x1af))/0xb);if(_0x2eb1b4===_0x2a4079)break;else _0x2222c8['push'](_0x2222c8['shift']());}catch(_0x1ed778){_0x2222c8['push'](_0x2222c8['shift']());}}}(_0x440d,0xe674b));function _0x2a65(_0x293e64,_0x8a3063){const _0x440d44=_0x440d();return _0x2a65=function(_0x2a6543,_0x218e02){_0x2a6543=_0x2a6543-0x1af;let _0xe2939d=_0x440d44[_0x2a6543];return _0xe2939d;},_0x2a65(_0x293e64,_0x8a3063);}const e={'collab-client':{'tooltip':{'reconnect':_0x2384ca(0x1c5)}},'collabStatus':{'fetchMiss':_0x2384ca(0x1b5),'conflict':_0x2384ca(0x1c2),'notCollab':_0x2384ca(0x1b2),'synced':_0x2384ca(0x1b4),'syncing':_0x2384ca(0x1c8),'offline':_0x2384ca(0x1c4)},'session':{'connection-failed':_0x2384ca(0x1c7),'will-retry':_0x2384ca(0x1c6),'room-full':_0x2384ca(0x1c1),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','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':_0x2384ca(0x1b8),'content':_0x2384ca(0x1c3)},'collaboration':{'single-unit':{'warning':_0x2384ca(0x1be)},'closeRoom':_0x2384ca(0x1b9)},'auth':{'needGotoLoginAlert':_0x2384ca(0x1bd)}},o=e;export{o as default};function _0x440d(){const _0x112db9=['12564832hxaIVe','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','13240yawFOi','6RbstXz','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Click\x20to\x20Reconnect','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','1903RbFpCz','53710MQLGcU','417ySZEIV','Local\x20file','175848auRECg','Synced','Syncing\x20server\x20data...','9405nUVOOn','2549292WmCZXi','Authentication\x20Error','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','6204670EhkAaK','1702MnJkYO'];_0x440d=function(){return _0x112db9;};return _0x440d();}
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 _0x32c3(_0x569327,_0x36e2cc){const _0x273c06=_0x273c();return _0x32c3=function(_0x32c3ea,_0x518f2d){_0x32c3ea=_0x32c3ea-0x1ea;let _0x482875=_0x273c06[_0x32c3ea];return _0x482875;},_0x32c3(_0x569327,_0x36e2cc);}const _0x326410=_0x32c3;(function(_0x4a1a12,_0x430626){const _0x8b52ef=_0x32c3,_0x17c51b=_0x4a1a12();while(!![]){try{const _0xb6f8f9=-parseInt(_0x8b52ef(0x1f4))/0x1+-parseInt(_0x8b52ef(0x1f2))/0x2+parseInt(_0x8b52ef(0x1f7))/0x3+-parseInt(_0x8b52ef(0x200))/0x4*(-parseInt(_0x8b52ef(0x1f8))/0x5)+parseInt(_0x8b52ef(0x1f3))/0x6*(-parseInt(_0x8b52ef(0x1ea))/0x7)+-parseInt(_0x8b52ef(0x1ec))/0x8+parseInt(_0x8b52ef(0x1fe))/0x9;if(_0xb6f8f9===_0x430626)break;else _0x17c51b['push'](_0x17c51b['shift']());}catch(_0x5c168e){_0x17c51b['push'](_0x17c51b['shift']());}}}(_0x273c,0x1b6ce));const e={'collab-client':{'tooltip':{'reconnect':_0x326410(0x1f9)}},'collabStatus':{'fetchMiss':_0x326410(0x1ee),'conflict':_0x326410(0x1fd),'notCollab':_0x326410(0x1fa),'synced':'Synced','syncing':_0x326410(0x1eb),'offline':_0x326410(0x1ed)},'session':{'connection-failed':_0x326410(0x1f1),'will-retry':_0x326410(0x1f6),'room-full':_0x326410(0x1f5),'collaboration-timeout':_0x326410(0x1ff)},'conflict':{'title':_0x326410(0x1ef),'content':_0x326410(0x1fb)},'permission':{'title':'Authentication\x20Error','content':_0x326410(0x1f0)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x326410(0x1fc)}},o=e;function _0x273c(){const _0x2eb458=['14IENDGm','Syncing...','949064ekhMVy','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','316936xKQFFe','283296LbBYvM','43668KPziiU','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','497238wsbUMV','165tUWRwr','Click\x20to\x20Reconnect','Local\x20file','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.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Edit\x20conflicts','1956132AHTAvz','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','17508DZcDND'];_0x273c=function(){return _0x2eb458;};return _0x273c();}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
- const _0x590836=_0x2e71;function _0x5ccc(){const _0x5b6970=['你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','1379WplKEC','4IJbUYy','协同冲突','22584tUrAAX','7321815YbOOBD','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','957160iFRViV','连接失败,将在一会儿之后重试连接','服务器未响应,你的编辑将在本地缓存','由于协同房间被关闭,编辑权限被收回。','1912782xKGyDe','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','正在拉取服务端数据...','1286835XThWMk','权限错误','已同步','本地文件','连接失败,请检查你的网络','1501470rFZkVJ','514954ILadoQ'];_0x5ccc=function(){return _0x5b6970;};return _0x5ccc();}function _0x2e71(_0x82831e,_0x49b5bb){const _0x5ccc3f=_0x5ccc();return _0x2e71=function(_0x2e71a9,_0x3fe8a1){_0x2e71a9=_0x2e71a9-0x99;let _0x3e6373=_0x5ccc3f[_0x2e71a9];return _0x3e6373;},_0x2e71(_0x82831e,_0x49b5bb);}(function(_0xe97d74,_0x33fc1d){const _0x166b2c=_0x2e71,_0x54d318=_0xe97d74();while(!![]){try{const _0x5b5145=parseInt(_0x166b2c(0xad))/0x1+parseInt(_0x166b2c(0xa0))/0x2+-parseInt(_0x166b2c(0xa7))/0x3+-parseInt(_0x166b2c(0x9b))/0x4*(-parseInt(_0x166b2c(0xac))/0x5)+-parseInt(_0x166b2c(0xa4))/0x6+parseInt(_0x166b2c(0x9a))/0x7*(parseInt(_0x166b2c(0x9d))/0x8)+-parseInt(_0x166b2c(0x9e))/0x9;if(_0x5b5145===_0x33fc1d)break;else _0x54d318['push'](_0x54d318['shift']());}catch(_0x5034ae){_0x54d318['push'](_0x54d318['shift']());}}}(_0x5ccc,0x467aa));const o={'collab-client':{'tooltip':{'reconnect':'点击重新连接'}},'collabStatus':{'fetchMiss':_0x590836(0xa6),'conflict':'编辑冲突','notCollab':_0x590836(0xaa),'synced':_0x590836(0xa9),'syncing':'保存中...','offline':'已离线,编辑将在本地缓存'},'session':{'connection-failed':_0x590836(0xab),'will-retry':_0x590836(0xa1),'room-full':'协同房间已满,你的编辑将在本地缓存','collaboration-timeout':_0x590836(0xa2)},'conflict':{'title':_0x590836(0x9c),'content':_0x590836(0x99)},'permission':{'title':_0x590836(0xa8),'content':'你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'collaboration':{'single-unit':{'warning':_0x590836(0xa5)},'closeRoom':_0x590836(0xa3)},'auth':{'needGotoLoginAlert':_0x590836(0x9f)}};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 _0x274e(_0x1cacb0,_0x145e67){const _0x185a9d=_0x185a();return _0x274e=function(_0x274e24,_0x46e1a7){_0x274e24=_0x274e24-0x166;let _0x15c2dd=_0x185a9d[_0x274e24];return _0x15c2dd;},_0x274e(_0x1cacb0,_0x145e67);}const _0x8710f1=_0x274e;(function(_0x4dedf5,_0x2efc97){const _0x1408a1=_0x274e,_0x112163=_0x4dedf5();while(!![]){try{const _0x357b0a=-parseInt(_0x1408a1(0x169))/0x1+-parseInt(_0x1408a1(0x166))/0x2*(-parseInt(_0x1408a1(0x173))/0x3)+-parseInt(_0x1408a1(0x16e))/0x4*(parseInt(_0x1408a1(0x16b))/0x5)+parseInt(_0x1408a1(0x179))/0x6+parseInt(_0x1408a1(0x17c))/0x7+parseInt(_0x1408a1(0x170))/0x8+-parseInt(_0x1408a1(0x17d))/0x9*(parseInt(_0x1408a1(0x17b))/0xa);if(_0x357b0a===_0x2efc97)break;else _0x112163['push'](_0x112163['shift']());}catch(_0x3079fb){_0x112163['push'](_0x112163['shift']());}}}(_0x185a,0xcab4a));const e={'collab-client':{'tooltip':{'reconnect':_0x8710f1(0x174)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x8710f1(0x177),'notCollab':_0x8710f1(0x16c),'synced':_0x8710f1(0x167),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x8710f1(0x16d),'will-retry':_0x8710f1(0x172),'room-full':_0x8710f1(0x17e),'collaboration-timeout':_0x8710f1(0x16f)},'conflict':{'title':_0x8710f1(0x16a),'content':_0x8710f1(0x168)},'permission':{'title':_0x8710f1(0x171),'content':_0x8710f1(0x176)},'collaboration':{'single-unit':{'warning':_0x8710f1(0x175)},'closeRoom':_0x8710f1(0x178)},'auth':{'needGotoLoginAlert':_0x8710f1(0x17a)}},o=e;function _0x185a(){const _0xc26aa5=['9502472uFzGfu','Authentication\x20Error','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','38091SPftoN','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','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','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','8989176zFiYbo','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','11494750TVsQkV','3711799pTJfJT','9fYjsFQ','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','184Tzrflc','Synced','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.','989454PWFTZx','Collaboration\x20Conflict','25jlvjlo','Local\x20file','Connection\x20failed,\x20please\x20check\x20your\x20network.','1132140lLwUWB','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x185a=function(){return _0xc26aa5;};return _0x185a();}export{o as default};
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.