@univerjs-pro/collaboration-client 0.5.1-nightly.202412121606 → 0.5.1-nightly.202412131606

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 _0x3dc7ea=_0x4905;(function(_0x57ad09,_0xbc1d35){const _0x34ef4b=_0x4905,_0x3259e0=_0x57ad09();while(!![]){try{const _0x10f55c=-parseInt(_0x34ef4b(0xae))/0x1*(parseInt(_0x34ef4b(0x9e))/0x2)+parseInt(_0x34ef4b(0xa5))/0x3+parseInt(_0x34ef4b(0xa8))/0x4*(parseInt(_0x34ef4b(0x9c))/0x5)+parseInt(_0x34ef4b(0xa4))/0x6+-parseInt(_0x34ef4b(0xac))/0x7*(parseInt(_0x34ef4b(0xa6))/0x8)+-parseInt(_0x34ef4b(0x9a))/0x9*(-parseInt(_0x34ef4b(0xa0))/0xa)+parseInt(_0x34ef4b(0xab))/0xb*(parseInt(_0x34ef4b(0xa7))/0xc);if(_0x10f55c===_0xbc1d35)break;else _0x3259e0['push'](_0x3259e0['shift']());}catch(_0x46a33b){_0x3259e0['push'](_0x3259e0['shift']());}}}(_0x1e55,0xae879));const e={'collab-client':{'tooltip':{'reconnect':_0x3dc7ea(0xb0)}},'collabStatus':{'fetchMiss':_0x3dc7ea(0xaa),'conflict':'Edit\x20conflicts','notCollab':_0x3dc7ea(0xa3),'synced':_0x3dc7ea(0x9f),'syncing':_0x3dc7ea(0xa2),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x3dc7ea(0xa9),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x3dc7ea(0x99),'room-not-exists':_0x3dc7ea(0x98),'room-permission-denied':_0x3dc7ea(0xaf),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x3dc7ea(0x9b)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3dc7ea(0x9d)},'permission':{'title':'Authentication\x20Error','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':_0x3dc7ea(0xad)},'closeRoom':_0x3dc7ea(0xa1)},'auth':{'needGotoLoginAlert':_0x3dc7ea(0x97)}};function _0x4905(_0x537c5d,_0x82b6e2){const _0x1e55d0=_0x1e55();return _0x4905=function(_0x4905c3,_0x533a92){_0x4905c3=_0x4905c3-0x97;let _0x2ee72d=_0x1e55d0[_0x4905c3];return _0x2ee72d;},_0x4905(_0x537c5d,_0x82b6e2);}export{e as default};function _0x1e55(){const _0x1fed6d=['Synced','12010WJUOnr','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...','Local\x20file','426396BRSqYw','2364171bCReOa','79688RyLHVE','320388cgcnuC','2270380eWRoNE','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','143EGWbwu','518XEpACm','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','993EOLFGF','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1629DjaGSl','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','5TdLJMo','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.','1086GtskSf'];_0x1e55=function(){return _0x1fed6d;};return _0x1e55();}
1
+ const _0x4674fa=_0xa1fe;function _0x402e(){const _0x2a84cf=['Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing\x20server\x20data...','2038792ffTUOC','1416384qAFeAJ','Local\x20file','2gPkCPw','820356rOsYnw','1080855DtvtOB','8461688LZyyhl','Collaboration\x20Conflict','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','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Authentication\x20Error','236728SkJdmm','Click\x20to\x20Reconnect','824205VOgYfU','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x402e=function(){return _0x2a84cf;};return _0x402e();}function _0xa1fe(_0x2b90e4,_0x2fb16f){const _0x402e89=_0x402e();return _0xa1fe=function(_0xa1fe26,_0x181c71){_0xa1fe26=_0xa1fe26-0x1b6;let _0x5db7f8=_0x402e89[_0xa1fe26];return _0x5db7f8;},_0xa1fe(_0x2b90e4,_0x2fb16f);}(function(_0x27dab5,_0x54b443){const _0x3a5f75=_0xa1fe,_0x40ab76=_0x27dab5();while(!![]){try{const _0x597e96=-parseInt(_0x3a5f75(0x1c7))/0x1+parseInt(_0x3a5f75(0x1be))/0x2*(parseInt(_0x3a5f75(0x1c9))/0x3)+-parseInt(_0x3a5f75(0x1bf))/0x4+-parseInt(_0x3a5f75(0x1c0))/0x5+-parseInt(_0x3a5f75(0x1bc))/0x6+-parseInt(_0x3a5f75(0x1bb))/0x7+parseInt(_0x3a5f75(0x1c1))/0x8;if(_0x597e96===_0x54b443)break;else _0x40ab76['push'](_0x40ab76['shift']());}catch(_0x20aa9e){_0x40ab76['push'](_0x40ab76['shift']());}}}(_0x402e,0x23ec2));const e={'collab-client':{'tooltip':{'reconnect':_0x4674fa(0x1c8)}},'collabStatus':{'fetchMiss':_0x4674fa(0x1ba),'conflict':_0x4674fa(0x1c4),'notCollab':_0x4674fa(0x1bd),'synced':'Synced','syncing':'Syncing...','offline':_0x4674fa(0x1b8)},'session':{'connection-failed':_0x4674fa(0x1cb),'will-retry':_0x4674fa(0x1b6),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x4674fa(0x1c5),'room-not-exists':'Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':_0x4674fa(0x1cc),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x4674fa(0x1c2),'content':_0x4674fa(0x1c3)},'permission':{'title':_0x4674fa(0x1c6),'content':_0x4674fa(0x1cd)},'collaboration':{'single-unit':{'warning':_0x4674fa(0x1ca)},'closeRoom':_0x4674fa(0x1b9)},'auth':{'needGotoLoginAlert':_0x4674fa(0x1b7)}};export{e as default};
@@ -1 +1 @@
1
- const _0xd17327=_0x4c75;function _0x4c75(_0x44595d,_0x5bd067){const _0x4fa2a3=_0x4fa2();return _0x4c75=function(_0x4c754e,_0x2c3aa8){_0x4c754e=_0x4c754e-0xd6;let _0x4c977c=_0x4fa2a3[_0x4c754e];return _0x4c977c;},_0x4c75(_0x44595d,_0x5bd067);}(function(_0x31a389,_0x5a91fd){const _0x171f80=_0x4c75,_0x116db8=_0x31a389();while(!![]){try{const _0xe1797a=parseInt(_0x171f80(0xd9))/0x1*(-parseInt(_0x171f80(0xde))/0x2)+parseInt(_0x171f80(0xd7))/0x3+parseInt(_0x171f80(0xdb))/0x4*(-parseInt(_0x171f80(0xe9))/0x5)+parseInt(_0x171f80(0xda))/0x6*(-parseInt(_0x171f80(0xee))/0x7)+-parseInt(_0x171f80(0xe4))/0x8+-parseInt(_0x171f80(0xeb))/0x9+-parseInt(_0x171f80(0xe7))/0xa*(-parseInt(_0x171f80(0xe6))/0xb);if(_0xe1797a===_0x5a91fd)break;else _0x116db8['push'](_0x116db8['shift']());}catch(_0x27a10e){_0x116db8['push'](_0x116db8['shift']());}}}(_0x4fa2,0xa0af1));const o={'collab-client':{'tooltip':{'reconnect':_0xd17327(0xe5)}},'collabStatus':{'fetchMiss':_0xd17327(0xe2),'conflict':'تداخل\x20ویرایش','notCollab':_0xd17327(0xdd),'synced':_0xd17327(0xe3),'syncing':_0xd17327(0xe0),'offline':_0xd17327(0xe1)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','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ذخیره\x20خواهد\x20شد.','join-failed':_0xd17327(0xd8),'room-not-exists':_0xd17327(0xef),'room-permission-denied':_0xd17327(0xea),'room-cnt-exceeds':_0xd17327(0xe8),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی‌دهد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.'},'conflict':{'title':'تداخل\x20همکاری','content':_0xd17327(0xec)},'permission':{'title':_0xd17327(0xed),'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رفت.'},'collaboration':{'single-unit':{'warning':_0xd17327(0xd6)},'closeRoom':_0xd17327(0xdc)},'auth':{'needGotoLoginAlert':_0xd17327(0xdf)}};function _0x4fa2(){const _0x2ea5df=['پرونده\x20محلی','38XxpDDM','ورود\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سازی','3580968XJbKLs','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','11FMwVxk','17803940bBpvxi','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','4325ZdDvwo','دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','3088134bihcsq','یک\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اعتبارسنجی','282401NRrwdl','پیوستن\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کنید.','2904240zfGNiD','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20لطفاً\x20بعداً\x20دوباره\x20امتحان\x20کنید.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','16193btjBzY','138EnUnTI','296PIWWsj','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'];_0x4fa2=function(){return _0x2ea5df;};return _0x4fa2();}export{o as default};
1
+ const _0x34a510=_0x2e11;(function(_0x2888a7,_0x11b6d3){const _0x4cbf6c=_0x2e11,_0x248b16=_0x2888a7();while(!![]){try{const _0x782dbd=parseInt(_0x4cbf6c(0x130))/0x1*(-parseInt(_0x4cbf6c(0x123))/0x2)+parseInt(_0x4cbf6c(0x133))/0x3+-parseInt(_0x4cbf6c(0x132))/0x4+-parseInt(_0x4cbf6c(0x131))/0x5*(-parseInt(_0x4cbf6c(0x128))/0x6)+parseInt(_0x4cbf6c(0x12a))/0x7*(parseInt(_0x4cbf6c(0x136))/0x8)+parseInt(_0x4cbf6c(0x12e))/0x9*(-parseInt(_0x4cbf6c(0x13b))/0xa)+parseInt(_0x4cbf6c(0x124))/0xb*(parseInt(_0x4cbf6c(0x12c))/0xc);if(_0x782dbd===_0x11b6d3)break;else _0x248b16['push'](_0x248b16['shift']());}catch(_0x1a38d8){_0x248b16['push'](_0x248b16['shift']());}}}(_0x3ee5,0xaac1c));function _0x3ee5(){const _0x55c1f1=['شما\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سرور...','314daXGQZ','530849SZCxmo','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','خطای\x20اعتبارسنجی','پیوستن\x20به\x20همکاری\x20ناموفق\x20بود.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','12HxfhHe','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','53445xzfKUI','اعمال\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رفت.','564RPcwVI','تعداد\x20اسناد\x20همکاری\x20از\x20حد\x20مجاز\x20فراتر\x20رفته\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','10763667mBShla','اتصال\x20ناموفق\x20بود،\x20لطفاً\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','4919LwdDfr','232285BOzyAd','4061192MWLhFy','3644961ElPHwP','تداخل\x20ویرایش','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','112NJsrgK','پیوستن\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محلی','10emeIsI','یک\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شوند'];_0x3ee5=function(){return _0x55c1f1;};return _0x3ee5();}const o={'collab-client':{'tooltip':{'reconnect':_0x34a510(0x125)}},'collabStatus':{'fetchMiss':_0x34a510(0x122),'conflict':_0x34a510(0x134),'notCollab':_0x34a510(0x13a),'synced':'همگام\x20سازی','syncing':_0x34a510(0x13d),'offline':_0x34a510(0x120)},'session':{'connection-failed':_0x34a510(0x12f),'will-retry':_0x34a510(0x135),'room-full':'ظرفیت\x20همکاری\x20در\x20این\x20سند\x20پر\x20شده\x20است.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','join-failed':_0x34a510(0x137),'room-not-exists':_0x34a510(0x127),'room-permission-denied':'دسترسی\x20همکاری\x20وجود\x20ندارد.\x20ویرایش‌های\x20شما\x20به\x20صورت\x20محلی\x20ذخیره\x20خواهد\x20شد.','room-cnt-exceeds':_0x34a510(0x12d),'collaboration-timeout':_0x34a510(0x138)},'conflict':{'title':'تداخل\x20همکاری','content':_0x34a510(0x13c)},'permission':{'title':_0x34a510(0x126),'content':_0x34a510(0x12b)},'collaboration':{'single-unit':{'warning':_0x34a510(0x121)},'closeRoom':_0x34a510(0x129)},'auth':{'needGotoLoginAlert':_0x34a510(0x139)}};function _0x2e11(_0xb04d97,_0x1a942f){const _0x3ee5c1=_0x3ee5();return _0x2e11=function(_0x2e117e,_0x2676d5){_0x2e117e=_0x2e117e-0x120;let _0x1c3446=_0x3ee5c1[_0x2e117e];return _0x1c3446;},_0x2e11(_0xb04d97,_0x1a942f);}export{o as default};
@@ -1 +1 @@
1
- const _0x2565b3=_0x1def;function _0x1def(_0x282c73,_0x43df19){const _0x461594=_0x4615();return _0x1def=function(_0x1def94,_0x3cfe0e){_0x1def94=_0x1def94-0x194;let _0x3fc4fd=_0x461594[_0x1def94];return _0x3fc4fd;},_0x1def(_0x282c73,_0x43df19);}(function(_0x46a760,_0x465f85){const _0x13467b=_0x1def,_0x46a28d=_0x46a760();while(!![]){try{const _0x87729c=parseInt(_0x13467b(0x1a5))/0x1+parseInt(_0x13467b(0x1a6))/0x2*(parseInt(_0x13467b(0x1a9))/0x3)+parseInt(_0x13467b(0x196))/0x4+parseInt(_0x13467b(0x19f))/0x5+parseInt(_0x13467b(0x195))/0x6+parseInt(_0x13467b(0x1a3))/0x7+-parseInt(_0x13467b(0x1a0))/0x8;if(_0x87729c===_0x465f85)break;else _0x46a28d['push'](_0x46a28d['shift']());}catch(_0xda2db9){_0x46a28d['push'](_0x46a28d['shift']());}}}(_0x4615,0x31587));const e={'collab-client':{'tooltip':{'reconnect':_0x2565b3(0x1ab)}},'collabStatus':{'fetchMiss':_0x2565b3(0x199),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x2565b3(0x1aa),'syncing':_0x2565b3(0x1ac),'offline':_0x2565b3(0x19c)},'session':{'connection-failed':_0x2565b3(0x194),'will-retry':_0x2565b3(0x19a),'room-full':_0x2565b3(0x1a2),'join-failed':_0x2565b3(0x1a7),'room-not-exists':_0x2565b3(0x19d),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x2565b3(0x19b)},'conflict':{'title':_0x2565b3(0x1a8),'content':_0x2565b3(0x197)},'permission':{'title':'Authentication\x20Error','content':_0x2565b3(0x1a1)},'collaboration':{'single-unit':{'warning':_0x2565b3(0x198)},'closeRoom':_0x2565b3(0x19e)},'auth':{'needGotoLoginAlert':_0x2565b3(0x1a4)}},o=e;function _0x4615(){const _0x11a1ad=['Connection\x20failed.\x20Please\x20check\x20your\x20network.','2135472fjQLag','1357772yEqIbE','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.','Syncing\x20server\x20data...','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1070695gHLPnm','13446936gyKoAG','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2067247VNuSWp','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','357194JYNwiS','158mIMenV','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Collaboration\x20Conflict','12189FDoPZZ','Synced','Click\x20to\x20Reconnect','Syncing...'];_0x4615=function(){return _0x11a1ad;};return _0x4615();}export{o as default};
1
+ const _0x1231e2=_0x14d9;function _0x14d9(_0x5ce567,_0x12b90a){const _0x317fd9=_0x317f();return _0x14d9=function(_0x14d97e,_0x509301){_0x14d97e=_0x14d97e-0x1a2;let _0x58a428=_0x317fd9[_0x14d97e];return _0x58a428;},_0x14d9(_0x5ce567,_0x12b90a);}function _0x317f(){const _0x41ad34=['Collaboration\x20Conflict','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','64CRoUPO','Click\x20to\x20Reconnect','21ikhvZz','304780RlcvGc','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','1zHCVLF','Local\x20file','Syncing...','418923DLrOYP','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','Authentication\x20Error','2873986pSZtFu','853660uyEFPM','59581392xexIuy','9jBfMwY','7510LzYGwc','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','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.','1970538vpHTaQ','27533piqAos'];_0x317f=function(){return _0x41ad34;};return _0x317f();}(function(_0x87211a,_0x543fa8){const _0x1b487d=_0x14d9,_0x4d367c=_0x87211a();while(!![]){try{const _0x1e5915=-parseInt(_0x1b487d(0x1b3))/0x1*(parseInt(_0x1b487d(0x1be))/0x2)+parseInt(_0x1b487d(0x1c1))/0x3*(parseInt(_0x1b487d(0x1bf))/0x4)+parseInt(_0x1b487d(0x1ad))/0x5+-parseInt(_0x1b487d(0x1a5))/0x6*(parseInt(_0x1b487d(0x1ac))/0x7)+-parseInt(_0x1b487d(0x1aa))/0x8*(parseInt(_0x1b487d(0x1b6))/0x9)+parseInt(_0x1b487d(0x1a2))/0xa*(-parseInt(_0x1b487d(0x1a6))/0xb)+parseInt(_0x1b487d(0x1c0))/0xc;if(_0x1e5915===_0x543fa8)break;else _0x4d367c['push'](_0x4d367c['shift']());}catch(_0xa0c49){_0x4d367c['push'](_0x4d367c['shift']());}}}(_0x317f,0xf22b6));const e={'collab-client':{'tooltip':{'reconnect':_0x1231e2(0x1ab)}},'collabStatus':{'fetchMiss':_0x1231e2(0x1bc),'conflict':_0x1231e2(0x1af),'notCollab':_0x1231e2(0x1b4),'synced':_0x1231e2(0x1b8),'syncing':_0x1231e2(0x1b5),'offline':_0x1231e2(0x1b7)},'session':{'connection-failed':_0x1231e2(0x1b2),'will-retry':_0x1231e2(0x1ba),'room-full':_0x1231e2(0x1b1),'join-failed':_0x1231e2(0x1a8),'room-not-exists':_0x1231e2(0x1bb),'room-permission-denied':_0x1231e2(0x1ae),'room-cnt-exceeds':_0x1231e2(0x1b9),'collaboration-timeout':_0x1231e2(0x1a3)},'conflict':{'title':_0x1231e2(0x1a7),'content':_0x1231e2(0x1a4)},'permission':{'title':_0x1231e2(0x1bd),'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':_0x1231e2(0x1a9)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1231e2(0x1b0)}},o=e;export{o as default};
@@ -1 +1 @@
1
- const _0x4f89c7=_0x5dcb;(function(_0x11f4a0,_0x5aaa70){const _0x1902a2=_0x5dcb,_0x4d3567=_0x11f4a0();while(!![]){try{const _0x560706=parseInt(_0x1902a2(0x144))/0x1*(parseInt(_0x1902a2(0x150))/0x2)+-parseInt(_0x1902a2(0x13b))/0x3+-parseInt(_0x1902a2(0x151))/0x4+-parseInt(_0x1902a2(0x156))/0x5*(parseInt(_0x1902a2(0x13e))/0x6)+-parseInt(_0x1902a2(0x154))/0x7*(parseInt(_0x1902a2(0x14d))/0x8)+parseInt(_0x1902a2(0x152))/0x9+parseInt(_0x1902a2(0x149))/0xa*(parseInt(_0x1902a2(0x13a))/0xb);if(_0x560706===_0x5aaa70)break;else _0x4d3567['push'](_0x4d3567['shift']());}catch(_0x57f980){_0x4d3567['push'](_0x4d3567['shift']());}}}(_0x2106,0x7b9bb));const e={'collab-client':{'tooltip':{'reconnect':_0x4f89c7(0x148)}},'collabStatus':{'fetchMiss':_0x4f89c7(0x14c),'conflict':_0x4f89c7(0x141),'notCollab':_0x4f89c7(0x142),'synced':_0x4f89c7(0x14f),'syncing':_0x4f89c7(0x155),'offline':_0x4f89c7(0x146)},'session':{'connection-failed':_0x4f89c7(0x14a),'will-retry':_0x4f89c7(0x13d),'room-full':_0x4f89c7(0x143),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x4f89c7(0x13f),'room-permission-denied':_0x4f89c7(0x140),'room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4f89c7(0x145)},'permission':{'title':_0x4f89c7(0x147),'content':_0x4f89c7(0x153)},'collaboration':{'single-unit':{'warning':_0x4f89c7(0x14e)},'closeRoom':_0x4f89c7(0x13c)},'auth':{'needGotoLoginAlert':_0x4f89c7(0x14b)}},o=e;function _0x5dcb(_0x458fed,_0x3651f9){const _0x21060b=_0x2106();return _0x5dcb=function(_0x5dcb0e,_0x2c3df9){_0x5dcb0e=_0x5dcb0e-0x13a;let _0x4a4198=_0x21060b[_0x5dcb0e];return _0x4a4198;},_0x5dcb(_0x458fed,_0x3651f9);}function _0x2106(){const _0x54059e=['You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Synced','158602JqtiWM','3865492ACPMaa','361098PgpARZ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','42eHnwhK','Syncing...','4159035MFuToI','2117489ddtiXq','6468tgNgWJ','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','6DxYjNa','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Edit\x20conflicts','Local\x20file','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','6tWmMMD','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.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Authentication\x20Error','Click\x20to\x20Reconnect','130zocAIH','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','949040auEtwR'];_0x2106=function(){return _0x54059e;};return _0x2106();}export{o as default};
1
+ function _0x22b9(_0x57e4f1,_0xd5cd63){const _0x3e5f45=_0x3e5f();return _0x22b9=function(_0x22b9ab,_0xaef29a){_0x22b9ab=_0x22b9ab-0x19f;let _0x536847=_0x3e5f45[_0x22b9ab];return _0x536847;},_0x22b9(_0x57e4f1,_0xd5cd63);}const _0x21fa09=_0x22b9;(function(_0x5aeb8f,_0x332770){const _0x1d9f92=_0x22b9,_0xbdb396=_0x5aeb8f();while(!![]){try{const _0x5e2a32=parseInt(_0x1d9f92(0x1a1))/0x1*(parseInt(_0x1d9f92(0x1a3))/0x2)+-parseInt(_0x1d9f92(0x1b7))/0x3*(parseInt(_0x1d9f92(0x1a9))/0x4)+-parseInt(_0x1d9f92(0x1ae))/0x5+parseInt(_0x1d9f92(0x1b5))/0x6+parseInt(_0x1d9f92(0x1ab))/0x7*(-parseInt(_0x1d9f92(0x1a5))/0x8)+-parseInt(_0x1d9f92(0x1b2))/0x9*(parseInt(_0x1d9f92(0x1b9))/0xa)+-parseInt(_0x1d9f92(0x1ba))/0xb*(-parseInt(_0x1d9f92(0x1ac))/0xc);if(_0x5e2a32===_0x332770)break;else _0xbdb396['push'](_0xbdb396['shift']());}catch(_0x11a979){_0xbdb396['push'](_0xbdb396['shift']());}}}(_0x3e5f,0x5f745));const e={'collab-client':{'tooltip':{'reconnect':_0x21fa09(0x1b1)}},'collabStatus':{'fetchMiss':_0x21fa09(0x1a8),'conflict':_0x21fa09(0x1b4),'notCollab':'Local\x20file','synced':_0x21fa09(0x1bb),'syncing':'Syncing...','offline':_0x21fa09(0x1aa)},'session':{'connection-failed':_0x21fa09(0x1a6),'will-retry':_0x21fa09(0x1b8),'room-full':_0x21fa09(0x1ad),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x21fa09(0x19f),'room-permission-denied':_0x21fa09(0x1a0),'room-cnt-exceeds':_0x21fa09(0x1a7),'collaboration-timeout':_0x21fa09(0x1b0)},'conflict':{'title':_0x21fa09(0x1bc),'content':_0x21fa09(0x1b6)},'permission':{'title':_0x21fa09(0x1af),'content':_0x21fa09(0x1b3)},'collaboration':{'single-unit':{'warning':_0x21fa09(0x1a4)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x21fa09(0x1a2)}},o=e;function _0x3e5f(){const _0x3d7fc1=['4082940flDVWf','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.','463287tmLGVy','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','7317250enoVWL','13634258MfYVKM','Synced','Collaboration\x20Conflict','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','260581TnsbpH','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','6xWLOAL','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','5350744ColTeC','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Syncing\x20server\x20data...','8vETVCn','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','7LgPmIw','12gNcqyG','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','3006520NTvTVW','Authentication\x20Error','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','9IuLswo','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'];_0x3e5f=function(){return _0x3d7fc1;};return _0x3e5f();}export{o as default};
@@ -1 +1 @@
1
- function _0x6e6b(_0x5359aa,_0x577fe7){const _0x148bda=_0x148b();return _0x6e6b=function(_0x6e6bd0,_0x253b8d){_0x6e6bd0=_0x6e6bd0-0x17f;let _0x1a5214=_0x148bda[_0x6e6bd0];return _0x1a5214;},_0x6e6b(_0x5359aa,_0x577fe7);}const _0x3f3df2=_0x6e6b;function _0x148b(){const _0x2852aa=['Click\x20to\x20Reconnect','3583710nqjMuo','534810VWCMpj','13mBiZWX','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2885394SfauBO','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed.\x20Please\x20check\x20your\x20network.','Collaboration\x20Conflict','Syncing\x20server\x20data...','Syncing...','Edit\x20conflicts','5010520dgkRBT','38746hTIeFr','4xRJDiN','5464750kfAHGi','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1058253mubzQx','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Authentication\x20Error','7qPdgrN','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.'];_0x148b=function(){return _0x2852aa;};return _0x148b();}(function(_0x4ef4a8,_0x4d6494){const _0x517306=_0x6e6b,_0x3438fa=_0x4ef4a8();while(!![]){try{const _0x12335f=parseInt(_0x517306(0x17f))/0x1*(parseInt(_0x517306(0x18b))/0x2)+parseInt(_0x517306(0x18f))/0x3*(parseInt(_0x517306(0x18c))/0x4)+-parseInt(_0x517306(0x198))/0x5+parseInt(_0x517306(0x182))/0x6*(-parseInt(_0x517306(0x192))/0x7)+-parseInt(_0x517306(0x18a))/0x8+parseInt(_0x517306(0x197))/0x9+parseInt(_0x517306(0x18d))/0xa;if(_0x12335f===_0x4d6494)break;else _0x3438fa['push'](_0x3438fa['shift']());}catch(_0x3c6b3f){_0x3438fa['push'](_0x3438fa['shift']());}}}(_0x148b,0x51cf1));const e={'collab-client':{'tooltip':{'reconnect':_0x3f3df2(0x196)}},'collabStatus':{'fetchMiss':_0x3f3df2(0x187),'conflict':_0x3f3df2(0x189),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x3f3df2(0x188),'offline':_0x3f3df2(0x194)},'session':{'connection-failed':_0x3f3df2(0x185),'will-retry':_0x3f3df2(0x190),'room-full':_0x3f3df2(0x195),'join-failed':'Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-not-exists':_0x3f3df2(0x193),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':_0x3f3df2(0x181)},'conflict':{'title':_0x3f3df2(0x186),'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':_0x3f3df2(0x191),'content':_0x3f3df2(0x18e)},'collaboration':{'single-unit':{'warning':_0x3f3df2(0x184)},'closeRoom':_0x3f3df2(0x183)},'auth':{'needGotoLoginAlert':_0x3f3df2(0x180)}},o=e;export{o as default};
1
+ const _0x9935b=_0x49d9;function _0x49d9(_0x2b87fa,_0x32a274){const _0x418b59=_0x418b();return _0x49d9=function(_0x49d932,_0x3813d4){_0x49d932=_0x49d932-0x6d;let _0x6d119=_0x418b59[_0x49d932];return _0x6d119;},_0x49d9(_0x2b87fa,_0x32a274);}(function(_0x43d33c,_0x307d29){const _0x5d1b00=_0x49d9,_0x32fa2f=_0x43d33c();while(!![]){try{const _0x15f14a=-parseInt(_0x5d1b00(0x7d))/0x1*(-parseInt(_0x5d1b00(0x72))/0x2)+-parseInt(_0x5d1b00(0x71))/0x3*(parseInt(_0x5d1b00(0x77))/0x4)+parseInt(_0x5d1b00(0x70))/0x5*(-parseInt(_0x5d1b00(0x88))/0x6)+parseInt(_0x5d1b00(0x8a))/0x7+-parseInt(_0x5d1b00(0x87))/0x8+parseInt(_0x5d1b00(0x84))/0x9+parseInt(_0x5d1b00(0x83))/0xa*(parseInt(_0x5d1b00(0x7f))/0xb);if(_0x15f14a===_0x307d29)break;else _0x32fa2f['push'](_0x32fa2f['shift']());}catch(_0x2c3453){_0x32fa2f['push'](_0x32fa2f['shift']());}}}(_0x418b,0x2f10b));const e={'collab-client':{'tooltip':{'reconnect':_0x9935b(0x74)}},'collabStatus':{'fetchMiss':_0x9935b(0x73),'conflict':'Edit\x20conflicts','notCollab':_0x9935b(0x6e),'synced':_0x9935b(0x89),'syncing':_0x9935b(0x82),'offline':_0x9935b(0x7a)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x9935b(0x79),'room-full':_0x9935b(0x6d),'join-failed':_0x9935b(0x7c),'room-not-exists':_0x9935b(0x86),'room-permission-denied':_0x9935b(0x75),'room-cnt-exceeds':_0x9935b(0x76),'collaboration-timeout':_0x9935b(0x85)},'conflict':{'title':_0x9935b(0x78),'content':_0x9935b(0x6f)},'permission':{'title':'Authentication\x20Error','content':_0x9935b(0x7b)},'collaboration':{'single-unit':{'warning':_0x9935b(0x81)},'closeRoom':_0x9935b(0x7e)},'auth':{'needGotoLoginAlert':_0x9935b(0x80)}},o=e;export{o as default};function _0x418b(){const _0x176670=['Syncing\x20server\x20data...','Click\x20to\x20Reconnect','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','124452cFWIDe','Collaboration\x20Conflict','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','25QWDTjc','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','5577099ZjPjGW','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.','Syncing...','10iOfKOb','253629ojBqOs','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','1619952yYyiBN','100806wlDRnd','Synced','2340051Jqakfr','The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','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.','100Nnqlqh','15yWZsJh','1390OAEPsJ'];_0x418b=function(){return _0x176670;};return _0x418b();}
@@ -1 +1 @@
1
- const _0x2c1a50=_0x3c07;(function(_0x20ecec,_0x188843){const _0x65faec=_0x3c07,_0x389bee=_0x20ecec();while(!![]){try{const _0x2b2e4a=-parseInt(_0x65faec(0x8e))/0x1+parseInt(_0x65faec(0x92))/0x2+parseInt(_0x65faec(0x91))/0x3+-parseInt(_0x65faec(0x90))/0x4+-parseInt(_0x65faec(0x89))/0x5+-parseInt(_0x65faec(0x9b))/0x6*(parseInt(_0x65faec(0x9f))/0x7)+parseInt(_0x65faec(0x8a))/0x8;if(_0x2b2e4a===_0x188843)break;else _0x389bee['push'](_0x389bee['shift']());}catch(_0x44727f){_0x389bee['push'](_0x389bee['shift']());}}}(_0x351b,0x1b387));function _0x3c07(_0x45aac4,_0x6baed1){const _0x351b42=_0x351b();return _0x3c07=function(_0x3c073c,_0x3eb594){_0x3c073c=_0x3c073c-0x88;let _0x412c64=_0x351b42[_0x3c073c];return _0x412c64;},_0x3c07(_0x45aac4,_0x6baed1);}function _0x351b(){const _0x63a9ec=['协同冲突','点击重新连接','625350obCiww','2766208kwrOuF','正在拉取服务端数据...','此文档协同人数已满,你的编辑将在本地缓存','服务器未响应,你的编辑将在本地缓存','207682fFGuqz','加入协同失败,你的编辑将在本地缓存','343820JDIbCf','244308WbpWSg','410966dxCaRs','已同步','由于协同房间被关闭,编辑权限被收回。','权限错误','已离线,编辑将在本地缓存','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','连接失败,请检查你的网络','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','102ynNPQx','编辑冲突','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','本地文件','42203UmjTMW','协同文档数量超过限制,你的编辑将在本地缓存'];_0x351b=function(){return _0x63a9ec;};return _0x351b();}const o={'collab-client':{'tooltip':{'reconnect':_0x2c1a50(0x88)}},'collabStatus':{'fetchMiss':_0x2c1a50(0x8b),'conflict':_0x2c1a50(0x9c),'notCollab':_0x2c1a50(0x9e),'synced':_0x2c1a50(0x93),'syncing':'保存中...','offline':_0x2c1a50(0x96)},'session':{'connection-failed':_0x2c1a50(0x98),'will-retry':'连接失败,将在一会儿之后重试连接','room-full':_0x2c1a50(0x8c),'join-failed':'加入协同失败,请稍后重试,你的编辑将在本地缓存','room-not-exists':_0x2c1a50(0x8f),'room-permission-denied':'没有协同权限,你的编辑将在本地缓存','room-cnt-exceeds':_0x2c1a50(0xa0),'collaboration-timeout':_0x2c1a50(0x8d)},'conflict':{'title':_0x2c1a50(0xa1),'content':_0x2c1a50(0x9a)},'permission':{'title':_0x2c1a50(0x95),'content':_0x2c1a50(0x97)},'collaboration':{'single-unit':{'warning':_0x2c1a50(0x9d)},'closeRoom':_0x2c1a50(0x94)},'auth':{'needGotoLoginAlert':_0x2c1a50(0x99)}};export{o as default};
1
+ function _0x507a(){const _0xfa2f23=['点击重新连接','协同文档数量超过限制,你的编辑将在本地缓存','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','连接失败,将在一会儿之后重试连接','258251PFDdLf','编辑冲突','此文档协同人数已满,你的编辑将在本地缓存','你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。','4056714grGxDr','保存中...','正在拉取服务端数据...','15CGgnQd','本地文件','连接失败,请检查你的网络','服务器未响应,你的编辑将在本地缓存','已离线,编辑将在本地缓存','1334136GvsvSd','协同冲突','权限错误','由于协同房间被关闭,编辑权限被收回。','3469761IhjhRD','41472408wzXbnp','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','加入协同失败,你的编辑将在本地缓存','4917066KVHBcT','2377760nyMDlL'];_0x507a=function(){return _0xfa2f23;};return _0x507a();}const _0x446efa=_0x1ded;function _0x1ded(_0x13a880,_0x808e17){const _0x507a6a=_0x507a();return _0x1ded=function(_0x1ded0d,_0x57476f){_0x1ded0d=_0x1ded0d-0xd9;let _0x138965=_0x507a6a[_0x1ded0d];return _0x138965;},_0x1ded(_0x13a880,_0x808e17);}(function(_0x29f0d3,_0x574056){const _0x3fe92e=_0x1ded,_0x283559=_0x29f0d3();while(!![]){try{const _0x1e242d=parseInt(_0x3fe92e(0xef))/0x1+-parseInt(_0x3fe92e(0xea))/0x2+-parseInt(_0x3fe92e(0xe5))/0x3+parseInt(_0x3fe92e(0xe1))/0x4*(-parseInt(_0x3fe92e(0xdc))/0x5)+-parseInt(_0x3fe92e(0xd9))/0x6+-parseInt(_0x3fe92e(0xe9))/0x7+parseInt(_0x3fe92e(0xe6))/0x8;if(_0x1e242d===_0x574056)break;else _0x283559['push'](_0x283559['shift']());}catch(_0x130d9a){_0x283559['push'](_0x283559['shift']());}}}(_0x507a,0xaf36c));const o={'collab-client':{'tooltip':{'reconnect':_0x446efa(0xeb)}},'collabStatus':{'fetchMiss':_0x446efa(0xdb),'conflict':_0x446efa(0xf0),'notCollab':_0x446efa(0xdd),'synced':'已同步','syncing':_0x446efa(0xda),'offline':_0x446efa(0xe0)},'session':{'connection-failed':_0x446efa(0xde),'will-retry':_0x446efa(0xee),'room-full':_0x446efa(0xf1),'join-failed':'加入协同失败,请稍后重试,你的编辑将在本地缓存','room-not-exists':_0x446efa(0xe8),'room-permission-denied':'没有协同权限,你的编辑将在本地缓存','room-cnt-exceeds':_0x446efa(0xec),'collaboration-timeout':_0x446efa(0xdf)},'conflict':{'title':_0x446efa(0xe2),'content':'你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。'},'permission':{'title':_0x446efa(0xe3),'content':_0x446efa(0xed)},'collaboration':{'single-unit':{'warning':_0x446efa(0xe7)},'closeRoom':_0x446efa(0xe4)},'auth':{'needGotoLoginAlert':_0x446efa(0xf2)}};export{o as default};
@@ -1 +1 @@
1
- function _0x2a4b(_0x1ae1b8,_0x59ab82){const _0x25c010=_0x25c0();return _0x2a4b=function(_0x2a4b26,_0xc94a4){_0x2a4b26=_0x2a4b26-0xb0;let _0x4d38fc=_0x25c010[_0x2a4b26];return _0x4d38fc;},_0x2a4b(_0x1ae1b8,_0x59ab82);}const _0x2f1b4f=_0x2a4b;(function(_0x33ff1d,_0x3a5128){const _0x4a8439=_0x2a4b,_0xd88b3b=_0x33ff1d();while(!![]){try{const _0x20d44f=parseInt(_0x4a8439(0xc2))/0x1*(-parseInt(_0x4a8439(0xb0))/0x2)+parseInt(_0x4a8439(0xb5))/0x3+-parseInt(_0x4a8439(0xbc))/0x4*(parseInt(_0x4a8439(0xc5))/0x5)+parseInt(_0x4a8439(0xb1))/0x6*(-parseInt(_0x4a8439(0xc6))/0x7)+parseInt(_0x4a8439(0xc9))/0x8*(-parseInt(_0x4a8439(0xcc))/0x9)+parseInt(_0x4a8439(0xc8))/0xa+parseInt(_0x4a8439(0xb2))/0xb*(parseInt(_0x4a8439(0xbd))/0xc);if(_0x20d44f===_0x3a5128)break;else _0xd88b3b['push'](_0xd88b3b['shift']());}catch(_0x58c943){_0xd88b3b['push'](_0xd88b3b['shift']());}}}(_0x25c0,0xc6eaa));function _0x25c0(){const _0x484aad=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','Syncing\x20server\x20data...','Collaboration\x20Conflict','Local\x20file','Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','2156948wkNUBg','3780996TiFbsa','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','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.','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','6457BkVssF','Authentication\x20Error','Connection\x20failed.\x20Please\x20check\x20your\x20network.','5LSHuNK','21lWddfV','Edit\x20conflicts','2111170RzaDRZ','232mHAyZA','Click\x20to\x20Reconnect','No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','297324AHIYYL','12CBhtQn','413106nRCZxi','77VvHUbd','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','421920neuJMx'];_0x25c0=function(){return _0x484aad;};return _0x25c0();}const e={'collab-client':{'tooltip':{'reconnect':_0x2f1b4f(0xca)}},'collabStatus':{'fetchMiss':_0x2f1b4f(0xb8),'conflict':_0x2f1b4f(0xc7),'notCollab':_0x2f1b4f(0xba),'synced':'Synced','syncing':_0x2f1b4f(0xb7),'offline':_0x2f1b4f(0xb3)},'session':{'connection-failed':_0x2f1b4f(0xc4),'will-retry':'Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x2f1b4f(0xc0),'room-not-exists':_0x2f1b4f(0xbe),'room-permission-denied':_0x2f1b4f(0xcb),'room-cnt-exceeds':_0x2f1b4f(0xbb),'collaboration-timeout':_0x2f1b4f(0xb6)},'conflict':{'title':_0x2f1b4f(0xb9),'content':_0x2f1b4f(0xbf)},'permission':{'title':_0x2f1b4f(0xc3),'content':_0x2f1b4f(0xb4)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2f1b4f(0xc1)},'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
+ function _0x4f48(_0x4eddbd,_0x5696df){const _0x24c378=_0x24c3();return _0x4f48=function(_0x4f4860,_0x15f4b8){_0x4f4860=_0x4f4860-0x11c;let _0xbb031e=_0x24c378[_0x4f4860];return _0xbb031e;},_0x4f48(_0x4eddbd,_0x5696df);}const _0x6276a0=_0x4f48;(function(_0x419cc2,_0x34c545){const _0x3b6d88=_0x4f48,_0x1b41b7=_0x419cc2();while(!![]){try{const _0x5ca8e5=-parseInt(_0x3b6d88(0x130))/0x1+-parseInt(_0x3b6d88(0x12e))/0x2*(-parseInt(_0x3b6d88(0x122))/0x3)+-parseInt(_0x3b6d88(0x131))/0x4*(-parseInt(_0x3b6d88(0x128))/0x5)+parseInt(_0x3b6d88(0x12d))/0x6*(-parseInt(_0x3b6d88(0x126))/0x7)+-parseInt(_0x3b6d88(0x125))/0x8+parseInt(_0x3b6d88(0x121))/0x9+parseInt(_0x3b6d88(0x11d))/0xa;if(_0x5ca8e5===_0x34c545)break;else _0x1b41b7['push'](_0x1b41b7['shift']());}catch(_0x16a3f6){_0x1b41b7['push'](_0x1b41b7['shift']());}}}(_0x24c3,0x5a73a));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x6276a0(0x11e),'conflict':_0x6276a0(0x120),'notCollab':_0x6276a0(0x123),'synced':_0x6276a0(0x12a),'syncing':'Syncing...','offline':_0x6276a0(0x11f)},'session':{'connection-failed':'Connection\x20failed.\x20Please\x20check\x20your\x20network.','will-retry':_0x6276a0(0x12c),'room-full':'The\x20document\x20has\x20reached\x20its\x20collaboration\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','join-failed':_0x6276a0(0x12f),'room-not-exists':_0x6276a0(0x129),'room-permission-denied':'No\x20collaboration\x20permission.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','room-cnt-exceeds':'Number\x20of\x20collaborative\x20documents\x20exceeds\x20the\x20limit.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x6276a0(0x124),'content':_0x6276a0(0x132)},'permission':{'title':_0x6276a0(0x12b),'content':_0x6276a0(0x11c)},'collaboration':{'single-unit':{'warning':_0x6276a0(0x127)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x24c3(){const _0x220025=['Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','3445659YZouSv','3xhAeKj','Local\x20file','Collaboration\x20Conflict','2802832uYLFhc','723149sTQJva','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','10840jLczIF','Failed\x20to\x20join\x20collaboration.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','Synced','Authentication\x20Error','Connection\x20failed.\x20We\x20will\x20retry\x20in\x20a\x20while.','6bLBEud','811198FINFqH','Failed\x20to\x20join\x20collaboration.\x20Please\x20try\x20again\x20later.\x20Your\x20edits\x20will\x20be\x20cached\x20locally.','574481FQPNag','288buVXKm','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.','4540860qjIgSf'];_0x24c3=function(){return _0x220025;};return _0x24c3();}export{o as default};
@@ -1,7 +1,8 @@
1
+ import { IDisposable, FBase, Injector, IUniverInstanceService } from '@univerjs/core';
2
+ import { IMember } from '@univerjs/protocol';
1
3
  import { FWorkbook } from '@univerjs/sheets/facade';
2
4
  import { SnapshotService } from '@univerjs-pro/collaboration';
3
5
  import { CollaborationController } from '@univerjs-pro/collaboration-client';
4
- import { FBase, Injector, IUniverInstanceService } from '@univerjs/core';
5
6
  export declare class FCollaboration extends FBase {
6
7
  private readonly _handler;
7
8
  protected readonly _injector: Injector;
@@ -11,5 +12,18 @@ export declare class FCollaboration extends FBase {
11
12
  constructor(_handler: {
12
13
  getUniverSheet: (id: string) => FWorkbook | null;
13
14
  }, _injector: Injector, _univerInstanceService: IUniverInstanceService, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
15
+ /**
16
+ * Load a Univer Sheet from the server with a unit ID.
17
+ * @param unitId ID of the Univer Sheet that you would like to load.
18
+ * @returns {Promise<FWorkbook | null>} The {@link FWorkbook} or null if ID cannot be associated with a Univer Sheet.
19
+ */
14
20
  loadSheet(unitId: string): Promise<FWorkbook | null>;
21
+ /**
22
+ * Subscribe collaborators of a Univer file.
23
+ *
24
+ * @param unitId ID of the Univer file.
25
+ * @param callback The function that will be called when the collaborators of this Univer file changes.
26
+ * @returns A handler to dispose the subscription.
27
+ */
28
+ subscribeCollaborators(unitId: string, callback: (members: IMember[]) => void): IDisposable;
15
29
  }
@@ -1,5 +1,6 @@
1
1
  import { Nullable, Disposable, IUniverInstanceService, UserManagerService } from '@univerjs/core';
2
2
  import { IMember } from '@univerjs/protocol';
3
+ import { Observable } from 'rxjs';
3
4
  export interface IUser extends IMember {
4
5
  userID: string;
5
6
  }
@@ -10,7 +11,9 @@ export declare class MemberService extends Disposable {
10
11
  private readonly _univerInstanceService;
11
12
  private _userManagerService;
12
13
  private _roomMembers;
14
+ private readonly _roomCreated$;
13
15
  constructor(_univerInstanceService: IUniverInstanceService, _userManagerService: UserManagerService);
16
+ waitForRoom$(unitId: string): Observable<RoomMember>;
14
17
  /**
15
18
  * @deprecated please use userManagerService
16
19
  */
@@ -52,6 +55,8 @@ export declare class MemberService extends Disposable {
52
55
  */
53
56
  export declare class RoomMember extends Disposable {
54
57
  private readonly _members;
58
+ private readonly _members$;
59
+ readonly members$: Observable<Map<string, IMember>>;
55
60
  dispose(): void;
56
61
  /**
57
62
  * Update a member in the room(unit).
@@ -74,4 +79,5 @@ export declare class RoomMember extends Disposable {
74
79
  * @returns member object array.
75
80
  */
76
81
  getAllMembers(): IMember[];
82
+ private _emitMembers;
77
83
  }
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x261f(_0x2f712d,_0x4e31df){var _0x499774=_0x4997();return _0x261f=function(_0x261feb,_0x5f5368){_0x261feb=_0x261feb-0x177;var _0x4c961d=_0x499774[_0x261feb];return _0x4c961d;},_0x261f(_0x2f712d,_0x4e31df);}(function(_0x5e8fc8,_0x482369){var _0xd2daaa=_0x261f,_0x2a37f0=_0x5e8fc8();while(!![]){try{var _0x147f16=-parseInt(_0xd2daaa(0x177))/0x1+parseInt(_0xd2daaa(0x19d))/0x2*(parseInt(_0xd2daaa(0x188))/0x3)+parseInt(_0xd2daaa(0x17f))/0x4+-parseInt(_0xd2daaa(0x17a))/0x5+parseInt(_0xd2daaa(0x182))/0x6+-parseInt(_0xd2daaa(0x18a))/0x7*(parseInt(_0xd2daaa(0x18c))/0x8)+-parseInt(_0xd2daaa(0x191))/0x9*(-parseInt(_0xd2daaa(0x183))/0xa);if(_0x147f16===_0x482369)break;else _0x2a37f0['push'](_0x2a37f0['shift']());}catch(_0x199828){_0x2a37f0['push'](_0x2a37f0['shift']());}}}(_0x4997,0xd3096),function(_0x16a978,_0x7ecfb4){var _0x286312=_0x261f;typeof exports=='object'&&typeof module<'u'?_0x7ecfb4(exports,require(_0x286312(0x179)),require(_0x286312(0x187)),require(_0x286312(0x195))):typeof define==_0x286312(0x192)&&define[_0x286312(0x19a)]?define([_0x286312(0x19e),'@univerjs/core','@univerjs-pro/collaboration',_0x286312(0x195)],_0x7ecfb4):(_0x16a978=typeof globalThis<'u'?globalThis:_0x16a978||self,_0x7ecfb4(_0x16a978[_0x286312(0x19c)]={},_0x16a978[_0x286312(0x19b)],_0x16a978[_0x286312(0x181)],_0x16a978[_0x286312(0x1a0)]));}(this,function(_0x129beb,_0x2ac044,_0x160303,_0x2f28ea){'use strict';var _0x1ed055=_0x261f;var _0xdce0dd=Object[_0x1ed055(0x186)],_0x1ada33=Object[_0x1ed055(0x190)],_0x38e305=(_0x4ddc91,_0x3698fe,_0x340088,_0x260a0c)=>{for(var _0xd766f2=_0x260a0c>0x1?void 0x0:_0x260a0c?_0x1ada33(_0x3698fe,_0x340088):_0x3698fe,_0x592a2d=_0x4ddc91['length']-0x1,_0x13d210;_0x592a2d>=0x0;_0x592a2d--)(_0x13d210=_0x4ddc91[_0x592a2d])&&(_0xd766f2=(_0x260a0c?_0x13d210(_0x3698fe,_0x340088,_0xd766f2):_0x13d210(_0xd766f2))||_0xd766f2);return _0x260a0c&&_0xd766f2&&_0xdce0dd(_0x3698fe,_0x340088,_0xd766f2),_0xd766f2;},_0x2d2d1f=(_0x42619c,_0xc8b90b)=>(_0x586956,_0x4e1f00)=>_0xc8b90b(_0x586956,_0x4e1f00,_0x42619c);_0x129beb[_0x1ed055(0x19f)]=class extends _0x2ac044[_0x1ed055(0x199)]{constructor(_0x249e6d,_0x303604,_0xee49ae,_0x1497fb,_0x12e1f2){var _0x50cdba=_0x1ed055;super(),this[_0x50cdba(0x184)]=_0x249e6d,this['_injector']=_0x303604,this[_0x50cdba(0x18e)]=_0xee49ae,this[_0x50cdba(0x17b)]=_0x1497fb,this[_0x50cdba(0x17d)]=_0x12e1f2;}async[_0x1ed055(0x17e)](_0x56eb3b){var _0xb95e36=_0x1ed055;return this[_0xb95e36(0x18e)][_0xb95e36(0x193)](_0x56eb3b,_0x2ac044[_0xb95e36(0x18b)][_0xb95e36(0x197)])||await this['_snapshotService']['loadSheet'](_0x56eb3b,0x0)?(await this[_0xb95e36(0x17d)][_0xb95e36(0x189)](_0x56eb3b),this[_0xb95e36(0x184)][_0xb95e36(0x178)](_0x56eb3b)):null;}},_0x129beb['FCollaboration']=_0x38e305([_0x2d2d1f(0x1,_0x2ac044[_0x1ed055(0x180)](_0x2ac044['Injector'])),_0x2d2d1f(0x2,_0x2ac044[_0x1ed055(0x198)]),_0x2d2d1f(0x3,_0x2ac044[_0x1ed055(0x180)](_0x160303[_0x1ed055(0x196)])),_0x2d2d1f(0x4,_0x2ac044[_0x1ed055(0x180)](_0x2f28ea[_0x1ed055(0x18f)]))],_0x129beb[_0x1ed055(0x19f)]);class _0x44b405 extends _0x2ac044[_0x1ed055(0x185)]{['getCollaboration'](){var _0x324f84=_0x1ed055;return this['_injector']['createInstance'](_0x129beb[_0x324f84(0x19f)],{'getUniverSheet':_0x261f3e=>this[_0x324f84(0x178)](_0x261f3e)});}}_0x2ac044[_0x1ed055(0x185)][_0x1ed055(0x18d)](_0x44b405),Object[_0x1ed055(0x186)](_0x129beb,Symbol[_0x1ed055(0x194)],{'value':_0x1ed055(0x17c)});}));function _0x4997(){var _0x2b8fff=['_collaborationController','loadSheet','2879132rwUpOf','Inject','UniverProCollaboration','9892938KowGmw','1730mkiWwO','_handler','FUniver','defineProperty','@univerjs-pro/collaboration','223569CneOTI','readyForCollab','6811eAnlEI','UniverInstanceType','10880ARJUzh','extend','_univerInstanceService','CollaborationController','getOwnPropertyDescriptor','24471VrPTCs','function','getUnit','toStringTag','@univerjs-pro/collaboration-client','SnapshotService','UNIVER_SHEET','IUniverInstanceService','FBase','amd','UniverCore','UniverProCollaborationClientFacade','30DFHaQO','exports','FCollaboration','UniverProCollaborationClient','1008238jZWaYx','getUniverSheet','@univerjs/core','3804570mPwqTS','_snapshotService','Module'];_0x4997=function(){return _0x2b8fff;};return _0x4997();}
1
+ function _0x4661(_0x5840c3,_0x141744){var _0x4e947c=_0x4e94();return _0x4661=function(_0x4661ed,_0x4655d2){_0x4661ed=_0x4661ed-0xbf;var _0x365173=_0x4e947c[_0x4661ed];return _0x365173;},_0x4661(_0x5840c3,_0x141744);}function _0x4e94(){var _0x513620=['275355SUvGoS','Inject','waitForRoom$','extend','UniverProCollaboration','object','183795KYDjSG','getUniverSheet','Module','5835540uEBDmA','IUniverInstanceService','FUniver','toDisposable','3463389gXEqoa','UniverCore','_collaborationController','length','_handler','subscribeCollaborators','UniverInstanceType','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','get','Injector','subscribe','function','from','50897DZziCY','FBase','readyForCollab','getUnit','20fqIUSG','10994220GFeFSr','pipe','SnapshotService','UNIVER_SHEET','defineProperty','toStringTag','switchMap','getOwnPropertyDescriptor','@univerjs/core','50xwBRmN','_snapshotService','FCollaboration','_univerInstanceService','loadSheet','createInstance','_injector','104sXpjJb','rxjs','208568yyBJga'];_0x4e94=function(){return _0x513620;};return _0x4e94();}(function(_0xec8e7c,_0x2633c7){var _0x1f0bec=_0x4661,_0x157081=_0xec8e7c();while(!![]){try{var _0x43f7c4=parseInt(_0x1f0bec(0xcd))/0x1+parseInt(_0x1f0bec(0xec))/0x2*(-parseInt(_0x1f0bec(0xd3))/0x3)+-parseInt(_0x1f0bec(0xcc))/0x4*(-parseInt(_0x1f0bec(0xc3))/0x5)+parseInt(_0x1f0bec(0xd6))/0x6+-parseInt(_0x1f0bec(0xe8))/0x7*(-parseInt(_0x1f0bec(0xca))/0x8)+parseInt(_0x1f0bec(0xda))/0x9+-parseInt(_0x1f0bec(0xed))/0xa;if(_0x43f7c4===_0x2633c7)break;else _0x157081['push'](_0x157081['shift']());}catch(_0x36ff78){_0x157081['push'](_0x157081['shift']());}}}(_0x4e94,0x8303d),function(_0x332626,_0x1d8e60){var _0x18c301=_0x4661;typeof exports==_0x18c301(0xd2)&&typeof module<'u'?_0x1d8e60(exports,require(_0x18c301(0xc2)),require(_0x18c301(0xe2)),require('@univerjs-pro/collaboration-client'),require('rxjs')):typeof define==_0x18c301(0xe6)&&define['amd']?define(['exports',_0x18c301(0xc2),_0x18c301(0xe2),_0x18c301(0xe1),'rxjs'],_0x1d8e60):(_0x332626=typeof globalThis<'u'?globalThis:_0x332626||self,_0x1d8e60(_0x332626['UniverProCollaborationClientFacade']={},_0x332626[_0x18c301(0xdb)],_0x332626[_0x18c301(0xd1)],_0x332626['UniverProCollaborationClient'],_0x332626[_0x18c301(0xcb)]));}(this,function(_0x3415b4,_0x4985d7,_0x36f513,_0x40dfac,_0x598fc0){'use strict';var _0x4f9293=_0x4661;var _0x3dfb3f=Object['defineProperty'],_0x14eac1=Object[_0x4f9293(0xc1)],_0x4f2841=(_0x27ee72,_0x5af1b1,_0x3d2433,_0x54826b)=>{var _0x42c706=_0x4f9293;for(var _0x4b5503=_0x54826b>0x1?void 0x0:_0x54826b?_0x14eac1(_0x5af1b1,_0x3d2433):_0x5af1b1,_0x4e7151=_0x27ee72[_0x42c706(0xdd)]-0x1,_0x291ad9;_0x4e7151>=0x0;_0x4e7151--)(_0x291ad9=_0x27ee72[_0x4e7151])&&(_0x4b5503=(_0x54826b?_0x291ad9(_0x5af1b1,_0x3d2433,_0x4b5503):_0x291ad9(_0x4b5503))||_0x4b5503);return _0x54826b&&_0x4b5503&&_0x3dfb3f(_0x5af1b1,_0x3d2433,_0x4b5503),_0x4b5503;},_0x22a433=(_0x5963d5,_0x1f31c2)=>(_0x4e047f,_0x40f48b)=>_0x1f31c2(_0x4e047f,_0x40f48b,_0x5963d5);_0x3415b4[_0x4f9293(0xc5)]=class extends _0x4985d7[_0x4f9293(0xe9)]{constructor(_0x5c8eed,_0x51d011,_0x4e0e44,_0x73d7cf,_0x391191){var _0xbafaab=_0x4f9293;super(),this[_0xbafaab(0xde)]=_0x5c8eed,this[_0xbafaab(0xc9)]=_0x51d011,this['_univerInstanceService']=_0x4e0e44,this[_0xbafaab(0xc4)]=_0x73d7cf,this[_0xbafaab(0xdc)]=_0x391191;}async['loadSheet'](_0xf868b6){var _0x1b4cc5=_0x4f9293;return this[_0x1b4cc5(0xc6)][_0x1b4cc5(0xeb)](_0xf868b6,_0x4985d7[_0x1b4cc5(0xe0)][_0x1b4cc5(0xf0)])||await this[_0x1b4cc5(0xc4)][_0x1b4cc5(0xc7)](_0xf868b6,0x0)?(await this[_0x1b4cc5(0xdc)][_0x1b4cc5(0xea)](_0xf868b6),this[_0x1b4cc5(0xde)][_0x1b4cc5(0xd4)](_0xf868b6)):null;}[_0x4f9293(0xdf)](_0x429c45,_0x22ae0a){var _0x2b155f=_0x4f9293;const _0x519278=this['_injector'][_0x2b155f(0xe3)](_0x40dfac['MemberService'])[_0x2b155f(0xcf)](_0x429c45)[_0x2b155f(0xee)](_0x598fc0[_0x2b155f(0xc0)](_0x395d26=>_0x395d26['members$']))[_0x2b155f(0xe5)](_0x1e96df=>_0x22ae0a(Array[_0x2b155f(0xe7)](_0x1e96df['values']())));return _0x4985d7[_0x2b155f(0xd9)](_0x519278);}},_0x3415b4['FCollaboration']=_0x4f2841([_0x22a433(0x1,_0x4985d7[_0x4f9293(0xce)](_0x4985d7[_0x4f9293(0xe4)])),_0x22a433(0x2,_0x4985d7[_0x4f9293(0xd7)]),_0x22a433(0x3,_0x4985d7[_0x4f9293(0xce)](_0x36f513[_0x4f9293(0xef)])),_0x22a433(0x4,_0x4985d7[_0x4f9293(0xce)](_0x40dfac['CollaborationController']))],_0x3415b4[_0x4f9293(0xc5)]);class _0x5c38c9 extends _0x4985d7[_0x4f9293(0xd8)]{['getCollaboration'](){var _0x2267f1=_0x4f9293;return this[_0x2267f1(0xc9)][_0x2267f1(0xc8)](_0x3415b4[_0x2267f1(0xc5)],{'getUniverSheet':_0x58864b=>this[_0x2267f1(0xd4)](_0x58864b)});}}_0x4985d7[_0x4f9293(0xd8)][_0x4f9293(0xd0)](_0x5c38c9),Object[_0x4f9293(0xf1)](_0x3415b4,Symbol[_0x4f9293(0xbf)],{'value':_0x4f9293(0xd5)});}));