找回密码
 立即注册
搜索
热搜: 丝袜 魅魔 黑丝
查看: 8|回复: 0

15906017_小雅的拘束生活第6-10

[复制链接]

13万

主题

343

回帖

22万

积分

管理员

站长

UID
1
积分
224402
余额
13 R
Moe币
84883
在线时间
279 小时
注册时间
2025-12-28
最后登录
2026-11-13
发表于 2026-9-3 23:00:59 | 显示全部楼层 |阅读模式
["18e2",9,"ko-kr/index"],"./ko-KR/":["18e2",9,"ko-kr/index"],"./ko-KR/index":["18e2",9,"ko-kr/index"],"./ko-KR/index.js":["18e2",9,"ko-kr/index"],"./load":["81ef",9],"./load.js":["81ef",9],"./ms-MY":["ed35",9,"ms-my/index"],"./ms-MY/":["ed35",9,"ms-my/index"],"./ms-MY/index":["ed35",9,"ms-my/index"],"./ms-MY/index.js":["ed35",9,"ms-my/index"],"./pl-PL":["c57a",9,"pl-pl/index"],"./pl-PL/":["c57a",9,"pl-pl/index"],"./pl-PL/index":["c57a",9,"pl-pl/index"],"./pl-PL/index.js":["c57a",9,"pl-pl/index"],"./pt-BR":["0a0a",9,"pt-br/index"],"./pt-BR/":["0a0a",9,"pt-br/index"],"./pt-BR/index":["0a0a",9,"pt-br/index"],"./pt-BR/index.js":["0a0a",9,"pt-br/index"],"./pt-PT":["90ac",9,"pt-pt/index"],"./pt-PT/":["90ac",9,"pt-pt/index"],"./pt-PT/index":["90ac",9,"pt-pt/index"],"./pt-PT/index.js":["90ac",9,"pt-pt/index"],"./ru-RU":["f3c0",9,"ru-ru/index"],"./ru-RU/":["f3c0",9,"ru-ru/index"],"./ru-RU/index":["f3c0",9,"ru-ru/index"],"./ru-RU/index.js":["f3c0",9,"ru-ru/index"],"./th-TH":["53c4",9,"th-th/index"],"./th-TH/":["53c4",9,"th-th/index"],"./th-TH/index":["53c4",9,"th-th/index"],"./th-TH/index.js":["53c4",9,"th-th/index"],"./tr-TR":["d792",9,"tr-tr/index"],"./tr-TR/":["d792",9,"tr-tr/index"],"./tr-TR/index":["d792",9,"tr-tr/index"],"./tr-TR/index.js":["d792",9,"tr-tr/index"],"./util":["340e",9],"./util.js":["340e",9],"./vi-VN":["a580",9,"vi-vn/index"],"./vi-VN/":["a580",9,"vi-vn/index"],"./vi-VN/index":["a580",9,"vi-vn/index"],"./vi-VN/index.js":["a580",9,"vi-vn/index"],"./zh-CN":["f7f5",9],"./zh-CN/":["f7f5",9],"./zh-CN/index":["f7f5",9],"./zh-CN/index.js":["f7f5",9],"./zh-CN/message/components/Avatar.vue":["3689",3],"./zh-CN/message/components/Avatar.vue.json":["3689",3],"./zh-CN/message/components/toast/index.vue":["b87e",3],"./zh-CN/message/components/toast/index.vue.json":["b87e",3],"./zh-CN/message/mixins/common.vue":["4002",3],"./zh-CN/message/mixins/common.vue.json":["4002",3],"./zh-CN/message/router/index.js":["2757",3],"./zh-CN/message/router/index.js.json":["2757",3],"./zh-CN/message/stopShareIncrement":["0684",3],"./zh-CN/message/stopShareIncrement.json":["0684",3],"./zh-CN/message/ui18t.increment":["957e",3],"./zh-CN/message/ui18t.increment.json":["957e",3],"./zh-CN/message/utils/index.js":["2013",3],"./zh-CN/message/utils/index.js.json":["2013",3],"./zh-CN/message/view/create.vue":["f512",3],"./zh-CN/message/view/create.vue.json":["f512",3],"./zh-CN/message/view/createByFile.vue":["93d1",3],"./zh-CN/message/view/createByFile.vue.json":["93d1",3],"./zh-CN/message/view/inviteByFile.vue":["e808",3],"./zh-CN/message/view/inviteByFile.vue.json":["e808",3],"./zh-CN/message/view/share.vue":["b9ae",3],"./zh-CN/message/view/share.vue.json":["b9ae",3],"./zh-CN/message/view/stopShare.vue":["574b",3],"./zh-CN/message/view/stopShare.vue.json":["574b",3],"./zh-HK":["5ab5",9,"zh-hk/index"],"./zh-HK/":["5ab5",9,"zh-hk/index"],"./zh-HK/index":["5ab5",9,"zh-hk/index"],"./zh-HK/index.js":["5ab5",9,"zh-hk/index"]};function n(e){if(!i.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],n=t[0];return Promise.all(t.slice(2).map(i.e)).then((function(){return i.t(n,t[1])}))}n.keys=function(){return Object.keys(r)},n.id="2e98",e.exports=n},"340e":function(e,t,i){"use strict";i.r(t),i.d(t,"getLang",(function(){return a}));i("4d63"),i("ac1f"),i("25f0"),i("1276");var r=i("3915"),n=["en-US","zh-CN","zh-HK","ja-JP","es-MX","id-ID","de-DE","es-ES","fr-CA","fr-FR","th-TH","pl-PL","pt-BR","pt-PT","ru-RU","tr-TR","ko-KR","vi-VN","it-IT","ms-MY","ar-SA"];function a(){var e=new RegExp("(?:[?&]lang=)\\w+-\\w+").exec(location.href);if((null===e||void 0===e?void 0:e.length)&&e[0]){var t=e[0].split?e[0].split("="):[];if(t[1])return t[1]}if(navigator&&navigator.language){var i="ja"===navigator.language?"ja-JP":navigator.language;return Object(r["a"])(n,i)}return"zh-CN"}},3689:function(e){e.exports=JSON.parse('{"31d296f84c":"位成员"}')},"3ddd":function(e,t,i){"use strict";var r=i("c038"),n=i.n(r);n.a},4002:function(e){e.exports=JSON.parse('{"c586e0b50e":"取消共享","37d0c63ed8":"WPS共享文件夹"}')},"45a1":function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+6ZSZ6K+vaWNvbjwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8bGluZWFyR3JhZGllbnQgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSIgaWQ9ImxpbmVhckdyYWRpZW50LTEiPgogICAgICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjRkY4RDg2IiBvZmZzZXQ9IjAlIj48L3N0b3A+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiNFODRGNDUiIHN0b3Atb3BhY2l0eT0iMC45IiBvZmZzZXQ9IjEwMCUiPjwvc3RvcD4KICAgICAgICA8L2xpbmVhckdyYWRpZW50PgogICAgPC9kZWZzPgogICAgPGcgaWQ9IuacgOe7iOiuvuiuoeeovyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IuWFtuS7lu+8iOa3seiJsu+8iSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTExODAuMDAwMDAwLCAtMTY5LjAwMDAwMCkiPgogICAgICAgICAgICA8ZyBpZD0i5a+56K+d5qGGX+WPlua2iOWkmuS6uue8lui+keWkh+S7vSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTE1Ni4wMDAwMDAsIDE0OS4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjQuMDAwMDAwLCAxOC4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0i6ZSZ6K+vaWNvbiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsIDIuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgICAgIDxnIGlkPSJpY29uLzI0cHgvaWNvbl8yNF/mj5DnpLpf6K2m56S6Ij4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxyZWN0IGlkPSIjMjQiIGZpbGwtb3BhY2l0eT0iMC4xIiBmaWxsPSIjRDAwMjFCIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9IjAiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTIzLjc3MTYyNjMsMTkuNzMxNDg3OCBMMTMuMjg4MTcyOCwyLjE1OTIyMjkxIEMxMi44NjM3MzUyLDEuNDQ3Nzg0NzQgMTEuOTQyOTI2LDEuMjE1MTI0NzcgMTEuMjMxNDg3OCwxLjYzOTU2MjMxIEMxMS4wMTc4NTcxLDEuNzY3MDEyNDQgMTAuODM5Mjc3NCwxLjk0NTU5MjIyIDEwLjcxMTgyNzIsMi4xNTkyMjI5MSBMMC4yMjgzNzM3MzEsMTkuNzMxNDg3OCBDLTAuMTk2MDYzODE0LDIwLjQ0MjkyNiAwLjAzNjU5NjE2MjQsMjEuMzYzNzM1MiAwLjc0ODAzNDMzMywyMS43ODgxNzI4IEMwLjk4MDQxMDA1NiwyMS45MjY4MDYgMS4yNDU5NTg4OSwyMiAxLjUxNjU0NjQ5LDIyIEwyMi40ODM0NTM1LDIyIEMyMy4zMTE4ODA2LDIyIDIzLjk4MzQ1MzUsMjEuMzI4NDI3MSAyMy45ODM0NTM1LDIwLjUgQzIzLjk4MzQ1MzUsMjAuMjI5NDEyNCAyMy45MTAyNTk1LDE5Ljk2Mzg2MzYgMjMuNzcxNjI2MywxOS43MzE0ODc4IFoiIGlkPSLot6/lvoQiIGZpbGw9InVybCgjbGluZWFyR3JhZGllbnQtMSkiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTEyLDE3LjY4NzUgQzEyLjcyNDg3MzcsMTcuNjg3NSAxMy4zMTI1LDE4LjI3NTEyNjMgMTMuMzEyNSwxOSBDMTMuMzEyNSwxOS43MjQ4NzM3IDEyLjcyNDg3MzcsMjAuMzEyNSAxMiwyMC4zMTI1IEMxMS4yNzUxMjYzLDIwLjMxMjUgMTAuNjg3NSwxOS43MjQ4NzM3IDEwLjY4NzUsMTkgQzEwLjY4NzUsMTguMjc1MTI2MyAxMS4yNzUxMjYzLDE3LjY4NzUgMTIsMTcuNjg3NSBaIE0xMi43NSw3IEMxMy4xNjQyMTM2LDcgMTMuNSw3LjMzNTc4NjQ0IDEzLjUsNy43NSBMMTMuNSw4LjQ4MjIyNDYxIEMxMy41LDguNTE5MDYyMzcgMTMuNDk4NjQzLDguNTU1ODg3NjMgMTMuNDk1OTMxNyw4LjU5MjYyNTQ3IEwxMy4wNTEyNzY3LDE0LjYxNzcwMDQgQzEzLjAyMjM2NjYsMTUuMDA5NDMzIDEyLjY5NjEwODgsMTUuMzEyNSAxMi4zMDMzMTA5LDE1LjMxMjUgTDExLjY5NjY4OTEsMTUuMzEyNSBDMTEuMzAzODkxMiwxNS4zMTI1IDEwLjk3NzYzMzQsMTUuMDA5NDMzIDEwLjk0ODcyMzMsMTQuNjE3NzAwNCBMMTAuNTA0MDY4Myw4LjU5MjYyNTQ3IEMxMC41MDEzNTcsOC41NTU4ODc2MyAxMC41LDguNTE5MDYyMzcgMTAuNSw4LjQ4MjIyNDYxIEwxMC41LDcuNzUgQzEwLjUsNy4zMzU3ODY0NCAxMC44MzU3ODY0LDcgMTEuMjUsNyBMMTIuNzUsNyBaIiBpZD0i5b2i54q257uT5ZCIIiBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"},"46f5":function(e,t,i){var r={"./avatar.svg":"0f62","./close-active.svg":"12a6","./close.svg":"bb7c","./contact-avatar.svg":"5902","./error.svg":"ec4e","./folder.svg":"bbde","./icon-checked.svg":"be60","./icon-close.svg":"f1ad","./icon-unchecked.svg":"0e56","./success.svg":"b235","./warning.svg":"45a1"};function n(e){var t=a(e);return i(t)}function a(e){if(!i.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}n.keys=function(){return Object.keys(r)},n.resolve=a,e.exports=n,n.id="46f5"},"4bf4":function(e,t,i){"use strict";var r=i("7031"),n=i.n(r);n.a},"56d7":function(e,t,i){"use strict";i.r(t);i("d3b7"),i("ac1f"),i("6062"),i("3ca3"),i("1276"),i("ddb0"),i("e260"),i("e6cf"),i("cca6"),i("a79d");var r=i("2b0e"),n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("router-view",{attrs:{source:e.source,sourceName:e.sourceName,appName:e.appName}})},a=[],M=(i("b0c0"),i("96cf"),i("1da1")),c=i("9e95"),s=i("8a28"),I=i("1fac"),u={shareFolderUpload:function(e){return Object(M["a"])(regeneratorRuntime.mark((function t(){var i,r,n,a,M,s,I,u;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return i=e.succeed,r=void 0===i||i,n=e.type,a=void 0===n?"share":n,M=e.linkgroupid,s=e.folderid,I=e.groupid,u=e.name,t.abrupt("return",c["a"].execPromise("shareFolderUpload",{succeed:r,type:a,linkgroupid:M,folderid:s,groupid:I,name:u}));case 2:case"end":return t.stop()}}),t)})))()},feedback:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("feedBack",{inner:!0}));case 1:case"end":return e.stop()}}),e)})))()},setDlgSize:function(e,t){return Object(M["a"])(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.abrupt("return",c["a"].execPromise("setDlgSize",{width:e,height:t}));case 1:case"end":return i.stop()}}),i)})))()},getSource:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("getSource"));case 1:case"end":return e.stop()}}),e)})))()},getName:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("getName"));case 1:case"end":return e.stop()}}),e)})))()},vipInfoChanged:function(e){return Object(M["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:s["a"].addEventListener("vipInfoChangedListener",e);case 1:case"end":return t.stop()}}),t)})))()},setCurrentUrl:function(e){return Object(M["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",c["a"].execPromise("setCurrentUrl",{url:e}));case 1:case"end":return t.stop()}}),t)})))()},getIdentityState:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("getIdentityState"));case 1:case"end":return e.stop()}}),e)})))()},showInviteMemberDlg:function(e){return Object(M["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",c["a"].execPromise("showInviteMemberDlg",{linkgroupid:e}));case 1:case"end":return t.stop()}}),t)})))()},getLocalPageDir:function(){return c["a"].execPromise("getLocalPageDir")},reload:function(e){return c["a"].execPromise("reload",{url:e})},getAssociatedFileInfo:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("getAssociatedFileInfo"));case 1:case"end":return e.stop()}}),e)})))()},isVerified:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("isVerified"));case 1:case"end":return e.stop()}}),e)})))()},showVerifyDlg:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("showVerifyDlg"));case 1:case"end":return e.stop()}}),e)})))()},createLinkFolder:function(e){return Object(M["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t,i){var r=window.createLinkFolderFinished;window.createLinkFolderFinished=function(e){var n=e;try{n=JSON.parse(c["a"].decode(e))}catch(a){try{n=c["a"].decode(e)}catch(a){i(n)}}t(n),window.createLinkFolderFinished=r},c["a"].execPromise("createLinkFolder",e)})));case 1:case"end":return t.stop()}}),t)})))()},closeDlg:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("closeDlg"));case 1:case"end":return e.stop()}}),e)})))()},notifyShareAction:function(e){var t=arguments;return Object(M["a"])(regeneratorRuntime.mark((function i(){var r;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return r=t.length>1&&void 0!==t[1]?t[1]:"cancelshare",i.abrupt("return",c["a"].execPromise("notifyShareAction",{linkGroupId:e,action:r}));case 2:case"end":return i.stop()}}),i)})))()},getAppName:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("getAppName"));case 1:case"end":return e.stop()}}),e)})))()},jumpToCloudFolder:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("jumpToCloudFolder"));case 1:case"end":return e.stop()}}),e)})))()},getParentFolderPath:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("getParentFolderPath"));case 1:case"end":return e.stop()}}),e)})))()},getCancelShareExtraParam:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("getCancelShareExtraParam"));case 1:case"end":return e.stop()}}),e)})))()},getProductInformation:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",c["a"].execPromise("getProductInformation"));case 1:case"end":return e.stop()}}),e)})))()},getAppInfo:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",I["a"].getAppInfo());case 1:case"end":return e.stop()}}),e)})))()},openInnerUrl:function(e){c["a"].exec("innerOpenUrl",{url:e})}},o=i("3641"),g={name:"App",data:function(){return{source:"",sourceName:"",appName:""}},mounted:function(){var e=this;o["a"].addDragArea(0,0,320,25),document.body.ondragstart=function(){return!1},u.getSource().then((function(t){var i=t.source;e.source=i||"",console.log("getSource-----🚀~client.getSource().then~source:",i)})).catch((function(e){console.log(e)})),u.getName().then((function(t){var i=t.name;e.sourceName=i||"",console.log("getName",i)})),u.getAppName().then((function(t){var i=t.appName;e.appName=i||"",console.log("appName",i)}))}},N=g,D=(i("7c55"),i("2877")),l=Object(D["a"])(N,n,a,!1,null,null,null),j=l.exports,d=(i("4160"),i("159b"),i("8c4f")),z=i("12cb"),A=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"pc-share-folder"},[r("div",{staticClass:"pc-share-folder__header"},[r("div",[e._v(e._s(e.$t("aba266925a")))]),r("span",{staticClass:"close",on:{click:e.close}})]),r("div",{staticClass:"pc-share-folder__info"},[r("label",{staticClass:"title"},[e._v(e._s(e.$t("9e264e9b49")))]),r("div",{staticClass:"folder-name"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.folderName,expression:"folderName"}],staticClass:"common-input",attrs:{id:"folder-name",spellcheck:"false",placeholder:e.$t("a17a603243"),type:"text"},domProps:{value:e.folderName},on:{input:function(t){t.target.composing||(e.folderName=t.target.value)}}})])]),r("div",{staticClass:"pc-share-folder__members"},[r("label",{staticClass:"title"},[e._v(e._s(e.$t("7a8538d0df")))]),r("div",{staticClass:"folder-member"},[e.userInfo.avatar?r("img",{staticClass:"folder-member-avatar",attrs:{src:e.userInfo.avatar,alt:""}}):r("img",{staticClass:"folder-member-avatar",attrs:{src:i("0f62"),alt:""}}),r("div",[e._v(" "+e._s(e.$t("287c86acb6"))+e._s(e.teamMemberNumber)),e.teamMemberNumber?r("span",[e._v(e._s(e.$t("acdc677175")))]):e._e(),e._v(e._s(e.$t("ebc9523998"))+" ")])])]),r("div",{staticClass:"pc-share-folder__btns"},[r("button",{staticClass:"btn-primary",attrs:{disabled:e.disabled},on:{click:e.createShareFolder}},[e._v(" "+e._s(e.$t("ebfaadf3a2"))+" ")]),r("button",{staticClass:"btn-default",on:{click:e.close}},[e._v(e._s(e.$t("bfcbf43501")))])])])},T=[],C=(i("99af"),i("d81d"),i("53ca")),w=i("5530"),y=i("d4ec"),x=i("bee2"),p=i("9346"),L=i("cab5");i("caad"),i("2532");function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z["default"].t("c0a379a1fd"),i=e.msg||t;this.$toast({title:i,type:"error",callback:e.callback}),console.warn("errorHttpHandler",e)}function m(e){var t=/(\/|:|<|>|\*|\?|"|\||\\)/g;return t.test(e)}function b(e){return window.btoa(unescape(encodeURIComponent(e)))}var O,h,E=window.navigator.userAgent.toLowerCase().includes("ios-pad"),v=window.navigator.userAgent.toLowerCase().includes("mac-office"),k=function(){function e(){Object(y["a"])(this,e),this.wps_sid="",this.cookie=""}return Object(x["a"])(e,[{key:"httpRequest",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.wps_sid){e.next=3;break}return e.next=3,this.getAccountInfo();case 3:return i=Object(w["a"])(Object(w["a"])({},t),{},{header:this.defaultHeader()}),console.log("httpRequest",i),e.abrupt("return",p["a"].httpRequest(i).then((function(e){var t=e.data;return t||{}})).catch((function(e){return e?e.response&&e.response.data?e.response.data||{}:e.response||{}:{}})));case 6:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"httpRequestQing",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=Object(w["a"])({content_type:"application/json"},t),console.log("httpRequestQing",i),e.abrupt("return",p["a"].httpRequestQing(i).then((function(e){var t=e.data;return t||{}})).catch((function(e){return e?e.response&&e.response.data?e.response.data||{}:e.response||{}:{}})));case 3:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"defaultHeader",value:function(){return{"content-type":"application/json",cookie:"csrf=1234567890;".concat(this.cookie)}}},{key:"getAccountInfo",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.wps_sid){e.next=7;break}return e.next=3,L["a"].getUserInfo();case 3:t=e.sent,console.log("getAccountInfo",t.wpssid),this.wps_sid=t.wpssid,t&&t.extrainfo&&t.extrainfo.cookie&&(this.cookie=t.extrainfo.cookie);case 7:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getUserInfo",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.httpRequest({url:"".concat(this.HOST_DRIVE,"/api/v3/userinfo"),type:"get"}));case 1:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getVipConfig",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(){var t,i,r,n,a,M,c,s,I;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t="ACCOUNT_VIP_CONFIG",i=432e5,r=Date.now(),n=!!window.localStorage,n&&(c=localStorage.getItem(t),c))try{s=JSON.parse(c),s.time&&"object"===Object(C["a"])(s.data)&&(r-s.time<i&&r>s.time&&(a=s.data),M=s.data)}catch(u){localStorage.removeItem(t)}if(!a){e.next=8;break}return console.warn("vip config from cache data"),e.abrupt("return",Promise.resolve(a));case 8:return I={time:Date.now(),data:{config:{0:{cloud_space:1024,filesize_limit:10,team_member_number:50,team_number:100,user_free_group_member_number:100,user_free_group_number:100},10:{cloud_space:1024,filesize_limit:10,team_member_number:50,team_number:100,user_free_group_member_number:100,user_free_group_number:100},12:{cloud_space:1024,filesize_limit:10,team_member_number:50,team_number:100,user_free_group_member_number:100,user_free_group_number:100},14:{cloud_space:1048576,filesize_limit:200,team_member_number:50,team_number:100,user_free_group_member_number:50,user_free_group_number:100},20:{batch_download:10,batch_download_file_number:100,batch_download_file_size:200,cloud_space:102400,download_speed_up:0,extract_online:0,filesize_limit:2048,full_text_search:0,history_version:0,secret_folder:0,smart_sync:0,team_member_number:200,team_number:100,user_free_group_member_number:200,user_free_group_number:100},40:{batch_download:10,batch_download_file_number:300,batch_download_file_size:500,cloud_space:373760,download_speed_up:0,extract_online:0,filesize_limit:2048,full_text_search:0,history_version:0,secret_folder:0,smart_sync:0,team_member_number:500,team_number:100,user_free_group_member_number:500,user_free_group_number:100}},result:"ok"}},e.abrupt("return",p["a"].httpRequestQing({request_key:"getVipConfig_pcsharefolder",method:"GET",url:"".concat(this.HOST_ACCOUNT,"/api/vas/personal_vip_config"),host:this.HOST_ACCOUNT,api:"/api/vas/personal_vip_config",auth_type:2}).then((function(e){n&&200===e.statuscode&&(console.warn("vip config from online"),localStorage.setItem(t,JSON.stringify({time:r,data:e.data})));var i=null;return"ok"===e.callstatus&&"object"===Object(C["a"])(e)&&"object"===Object(C["a"])(e.data)?i=e.data:M?(console.warn("vip config from expired cache data"),i=M):(i=I.data,console.warn("vip config use default settings")),i})).catch((function(){return I.data})));case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getFileInfo",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.httpRequest({url:"".concat(this.HOST_DRIVE,"/api/files/").concat(t,"/metadata"),type:"get"}));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getGroup",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.httpRequest({url:"".concat(this.HOST_DRIVE,"/api/v3/groups/").concat(t,"?include=recent_members"),type:"get"}));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getGroup2ShareFolder",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.httpRequest({url:"".concat(this.HOST_DRIVE,"/api/v5/groups/linkfolders?groupids=").concat(t),type:"get"}));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getLinkgroupByGourpId",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.httpRequest({url:"".concat(this.HOST_DRIVE,"/api/v5/groups/folders/linkgroup?fileids=").concat(t),type:"get"}));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"shareFolder",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.httpRequestQing({request_key:"pcShareFolder",method:"POST",url:"".concat(this.HOST_DRIVE,"/api/v5/groups/special/folders/").concat(t,"/share"),host:this.HOST_DRIVE,data:JSON.stringify({}),api:"/api/v5/groups/special/folders/".concat(t,"/share"),auth_type:2}));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getShareProgress",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t,i){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",p["a"].httpRequest({url:"".concat(this.HOST_DRIVE,"/api/v3/groups/").concat(t,"/files/batch/progress?taskid=").concat(i,"&csrfmiddlewaretoken=1234567890"),type:"get",header:this.defaultHeader()}).then((function(e){var t=e.data;return t})));case 1:case"end":return e.stop()}}),e,this)})));function t(t,i){return e.apply(this,arguments)}return t}()},{key:"stopShareFolder",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.httpRequestQing({request_key:"pcStopShareFolder",method:"DELETE",url:"".concat(this.HOST_DRIVE,"/api/v5/groups/special/folders/").concat(t,"/share"),data:"/api/v5/groups/special/folders/".concat(t,"/share"),host:this.HOST_DRIVE,api:"/api/v5/groups/special/folders/".concat(t,"/share"),auth_type:2}));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"createShareFolder",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t){var i,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.name,r=t.parentid,e.abrupt("return",this.httpRequestQing({request_key:"pcCreateShareFolder",method:"POST",url:"".concat(this.HOST_DRIVE,"/api/v5/groups/special/share/folders"),host:this.HOST_DRIVE,api:"/api/v5/groups/special/share/folders",auth_type:2,data:JSON.stringify({name:i,parentid:r})}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getFileMetaData",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.httpRequestQing({request_key:"pcGetFileMetaData",method:"GET",url:"".concat(this.HOST_DRIVE,"/api/v5/files/").concat(t,"/metadata?from=preview"),data:"/api/v5/files/".concat(t,"/metadata?from=preview"),params:"from=preview",host:this.HOST_DRIVE,api:"/api/v5/files/".concat(t,"/metadata"),auth_type:2}));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getCollaboratorsCount",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.httpRequestQing({request_key:"pcGetCollaboratorsCount",method:"GET",url:"".concat(this.HOST_DRIVE,"/api/v5/links/").concat(t,"/collaborators/count"),data:"/api/v5/links/".concat(t,"/collaborators/count"),params:"",host:this.HOST_DRIVE,api:"/api/v5/links/".concat(t,"/collaborators/count"),auth_type:2}));case 1:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"getCollaborators",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t,i){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.httpRequestQing({request_key:"pcGetCollaborators",method:"GET",url:"".concat(this.HOST_DRIVE,"/api/v5/links/").concat(t,"/collaborators?with_team_member=true&with_clink_member_flag=true&offset=").concat(i),data:"/api/v5/links/".concat(t,"/collaborators?with_team_member=true&with_clink_member_flag=true&offset=").concat(i),params:"with_team_member=true&with_clink_member_flag=true&offset=".concat(i),host:this.HOST_DRIVE,api:"/api/v5/links/".concat(t,"/collaborators"),auth_type:2}));case 1:case"end":return e.stop()}}),e,this)})));function t(t,i){return e.apply(this,arguments)}return t}()},{key:"shareFolderNotify",value:function(){var e=Object(M["a"])(regeneratorRuntime.mark((function e(t){var i,r,n,a,M,c,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.uids,r=t.linkGroupId,n=t.fileId,a=t.linkGroupName,M=t.userName,c=t.avatar,s=void 0===c?"":c,e.abrupt("return",this.httpRequestQing({request_key:"pcShareFolderNotify",method:"POST",url:"".concat(this.HOST_SHARE_FOLDER,"/api/v1/notify"),host:this.HOST_SHARE_FOLDER,api:"/api/v1/notify",auth_type:2,data:JSON.stringify({uids:i.map((function(e){return b("".concat(e))})),linkGroupId:r,fileId:n,linkGroupName:b(a),name:b(M),avatar:s}),header:JSON.stringify({ClientType:"pc-win",AppId:"folder_invite_by_file"})}));case 2:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"HOST_DRIVE",get:function(){return window._dynamicApis.drive||""}},{key:"HOST_ACCOUNT",get:function(){return window._dynamicApis.account||""}},{key:"HOST_SHARE_FOLDER",get:function(){return window._dynamicApis.sharefolder||""}}]),e}(),S=new k,Q=(i("4de4"),i("b64b"),i("bcbc")),U={props:["source","sourceName"],data:function(){return{userInfo:{},vipConfig:{},isOhos:!1}},created:function(){this.getAppInfo()},methods:{getAppInfo:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,u.getAppInfo();case 3:i=t.sent,e.isOhos="ohos"===i.platform,t.next=9;break;case 7:t.prev=7,t.t0=t["catch"](0);case 9:case"end":return t.stop()}}),t,null,[[0,7]])})))()},$dataSend:function(e,t){console.log("%c ".concat(e," ").concat(JSON.stringify(t)," "),"color:green;"),Q["a"].dataWarehouseSend(e,t)},close:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;setTimeout((function(){o["a"].close()}),e)},feedback:function(){u.getAppInfo().then((function(e){e=e||{};var t="client",i=e.version,r=e.channel,n=e.guid,a=e.hdid3,M="&app_type=".concat(t,"&app_name=").concat(encodeURIComponent(z["default"].t("c586e0b50e")),"&app_version=").concat(i);M="".concat(M,"&app_dist=").concat(r,"&app_guid=").concat(n,"&app_hdid=").concat(a);var c=encodeURIComponent(z["default"].t("37d0c63ed8")),s="product_name=".concat(c,"&product_id=1000019").concat(M,"&tofeedback=",!0);u.openInnerUrl("".concat(window._dynamicApis&&window._dynamicApis.get||"https://get.wps.cn","/feedback/pc?").concat(s))}))},getUserInfo:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,S.getUserInfo();case 2:i=t.sent,e.userInfo=i,console.log(e.userInfo),e.getVipConfig();case 6:case"end":return t.stop()}}),t)})))()},getVipConfig:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,S.getVipConfig();case 2:i=t.sent,i&&"ok"===i.result&&(e.vipConfig=i.config);case 4:case"end":return t.stop()}}),t)})))()},openWebDialog:function(e){var t=e.linkgroupid,i=e.ftype,r=void 0===i?"linkfolder":i,n=e.actionType,a=void 0===n?"":n,M="".concat(window._dynamicApis&&window._dynamicApis.kdocs||"https://www.kdocs.cn","/public/office/pcsharefolder?f=101&ftype=").concat(r,"&id=").concat(t,"&actionType=").concat(a);location.href=M,u.setDlgSize(600,515),u.setCurrentUrl(M)},openInviteDialog:function(e){var t=e.linkgroupid;u.showInviteMemberDlg(t)}},computed:{teamMemberNumber:function(){var e=this,t="",i={101:200,104:100,105:500,106:200,107:100};if(this.userInfo.vipinfo&&Object.keys(this.vipConfig).length)if(this.userInfo.vipinfo.enabled){var r=this.userInfo.vipinfo.enabled,n=r.filter((function(e){var t=e.memberid;return t<=40})),a=r.filter((function(e){var t=e.memberid;return t>100})),M=0,c=0;n.length&&n.forEach((function(t){var i=t.memberid,r=e.vipConfig[i];r&&(M=Math.max(M,r.user_free_group_member_number))})),a.length&&a.forEach((function(e){var t=e.memberid;c=Math.max(c,i[t]||0)})),t=Math.max(M,c)}else{var s=this.userInfo.vipinfo.memberid;t=s>100?i[s]:this.vipConfig[s].user_free_group_member_number}return t}}},Y=U,Z=(i("3ddd"),Object(D["a"])(Y,O,h,!1,null,null,null)),_=Z.exports,P={name:"create",props:["source"],data:function(){return{parentid:"",folderName:"",disabled:!1}},mixins:[_],methods:{createShareFolder:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i,r,n,a,M;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.$dataSend("cloud_sharedfolder_createsure",{source:e.source}),e.folderName){t.next=4;break}return e.$toast({title:z["default"].t("a17a603243")}),t.abrupt("return");case 4:if(!m(e.folderName)){t.next=7;break}return e.$toast({title:z["default"].t("c87d160985"),type:"error"}),t.abrupt("return");case 7:if(!(e.folderName.length>240)){t.next=10;break}return e.$toast({title:z["default"].t("f7b719211a"),type:"error"}),t.abrupt("return");case 10:return e.disabled=!0,t.next=13,S.createShareFolder({name:e.folderName,parentid:e.parentid});case 13:i=t.sent,console.log(i),"ok"===i.result?(r=i.linkgroupid,n=i.folderid,a=i.groupid,M=i.name,u.shareFolderUpload({linkgroupid:r,folderid:n,groupid:a,name:M}),e.openInviteDialog({linkgroupid:i.linkgroupid,actionType:"new"})):(e.disabled=!1,f.apply(e,[i,z["default"].t("ce1192972d")]));case 16:case"end":return t.stop()}}),t)})))()}},mounted:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$nextTick();case 2:setTimeout((function(){document.getElementById("folder-name").select(),e.$dataSend("cloud_sharedfolder_createdisplay",{source:e.source})}),500);case 3:case"end":return t.stop()}}),t)})))()},created:function(){var e=this;this.parentid=this.$route.query.parentid||"0",this.getUserInfo(),u.vipInfoChanged((function(t){console.log("vipInfoChanged",t),e.getUserInfo()}))}},G=P,R=(i("cf63"),Object(D["a"])(G,A,T,!1,null,"786e4ef3",null)),B=R.exports,W=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"pc-share-folder share"},[r("div",{staticClass:"pc-share-folder__header"},[r("div",[e._v(e._s(e.title))]),e.isOhos?e._e():r("span",{staticClass:"close",on:{click:e.close}})]),r("div",{staticClass:"pc-share-folder__info"},[r("label",{staticClass:"title"},[e._v(e._s(e.$t("2d581bfb1e")))]),r("div",{staticClass:"folder-name auto-hide-text"},[e._v(e._s(e.fileInfo.fname))])]),r("div",{staticClass:"pc-share-folder__members"},[r("label",{staticClass:"title"},[e._v(e._s(e.$t("bfa35d89e4")))]),r("div",{staticClass:"folder-member"},[e.userInfo.avatar?r("img",{staticClass:"folder-member-avatar",attrs:{src:e.userInfo.avatar,alt:""}}):r("img",{staticClass:"folder-member-avatar",attrs:{src:i("0f62"),alt:""}}),r("div",{domProps:{innerHTML:e.xss(e._s(e.formattedContent))}})])]),r("div",{staticClass:"pc-share-folder__btns",class:{"isipad-wps":e.isiPadWps}},[e.loading?r("button",{staticClass:"btn-primary",attrs:{disabled:e.disabled}},[e._v(" "+e._s(e.$t("fa53ba6dbd"))+" ")]):r("button",{staticClass:"btn-primary",attrs:{disabled:e.disabled},on:{click:e.share}},[e._v(" "+e._s(e.$t("21bcb02d05"))+" ")]),r("button",{staticClass:"btn-default",on:{click:e.close}},[e._v(e._s(e.$t("9e3833f44d")))])])])},J=[],H=(i("5319"),{name:"share",data:function(){return{offline:!1,id:"",title:"",content:"",fileInfo:{},disabled:!1,loading:!1}},computed:{formattedContent:function(){return this.content.replace("{availableNumber}",this.teamMemberNumber)},isiPadWps:function(){return E&&v}},mixins:[_],methods:{pollProgress:function(e,t,i,r){var n=this;return Object(M["a"])(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:--i,S.getShareProgress(e,t).then((function(a){var M=a.done,c=a.progress,s=a.fileids,I=a.result;console.log("progress",{done:M,progress:c,fileids:s,result:I});var u={result:I,done:M};"ok"!==I&&r(u),M?r(u):i?setTimeout((function(){return n.pollProgress(e,t,i,r)}),1e3):r()})).catch((function(e){console.error("抛出错误",e);var t={result:"error"};r(t)}));case 2:case"end":return a.stop()}}),a)})))()},share:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i,r,n,a,M,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.getIdentityState();case 2:return i=t.sent,e.disabled=!0,e.loading=!0,t.next=7,S.shareFolder(e.id);case 7:if(r=t.sent,e.disabled=!1,"ok"!==r.result){t.next=14;break}n=r.linkgroupid,r.taskid?e.pollProgress(e.fileInfo.groupid,r.taskid,1/0,(function(t){var r=t.result,a=t.done;e.loading=!1,"fileTaskFailed"===r?(e.report({result_type:r,linkgroupid:String(n),usertype:i?1:0,groupid:e.id,result:!1}),f.apply(e,[{msg:z["default"].t("fae0627148")}])):"fileTaskNotExist"===r?(e.report({result_type:r,linkgroupid:String(n),usertype:i?1:0,groupid:e.id,result:!1}),f.apply(e,[{msg:z["default"].t("6b845b0128")}])):"ok"===r&&a?(u.shareFolderUpload({linkgroupid:n}),e.report({result_type:r,linkgroupid:String(n),groupid:e.id,usertype:i?1:0,result:!0}),i?e.openInviteDialog({linkgroupid:n,actionType:"share"}):e.close(500)):(e.report({result_type:r,linkgroupid:String(n),usertype:i?1:0,groupid:e.id,result:!1}),f.apply(e,[{msg:z["default"].t("5543514c9d")}]))})):(e.report({result_type:r.result,linkgroupid:String(n),usertype:i?1:0,groupid:e.id,result:!0}),e.loading=!1,u.shareFolderUpload({linkgroupid:n}),i?e.openInviteDialog({linkgroupid:n,actionType:"share"}):e.close(500)),t.next=24;break;case 14:if(e.loading=!1,e.report({result_type:r.result,usertype:i?1:0,groupid:e.id,result:!1,invite_show:"folderAlreadyShared"===r.result?1:0}),"folderAlreadyShared"!==r.result){t.next=23;break}return t.next=19,S.getLinkgroupByGourpId(e.id);case 19:a=t.sent,a&&a.info?(M=a.info[e.id],M<=0?f.apply(e,[{msg:"sharefolder"===(null===(c=e.fileInfo)||void 0===c?void 0:c.ftype)?z["default"].t("c84aca25e5"):z["default"].t("a536f09b1c")}]):(e.disabled=!0,setTimeout((function(){i?(e.openInviteDialog({linkgroupid:M,actionType:"share"}),u.shareFolderUpload({type:"cancel"})):e.close(500)}),1e3))):f.apply(e,[a,z["default"].t("32a77cece5")]),t.next=24;break;case 23:"fileTaskDuplicated"===r.result?(f.apply(e,[{msg:z["default"].t("79c4a6fc04"),callback:function(){e.close()}}]),e.disabled=!0,u.shareFolderUpload({type:"cancel"})):"fileNotInSpecialGroup"===r.result?(f.apply(e,[{msg:z["default"].t("ffa235a34b"),callback:function(){e.close()}}]),e.disabled=!0,u.shareFolderUpload({type:"cancel"})):f.apply(e,[r,z["default"].t("32a77cece5")]);case 24:case"end":return t.stop()}}),t)})))()},report:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"cloud_sharedfolder_foldersure";this.$dataSend(t,Object(w["a"])(Object(w["a"])({},e),{},{source:this.source,name:this.sourceName}))},getIdentityState:function(){return Object(M["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",u.getIdentityState().then((function(e){var t=e.identityState;return 1===t})).catch((function(){return!1})));case 1:case"end":return e.stop()}}),e)})))()},getFileInfo:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,S.getFileInfo(e.id);case 2:i=t.sent,"ok"===i.result?e.fileInfo=i.fileinfo:(f.apply(e,[i,z["default"].t("55b4f7780a")]),e.close(500));case 4:case"end":return t.stop()}}),t)})))()}},mounted:function(){var e=this;setTimeout((function(){e.$dataSend("cloud_sharedfolder_foldershare",{source:e.source,name:e.sourceName})}),500)},created:function(){var e=this;this.id=this.$route.query.id||"",this.title=this.$route.query.title||z["default"].t("93db74324c"),this.content=this.$route.query.content||z["default"].t("07dcf1bf44"),this.getUserInfo(),this.getFileInfo(),u.vipInfoChanged((function(t){console.log("vipInfoChanged",t),e.getUserInfo()}))}}),F=H,V=(i("219f"),Object(D["a"])(F,W,J,!1,null,"700bf740",null)),X=V.exports,K=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.pageLoading?i("div",{staticClass:"pc-share-folder stop-share"},[i("div",{directives:[{name:"show",rawName:"v-show",value:!e.showGuideModal,expression:"!showGuideModal"}]},[i("div",{staticClass:"pc-share-folder__header"},[i("div",{staticClass:"title"},[i("wps-icon",{attrs:{name:"warning.svg"}}),i("span",[e._v(e._s(e.$t("19473e81f4")))])],1),e.isOhos?e._e():[i("div",{staticClass:"feedback"},[e.isEdition?e._e():i("span",{on:{click:e.feedback}},[e._v(e._s(e.$t("9b27426976")))])]),i("span",{staticClass:"close",on:{click:e.onClose}})]],2),e.errorStatus?[i("div",{staticClass:"pc-share-folder__info pc-share-folder_infofail"},[i("label",{staticClass:"title"},[e._v(e._s(e.$t("b8b1b7b419")))])]),i("div",{staticClass:"pc-share-folder__btns"},[i("button",{staticClass:"btn-primary",on:{click:e.onClose}},[e._v(" "+e._s(e.$t("7b74e02f79"))+" ")])])]:[i("div",{staticClass:"pc-share-folder__info"},[i("label",{staticClass:"title auto-hide-text"},[e._v(e._s(e.$t("9a03b38da6"))+"「"),i("strong",[e._v(e._s(e.groupInfo.name)+"」")])])]),i("div",{staticClass:"pc-share-folder__members"},[i("label",{staticClass:"title"},[e._v(e._s(e.$t("d8e787c8fc")))]),i("Avatar",{staticClass:"folder-member",attrs:{items:e.groupInfo.recent_members}})],1),i("div",{staticClass:"pc-share-folder__btns"},[e.loading?i("button",{staticClass:"btn-danger"},[e._v(" "+e._s(e.$t("247fd4f88c"))+" ")]):i("button",{staticClass:"btn-danger",on:{click:e.stopShare}},[e._v(" "+e._s(e.$t("343e10e9d5"))+" ")]),i("button",{staticClass:"btn-default",on:{click:e.onClose}},[e._v(" "+e._s(e.$t("41f0ce726b"))+" ")])])]],2),i("div",{directives:[{name:"show",rawName:"v-show",value:e.showGuideModal,expression:"showGuideModal"}],staticClass:"stopped"},[i("div",{staticClass:"pc-share-folder__header"},[i("div",{staticClass:"title"},[i("span",[e._v(e._s(e.$t("5565af4ca8")))])]),e.isOhos?e._e():i("span",{staticClass:"close",on:{click:e.onClose}})]),i("div",{staticClass:"pc-share-folder__info"},[i("strong",{staticStyle:{color:"#4f5d79"}},[e._v(e._s(e.shortFolderName))]),e._v(e._s(e.$t("c27b083cc9"))),i("span",{staticClass:"link",on:{click:e.gotoFolder}},[e._v("「"+e._s(e.shortFolderPath)+"」")]),e._v(e._s(e.$t("097807bd28"))+" ")]),i("div",{staticClass:"pc-share-folder__btns"},[i("button",{staticClass:"btn-primary",on:{click:e.gotoFolder}},[e._v(" "+e._s(e.$t("8a767bbf5c"))+" ")]),i("button",{staticClass:"btn-default",on:{click:function(t){return e.onClose(!0)}}},[e._v(" "+e._s(e.$t("41f0ce726b"))+" ")])])])]):e._e()},$=[],q=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"avatar-box"},[e._l(e.items,(function(t,r){return[r<4?i("div",{key:r,staticClass:"box"},[i("img",{attrs:{title:t.name,src:t.avatar}})]):e._e()]})),e.items.length>4?i("div",{staticClass:"box placeholder"}):e._e(),e.items.length?i("div",{staticClass:"avatar-count"},[e._v(" "+e._s(e.items.length)+e._s(e.$t("31d296f84c"))+" ")]):e._e()],2)},ee=[],te={props:{items:{type:Array,default:function(){return[]}}}},ie=te,re=(i("96ba"),Object(D["a"])(ie,q,ee,!1,null,"37bda25c",null)),ne=re.exports,ae={name:"stopshare",props:["appName"],data:function(){return{id:"",groupInfo:{recent_members:[]},inviteSettingUrl:"",loading:!1,showGuideModal:!1,folderPath:"",cancelSharePositionName:"",showSharingCanceledDlg:!1,isEdition:!1,pageLoading:!1,errorStatus:!1}},components:{Avatar:ne},mixins:[_],methods:{pollProgress:function(e,t,i,r){var n=this;return Object(M["a"])(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:--i,S.getShareProgress(e,t).then((function(a){var M=a.done,c=a.progress,s=a.fileids,I=a.result;console.log("progress",{done:M,progress:c,fileids:s,result:I});var u={result:I,done:M};"ok"!==I&&r(u),M?r(u):i?setTimeout((function(){return n.pollProgress(e,t,i,r)}),1e3):r()})).catch((function(e){console.error(e);var t={result:"error"};r(t)}));case 2:case"end":return a.stop()}}),a)})))()},stopShare:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i,r,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.$dataSend("cloud_sharedfolder_attribute_sharecancelsure"),u.notifyShareAction(e.id),i="",t.next=5,S.getGroup2ShareFolder(e.id);case 5:if(r=t.sent,"ok"!==r.result){t.next=10;break}i=r.info[e.id],t.next=12;break;case 10:return f.apply(e,[r]),t.abrupt("return");case 12:return e.loading=!0,t.next=15,S.stopShareFolder(i);case 15:n=t.sent,"ok"===n.result?n.taskid?e.pollProgress(e.groupInfo.id,n.taskid,1/0,(function(t){var i=t.result,r=t.done;e.loading=!1,"fileTaskFailed"===i?f.apply(e,[{msg:z["default"].t("cdbe15eba7")}]):"fileTaskNotExist"===i?f.apply(e,[{msg:z["default"].t("4d37e9e273")}]):"ok"===i&&r?e.showSharingCanceledDlg?e.openCancelShareGuideDlg():(e.$toast({title:z["default"].t("0604720b62")}),u.shareFolderUpload({type:"cancel"}),e.close(500)):f.apply(e,[{msg:z["default"].t("1805dd7f02")}])})):e.showSharingCanceledDlg?e.openCancelShareGuideDlg():(e.loading=!1,e.$toast({title:z["default"].t("0604720b62")}),u.shareFolderUpload({type:"cancel"}),e.close(500)):(e.loading=!1,f.apply(e,[n,z["default"].t("1805dd7f02")]));case 17:case"end":return t.stop()}}),t)})))()},openCancelShareGuideDlg:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return u.shareFolderUpload({type:"cancel"}),t.next=3,u.getParentFolderPath().catch((function(e){return e}));case 3:i=t.sent,e.folderPath=null===i||void 0===i?void 0:i.parentFolderPath,e.showGuideModal=!0,r={kstartpage:"client",qingnse:"pan"},e.$dataSend("cloud_sharefolder_sharecancelsure_show",{channel:r[e.appName]||"",position:e.cancelSharePositionName});case 8:case"end":return t.stop()}}),t)})))()},getGroup:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,S.getGroup(e.id);case 2:if(i=t.sent,!i||!i.id){t.next=7;break}e.groupInfo=i,t.next=12;break;case 7:if(r=["groupNotExist","permissionDenied"],!i.result||!r.includes(i.result)){t.next=11;break}return e.errorStatus=!0,t.abrupt("return");case 11:f.apply(e,[i,z["default"].t("dbb2ebda09")]);case 12:case"end":return t.stop()}}),t)})))()},onClose:function(e){if(this.errorStatus)this.close();else{var t=this.$route.query.from;"invite"===t?u.reload("".concat(this.inviteSettingUrl,"&from=invite")):"invite_setting"===t&&!0!==e?u.reload(this.inviteSettingUrl):this.close()}},getLocalPageDir:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u.getLocalPageDir();case 2:i=t.sent,e.inviteSettingUrl="file:///".concat(i.dir,"sharefolderinvite/index.html#/invite_setting?id=").concat(e.$route.query.id);case 4:case"end":return t.stop()}}),t)})))()},gotoFolder:function(){var e={kstartpage:"client",qingnse:"pan"};this.$dataSend("cloud_sharefolder_sharecancelsure_clickview",{channel:e[this.appName]||"",position:this.cancelSharePositionName}),u.jumpToCloudFolder(),this.close(500)},getCancelShareExtraParam:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i,r,n,a,M;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,u.getCancelShareExtraParam();case 2:i=t.sent,r=i.cancelSharePositionName,n=void 0===r?"":r,a=i.showSharingCanceledDlg,M=void 0!==a&&a,e.cancelSharePositionName=n,e.showSharingCanceledDlg=M;case 9:case"end":return t.stop()}}),t)})))()},shortcut:function(e,t){if(e.length>t){var i=t/2;return e.substring(0,i)+"..."+e.substr(i-t)}return e}},computed:{shortFolderPath:function(){return this.shortcut(this.folderPath||"",50)},shortFolderName:function(){var e;return this.shortcut((null===(e=this.groupInfo)||void 0===e?void 0:e.name)||"",10)}},created:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return u.setDlgSize(420,230),t.prev=1,t.next=4,e.getLocalPageDir();case 4:return t.next=6,e.getCancelShareExtraParam();case 6:return e.id=e.$route.query.id||"",t.next=9,e.getUserInfo();case 9:return t.next=11,e.getGroup();case 11:t.next=16;break;case 13:t.prev=13,t.t0=t["catch"](1),console.error(t.t0);case 16:e.pageLoading=!0,u.getProductInformation().then((function(t){e.isEdition="professional"===t.data.version}));case 18:case"end":return t.stop()}}),t,null,[[1,13]])})))()}},Me=ae,ce=(i("d4d4"),Object(D["a"])(Me,K,$,!1,null,"65ca62ea",null)),se=ce.exports,Ie=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.fileName?i("div",{staticClass:"pc-share-folder"},[i("div",{staticClass:"pc-share-folder__header"},[i("div",[e._v(e._s(e.$t("d2595c0589")))]),i("span",{staticClass:"close",on:{click:e.close}})]),i("div",{staticClass:"pc-share-folder__title"},[i("span",[i("img",{staticClass:"file-icon",attrs:{src:e.fileIcon}}),i("span",{staticClass:"file-name"},[e._v("「"+e._s(e.fileName)+"」")]),e.fileCount>1?i("span",[e._v(" "+e._s(e.$t("d473e73da51",{num:e.fileCount}))+" ")]):e._e(),i("span",[e._v(e._s(e.$t("96b58a264b")))])])]),i("div",{staticClass:"pc-share-folder__info"},[i("label",{staticClass:"title"},[e._v(e._s(e.$t("3b4cb0d66f")))]),i("div",{staticClass:"folder-name"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.folderName,expression:"folderName"}],staticClass:"common-input",attrs:{id:"folder-name",spellcheck:"false",placeholder:e.$t("0a77c1e8f4"),type:"text"},domProps:{value:e.folderName},on:{input:function(t){t.target.composing||(e.folderName=t.target.value)}}})])]),i("div",{staticClass:"pc-share-folder__btns"},[i("button",{staticClass:"btn-primary",attrs:{disabled:e.disabled},on:{click:e.createShareFolder}},[e._v(" "+e._s(e.$t("c21d79dd49"))+" ")])])]):e._e()},ue=[],oe=(i("a15b"),i("fb6a"),{name:"createByFile",props:["source"],data:function(){return{fileCount:0,parentid:"",folderName:"",disabled:!1,fileName:"",fileIcon:""}},mixins:[_],methods:{createShareFolder:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i,r,n,a,M;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.$dataSend("cloud_sharedfolder_createsure",{source:e.source}),e.folderName){t.next=4;break}return e.$toast({title:z["default"].t("0a77c1e8f4")}),t.abrupt("return");case 4:if(!m(e.folderName)){t.next=7;break}return e.$toast({title:z["default"].t("3379fa0955"),type:"error"}),t.abrupt("return");case 7:if(!(e.folderName.length>240)){t.next=10;break}return e.$toast({title:z["default"].t("66be4e3bc0"),type:"error"}),t.abrupt("return");case 10:return e.disabled=!0,t.next=13,u.createLinkFolder({folderName:e.folderName});case 13:i=t.sent,"ok"===i.result?(r=i.linkgroupid,n=i.folderid,a=i.groupid,M=i.name,e.$dataSend("cloud_sharedfolder_sendasshare_popclick",{source:e.source,state:"success",groupid:a,linkgroupid:r,type:"create",number:e.fileCount}),u.shareFolderUpload({linkgroupid:r,folderid:n,groupid:a,name:M})):(e.$toast({title:z["default"].t("03d6fa6b1f"),type:"error"}),e.disabled=!1,f.apply(e,[i,z["default"].t("03d6fa6b1f")]),e.$dataSend("cloud_sharedfolder_sendasshare_popclick",{source:e.source,state:"failure",type:"create",number:e.fileCount}));case 15:case"end":return t.stop()}}),t)})))()}},mounted:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:setTimeout((function(){e.$dataSend("cloud_sharedfolder_sendasshare_popshow",{source:e.source,number:e.fileCount})}),500),o["a"].addDragArea(0,0,380,46),u.getAssociatedFileInfo().then((function(t){if(t&&"ok"===t.callstatus&&t){var i=t.result.fileName.split(".").reverse().slice(1).reverse().join(".");e.fileIcon=t.result.fileIcon,e.fileName=i.length>14?i.substr(0,12)+"...":i,e.folderName=z["default"].t("10cafe60b6",[i]),e.fileCount=+t.result.fileCount}})).then((function(){document.getElementById("folder-name").select(),document.getElementById("folder-name").focus()}));case 3:case"end":return t.stop()}}),t)})))()},created:function(){var e=this;this.parentid=this.$route.query.parentid||"0",this.getUserInfo(),u.vipInfoChanged((function(t){e.getUserInfo()}))}}),ge=oe,Ne=(i("4bf4"),Object(D["a"])(ge,Ie,ue,!1,null,"1ed6c758",null)),De=Ne.exports,le=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.success?r("div",{staticClass:"folder-invite"},[r("div",{staticClass:"folder-invite__header"},[e._v(" "+e._s(e.$t("a216e3eca8"))),r("IconClose",{staticClass:"folder-invite__close",on:{click:e.onClose}})],1),r("div",{staticClass:"folder-invite__title"},[e._v(e._s(e.$t("a8c967aa37")))]),r("img",{staticClass:"folder-invite__content folder-invite__content--no-border",attrs:{src:i("887a")}}),r("div",{staticClass:"folder-invite__footer"},[r("div",{staticClass:"folder-invite__button folder-invite__button--primary",on:{click:e.onClose}},[e._v(" "+e._s(e.$t("f1a3909090"))+" ")])])]):e.inited?r("div",{staticClass:"folder-invite"},[r("div",{staticClass:"folder-invite__header"},[e._v(" "+e._s(e.$t("57e8eb847e"))),r("IconClose",{staticClass:"folder-invite__close",on:{click:e.onClose}})],1),r("div",{staticClass:"folder-invite__title"},[r("div",{staticClass:"text-ellipsis__wrapper"},[e._v(" "+e._s(e.$t("10f09aabde"))),r("span",{staticClass:"bold text-ellipsis"},[e._v("「"+e._s(e.fileName)+"」")]),e.fileCount>1?r("span",[e._v(" "+e._s(e.$t("d5d27da9251",{num:e.fileCount}))+" ")]):e._e()]),r("div",{staticClass:"text-ellipsis__wrapper"},[e._v(" "+e._s(e.$t("e6bfd43490"))),r("span",{staticClass:"text-ellipsis"},[e._v(e._s(e.$route.query.folder_name))]),e._v(e._s(e.$t("2b4abe4bca"))+" ")])]),r("div",{staticClass:"folder-invite__content"},[r("div",{staticClass:"folder-invite__collaborator-list",on:{scroll:e.onScroll}},e._l(e.collaborators,(function(t,n){var a=t.id,M=t.name,c=t.avatar,s=t.checked,I=t.avatarError;return r("div",{key:a,staticClass:"folder-invite__collaborator-item",on:{click:function(t){return e.onCollaboratorClick(n)}}},[r("img",{staticClass:"folder-invite__collaborator-avatar",attrs:{src:I||!c?i("5902"):c,alt:""},on:{error:function(t){return e.onAvatarError(n)}}}),r("div",{staticClass:"folder-invite__collaborator-name"},[e._v(e._s(M))]),s?r("IconChecked",{staticClass:"folder-invite__collaborator-checkbox folder-invite__collaborator-checkbox--checked"}):r("IconUnchecked",{staticClass:"folder-invite__collaborator-checkbox folder-invite__collaborator-checkbox--unchecked"})],1)})),0)]),r("div",{staticClass:"folder-invite__footer"},[r("div",{staticClass:"folder-invite__button folder-invite__button--primary",on:{click:e.onShareFolderNotify}},[e._v(" "+e._s(e.$t("961ead6fde"))+e._s(e.checkedMemberCount)+") ")]),r("div",{staticClass:"folder-invite__button",on:{click:e.onNotInvite}},[e._v(" "+e._s(e.$t("5ba65b0d19"))+" ")])])]):e._e()},je=[],de=i("a2ab"),ze=i.n(de),Ae=i("cdec"),Te=i.n(Ae),Ce=i("b569"),we=i.n(Ce),ye=!1,xe={name:"inviteByFile",mixins:[_],props:["source"],data:function(){return{fileCount:+this.$route.query.count||0,linkGroupId:this.$route.query.link_group_id,userId:"",fileName:"",sid:"",inited:!1,success:!1,collaboratorsCount:0,collaborators:[]}},components:{IconClose:ze.a,IconChecked:Te.a,IconUnchecked:we.a},computed:{checkedMemberCount:function(){return(this.collaborators||[]).filter((function(e){var t=e.checked;return t})).length}},methods:{onClose:function(){u.closeDlg()},onScroll:function(e){var t=this;return Object(M["a"])(regeneratorRuntime.mark((function i(){var r,n,a,M;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(r=e&&e.target,!r){i.next=9;break}if(n=r.clientHeight,a=r.scrollTop,M=r.scrollHeight,!(M-a-n<100)){i.next=9;break}if(ye||!(t.collaboratorsCount>t.collaborators.length)){i.next=9;break}return ye=!0,i.next=8,t.getCollaborators();case 8:ye=!1;case 9:case"end":return i.stop()}}),i)})))()},getCollaborators:function(){var e=this,t=this.collaborators.length;return S.getCollaborators(this.sid,t).then((function(i){i&&i.collaborators&&(e.inited=!0,e.collaborators=e.collaborators.concat(i.collaborators.filter((function(t){return t.id!==+e.userId}))).map((function(e,i,r){return Object(w["a"])({checked:0===t&&r.length<=5},e)})))}))},onCollaboratorClick:function(e){this.collaborators=this.collaborators.map((function(t,i){return i===e?Object(w["a"])(Object(w["a"])({},t),{},{checked:!t.checked}):t}))},onShareFolderNotify:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.collaborators.filter((function(e){var t=e.checked;return t})).map((function(e){var t=e.id;return t})),i&&i.length){t.next=4;break}return e.$toast({title:z["default"].t("2dea445db6")}),t.abrupt("return");case 4:return t.next=6,u.isVerified();case 6:if(r=t.sent,r&&r.isVerified){t.next=10;break}return u.showVerifyDlg(),t.abrupt("return");case 10:e.$dataSend("cloud_sharedfolder_sendasshare_memberclick",{button:"invite",linkgroupid:e.linkGroupId,number:e.fileCount,membercount:i.length}),S.shareFolderNotify({uids:i,linkGroupId:e.linkGroupId,linkGroupName:e.$route.query.folder_name,fileId:e.$route.query.folder_id,userName:e.userName,avatar:e.userAvatar}).then((function(t){t.isOk?(e.success=!0,e.$dataSend("cloud_sharedfolder_sendasshare_invitationshow",{linkgroupid:e.linkGroupId})):e.$toast({type:"error",title:z["default"].t("2eb711d5b1")})})).catch((function(t){e.$toast({type:"error",title:z["default"].t("fb7e8d6b1f")})}));case 12:case"end":return t.stop()}}),t)})))()},onNotInvite:function(){var e=this;this.$dataSend("cloud_sharedfolder_sendasshare_memberclick",{button:"notinvite",linkgroupid:this.linkGroupId,number:this.fileCount,membercount:this.checkedMemberCount}),setTimeout((function(){e.onClose()}),200)},onAvatarError:function(e){this.$set(this.collaborators[e],"avatarError",!0)}},created:function(){var e=this;return Object(M["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return o["a"].addDragArea(0,0,380,46),L["a"].getUserInfo().then((function(t){e.userId=t.userId,e.userName=t.userName,e.userAvatar=t.userAvatar})),t.next=4,S.getFileMetaData(e.$route.query.file_id);case 4:i=t.sent,i&&(i.fileinfo&&i.fileinfo.fname&&(e.fileName=i.fileinfo.fname.split(".").reverse().slice(1).reverse().join(".")),i.linkinfo&&i.linkinfo.sid&&(e.sid=i.linkinfo.sid,Promise.all([e.getCollaborators(),S.getCollaboratorsCount(e.sid).then((function(t){e.collaboratorsCount=t&&t.count||0}))]).then((function(){var t;(null===e||void 0===e||null===(t=e.collaborators)||void 0===t?void 0:t.length)||e.onClose(),e.inited=!0,e.$dataSend("cloud_sharedfolder_sendasshare_membershow",{number:e.fileCount,linkgroupid:e.linkGroupId})}))));case 6:case"end":return t.stop()}}),t)})))()}},pe=xe,Le=(i("e00a"),Object(D["a"])(pe,le,je,!1,null,null,null)),fe=Le.exports;r["a"].use(d["a"]);var me=new d["a"]({mode:"hash",base:"./",routes:[{path:"/create",name:"Create",component:B,meta:{title:z["default"].t("0636fe02b5")}},{path:"/share",name:"Share",component:X,meta:{title:z["default"].t("542bb6f266")}},{path:"/create_byfile",name:"CreateByFile",component:De,meta:{title:z["default"].t("0636fe02b5")}},{path:"/invite_byfile",name:"InviteByFile",component:fe,meta:{title:z["default"].t("0636fe02b5")}},{path:"/stop_share",name:"StopShare",component:se,meta:{title:z["default"].t("f5be1ee74a")}}]});me.beforeEach((function(e,t,i){e.matched.forEach((function(e){var t=e.meta;t.title&&(document.title=t.title)})),i()}));var be=me,Oe=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"wps-toast"},[e.mask?i("div",{staticClass:"wps-toast__mask"}):e._e(),i("div",{staticClass:"wps-toast__content"},[i("i",{staticClass:"wps-toast-icon",class:""+e.type}),e._v(" "+e._s(e.title)+" ")])])},he=
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|M男之家

GMT+8, 2026-11-13 17:42 , Processed in 0.081840 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表