@sync-in/server 1.7.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +173 -58
- package/environment/environment.dist.yaml +6 -3
- package/migrations/0003_giant_luckman.sql +6 -0
- package/migrations/meta/0003_snapshot.json +2463 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +19 -17
- package/server/app.bootstrap.js +5 -2
- package/server/app.bootstrap.js.map +1 -1
- package/server/app.constants.js +0 -4
- package/server/app.constants.js.map +1 -1
- package/server/app.service.js +7 -6
- package/server/app.service.js.map +1 -1
- package/server/applications/files/constants/only-office.js +12 -0
- package/server/applications/files/constants/only-office.js.map +1 -1
- package/server/applications/files/files.config.js +5 -0
- package/server/applications/files/files.config.js.map +1 -1
- package/server/applications/files/files.controller.js +12 -4
- package/server/applications/files/files.controller.js.map +1 -1
- package/server/applications/files/files.controller.spec.js +18 -4
- package/server/applications/files/files.controller.spec.js.map +1 -1
- package/server/applications/files/services/files-content-manager.service.js +6 -6
- package/server/applications/files/services/files-content-manager.service.js.map +1 -1
- package/server/applications/files/services/files-manager.service.js +4 -4
- package/server/applications/files/services/files-manager.service.js.map +1 -1
- package/server/applications/files/services/files-methods.service.js +4 -7
- package/server/applications/files/services/files-methods.service.js.map +1 -1
- package/server/applications/files/services/files-only-office-manager.service.js +2 -2
- package/server/applications/files/services/files-only-office-manager.service.js.map +1 -1
- package/server/applications/files/services/files-parser.service.js +6 -3
- package/server/applications/files/services/files-parser.service.js.map +1 -1
- package/server/applications/files/services/files-scheduler.service.js +51 -3
- package/server/applications/files/services/files-scheduler.service.js.map +1 -1
- package/server/applications/files/services/files-search-manager.service.js +4 -0
- package/server/applications/files/services/files-search-manager.service.js.map +1 -1
- package/server/applications/files/utils/doc-textify/adapters/pdf.js +6 -8
- package/server/applications/files/utils/doc-textify/adapters/pdf.js.map +1 -1
- package/server/applications/notifications/i18n/de.js +56 -0
- package/server/applications/notifications/i18n/de.js.map +1 -0
- package/server/applications/notifications/i18n/es.js +52 -0
- package/server/applications/notifications/i18n/es.js.map +1 -0
- package/server/applications/notifications/i18n/hi.js +52 -0
- package/server/applications/notifications/i18n/hi.js.map +1 -0
- package/server/applications/notifications/i18n/index.js +73 -8
- package/server/applications/notifications/i18n/index.js.map +1 -1
- package/server/applications/notifications/i18n/it.js +52 -0
- package/server/applications/notifications/i18n/it.js.map +1 -0
- package/server/applications/notifications/i18n/ja.js +52 -0
- package/server/applications/notifications/i18n/ja.js.map +1 -0
- package/server/applications/notifications/i18n/ko.js +52 -0
- package/server/applications/notifications/i18n/ko.js.map +1 -0
- package/server/applications/notifications/i18n/pl.js +52 -0
- package/server/applications/notifications/i18n/pl.js.map +1 -0
- package/server/applications/notifications/i18n/pt.js +52 -0
- package/server/applications/notifications/i18n/pt.js.map +1 -0
- package/server/applications/notifications/i18n/pt_br.js +52 -0
- package/server/applications/notifications/i18n/pt_br.js.map +1 -0
- package/server/applications/notifications/i18n/ru.js +52 -0
- package/server/applications/notifications/i18n/ru.js.map +1 -0
- package/server/applications/notifications/i18n/tr.js +52 -0
- package/server/applications/notifications/i18n/tr.js.map +1 -0
- package/server/applications/notifications/i18n/zh.js +52 -0
- package/server/applications/notifications/i18n/zh.js.map +1 -0
- package/server/applications/notifications/mails/models.js +6 -7
- package/server/applications/notifications/mails/models.js.map +1 -1
- package/server/applications/notifications/services/notifications-manager.service.js.map +1 -1
- package/server/applications/shares/dto/create-or-update-share.dto.js +11 -0
- package/server/applications/shares/dto/create-or-update-share.dto.js.map +1 -1
- package/server/applications/shares/interfaces/share-props.interface.js.map +1 -1
- package/server/applications/shares/schemas/share.interface.js.map +1 -1
- package/server/applications/shares/schemas/shares.schema.js +9 -0
- package/server/applications/shares/schemas/shares.schema.js.map +1 -1
- package/server/applications/shares/services/shares-manager.service.js +46 -17
- package/server/applications/shares/services/shares-manager.service.js.map +1 -1
- package/server/applications/shares/services/shares-queries.service.js +24 -5
- package/server/applications/shares/services/shares-queries.service.js.map +1 -1
- package/server/applications/spaces/constants/cache.js +4 -0
- package/server/applications/spaces/constants/cache.js.map +1 -1
- package/server/applications/spaces/dto/create-or-update-space.dto.js +5 -0
- package/server/applications/spaces/dto/create-or-update-space.dto.js.map +1 -1
- package/server/applications/spaces/guards/space.guard.js +3 -3
- package/server/applications/spaces/guards/space.guard.js.map +1 -1
- package/server/applications/spaces/models/space-props.model.js.map +1 -1
- package/server/applications/spaces/models/space.model.js.map +1 -1
- package/server/applications/spaces/schemas/space.interface.js.map +1 -1
- package/server/applications/spaces/schemas/spaces.schema.js +1 -0
- package/server/applications/spaces/schemas/spaces.schema.js.map +1 -1
- package/server/applications/spaces/services/spaces-browser.service.js.map +1 -1
- package/server/applications/spaces/services/spaces-manager.service.js +34 -31
- package/server/applications/spaces/services/spaces-manager.service.js.map +1 -1
- package/server/applications/spaces/services/spaces-queries.service.js +23 -7
- package/server/applications/spaces/services/spaces-queries.service.js.map +1 -1
- package/server/applications/spaces/services/spaces-scheduler.service.js +21 -20
- package/server/applications/spaces/services/spaces-scheduler.service.js.map +1 -1
- package/server/applications/spaces/spaces.controller.js +4 -2
- package/server/applications/spaces/spaces.controller.js.map +1 -1
- package/server/applications/spaces/utils/paths.js +14 -16
- package/server/applications/spaces/utils/paths.js.map +1 -1
- package/server/applications/sync/services/sync-manager.service.js +4 -3
- package/server/applications/sync/services/sync-manager.service.js.map +1 -1
- package/server/applications/sync/services/sync-paths-manager.service.js +1 -1
- package/server/applications/sync/services/sync-paths-manager.service.js.map +1 -1
- package/server/applications/sync/services/sync-paths-manager.service.spec.js +1 -1
- package/server/applications/sync/services/sync-paths-manager.service.spec.js.map +1 -1
- package/server/applications/sync/sync.controller.js +2 -1
- package/server/applications/sync/sync.controller.js.map +1 -1
- package/server/applications/users/constants/routes.js +5 -0
- package/server/applications/users/constants/routes.js.map +1 -1
- package/server/applications/users/constants/user.js +0 -16
- package/server/applications/users/constants/user.js.map +1 -1
- package/server/applications/users/dto/user-properties.dto.js +10 -0
- package/server/applications/users/dto/user-properties.dto.js.map +1 -1
- package/server/applications/users/models/user.model.js.map +1 -1
- package/server/applications/users/schemas/user.interface.js.map +1 -1
- package/server/applications/users/schemas/users.schema.js +3 -2
- package/server/applications/users/schemas/users.schema.js.map +1 -1
- package/server/applications/users/services/admin-users-manager.service.js +1 -0
- package/server/applications/users/services/admin-users-manager.service.js.map +1 -1
- package/server/applications/users/services/admin-users-manager.service.spec.js +2 -1
- package/server/applications/users/services/admin-users-manager.service.spec.js.map +1 -1
- package/server/applications/users/services/users-manager.service.js +7 -2
- package/server/applications/users/services/users-manager.service.js.map +1 -1
- package/server/applications/users/services/users-manager.service.spec.js +1 -0
- package/server/applications/users/services/users-manager.service.spec.js.map +1 -1
- package/server/applications/users/services/users-queries.service.js +18 -4
- package/server/applications/users/services/users-queries.service.js.map +1 -1
- package/server/applications/users/users.controller.js +15 -0
- package/server/applications/users/users.controller.js.map +1 -1
- package/server/applications/users/users.gateway.js +6 -0
- package/server/applications/users/users.gateway.js.map +1 -1
- package/server/applications/users/utils/test.js +2 -2
- package/server/applications/users/utils/test.js.map +1 -1
- package/server/applications/webdav/constants/routes.js +2 -2
- package/server/applications/webdav/constants/routes.js.map +1 -1
- package/server/applications/webdav/constants/webdav.js +2 -2
- package/server/applications/webdav/constants/webdav.js.map +1 -1
- package/server/applications/webdav/filters/webdav.filter.js +2 -2
- package/server/applications/webdav/filters/webdav.filter.js.map +1 -1
- package/server/applications/webdav/filters/webdav.filter.spec.js +2 -2
- package/server/applications/webdav/filters/webdav.filter.spec.js.map +1 -1
- package/server/applications/webdav/services/webdav-methods.service.js +3 -2
- package/server/applications/webdav/services/webdav-methods.service.js.map +1 -1
- package/server/applications/webdav/utils/webdav.js +1 -2
- package/server/applications/webdav/utils/webdav.js.map +1 -1
- package/server/authentication/auth.config.js +2 -2
- package/server/authentication/auth.config.js.map +1 -1
- package/server/authentication/guards/auth-basic.strategy.js +2 -2
- package/server/authentication/guards/auth-basic.strategy.js.map +1 -1
- package/server/common/i18n.js +52 -0
- package/server/common/i18n.js.map +1 -0
- package/server/common/image.js +63 -43
- package/server/common/image.js.map +1 -1
- package/server/common/interfaces.js.map +1 -1
- package/server/common/shared.js +5 -2
- package/server/common/shared.js.map +1 -1
- package/server/configuration/config.validation.js +3 -3
- package/server/configuration/config.validation.js.map +1 -1
- package/server/infrastructure/cache/adapters/mysql-cache.adapter.js +8 -6
- package/server/infrastructure/cache/adapters/mysql-cache.adapter.js.map +1 -1
- package/server/infrastructure/cache/adapters/redis-cache.adapter.js +22 -17
- package/server/infrastructure/cache/adapters/redis-cache.adapter.js.map +1 -1
- package/server/infrastructure/cache/cache.e2e-spec.js +1 -0
- package/server/infrastructure/cache/cache.e2e-spec.js.map +1 -1
- package/server/infrastructure/cache/cache.module.js +1 -14
- package/server/infrastructure/cache/cache.module.js.map +1 -1
- package/server/infrastructure/cache/services/cache.service.js.map +1 -1
- package/server/infrastructure/database/database.module.js +20 -1
- package/server/infrastructure/database/database.module.js.map +1 -1
- package/server/infrastructure/database/utils.js +48 -0
- package/server/infrastructure/database/utils.js.map +1 -1
- package/server/infrastructure/scheduler/scheduler.module.js +1 -1
- package/server/infrastructure/scheduler/scheduler.module.js.map +1 -1
- package/server/infrastructure/websocket/adapters/cluster.adapter.js +1 -3
- package/server/infrastructure/websocket/adapters/cluster.adapter.js.map +1 -1
- package/static/3rdpartylicenses.txt +137 -163
- package/static/chunk-2KLC4T2Z.js +1 -0
- package/static/chunk-2VMSXRCB.js +12 -0
- package/static/chunk-3GMLWAFZ.js +1 -0
- package/static/chunk-3OHSRRKH.js +4 -0
- package/static/chunk-3R4WKOHQ.js +1 -0
- package/static/{chunk-7ITZXYYJ.js → chunk-3R74L4UU.js} +1 -1
- package/static/chunk-3XVM35O2.js +1 -0
- package/static/chunk-3YVRP3VM.js +2 -0
- package/static/chunk-5NMSIIQB.js +1 -0
- package/static/chunk-5UKZLU5H.js +1 -0
- package/static/chunk-AF24EYXU.js +1 -0
- package/static/chunk-AKQVEHO6.js +2 -0
- package/static/chunk-BCVX464U.js +2 -0
- package/static/chunk-BQV4FRM6.js +1 -0
- package/static/{chunk-EVIE5F2U.js → chunk-CETH7UYS.js} +1 -1
- package/static/chunk-CHJ64RJM.js +1 -0
- package/static/chunk-DIT6W7VM.js +562 -0
- package/static/chunk-DKSEQTMX.js +1 -0
- package/static/chunk-DM4NXKEP.js +1 -0
- package/static/chunk-DPUVSXRB.js +1 -0
- package/static/chunk-DSWEWLXJ.js +1 -0
- package/static/chunk-FJE6BOFL.js +1 -0
- package/static/chunk-FZ3JPGYZ.js +1 -0
- package/static/chunk-IQSKQXC3.js +1 -0
- package/static/chunk-ITUFI2BJ.js +1 -0
- package/static/chunk-JPT5WEAT.js +1 -0
- package/static/chunk-LCTZJ537.js +1 -0
- package/static/chunk-LK2UCQJ6.js +1 -0
- package/static/chunk-LNTUR3GU.js +1 -0
- package/static/chunk-LP5TBXEN.js +7 -0
- package/static/{chunk-IPAC4VAF.js → chunk-LVSNIS5P.js} +1 -1
- package/static/{chunk-SIPE37PA.js → chunk-MTVSJTIW.js} +1 -1
- package/static/chunk-N3U6637P.js +1 -0
- package/static/chunk-NNV4OXSB.js +1 -0
- package/static/chunk-O6FYXVHI.js +1 -0
- package/static/chunk-OOGP4WSH.js +2 -0
- package/static/chunk-PB4AIT7O.js +1 -0
- package/static/chunk-PCWDQPOM.js +2 -0
- package/static/chunk-PNR6M34W.js +1 -0
- package/static/chunk-PVDHBQRM.js +1 -0
- package/static/chunk-Q5KM7LTX.js +1 -0
- package/static/chunk-QHC6ZPQ4.js +1 -0
- package/static/chunk-QMRBZHE4.js +1 -0
- package/static/chunk-QO6BTONN.js +1 -0
- package/static/chunk-QSJRY3TF.js +1 -0
- package/static/chunk-QUUIRSYT.js +1 -0
- package/static/chunk-RFH46UW3.js +1 -0
- package/static/{chunk-PTGDOWV3.js → chunk-RSXHRKM5.js} +1 -1
- package/static/chunk-RV3VZJPZ.js +1 -0
- package/static/{chunk-QNJFQVYI.js → chunk-S7HNXVRB.js} +1 -1
- package/static/chunk-SBZ572Q4.js +2 -0
- package/static/chunk-SJR5R3Y4.js +1 -0
- package/static/chunk-SLHTEGRU.js +1 -0
- package/static/{chunk-SH5EVL4E.js → chunk-SSFF27P2.js} +1 -1
- package/static/chunk-UNCPXHHT.js +1 -0
- package/static/chunk-URHTCJ7G.js +1 -0
- package/static/chunk-V3LHHZYN.js +1 -0
- package/static/{chunk-DJYJ66UF.js → chunk-VJTXJ43D.js} +1 -1
- package/static/chunk-VQQKMY2C.js +1 -0
- package/static/{chunk-IQOALFYU.js → chunk-WSSU2HXE.js} +1 -1
- package/static/chunk-XDZGW64M.js +3 -0
- package/static/chunk-XTRDKGKG.js +1 -0
- package/static/chunk-YLWTEC3X.js +1 -0
- package/static/chunk-Z5J5F5SX.js +1 -0
- package/static/chunk-ZIJQRARU.js +1 -0
- package/static/index.html +2 -2
- package/static/main-4H5BJY3J.js +9 -0
- package/static/scripts-WRDOQIU5.js +24 -0
- package/static/{styles-A5VYX3CE.css → styles-2C2UNCNB.css} +1 -1
- package/server/applications/spaces/interfaces/space-quota.interface.js +0 -10
- package/server/applications/spaces/interfaces/space-quota.interface.js.map +0 -1
- package/static/chunk-22EANI6R.js +0 -1
- package/static/chunk-3GFGJYMK.js +0 -1
- package/static/chunk-4YGJGZZZ.js +0 -1
- package/static/chunk-5K7HEX3C.js +0 -27
- package/static/chunk-5KLMS6A4.js +0 -1
- package/static/chunk-ATP3BFHV.js +0 -562
- package/static/chunk-BB4G55KE.js +0 -1
- package/static/chunk-EWKSX76T.js +0 -1
- package/static/chunk-FHLACA7V.js +0 -1
- package/static/chunk-GCATNU55.js +0 -1
- package/static/chunk-GYODPCIE.js +0 -1
- package/static/chunk-HZTFYLM5.js +0 -1
- package/static/chunk-JSUKJT6Z.js +0 -1
- package/static/chunk-JXZCNFW7.js +0 -1
- package/static/chunk-LTGFCQR7.js +0 -1
- package/static/chunk-LV3PYKWO.js +0 -1
- package/static/chunk-N2WFNW6M.js +0 -7
- package/static/chunk-ORMRCEGT.js +0 -1
- package/static/chunk-OUTBJSMW.js +0 -1
- package/static/chunk-RS2PX32L.js +0 -1
- package/static/chunk-RSSWH3S2.js +0 -1
- package/static/chunk-RTRJ3KFH.js +0 -1
- package/static/chunk-TKTCBDOG.js +0 -1
- package/static/chunk-V6K2N46L.js +0 -1
- package/static/chunk-XLCCZSQL.js +0 -4
- package/static/chunk-YPEH66GG.js +0 -1
- package/static/chunk-YPOIUQ57.js +0 -1
- package/static/chunk-ZKCFO2OA.js +0 -4
- package/static/main-MZ7HWZXO.js +0 -9
- package/static/scripts-VZVAP2P4.js +0 -30
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-N3U6637P.js";var a="\u8A8D\u8A3C",t="\u30ED\u30B0\u30A4\u30F3",s="\u30D1\u30B9\u30EF\u30FC\u30C9",n="\u78BA\u8A8D",r="\u30AD\u30E3\u30F3\u30BB\u30EB",i="\u9589\u3058\u308B",l="\u30D5\u30A3\u30EB\u30BF\u30FC",d="\u30D5\u30A3\u30EB\u30BF\u30FC",c="\u691C\u7D22",h="\u691C\u7D22",u="\u8868\u793A",p="\u30BF\u30B9\u30AF\u306F\u3042\u308A\u307E\u305B\u3093",m="{{ nb }} \u4EF6\u306E\u30BF\u30B9\u30AF\u304C\u5B8C\u4E86",f="{{ nb }} \u4EF6\u306E\u30BF\u30B9\u30AF\u304C\u5B8C\u4E86",b="{{ nba }} \u4EF6\u306E\u30BF\u30B9\u30AF\u304C\u9032\u884C\u4E2D\uFF08\u5168 {{ nb }} \u4EF6\uFF09",y="{{ nba }} \u4EF6\u306E\u30BF\u30B9\u30AF\u304C\u9032\u884C\u4E2D\uFF08\u5168 {{ nb }} \u4EF6\uFF09",g="{{nb}} \u500B\u306E\u8981\u7D20",w="{{nb}} \u500B\u306E\u30A2\u30AF\u30B7\u30E7\u30F3",S="{{ nb }} \u4EF6\u306E\u65B0\u3057\u3044\u30E1\u30C3\u30BB\u30FC\u30B8",v="{{ nb }} \u4EF6\u306E\u65B0\u3057\u3044\u30E1\u30C3\u30BB\u30FC\u30B8",T="{{ nb }} \u4EF6\u306E\u672A\u8AAD\u901A\u77E5",A="{{ nb }} \u4EF6\u306E\u672A\u8AAD\u901A\u77E5",_="\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3",k="\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3",C="\u901A\u77E5",x="\u901A\u77E5",D="\u30A4\u30D9\u30F3\u30C8",P="\u30D5\u30A1\u30A4\u30EB",U="\u30D5\u30A1\u30A4\u30EB",N="\u500B\u4EBA",M="\u5916\u90E8",E="\u30B0\u30EB\u30FC\u30D7",L="\u30B0\u30EB\u30FC\u30D7",R="\u30B0\u30EB\u30FC\u30D7",F="\u30B0\u30EB\u30FC\u30D7",G="\u53EF\u8996",Y="\u30D7\u30E9\u30A4\u30D9\u30FC\u30C8",z="\u5206\u96E2",I="\u8FFD\u52A0",W="\u7BA1\u7406\u8005",O="\u7BA1\u7406",V="\u30E6\u30FC\u30B6\u30FC",q="\u30E6\u30FC\u30B6\u30FC",Q="\u30E6\u30FC\u30B6\u30FC",j="\u30E6\u30FC\u30B6\u30FC",B="\u30A2\u30AB\u30A6\u30F3\u30C8",H="\u30A2\u30AB\u30A6\u30F3\u30C8",K="\u30E1\u30FC\u30EB",J="\u30B9\u30C6\u30FC\u30BF\u30B9",X="\u5F79\u5272",Z="IP",$="\u8868\u793A",ee="\u63A5\u7D9A",oe="\u63A5\u7D9A",ae="\u7A7A\u304D\u5BB9\u91CF\u304C\u5C11\u306A\u3044\uFF08{{ nb }}%\uFF09",te="\u30AA\u30F3\u30E9\u30A4\u30F3",se="\u7121\u5236\u9650",ne="\u30E1\u30F3\u30D0\u30FC",re="\u30E1\u30F3\u30D0\u30FC",ie="\u30E1\u30F3\u30D0\u30FC",le="\u30E1\u30F3\u30D0\u30FC",de="\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC",ce="\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC",he="\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC",ue="\u751F\u6210",pe="\u30A4\u30F3\u30DD\u30FC\u30C8",me="\u8A2D\u5B9A",fe="\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3",be="\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3",ye="\u30A2\u30D0\u30BF\u30FC",ge="\u66F4\u65B0",we="\u8A00\u8A9E",Se="\u30DB\u30FC\u30E0",ve="\u6700\u8FD1",Te="\u6700\u8FD1",Ae="\u30B4\u30DF\u7BB1",_e="\u5171\u6709",ke="\u5171\u6709",Ce="\u5171\u6709",xe="\u5171\u6709\u6E08\u307F",De="\u500B\u4EBA\u30B9\u30DA\u30FC\u30B9\u3078\u306E\u30A2\u30AF\u30BB\u30B9",Pe="\u30B9\u30DA\u30FC\u30B9\u3078\u306E\u30A2\u30AF\u30BB\u30B9",Ue="\u30B9\u30DA\u30FC\u30B9\u306E\u7BA1\u7406",Ne="\u5171\u6709\u3078\u306E\u30A2\u30AF\u30BB\u30B9",Me="\u5171\u6709\u306E\u7BA1\u7406",Ee="\u30B2\u30B9\u30C8\u306E\u7BA1\u7406",Le="\u500B\u4EBA\u30B0\u30EB\u30FC\u30D7\u306E\u7BA1\u7406",Re="\u30C7\u30B9\u30AF\u30C8\u30C3\u30D7\u30A2\u30D7\u30EA\u304B\u3089\u306E\u30A2\u30AF\u30BB\u30B9",Fe="\u30C7\u30B9\u30AF\u30C8\u30C3\u30D7\u30A2\u30D7\u30EA\u3067\u306E\u540C\u671F",Ge="WebDAV \u30A2\u30AF\u30BB\u30B9",Ye="WebDAV",ze="\u30B9\u30DA\u30FC\u30B9",Ie="\u30B9\u30DA\u30FC\u30B9",We="\u30B9\u30DA\u30FC\u30B9",Oe="\u30A2\u30F3\u30AB\u30FC\u3057\u307E\u3057\u305F",Ve="\u30A2\u30F3\u30AB\u30FC\u3092\u89E3\u9664\u3057\u307E\u3057\u305F",qe="\u5834\u6240",Qe="\u30A2\u30F3\u30AB\u30FC\u6E08\u307F",je="\u8A2D\u5B9A",Be="\u30AA\u30D7\u30B7\u30E7\u30F3",He="\u540D\u524D",Ke="\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",Je="\u79FB\u52D5",Xe="\u30B3\u30D4\u30FC",Ze="\u540D\u524D\u3092\u5909\u66F4",$e="\u7DE8\u96C6",eo="\u524A\u9664",oo="\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9",ao="\u66F4\u65B0",to="\u7A7A\u306B\u3059\u308B",so="\u4E00\u89A7",no="\u8868\u793A",ro="<b>{{arg}}</b> \u3092\u30B4\u30DF\u7BB1\u306B\u79FB\u52D5\u3057\u307E\u3059\u304B\uFF1F",io="<b>{{arg}}</b> \u3092\u5B8C\u5168\u306B\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F",lo="\u3053\u308C\u3089<b>{{arg}} \u500B\u306E\u30D5\u30A1\u30A4\u30EB</b>\u3092\u30B4\u30DF\u7BB1\u306B\u79FB\u52D5\u3057\u307E\u3059\u304B\uFF1F",co="\u3053\u308C\u3089<b>{{arg}} \u500B\u306E\u30D5\u30A1\u30A4\u30EB</b>\u3092\u5B8C\u5168\u306B\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F",ho="\u540C\u671F",uo="\u540C\u671F",po="\u540C\u671F",mo="\u540C\u671F",fo="\u540C\u671F",bo="\u540C\u671F\u6E08\u307F",yo="\u5727\u7E2E",go="\u89E3\u51CD",wo="\u60C5\u5831",So="\u60C5\u5831",vo="\u60C5\u5831",To="\u30B5\u30A4\u30BA",Ao="\u5909\u66F4\u65E5\u6642",_o="\u5909\u66F4\u6E08\u307F",ko="\u30BF\u30B9\u30AF",Co="\u30C6\u30AD\u30B9\u30C8",xo="\u8981\u7D20",Do="\u65B0\u898F",Po="\u30D5\u30A9\u30EB\u30C0\u30FC",Uo="\u30D5\u30A9\u30EB\u30C0\u30FC",No="\u30D5\u30A1\u30A4\u30EB",Mo="\u30D5\u30A1\u30A4\u30EB",Eo="\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA",Lo="\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA",Ro="\u5408\u8A08",Fo="\u9078\u629E\u306A\u3057",Go="{{ nb }} \u500B\u9078\u629E",Yo="{{ nb }} \u500B\u9078\u629E",zo="\u9805\u76EE",Io="\u9805\u76EE",Wo="\u4F5C\u6210",Oo="\u66F8\u304D\u8FBC\u307F",Vo="\u79FB\u52D5",qo="\u524A\u9664",Qo="\u5909\u66F4",jo="\u5171\u6709",Bo="\u30EA\u30F3\u30AF",Ho="\u30EA\u30F3\u30AF",Ko="\u30EA\u30F3\u30AF",Jo="\u30EA\u30F3\u30AF",Xo="\u30B2\u30B9\u30C8",Zo="\u30B2\u30B9\u30C8",$o="\u30B2\u30B9\u30C8",ea="\u30B2\u30B9\u30C8",oa="\u671F\u9650\u5207\u308C",aa="\u671F\u9650\u5207\u308C",ta="\u306A\u3057",sa="\u6A29\u9650",na="\u6240\u6709\u8005",ra="\u81EA\u5206",ia="\u5171\u6709",la="\u4F5C\u6210\u65E5",da="\u65E5\u4ED8",ca="\u30D1\u30B9",ha="\u6709\u52B9",ua="\u6709\u52B9",pa="\u4E00\u6642\u505C\u6B62",ma="\u7A2E\u985E",fa="\u8AAC\u660E",ba="\u8868\u793A\u7BC4\u56F2",ya="\u4E0D\u660E",ga="\u6709\u52B9\u671F\u9650",wa="\u30A2\u30AF\u30BB\u30B9",Sa="\u30A2\u30AF\u30BB\u30B9\u6E08\u307F",va="\u30B3\u30E1\u30F3\u30C8",Ta="\u30B3\u30E1\u30F3\u30C8",Aa="\u30B3\u30E1\u30F3\u30C8",_a="\u30B3\u30E1\u30F3\u30C8\u3057\u307E\u3057\u305F",ka="\u306F\u3044",Ca="\u3044\u3044\u3048",xa="\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8",Da="\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8",Pa="\u5229\u7528\u53EF\u80FD",Ua="\u4F7F\u7528\u4E2D",Na="\u4E0D\u5728",Ma="\u30AA\u30D5\u30E9\u30A4\u30F3",Ea="\u8868\u793A",La="\u30ED\u30B0\u30A2\u30A6\u30C8",Ra="\u65E5",Fa="\u65E5",Ga="\u524A\u9664",Ya="\u30B9\u30B1\u30B8\u30E5\u30FC\u30E9",za="\u4E26\u5217",Ia="\u9010\u6B21",Wa="\u8EE2\u9001",Oa="\u30B7\u30DF\u30E5\u30EC\u30FC\u30C8",Va="\u30EA\u30BB\u30C3\u30C8",qa="\u53C2\u7167",Qa="\u30A2\u30AF\u30B7\u30E7\u30F3",ja="\u8FFD\u52A0",Ba="\u524A\u9664",Ha="\u30B3\u30D4\u30FC",Ka="\u79FB\u52D5",Ja="\u30D5\u30A3\u30EB\u30BF\u30FC\u6E08\u307F",Xa="\u30A8\u30E9\u30FC",Za="\u30B5\u30FC\u30D0\u30FC",$a="\u65B9\u5411",et="\u7AF6\u5408",ot="\u6700\u8FD1",at="\u30BD\u30FC\u30B9",tt="\u5B9B\u5148",st="\u30E2\u30FC\u30C9",nt="\u9010\u6B21\u7684\u306B",rt="\u4E26\u5217\u3067",it="\u9AD8\u901F",lt="\u5B89\u5168",dt="\u6709\u52B9",ct="\u6709\u52B9\u5316",ht="\u7121\u52B9",ut="\u7121\u52B9\u5316",pt="\u6642\u9593",mt="\u5206",ft="\u65E5",bt="\u53CC\u65B9\u5411",yt="\u3057\u306A\u3044",gt="\u30A6\u30A3\u30B6\u30FC\u30C9",wt="\u6B21\u3078",St="\u524D\u3078",vt="\u5B8C\u4E86",Tt="\u3078",At="\u30EA\u30DD\u30B8\u30C8\u30EA",_t="\u516C\u958B",kt="\u30ED\u30FC\u30AB\u30EB",Ct="\u30EA\u30E2\u30FC\u30C8",xt="\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8",Dt="\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8",Pt="\u30D0\u30FC\u30B8\u30E7\u30F3",Ut="\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3",Nt="\u7BA1\u7406",Mt={"Sign-in to your account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3","Wrong login or password":"\u30ED\u30B0\u30A4\u30F3\u540D\u307E\u305F\u306F\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093","Authentication service error":"\u8A8D\u8A3C\u30B5\u30FC\u30D3\u30B9\u30A8\u30E9\u30FC","Account locked":"\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u30ED\u30C3\u30AF\u3055\u308C\u3066\u3044\u307E\u3059","Account is not allowed":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306F\u8A31\u53EF\u3055\u308C\u3066\u3044\u307E\u305B\u3093","Account matching error":"\u30A2\u30AB\u30A6\u30F3\u30C8\u7167\u5408\u30A8\u30E9\u30FC",Authentication:a,"Sign in":"\u30B5\u30A4\u30F3\u30A4\u30F3",Login:t,Password:s,"Login or Email":"\u30ED\u30B0\u30A4\u30F3\u540D\u307E\u305F\u306F\u30E1\u30FC\u30EB","Login already used":"\u305D\u306E\u30ED\u30B0\u30A4\u30F3\u540D\u306F\u65E2\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059","You are already logged in":"\u65E2\u306B\u30ED\u30B0\u30A4\u30F3\u3057\u3066\u3044\u307E\u3059","Name already used":"\u305D\u306E\u540D\u524D\u306F\u65E2\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059","Token has expired":"\u30C8\u30FC\u30AF\u30F3\u306E\u6709\u52B9\u671F\u9650\u304C\u5207\u308C\u3066\u3044\u307E\u3059",Confirm:n,Cancel:r,Close:i,"Server connection error":"\u30B5\u30FC\u30D0\u30FC\u63A5\u7D9A\u30A8\u30E9\u30FC",Filter:l,Filters:d,search:c,Search:h,"Search for content":"\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u691C\u7D22","Search for files":"\u30D5\u30A1\u30A4\u30EB\u3092\u691C\u7D22","Full-text search":"\u30D5\u30EB\u30C6\u30AD\u30B9\u30C8\u691C\u7D22","Full-text search is disabled":"\u30D5\u30EB\u30C6\u30AD\u30B9\u30C8\u691C\u7D22\u306F\u7121\u52B9\u3067\u3059","Type to search for users or groups to add":"\u8FFD\u52A0\u3059\u308B\u30E6\u30FC\u30B6\u30FC\u307E\u305F\u306F\u30B0\u30EB\u30FC\u30D7\u3092\u691C\u7D22","Type to search for groups to add":"\u8FFD\u52A0\u3059\u308B\u30B0\u30EB\u30FC\u30D7\u3092\u691C\u7D22","Type to search for users to add":"\u8FFD\u52A0\u3059\u308B\u30E6\u30FC\u30B6\u30FC\u3092\u691C\u7D22","Type to search for managers to add":"\u8FFD\u52A0\u3059\u308B\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC\u3092\u691C\u7D22","Member since":"\u30E1\u30F3\u30D0\u30FC\u767B\u9332\u65E5","Windows Manager":"\u30A6\u30A3\u30F3\u30C9\u30A6\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC","Mark as read":"\u65E2\u8AAD\u306B\u3059\u308B",See:u,no_task:p,one_task:m,nb_tasks:f,one_active_task:b,nb_active_tasks:y,nb_elements:g,nb_actions:w,one_message:S,nb_messages:v,one_notification:T,nb_notifications:A,Application:_,application:k,"application and email":"\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u3068\u30E1\u30FC\u30EB",Notification:C,Notifications:x,Event:D,File:P,Files:U,"Personal files":"\u500B\u4EBA\u30D5\u30A1\u30A4\u30EB","for personal files":"\u500B\u4EBA\u30D5\u30A1\u30A4\u30EB\u7528",Personal:N,External:M,"Share status":"\u5171\u6709\u72B6\u6CC1","Share description":"\u5171\u6709\u306E\u8AAC\u660E","No recent files":"\u6700\u8FD1\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u3042\u308A\u307E\u305B\u3093",Groups:E,Group:L,group:R,"New personal group":"\u65B0\u3057\u3044\u500B\u4EBA\u30B0\u30EB\u30FC\u30D7","Edit personal group":"\u500B\u4EBA\u30B0\u30EB\u30FC\u30D7\u3092\u7DE8\u96C6","personal group":"\u500B\u4EBA\u30B0\u30EB\u30FC\u30D7","Personal group":"\u500B\u4EBA\u30B0\u30EB\u30FC\u30D7","Personal groups":"\u500B\u4EBA\u30B0\u30EB\u30FC\u30D7",groups:F,"Parent group":"\u89AA\u30B0\u30EB\u30FC\u30D7","Group updated":"\u30B0\u30EB\u30FC\u30D7\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F","Group created":"\u30B0\u30EB\u30FC\u30D7\u3092\u4F5C\u6210\u3057\u307E\u3057\u305F","Group not found":"\u30B0\u30EB\u30FC\u30D7\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","Group error":"\u30B0\u30EB\u30FC\u30D7\u30A8\u30E9\u30FC","Set as group manager":"\u30B0\u30EB\u30FC\u30D7\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC\u306B\u8A2D\u5B9A","As a manager, the user will be able to manage the group and its members.":"\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC\u306F\u30B0\u30EB\u30FC\u30D7\u3068\u305D\u306E\u30E1\u30F3\u30D0\u30FC\u3092\u7BA1\u7406\u3067\u304D\u307E\u3059\u3002","As a manager, the user will be able to manage group members but not group properties.":"\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC\u306F\u30B0\u30EB\u30FC\u30D7\u306E\u30E1\u30F3\u30D0\u30FC\u3092\u7BA1\u7406\u3067\u304D\u307E\u3059\u304C\u3001\u30B0\u30EB\u30FC\u30D7\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u306F\u7BA1\u7406\u3067\u304D\u307E\u305B\u3093\u3002",Visible:G,Private:Y,Isolated:z,"Select the parent group":"\u89AA\u30B0\u30EB\u30FC\u30D7\u3092\u9078\u629E","from the group":"\u30B0\u30EB\u30FC\u30D7\u304B\u3089","New group":"\u65B0\u3057\u3044\u30B0\u30EB\u30FC\u30D7","Edit group":"\u30B0\u30EB\u30FC\u30D7\u3092\u7DE8\u96C6","Leave group":"\u30B0\u30EB\u30FC\u30D7\u3092\u9000\u51FA","Delete group":"\u30B0\u30EB\u30FC\u30D7\u3092\u524A\u9664","Remove from group":"\u30B0\u30EB\u30FC\u30D7\u304B\u3089\u524A\u9664","Group must have at least one manager":"\u30B0\u30EB\u30FC\u30D7\u306B\u306F\u5C11\u306A\u304F\u3068\u30821\u4EBA\u306E\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC\u304C\u5FC5\u8981\u3067\u3059","The group was left":"\u30B0\u30EB\u30FC\u30D7\u3092\u9000\u51FA\u3057\u307E\u3057\u305F","The group was not left":"\u30B0\u30EB\u30FC\u30D7\u3092\u9000\u51FA\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F","will be left, you will no longer be a member of this group":"\u304B\u3089\u9000\u51FA\u3057\u307E\u3059\u3002\u3053\u306E\u30B0\u30EB\u30FC\u30D7\u306E\u30E1\u30F3\u30D0\u30FC\u3067\u306F\u306A\u304F\u306A\u308A\u307E\u3059","All users can see this group.":"\u3059\u3079\u3066\u306E\u30E6\u30FC\u30B6\u30FC\u304C\u3053\u306E\u30B0\u30EB\u30FC\u30D7\u3092\u8868\u793A\u3067\u304D\u307E\u3059\u3002","Users who are not members of this group cannot see it.":"\u3053\u306E\u30B0\u30EB\u30FC\u30D7\u306E\u30E1\u30F3\u30D0\u30FC\u3067\u306A\u3044\u30E6\u30FC\u30B6\u30FC\u306B\u306F\u8868\u793A\u3055\u308C\u307E\u305B\u3093\u3002","The group is not visible, its members cannot see it and cannot see each other.":"\u30B0\u30EB\u30FC\u30D7\u306F\u4E0D\u53EF\u8996\u3067\u3001\u30E1\u30F3\u30D0\u30FC\u306F\u30B0\u30EB\u30FC\u30D7\u3082\u4E92\u3044\u306E\u5B58\u5728\u3082\u898B\u3048\u307E\u305B\u3093\u3002",Add:I,"Add members":"\u30E1\u30F3\u30D0\u30FC\u3092\u8FFD\u52A0","See members":"\u30E1\u30F3\u30D0\u30FC\u3092\u8868\u793A",Administrator:W,Administration:O,User:V,user:q,Users:Q,users:j,"New user":"\u65B0\u3057\u3044\u30E6\u30FC\u30B6\u30FC",account:B,Account:H,"Account status":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u72B6\u614B",Email:K,"Email already used":"\u305D\u306E\u30E1\u30FC\u30EB\u306F\u65E2\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059","First name":"\u540D","Last name":"\u59D3","Full name":"\u6C0F\u540D",Status:J,Role:X,IP:Z,"IP Addresses":"IP\u30A2\u30C9\u30EC\u30B9",Seen:$,Connection:ee,Connections:oe,"Confirm deletion":"\u524A\u9664\u306E\u78BA\u8A8D","Confirm permanent deletion of data":"\u30C7\u30FC\u30BF\u306E\u5B8C\u5168\u524A\u9664\u3092\u78BA\u8A8D","Space and data will be deleted in":"\u30B9\u30DA\u30FC\u30B9\u3068\u30C7\u30FC\u30BF\u306F\u524A\u9664\u3055\u308C\u307E\u3059","Space is disabled":"\u30B9\u30DA\u30FC\u30B9\u306F\u7121\u52B9\u3067\u3059","Storage Space":"\u30B9\u30C8\u30EC\u30FC\u30B8\u9818\u57DF","Storage Quota":"\u30B9\u30C8\u30EC\u30FC\u30B8\u5BB9\u91CF","Storage Usage":"\u30B9\u30C8\u30EC\u30FC\u30B8\u4F7F\u7528\u91CF","Space status":"\u30B9\u30DA\u30FC\u30B9\u306E\u72B6\u614B","Storage quota exceeded":"\u30B9\u30C8\u30EC\u30FC\u30B8\u306E\u5272\u308A\u5F53\u3066\u3092\u8D85\u3048\u3066\u3044\u307E\u3059","Storage quota will be exceeded":"\u30B9\u30C8\u30EC\u30FC\u30B8\u306E\u5272\u308A\u5F53\u3066\u3092\u8D85\u904E\u3059\u308B\u898B\u8FBC\u307F\u3067\u3059","No more space available":"\u7A7A\u304D\u5BB9\u91CF\u304C\u3042\u308A\u307E\u305B\u3093",available_space_is_low:ae,online:te,"Online users":"\u30AA\u30F3\u30E9\u30A4\u30F3\u30E6\u30FC\u30B6\u30FC",Unlimited:se,member:ne,members:re,Member:ie,Members:le,Manager:de,manager:ce,Managers:he,"At least one manager is required":"\u5C11\u306A\u304F\u3068\u30821\u4EBA\u306E\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC\u304C\u5FC5\u8981\u3067\u3059",Generate:ue,Import:pe,Configuration:me,Applications:fe,applications:be,"Permissions inherited from groups":"\u30B0\u30EB\u30FC\u30D7\u304B\u3089\u7D99\u627F\u3055\u308C\u305F\u6A29\u9650","Only the group will be deleted, the members will no longer be part of it.":"\u30B0\u30EB\u30FC\u30D7\u306E\u307F\u304C\u524A\u9664\u3055\u308C\u3001\u30E1\u30F3\u30D0\u30FC\u306F\u305D\u306E\u4E00\u54E1\u3067\u306F\u306A\u304F\u306A\u308A\u307E\u3059\u3002",Avatar:ye,Update:ge,"current password":"\u73FE\u5728\u306E\u30D1\u30B9\u30EF\u30FC\u30C9","new password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9","Change me !":"\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\uFF01","Current password missing !":"\u73FE\u5728\u306E\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u672A\u5165\u529B\u3067\u3059\uFF01","New password missing !":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u672A\u5165\u529B\u3067\u3059\uFF01","New password must have 8 characters minimum":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9\u306F8\u6587\u5B57\u4EE5\u4E0A\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059","Current password does not match":"\u73FE\u5728\u306E\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u4E00\u81F4\u3057\u307E\u305B\u3093","Password has been updated":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F","Unable to update password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u66F4\u65B0\u3067\u304D\u307E\u305B\u3093","Bad password":"\u4E0D\u6B63\u306A\u30D1\u30B9\u30EF\u30FC\u30C9","too many login attempts":"\u30ED\u30B0\u30A4\u30F3\u8A66\u884C\u304C\u591A\u3059\u304E\u307E\u3059",Language:we,"Language updated":"\u8A00\u8A9E\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F","Unable to update language":"\u8A00\u8A9E\u3092\u66F4\u65B0\u3067\u304D\u307E\u305B\u3093","Notification preference updated":"\u901A\u77E5\u8A2D\u5B9A\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F","Full-text search preference updated":"\u30D5\u30EB\u30C6\u30AD\u30B9\u30C8\u691C\u7D22\u8A2D\u5B9A\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F","Unable to update notification preference":"\u901A\u77E5\u8A2D\u5B9A\u3092\u66F4\u65B0\u3067\u304D\u307E\u305B\u3093","Unable to update full-text search preference":"\u30D5\u30EB\u30C6\u30AD\u30B9\u30C8\u691C\u7D22\u8A2D\u5B9A\u3092\u66F4\u65B0\u3067\u304D\u307E\u305B\u3093","Unable to open document":"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u958B\u3051\u307E\u305B\u3093",Home:Se,Recents:ve,recents:Te,Trash:Ae,"trash bins":"\u30B4\u30DF\u7BB1",Shares:_e,Share:ke,shares:Ce,shared:xe,personal_space:De,spaces_access:Pe,spaces_admin:Ue,shares_access:Ne,shares_admin:Me,guests_admin:Ee,personal_groups_admin:Le,desktop_app_access:Re,desktop_app_sync:Fe,webdav_access:Ge,"Create share":"\u5171\u6709\u3092\u4F5C\u6210","Edit share":"\u5171\u6709\u3092\u7DE8\u96C6","Delete share":"\u5171\u6709\u3092\u524A\u9664","Child shares":"\u5B50\u5171\u6709",webdav:Ye,"Share is disabled":"\u5171\u6709\u306F\u7121\u52B9\u3067\u3059",Space:ze,Spaces:Ie,spaces:We,"Space name":"\u30B9\u30DA\u30FC\u30B9\u540D","New space":"\u65B0\u3057\u3044\u30B9\u30DA\u30FC\u30B9","Create a new space":"\u65B0\u3057\u3044\u30B9\u30DA\u30FC\u30B9\u3092\u4F5C\u6210","Create space":"\u30B9\u30DA\u30FC\u30B9\u3092\u4F5C\u6210","Edit space":"\u30B9\u30DA\u30FC\u30B9\u3092\u7DE8\u96C6","Delete space":"\u30B9\u30DA\u30FC\u30B9\u3092\u524A\u9664","Create a new share":"\u65B0\u3057\u3044\u5171\u6709\u3092\u4F5C\u6210","Type to search for space to select":"\u9078\u629E\u3059\u308B\u30B9\u30DA\u30FC\u30B9\u3092\u691C\u7D22","Anchor to a space":"\u30B9\u30DA\u30FC\u30B9\u306B\u30A2\u30F3\u30AB\u30FC","Anchor files to a space":"\u30D5\u30A1\u30A4\u30EB\u3092\u30B9\u30DA\u30FC\u30B9\u306B\u30A2\u30F3\u30AB\u30FC\u3059\u308B","You have been invited to join this space":"\u3053\u306E\u30B9\u30DA\u30FC\u30B9\u3078\u306E\u62DB\u5F85\u3092\u53D7\u3051\u307E\u3057\u305F","You have been invited to join this share":"\u3053\u306E\u5171\u6709\u3078\u306E\u62DB\u5F85\u3092\u53D7\u3051\u307E\u3057\u305F","Shared with others":"\u4ED6\u306E\u30E6\u30FC\u30B6\u30FC\u3068\u5171\u6709","With others":"\u4ED6\u306E\u30E6\u30FC\u30B6\u30FC\u3068","Shared with me":"\u81EA\u5206\u3068\u5171\u6709","With me":"\u81EA\u5206\u3068","Shared via links":"\u30EA\u30F3\u30AF\u7D4C\u7531\u3067\u5171\u6709","Via links":"\u30EA\u30F3\u30AF\u7D4C\u7531","Shared from":"\u5171\u6709\u5143","share with you this":"\u6B21\u3092\u3042\u306A\u305F\u3068\u5171\u6709\u3057\u307E\u3057\u305F","shared with you":"\u3042\u306A\u305F\u3068\u5171\u6709\u3057\u307E\u3057\u305F","no longer share with you":"\u3042\u306A\u305F\u3068\u306E\u5171\u6709\u3092\u505C\u6B62\u3057\u307E\u3057\u305F","You now have access to the space":"\u30B9\u30DA\u30FC\u30B9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u6A29\u304C\u4ED8\u4E0E\u3055\u308C\u307E\u3057\u305F","You no longer have access to the space":"\u30B9\u30DA\u30FC\u30B9\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u6A29\u304C\u306A\u304F\u306A\u308A\u307E\u3057\u305F","This space has been permanently deleted":"\u3053\u306E\u30B9\u30DA\u30FC\u30B9\u306F\u5B8C\u5168\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F","You now have access to the share":"\u5171\u6709\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u6A29\u304C\u4ED8\u4E0E\u3055\u308C\u307E\u3057\u305F","You no longer have access to the share":"\u5171\u6709\u3078\u306E\u30A2\u30AF\u30BB\u30B9\u6A29\u304C\u306A\u304F\u306A\u308A\u307E\u3057\u305F","You are no longer a member of the parent share, your child share has been deleted":"\u89AA\u5171\u6709\u306E\u30E1\u30F3\u30D0\u30FC\u3067\u306F\u306A\u304F\u306A\u3063\u305F\u305F\u3081\u3001\u3042\u306A\u305F\u306E\u5B50\u5171\u6709\u306F\u524A\u9664\u3055\u308C\u307E\u3057\u305F",anchored:Oe,unanchored:Ve,"Share not found":"\u5171\u6709\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","Go to":"\u79FB\u52D5",Location:qe,"Name and location are required":"\u540D\u524D\u3068\u5834\u6240\u306F\u5FC5\u9808\u3067\u3059","Parent location already exists in files":"\u89AA\u306E\u5834\u6240\u306F\u30D5\u30A1\u30A4\u30EB\u306B\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","Check the location":"\u5834\u6240\u3092\u78BA\u8A8D","Location not found":"\u5834\u6240\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","Forbidden resource":"\u8A31\u53EF\u3055\u308C\u3066\u3044\u306A\u3044\u5834\u6240","Resource already exists":"\u9805\u76EE\u306F\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","The location does not exist":"\u305D\u306E\u5834\u6240\u306F\u5B58\u5728\u3057\u307E\u305B\u3093","The location is not readable":"\u305D\u306E\u5834\u6240\u306F\u8AAD\u307F\u53D6\u308A\u4E0D\u53EF\u3067\u3059","The location is not writeable":"\u305D\u306E\u5834\u6240\u306F\u66F8\u304D\u8FBC\u307F\u4E0D\u53EF\u3067\u3059","The location is a directory":"\u305D\u306E\u5834\u6240\u306F\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3067\u3059","The file is locked":"\u30D5\u30A1\u30A4\u30EB\u306F\u30ED\u30C3\u30AF\u3055\u308C\u3066\u3044\u307E\u3059","This share is protected by a password":"\u3053\u306E\u5171\u6709\u306F\u30D1\u30B9\u30EF\u30FC\u30C9\u3067\u4FDD\u8B77\u3055\u308C\u3066\u3044\u307E\u3059","You do not have share permission":"\u5171\u6709\u3059\u308B\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093","You can not share a space":"\u30B9\u30DA\u30FC\u30B9\u306F\u5171\u6709\u3067\u304D\u307E\u305B\u3093","You can not remove an anchored file":"\u30A2\u30F3\u30AB\u30FC\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u306F\u524A\u9664\u3067\u304D\u307E\u305B\u3093","You are not allowed to write here":"\u3053\u3053\u306B\u66F8\u304D\u8FBC\u3080\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093","You are not allowed to do this action":"\u3053\u306E\u64CD\u4F5C\u3092\u884C\u3046\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093","You can not move an anchored file":"\u30A2\u30F3\u30AB\u30FC\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u306F\u79FB\u52D5\u3067\u304D\u307E\u305B\u3093","You can not move a locked file":"\u30ED\u30C3\u30AF\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u306F\u79FB\u52D5\u3067\u304D\u307E\u305B\u3093",Anchored:Qe,"Anchored by":"\u30A2\u30F3\u30AB\u30FC\u3057\u305F\u30E6\u30FC\u30B6\u30FC","Manage my anchored files":"\u81EA\u5206\u306E\u30A2\u30F3\u30AB\u30FC\u30D5\u30A1\u30A4\u30EB\u3092\u7BA1\u7406","You have no files anchored on this space":"\u3053\u306E\u30B9\u30DA\u30FC\u30B9\u306B\u30A2\u30F3\u30AB\u30FC\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u306F\u3042\u308A\u307E\u305B\u3093","An anchored file already has this name":"\u540C\u540D\u306E\u30A2\u30F3\u30AB\u30FC\u30D5\u30A1\u30A4\u30EB\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059",Settings:je,Options:Be,Name:He,Download:Ke,"Download done":"\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u5B8C\u4E86","Download failed":"\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u5931\u6557","Upload done":"\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u5B8C\u4E86","Upload failed":"\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u5931\u6557","Copy/Move":"\u30B3\u30D4\u30FC/\u79FB\u52D5",Move:Je,"Move done":"\u79FB\u52D5\u5B8C\u4E86","Move failed":"\u79FB\u52D5\u5931\u6557","Deletion done":"\u524A\u9664\u5B8C\u4E86","Deletion failed":"\u524A\u9664\u5931\u6557","Creation failed":"\u4F5C\u6210\u5931\u6557",Copy:Xe,"Copy done":"\u30B3\u30D4\u30FC\u5B8C\u4E86","Copy failed":"\u30B3\u30D4\u30FC\u5931\u6557","Copy-Paste":"\u30B3\u30D4\u30FC\uFF06\u30DA\u30FC\u30B9\u30C8","Cut-Paste":"\u30AB\u30C3\u30C8\uFF06\u30DA\u30FC\u30B9\u30C8",Rename:Ze,Edit:$e,"Share inside":"\u5185\u90E8\u3067\u5171\u6709","Share outside":"\u5916\u90E8\u3067\u5171\u6709",Remove:eo,Clipboard:oo,"Send to Clipboard":"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u9001\u308B","will be removed":"\u524A\u9664\u3055\u308C\u307E\u3059",Refresh:ao,Empty:to,List:so,Display:no,"Sort by":"\u4E26\u3073\u66FF\u3048",trash_one_file:ro,delete_one_file:io,trash_multiple_files:lo,delete_multiple_files:co,"Moving to trash":"\u30B4\u30DF\u7BB1\u306B\u79FB\u52D5\u4E2D","Permanent deletion":"\u5B8C\u5168\u524A\u9664","Would you like to empty the trash ?":"\u30B4\u30DF\u7BB1\u3092\u7A7A\u306B\u3057\u307E\u3059\u304B\uFF1F","All items will be permanently deleted":"\u3059\u3079\u3066\u306E\u9805\u76EE\u304C\u5B8C\u5168\u306B\u524A\u9664\u3055\u308C\u307E\u3059","Actions will be performed in the current folder":"\u64CD\u4F5C\u306F\u73FE\u5728\u306E\u30D5\u30A9\u30EB\u30C0\u30FC\u3067\u5B9F\u884C\u3055\u308C\u307E\u3059","The client will no longer have permission to access your account and will no longer be able to synchronize.":"\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306F\u3042\u306A\u305F\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30A2\u30AF\u30BB\u30B9\u3059\u308B\u6A29\u9650\u3092\u5931\u3044\u3001\u540C\u671F\u3067\u304D\u306A\u304F\u306A\u308A\u307E\u3059\u3002","The access expires":"\u30A2\u30AF\u30BB\u30B9\u306E\u6709\u52B9\u671F\u9650","The access has expired":"\u30A2\u30AF\u30BB\u30B9\u306E\u6709\u52B9\u671F\u9650\u304C\u5207\u308C\u3066\u3044\u307E\u3059","Never expires":"\u6709\u52B9\u671F\u9650\u306A\u3057",synchronization:ho,Synchronization:uo,Synchronizations:po,Synchronize:mo,Sync:fo,"Stop synchronization":"\u540C\u671F\u3092\u505C\u6B62","Synchronize all":"\u3059\u3079\u3066\u540C\u671F","Stop synchronizations":"\u540C\u671F\u3092\u505C\u6B62",Synced:bo,"Sync already exists":"\u540C\u671F\u306F\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","Sync was reset":"\u540C\u671F\u3092\u30EA\u30BB\u30C3\u30C8\u3057\u307E\u3057\u305F","Sync deleted":"\u540C\u671F\u3092\u524A\u9664\u3057\u307E\u3057\u305F","This client":"\u3053\u306E\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8","You are no longer synchronizing":"\u540C\u671F\u3057\u3066\u3044\u307E\u305B\u3093",Compress:yo,Decompress:go,"Compress and Download":"\u5727\u7E2E\u3057\u3066\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9","Compress and Save":"\u5727\u7E2E\u3057\u3066\u4FDD\u5B58","Enable compression":"\u5727\u7E2E\u3092\u6709\u52B9\u5316","Compression done":"\u5727\u7E2E\u5B8C\u4E86","Compression failed":"\u5727\u7E2E\u5931\u6557","Decompression done":"\u89E3\u51CD\u5B8C\u4E86","Decompression failed":"\u89E3\u51CD\u5931\u6557","(this may take longer)":"\uFF08\u6642\u9593\u304C\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\uFF09","Save in the current directory":"\u73FE\u5728\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B\u4FDD\u5B58","This name is already used":"\u3053\u306E\u540D\u524D\u306F\u65E2\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",Information:wo,Informations:So,Infos:vo,Size:To,Modified:Ao,modified:_o,Tasks:ko,"Download from URL":"URL \u304B\u3089\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9","Upload files":"\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9","Upload folders":"\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9","Folder name":"\u30D5\u30A9\u30EB\u30C0\u30FC\u540D","New folder":"\u65B0\u3057\u3044\u30D5\u30A9\u30EB\u30C0\u30FC","Document name":"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u540D","New document":"\u65B0\u3057\u3044\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8","File name":"\u30D5\u30A1\u30A4\u30EB\u540D","File permissions":"\u30D5\u30A1\u30A4\u30EB\u306E\u6A29\u9650",Text:Co,"Rich Text Format":"\u30EA\u30C3\u30C1\u30C6\u30AD\u30B9\u30C8\u5F62\u5F0F","Forbidden characters":"\u4F7F\u7528\u3067\u304D\u306A\u3044\u6587\u5B57",Elements:xo,"Malformed URL":"\u4E0D\u6B63\u306AURL",New:Do,Folder:Po,folder:Uo,file:No,files:Mo,directory:Eo,directories:Lo,Total:Ro,no_selection:Fo,one_selection:Go,nb_selections:Yo,"Archive name":"\u30A2\u30FC\u30AB\u30A4\u30D6\u540D","Drag and drop your files here":"\u3053\u3053\u306B\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30E9\u30C3\u30B0\uFF06\u30C9\u30ED\u30C3\u30D7","The destination already exists":"\u5B9B\u5148\u306F\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","This item is already selected":"\u3053\u306E\u9805\u76EE\u306F\u65E2\u306B\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u3059","Parent item is already selected":"\u89AA\u9805\u76EE\u306F\u65E2\u306B\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u3059","This file contains binary data that can not be read":"\u3053\u306E\u30D5\u30A1\u30A4\u30EB\u306B\u306F\u8AAD\u307F\u53D6\u308C\u306A\u3044\u30D0\u30A4\u30CA\u30EA\u30C7\u30FC\u30BF\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059","Navigation Tree":"\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u30C4\u30EA\u30FC",item:zo,items:Io,create:Wo,write:Oo,move:Vo,delete:qo,modify:Qo,"Delete user":"\u30E6\u30FC\u30B6\u30FC\u3092\u524A\u9664","Delete all user files":"\u30E6\u30FC\u30B6\u30FC\u306E\u5168\u30D5\u30A1\u30A4\u30EB\u3092\u524A\u9664",share:jo,"Share name":"\u5171\u6709\u540D","New share":"\u65B0\u3057\u3044\u5171\u6709","New share link":"\u65B0\u3057\u3044\u5171\u6709\u30EA\u30F3\u30AF","New link":"\u65B0\u3057\u3044\u30EA\u30F3\u30AF","Edit children shares":"\u5B50\u5171\u6709\u3092\u7DE8\u96C6",Link:Bo,link:Ho,Links:Ko,links:Jo,"Link copied":"\u30EA\u30F3\u30AF\u3092\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F","Link created":"\u30EA\u30F3\u30AF\u3092\u4F5C\u6210\u3057\u307E\u3057\u305F","Link deleted":"\u30EA\u30F3\u30AF\u3092\u524A\u9664\u3057\u307E\u3057\u305F","Link error":"\u30EA\u30F3\u30AF\u30A8\u30E9\u30FC","Copy link":"\u30EA\u30F3\u30AF\u3092\u30B3\u30D4\u30FC","Edit link":"\u30EA\u30F3\u30AF\u3092\u7DE8\u96C6","Guest Link":"\u30B2\u30B9\u30C8\u30EA\u30F3\u30AF","Guest name":"\u30B2\u30B9\u30C8\u540D","Guest email":"\u30B2\u30B9\u30C8\u306E\u30E1\u30FC\u30EB","Guest language":"\u30B2\u30B9\u30C8\u306E\u8A00\u8A9E",Guest:Xo,Guests:Zo,guest:$o,guests:ea,"New guest":"\u65B0\u3057\u3044\u30B2\u30B9\u30C8","Edit guest":"\u30B2\u30B9\u30C8\u3092\u7DE8\u96C6","Guest created":"\u30B2\u30B9\u30C8\u3092\u4F5C\u6210\u3057\u307E\u3057\u305F","Guest deleted":"\u30B2\u30B9\u30C8\u3092\u524A\u9664\u3057\u307E\u3057\u305F","Guest updated":"\u30B2\u30B9\u30C8\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F","Guest error":"\u30B2\u30B9\u30C8\u30A8\u30E9\u30FC","Add an external location":"\u5916\u90E8\u306E\u5834\u6240\u3092\u8FFD\u52A0","External location":"\u5916\u90E8\u306E\u5834\u6240","Select a file":"\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E","The link is expired":"\u30EA\u30F3\u30AF\u306E\u6709\u52B9\u671F\u9650\u304C\u5207\u308C\u3066\u3044\u307E\u3059","The link is disabled":"\u30EA\u30F3\u30AF\u306F\u7121\u52B9\u3067\u3059","The link was not found":"\u30EA\u30F3\u30AF\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",Expired:oa,expired:aa,none:ta,"The maximum number of access allowed to the link is exceeded":"\u30EA\u30F3\u30AF\u3067\u8A31\u53EF\u3055\u308C\u305F\u6700\u5927\u30A2\u30AF\u30BB\u30B9\u6570\u3092\u8D85\u3048\u3066\u3044\u307E\u3059","Set a password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8A2D\u5B9A","Enter your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B",Permissions:sa,"No permissions":"\u6A29\u9650\u306A\u3057",Owner:na,Me:ra,Shared:ia,Created:la,"Created & Modified":"\u4F5C\u6210\u65E5\u3068\u66F4\u65B0\u65E5","Creation date":"\u4F5C\u6210\u65E5","Modification date":"\u66F4\u65B0\u65E5","Deactivation date":"\u7121\u52B9\u5316\u65E5",Date:da,Path:ca,active:ha,Active:ua,suspended:pa,"Unable to rename user space":"\u30E6\u30FC\u30B6\u30FC\u30B9\u30DA\u30FC\u30B9\u306E\u540D\u524D\u3092\u5909\u66F4\u3067\u304D\u307E\u305B\u3093","Unable to delete user space":"\u30E6\u30FC\u30B6\u30FC\u30B9\u30DA\u30FC\u30B9\u3092\u524A\u9664\u3067\u304D\u307E\u305B\u3093","Unable to update user":"\u30E6\u30FC\u30B6\u30FC\u3092\u66F4\u65B0\u3067\u304D\u307E\u305B\u3093","Unable to update user groups":"\u30E6\u30FC\u30B6\u30FC\u306E\u30B0\u30EB\u30FC\u30D7\u3092\u66F4\u65B0\u3067\u304D\u307E\u305B\u3093","User created":"\u30E6\u30FC\u30B6\u30FC\u3092\u4F5C\u6210\u3057\u307E\u3057\u305F","User updated":"\u30E6\u30FC\u30B6\u30FC\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F","User not found":"\u30E6\u30FC\u30B6\u30FC\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093","Edit user":"\u30E6\u30FC\u30B6\u30FC\u3092\u7DE8\u96C6","Impersonate identity":"\u30E6\u30FC\u30B6\u30FC\u3068\u3057\u3066\u30ED\u30B0\u30A4\u30F3",Type:ma,Description:fa,Visibility:ba,"Unknown error !":"\u4E0D\u660E\u306A\u30A8\u30E9\u30FC\uFF01",Unknown:ya,Expiration:ga,"Limit access":"\u30A2\u30AF\u30BB\u30B9\u3092\u5236\u9650","Current access count":"\u73FE\u5728\u306E\u30A2\u30AF\u30BB\u30B9\u6570",Access:wa,Accessed:Sa,"Last access":"\u6700\u7D42\u30A2\u30AF\u30BB\u30B9","Last accesses":"\u76F4\u8FD1\u306E\u30A2\u30AF\u30BB\u30B9",Comment:va,Comments:Ta,comments:Aa,commented:_a,"No recent comments":"\u6700\u8FD1\u306E\u30B3\u30E1\u30F3\u30C8\u306F\u3042\u308A\u307E\u305B\u3093","Write a comment ...":"\u30B3\u30E1\u30F3\u30C8\u3092\u66F8\u304F\u2026",yes:ka,no:Ca,Client:xa,Clients:Da,available:Pa,busy:Ua,absent:Na,offline:Ma,View:Ea,"Session has expired":"\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u6709\u52B9\u671F\u9650\u304C\u5207\u308C\u307E\u3057\u305F","Please sign in":"\u518D\u5EA6\u30B5\u30A4\u30F3\u30A4\u30F3\u3057\u3066\u304F\u3060\u3055\u3044",logout:La,days:Ra,day:Fa,Delete:Ga,Scheduler:Ya,async:za,seq:Ia,Transfers:Wa,Simulate:Oa,Reset:Va,Browse:qa,Action:Qa,Added:ja,Removed:Ba,Copied:Ha,Moved:Ka,Filtered:Ja,Error:Xa,Server:Za,Direction:$a,Conflict:et,"Show filtered files":"\u30D5\u30A3\u30EB\u30BF\u30FC\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u3092\u8868\u793A",recent:ot,Source:at,Destination:tt,Mode:st,Sequentially:nt,Asynchronously:rt,fast:it,secure:lt,enabled:dt,Enable:ct,disabled:ht,Disable:ut,scheduler_unit_hour:pt,scheduler_unit_minute:mt,scheduler_unit_day:ft,"You must have permission to modify the server folder to choose a different sync mode":"\u7570\u306A\u308B\u540C\u671F\u30E2\u30FC\u30C9\u3092\u9078\u629E\u3059\u308B\u306B\u306F\u3001\u30B5\u30FC\u30D0\u30FC\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u5909\u66F4\u3059\u308B\u6A29\u9650\u304C\u5FC5\u8981\u3067\u3059","upload only":"\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u306E\u307F","download only":"\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u306E\u307F",both:bt,never:yt,"Clear events":"\u30A4\u30D9\u30F3\u30C8\u3092\u30AF\u30EA\u30A2","Events from":"\u6B21\u306E\u30A4\u30D9\u30F3\u30C8","All syncs":"\u3059\u3079\u3066\u306E\u540C\u671F","All events":"\u3059\u3079\u3066\u306E\u30A4\u30D9\u30F3\u30C8","will be cleared":"\u30AF\u30EA\u30A2\u3055\u308C\u307E\u3059","No differences":"\u5DEE\u5206\u306F\u3042\u308A\u307E\u305B\u3093","Select a folder":"\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u9078\u629E","The files containing":"\u6B21\u3092\u542B\u3080\u30D5\u30A1\u30A4\u30EB","The files starting":"\u6B21\u3067\u59CB\u307E\u308B\u30D5\u30A1\u30A4\u30EB","The files ending":"\u6B21\u3067\u7D42\u308F\u308B\u30D5\u30A1\u30A4\u30EB","Expert (Regexp)":"\u30A8\u30AD\u30B9\u30D1\u30FC\u30C8\uFF08\u6B63\u898F\u8868\u73FE\uFF09","click on the browse button":"\u53C2\u7167\u30DC\u30BF\u30F3\u3092\u30AF\u30EA\u30C3\u30AF","with a name or pattern":"\u540D\u524D\u307E\u305F\u306F\u30D1\u30BF\u30FC\u30F3\u3067","with the extension ('.mp3', '.avi', '.mov' ...)":"\u62E1\u5F35\u5B50\uFF08'.mp3', '.avi', '.mov' \u306A\u3069\uFF09\u3067",Wizard:gt,Next:wt,Previous:St,Done:vt,"This wizard will help you synchronize a directory on your computer with a Sync-in directory.":"\u3053\u306E\u30A6\u30A3\u30B6\u30FC\u30C9\u306F\u3001\u30B3\u30F3\u30D4\u30E5\u30FC\u30BF\u30FC\u4E0A\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3068 Sync-in \u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u540C\u671F\u3092\u652F\u63F4\u3057\u307E\u3059\u3002","To begin, select a folder on your computer.":"\u307E\u305A\u3001\u30B3\u30F3\u30D4\u30E5\u30FC\u30BF\u30FC\u4E0A\u306E\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",'You can drag the folder into the area below or click on the "Select" button.':"\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u4E0B\u306E\u9818\u57DF\u306B\u30C9\u30E9\u30C3\u30B0\u3059\u308B\u304B\u300C\u9078\u629E\u300D\u30DC\u30BF\u30F3\u3092\u30AF\u30EA\u30C3\u30AF\u3067\u304D\u307E\u3059\u3002","Drop folder here":"\u3053\u3053\u306B\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u30C9\u30ED\u30C3\u30D7","This directory is already synced":"\u3053\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306F\u3059\u3067\u306B\u540C\u671F\u3055\u308C\u3066\u3044\u307E\u3059","The parent directory is already synced":"\u89AA\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306F\u3059\u3067\u306B\u540C\u671F\u3055\u308C\u3066\u3044\u307E\u3059","This folder already exists":"\u3053\u306E\u30D5\u30A9\u30EB\u30C0\u30FC\u306F\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","This file already exists":"\u3053\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","This directory is not accessible":"\u3053\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B\u306F\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u305B\u3093","This directory is read-only, you will not be able to modify it":"\u3053\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306F\u8AAD\u307F\u53D6\u308A\u5C02\u7528\u306E\u305F\u3081\u3001\u5909\u66F4\u3067\u304D\u307E\u305B\u3093","Please select the server directory to sync, if it doesn't exist you can create it.":"\u540C\u671F\u3059\u308B\u30B5\u30FC\u30D0\u30FC\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u5B58\u5728\u3057\u306A\u3044\u5834\u5408\u306F\u4F5C\u6210\u3067\u304D\u307E\u3059\u3002","Double click to browse directories":"\u30C0\u30D6\u30EB\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3092\u53C2\u7167","The data will be synchronized from":"\u30C7\u30FC\u30BF\u306F\u6B21\u304B\u3089\u540C\u671F\u3055\u308C\u307E\u3059","the client folder":"\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u5074\u30D5\u30A9\u30EB\u30C0\u30FC","the server folder":"\u30B5\u30FC\u30D0\u30FC\u5074\u30D5\u30A9\u30EB\u30C0\u30FC","(One-Way)":"\uFF08\u4E00\u65B9\u5411\uFF09","(Two-Way)":"\uFF08\u53CC\u65B9\u5411\uFF09",to:Tt,"and from":"\u304B\u3089","All files created or modified in":"\u3067\u4F5C\u6210\u30FB\u5909\u66F4\u3055\u308C\u305F\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u306F","will be ignored and deleted":"\u7121\u8996\u3055\u308C\u524A\u9664\u3055\u308C\u307E\u3059","In case of conflict,":"\u7AF6\u5408\u304C\u767A\u751F\u3057\u305F\u5834\u5408\u3001","the most recent files will be kept":"\u3088\u308A\u65B0\u3057\u3044\u30D5\u30A1\u30A4\u30EB\u304C\u4FDD\u6301\u3055\u308C\u307E\u3059","the client\u2019s files take precedence":"\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u5074\u306E\u30D5\u30A1\u30A4\u30EB\u304C\u512A\u5148\u3055\u308C\u307E\u3059","the server\u2019s files take precedence":"\u30B5\u30FC\u30D0\u30FC\u5074\u306E\u30D5\u30A1\u30A4\u30EB\u304C\u512A\u5148\u3055\u308C\u307E\u3059","the files in":"\u6B21\u306E\u30D5\u30A1\u30A4\u30EB\u304C","will be preferred":"\u512A\u5148\u3055\u308C\u307E\u3059","Loading...":"\u8AAD\u307F\u8FBC\u307F\u4E2D...","No results":"\u7D50\u679C\u306F\u3042\u308A\u307E\u305B\u3093","Download ARM64 version":"ARM64 \u7248\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9","Download Apple Silicon ARM64 version":"Apple Silicon ARM64 \u7248\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9","Download tar.gz version":"tar.gz \u7248\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",Repository:At,public:_t,local:kt,remote:Ct,"System requirements":"\u30B7\u30B9\u30C6\u30E0\u8981\u4EF6","Feature not enabled":"\u6A5F\u80FD\u304C\u6709\u52B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093","Check the settings":"\u8A2D\u5B9A\u3092\u78BA\u8A8D",Website:xt,Documentation:Dt,Versions:Pt,Security:Ut,"Recovery code":"\u5FA9\u65E7\u30B3\u30FC\u30C9","Use a recovery code":"\u5FA9\u65E7\u30B3\u30FC\u30C9\u3092\u4F7F\u7528","Authentication code":"\u8A8D\u8A3C\u30B3\u30FC\u30C9","Secret copied":"\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u3092\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F","Recovery codes copied":"\u5FA9\u65E7\u30B3\u30FC\u30C9\u3092\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F","Invalid code":"\u7121\u52B9\u306A\u30B3\u30FC\u30C9","Incorrect code or password":"\u30B3\u30FC\u30C9\u307E\u305F\u306F\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093","Application Passwords":"\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30D1\u30B9\u30EF\u30FC\u30C9","Generate a new app password":"\u65B0\u3057\u3044\u30A2\u30D7\u30EA\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u751F\u6210","Generated password":"\u751F\u6210\u3055\u308C\u305F\u30D1\u30B9\u30EF\u30FC\u30C9","This password will only be shown once after it is generated":"\u3053\u306E\u30D1\u30B9\u30EF\u30FC\u30C9\u306F\u751F\u6210\u5F8C\u4E00\u5EA6\u3060\u3051\u8868\u793A\u3055\u308C\u307E\u3059","Password name":"\u30D1\u30B9\u30EF\u30FC\u30C9\u540D",Manage:Nt,"Manage app passwords":"\u30A2\u30D7\u30EA\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u7BA1\u7406","Password Authentication":"\u30D1\u30B9\u30EF\u30FC\u30C9\u8A8D\u8A3C","Two-Factor Authentication":"\u4E8C\u8981\u7D20\u8A8D\u8A3C","Two-Factor Authentication is enabled":"\u4E8C\u8981\u7D20\u8A8D\u8A3C\u306F\u6709\u52B9\u3067\u3059","Two-Factor Authentication is disabled":"\u4E8C\u8981\u7D20\u8A8D\u8A3C\u306F\u7121\u52B9\u3067\u3059","Scan this QR code using your authenticator app.":"\u8A8D\u8A3C\u30A2\u30D7\u30EA\u3067\u3053\u306EQR\u30B3\u30FC\u30C9\u3092\u30B9\u30AD\u30E3\u30F3\u3057\u3066\u304F\u3060\u3055\u3044\u3002","(Such as FreeOTP, Proton Authenticator etc.)":"\uFF08FreeOTP\u3001Proton Authenticator \u306A\u3069\uFF09","Or enter this secret manually":"\u3053\u306E\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u3092\u624B\u52D5\u3067\u5165\u529B","Valid with your TOTP code":"TOTP \u30B3\u30FC\u30C9\u3067\u78BA\u8A8D","The secret has expired":"\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u306E\u6709\u52B9\u671F\u9650\u304C\u5207\u308C\u307E\u3057\u305F","Keep these codes in a safe place. They will allow you to access your account if you lose access to your two-factor authentication.":"\u3053\u308C\u3089\u306E\u30B3\u30FC\u30C9\u306F\u5B89\u5168\u306A\u5834\u6240\u306B\u4FDD\u7BA1\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u4E8C\u8981\u7D20\u8A8D\u8A3C\u3092\u5229\u7528\u3067\u304D\u306A\u304F\u306A\u3063\u305F\u5834\u5408\u3067\u3082\u3001\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u3059\u3002","These recovery codes are for one-time use only and will only be displayed here once.":"\u3053\u308C\u3089\u306E\u5FA9\u65E7\u30B3\u30FC\u30C9\u306F\u4E00\u5EA6\u3057\u304B\u4F7F\u7528\u3067\u304D\u305A\u3001\u3053\u3053\u306B\u4E00\u5EA6\u3060\u3051\u8868\u793A\u3055\u308C\u307E\u3059\u3002"};export{wa as Access,Sa as Accessed,H as Account,Qa as Action,ua as Active,I as Add,ja as Added,O as Administration,W as Administrator,Qe as Anchored,_ as Application,fe as Applications,rt as Asynchronously,a as Authentication,ye as Avatar,qa as Browse,r as Cancel,xa as Client,Da as Clients,oo as Clipboard,i as Close,va as Comment,Ta as Comments,yo as Compress,me as Configuration,n as Confirm,et as Conflict,ee as Connection,oe as Connections,Ha as Copied,Xe as Copy,la as Created,da as Date,go as Decompress,Ga as Delete,fa as Description,tt as Destination,$a as Direction,ut as Disable,no as Display,Dt as Documentation,vt as Done,Ke as Download,$e as Edit,xo as Elements,K as Email,to as Empty,ct as Enable,Xa as Error,D as Event,ga as Expiration,oa as Expired,M as External,P as File,U as Files,l as Filter,Ja as Filtered,d as Filters,Po as Folder,ue as Generate,L as Group,E as Groups,Xo as Guest,Zo as Guests,Se as Home,Z as IP,pe as Import,wo as Information,So as Informations,vo as Infos,z as Isolated,we as Language,Bo as Link,Ko as Links,so as List,qe as Location,t as Login,Nt as Manage,de as Manager,he as Managers,ra as Me,ie as Member,le as Members,st as Mode,Ao as Modified,Je as Move,Ka as Moved,He as Name,Do as New,wt as Next,C as Notification,x as Notifications,Be as Options,na as Owner,s as Password,ca as Path,sa as Permissions,N as Personal,St as Previous,Y as Private,ve as Recents,ao as Refresh,eo as Remove,Ba as Removed,Ze as Rename,At as Repository,Va as Reset,X as Role,Ya as Scheduler,h as Search,Ut as Security,u as See,$ as Seen,nt as Sequentially,Za as Server,je as Settings,ke as Share,ia as Shared,_e as Shares,Oa as Simulate,To as Size,at as Source,ze as Space,Ie as Spaces,J as Status,fo as Sync,bo as Synced,uo as Synchronization,po as Synchronizations,mo as Synchronize,ko as Tasks,Co as Text,Ro as Total,Wa as Transfers,Ae as Trash,ma as Type,ya as Unknown,se as Unlimited,ge as Update,V as User,Q as Users,Pt as Versions,Ea as View,ba as Visibility,G as Visible,xt as Website,gt as Wizard,Na as absent,B as account,ha as active,Oe as anchored,k as application,be as applications,za as async,Pa as available,ae as available_space_is_low,bt as both,Ua as busy,_a as commented,Aa as comments,Wo as create,Fa as day,Ra as days,Mt as default,qo as delete,co as delete_multiple_files,io as delete_one_file,Re as desktop_app_access,Fe as desktop_app_sync,Lo as directories,Eo as directory,ht as disabled,dt as enabled,aa as expired,it as fast,No as file,Mo as files,Uo as folder,R as group,F as groups,$o as guest,ea as guests,Ee as guests_admin,zo as item,Io as items,Ho as link,Jo as links,kt as local,La as logout,ce as manager,ne as member,re as members,_o as modified,Qo as modify,Vo as move,w as nb_actions,y as nb_active_tasks,g as nb_elements,v as nb_messages,A as nb_notifications,Yo as nb_selections,f as nb_tasks,yt as never,Ca as no,Fo as no_selection,p as no_task,ta as none,Ma as offline,b as one_active_task,S as one_message,T as one_notification,Go as one_selection,m as one_task,te as online,Le as personal_groups_admin,De as personal_space,_t as public,ot as recent,Te as recents,Ct as remote,ft as scheduler_unit_day,pt as scheduler_unit_hour,mt as scheduler_unit_minute,c as search,lt as secure,Ia as seq,jo as share,xe as shared,Ce as shares,Ne as shares_access,Me as shares_admin,We as spaces,Pe as spaces_access,Ue as spaces_admin,pa as suspended,ho as synchronization,Tt as to,lo as trash_multiple_files,ro as trash_one_file,Ve as unanchored,q as user,j as users,Ye as webdav,Ge as webdav_access,Oo as write,ka as yes};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{a as Xi}from"./chunk-S7HNXVRB.js";import{c as Fi,e as ji,f as qi}from"./chunk-RFH46UW3.js";import{a as Vi}from"./chunk-XTRDKGKG.js";import{a as Ri,b as Hi,c as Bi,d as Gi,e as Ui,h as $i}from"./chunk-3OHSRRKH.js";import{c as Oi}from"./chunk-3R4WKOHQ.js";import{b as Ki,c as yt,d as Qi,e as St}from"./chunk-O6FYXVHI.js";import{a as Wi,d as ot,g as je}from"./chunk-SJR5R3Y4.js";import{a as bt,c as ye,d as Yi,h as Le,m as $e}from"./chunk-3XVM35O2.js";import{d as ai}from"./chunk-RV3VZJPZ.js";import{m as vt,p as Ct}from"./chunk-VQQKMY2C.js";import{$a as Ot,Aa as wi,Ba as Di,Bb as ki,C as ze,Ca as zi,Ib as gt,Ja as Li,Jb as $,Kb as Ue,Ma as He,Oa as Be,Pa as Ai,kb as Ni,m as fi,mb as Ce,nb as Ge,ob as Q,pb as be,rb as Ti,ya as Ei,yb as T,zb as Pi}from"./chunk-XDZGW64M.js";import{$ as Jt,$a as b,$c as ut,$e as bi,Ab as D,B as E,Bb as ee,C as Ye,Db as g,Dc as oi,Dd as hi,Eb as Je,Ed as ne,Fb as f,Gb as et,Gc as De,Ha as ce,Hb as tt,Hf as Si,Ia as ti,Ib as Ee,Id as ui,Jb as ae,Jf as Mi,Kb as G,Kc as ie,Ke as vi,L as Ne,Lb as U,Ma as kt,Mb as it,Na as a,Nb as k,Ob as N,Pa as L,Pb as fe,Qa as Qe,Qb as u,Qc as rt,Rb as A,Sa as ii,Sb as q,Sc as ve,Se as Ci,Sf as _i,Ub as ue,Va as Te,Vb as pe,Wa as Z,Wb as me,X as Zt,Xa as ni,Xf as xi,Yb as ge,Yc as ft,Zc as li,_b as we,_c as ci,ab as J,ac as Pe,bb as de,c as Qt,ca as ei,cb as It,cc as si,cf as mt,da as B,dc as dt,dd as Fe,ea as X,eb as K,ec as te,eg as se,f as We,fc as ht,gc as ke,gg as Ii,ia as p,ic as nt,id as Oe,kb as v,lb as C,le as pi,lf as yi,mc as Ie,na as y,nc as le,oa as S,ob as Xe,pa as Pt,pb as Ze,pc as st,qb as h,qc as _,qe as mi,rb as c,sb as d,sd as pt,tb as m,tc as Ft,te as gi,u as Tt,ua as V,ub as re,uc as ri,v as Ke,vb as oe,w as Xt,wa as _e,wb as xe,wd as Re,xd as di,yd as Ve,za as Y,zb as he}from"./chunk-DIT6W7VM.js";import{a as R,b as j,j as Me}from"./chunk-N3U6637P.js";var ws={prefix:"far",iconName:"bell",icon:[448,512,[128276,61602],"f0f3","M224 0c-13.3 0-24 10.7-24 24l0 9.7C118.6 45.3 56 115.4 56 200l0 14.5c0 37.7-10 74.7-29 107.3L5.1 359.2C1.8 365 0 371.5 0 378.2 0 399.1 16.9 416 37.8 416l372.4 0c20.9 0 37.8-16.9 37.8-37.8 0-6.7-1.8-13.3-5.1-19L421 321.7c-19-32.6-29-69.6-29-107.3l0-14.5c0-84.6-62.6-154.7-144-166.3l0-9.7c0-13.3-10.7-24-24-24zM392.4 368l-336.9 0 12.9-22.1C91.7 306 104 260.6 104 214.5l0-14.5c0-66.3 53.7-120 120-120s120 53.7 120 120l0 14.5c0 46.2 12.3 91.5 35.5 131.4L392.4 368zM156.1 464c9.9 28 36.6 48 67.9 48s58-20 67.9-48l-135.8 0z"]};var $n={prefix:"far",iconName:"file-zipper",icon:[384,512,["file-archive"],"f1c6","M64 48l112 0 0 88c0 39.8 32.2 72 72 72l88 0 0 240c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16zM224 67.9l92.1 92.1-68.1 0c-13.3 0-24-10.7-24-24l0-68.1zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-261.5c0-17-6.7-33.3-18.7-45.3L242.7 18.7C230.7 6.7 214.5 0 197.5 0L64 0zM80 104c0 13.3 10.7 24 24 24l16 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0c-13.3 0-24 10.7-24 24zm0 80c0 13.3 10.7 24 24 24l32 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-32 0c-13.3 0-24 10.7-24 24zm64 56l-32 0c-17.7 0-32 14.3-32 32l0 48c0 26.5 21.5 48 48 48s48-21.5 48-48l0-48c0-17.7-14.3-32-32-32zm-16 64a16 16 0 1 1 0 32 16 16 0 1 1 0-32z"]},Ds=$n;var zs={prefix:"far",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M464 256a208 208 0 1 1 -416 0 208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0 256 256 0 1 0 -512 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]};var Mt={prefix:"far",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M176 48L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-240-88 0c-39.8 0-72-32.2-72-72l0-88zM316.1 160L224 67.9 224 136c0 13.3 10.7 24 24 24l68.1 0zM0 64C0 28.7 28.7 0 64 0L197.5 0c17 0 33.3 6.7 45.3 18.7L365.3 141.3c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64z"]};var Ls={prefix:"far",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M166.2-16c-13.3 0-25.3 8.3-30 20.8L120 48 24 48C10.7 48 0 58.7 0 72S10.7 96 24 96l400 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-96 0-16.2-43.2C307.1-7.7 295.2-16 281.8-16L166.2-16zM32 144l0 304c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-304-48 0 0 304c0 8.8-7.2 16-16 16L96 464c-8.8 0-16-7.2-16-16l0-304-48 0zm160 72c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 176c0 13.3 10.7 24 24 24s24-10.7 24-24l0-176zm112 0c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 176c0 13.3 10.7 24 24 24s24-10.7 24-24l0-176z"]};var As={prefix:"far",iconName:"user",icon:[448,512,[128100,62144,62470,"user-alt","user-large"],"f007","M144 128a80 80 0 1 1 160 0 80 80 0 1 1 -160 0zm208 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0zM48 480c0-70.7 57.3-128 128-128l96 0c70.7 0 128 57.3 128 128l0 8c0 13.3 10.7 24 24 24s24-10.7 24-24l0-8c0-97.2-78.8-176-176-176l-96 0C78.8 304 0 382.8 0 480l0 8c0 13.3 10.7 24 24 24s24-10.7 24-24l0-8z"]};var Ns={prefix:"far",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 48l112 0 0 88c0 39.8 32.2 72 72 72l88 0 0 240c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16zM224 67.9l92.1 92.1-68.1 0c-13.3 0-24-10.7-24-24l0-68.1zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-261.5c0-17-6.7-33.3-18.7-45.3L242.7 18.7C230.7 6.7 214.5 0 197.5 0L64 0zm56 256c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]};var Ts={prefix:"far",iconName:"comment-dots",icon:[512,512,[128172,62075,"commenting"],"f4ad","M0 240c0 54.4 19.3 104.6 51.9 144.9L3.1 474.3c-2 3.7-3.1 7.9-3.1 12.2 0 14.1 11.4 25.5 25.5 25.5 4 0 7.8-.6 11.5-2.1L153.4 460c31.4 12.9 66.1 20 102.6 20 141.4 0 256-107.5 256-240S397.4 0 256 0 0 107.5 0 240zM94 407.9c9.3-17.1 7.4-38.1-4.8-53.2-26.1-32.3-41.2-71.9-41.2-114.7 0-103.2 90.2-192 208-192s208 88.8 208 192-90.2 192-208 192c-30.2 0-58.7-5.9-84.3-16.4-11.9-4.9-25.3-4.8-37.1 .3L76 440.9 94 407.9zM144 272a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm144-32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm80 32a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]};var Ps={prefix:"far",iconName:"flag",icon:[448,512,[127988,61725],"f024","M48 24C48 10.7 37.3 0 24 0S0 10.7 0 24L0 488c0 13.3 10.7 24 24 24s24-10.7 24-24l0-100 80.3-20.1c41.1-10.3 84.6-5.5 122.5 13.4 44.2 22.1 95.5 24.8 141.7 7.4l34.7-13c12.5-4.7 20.8-16.6 20.8-30l0-279.7c0-23-24.2-38-44.8-27.7l-9.6 4.8c-46.3 23.2-100.8 23.2-147.1 0-35.1-17.6-75.4-22-113.5-12.5L48 52 48 24zm0 77.5l96.6-24.2c27-6.7 55.5-3.6 80.4 8.8 54.9 27.4 118.7 29.7 175 6.8l0 241.8-24.4 9.1c-33.7 12.6-71.2 10.7-103.4-5.4-48.2-24.1-103.3-30.1-155.6-17.1l-68.6 17.2 0-237z"]};var ks={prefix:"far",iconName:"window-restore",icon:[576,512,[],"f2d2","M512 80L224 80c-8.8 0-16 7.2-16 16l0 16-48 0 0-16c0-35.3 28.7-64 64-64l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64l-48 0 0-48 48 0c8.8 0 16-7.2 16-16l0-192c0-8.8-7.2-16-16-16zM368 288l-320 0 0 128c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16l0-128zM64 160l288 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z"]};var Zi={prefix:"far",iconName:"folder-closed",icon:[512,512,[],"e185","M448 400L64 400c-8.8 0-16-7.2-16-16l0-144 416 0 0 144c0 8.8-7.2 16-16 16zm16-208l-416 0 0-96c0-8.8 7.2-16 16-16l138.7 0c3.5 0 6.8 1.1 9.6 3.2L250.7 112c13.8 10.4 30.7 16 48 16L448 128c8.8 0 16 7.2 16 16l0 48zM64 448l384 0c35.3 0 64-28.7 64-64l0-240c0-35.3-28.7-64-64-64L298.7 80c-6.9 0-13.7-2.2-19.2-6.4L241.1 44.8C230 36.5 216.5 32 202.7 32L64 32C28.7 32 0 60.7 0 96L0 384c0 35.3 28.7 64 64 64z"]};var Ji=(()=>{let i=class i{transform(e,t=0,n=void 0){return Be(e,t,n)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275pipe=It({name:"pathSlice",type:i,pure:!0});let s=i;return s})();var jn=s=>({$implicit:s});function qn(s,i){s&1&&(c(0,"span"),u(1,"loading..."),d())}var Wn=["*"];function Kn(s,i){if(s&1){let r=D();re(0,"span",2),Je("click",function(t){y(r);let n=f();return S(n.node().mouseAction("expanderClick",t))}),xe(1,"span",3),oe()}if(s&2){let r=f();N("toggle-children-wrapper-expanded",r.node().isExpanded)("toggle-children-wrapper-collapsed",r.node().isCollapsed)}}function Yn(s,i){s&1&&xe(0,"span",1)}var Qn=(s,i,r)=>({$implicit:s,node:i,index:r});function Xn(s,i){if(s&1&&(c(0,"span"),u(1),d()),s&2){let r=f();a(),A(r.node().displayField)}}var an=(s,i,r,e)=>({$implicit:s,node:i,index:r,templates:e});function Zn(s,i){if(s&1&&m(0,"tree-node-checkbox",3),s&2){let r=f(2);h("node",r.node())}}function Jn(s,i){if(s&1){let r=D();c(0,"div",2),v(1,Zn,1,1,"tree-node-checkbox",3),m(2,"tree-node-expander",3),c(3,"div",4),g("click",function(t){y(r);let n=f();return S(n.node().mouseAction("click",t))})("dblclick",function(t){y(r);let n=f();return S(n.node().mouseAction("dblClick",t))})("mouseover",function(t){y(r);let n=f();return S(n.node().mouseAction("mouseOver",t))})("mouseout",function(t){y(r);let n=f();return S(n.node().mouseAction("mouseOut",t))})("contextmenu",function(t){y(r);let n=f();return S(n.node().mouseAction("contextMenu",t))})("treeDrop",function(t){y(r);let n=f();return S(n.node().onDrop(t))})("treeDropDragOver",function(t){y(r);let n=f();return S(n.node().mouseAction("dragOver",t))})("treeDropDragLeave",function(t){y(r);let n=f();return S(n.node().mouseAction("dragLeave",t))})("treeDropDragEnter",function(t){y(r);let n=f();return S(n.node().mouseAction("dragEnter",t))}),m(4,"tree-node-content",5),d()()}if(s&2){let r=f();k("padding-left",r.node().getNodePadding()),a(),C(r.node().options.useCheckbox?1:-1),a(),h("node",r.node()),a(),N("node-content-wrapper-active",r.node().isActive)("node-content-wrapper-focused",r.node().isFocused),h("treeAllowDrop",r.node().allowDrop)("allowDragoverStyling",r.node().allowDragoverStyling())("treeDrag",r.node())("treeDragEnabled",r.node().allowDrag()),a(),h("node",r.node())("index",r.index())("template",r.templates().treeNodeTemplate)}}function e1(s,i){if(s&1&&m(0,"tree-node-collection",1),s&2){let r=f(2);h("nodes",r.children())("templates",r.templates())("treeModel",r.node().treeModel)}}function t1(s,i){if(s&1&&m(0,"tree-loading-component",3),s&2){let r=f(2);k("padding-left",r.node().getNodePadding()),h("template",r.templates().loadingTemplate)("node",r.node())}}function i1(s,i){if(s&1&&(c(0,"div"),v(1,e1,1,3,"tree-node-collection",1),v(2,t1,1,4,"tree-loading-component",2),d()),s&2){let r=f();N("tree-children",!0)("tree-children-no-padding",r.node().options.levelPadding),a(),C(r.children()?1:-1),a(),C(r.children()?-1:2)}}function n1(s,i){if(s&1&&m(0,"tree-node",0),s&2){let r=i.$implicit,e=i.$index,t=f();h("node",r)("index",e)("templates",t.templates())}}function s1(s,i){if(s&1&&m(0,"tree-node-drop-slot",2),s&2){let r=f(2);h("dropIndex",r.node().index)("node",r.node().parent)}}function r1(s,i){if(s&1&&(c(0,"div"),v(1,s1,1,2,"tree-node-drop-slot",2),m(2,"tree-node-wrapper",3)(3,"tree-node-children",4)(4,"tree-node-drop-slot",2),d()),s&2){let r=f();fe(r.node().getClass()),N("tree-node",!0)("tree-node-expanded",r.node().isExpanded&&r.node().hasChildren)("tree-node-collapsed",r.node().isCollapsed&&r.node().hasChildren)("tree-node-leaf",r.node().isLeaf)("tree-node-active",r.node().isActive)("tree-node-focused",r.node().isFocused),a(),C(r.index()===0?1:-1),a(),h("node",r.node())("index",r.index())("templates",r.templates()),a(),h("node",r.node())("templates",r.templates()),a(),h("dropIndex",r.node().index+1)("node",r.node().parent)}}var o1=["loadingTemplate"],a1=["treeNodeTemplate"],l1=["treeNodeWrapperTemplate"],c1=["treeNodeFullTemplate"],d1=["viewport"],h1=(s,i,r,e)=>({loadingTemplate:s,treeNodeTemplate:i,treeNodeWrapperTemplate:r,treeNodeFullTemplate:e});function f1(s,i){if(s&1&&m(0,"tree-node-collection",4),s&2){let r=f();h("nodes",r.treeModel.roots)("treeModel",r.treeModel)("templates",dt(3,h1,r.loadingTemplate,r.treeNodeTemplate,r.treeNodeWrapperTemplate,r.treeNodeFullTemplate))}}function u1(s,i){if(s&1&&m(0,"tree-node-drop-slot",5),s&2){let r=f();h("dropIndex",0)("node",r.treeModel.virtualRoot)}}var H={LEFT:37,UP:38,RIGHT:39,DOWN:40,ENTER:13,SPACE:32,CONTEXT_MENU:32},P={TOGGLE_ACTIVE:(s,i,r)=>i&&i.toggleActivated(),TOGGLE_ACTIVE_MULTI:(s,i,r)=>i&&i.toggleActivated(!0),TOGGLE_SELECTED:(s,i,r)=>i&&i.toggleSelected(),ACTIVATE:(s,i,r)=>i.setIsActive(!0),DEACTIVATE:(s,i,r)=>i.setIsActive(!1),SELECT:(s,i,r)=>i.setIsSelected(!0),DESELECT:(s,i,r)=>i.setIsSelected(!1),FOCUS:(s,i,r)=>i.focus(),TOGGLE_EXPANDED:(s,i,r)=>i.hasChildren&&i.toggleExpanded(),EXPAND:(s,i,r)=>i.expand(),COLLAPSE:(s,i,r)=>i.collapse(),DRILL_DOWN:(s,i,r)=>s.focusDrillDown(),DRILL_UP:(s,i,r)=>s.focusDrillUp(),NEXT_NODE:(s,i,r)=>s.focusNextNode(),PREVIOUS_NODE:(s,i,r)=>s.focusPreviousNode(),MOVE_NODE:(s,i,r,{from:e,to:t})=>{r.ctrlKey?s.copyNode(e,t):s.moveNode(e,t)}},qe={mouse:{click:P.TOGGLE_ACTIVE,dblClick:null,contextMenu:null,expanderClick:P.TOGGLE_EXPANDED,checkboxClick:P.TOGGLE_SELECTED,drop:P.MOVE_NODE},keys:{[H.RIGHT]:P.DRILL_DOWN,[H.LEFT]:P.DRILL_UP,[H.DOWN]:P.NEXT_NODE,[H.UP]:P.PREVIOUS_NODE,[H.SPACE]:P.TOGGLE_ACTIVE,[H.ENTER]:P.TOGGLE_ACTIVE}},xt=class{get hasChildrenField(){return this.options.hasChildrenField||"hasChildren"}get childrenField(){return this.options.childrenField||"children"}get displayField(){return this.options.displayField||"name"}get idField(){return this.options.idField||"id"}get isExpandedField(){return this.options.isExpandedField||"isExpanded"}get getChildren(){return this.options.getChildren}get levelPadding(){return this.options.levelPadding||0}get useVirtualScroll(){return this.options.useVirtualScroll}get animateExpand(){return this.options.animateExpand}get animateSpeed(){return this.options.animateSpeed||1}get animateAcceleration(){return this.options.animateAcceleration||1.2}get scrollOnActivate(){return this.options.scrollOnActivate===void 0?!0:this.options.scrollOnActivate}get rtl(){return!!this.options.rtl}get rootId(){return this.options.rootId}get useCheckbox(){return this.options.useCheckbox}get useTriState(){return this.options.useTriState===void 0?!0:this.options.useTriState}get scrollContainer(){return this.options.scrollContainer}get allowDragoverStyling(){return this.options.allowDragoverStyling===void 0?!0:this.options.allowDragoverStyling}constructor(i={}){this.options=i,this.actionMapping={mouse:{click:this.options?.actionMapping?.mouse?.click??qe.mouse.click,dblClick:this.options?.actionMapping?.mouse?.dblClick??qe.mouse.dblClick,contextMenu:this.options?.actionMapping?.mouse?.contextMenu??qe.mouse.contextMenu,expanderClick:this.options?.actionMapping?.mouse?.expanderClick??qe.mouse.expanderClick,checkboxClick:this.options?.actionMapping?.mouse?.checkboxClick??qe.mouse.checkboxClick,drop:this.options?.actionMapping?.mouse?.drop??qe.mouse.drop,dragStart:this.options?.actionMapping?.mouse?.dragStart??void 0,drag:this.options?.actionMapping?.mouse?.drag??void 0,dragEnd:this.options?.actionMapping?.mouse?.dragEnd??void 0,dragOver:this.options?.actionMapping?.mouse?.dragOver??void 0,dragLeave:this.options?.actionMapping?.mouse?.dragLeave??void 0,dragEnter:this.options?.actionMapping?.mouse?.dragEnter??void 0,mouseOver:this.options?.actionMapping?.mouse?.mouseOver??void 0,mouseOut:this.options?.actionMapping?.mouse?.mouseOut??void 0},keys:{[H.RIGHT]:P.DRILL_DOWN,[H.LEFT]:P.DRILL_UP,[H.DOWN]:P.NEXT_NODE,[H.UP]:P.PREVIOUS_NODE,[H.SPACE]:P.TOGGLE_ACTIVE,[H.ENTER]:P.TOGGLE_ACTIVE}},this.options?.actionMapping?.keys&&(this.actionMapping.keys=R(R({},this.actionMapping.keys),this.options.actionMapping.keys)),i.rtl&&(this.actionMapping.keys[H.RIGHT]=i.actionMapping?.keys[H.RIGHT]||P.DRILL_UP,this.actionMapping.keys[H.LEFT]=i.actionMapping?.keys[H.LEFT]||P.DRILL_DOWN)}getNodeClone(i){if(this.options.getNodeClone)return this.options.getNodeClone(i);let r=Object.assign({},i.data);return r.id&&delete r.id,r}allowDrop(i,r,e){return this.options.allowDrop instanceof Function?this.options.allowDrop(i,r,e):this.options.allowDrop===void 0?!0:this.options.allowDrop}allowDrag(i){return this.options.allowDrag instanceof Function?this.options.allowDrag(i):this.options.allowDrag}nodeClass(i){return this.options.nodeClass?this.options.nodeClass(i):""}nodeHeight(i){if(i.data.virtual)return 0;let r=this.options.nodeHeight||22;return typeof r=="function"&&(r=r(i)),r+(i.index===0?2:1)*this.dropSlotHeight}get dropSlotHeight(){return typeof this.options.dropSlotHeight=="number"?this.options.dropSlotHeight:2}},F={toggleExpanded:"toggleExpanded",activate:"activate",deactivate:"deactivate",nodeActivate:"nodeActivate",nodeDeactivate:"nodeDeactivate",select:"select",deselect:"deselect",focus:"focus",blur:"blur",initialized:"initialized",updateData:"updateData",moveNode:"moveNode",copyNode:"copyNode",event:"event",loadNodeChildren:"loadNodeChildren",changeFilter:"changeFilter",stateChange:"stateChange"},Rt=class s{get children(){return this._children()}set children(i){this._children.set(i)}get index(){return this._index()}set index(i){this._index.set(i)}get position(){return this._position()}set position(i){this._position.set(i)}get height(){return this._height()}set height(i){this._height.set(i)}get isHidden(){return this.treeModel.isHidden(this)}get isExpanded(){return this.treeModel.isExpanded(this)}get isActive(){return this.treeModel.isActive(this)}get isFocused(){return this.treeModel.isNodeFocused(this)}get isSelected(){return this.isSelectable()?this.treeModel.isSelected(this):this.children?.some(i=>i.isSelected)}get isAllSelected(){return this.isSelectable()?this.treeModel.isSelected(this):this.children?.every(i=>i.isAllSelected)}get isPartiallySelected(){return this.isSelected&&!this.isAllSelected}get level(){return this.parent?this.parent.level+1:0}get path(){return this.parent?[...this.parent.path,this.id]:[]}get elementRef(){throw`Element Ref is no longer supported since introducing virtual scroll
|
|
2
|
+
|
|
3
|
+
You may use a template to obtain a reference to the element`}get originalNode(){return this._originalNode}constructor(i,r,e,t){this.data=i,this.parent=r,this.treeModel=e,this._isLoadingChildren=!1,this._children=V(void 0),this._index=V(void 0),this._position=V(0),this._height=V(void 0),this.allowDrop=(n,o)=>this.options.allowDrop(n,{parent:this,index:0},o),this.allowDragoverStyling=()=>this.options.allowDragoverStyling,(this.id===void 0||this.id===null)&&(this.id=p1()),this.index=t,this.getField("children")&&this._initChildren(),this.autoLoadChildren()}get hasChildren(){return!!(this.getField("hasChildren")||this.children&&this.children.length>0)}get isCollapsed(){return!this.isExpanded}get isLeaf(){return!this.hasChildren}get isRoot(){return this.parent.data.virtual}get realParent(){return this.isRoot?null:this.parent}get options(){return this.treeModel.options}fireEvent(i){this.treeModel.fireEvent(i)}get displayField(){return this.getField("display")}get id(){return this.getField("id")}set id(i){this.setField("id",i)}getField(i){return this.data[this.options[`${i}Field`]]}setField(i,r){this.data[this.options[`${i}Field`]]=r}_findAdjacentSibling(i,r=!1){let e=this._getParentsChildren(r),t=e.indexOf(this);return e.length>t+i?e[t+i]:null}findNextSibling(i=!1){return this._findAdjacentSibling(1,i)}findPreviousSibling(i=!1){return this._findAdjacentSibling(-1,i)}getVisibleChildren(){return this.visibleChildren}get visibleChildren(){return(this.children||[]).filter(i=>!i.isHidden)}getFirstChild(i=!1){let r=i?this.visibleChildren:this.children;return r!=null&&r.length?r[0]:null}getLastChild(i=!1){let r=i?this.visibleChildren:this.children;return r!=null&&r.length?r[r.length-1]:null}findNextNode(i=!0,r=!1){return i&&this.isExpanded&&this.getFirstChild(r)||this.findNextSibling(r)||this.parent&&this.parent.findNextNode(!1,r)}findPreviousNode(i=!1){let r=this.findPreviousSibling(i);return r?r._getLastOpenDescendant(i):this.realParent}_getLastOpenDescendant(i=!1){let r=this.getLastChild(i);return this.isCollapsed||!r?this:r._getLastOpenDescendant(i)}_getParentsChildren(i=!1){return this.parent&&(i?this.parent.getVisibleChildren():this.parent.children)||[]}getIndexInParent(i=!1){return this._getParentsChildren(i).indexOf(this)}isDescendantOf(i){return this===i?!0:this.parent&&this.parent.isDescendantOf(i)}getNodePadding(){return this.options.levelPadding*(this.level-1)+"px"}getClass(){return[this.options.nodeClass(this),`tree-node-level-${this.level}`].join(" ")}onDrop(i){this.mouseAction("drop",i.event,{from:i.element,to:{parent:this,index:0,dropOnNode:!0}})}allowDrag(){return this.options.allowDrag(this)}loadNodeChildren(){return this.options.getChildren?Promise.resolve(this.options.getChildren(this)).then(i=>{i&&(this.setField("children",i),this._initChildren(),this.options.useTriState&&this.treeModel.isSelected(this)&&this.setIsSelected(!0),this.children.forEach(r=>{r.getField("isExpanded")&&r.hasChildren&&r.expand()}))}).then(()=>{this.fireEvent({eventName:F.loadNodeChildren,node:this})}):Promise.resolve()}expand(){return this.isExpanded||this.toggleExpanded(),this}collapse(){return this.isExpanded&&this.toggleExpanded(),this}doForAll(i){Promise.resolve(i(this)).then(()=>{this.children&&this.children.forEach(r=>r.doForAll(i))})}expandAll(){this.doForAll(i=>i.expand())}collapseAll(){this.doForAll(i=>i.collapse())}ensureVisible(){return this.realParent&&(this.realParent.expand(),this.realParent.ensureVisible()),this}toggleExpanded(){return this.setIsExpanded(!this.isExpanded),this}setIsExpanded(i){return this.hasChildren&&(this.treeModel.setExpandedNode(this,i),i&&!this.children&&this.hasChildren&&!this._isLoadingChildren&&(this._isLoadingChildren=!0,this.loadNodeChildren().finally(()=>{this._isLoadingChildren=!1}))),this}autoLoadChildren(){this.isExpanded&&!this.children&&this.hasChildren&&this.loadNodeChildren()}dispose(){this.children&&this.children.forEach(i=>i.dispose()),this.parent=null,this.children=null}setIsActive(i,r=!1){return this.treeModel.setActiveNode(this,i,r),i&&this.focus(this.options.scrollOnActivate),this}isSelectable(){return this.isLeaf||!this.children||!this.options.useTriState}setIsSelected(i){return this.isSelectable()?this.treeModel.setSelectedNode(this,i):this.visibleChildren.forEach(r=>r.setIsSelected(i)),this}toggleSelected(){return this.setIsSelected(!this.isSelected),this}toggleActivated(i=!1){return this.setIsActive(!this.isActive,i),this}setActiveAndVisible(i=!1){return this.setIsActive(!0,i).ensureVisible(),setTimeout(this.scrollIntoView.bind(this)),this}scrollIntoView(i=!1){this.treeModel.virtualScroll.scrollIntoView(this,i)}focus(i=!0){let r=this.treeModel.getFocusedNode();return this.treeModel.setFocusedNode(this),i&&this.scrollIntoView(),r&&this.fireEvent({eventName:F.blur,node:r}),this.fireEvent({eventName:F.focus,node:this}),this}blur(){let i=this.treeModel.getFocusedNode();return this.treeModel.setFocusedNode(null),i&&this.fireEvent({eventName:F.blur,node:this}),this}setIsHidden(i){this.treeModel.setIsHidden(this,i)}hide(){this.setIsHidden(!0)}show(){this.setIsHidden(!1)}mouseAction(i,r,e=null){this.treeModel.setFocus(!0);let n=this.options.actionMapping.mouse[i];n&&n(this.treeModel,this,r,e)}getSelfHeight(){return this.options.nodeHeight(this)}_initChildren(){this.children=this.getField("children").map((i,r)=>new s(i,this,this.treeModel,r))}};function p1(){return Math.floor(Math.random()*1e13)}var Vt=(()=>{let i=class i{constructor(){this.options=new xt,this.eventNames=Object.keys(F),this._roots=V(void 0),this._expandedNodeIds=V({}),this._selectedLeafNodeIds=V({}),this._activeNodeIds=V({}),this._hiddenNodeIds=V({}),this._focusedNodeId=V(null),this._virtualRoot=V(void 0),this.firstUpdate=!0,this.subscriptions=[]}get roots(){return this._roots()}set roots(e){this._roots.set(e)}get virtualRoot(){return this._virtualRoot()}get focusedNode(){let e=this._focusedNodeId();return e?this.getNodeById(e):null}get expandedNodes(){let e=this._expandedNodeIds();return Object.keys(e).filter(n=>e[n]).map(n=>this.getNodeById(n)).filter(Boolean)}get activeNodes(){let e=this._activeNodeIds();return Object.keys(e).filter(n=>e[n]).map(n=>this.getNodeById(n)).filter(Boolean)}get hiddenNodes(){let e=this._hiddenNodeIds();return Object.keys(e).filter(n=>e[n]).map(n=>this.getNodeById(n)).filter(Boolean)}get selectedLeafNodes(){let e=this._selectedLeafNodeIds();return Object.keys(e).filter(n=>e[n]).map(n=>this.getNodeById(n)).filter(Boolean)}fireEvent(e){e.treeModel=this,this.events[e.eventName].emit(e),this.events.event.emit(e)}subscribe(e,t){let n=this.events[e].subscribe(t);this.subscriptions.push(n)}getFocusedNode(){return this.focusedNode}getActiveNode(){return this.activeNodes[0]}getActiveNodes(){return this.activeNodes}getVisibleRoots(){return this._virtualRoot()?.visibleChildren}getFirstRoot(e=!1){let t=e?this.getVisibleRoots():this.roots;return t!=null&&t.length?t[0]:null}getLastRoot(e=!1){let t=e?this.getVisibleRoots():this.roots;return t!=null&&t.length?t[t.length-1]:null}get isFocused(){return i.focusedTree===this}isNodeFocused(e){return this.focusedNode===e}isEmptyTree(){let e=this.roots;return e&&e.length===0}getNodeByPath(e,t=null){if(!e)return null;if(t=t||this._virtualRoot(),e.length===0)return t;if(!t.children)return null;let n=e.shift(),o=t.children.find(l=>l.id===n);return o?this.getNodeByPath(e,o):null}getNodeById(e){let t=e.toString();return this.getNodeBy(n=>n.id.toString()===t)}getNodeBy(e,t=null){if(t=t||this._virtualRoot(),!t.children)return null;let n=t.children.find(e);if(n)return n;for(let o of t.children){let l=this.getNodeBy(e,o);if(l)return l}}isExpanded(e){return this._expandedNodeIds()[e.id]}isHidden(e){return this._hiddenNodeIds()[e.id]}isActive(e){return this._activeNodeIds()[e.id]}isSelected(e){return this._selectedLeafNodeIds()[e.id]}ngOnDestroy(){this.dispose(),this.unsubscribeAll()}dispose(){let e=this._virtualRoot();e&&e.dispose()}unsubscribeAll(){this.subscriptions.forEach(e=>e.unsubscribe()),this.subscriptions=[]}setData({nodes:e,options:t=null,events:n=null}){t&&(this.options=new xt(t)),n&&(this.events=n),e&&(this.nodes=e),this.update()}update(){let e={id:this.options.rootId,virtual:!0,[this.options.childrenField]:this.nodes};this.dispose();let t=new Rt(e,null,this,0);this._virtualRoot.set(t),this.roots=t.children;let n=this.roots;this.firstUpdate?n&&(this.firstUpdate=!1,this._calculateExpandedNodes()):this.fireEvent({eventName:F.updateData})}setFocusedNode(e){this._focusedNodeId.set(e?e.id:null)}setFocus(e){i.focusedTree=e?this:null}doForAll(e){this.roots.forEach(t=>t.doForAll(e))}focusNextNode(){let e=this.getFocusedNode(),t=e?e.findNextNode(!0,!0):this.getFirstRoot(!0);t&&t.focus()}focusPreviousNode(){let e=this.getFocusedNode(),t=e?e.findPreviousNode(!0):this.getLastRoot(!0);t&&t.focus()}focusDrillDown(){let e=this.getFocusedNode();if(e&&e.isCollapsed&&e.hasChildren)e.toggleExpanded();else{let t=e?e.getFirstChild(!0):this.getFirstRoot(!0);t&&t.focus()}}focusDrillUp(){let e=this.getFocusedNode();if(e)if(e.isExpanded)e.toggleExpanded();else{let t=e.realParent;t&&t.focus()}}setActiveNode(e,t,n=!1){n?this._setActiveNodeMulti(e,t):this._setActiveNodeSingle(e,t),t?(e.focus(this.options.scrollOnActivate),this.fireEvent({eventName:F.activate,node:e}),this.fireEvent({eventName:F.nodeActivate,node:e})):(this.fireEvent({eventName:F.deactivate,node:e}),this.fireEvent({eventName:F.nodeDeactivate,node:e}))}setSelectedNode(e,t){this._selectedLeafNodeIds.update(n=>j(R({},n),{[e.id]:t})),t?(e.focus(),this.fireEvent({eventName:F.select,node:e})):this.fireEvent({eventName:F.deselect,node:e})}setExpandedNode(e,t){this._expandedNodeIds.update(n=>j(R({},n),{[e.id]:t})),this.fireEvent({eventName:F.toggleExpanded,node:e,isExpanded:t})}expandAll(){this.roots.forEach(e=>e.expandAll())}collapseAll(){this.roots.forEach(e=>e.collapseAll())}setIsHidden(e,t){this._hiddenNodeIds.update(n=>j(R({},n),{[e.id]:t}))}setHiddenNodeIds(e){let t=e.reduce((n,o)=>j(R({},n),{[o]:!0}),{});this._hiddenNodeIds.set(t)}performKeyAction(e,t){let n=this.options.actionMapping.keys[t.keyCode];return n?(t.preventDefault(),n(this,e,t),!0):!1}filterNodes(e,t=!0){let n;if(!e)return this.clearFilter();if(e&&typeof e.valueOf()=="string")n=l=>l.displayField.toLowerCase().indexOf(e.toLowerCase())!==-1;else if(e&&typeof e=="function")n=e;else{console.error("Don't know what to do with filter",e),console.error("Should be either a string or function");return}let o={};this.roots.forEach(l=>this._filterNode(o,l,n,t)),this._hiddenNodeIds.set(o),this.fireEvent({eventName:F.changeFilter})}clearFilter(){this._hiddenNodeIds.set({}),this.fireEvent({eventName:F.changeFilter})}moveNode(e,t){let n=e.getIndexInParent(),o=e.parent;if(!this.canMoveNode(e,t,n))return;let l=o.getField("children");t.parent.getField("children")||t.parent.setField("children",[]);let z=t.parent.getField("children"),x=l.splice(n,1)[0],Nt=o===t.parent&&t.index>n?t.index-1:t.index;z.splice(Nt,0,x),o.treeModel.update(),t.parent.treeModel!==o.treeModel&&t.parent.treeModel.update(),this.fireEvent({eventName:F.moveNode,node:x,to:{parent:t.parent.data,index:Nt},from:{parent:o.data,index:n}})}copyNode(e,t){let n=e.getIndexInParent();if(!this.canMoveNode(e,t,n))return;t.parent.getField("children")||t.parent.setField("children",[]);let o=t.parent.getField("children"),l=this.options.getNodeClone(e);o.splice(t.index,0,l),e.treeModel.update(),t.parent.treeModel!==e.treeModel&&t.parent.treeModel.update(),this.fireEvent({eventName:F.copyNode,node:l,to:{parent:t.parent.data,index:t.index}})}getState(){return{expandedNodeIds:this._expandedNodeIds(),selectedLeafNodeIds:this._selectedLeafNodeIds(),activeNodeIds:this._activeNodeIds(),hiddenNodeIds:this._hiddenNodeIds(),focusedNodeId:this._focusedNodeId()}}setState(e){e&&(this._expandedNodeIds.set(e.expandedNodeIds||{}),this._selectedLeafNodeIds.set(e.selectedLeafNodeIds||{}),this._activeNodeIds.set(e.activeNodeIds||{}),this._hiddenNodeIds.set(e.hiddenNodeIds||{}),this._focusedNodeId.set(e.focusedNodeId))}subscribeToState(e){le(()=>e(this.getState()))}canMoveNode(e,t,n=void 0){let o=n||e.getIndexInParent();return e.parent===t.parent&&n===t.index?!1:!t.parent.isDescendantOf(e)}calculateExpandedNodes(){this._calculateExpandedNodes()}_filterNode(e,t,n,o){let l=n(t);return t.children&&t.children.forEach(z=>{this._filterNode(e,z,n,o)&&(l=!0)}),l||(e[t.id]=!0),o&&l&&t.ensureVisible(),l}_calculateExpandedNodes(e=null){e=e||this._virtualRoot(),e.data[this.options.isExpandedField]&&this._expandedNodeIds.update(t=>j(R({},t),{[e.id]:!0})),e.children&&e.children.forEach(t=>this._calculateExpandedNodes(t))}_setActiveNodeSingle(e,t){this.activeNodes.filter(n=>n!==e).forEach(n=>{this.fireEvent({eventName:F.deactivate,node:n}),this.fireEvent({eventName:F.nodeDeactivate,node:n})}),t?this._activeNodeIds.set({[e.id]:!0}):this._activeNodeIds.set({})}_setActiveNodeMulti(e,t){this._activeNodeIds.update(n=>j(R({},n),{[e.id]:t}))}};i.focusedTree=null,i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=B({token:i,factory:i.\u0275fac});let s=i;return s})(),Ht=(()=>{let i=class i{constructor(){this._draggedElement=null}set(e){this._draggedElement=e}get(){return this._draggedElement}isDragging(){return!!this.get()}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=B({token:i,factory:i.\u0275fac,providedIn:"root"});let s=i;return s})(),en=500,_t=150,tn=(()=>{let i=class i{get yBlocks(){return this._yBlocks()}set yBlocks(e){this._yBlocks.set(e)}get x(){return this._x()}set x(e){this._x.set(e)}get viewportHeight(){return this._viewportHeight()}set viewportHeight(e){this._viewportHeight.set(e)}get y(){return this.yBlocks*_t}get totalHeight(){let e=this.treeModel._virtualRoot();return e?e.height:0}constructor(){this.treeModel=p(Vt),this._dispose=[],this._yBlocks=V(0),this._x=V(0),this._viewportHeight=V(null),this.viewport=null;let e=this.treeModel;e.virtualScroll=this}fireEvent(e){this.treeModel.fireEvent(e)}init(){let e=this.recalcPositions.bind(this);e(),this.treeModel.subscribe(F.loadNodeChildren,e)}setupWatchers(e){let t=this.recalcPositions.bind(this),n=le(()=>{let x=this._yBlocks(),Nt=this.totalHeight,Es=this._viewportHeight();this.fixScroll()},{injector:e}),o=le(()=>{let x=this.treeModel.roots;t()},{injector:e}),l=le(()=>{let x=this.treeModel.expandedNodes;t()},{injector:e}),z=le(()=>{let x=this.treeModel.hiddenNodes;t()},{injector:e});this._dispose=[()=>n.destroy(),()=>o.destroy(),()=>l.destroy(),()=>z.destroy()]}isEnabled(){return this.treeModel.options.useVirtualScroll}_setYBlocks(e){this.yBlocks=e}recalcPositions(){let e=this.treeModel._virtualRoot();e&&(e.height=this._getPositionAfter(this.treeModel.getVisibleRoots(),0))}_getPositionAfter(e,t){let n=t;return e.forEach(o=>{o.position=n,n=this._getPositionAfterNode(o,n)}),n}_getPositionAfterNode(e,t){let n=e.getSelfHeight()+t;return e.children&&e.isExpanded&&(n=this._getPositionAfter(e.visibleChildren,n)),e.height=n-t,n}clear(){this._dispose.forEach(e=>e())}setViewport(e){Object.assign(this,{viewport:e,x:e.scrollLeft,yBlocks:Math.round(e.scrollTop/_t),viewportHeight:e.getBoundingClientRect?e.getBoundingClientRect().height:0})}scrollIntoView(e,t,n=!0){if(e.options.scrollContainer){let o=e.options.scrollContainer,l=o.getBoundingClientRect().height,z=o.getBoundingClientRect().top,x=this.viewport.getBoundingClientRect().top+e.position-z;(t||x<o.scrollTop||x+e.getSelfHeight()>o.scrollTop+l)&&(o.scrollTop=n?x-l/2:x)}else(t||e.position<this.y||e.position+e.getSelfHeight()>this.y+this.viewportHeight)&&this.viewport&&(this.viewport.scrollTop=n?e.position-this.viewportHeight/2:e.position,this._setYBlocks(Math.floor(this.viewport.scrollTop/_t)))}getViewportNodes(e){if(!e)return[];let t=e.filter(x=>!x.isHidden);if(!this.isEnabled())return t;if(!this.viewportHeight||!t.length)return[];let n=t.slice(-1)[0];if(!n.height&&n.position===0)return[];let o=nn(t,x=>x.position+en>this.y||x.position+x.height>this.y),l=nn(t,x=>x.position-en>this.y+this.viewportHeight,o),z=[];for(let x=o;x<=l;x++)z.push(t[x]);return z}fixScroll(){let e=Math.max(0,this.totalHeight-this.viewportHeight);this.y<0&&this._setYBlocks(0),this.y>e&&this._setYBlocks(e/_t)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=B({token:i,factory:i.\u0275fac});let s=i;return s})();function nn(s,i,r=0){let e=r,t=s.length-1;for(;e!==t;){let n=Math.floor((e+t)/2);i(s[n])?t=n:e===n?e=t:e=n}return e}var m1=(()=>{let i=class i{constructor(){this.template=_(void 0),this.node=_(void 0)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["tree-loading-component"]],inputs:{template:[1,"template"],node:[1,"node"]},decls:2,vars:5,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,n){t&1&&(v(0,qn,2,0,"span"),he(1,0)),t&2&&(C(n.template()?-1:0),a(),h("ngTemplateOutlet",n.template())("ngTemplateOutletContext",Pe(3,jn,n.node())))},dependencies:[De],encapsulation:2});let s=i;return s})(),g1=(()=>{let i=class i{constructor(){this.elementRef=p(Y),this.virtualScroll=p(tn),this.injector=p(Pt),this.setViewport=this.throttle(()=>{this.virtualScroll.setViewport(this.elementRef.nativeElement)},17),this.scrollEventHandler=this.setViewport.bind(this)}ngOnInit(){this.virtualScroll.init(),this.virtualScroll.setupWatchers(this.injector)}ngAfterViewInit(){setTimeout(()=>{this.setViewport(),this.virtualScroll.fireEvent({eventName:F.initialized})}),this.elementRef.nativeElement.addEventListener("scroll",this.scrollEventHandler)}ngOnDestroy(){this.virtualScroll.clear(),this.elementRef.nativeElement.removeEventListener("scroll",this.scrollEventHandler)}getTotalHeight(){return this.virtualScroll.isEnabled()&&this.virtualScroll.totalHeight+"px"||"auto"}throttle(e,t){let n=0;return function(){let o=Date.now();o-n>=t&&(e(),n=o)}}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["tree-viewport"]],features:[we([tn])],ngContentSelectors:Wn,decls:2,vars:2,template:function(t,n){t&1&&(et(),re(0,"div"),tt(1),oe()),t&2&&k("height",n.getTotalHeight())},encapsulation:2});let s=i;return s})(),sn="is-dragging-over",rn="is-dragging-over-disabled",ln=(()=>{let i=class i{allowDrop(e){return this._allowDrop(this.treeDraggedElement.get(),e)}constructor(){this.el=p(Y),this.renderer=p(Te),this.treeDraggedElement=p(Ht),this.ngZone=p(Qe),this.allowDragoverStyling=_(!0),this.treeAllowDrop=_(void 0),this.onDropCallback=st({alias:"treeDrop"}),this.onDragOverCallback=st({alias:"treeDropDragOver"}),this.onDragLeaveCallback=st({alias:"treeDropDragLeave"}),this.onDragEnterCallback=st({alias:"treeDropDragEnter"}),this._allowDrop=(e,t)=>!0,this.dragOverEventHandler=this.onDragOver.bind(this),this.dragEnterEventHandler=this.onDragEnter.bind(this),this.dragLeaveEventHandler=this.onDragLeave.bind(this),le(()=>{let e=this.treeAllowDrop();e instanceof Function?this._allowDrop=e:e!==void 0&&(this._allowDrop=(t,n)=>e)})}ngAfterViewInit(){let e=this.el.nativeElement;this.ngZone.runOutsideAngular(()=>{e.addEventListener("dragover",this.dragOverEventHandler),e.addEventListener("dragenter",this.dragEnterEventHandler),e.addEventListener("dragleave",this.dragLeaveEventHandler)})}ngOnDestroy(){let e=this.el.nativeElement;e.removeEventListener("dragover",this.dragOverEventHandler),e.removeEventListener("dragenter",this.dragEnterEventHandler),e.removeEventListener("dragleave",this.dragLeaveEventHandler)}onDragOver(e){if(!this.allowDrop(e))return this.allowDragoverStyling()?this.addDisabledClass():void 0;this.onDragOverCallback.emit({event:e,element:this.treeDraggedElement.get()}),e.preventDefault(),this.allowDragoverStyling()&&this.addClass()}onDragEnter(e){this.allowDrop(e)&&(e.preventDefault(),this.onDragEnterCallback.emit({event:e,element:this.treeDraggedElement.get()}))}onDragLeave(e){if(!this.allowDrop(e))return this.allowDragoverStyling()?this.removeDisabledClass():void 0;this.onDragLeaveCallback.emit({event:e,element:this.treeDraggedElement.get()}),this.allowDragoverStyling()&&this.removeClass()}onDrop(e){this.allowDrop(e)&&(e.preventDefault(),this.onDropCallback.emit({event:e,element:this.treeDraggedElement.get()}),this.allowDragoverStyling()&&this.removeClass(),this.treeDraggedElement.set(null))}addClass(){this.renderer.addClass(this.el.nativeElement,sn)}removeClass(){this.renderer.removeClass(this.el.nativeElement,sn)}addDisabledClass(){this.renderer.addClass(this.el.nativeElement,rn)}removeDisabledClass(){this.renderer.removeClass(this.el.nativeElement,rn)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275dir=de({type:i,selectors:[["","treeDrop",""]],hostBindings:function(t,n){t&1&&g("drop",function(l){return n.onDrop(l)})},inputs:{allowDragoverStyling:[1,"allowDragoverStyling"],treeAllowDrop:[1,"treeAllowDrop"]},outputs:{onDropCallback:"treeDrop",onDragOverCallback:"treeDropDragOver",onDragLeaveCallback:"treeDropDragLeave",onDragEnterCallback:"treeDropDragEnter"}});let s=i;return s})(),cn=(()=>{let i=class i{constructor(){this.node=_(void 0),this.dropIndex=_(void 0)}onDrop(e){this.node().mouseAction("drop",e.event,{from:e.element,to:{parent:this.node(),index:this.dropIndex()}})}allowDrop(e,t){return this.node().options.allowDrop(e,{parent:this.node(),index:this.dropIndex()},t)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["TreeNodeDropSlot"],["tree-node-drop-slot"]],inputs:{node:[1,"node"],dropIndex:[1,"dropIndex"]},decls:1,vars:2,consts:[[1,"node-drop-slot",3,"treeDrop","treeAllowDrop","allowDragoverStyling"]],template:function(t,n){t&1&&(c(0,"div",0),g("treeDrop",function(l){return n.onDrop(l)}),d()),t&2&&h("treeAllowDrop",n.allowDrop.bind(n))("allowDragoverStyling",!0)},dependencies:[ln],encapsulation:2});let s=i;return s})(),v1=(()=>{let i=class i{constructor(){this.node=_(void 0)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["tree-node-checkbox"]],inputs:{node:[1,"node"]},decls:1,vars:2,consts:[["type","checkbox",1,"tree-node-checkbox",3,"click","checked","indeterminate"]],template:function(t,n){t&1&&(re(0,"input",0),Je("click",function(l){return n.node().mouseAction("checkboxClick",l)}),oe()),t&2&&ee("checked",n.node().isSelected)("indeterminate",n.node().isPartiallySelected)},encapsulation:2});let s=i;return s})(),Bt=(()=>{let i=class i{constructor(){this.node=_(),this.hasChildren=Ie(()=>this.node().hasChildren)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["tree-node-expander"]],inputs:{node:[1,"node"]},decls:2,vars:2,consts:[[1,"toggle-children-wrapper",3,"toggle-children-wrapper-expanded","toggle-children-wrapper-collapsed"],[1,"toggle-children-placeholder"],[1,"toggle-children-wrapper",3,"click"],[1,"toggle-children"]],template:function(t,n){t&1&&(v(0,Kn,2,4,"span",0),v(1,Yn,1,0,"span",1)),t&2&&(C(n.hasChildren()?0:-1),a(),C(n.hasChildren()?-1:1))},encapsulation:2});let s=i;return s})();var C1=(()=>{let i=class i{constructor(){this.el=p(Y),this.renderer=p(Te),this.treeDraggedElement=p(Ht),this.ngZone=p(Qe),this.draggedElement=_(void 0,{alias:"treeDrag"}),this.treeDragEnabled=_(void 0),this.dragEventHandler=this.onDrag.bind(this)}ngAfterViewInit(){let e=this.el.nativeElement;this.ngZone.runOutsideAngular(()=>{e.addEventListener("drag",this.dragEventHandler)})}ngDoCheck(){this.renderer.setAttribute(this.el.nativeElement,"draggable",this.treeDragEnabled()?"true":"false")}ngOnDestroy(){this.el.nativeElement.removeEventListener("drag",this.dragEventHandler)}onDragStart(e){e.dataTransfer.setData("text",e.target.id);let t=this.draggedElement();this.treeDraggedElement.set(t),t.mouseAction&&t.mouseAction("dragStart",e)}onDrag(e){let t=this.draggedElement();t.mouseAction&&t.mouseAction("drag",e)}onDragEnd(){let e=this.draggedElement();e.mouseAction&&e.mouseAction("dragEnd"),this.treeDraggedElement.set(null)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275dir=de({type:i,selectors:[["","treeDrag",""]],hostBindings:function(t,n){t&1&&g("dragstart",function(l){return n.onDragStart(l)})("dragend",function(){return n.onDragEnd()})},inputs:{draggedElement:[1,"treeDrag","draggedElement"],treeDragEnabled:[1,"treeDragEnabled"]}});let s=i;return s})(),Gt=(()=>{let i=class i{constructor(){this.node=_(void 0),this.index=_(void 0),this.template=_(void 0)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["tree-node-content"]],inputs:{node:[1,"node"],index:[1,"index"],template:[1,"template"]},decls:2,vars:7,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,n){t&1&&(v(0,Xn,2,1,"span"),he(1,0)),t&2&&(C(n.template()?-1:0),a(),h("ngTemplateOutlet",n.template())("ngTemplateOutletContext",si(3,Qn,n.node(),n.node(),n.index())))},dependencies:[De],encapsulation:2});let s=i;return s})(),b1=(()=>{let i=class i{constructor(){this.node=_(),this.index=_(void 0),this.templates=_(),this.treeNodeWrapperTemplate=Ie(()=>this.templates().treeNodeWrapperTemplate)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["tree-node-wrapper"]],inputs:{node:[1,"node"],index:[1,"index"],templates:[1,"templates"]},decls:2,vars:8,consts:[[1,"node-wrapper",3,"padding-left"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"node-wrapper"],[3,"node"],[1,"node-content-wrapper",3,"click","dblclick","mouseover","mouseout","contextmenu","treeDrop","treeDropDragOver","treeDropDragLeave","treeDropDragEnter","treeAllowDrop","allowDragoverStyling","treeDrag","treeDragEnabled"],[3,"node","index","template"]],template:function(t,n){t&1&&(v(0,Jn,5,15,"div",0),he(1,1)),t&2&&(C(n.treeNodeWrapperTemplate()?-1:0),a(),h("ngTemplateOutlet",n.treeNodeWrapperTemplate())("ngTemplateOutletContext",dt(3,an,n.node(),n.node(),n.index(),n.templates())))},dependencies:[v1,Bt,C1,ln,Gt,De],encapsulation:2});let s=i;return s})(),on=1.005,y1=(()=>{let i=class i{constructor(){this.renderer=p(Te),this.templateRef=p(ii),this.viewContainerRef=p(ni),this.isOpen=_(void 0,{alias:"treeAnimateOpen"}),this.animateSpeed=_(void 0,{alias:"treeAnimateOpenSpeed"}),this.animateAcceleration=_(void 0,{alias:"treeAnimateOpenAcceleration"}),this.isEnabled=_(void 0,{alias:"treeAnimateOpenEnabled"}),le(()=>{let e=this.isOpen();e?(this._show(),this.isEnabled()&&this.previousIsOpen===!1&&this._animateOpen()):this.isEnabled()?this._animateClose():this._hide(),this.previousIsOpen=!!e})}_show(){this.innerElement||(this.innerElement=this.viewContainerRef.createEmbeddedView(this.templateRef).rootNodes[0])}_hide(){this.viewContainerRef.clear(),this.innerElement=null}_animateOpen(){let e=this.animateSpeed(),t=this.animateAcceleration(),n=0;this.renderer.setStyle(this.innerElement,"max-height","0"),setTimeout(()=>{let o=setInterval(()=>{if(!this.isOpen()||!this.innerElement)return clearInterval(o);n+=e;let l=Math.round(n);this.renderer.setStyle(this.innerElement,"max-height",`${l}px`);let z=this.innerElement.getBoundingClientRect?this.innerElement.getBoundingClientRect().height:0;e*=t,t*=on,z<l&&(this.renderer.setStyle(this.innerElement,"max-height",null),clearInterval(o))},17)})}_animateClose(){if(!this.innerElement)return;let e=this.animateSpeed(),t=this.animateAcceleration(),n=this.innerElement.getBoundingClientRect().height,o=setInterval(()=>{if(this.isOpen()||!this.innerElement)return clearInterval(o);n-=e,this.renderer.setStyle(this.innerElement,"max-height",`${n}px`),e*=t,t*=on,n<=0&&(this.viewContainerRef.clear(),this.innerElement=null,clearInterval(o))},17)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275dir=de({type:i,selectors:[["","treeAnimateOpen",""]],inputs:{isOpen:[1,"treeAnimateOpen","isOpen"],animateSpeed:[1,"treeAnimateOpenSpeed","animateSpeed"],animateAcceleration:[1,"treeAnimateOpenAcceleration","animateAcceleration"],isEnabled:[1,"treeAnimateOpenEnabled","isEnabled"]}});let s=i;return s})(),S1=(()=>{let i=class i{constructor(){this.node=_(),this.templates=_(void 0),this.children=Ie(()=>this.node().children)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["tree-node-children"]],inputs:{node:[1,"node"],templates:[1,"templates"]},decls:1,vars:4,consts:[[3,"tree-children","tree-children-no-padding",4,"treeAnimateOpen","treeAnimateOpenSpeed","treeAnimateOpenAcceleration","treeAnimateOpenEnabled"],[3,"nodes","templates","treeModel"],[1,"tree-node-loading",3,"padding-left","template","node"],[1,"tree-node-loading",3,"template","node"]],template:function(t,n){t&1&&K(0,i1,3,6,"div",0),t&2&&h("treeAnimateOpen",n.node().isExpanded)("treeAnimateOpenSpeed",n.node().options.animateSpeed)("treeAnimateOpenAcceleration",n.node().options.animateAcceleration)("treeAnimateOpenEnabled",n.node().options.animateExpand)},dependencies:()=>[y1,dn,m1],encapsulation:2});let s=i;return s})(),dn=(()=>{let i=class i{constructor(){this.nodes=_(void 0),this.treeModel=_(void 0),this.injector=p(Pt),this.templates=_(void 0),this.viewportNodes=V([]),this.marginTop=Ie(()=>{let e=this.viewportNodes(),t=e&&e.length&&e[0];return`${t&&t.parent?t.position-t.parent.position-t.parent.getSelfHeight():0}px`}),this._disposeEffects=[]}ngOnInit(){this.virtualScroll=this.treeModel().virtualScroll;let e=le(()=>{let t=this.nodes();if(t&&this.virtualScroll){let n=this.virtualScroll.getViewportNodes(t);this.viewportNodes.set(n)}},{injector:this.injector});this._disposeEffects=[()=>e.destroy()]}ngOnDestroy(){this._disposeEffects.forEach(e=>e())}trackNode(e,t){return t.id}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["tree-node-collection"]],inputs:{nodes:[1,"nodes"],treeModel:[1,"treeModel"],templates:[1,"templates"]},decls:3,vars:2,consts:[[3,"node","index","templates"]],template:function(t,n){t&1&&(c(0,"div"),Xe(1,n1,1,3,"tree-node",0,n.trackNode,!0),d()),t&2&&(k("margin-top",n.marginTop()),a(),Ze(n.viewportNodes()))},dependencies:()=>[M1],encapsulation:2});let s=i;return s})(),M1=(()=>{let i=class i{constructor(){this.node=_(void 0),this.index=_(void 0),this.templates=_(),this.treeNodeFullTemplate=Ie(()=>this.templates().treeNodeFullTemplate)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["TreeNode"],["tree-node"]],inputs:{node:[1,"node"],index:[1,"index"],templates:[1,"templates"]},decls:2,vars:8,consts:[[3,"class","tree-node","tree-node-expanded","tree-node-collapsed","tree-node-leaf","tree-node-active","tree-node-focused"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"dropIndex","node"],[3,"node","index","templates"],[3,"node","templates"]],template:function(t,n){t&1&&(v(0,r1,5,22,"div",0),he(1,1)),t&2&&(C(n.treeNodeFullTemplate()?-1:0),a(),h("ngTemplateOutlet",n.treeNodeFullTemplate())("ngTemplateOutletContext",dt(3,an,n.node(),n.node(),n.index(),n.templates())))},dependencies:[cn,b1,S1,De],encapsulation:2});let s=i;return s})(),hn=(()=>{let i=class i{set nodes(e){}set options(e){}set focused(e){this.treeModel.setFocus(e)}set state(e){this.treeModel.setState(e)}constructor(){this.treeModel=p(Vt),this.treeDraggedElement=p(Ht);let e=this.treeModel;e.eventNames.forEach(t=>this[t]=new L),e.subscribeToState(t=>this.stateChange.emit(t))}onKeydown(e){if(!this.treeModel.isFocused||["input","textarea"].includes(document.activeElement.tagName.toLowerCase()))return;let t=this.treeModel.getFocusedNode();this.treeModel.performKeyAction(t,e)}onMousedown(e){function t(n,o){return n?n.localName===o?!1:t(n.parentElement,o):!0}t(e.target,"tree-root")&&this.treeModel.setFocus(!1)}ngOnChanges(e){(e.options||e.nodes)&&this.treeModel.setData({options:e.options&&e.options.currentValue,nodes:e.nodes&&e.nodes.currentValue,events:this.pick(this,this.treeModel.eventNames)})}sizeChanged(){this.viewportComponent.setViewport()}pick(e,t){return t.reduce((n,o)=>(e&&e.hasOwnProperty(o)&&(n[o]=e[o]),n),{})}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["Tree"],["tree-root"]],contentQueries:function(t,n,o){if(t&1&&(Ee(o,o1,5),Ee(o,a1,5),Ee(o,l1,5),Ee(o,c1,5)),t&2){let l;G(l=U())&&(n.loadingTemplate=l.first),G(l=U())&&(n.treeNodeTemplate=l.first),G(l=U())&&(n.treeNodeWrapperTemplate=l.first),G(l=U())&&(n.treeNodeFullTemplate=l.first)}},viewQuery:function(t,n){if(t&1&&ae(d1,5),t&2){let o;G(o=U())&&(n.viewportComponent=o.first)}},hostBindings:function(t,n){t&1&&g("keydown",function(l){return n.onKeydown(l)},kt)("mousedown",function(l){return n.onMousedown(l)},kt)},inputs:{nodes:"nodes",options:"options",focused:"focused",state:"state"},outputs:{toggleExpanded:"toggleExpanded",activate:"activate",deactivate:"deactivate",nodeActivate:"nodeActivate",nodeDeactivate:"nodeDeactivate",select:"select",deselect:"deselect",focus:"focus",blur:"blur",updateData:"updateData",initialized:"initialized",moveNode:"moveNode",copyNode:"copyNode",loadNodeChildren:"loadNodeChildren",changeFilter:"changeFilter",event:"event",stateChange:"stateChange"},features:[we([Vt]),_e],decls:5,vars:6,consts:[["viewport",""],[1,"angular-tree-component"],[3,"nodes","treeModel","templates",4,"ngIf"],["class","empty-tree-drop-slot",3,"dropIndex","node",4,"ngIf"],[3,"nodes","treeModel","templates"],[1,"empty-tree-drop-slot",3,"dropIndex","node"]],template:function(t,n){t&1&&(c(0,"tree-viewport",null,0)(2,"div",1),K(3,f1,1,8,"tree-node-collection",2)(4,u1,1,2,"tree-node-drop-slot",3),d()()),t&2&&(a(2),N("node-dragging",n.treeDraggedElement.isDragging())("angular-tree-component-rtl",n.treeModel.options.rtl),a(),h("ngIf",n.treeModel.roots),a(),h("ngIf",n.treeModel.isEmptyTree()))},dependencies:[g1,oi,dn,cn],encapsulation:2});let s=i;return s})(),fn=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=J({type:i}),i.\u0275inj=X({imports:[ie]});let s=i;return s})();var M=(function(s){return s.MAKE="make",s.COPY="copy",s.MOVE="move",s.DELETE="delete",s.COMPRESS="compress",s.DECOMPRESS="decompress",s.DOWNLOAD="download",s.UPLOAD="upload",s.TOUCH="touch",s.THUMBNAIL="thumbnail",s})(M||{});var Js=".selected",er="drag-over";var Et=(()=>{let i=class i{constructor(){this.overFlowX="hidden",this.resizeOffset=80,this.useMaxHeight=!0,this.elementRef=p(Y),this.renderer=p(Te),this.layout=p(T),this.renderer.setStyle(this.elementRef.nativeElement,"overflow-y","auto"),this.renderer.setStyle(this.elementRef.nativeElement,"scrollbar-width","thin"),this.resizeSubscription=this.layout.resizeEvent.pipe(Zt(1)).subscribe(()=>this.onResize())}ngAfterViewInit(){this.renderer.setStyle(this.elementRef.nativeElement,"overflow-x",this.overFlowX),this.onResize()}ngOnDestroy(){this.resizeSubscription.unsubscribe()}scrollTop(){this.renderer.setProperty(this.elementRef.nativeElement,"scrollTop","0")}scrollIntoView(e=0){setTimeout(()=>this.elementRef.nativeElement.scrollTo({left:0,top:e,behavior:"smooth"}),50)}onResize(){this.renderer.setStyle(this.elementRef.nativeElement,this.useMaxHeight?"max-height":"height",`${window.innerHeight-this.resizeOffset-1}px`)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275dir=de({type:i,selectors:[["","appAutoResize",""]],inputs:{overFlowX:"overFlowX",resizeOffset:"resizeOffset",useMaxHeight:"useMaxHeight"}});let s=i;return s})();var O={BASE:Pi.BASE,OPERATION:"operation",TASK_OPERATION:"task/operation",TASKS:"tasks",TASKS_DOWNLOAD:"download",RECENTS:"recents",SEARCH:"search",ONLY_OFFICE:"onlyoffice",ONLY_OFFICE_SETTINGS:"settings",ONLY_OFFICE_DOCUMENT:"document",ONLY_OFFICE_CALLBACK:"callback",ONLY_OFFICE_STATUS:"status"},$t=`${O.BASE}/${O.OPERATION}`,hr=`${$t}/${M.THUMBNAIL}`,jt=`${$t}/${M.MAKE}`,fr=`${$t}/${M.UPLOAD}`,qt=`${O.BASE}/${O.TASK_OPERATION}`,un=`${qt}/${M.DOWNLOAD}`,pn=`${qt}/${M.COMPRESS}`,mn=`${qt}/${M.DECOMPRESS}`,at=`${O.BASE}/${O.TASKS}`,gn=`${O.BASE}/${O.TASKS}/${O.TASKS_DOWNLOAD}`,vn=`${O.BASE}/${O.RECENTS}`,Cn=`${O.BASE}/${O.SEARCH}`,wt=`${O.BASE}/${O.ONLY_OFFICE}`,bn=`${wt}/${O.ONLY_OFFICE_SETTINGS}`,ur=`${wt}/${O.ONLY_OFFICE_DOCUMENT}`,pr=`${wt}/${O.ONLY_OFFICE_CALLBACK}`,yn=`${wt}/${O.ONLY_OFFICE_STATUS}`;var x1=(s,i)=>Me(null,null,function*(){return new Promise((r,e)=>{try{if(window.DocsAPI)return r(null);let t=document.getElementById(i);if(t){let n=setInterval(()=>{if(!t.getAttribute("loading")){if(clearInterval(n),window.DocsAPI)return r(null);let l=Sn(i,s,r,e);t.remove(),document.body.appendChild(l)}},500)}else{let n=Sn(i,s,r,e);document.body.appendChild(n)}}catch(t){console.error(t)}})}),Sn=(s,i,r,e)=>{let t=document.createElement("script");return t.id=s,t.type="text/javascript",t.src=i,t.async=!0,t.onload=()=>{t.removeAttribute("loading"),r(null)},t.onerror=n=>{t.removeAttribute("loading"),e(n)},t.setAttribute("loading",""),t},Mn=x1;var _n=(()=>{let i=class i{constructor(){this.loadError=new L,this.isFirstOnChanges=!0,this.onLoad=()=>{try{if(window.DocsAPI||this.onError(-3),window?.DocEditor?.instances[this.id]){console.log("Skip loading, instance already exists",this.id);return}window?.DocEditor?.instances||(window.DocEditor={instances:{}}),window.DocEditor.instances[this.id]=window.DocsAPI.DocEditor(this.id,JSON.parse(JSON.stringify(this.config)))}catch(e){console.error(e),this.onError(-1)}}}ngOnInit(){let e=this.documentServerUrl;e.endsWith("/")||(e+="/");let t=`${e}web-apps/apps/api/documents/api.js`;Mn(t,"onlyoffice-api-script").then(()=>this.onLoad()).catch(()=>{this.onError(-2)})}ngOnChanges(e){if(this.isFirstOnChanges){this.isFirstOnChanges=!1;return}if("config"in e&&window?.DocEditor?.instances[this.id]){window.DocEditor.instances[this.id].destroyEditor(),window.DocEditor.instances[this.id]=void 0,console.warn("Important props have been changed, reloading ..."),this.onLoad();return}}ngOnDestroy(){window?.DocEditor?.instances[this.id]&&(window.DocEditor.instances[this.id].destroyEditor(),window.DocEditor.instances[this.id]=void 0)}onError(e){let t;switch(e){case-2:t="Check the settings";break;case-3:t="DocsAPI is not defined";break;default:t="Unknown error !",e=-1}this.loadError.emit(t)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["app-files-onlyoffice-document"]],inputs:{id:"id",documentServerUrl:"documentServerUrl",config:"config"},outputs:{loadError:"loadError"},features:[_e],decls:1,vars:1,consts:[[3,"id"]],template:function(t,n){t&1&&xe(0,"div",0),t&2&&ee("id",n.id)},encapsulation:2});let s=i;return s})();function E1(s,i){if(s&1){let r=D();c(0,"div")(1,"app-files-onlyoffice-document",1),g("loadError",function(t){y(r);let n=f();return S(n.loadError(t))}),d()()}if(s&2){let r=f();k("height",r.currentHeight,"px"),a(),h("id",r.docId)("documentServerUrl",r.documentConfig.documentServerUrl)("config",r.documentConfig.config)}}var xn=(()=>{let i=class i{constructor(){this.documentConfig=null,this.http=p(ve),this.layout=p(T),this.store=p(Ce)}ngOnInit(){this.docId=`viewer-doc-${this.file.id}`,this.http.get(`${bn}/${this.file.path}`,{params:new rt().set("mode",this.mode)}).subscribe({next:e=>{if(!e){this.layout.closeDialog(),this.layout.sendNotification("error","Unable to open document","Settings are missing");return}this.mode==="edit"&&e.config.editorConfig.mode!=="edit"?e.config.editorConfig.mode="view":e.config.editorConfig.mode=this.mode,this.mode==="edit"&&(this.file.lock={owner:`${Ei} - ${this.store.user.getValue().fullName} (${this.store.user.getValue().email})`,ownerLogin:this.store.user.getValue().login,isExclusive:!1}),e.config.editorConfig.lang=this.layout.getCurrentLanguage(),e.config.editorConfig.region=this.layout.getCurrentLanguage(),this.documentConfig=e},error:e=>{this.layout.closeDialog(),this.layout.sendNotification("error","Unable to open document",e.error.message)}})}ngOnDestroy(){this.file.lock=null}loadError(e){this.layout.closeDialog(),this.layout.sendNotification("error","Unable to open document",e)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["app-files-viewer-document"]],inputs:{file:"file",currentHeight:"currentHeight",mode:"mode"},decls:1,vars:1,consts:[[3,"height"],[3,"loadError","id","documentServerUrl","config"]],template:function(t,n){t&1&&v(0,E1,2,5,"div",0),t&2&&C(n.documentConfig?0:-1)},dependencies:[_n],encapsulation:2});let s=i;return s})();var w1=["*"],W=(()=>{let i=class i{};i.VG_ENDED="ended",i.VG_PAUSED="paused",i.VG_PLAYING="playing",i.VG_LOADING="waiting",i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=B({token:i,factory:i.\u0275fac,providedIn:"root"});let s=i;return s})(),ct=(()=>{let i=class i{constructor(){this.medias={},this.playerReadyEvent=new L(!0),this.isPlayerReady=!1}onPlayerReady(e){this.fsAPI=e,this.isPlayerReady=!0,this.playerReadyEvent.emit(this)}getDefaultMedia(){for(let e in this.medias)if(this.medias[e])return this.medias[e]}getMasterMedia(){let e;for(let t in this.medias)if(this.medias[t].vgMaster==="true"||this.medias[t].vgMaster===!0){e=this.medias[t];break}return e||this.getDefaultMedia()}isMasterDefined(){let e=!1;for(let t in this.medias)if(this.medias[t].vgMaster==="true"||this.medias[t].vgMaster===!0){e=!0;break}return e}getMediaById(e=null){let t=this.medias[e];return(!e||e==="*")&&(t=this),t}play(){for(let e in this.medias)this.medias[e]&&this.medias[e].play()}pause(){for(let e in this.medias)this.medias[e]&&this.medias[e].pause()}get duration(){return this.$$getAllProperties("duration")}set currentTime(e){this.$$setAllProperties("currentTime",e)}get currentTime(){return this.$$getAllProperties("currentTime")}set state(e){this.$$setAllProperties("state",e)}get state(){return this.$$getAllProperties("state")}set volume(e){this.$$setAllProperties("volume",e)}get volume(){return this.$$getAllProperties("volume")}set playbackRate(e){this.$$setAllProperties("playbackRate",e)}get playbackRate(){return this.$$getAllProperties("playbackRate")}get canPlay(){return this.$$getAllProperties("canPlay")}get canPlayThrough(){return this.$$getAllProperties("canPlayThrough")}get isMetadataLoaded(){return this.$$getAllProperties("isMetadataLoaded")}get isWaiting(){return this.$$getAllProperties("isWaiting")}get isCompleted(){return this.$$getAllProperties("isCompleted")}get isLive(){return this.$$getAllProperties("isLive")}get isMaster(){return this.$$getAllProperties("isMaster")}get time(){return this.$$getAllProperties("time")}get buffer(){return this.$$getAllProperties("buffer")}get buffered(){return this.$$getAllProperties("buffered")}get subscriptions(){return this.$$getAllProperties("subscriptions")}get textTracks(){return this.$$getAllProperties("textTracks")}seekTime(e,t=!1){for(let n in this.medias)this.medias[n]&&this.$$seek(this.medias[n],e,t)}$$seek(e,t,n=!1){let o,l=e.duration;n?(this.isMasterDefined()&&(l=this.getMasterMedia().duration),o=t*l/100):o=t,e.currentTime=o}addTextTrack(e,t,n){for(let o in this.medias)this.medias[o]&&this.$$addTextTrack(this.medias[o],e,t,n)}$$addTextTrack(e,t,n,o){e.addTextTrack(t,n,o)}$$getAllProperties(e){let t={},n;for(let l in this.medias)this.medias[l]&&(t[l]=this.medias[l]);switch(Object.keys(t).length){case 0:switch(e){case"state":n=W.VG_PAUSED;break;case"playbackRate":case"volume":n=1;break;case"time":n={current:0,total:0,left:0};break}break;case 1:let l=Object.keys(t)[0];n=t[l][e];break;default:let z=this.getMasterMedia();n=t[z.id][e]}return n}$$setAllProperties(e,t){for(let n in this.medias)this.medias[n]&&(this.medias[n][e]=t)}registerElement(e){this.videogularElement=e}registerMedia(e){this.medias[e.id]=e}unregisterMedia(e){delete this.medias[e.id]}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=B({token:i,factory:i.\u0275fac,providedIn:"root"});let s=i;return s})(),Wt=(()=>{let i=class i{constructor(){this.isHiddenSubject=new We,this.isHidden=this.isHiddenSubject.asObservable()}state(e){this.isHiddenSubject.next(e)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=B({token:i,factory:i.\u0275fac,providedIn:"root"});let s=i;return s})(),lt=(()=>{let i=class i{static getZIndex(){let e=1,t,n=document.getElementsByTagName("*");for(let o=0,l=n.length;o<l;o++)t=parseInt(window.getComputedStyle(n[o])["z-index"],10),t>e&&(e=t+1);return e}static isMobileDevice(){return typeof window.orientation<"u"||navigator.userAgent.indexOf("IEMobile")!==-1}static isiOSDevice(){return(navigator.userAgent.match(/ip(hone|ad|od)/i)||i.isIpadOS())&&!navigator.userAgent.match(/(iemobile)[\/\s]?([\w\.]*)/i)}static isIpadOS(){return navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform)}static isCordova(){return document.URL.indexOf("http://")===-1&&document.URL.indexOf("https://")===-1}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=B({token:i,factory:i.\u0275fac,providedIn:"root"});let s=i;return s})(),Kt=(()=>{let i=class i{constructor(){this.nativeFullscreen=!0,this.isFullscreen=!1,this.onChangeFullscreen=new L}init(e,t){this.videogularElement=e,this.medias=t;let n={w3:{enabled:"fullscreenEnabled",element:"fullscreenElement",request:"requestFullscreen",exit:"exitFullscreen",onchange:"fullscreenchange",onerror:"fullscreenerror"},newWebkit:{enabled:"webkitFullscreenEnabled",element:"webkitFullscreenElement",request:"webkitRequestFullscreen",exit:"webkitExitFullscreen",onchange:"webkitfullscreenchange",onerror:"webkitfullscreenerror"},oldWebkit:{enabled:"webkitIsFullScreen",element:"webkitCurrentFullScreenElement",request:"webkitRequestFullScreen",exit:"webkitCancelFullScreen",onchange:"webkitfullscreenchange",onerror:"webkitfullscreenerror"},moz:{enabled:"mozFullScreen",element:"mozFullScreenElement",request:"mozRequestFullScreen",exit:"mozCancelFullScreen",onchange:"mozfullscreenchange",onerror:"mozfullscreenerror"},ios:{enabled:"webkitFullscreenEnabled",element:"webkitFullscreenElement",request:"webkitEnterFullscreen",exit:"webkitExitFullscreen",onchange:"webkitendfullscreen",onerror:"webkitfullscreenerror"},ms:{enabled:"msFullscreenEnabled",element:"msFullscreenElement",request:"msRequestFullscreen",exit:"msExitFullscreen",onchange:"MSFullscreenChange",onerror:"MSFullscreenError"}};for(let l in n)if(n[l].enabled in document){this.polyfill=n[l];break}if(lt.isiOSDevice()&&(this.polyfill=n.ios),this.isAvailable=this.polyfill!=null,this.polyfill==null)return;let o;switch(this.polyfill.onchange){case"mozfullscreenchange":o=document;break;case"webkitendfullscreen":o=this.medias.toArray()[0].elem;break;default:o=e}this.fsChangeSubscription=E(o,this.polyfill.onchange).subscribe(()=>{this.onFullscreenChange()})}onFullscreenChange(){this.isFullscreen=!!document[this.polyfill.element],this.onChangeFullscreen.emit(this.isFullscreen)}toggleFullscreen(e=null){return this.isFullscreen?this.exit():this.request(e)}request(e){return e||(e=this.videogularElement),this.isFullscreen=!0,this.onChangeFullscreen.emit(!0),this.isAvailable&&this.nativeFullscreen?lt.isMobileDevice()?((!this.polyfill.enabled&&e===this.videogularElement||lt.isiOSDevice())&&(e=this.medias.toArray()[0].elem),this.enterElementInFullScreen(e)):this.enterElementInFullScreen(this.videogularElement):Promise.resolve()}enterElementInFullScreen(e){return e[this.polyfill.request]()}exit(){return this.isFullscreen=!1,this.onChangeFullscreen.emit(!1),this.isAvailable&&this.nativeFullscreen?document[this.polyfill.exit]():Promise.resolve()}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=B({token:i,factory:i.\u0275fac,providedIn:"root"});let s=i;return s})(),w=(()=>{let i=class i{};i.VG_ABORT="abort",i.VG_CAN_PLAY="canplay",i.VG_CAN_PLAY_THROUGH="canplaythrough",i.VG_DURATION_CHANGE="durationchange",i.VG_EMPTIED="emptied",i.VG_ENCRYPTED="encrypted",i.VG_ENDED="ended",i.VG_ERROR="error",i.VG_LOADED_DATA="loadeddata",i.VG_LOADED_METADATA="loadedmetadata",i.VG_LOAD_START="loadstart",i.VG_PAUSE="pause",i.VG_PLAY="play",i.VG_PLAYING="playing",i.VG_PROGRESS="progress",i.VG_RATE_CHANGE="ratechange",i.VG_SEEK="seek",i.VG_SEEKED="seeked",i.VG_SEEKING="seeking",i.VG_STALLED="stalled",i.VG_SUSPEND="suspend",i.VG_TIME_UPDATE="timeupdate",i.VG_VOLUME_CHANGE="volumechange",i.VG_WAITING="waiting",i.VG_LOAD="load",i.VG_ENTER="enter",i.VG_EXIT="exit",i.VG_START_ADS="startads",i.VG_END_ADS="endads",i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=B({token:i,factory:i.\u0275fac,providedIn:"root"});let s=i;return s})();var Yt=(()=>{let i=class i{constructor(e,t){this.api=e,this.ref=t,this.state=W.VG_PAUSED,this.time={current:0,total:0,left:0},this.buffer={end:0},this.canPlay=!1,this.canPlayThrough=!1,this.isMetadataLoaded=!1,this.isWaiting=!1,this.isCompleted=!1,this.isLive=!1,this.isBufferDetected=!1,this.checkInterval=200,this.currentPlayPos=0,this.lastPlayPos=0,this.playAtferSync=!1,this.bufferDetected=new We}ngOnInit(){this.vgMedia.nodeName?this.elem=this.vgMedia:this.elem=this.vgMedia.elem,this.api.registerMedia(this),this.subscriptions={abort:E(this.elem,w.VG_ABORT),canPlay:E(this.elem,w.VG_CAN_PLAY),canPlayThrough:E(this.elem,w.VG_CAN_PLAY_THROUGH),durationChange:E(this.elem,w.VG_DURATION_CHANGE),emptied:E(this.elem,w.VG_EMPTIED),encrypted:E(this.elem,w.VG_ENCRYPTED),ended:E(this.elem,w.VG_ENDED),error:E(this.elem,w.VG_ERROR),loadedData:E(this.elem,w.VG_LOADED_DATA),loadedMetadata:E(this.elem,w.VG_LOADED_METADATA),loadStart:E(this.elem,w.VG_LOAD_START),pause:E(this.elem,w.VG_PAUSE),play:E(this.elem,w.VG_PLAY),playing:E(this.elem,w.VG_PLAYING),progress:E(this.elem,w.VG_PROGRESS),rateChange:E(this.elem,w.VG_RATE_CHANGE),seeked:E(this.elem,w.VG_SEEKED),seeking:E(this.elem,w.VG_SEEKING),stalled:E(this.elem,w.VG_STALLED),suspend:E(this.elem,w.VG_SUSPEND),timeUpdate:E(this.elem,w.VG_TIME_UPDATE),volumeChange:E(this.elem,w.VG_VOLUME_CHANGE),waiting:E(this.elem,w.VG_WAITING),startAds:E(window,w.VG_START_ADS),endAds:E(window,w.VG_END_ADS),mutation:new Qt(e=>{let t=new MutationObserver(n=>{e.next(n)});return t.observe(this.elem,{childList:!0,attributes:!0}),()=>{t.disconnect()}}),bufferDetected:this.bufferDetected},this.mutationObs=this.subscriptions.mutation.subscribe(this.onMutation.bind(this)),this.canPlayObs=this.subscriptions.canPlay.subscribe(this.onCanPlay.bind(this)),this.canPlayThroughObs=this.subscriptions.canPlayThrough.subscribe(this.onCanPlayThrough.bind(this)),this.loadedMetadataObs=this.subscriptions.loadedMetadata.subscribe(this.onLoadMetadata.bind(this)),this.waitingObs=this.subscriptions.waiting.subscribe(this.onWait.bind(this)),this.progressObs=this.subscriptions.progress.subscribe(this.onProgress.bind(this)),this.endedObs=this.subscriptions.ended.subscribe(this.onComplete.bind(this)),this.playingObs=this.subscriptions.playing.subscribe(this.onStartPlaying.bind(this)),this.playObs=this.subscriptions.play.subscribe(this.onPlay.bind(this)),this.pauseObs=this.subscriptions.pause.subscribe(this.onPause.bind(this)),this.timeUpdateObs=this.subscriptions.timeUpdate.subscribe(this.onTimeUpdate.bind(this)),this.volumeChangeObs=this.subscriptions.volumeChange.subscribe(this.onVolumeChange.bind(this)),this.errorObs=this.subscriptions.error.subscribe(this.onError.bind(this)),this.vgMaster&&this.api.playerReadyEvent.subscribe(()=>{this.prepareSync()})}prepareSync(){let e=[];for(let t in this.api.medias)this.api.medias[t]&&e.push(this.api.medias[t].subscriptions.canPlay);this.canPlayAllSubscription=Xt(e).pipe(Ke((...t)=>{let n=l=>l?.target?l.target.readyState===4:!1;t.some(n)&&!this.syncSubscription&&(this.startSync(),this.syncSubscription.unsubscribe())})).subscribe()}startSync(){this.syncSubscription=Ye(0,1e3).subscribe(()=>{for(let e in this.api.medias)if(this.api.medias[e]!==this){let t=this.api.medias[e].currentTime-this.currentTime;t<-.3||t>.3?(this.playAtferSync=this.state===W.VG_PLAYING,this.pause(),this.api.medias[e].pause(),this.api.medias[e].currentTime=this.currentTime):this.playAtferSync&&(this.play(),this.api.medias[e].play(),this.playAtferSync=!1)}})}onMutation(e){for(let t=0,n=e.length;t<n;t++){let o=e[t];if(o.type==="attributes"&&o.attributeName==="src"){if(o.target.src&&o.target.src.length>0&&o.target.src.indexOf("blob:")<0){this.loadMedia();break}}else if(o.type==="childList"&&o.removedNodes.length&&o.removedNodes[0].nodeName.toLowerCase()==="source"){this.loadMedia();break}}}loadMedia(){this.vgMedia.pause(),this.vgMedia.currentTime=0,this.stopBufferCheck(),this.isBufferDetected=!0,this.bufferDetected.next(this.isBufferDetected),setTimeout(()=>this.vgMedia.load(),10)}play(){if(!(this.playPromise||this.state!==W.VG_PAUSED&&this.state!==W.VG_ENDED))return this.playPromise=this.vgMedia.play(),this.playPromise&&this.playPromise.then&&this.playPromise.catch&&this.playPromise.then(()=>{this.playPromise=null}).catch(()=>{this.playPromise=null}),this.playPromise}pause(){this.playPromise?this.playPromise.then(()=>{this.vgMedia.pause()}):this.vgMedia.pause()}get id(){let e;return this.vgMedia&&(e=this.vgMedia.id),e}get duration(){return this.vgMedia.duration===1/0?this.specifiedDuration:this.vgMedia.duration}set currentTime(e){this.vgMedia.currentTime=e}get currentTime(){return this.vgMedia.currentTime}set volume(e){this.vgMedia.volume=e}get volume(){return this.vgMedia.volume}set playbackRate(e){this.vgMedia.playbackRate=e}get playbackRate(){return this.vgMedia.playbackRate}get buffered(){return this.vgMedia.buffered}get textTracks(){return this.vgMedia.textTracks}onCanPlay(e){this.isBufferDetected=!1,this.bufferDetected.next(this.isBufferDetected),this.canPlay=!0,this.ref.detectChanges()}onCanPlayThrough(e){this.isBufferDetected=!1,this.bufferDetected.next(this.isBufferDetected),this.canPlayThrough=!0,this.ref.detectChanges()}onLoadMetadata(e){this.isMetadataLoaded=!0,this.time={current:0,left:0,total:this.duration*1e3},this.state=W.VG_PAUSED;let t=Math.round(this.time.total);this.isLive=t===1/0,this.ref.detectChanges()}onWait(e){this.isWaiting=!0,this.ref.detectChanges()}onComplete(e){this.isCompleted=!0,this.state=W.VG_ENDED,this.ref.detectChanges()}onStartPlaying(e){this.state=W.VG_PLAYING,this.ref.detectChanges()}onPlay(e){this.state=W.VG_PLAYING,this.vgMaster&&(!this.syncSubscription||this.syncSubscription.closed)&&this.startSync(),this.startBufferCheck(),this.ref.detectChanges()}onPause(e){this.state=W.VG_PAUSED,this.vgMaster&&(this.playAtferSync||this.syncSubscription.unsubscribe()),this.stopBufferCheck(),this.ref.detectChanges()}onTimeUpdate(e){let t=this.buffered.length-1;this.time={current:this.currentTime*1e3,total:this.time.total,left:(this.duration-this.currentTime)*1e3},t>=0&&(this.buffer={end:this.buffered.end(t)*1e3}),this.ref.detectChanges()}onProgress(e){let t=this.buffered.length-1;t>=0&&(this.buffer={end:this.buffered.end(t)*1e3}),this.ref.detectChanges()}onVolumeChange(e){this.ref.detectChanges()}onError(e){this.ref.detectChanges()}bufferCheck(){let e=1/this.checkInterval;this.currentPlayPos=this.currentTime,!this.isBufferDetected&&this.currentPlayPos<this.lastPlayPos+e&&(this.isBufferDetected=!0),this.isBufferDetected&&this.currentPlayPos>this.lastPlayPos+e&&(this.isBufferDetected=!1),this.bufferDetected.closed||this.bufferDetected.next(this.isBufferDetected),this.lastPlayPos=this.currentPlayPos}startBufferCheck(){this.checkBufferSubscription=Ye(0,this.checkInterval).subscribe(()=>{this.bufferCheck()})}stopBufferCheck(){this.checkBufferSubscription&&this.checkBufferSubscription.unsubscribe(),this.isBufferDetected=!1,this.bufferDetected.next(this.isBufferDetected)}seekTime(e,t=!1){let n,o=this.duration;t?n=e*o/100:n=e,this.currentTime=n}addTextTrack(e,t,n,o){let l=this.vgMedia.addTextTrack(e,t,n);return o&&(l.mode=o),l}ngOnDestroy(){this.vgMedia.src="",this.mutationObs?.unsubscribe(),this.canPlayObs?.unsubscribe(),this.canPlayThroughObs?.unsubscribe(),this.loadedMetadataObs?.unsubscribe(),this.waitingObs?.unsubscribe(),this.progressObs?.unsubscribe(),this.endedObs?.unsubscribe(),this.playingObs?.unsubscribe(),this.playObs?.unsubscribe(),this.pauseObs?.unsubscribe(),this.timeUpdateObs?.unsubscribe(),this.volumeChangeObs?.unsubscribe(),this.errorObs?.unsubscribe(),this.checkBufferSubscription?.unsubscribe(),this.syncSubscription?.unsubscribe(),this.bufferDetected?.complete(),this.bufferDetected?.unsubscribe(),this.api.unregisterMedia(this)}};i.\u0275fac=function(t){return new(t||i)(Z(ct),Z(Ft))},i.\u0275dir=de({type:i,selectors:[["","vgMedia",""]],inputs:{vgMedia:"vgMedia",vgMaster:"vgMaster"},standalone:!1});let s=i;return s})(),En=(()=>{let i=class i{constructor(e,t,n,o){this.api=t,this.fsAPI=n,this.controlsHidden=o,this.isFullscreen=!1,this.isNativeFullscreen=!1,this.areControlsHidden=!1,this.onPlayerReady=new L,this.onMediaReady=new L,this.subscriptions=[],this.elem=e.nativeElement,this.api.registerElement(this.elem)}ngAfterContentInit(){this.medias.toArray().forEach(e=>{this.api.registerMedia(e)}),this.fsAPI.init(this.elem,this.medias),this.subscriptions.push(this.fsAPI.onChangeFullscreen.subscribe(this.onChangeFullscreen.bind(this))),this.subscriptions.push(this.controlsHidden.isHidden.subscribe(this.onHideControls.bind(this))),this.api.onPlayerReady(this.fsAPI),this.onPlayerReady.emit(this.api)}onChangeFullscreen(e){this.fsAPI.nativeFullscreen?this.isNativeFullscreen=e:(this.isFullscreen=e,this.zIndex=e?lt.getZIndex().toString():"auto")}onHideControls(e){this.areControlsHidden=e}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe())}};i.\u0275fac=function(t){return new(t||i)(Z(Y),Z(ct),Z(Kt),Z(Wt))},i.\u0275cmp=b({type:i,selectors:[["vg-player"]],contentQueries:function(t,n,o){if(t&1&&Ee(o,Yt,5),t&2){let l;G(l=U())&&(n.medias=l)}},hostVars:8,hostBindings:function(t,n){t&2&&(k("z-index",n.zIndex),N("fullscreen",n.isFullscreen)("native-fullscreen",n.isNativeFullscreen)("controls-hidden",n.areControlsHidden))},outputs:{onPlayerReady:"onPlayerReady",onMediaReady:"onMediaReady"},standalone:!1,features:[we([ct,Kt,Wt])],ngContentSelectors:w1,decls:1,vars:0,template:function(t,n){t&1&&(et(),tt(0))},styles:[`vg-player{font-family:videogular;position:relative;display:flex;width:100%;height:100%;overflow:hidden;background-color:#000}vg-player.fullscreen{position:fixed;left:0;top:0}vg-player.native-fullscreen.controls-hidden{cursor:none}
|
|
4
|
+
`],encapsulation:2});let s=i;return s})(),D1=[ct,Wt,Kt,lt,w,W];var Se=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=J({type:i}),i.\u0275inj=X({providers:[...D1],imports:[ie]});let s=i;return s})();var wn=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=J({type:i}),i.\u0275inj=X({imports:[ie,Se]});let s=i;return s})();var Dn=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=J({type:i}),i.\u0275inj=X({imports:[ie,Se]});let s=i;return s})();var zn=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=J({type:i}),i.\u0275inj=X({imports:[ie,Se]});let s=i;return s})();var Ln=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["app-files-viewer-media"]],inputs:{currentHeight:"currentHeight",fileUrl:"fileUrl"},decls:4,vars:4,consts:[["media",""],["preload","none","controls","",3,"vgMedia"],["type","video/webm",3,"src"]],template:function(t,n){if(t&1&&(c(0,"vg-player")(1,"video",1,0),m(3,"source",2),d()()),t&2){let o=it(2);k("height",n.currentHeight,"px"),a(),h("vgMedia",o),a(2),h("src",n.fileUrl,ce)}},dependencies:[Se,Yt,En,Dn,zn,wn],encapsulation:2,changeDetection:0});let s=i;return s})();var An=(()=>{let i=class i{constructor(){this.sanitizer=p(ft),this.pdfjsUrl=`${bt}/pdfjs/web/viewer.html?file=`}ngOnInit(){this.url=this.sanitizer.bypassSecurityTrustResourceUrl(`${this.pdfjsUrl}${encodeURIComponent(this.fileUrl)}`)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["app-files-viewer-pdf"]],inputs:{fileUrl:"fileUrl",currentHeight:"currentHeight"},decls:1,vars:3,consts:[[1,"app-viewer-iframe",3,"src"]],template:function(t,n){t&1&&xe(0,"iframe",0),t&2&&(k("height",n.currentHeight,"px"),ee("src",n.url,ti))},encapsulation:2,changeDetection:0});let s=i;return s})();var L1=["ref"];function Nn(s){return s&&s.replace(/\r\n|\r/g,`
|
|
5
|
+
`)}var Tn=(()=>{let i=class i{constructor(){this.className="",this.name="codemirror",this.autoFocus=!1,this.preserveScrollPosition=!1,this.cursorActivity=new L,this.focusChange=new L,this.scroll=new L,this.value="",this.disabled=!1,this.isFocused=!1,this._differs=p(ri),this._ngZone=p(Qe),this.onChange=e=>{},this.onTouched=()=>{},this.codeMirror=CodeMirror||import("./chunk-SSFF27P2.js")}set options(e){this._options=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngAfterViewInit(){this.ref&&this._ngZone.runOutsideAngular(()=>{this.textArea=this.codeMirror.fromTextArea(this.ref.nativeElement,this._options),this.textArea.on("cursorActivity",e=>this._ngZone.run(()=>this.cursorActive(e))),this.textArea.on("scroll",this.scrollChanged.bind(this)),this.textArea.on("blur",()=>this._ngZone.run(()=>this.focusChanged(!1))),this.textArea.on("focus",()=>this._ngZone.run(()=>this.focusChanged(!0))),this.textArea.on("change",(e,t)=>this._ngZone.run(()=>this.codemirrorValueChanged(e,t))),this.textArea.setValue(this.value)})}ngDoCheck(){if(!this._differ)return;let e=this._differ.diff(this._options);e&&(e.forEachChangedItem(t=>this.setOptionIfChanged(t.key,t.currentValue)),e.forEachAddedItem(t=>this.setOptionIfChanged(t.key,t.currentValue)),e.forEachRemovedItem(t=>this.setOptionIfChanged(t.key,t.currentValue)))}ngOnDestroy(){this.textArea&&this.textArea.toTextArea()}codemirrorValueChanged(e,t){t.origin!=="setValue"&&(this.value=e.getValue(),this.onChange(this.value))}setOptionIfChanged(e,t){this.textArea&&this.textArea.setOption(e,t)}focusChanged(e){this.onTouched(),this.isFocused=e,this.focusChange.emit(e)}scrollChanged(e){this.scroll.emit(e.getScrollInfo())}cursorActive(e){this.cursorActivity.emit(e)}writeValue(e){if(e==null)return;if(!this.textArea){this.value=e;return}let t=this.textArea.getValue();if(e!==t&&Nn(t)!==Nn(e))if(this.value=e,this.preserveScrollPosition){let n=this.textArea.getScrollInfo();this.textArea.setValue(this.value),this.textArea.scrollTo(n.left,n.top)}else this.textArea.setValue(this.value)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this.setOptionIfChanged("readOnly",this.disabled)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["ngx-codemirror"]],viewQuery:function(t,n){if(t&1&&ae(L1,7),t&2){let o;G(o=U())&&(n.ref=o.first)}},inputs:{className:"className",name:"name",autoFocus:"autoFocus",preserveScrollPosition:"preserveScrollPosition",options:"options"},outputs:{cursorActivity:"cursorActivity",focusChange:"focusChange",scroll:"scroll"},features:[we([{provide:li,useExisting:ei(()=>i),multi:!0}])],decls:3,vars:6,consts:[["ref",""],["autocomplete","off",3,"name"]],template:function(t,n){t&1&&(re(0,"textarea",1,0),u(2," "),oe()),t&2&&(fe(ge("ngx-codemirror ",n.className)),N("ngx-codemirror--focused",n.isFocused),ee("name",n.name))},encapsulation:2,changeDetection:0});let s=i;return s})();var A1=["CodeMirror"],kn=(()=>{let i=class i{constructor(){this.ready=!1,this.http=p(ve),this.layout=p(T),this.options={lineNumbers:!1,readOnly:!0,theme:this.layout.switchTheme.getValue()===Li?"material":"default",mode:"null"},this.maxSize=5242880,this.modeUrl=`${bt}/codemirror/mode/%N/%N.js`,this.mode=null}ngOnInit(){this.ref.codeMirror.modeURL=this.modeUrl;let e=this.ref.codeMirror.findModeByFileName(this.file.name);e?(this.mode=e.mode,this.http.get(this.file.dataUrl,{responseType:"text"}).subscribe(t=>this.content=t)):this.file.size<=this.maxSize?this.http.get(this.file.dataUrl,{responseType:"text"}).subscribe(t=>this.content=t):this.content=this.layout.translateString("This file contains binary data that can not be read")}ngAfterViewInit(){this.mode&&(this.ref.codeMirror.autoLoadMode(this.ref.textArea,this.mode),this.ref.textArea.setOption("mode",this.mode),this.options.lineNumbers=!0)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["app-files-viewer-text"]],viewQuery:function(t,n){if(t&1&&ae(A1,7),t&2){let o;G(o=U())&&(n.ref=o.first)}},inputs:{currentHeight:"currentHeight",file:"file"},decls:3,vars:4,consts:[["CodeMirror",""],[3,"ngModel","options"]],template:function(t,n){t&1&&(c(0,"div"),m(1,"ngx-codemirror",1,0),d()),t&2&&(k("height",n.currentHeight,"px"),a(),h("ngModel",n.content)("options",n.options))},dependencies:[Tn,Re,Fe,Oe],styles:[`.CodeMirror{height:100%;font-size:.7rem}
|
|
6
|
+
`],encapsulation:2});let s=i;return s})();function N1(s,i){if(s&1&&(c(0,"div",10),m(1,"img",11),d()),s&2){let r=f(2);k("height",r.currentHeight,"px"),a(),k("max-height",r.currentHeight,"px"),h("src",r.currentFile.dataUrl,ce)}}function T1(s,i){if(s&1&&m(0,"app-files-viewer-pdf",7),s&2){let r=f(2);h("currentHeight",r.currentHeight)("fileUrl",r.currentFile.dataUrl)}}function P1(s,i){if(s&1&&m(0,"app-files-viewer-media",7),s&2){let r=f(2);h("currentHeight",r.currentHeight)("fileUrl",r.currentFile.dataUrl)}}function k1(s,i){if(s&1&&m(0,"app-files-viewer-document",8),s&2){let r=f(2);h("currentHeight",r.currentHeight)("file",r.currentFile)("mode",r.mode)}}function I1(s,i){if(s&1&&m(0,"app-files-viewer-text",9),s&2){let r=f(2);h("currentHeight",r.currentHeight)("file",r.currentFile)}}function F1(s,i){if(s&1&&(c(0,"div",5),v(1,N1,2,5,"div",6)(2,T1,1,2,"app-files-viewer-pdf",7)(3,P1,1,2,"app-files-viewer-media",7)(4,k1,1,3,"app-files-viewer-document",8)(5,I1,1,2,"app-files-viewer-text",9),d()),s&2){let r,e=f();a(),C((r=e.shortMime)==="image"?1:r==="pdf"?2:r==="media"?3:r==="document"?4:5)}}var In=(()=>{let i=class i{constructor(){this.layout=p(T),this.subscription=this.layout.resizeEvent.subscribe(()=>this.onResize()),this.offsetTop=42}ngOnInit(){this.onResize()}ngOnDestroy(){this.subscription.unsubscribe()}onClose(){this.layout.closeDialog(null,this.currentFile.id)}onMinimize(){this.layout.minimizeDialog(this.currentFile.id,{name:this.currentFile.name,mimeUrl:this.currentFile.mimeUrl})}onResize(){this.currentHeight=window.innerHeight-this.offsetTop}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["app-files-viewer-dialog"]],inputs:{currentFile:"currentFile",mode:"mode",shortMime:"shortMime"},decls:8,vars:2,consts:[[1,"modal-header"],[1,"modal-title"],[1,"fas","fa-eye"],["aria-label","Minimize","type","button",1,"btn-minimize","btn-minimize-white",3,"click"],["aria-label","Close","type","button",1,"btn-close","btn-close-white","ms-3",3,"click"],[1,"modal-body"],[1,"d-flex","justify-content-center",3,"height"],[3,"currentHeight","fileUrl"],[3,"currentHeight","file","mode"],[3,"currentHeight","file"],[1,"d-flex","justify-content-center"],["alt","",1,"img-fluid","align-self-center",3,"src"]],template:function(t,n){t&1&&(c(0,"div",0)(1,"h4",1),m(2,"i",2),c(3,"span"),u(4),d()(),c(5,"button",3),g("click",function(){return n.onMinimize()}),d(),c(6,"button",4),g("click",function(){return n.onClose()}),d()(),v(7,F1,6,1,"div",5)),t&2&&(a(4),A(n.currentFile.name),a(3),C(n.currentFile?7:-1))},dependencies:[An,Ln,kn,xn],encapsulation:2});let s=i;return s})();var Dt=class{constructor(i){Object.assign(this,i),this.mimeUrl=Le(this.mime),this.setInfos()}fallBackMimeUrl(){this.mimeUrl=$e}setInfos(){let i=this.path.split("/")[0],r=this.path.split("/")[1]===be.PERSONAL;this.showedPath=this.path.split("/").slice(r?2:1).join("/"),this.iconClass=i===Q.SHARES?"purple":"primary",this.icon=i===Q.SHARES?$.SHARES:r?$.PERSONAL:$.SPACES}};var zt=class{constructor(i){this.inTrash=!1,Object.assign(this,i),this.mimeUrl=Le(this.mime),this.iconClass=this.shareId?"purple":"primary",this.icon=this.shareId?$.SHARES:this.spaceId?$.SPACES:$.PERSONAL,this.showedPath=this.path.split("/").slice(this.path.split("/")[1]===be.PERSONAL?2:1).join("/"),this.inTrash=this.path.split("/")[0]===Q.TRASH}fallBackMimeUrl(){this.mimeUrl=$e}};var Ae=(function(s){return s[s.PENDING=0]="PENDING",s[s.SUCCESS=1]="SUCCESS",s[s.ERROR=2]="ERROR",s})(Ae||{}),Lt=class{constructor(i,r,e,t){this.props={},this.id=i,this.type=r,this.path=e,this.name=t,(r===M.COPY||r===M.MOVE||r===M.DOWNLOAD)&&(this.props={progress:1},r!==M.DOWNLOAD&&(this.props.src={name:t,path:e}))}};var Fn=(()=>{let i=class i{constructor(){this.http=p(ve),this.layout=p(T),this.store=p(Ce),this.onDone={[M.DELETE]:{fileEvent:{delete:!0},msg:{success:"Deletion done",failed:"Deletion failed"}},[M.MOVE]:{fileEvent:{delete:!0,reloadFocusOnDst:!0},msg:{success:"Move done",failed:"Move failed"}},[M.COPY]:{msg:{success:"Copy done",failed:"Copy failed"},fileEvent:{reload:!0,focus:!0}},[M.DOWNLOAD]:{fileEvent:{reload:!0,focus:!0},msg:{success:"Download done",failed:"Download failed"}},[M.UPLOAD]:{fileEvent:{reload:!0,focus:!0},msg:{success:"Upload done",failed:"Upload failed"}},[M.COMPRESS]:{fileEvent:{reload:!0,focus:!0},msg:{success:"Compression done",failed:"Compression failed"}},[M.DECOMPRESS]:{fileEvent:{reload:!0,focus:!0},msg:{success:"Decompression done",failed:"Decompression failed"}}},this.watcher=null,this.watch=Ye(1e3,1e3).pipe(Jt(()=>this.doWatch())),this.loadAll()}addTask(e){e.status===Ae.PENDING?(this.store.filesActiveTasks.next([e,...this.store.filesActiveTasks.getValue()]),this.startWatch()):this.store.filesEndedTasks.next([e,...this.store.filesEndedTasks.getValue()])}createUploadTask(e,t,n){let o=new Lt(Ai(),M.UPLOAD,e,t);return o.status=Ae.PENDING,o.startedAt=zi(null,!0),o.props={progress:1,size:0,totalSize:n},this.store.filesActiveTasks.next([o,...this.store.filesActiveTasks.getValue()]),this.layout.showRSideBarTab(He.TASKS,!0),o}removeAll(){this.http.delete(at).subscribe({next:()=>this.clearEndedTasks(),error:e=>console.error(e)})}remove(e){this.http.delete(`${at}/${e.id}`).subscribe({next:()=>this.deleteTask(e.id,!1),error:t=>console.error(t)})}updateTask(e){if(e.status===Ae.PENDING){let t=this.findTask(e.id,!0);Object.assign(t,e)}else this.deleteTask(e.id,!0),this.addTask(e),this.taskDone(e)}loadAll(){this.http.get(at).subscribe({next:e=>e.forEach(t=>this.addTask(t)),error:e=>console.error(e)})}doWatch(){this.store.filesActiveTasks.getValue().length?this.fetchActiveTasks():this.stopWatch()}startWatch(){(!this.watcher||this.watcher.closed)&&(this.layout.showRSideBarTab(He.TASKS,!0),this.watcher=this.watch.subscribe())}stopWatch(){(this.watcher||!this.watcher.closed)&&(setTimeout(()=>this.layout.hideRSideBarTab(He.TASKS),3e3),this.watcher.unsubscribe())}fetchActiveTasks(){for(let e of this.store.filesActiveTasks.getValue().filter(t=>t.type!==M.UPLOAD))this.http.get(`${at}/${e.id}`).subscribe({next:t=>this.updateTask(t),error:t=>{t.status===404&&(e.result=t.error.message,e.status=Ae.ERROR,this.updateTask(e)),console.warn(t)}})}findTask(e,t){return t?this.store.filesActiveTasks.getValue().find(n=>n.id===e):this.store.filesEndedTasks.getValue().find(n=>n.id===e)}deleteTask(e,t){t?this.store.filesActiveTasks.next(this.store.filesActiveTasks.getValue().filter(n=>n.id!==e)):this.store.filesEndedTasks.next(this.store.filesEndedTasks.getValue().filter(n=>n.id!==e))}taskDone(e){if(e.type in this.onDone){if(this.onDone[e.type].fileEvent){let t=j(R({},this.onDone[e.type].fileEvent),{status:e.status});e.type===M.COPY||e.type===M.MOVE?(t.filePath=e.props.src.path,t.fileName=e.props.src.name,t.fileDstPath=e.path):(t.filePath=e.path,t.fileName=e.name,e.type===M.COMPRESS&&(t.archiveId=e.props.compressInDirectory===!1?e.id:null)),this.store.filesOnEvent.next(t)}e.status===Ae.SUCCESS?e.type===M.DELETE?this.removeDeletedChildTasks(e):this.layout.sendNotification("info",this.onDone[e.type].msg.success,e.name):this.layout.sendNotification("error",this.onDone[e.type].msg.failed,e.name,{error:{message:e.result}})}}removeDeletedChildTasks(e){if(e.path.startsWith(Q.SHARES))this.remove(e);else if(e.path.startsWith(Q.TRASH)){for(let t of this.store.filesEndedTasks.getValue().filter(n=>n.id!==e.id&&n.type===M.DELETE&&n.path.startsWith(Q.FILES))){let n=e.path.replace(Q.TRASH,Q.FILES);new RegExp(`^${ji(`${n}/${e.name}`)}(/|$)`).test(`${t.path}/${t.name}`)&&this.remove(t)}this.remove(e)}}clearEndedTasks(){this.store.filesEndedTasks.next([])}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=B({token:i,factory:i.\u0275fac,providedIn:"root"});let s=i;return s})();var On=(()=>{let i=class i{constructor(){this.treeNodeSelected=null,this.treeCopyMoveOn=new We,this.clipboardAction="copyPaste",this.http=p(ve),this.layout=p(T),this.store=p(Ce),this.sanitizer=p(ft),this.filesTasksService=p(Fn)}getTreeNode(e,t=!1){return Tt(this.http.get(`${ki}/${e}`,{params:t?new rt().set("showFiles",t):null}))}addToClipboard(e){if(e.length)if(!this.store.filesClipboard.getValue().length)this.layout.showRSideBarTab(He.CLIPBOARD,!0),this.store.filesClipboard.next(e);else{let t=e.filter(n=>this.store.filesClipboard.getValue().indexOf(n)===-1);t.length&&this.store.filesClipboard.next([...t,...this.store.filesClipboard.getValue()])}}removeFromClipboard(e){this.store.filesClipboard.next(this.store.filesClipboard.getValue().filter(t=>t.id!==e.id))}clearClipboard(){this.store.filesClipboard.next([])}onPasteClipboard(e){let t=e||this.clipboardAction;if(this.store.filesClipboard.getValue().length){let n=this.currentRoute;this.copyMove([...this.store.filesClipboard.getValue()],n,t==="copyPaste"?M.COPY:M.MOVE),this.clearClipboard()}}download(e){Ot(e.dataUrl)}copyMove(e,t,n){let o=n===M.MOVE;for(let l of e){o&&(l.isBeingDeleted=!0);let z={dstDirectory:t};this.http.request(n,l.taskUrl,{body:z}).subscribe({next:x=>this.filesTasksService.addTask(x),error:x=>{o&&(l.isBeingDeleted=!1),this.layout.sendNotification("error",n==="move"?"Move failed":"Copy failed",l.name,x)}})}}rename(e,t){if(!this.isValidName(t))return;let o={dstDirectory:e.path.split("/").slice(0,-1).join("/")||".",dstName:t};this.http.request(M.MOVE,e.dataUrl,{body:o}).subscribe({next:l=>{e.rename(l.name),e.isEditable=!1},error:l=>this.layout.sendNotification("error","Rename",e.name,l)})}delete(e){for(let t of e)t.isBeingDeleted=!0,this.http.delete(t.taskUrl).subscribe({next:n=>this.filesTasksService.addTask(n),error:n=>{t.isBeingDeleted=!1,this.layout.sendNotification("error","Deletion failed",t.name,n)}})}make(e,t,n=null,o=!1){if(!this.isValidName(t))return;n=n||this.currentRoute;let l={type:e};if(o)return this.http.post(`${jt}/${n}/${t}`,l);this.http.post(`${jt}/${n}/${t}`,l).subscribe({next:()=>this.store.filesOnEvent.next({filePath:n,fileName:t,focus:!0,reload:!0}),error:z=>this.layout.sendNotification("error","Creation failed",t,z)})}compress(e){let t=this.currentRoute;this.http.post(`${pn}/${t}/${e.name}.${e.extension}`,e).subscribe({next:n=>this.filesTasksService.addTask(n),error:n=>this.layout.sendNotification("error","Compression failed",e.name,n)})}decompress(e){let t=this.currentRoute;this.http.post(`${mn}/${t}/${e.name}`,null).subscribe({next:n=>this.filesTasksService.addTask(n),error:n=>this.layout.sendNotification("error","Compression failed",e.name,n)})}downloadFromUrl(e,t){if(!this.isValidName(t))return;let n=this.currentRoute,o={url:e};this.http.post(`${un}/${n}/${t}`,o).subscribe({next:l=>this.filesTasksService.addTask(l),error:l=>this.layout.sendNotification("error","Download failed",e,l)})}downloadTaskArchive(e){Ot(`${gn}/${e}`)}loadRecents(e){this.http.get(vn,{params:new rt().set("limit",e)}).pipe(Ke(t=>t.map(n=>new zt(n)))).subscribe({next:t=>{this.store.filesRecents.update(n=>[...t,...n.slice(e)])},error:t=>this.layout.sendNotification("error","Files","Unable to load",t)})}search(e){return this.http.request("search",Cn,{body:e}).pipe(Ke(t=>t.map(n=>(n.content&&(n.content=this.sanitizer.bypassSecurityTrustHtml(n.content)),new Dt(n)))))}openViewerDialog(e,t){return Me(this,null,function*(){this.http.head(t.dataUrl).subscribe({next:()=>Me(this,null,function*(){let n;try{n=yield this.viewerHook(e,t)}catch{this.download(t);return}this.layout.openDialog(In,"full",{id:t.id,initialState:{currentFile:t,mode:e,shortMime:n}})}),error:n=>{console.error(n.message),this.layout.sendNotification("error","Unable to open document",t?.name)}})})}viewerHook(e,t){return Me(this,null,function*(){let n=yield this.getOnlyOfficeStatus();if(t.shortMime==="document"&&!n){if(t.mime.startsWith("text-"))return"text";throw new Error("Feature not enabled")}return t.shortMime==="pdf"&&e==="edit"&&n?"document":t.shortMime})}getOnlyOfficeStatus(){return Me(this,null,function*(){if(this.store.filesOnlyOffice().enabled!==null)return this.store.filesOnlyOffice().enabled;try{let e=yield Tt(this.http.get(yn));return this.store.filesOnlyOffice.set(e),e.enabled}catch{let e={enabled:!1};return this.store.filesOnlyOffice.set(e),e.enabled}})}isValidName(e){try{return Di(e),!0}catch(t){return this.layout.sendNotification("error","Rename",`${this.layout.translateString(t.message)} : ${wi}`),!1}}};i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=B({token:i,factory:i.\u0275fac,providedIn:"root"});let s=i;return s})();var O1=["tree"];function R1(s,i){if(s&1&&(c(0,"span",8),u(1),d()),s&2){let r=f(2);a(),A(r.errorMsg)}}function V1(s,i){s&1&&(c(0,"span",9),u(1,"Navigation Tree"),d())}function H1(s,i){if(s&1){let r=D();c(0,"div",3)(1,"button",6),g("click",function(){y(r);let t=f();return S(t.onRefresh())}),m(2,"fa-icon",7),d(),v(3,R1,2,1,"span",8)(4,V1,2,0,"span",9),d()}if(s&2){let r=f();a(2),h("icon",r.icons.faArrowRotateRight),a(),C(r.errorMsg?3:4)}}function B1(s,i){if(s&1&&(c(0,"span")(1,"span"),u(2),d()()),s&2){let r=f(2);a(2),A(r.store.filesSelection()[0].name)}}function G1(s,i){if(s&1&&(c(0,"span"),m(1,"fa-icon",18),d()),s&2){let r=f(2);a(),h("icon",r.icons.faQuestion)}}function U1(s,i){if(s&1&&(c(0,"span")(1,"span"),u(2),d(),u(3,"\xA0"),c(4,"span",9),u(5,"items"),d()()),s&2){let r=f(2);a(2),A(r.store.filesSelection().length)}}function $1(s,i){if(s&1){let r=D();c(0,"div",10)(1,"div",11)(2,"span",12)(3,"span",9),u(4,"Source"),d(),u(5,":"),d(),v(6,B1,3,1,"span")(7,G1,2,1,"span")(8,U1,6,1,"span"),d(),c(9,"div",13)(10,"span",12)(11,"span",9),u(12,"Destination"),d(),u(13,":"),d(),c(14,"span"),u(15),d()(),c(16,"div",14)(17,"button",15),g("click",function(){y(r);let t=f();return S(t.actionMove())}),m(18,"fa-icon",7),u(19," Move "),d(),c(20,"button",15),g("click",function(){y(r);let t=f();return S(t.actionCopy())}),m(21,"fa-icon",7),u(22," Copy "),d(),c(23,"button",16),g("click",function(){y(r);let t=f();return S(t.actionCancel())}),m(24,"fa-icon",7),u(25," Cancel "),d()()(),m(26,"hr",17)}if(s&2){let r,e=f();a(6),C((r=e.store.filesSelection().length)===1?6:r===0?7:8),a(9),A((e.selection==null?null:e.selection.data.name)||""),a(2),h("disabled",!e.selection||!e.store.filesSelection().length||!e.srcAllowed||!e.dstAllowed),a(),h("icon",e.icons.faArrowsAlt),a(2),h("disabled",!e.selection||!e.store.filesSelection().length||!e.dstAllowed),a(),h("icon",e.icons.faClone),a(3),h("icon",e.icons.faTimes)}}function j1(s,i){if(s&1){let r=D();c(0,"div",19),g("click",function(t){let n=y(r).$implicit;return S(n.mouseAction("click",t))})("appTap",function(t){let n=y(r).$implicit;return S(n.mouseAction("dblClick",t))}),m(1,"tree-node-expander",20),c(2,"div",21),m(3,"tree-node-content",22),d()()}if(s&2){let r=i.index,e=i.$implicit;k("padding-left",e.getNodePadding()),N("tree-selected",e.isActive)("tree-disabled",!e.data.enabled),a(),N("toggle-children-file",!e.data.isDir)("toggle-children-shared",e.data.inShare),h("node",e),a(),N("node-content-wrapper-active",e.isActive),a(),h("index",r)("node",e)}}function q1(s,i){if(s&1&&(c(0,"span"),m(1,"fa-icon",23),d()),s&2){let r=f();a(),h("icon",r.icons.faSpinner)}}var Rn=(()=>{let i=class i{constructor(){this.selected=new L,this.showFiles=!1,this.allowShares=!0,this.allowSpaces=!0,this.enableCopyMove=!0,this.enableNavigateTo=!0,this.sideBarHeader=!0,this.resizeOffset=80,this.toggleNodesAtStartup=!1,this.store=p(Ce),this.icons={faArrowRotateRight:Mi,faArrowsAlt:bi,faClone:pi,faTimes:yi,faFolder:vi,faFile:Mt,faQuestion:ui,faAnglesRight:_i,faSpinner:mt},this.options={actionMapping:{mouse:{click:(e,t,n)=>this.onSelect(e,t,n),dblClick:(e,t)=>this.onOpen(t),expanderClick:()=>null}},animateExpand:!1,levelPadding:10,useVirtualScroll:!1,nodeHeight:30,dropSlotHeight:0,allowDrag:!1,allowDrop:!1,getChildren:e=>this.getTreeNode(e)},this.srcAllowed=!0,this.dstAllowed=!0,this.errorMsg=null,this.layout=p(T),this.router=p(ai),this.user=p(Ct),this.filesService=p(On),this.copyMoveOnHeight=80,this.subscriptions=[],this.preventDblClick=!1,this._copyMoveOn=!1,this.enableCopyMove&&this.subscriptions.push(fi(this.store.filesSelection).subscribe(()=>this.checkAllowed(this.selection)))}get copyMoveOn(){return this._copyMoveOn}set copyMoveOn(e){this._copyMoveOn!==e&&(this._copyMoveOn=e,e?this.resizeOffset+=this.copyMoveOnHeight:this.resizeOffset-=this.copyMoveOnHeight,setTimeout(()=>this.layout.resizeEvent.next(),0))}get selection(){return this.filesService.treeNodeSelected}set selection(e){this.filesService.treeNodeSelected=e,e&&([0,-1,-2].indexOf(e.data.id)===-1?this.selected.emit(e.data):this.selected.emit(null))}ngOnInit(){this.enableCopyMove&&this.subscriptions.push(this.filesService.treeCopyMoveOn.subscribe(()=>this.onCopyMove())),this.initRoot(),setTimeout(()=>this.focusLastNode(),100)}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe())}onRefresh(){this.tree.treeModel.activeNodes.length?this.tree.treeModel.activeNodes.forEach(e=>{e.loadNodeChildren().then(()=>this.tree.treeModel.update())}):(this.user.userHavePermission(ze.PERSONAL_SPACE)&&this.tree.treeModel.getNodeById(0).loadNodeChildren().then(()=>this.tree.treeModel.update()),this.user.userHavePermission(ze.SPACES)&&this.tree.treeModel.getNodeById(-1).loadNodeChildren().then(()=>this.tree.treeModel.update()),this.allowShares&&this.user.userHavePermission(ze.SHARES)&&this.tree.treeModel.getNodeById(-2).loadNodeChildren().then(()=>this.tree.treeModel.update()))}actionCancel(){this.copyMoveOn=!1,this.errorMsg=null,this.srcAllowed=!0,this.dstAllowed=!0}actionCopy(){this.filesService.copyMove(this.store.filesSelection(),this.selection.data.path,M.COPY),this.copyMoveOn=!1}actionMove(){this.filesService.copyMove(this.store.filesSelection(),this.selection.data.path,M.MOVE),this.copyMoveOn=!1}initRoot(){if(this.nodes=[],this.user.userHavePermission(ze.PERSONAL_SPACE)){let e={id:0,name:this.layout.translateString(gt.PERSONAL_FILES),path:`${Ue.FILES}/${be.PERSONAL}`,isDir:!0,inShare:!1,mime:ye,quotaIsExceeded:this.store.user.getValue().quotaIsExceeded,enabled:!0,permissions:Ti,children:null,hasChildren:!0,isExpanded:!1};this.checkToggleNodeAtStartup(e,!0)}if(this.allowSpaces&&this.user.userHavePermission(ze.SPACES)){let e={id:-1,name:this.layout.translateString(gt.SPACES),path:Ue.SPACES,isDir:!0,mime:ye,inShare:!1,hasChildren:!0,quotaIsExceeded:!1,enabled:!0,permissions:"",children:null,isExpanded:!1};this.checkToggleNodeAtStartup(e)}if(this.allowShares&&this.user.userHavePermission(ze.SHARES)){let e={id:-2,name:this.layout.translateString(gt.SHARES),path:Ue.SHARES,isDir:!0,mime:ye,inShare:!0,hasChildren:!0,quotaIsExceeded:!1,enabled:!0,permissions:"",children:null,isExpanded:!1};this.checkToggleNodeAtStartup(e)}}checkToggleNodeAtStartup(e,t=!1){this.toggleNodesAtStartup?this.getTreeNode(e).then(n=>{e.children=n,t?this.nodes.unshift(e):this.nodes.push(e),this.tree.treeModel.update(),this.toggleExpand(this.tree,this.tree.treeModel.getNodeById(e.id),null)}):(t?this.nodes.unshift(e):this.nodes.push(e),this.tree.treeModel.update())}focusLastNode(){this.selection&&(this.selection=this.tree.treeModel.getNodeById(this.selection.data.id),this.selection&&P.ACTIVATE(this.tree,this.selection,null))}getTreeNode(e){return this.filesService.getTreeNode(e?.data?.path||e?.path||e,this.showFiles)}collapseChildren(e,t){for(let n of t)[0,-1,-2].indexOf(n.id)===-1&&n.id!==e.id&&(n.data.isExpanded=!1,n.collapse())}toggleExpand(e,t,n){P.TOGGLE_EXPANDED(e,t,n),t.data.isExpanded=!!t.data.isExpanded}onOpen(e){if(!this.copyMoveOn&&this.enableNavigateTo&&e.data.enabled){clearTimeout(this.preventTimer),this.preventDblClick=!0;let t=e.data.path.split("/");t[0]!==Ue.SPACES&&t.unshift(Ue.SPACES),this.router.navigate(t).catch(console.error)}}onSelect(e,t,n){if(!t.data.enabled){this.layout.sendNotification("warning",t.data.name,`${t.data.inShare?"Share":"Space"} is disabled`);return}P.ACTIVATE(e,t,n),this.preventTimer=setTimeout(()=>{this.checkAllowed(t),this.selection=t,this.preventDblClick||t.hasChildren&&(this.collapseChildren(t,t.parent.children),this.toggleExpand(e,t,n)),this.preventDblClick=!1},200)}checkAllowed(e){if(this.copyMoveOn){if(this.store.filesSelection().length)for(let t of this.store.filesSelection()){if(t.root?.alias){this.errorMsg="You can not move an anchored file",this.srcAllowed=!1,this.dstAllowed=!0;return}if(t.lock&&t.lock.ownerLogin!==this.store.user.getValue().login){this.errorMsg="You can not move a locked file",this.srcAllowed=!1,this.dstAllowed=!0;return}}if(e){if([-1,-2].indexOf(e.data.id)>-1){this.errorMsg=null,this.srcAllowed=!0,this.dstAllowed=!1;return}else if(e.data.permissions.indexOf(Ge.ADD)===-1){this.errorMsg="You are not allowed to write here",this.srcAllowed=!0,this.dstAllowed=!1;return}else if(e.data.quotaIsExceeded){this.errorMsg="No more space available",this.srcAllowed=!0,this.dstAllowed=!1;return}}this.errorMsg=null,this.srcAllowed=!0,this.dstAllowed=!0}}onCopyMove(){this.onRefresh(),this.copyMoveOn=!0,this.checkAllowed(this.selection)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["app-files-tree"]],viewQuery:function(t,n){if(t&1&&ae(O1,7),t&2){let o;G(o=U())&&(n.tree=o.first)}},inputs:{showFiles:"showFiles",allowShares:"allowShares",allowSpaces:"allowSpaces",enableCopyMove:"enableCopyMove",enableNavigateTo:"enableNavigateTo",sideBarHeader:"sideBarHeader",resizeOffset:"resizeOffset",toggleNodesAtStartup:"toggleNodesAtStartup"},outputs:{selected:"selected"},decls:9,vars:7,consts:[["tree",""],["treeNodeWrapperTemplate",""],["loadingTemplate",""],[1,"sidebar-component-title"],["appAutoResize","",3,"overFlowX","resizeOffset","useMaxHeight"],[3,"nodes","options"],[1,"btn","btn-xs","btn-secondary",3,"click"],[3,"icon"],["l10nTranslate","",1,"text-danger","fs-xxs","p-2"],["l10nTranslate",""],[1,"px-2","pt-2","pb-0","fs-xs"],[1,"text-start","text-truncate"],["l10nTranslate","",1,"fs-xs","fw-bold","me-2"],[1,"text-start","text-truncate","mt-1"],[1,"d-flex","justify-content-between","mt-2"],["type","button","l10nTranslate","",1,"btn","btn-xxs","btn-primary",3,"click","disabled"],["type","button","l10nTranslate","",1,"btn","btn-xxs","btn-secondary",3,"click"],[1,"mx-0","mt-2","mb-0"],[1,"fw-bold","me-1",3,"icon"],[1,"node-wrapper",3,"click","appTap"],[3,"node"],[1,"node-content-wrapper"],[3,"index","node"],["animation","spin",1,"fw-bold",3,"icon"]],template:function(t,n){t&1&&(v(0,H1,5,2,"div",3),v(1,$1,27,7),c(2,"div",4)(3,"tree-root",5,0),K(5,j1,4,15,"ng-template",null,1,nt)(7,q1,2,1,"ng-template",null,2,nt),d()()),t&2&&(C(n.sideBarHeader?0:-1),a(),C(n.copyMoveOn?1:-1),a(),h("overFlowX","auto")("resizeOffset",n.resizeOffset)("useMaxHeight",!1),a(),h("nodes",n.nodes)("options",n.options))},dependencies:[Et,fn,hn,Gt,Bt,ne,se,Oi],encapsulation:2});let s=i;return s})();function W1(s,i){if(s&1&&(c(0,"span"),m(1,"fa-icon",10),u(2),te(3,"pathSlice"),d()),s&2){let r=f();a(),h("icon",r.selection.isDir?r.icons.faFolderClosed:r.icons.faFile),a(),q(" ",ke(3,2,r.selection.path,-1)," ")}}function K1(s,i){s&1&&(c(0,"span",2),u(1,"Select a file"),d())}function Y1(s,i){if(s&1&&(c(0,"span",7),u(1),d()),s&2){let r=f();a(),A(r.errorSelection)}}var Vn=(()=>{let i=class i{constructor(){this.currentRoots=[],this.submitEvent=new L,this.allowSpaces=!1,this.toggleNodesAtStartup=!0,this.mustHaveShareOutsidePermission=!1,this.layout=p(T),this.icons={faFile:Mt,faFolderClosed:Zi},this.errorSelection=null,this.selection=null}onSelect(e){if(e){if(this.mustHaveShareOutsidePermission){if(e.permissions.indexOf(Ge.SHARE_OUTSIDE)===-1){this.errorSelection=this.layout.translateString("You do not have share permission"),this.selection=null;return}if(e.path.split("/").length<=2){this.errorSelection=this.layout.translateString("You can not share a space"),this.selection=null;return}}let t=e,n=this.currentRoots.find(o=>o.file.id===t.id);n?(this.errorSelection=this.layout.translateString("This item is already selected"),this.selection=null):(n=this.currentRoots.find(o=>t.path.startsWith(o.file.path)),n?(this.errorSelection=`${this.layout.translateString("Parent item is already selected")}: ${n.file.path}`,this.selection=null):(this.errorSelection=null,this.selection=t))}else this.selection=null,this.errorSelection=null}onSubmit(){this.submitEvent.emit({id:this.selection.id,name:this.selection.name,path:this.selection.path,mime:this.selection.mime,permissions:this.selection.permissions}),this.layout.closeDialog()}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["app-files-tree-dialog"]],inputs:{currentRoots:"currentRoots",allowSpaces:"allowSpaces",toggleNodesAtStartup:"toggleNodesAtStartup",mustHaveShareOutsidePermission:"mustHaveShareOutsidePermission"},outputs:{submitEvent:"submitEvent"},decls:13,vars:11,consts:[[1,"modal-header"],[1,"modal-title"],["l10nTranslate",""],["aria-label","Close","type","button",1,"btn-close","btn-close-white",3,"click"],[1,"modal-body","py-2","px-0"],[3,"selected","enableNavigateTo","enableCopyMove","showFiles","allowShares","allowSpaces","sideBarHeader","toggleNodesAtStartup","resizeOffset"],[1,"modal-footer"],[1,"me-auto","fs-sm","text-danger","text-truncate"],["data-dismiss","modal","type","button","l10nTranslate","",1,"btn","btn-sm","btn-secondary",3,"click"],["type","button","l10nTranslate","",1,"btn","btn-sm","btn-primary",3,"click","disabled"],[3,"icon"]],template:function(t,n){t&1&&(c(0,"div",0)(1,"h4",1),v(2,W1,4,5,"span")(3,K1,2,0,"span",2),d(),c(4,"button",3),g("click",function(){return n.layout.closeDialog()}),d()(),c(5,"div",4)(6,"app-files-tree",5),g("selected",function(l){return n.onSelect(l)}),d()(),c(7,"div",6),v(8,Y1,2,1,"span",7),c(9,"button",8),g("click",function(){return n.layout.closeDialog()}),u(10,"Cancel"),d(),c(11,"button",9),g("click",function(){return n.onSubmit()}),u(12,"Confirm"),d()()),t&2&&(a(2),C(n.selection?2:3),a(4),h("enableNavigateTo",!1)("enableCopyMove",!1)("showFiles",!0)("allowShares",!1)("allowSpaces",n.allowSpaces)("sideBarHeader",!1)("toggleNodesAtStartup",n.toggleNodesAtStartup)("resizeOffset",200),a(2),C(n.errorSelection?8:-1),a(3),h("disabled",!n.selection))},dependencies:[ne,Rn,se,Ji],encapsulation:2});let s=i;return s})();function Q1(s,i){if(s&1){let r=D();c(0,"input",12),te(1,"translate"),g("ngModelChange",function(t){y(r);let n=f();return S(n.checkInput(t,!0))}),d()}if(s&2){let r=f();N("is-invalid",!r.rootNameIsValid),h("ngModel",r.newSpaceRoot.name)("placeholder",ke(1,4,"Name",r.locale.language))}}function X1(s,i){if(s&1&&(c(0,"span",9),u(1),d()),s&2){let r=f();a(),A(r.error)}}function Z1(s,i){if(s&1){let r=D();c(0,"button",13),g("click",function(){y(r);let t=f();return S(t.onSubmit())}),u(1,"Confirm"),d()}}function J1(s,i){if(s&1){let r=D();c(0,"button",14),g("click",function(){y(r);let t=f();return S(t.onValidRoot())}),u(1,"Check the location"),d()}}var Hn=(()=>{let i=class i{constructor(){this.currentRoots=[],this.submitEvent=new L,this.withRootName=!0,this.locale=p(Ve),this.layout=p(T),this.icons={faFolderClosed:xi},this.newSpaceRoot={name:"",externalPath:""},this.rootNameIsValid=!1,this.rootPathIsValid=!1,this.rootIsValid=!1,this.spacesService=p(je)}ngOnInit(){this.withRootName||(this.rootNameIsValid=!0)}keyEnter(){this.rootIsValid?this.onSubmit():this.onValidRoot()}onValidRoot(){if(this.withRootName&&!this.newSpaceRoot.name||!this.newSpaceRoot.externalPath){this.error="Name and location are required";return}this.newSpaceRoot.externalPath[0]!=="/"&&(this.newSpaceRoot.externalPath="/"+this.newSpaceRoot.externalPath);for(let e of this.currentRoots){let t=e.externalPath[e.externalPath.length-1]==="/"?e.externalPath:`${e.externalPath}/`;if(this.newSpaceRoot.externalPath.startsWith(t)){this.rootPathIsValid=!1,this.error="Parent location already exists in files";return}}this.spacesService.checkSpaceRootPath(this.newSpaceRoot.externalPath).subscribe({next:()=>{this.rootPathIsValid=!0,this.rootNameIsValid=!0,this.rootIsValid=!0,this.error=null},error:e=>{this.rootPathIsValid=!1,this.error=e.error.message}})}onSubmit(){this.submitEvent.emit(this.newSpaceRoot),this.layout.closeDialog()}checkInput(e,t=!1){t?(this.newSpaceRoot.name=e,this.rootNameIsValid=!!e):(this.newSpaceRoot.externalPath=e,this.rootPathIsValid=!!e),this.rootIsValid&&(this.rootIsValid=!1)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["app-space-root-path-dialog"]],hostBindings:function(t,n){t&1&&g("keyup.enter",function(){return n.keyEnter()})},inputs:{currentRoots:"currentRoots",withRootName:"withRootName"},outputs:{submitEvent:"submitEvent"},decls:14,vars:13,consts:[[1,"modal-header","align-items-center"],[1,"modal-title"],[1,"me-2",3,"icon"],["l10nTranslate",""],["aria-label","Close","type","button",1,"btn-close","btn-close-white",3,"click"],[1,"modal-body","form-validation"],["appAutofocus","","type","text","required","",1,"form-control","form-control-sm","my-2",3,"ngModel","is-invalid","placeholder"],["appAutofocus","","type","text","required","",1,"form-control","form-control-sm","my-4",3,"ngModelChange","autoFocus","ngModel","placeholder"],[1,"modal-footer"],["l10nTranslate","",1,"me-auto","fs-sm","text-danger","text-truncate"],["type","button","l10nTranslate","",1,"btn","btn-sm","btn-primary"],["type","button","l10nTranslate","",1,"btn","btn-sm","btn-success"],["appAutofocus","","type","text","required","",1,"form-control","form-control-sm","my-2",3,"ngModelChange","ngModel","placeholder"],["type","button","l10nTranslate","",1,"btn","btn-sm","btn-primary",3,"click"],["type","button","l10nTranslate","",1,"btn","btn-sm","btn-success",3,"click"]],template:function(t,n){t&1&&(c(0,"div",0)(1,"h4",1),m(2,"fa-icon",2),c(3,"span",3),u(4,"Add an external location"),d()(),c(5,"button",4),g("click",function(){return n.layout.closeDialog()}),d()(),c(6,"div",5),v(7,Q1,2,7,"input",6),c(8,"input",7),te(9,"translate"),g("ngModelChange",function(l){return n.checkInput(l)}),d()(),c(10,"div",8),v(11,X1,2,1,"span",9),v(12,Z1,2,0,"button",10)(13,J1,2,0,"button",11),d()),t&2&&(a(2),h("icon",n.icons.faFolderClosed),a(5),C(n.withRootName?7:-1),a(),N("is-invalid",!n.rootPathIsValid),h("placeholder",ge("",ke(9,10,"Location",n.locale.language),": /home/sync-in/data"))("autoFocus",!n.withRootName)("ngModel",n.newSpaceRoot.externalPath),a(3),C(n.error?11:-1),a(),C(n.rootIsValid?12:13))},dependencies:[se,ne,Re,ut,Fe,pt,Oe,vt,hi],encapsulation:2});let s=i;return s})();var Bn=(()=>{let i=class i{constructor(){this.locale=p(Ve)}ngOnInit(){this.setFilePath()}ngOnChanges(){this.setFilePath()}setFilePath(){let e=this.share.file?Be(this.share.file.name,-1):"";e?this.fileName=e:this.share.parent?.id?this.fileName=this.share.parent.name:this.share instanceof ot&&this.share.externalPath&&(this.fileName=this.share.externalPath)}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["app-share-file-name"]],inputs:{share:"share"},features:[_e],decls:4,vars:2,consts:[[1,"d-flex","align-items-center"],["draggable","false","height","30","width","30","alt","",3,"error","src"],[1,"d-flex","flex-column","overflow-wrap-and-whitespace","ms-2"]],template:function(t,n){t&1&&(re(0,"div",0)(1,"img",1),Je("error",function(){return n.share.fallBackMimeUrl()}),oe(),re(2,"div",2),u(3),oe()()),t&2&&(a(),ee("src",n.share.mimeUrl,ce),a(2),q(" ",n.fileName," "))},encapsulation:2});let s=i;return s})();function es(s,i){if(s&1&&(c(0,"span"),u(1),d()),s&2){let r=f();a(),A(r.share.name)}}function ts(s,i){s&1&&(c(0,"span",3),u(1,"Create a new share"),d())}function is(s,i){if(s&1&&m(0,"fa-icon",4),s&2){let r=f();h("icon",r.icons.faSpinner)}}function ns(s,i){s&1&&(c(0,"h4",5)(1,"span",3),u(2,"Edit share"),d()())}function ss(s,i){if(s&1&&(m(0,"fa-icon",40),c(1,"span",41),u(2,"Settings"),d()),s&2){let r=f();h("icon",r.icons.faCog)}}function rs(s,i){if(s&1&&(c(0,"div",44)(1,"label",45),u(2,"Storage Usage"),d(),m(3,"app-storage-usage",46),d()),s&2){let r=f(2);a(3),h("item",r.share)}}function os(s,i){if(s&1){let r=D();c(0,"div",42)(1,"app-storage-quota",43),me("quotaChange",function(t){y(r);let n=f();return pe(n.share.storageQuota,t)||(n.share.storageQuota=t),S(t)}),d()(),v(2,rs,4,1,"div",44)}if(s&2){let r=f();a(),ue("quota",r.share.storageQuota),h("fullWidth",!0),a(),C(r.share.storageUsage?2:-1)}}function as(s,i){if(s&1){let r=D();c(0,"div")(1,"label",47),u(2,"Full-text search"),d(),c(3,"div",22)(4,"input",48),me("ngModelChange",function(t){y(r);let n=f();return pe(n.share.storageIndexing,t)||(n.share.storageIndexing=t),S(t)}),d(),c(5,"label",49),u(6),d()()()}if(s&2){let r=f();a(4),ue("ngModel",r.share.storageIndexing),a(2),q(" ",r.share.storageIndexing?"enabled":"disabled"," ")}}function ls(s,i){if(s&1&&(c(0,"div",15)(1,"label",50),u(2,"File"),d(),m(3,"app-share-file-name",51),d()),s&2){let r=f();a(3),h("share",r.share)}}function cs(s,i){if(s&1&&(c(0,"div",58)(1,"label",59),u(2,"Deactivation date"),d(),c(3,"div",60),u(4),te(5,"amDateFormat"),d()()),s&2){let r=f(2);a(4),A(ht(5,1,r.share.disabledAt))}}function ds(s,i){if(s&1&&(c(0,"div",32)(1,"div",52)(2,"label",53),u(3,"Creation date"),d(),c(4,"div",54),u(5),te(6,"amDateFormat"),d()(),c(7,"div",55)(8,"label",56),u(9,"Modification date"),d(),c(10,"div",57),u(11),te(12,"amDateFormat"),d()(),v(13,cs,6,3,"div",58),d()),s&2){let r=f();a(5),A(ht(6,3,r.share.createdAt)),a(6),A(ht(12,5,r.share.modifiedAt)),a(2),C(r.share.disabledAt&&!r.share.enabled?13:-1)}}function hs(s,i){if(s&1&&(m(0,"fa-icon",40),c(1,"span",61),u(2,"Members"),d(),c(3,"span"),u(4),d()),s&2){let r=f();h("icon",r.icons.faUsers),a(4),q("(",r.share.members.length,")")}}function fs(s,i){if(s&1&&(m(0,"fa-icon",40),c(1,"span",61),u(2,"Links"),d(),c(3,"span"),u(4),d()),s&2){let r=f();h("icon",r.icons.LINKS),a(4),q("(",r.share.links.length,")")}}function us(s,i){if(s&1){let r=D();c(0,"button",63),g("click",function(){y(r);let t=f(2);return S(t.confirmDeletion=!0)}),u(1," Remove "),d()}if(s&2){let r=f(2);h("disabled",r.confirmDeletion)}}function ps(s,i){if(s&1){let r=D();c(0,"button",66),g("click",function(){y(r);let t=f(3);return S(t.openAdminRootDialog())}),m(1,"fa-icon",40),u(2," External location "),d()}if(s&2){let r=f(3);a(),h("icon",r.icons.faUserShield)}}function ms(s,i){if(s&1){let r=D();c(0,"button",64),g("click",function(){y(r);let t=f(2);return S(t.openSelectRootDialog())}),m(1,"fa-icon",40)(2,"fa-icon",40),u(3," File "),d(),v(4,ps,3,1,"button",65)}if(s&2){let r=f(2);a(),h("icon",r.icons.faPlus),a(),h("icon",r.icons.SHARES),a(2),C(r.user.isAdmin?4:-1)}}function gs(s,i){if(s&1&&v(0,us,2,1,"button",62)(1,ms,5,3),s&2){let r=f();C(r.share.id?0:r.allowFilesOptions?1:-1)}}function vs(s,i){if(s&1){let r=D();c(0,"button",64),g("click",function(){y(r);let t=f();return S(t.openCreateLinkDialog())}),m(1,"fa-icon",40)(2,"fa-icon",40),u(3," Link "),d()}if(s&2){let r=f();a(),h("icon",r.icons.faPlus),a(),h("icon",r.icons.LINKS)}}var Gn=(()=>{let i=class i{constructor(){this.parentShareId=null,this.parentSpaceId=null,this.isSharesRepo=!1,this.inSharesList=!1,this.allowFilesOptions=!0,this.shareChange=new L,this.locale=p(Ve),this.layout=p(T),this.icons={SHARED:$.SHARED_WITH_OTHERS,SHARES:$.SHARES,LINKS:$.LINKS,faPlus:Si,faSpinner:mt,faUserShield:gi,faUsers:mi,faCog:Ci},this.allowedPermissions=[],this.confirmDeletion=!1,this.loading=!1,this.submitted=!1,this.userService=p(Ct),this.user=this.userService.user,this.sharesService=p(yt),this.linksService=p(St),this.spacesService=p(je)}ngOnInit(){this.share||([this.share,this.parentShareId]=this.sharesService.initShareFromFile(this.user,this.file,this.isSharesRepo,this.inSharesList)),this.allowedPermissions=Object.keys(this.share.hPerms)}searchMembers(e){let t={search:e,ignoreUserIds:[this.user.id,...this.share.parent?.ownerId?[this.share.parent.ownerId]:[],...this.share.members.filter(n=>n.isUser).map(n=>n.id)],ignoreGroupIds:this.share.members.filter(n=>n.isGroup).map(n=>n.id)};return this.userService.searchMembers(t,[Ge.SHARE_INSIDE])}openSelectRootDialog(){this.layout.openDialog(Vn,"xl",{initialState:{toggleNodesAtStartup:!1,allowSpaces:!0,mustHaveShareOutsidePermission:!0}}).content.submitEvent.pipe(Ne(1)).subscribe(t=>{let n=t.path.split("/"),o={id:t.id,name:t.name,path:Be(t.path,2),permissions:t.permissions,mime:t.mime,ownerId:n[1]===be.PERSONAL?this.user.id:null,inTrash:!1,isDir:t.mime===ye,space:{alias:n[1],name:n[1],root:{alias:"",name:""}}},l=j(R({},this.share),{file:o,externalPath:null});l.name=l.file.name,this.share=new ot(l),this.allowedPermissions=Object.keys(this.share.hPerms)})}openAdminRootDialog(){this.layout.openDialog(Hn,null,{initialState:{withRootName:!1}}).content.submitEvent.pipe(Ne(1)).subscribe(t=>{let n=j(R({},this.share),{file:null,externalPath:t.externalPath,name:t.externalPath.split("/").at(-1)});this.share=new ot(n),this.allowedPermissions=Object.keys(this.share.hPerms)})}openEditLinkDialog(e){this.linksService.editLinkDialog(e,this.share,Ii.SHARE)}openCreateLinkDialog(){this.linksService.createLinkDialog(this.share)}cantSubmit(){return this.submitted||!this.share.externalPath&&!this.share.file}onSubmit(){this.loading=!0,this.submitted=!0,this.confirmDeletion?(this.parentShareId?this.sharesService.deleteShareChild(this.parentShareId,this.share.id):this.parentSpaceId?this.spacesService.deleteSpaceShare(this.parentSpaceId,this.share.id):this.sharesService.deleteShare(this.share.id)).subscribe({next:()=>{this.loading=!1,this.shareChange.emit(["delete",this.share]),this.layout.closeDialog()},error:t=>{this.onError(),this.layout.sendNotification("error","Delete share",this.share.name,t)}}):this.share.id===0?this.sharesService.createShare(this.share).subscribe({next:e=>{this.loading=!1,this.share=e,this.shareChange.emit(["add",e]),this.layout.closeDialog()},error:e=>{this.onError(),this.layout.sendNotification("error","Create share",this.share.name,e)}}):(this.parentShareId?this.sharesService.updateShareChild(this.parentShareId,this.share.id,this.share):this.parentSpaceId?this.spacesService.updateSpaceShare(this.parentSpaceId,this.share):this.sharesService.updateShare(this.share)).subscribe({next:t=>{this.loading=!1,this.share=t,this.shareChange.emit(["update",t]),this.layout.closeDialog()},error:t=>{this.onError(),this.layout.sendNotification("error","Edit share",this.share.name,t)}})}onCancel(){this.confirmDeletion?this.confirmDeletion=!1:this.layout.closeDialog()}onError(){this.confirmDeletion=!1,this.submitted=!1,this.loading=!1}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["app-share-dialog"]],inputs:{share:"share",file:"file",parentShareId:"parentShareId",parentSpaceId:"parentSpaceId",isSharesRepo:"isSharesRepo",inSharesList:"inSharesList",allowFilesOptions:"allowFilesOptions"},outputs:{shareChange:"shareChange"},decls:61,vars:41,consts:[[1,"modal-header","align-items-center"],[1,"modal-title"],[1,"me-2",3,"icon"],["l10nTranslate",""],["animation","spin","size","sm",1,"ms-2",3,"icon"],[1,"modal-title","ms-auto"],["aria-label","Close","type","button",3,"click"],[1,"modal-body"],["type","pills",3,"justified"],[1,"my-3"],["customClass","tab-dialog form-validation",3,"selectTab"],["tabHeading",""],[1,"d-flex","col-12"],[1,"d-flex","flex-column","col-6","pe-2"],[2,"max-width","80%"],[1,"mb-3","px-0"],["for","name","l10nTranslate",""],["id","name","type","text","appAutofocus","","required","",3,"ngModelChange","ngModel"],["for","description","l10nTranslate",""],["id","description","type","text",1,"form-control","form-control-sm",3,"ngModelChange","ngModel"],[1,"d-flex","justify-content-between"],["for","switchStatus","l10nTranslate",""],[1,"d-flex","align-items-center","form-check","form-switch","cursor-pointer"],["id","switchStatus","type","checkbox","role","button",1,"form-check-input",3,"ngModelChange","ngModel"],["for","switchStatus","l10nTranslate","",1,"form-check-label","mb-0","ms-2"],[1,"col-6"],[1,"mb-3"],["for","from","l10nTranslate",""],["id","from",3,"share","showFullPath"],["for","permissions","l10nTranslate",""],[1,"d-flex"],["id","permissions",3,"permissions","replaceEmptyPermissions"],[1,"d-flex","d-none","d-lg-flex","mt-auto"],["customClass","tab-dialog",3,"selectTab"],[3,"membersChange","members","withPermissions","filterPermissions","allowedPermissions","searchFunction"],[3,"membersChange","members","filterPermissions","allowedPermissions","withPermissions","editFunction","hideInput"],[1,"modal-footer"],["type","button","l10nTranslate","",1,"btn","btn-sm","btn-success"],["data-dismiss","modal","type","button","l10nTranslate","",1,"btn","btn-sm","btn-secondary","ms-auto",3,"click"],["type","button","l10nTranslate","",3,"click","disabled"],[3,"icon"],["l10nTranslate","",1,"ms-2"],[1,"d-flex","flex-column","align-items-start","mb-3"],[1,"w-100",3,"quotaChange","quota","fullWidth"],[1,"d-flex","flex-column","mb-3"],["for","storage","l10nTranslate",""],["id","storage",3,"item"],["for","switchFullText","l10nTranslate",""],["id","switchFullText","type","checkbox","role","button",1,"form-check-input",3,"ngModelChange","ngModel"],["for","switchFullText","l10nTranslate","",1,"form-check-label","mb-0","ms-2"],["for","shareFilePath","l10nTranslate","",1,"no-select"],["id","shareFilePath",3,"share"],[1,"d-flex","flex-column","align-items-start","col-4","px-0"],["for","created","l10nTranslate",""],["id","created"],[1,"d-flex","flex-column","align-items-center","col-4","px-0"],["for","modified","l10nTranslate",""],["id","modified"],[1,"d-flex","flex-column","align-items-end","col-4","text-danger","px-0"],["for","disabled","l10nTranslate",""],["id","disabled"],["l10nTranslate","",1,"ms-2","me-1"],["type","button","l10nTranslate","",1,"btn","btn-sm","btn-danger",3,"disabled"],["type","button","l10nTranslate","",1,"btn","btn-sm","btn-danger",3,"click","disabled"],["type","button","l10nTranslate","",1,"btn","btn-sm","btn-success",3,"click"],["type","button","l10nTranslate","",1,"btn","btn-sm","btn-warning"],["type","button","l10nTranslate","",1,"btn","btn-sm","btn-warning",3,"click"]],template:function(t,n){t&1&&(c(0,"div",0)(1,"h4",1),m(2,"fa-icon",2),v(3,es,2,1,"span")(4,ts,2,0,"span",3),v(5,is,1,1,"fa-icon",4),d(),v(6,ns,3,0,"h4",5),c(7,"button",6),g("click",function(){return n.layout.closeDialog()}),d()(),c(8,"div",7)(9,"tabset",8),m(10,"hr",9),c(11,"tab",10),g("selectTab",function(){return n.tabView=null}),K(12,ss,3,1,"ng-template",11),c(13,"div",12)(14,"div",13)(15,"div",14)(16,"div",15)(17,"label",16),u(18," Share name "),d(),c(19,"input",17),me("ngModelChange",function(l){return pe(n.share.name,l)||(n.share.name=l),l}),d()(),c(20,"div",15)(21,"label",18),u(22," Description "),d(),c(23,"input",19),me("ngModelChange",function(l){return pe(n.share.description,l)||(n.share.description=l),l}),d()(),v(24,os,3,3),c(25,"div",20)(26,"div")(27,"label",21),u(28,"Share status"),d(),c(29,"div",22)(30,"input",23),me("ngModelChange",function(l){return pe(n.share.enabled,l)||(n.share.enabled=l),l}),d(),c(31,"label",24),u(32),d()()(),v(33,as,7,2,"div"),d()()(),c(34,"div",25),v(35,ls,4,1,"div",15),c(36,"div",26)(37,"label",27),u(38,"Shared from"),d(),m(39,"app-share-repository",28),d(),c(40,"div",26)(41,"label",29),u(42,"File permissions"),d(),c(43,"div",30),m(44,"app-file-permissions",31),d()(),v(45,ds,14,7,"div",32),d()()(),c(46,"tab",33),g("selectTab",function(){return n.tabView="members"}),K(47,hs,5,2,"ng-template",11),c(48,"div",9)(49,"app-user-search",34),me("membersChange",function(l){return pe(n.share.members,l)||(n.share.members=l),l}),d()()(),c(50,"tab",33),g("selectTab",function(){return n.tabView="links"}),K(51,fs,5,2,"ng-template",11),c(52,"div",9)(53,"app-user-search",35),me("membersChange",function(l){return pe(n.share.links,l)||(n.share.links=l),l}),d()()()()(),c(54,"div",36),v(55,gs,2,1),v(56,vs,4,2,"button",37),c(57,"button",38),g("click",function(){return n.onCancel()}),u(58,"Cancel"),d(),c(59,"button",39),g("click",function(){return n.onSubmit()}),u(60),d()()),t&2&&(a(2),h("icon",n.icons.SHARED),a(),C(n.share.id?3:4),a(2),C(n.loading?5:-1),a(),C(n.share.id?6:-1),a(),fe(ge("btn-close btn-close-white ",n.share.id?"ms-2":"ms-auto"," ms-2")),a(2),h("justified",!0),a(10),fe(ge("form-control form-control-sm ",n.share.name?"":"is-invalid")),ue("ngModel",n.share.name),a(4),ue("ngModel",n.share.description),a(),C(n.share.externalPath?24:-1),a(6),ue("ngModel",n.share.enabled),a(2),q(" ",n.share.enabled?"enabled":"disabled"," "),a(),C(n.share.externalPath?33:-1),a(2),C(n.share.file!=null&&n.share.file.name||n.share.externalPath?35:-1),a(4),h("share",n.share)("showFullPath",!0),a(5),h("permissions",n.share.hPerms)("replaceEmptyPermissions",!0),a(),C(n.share!=null&&n.share.id?45:-1),a(4),ue("members",n.share.members),h("withPermissions",!0)("filterPermissions",!0)("allowedPermissions",n.allowedPermissions)("searchFunction",n.searchMembers.bind(n)),a(4),ue("members",n.share.links),h("filterPermissions",!0)("allowedPermissions",n.allowedPermissions)("withPermissions",!0)("editFunction",n.openEditLinkDialog.bind(n))("hideInput",!0),a(2),C(n.tabView?-1:55),a(),C(n.tabView==="links"?56:-1),a(3),fe(ge("btn btn-sm ",n.confirmDeletion?"btn-danger":"btn-primary")),h("disabled",n.cantSubmit()),a(),q(" ",n.confirmDeletion?"Confirm deletion":"Confirm"," "))},dependencies:[se,ne,Ui,Bi,Hi,Gi,vt,di,ut,ci,Fe,pt,Re,Oe,$i,Ki,Bn,Xi,qi,Fi,Ri],encapsulation:2});let s=i;return s})();var At=class{constructor(i){this.isShareLink=!1,Object.assign(this,i),this.owner.avatarUrl=Ni(this.owner.login),this.isShareLink=this.type===Wi.LINK,this.setMimeUrl()}fallBackMimeUrl(){this.mimeUrl=$e}setMimeUrl(){!this.file||this.file.mime===ye?this.mimeUrl=Le(Yi):this.mimeUrl=Le(this.file.mime)}};var Un=s=>({$implicit:s}),Cs=(s,i)=>i.id;function bs(s,i){if(s&1&&m(0,"fa-icon",17),s&2){let r=f(3);h("icon",r.icons.LINKS)}}function ys(s,i){s&1&&he(0)}function Ss(s,i){if(s&1&&(c(0,"ul"),K(1,ys,1,0,"ng-container",10),d()),s&2){let r=f().$implicit;f(2);let e=it(15);a(),h("ngTemplateOutlet",e)("ngTemplateOutletContext",Pe(2,Un,r.children))}}function Ms(s,i){if(s&1){let r=D();c(0,"li")(1,"div",14),g("click",function(){let t=y(r).$implicit,n=f(2);return S(n.onSelect(t))})("dblclick",function(){y(r);let t=f(2);return S(t.openChildShare())}),c(2,"div",15)(3,"img",16),g("error",function(){let t=y(r).$implicit;return S(t.fallBackMimeUrl())}),d(),v(4,bs,1,1,"fa-icon",17),c(5,"span",18),u(6),d()(),c(7,"div",19)(8,"span",20),u(9),d(),m(10,"app-user-avatar",21),d()(),v(11,Ss,2,4,"ul"),d()}if(s&2){let r=i.$implicit,e=f(2);a(),N("selected",e.selected&&e.selected.id===r.id),a(2),h("src",r.mimeUrl,ce),a(),C(r.isShareLink?4:-1),a(2),A(r.name),a(3),A(r.owner.fullName),a(),h("user",r.owner)("height",26)("width",26),a(),C((r.children==null?null:r.children.length)>0?11:-1)}}function _s(s,i){if(s&1&&Xe(0,Ms,12,10,"li",null,Cs),s&2){let r=i.$implicit,e=f();Ze(e.toShares(r))}}function xs(s,i){s&1&&he(0)}var $2=(()=>{let i=class i{constructor(){this.fromAdmin=!1,this.sharesCountEvent=new L,this.layout=p(T),this.icons={SHARED:$.SHARED_WITH_OTHERS,LINKS:$.LINKS},this.loading=!1,this.childSharesLength=0,this.sharesService=p(yt),this.linksService=p(St),this.spacesService=p(je)}ngOnInit(){this.loadChildShares()}toShares(e){return e}loadChildShares(){this.loading=!0;let e;if(this.share)e=this.sharesService.listChildShares(this.share.id);else if(this.space)e=this.spacesService.listSpaceShares(this.space.id);else{console.error("share or space not defined");return}e.subscribe({next:t=>{this.childSharesLength=t.length,this.sharesCountEvent.emit(t.length),this.setShares(t.map(n=>new At(n))),this.loading=!1},error:t=>{this.childShares=[],this.childSharesLength=0,this.loading=!1,this.layout.sendNotification("error","Child shares",t.error.message)}})}onSelect(e){this.selected=e}openChildShare(){if(this.selected.isShareLink){let e;if(this.share)e=this.linksService.shareLinkChild(this.share.id,this.selected.id);else if(this.space)e=this.spacesService.getSpaceShareLink(this.space.id,this.selected.id);else{console.error("share or space not defined");return}e.subscribe({next:t=>{this.layout.openDialog(Qi,"md",{initialState:{share:t}}).content.shareChange.pipe(Ne(1)).subscribe(o=>{let[l,z]=o;l==="update"?this.selected.name=z.name:this.loadChildShares()})},error:t=>this.layout.sendNotification("error","Edit children shares",this.selected.name,t)})}else{let e;if(this.share)e=this.sharesService.getShareChild(this.share.id,this.selected.id);else if(this.space)e=this.spacesService.getSpaceShare(this.space.id,this.selected.id);else{console.error("share or space not defined");return}e.subscribe({next:t=>{this.layout.openDialog(Gn,"lg",{initialState:j(R(R({},this.share?{parentShareId:this.share.id}:{}),this.space?{parentSpaceId:this.space.id}:{}),{share:t})}).content.shareChange.pipe(Ne(1)).subscribe(o=>{let[l,z]=o;l==="update"?(this.selected.name=z.name,this.selected.alias=z.alias):this.loadChildShares()})},error:t=>this.layout.sendNotification("error","Edit children shares",this.selected.name,t)})}}setShares(e){let t={id:this.share?.id||0,children:[]};this.recurseChildrenShares(e,t),this.childShares=t.children}recurseChildrenShares(e,t){for(let n of e)n.parentId===t.id?(t.children=t.children??[],t.children.push(n),this.recurseChildrenShares(e,n)):t.id===0&&!n.parentId&&(t.children=t.children??[],t.children.push(n),this.recurseChildrenShares(e,n))}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=b({type:i,selectors:[["app-shared-children-dialog"]],inputs:{fromAdmin:"fromAdmin",share:"share",space:"space"},outputs:{sharesCountEvent:"sharesCountEvent"},decls:22,vars:9,consts:[["recursiveList",""],[1,"modal-header","align-items-center"],[1,"modal-title","w-100"],[1,"d-flex"],[1,"me-2",3,"icon"],[1,"ms-auto","me-2"],["l10nTranslate",""],["aria-label","Close","type","button",1,"btn-close","btn-close-white",3,"click"],["appAutoResize","",1,"modal-body",2,"padding-right","24px",3,"resizeOffset"],[1,"tree"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"modal-footer"],["l10nTranslate","","type","button",1,"btn","btn-sm","btn-primary",3,"click","disabled"],["data-dismiss","modal","l10nTranslate","","type","button",1,"btn","btn-sm","btn-secondary",3,"click"],[1,"app-div-hovered",3,"click","dblclick"],[1,"me-auto","text-truncate"],["alt","","draggable","false","height","28",3,"error","src"],[1,"align-middle","ms-1",3,"icon"],[1,"ms-1","align-middle"],[1,"d-flex","align-items-center"],[1,"fs-xxxs","me-2"],["tooltipPlacement","top","container","body",3,"user","height","width"]],template:function(t,n){if(t&1){let o=D();c(0,"div",1)(1,"h4",2)(2,"div",3)(3,"div"),m(4,"fa-icon",4),c(5,"span"),u(6),d()(),c(7,"div",5)(8,"span",6),u(9,"Child shares"),d(),u(10),d()()(),c(11,"button",7),g("click",function(){return y(o),S(n.layout.closeDialog())}),d()(),c(12,"div",8)(13,"ul",9),K(14,_s,2,0,"ng-template",null,0,nt)(16,xs,1,0,"ng-container",10),d()(),c(17,"div",11)(18,"button",12),g("click",function(){return y(o),S(n.openChildShare())}),u(19,"Edit"),d(),c(20,"button",13),g("click",function(){return y(o),S(n.layout.closeDialog())}),u(21,"Close"),d()()}if(t&2){let o=it(15);a(4),h("icon",n.icons.SHARED),a(2),A((n.share==null?null:n.share.name)||(n.space==null?null:n.space.name)),a(4),q("\xA0(",n.childSharesLength,") "),a(2),h("resizeOffset",170),a(4),h("ngTemplateOutlet",o)("ngTemplateOutletContext",Pe(7,Un,n.childShares)),a(2),h("disabled",!n.selected)}},dependencies:[Et,De,ne,se,Vi],styles:[`ul.tree[_ngcontent-%COMP%], ul.tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}ul.tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-left:18px}ul.tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:0;line-height:30px;border-left:1px solid rgb(100,100,100);white-space:nowrap}ul.tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-flex;width:100%;cursor:pointer;border-radius:4px}ul.tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-left:none}ul.tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{position:relative;top:-.3em;height:1.2rem;width:1rem;color:#fff;border-bottom:1px solid rgb(100,100,100);content:"";display:inline-block}ul.tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child:before{border-left:1px solid rgb(100,100,100)}
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
`]});let s=i;return s})();export{Js as a,er as b,Et as c,ws as d,Ds as e,zs as f,Mt as g,Ls as h,As as i,Ns as j,Ts as k,Ps as l,ks as m,Zi as n,M as o,$t as p,hr as q,fr as r,qt as s,Ln as t,Ae as u,Fn as v,On as w,Ji as x,Rn as y,Vn as z,Hn as A,Gn as B,$2 as C};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as a}from"./chunk-DM4NXKEP.js";import"./chunk-ZIJQRARU.js";import"./chunk-N3U6637P.js";var _={name:"tr",weekdays:"Pazar_Pazartesi_Sal\u0131_\xC7ar\u015Famba_Per\u015Fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xC7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xC7a_Pe_Cu_Ct".split("_"),months:"Ocak_\u015Eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011Fustos_Eyl\xFCl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015Eub_Mar_Nis_May_Haz_Tem_A\u011Fu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s \xF6nce",s:"birka\xE7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xFCn",dd:"%d g\xFCn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(r){return r+"."}};a.locale(_,null,!0);var e=_;export{e as default};
|