@duplicati/ngclient 0.0.157 → 0.0.159

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.
Files changed (86) hide show
  1. package/assets/dest-icons/s3compat.png +0 -0
  2. package/assets/sh.woff2 +0 -0
  3. package/{chunk-PD73DDOS.js → chunk-2QJVTZ56.js} +2 -2
  4. package/chunk-2S6ABLBU.js +1 -0
  5. package/chunk-2WGW24ZH.js +1 -0
  6. package/chunk-2ZGJS4OW.js +7 -0
  7. package/chunk-33J6ZQYE.js +1 -0
  8. package/{chunk-LTQOZB7Q.js → chunk-3OCWLJKG.js} +1 -1
  9. package/{chunk-ZGC3K2EK.js → chunk-4IIDZXFC.js} +1 -1
  10. package/{chunk-COUIDDUK.js → chunk-4IXUXIXV.js} +1 -1
  11. package/{chunk-TJIZJNCK.js → chunk-4NBLWONL.js} +1 -1
  12. package/{chunk-ENNM55FS.js → chunk-5WDKKAXO.js} +1 -1
  13. package/{chunk-VRV52R6I.js → chunk-6YGURBW6.js} +1 -1
  14. package/{chunk-K3VDFIJM.js → chunk-72QJ345F.js} +1 -1
  15. package/{chunk-FPVRHFKW.js → chunk-7JHF4R5J.js} +1 -1
  16. package/{chunk-XVWOVBC4.js → chunk-7LYN2XHO.js} +1 -1
  17. package/chunk-A2LUC3NC.js +1 -0
  18. package/{chunk-VUKS2SJL.js → chunk-A5LNLNWR.js} +1 -1
  19. package/chunk-BQJICFF5.js +1 -0
  20. package/chunk-C6F6FP4R.js +2 -0
  21. package/{chunk-ZSZLXWN6.js → chunk-CCKT2GLS.js} +1 -1
  22. package/{chunk-UDF726AD.js → chunk-CHYEYO6L.js} +1 -1
  23. package/{chunk-EE5UMXWP.js → chunk-D4F7SID5.js} +1 -1
  24. package/{chunk-DBQGZZI2.js → chunk-D6KZSKI7.js} +1 -1
  25. package/{chunk-USX4C3JC.js → chunk-DTOILX4E.js} +1 -1
  26. package/{chunk-F7PHZYZX.js → chunk-DW7A6PHZ.js} +1 -1
  27. package/{chunk-CAJEHCFP.js → chunk-EBANXXYI.js} +1 -1
  28. package/{chunk-2KH32RMH.js → chunk-EMRD3UKA.js} +1 -1
  29. package/{chunk-UQY3P37P.js → chunk-F6ME3VE6.js} +1 -1
  30. package/{chunk-OX4HQVUD.js → chunk-FNJU5CD3.js} +1 -1
  31. package/{chunk-WXF4HUYT.js → chunk-GCCJSS4C.js} +1 -1
  32. package/{chunk-YC5FPDJH.js → chunk-GDQZEB3A.js} +1 -1
  33. package/{chunk-SKSEDWGR.js → chunk-GOVVHVP2.js} +1 -1
  34. package/{chunk-RDCD2W2C.js → chunk-GYDI67IZ.js} +1 -1
  35. package/chunk-H3UUJ5EW.js +1 -0
  36. package/chunk-K3ILN56U.js +1 -0
  37. package/{chunk-DILTD4XG.js → chunk-KAAYNQ7L.js} +1 -1
  38. package/{chunk-7FCBU2UO.js → chunk-KT7U3QIP.js} +1 -1
  39. package/{chunk-7TF7DTKJ.js → chunk-KXM6LF3X.js} +1 -1
  40. package/{chunk-3LVCVLMO.js → chunk-LSKF2B33.js} +1 -1
  41. package/{chunk-HKL7ZJV5.js → chunk-MGTRQOF6.js} +1 -1
  42. package/{chunk-TG2ZSU7H.js → chunk-NM7WJRU7.js} +1 -1
  43. package/chunk-OKDVOGSM.js +1 -0
  44. package/{chunk-3AYCMVTF.js → chunk-PHQBBCUL.js} +1 -1
  45. package/chunk-PQSZLHZR.js +1 -0
  46. package/{chunk-ISNV5CM5.js → chunk-PULERFBI.js} +1 -1
  47. package/{chunk-UXOJBG6Z.js → chunk-PUNIQ3JW.js} +1 -1
  48. package/chunk-Q65KFDJ5.js +1 -0
  49. package/chunk-QNM5CG4Z.js +1 -0
  50. package/{chunk-QWQKYLNR.js → chunk-QX3IRESN.js} +1 -1
  51. package/chunk-RUXUFB7C.js +1 -0
  52. package/chunk-RWPF5SQT.js +1 -0
  53. package/chunk-RZKDEJUP.js +1 -0
  54. package/{chunk-C2VSATF5.js → chunk-SWD3HS57.js} +1 -1
  55. package/chunk-U2Y2D6MA.js +1 -0
  56. package/{chunk-FIUF53BE.js → chunk-UST7PIBI.js} +1 -1
  57. package/{chunk-TPBZNCDW.js → chunk-VXRNST6C.js} +1 -1
  58. package/{chunk-VOLZIA33.js → chunk-W2CMPDWL.js} +1 -1
  59. package/{chunk-MTQKK2WN.js → chunk-XLDVUBTQ.js} +1 -1
  60. package/{chunk-2GCNISUZ.js → chunk-XUIDYG2O.js} +1 -1
  61. package/{chunk-EVJPCAZV.js → chunk-XX3WLO55.js} +1 -1
  62. package/{chunk-RIFNOGGK.js → chunk-ZDME3W57.js} +1 -1
  63. package/{chunk-BNWLPYK6.js → chunk-ZMTLDG46.js} +1 -1
  64. package/index.html +1 -1
  65. package/locale/messages.de.json +4 -4
  66. package/locale/messages.it.json +123 -3
  67. package/main-AK26L46R.js +1 -0
  68. package/package.json +1 -1
  69. package/chunk-2AVDJBM7.js +0 -1
  70. package/chunk-3F7ADWPY.js +0 -1
  71. package/chunk-3N6V4QBS.js +0 -1
  72. package/chunk-4NLJRM5D.js +0 -1
  73. package/chunk-6NY5MUS6.js +0 -1
  74. package/chunk-BSMAYTZR.js +0 -1
  75. package/chunk-E7Y6L3W6.js +0 -1
  76. package/chunk-GYDGMSUA.js +0 -1
  77. package/chunk-IB6ESS57.js +0 -1
  78. package/chunk-LYKQBVOC.js +0 -1
  79. package/chunk-NRUGLQRY.js +0 -1
  80. package/chunk-P4SN4J3W.js +0 -1
  81. package/chunk-Q3BXXS7G.js +0 -1
  82. package/chunk-SJ3V6DON.js +0 -2
  83. package/chunk-TWMGET5I.js +0 -7
  84. package/chunk-VVVEOA35.js +0 -1
  85. package/chunk-YZNZ5RQI.js +0 -1
  86. package/main-UHBWCAT4.js +0 -1
@@ -8,6 +8,8 @@
8
8
  "4804785061014590286": "Registri",
9
9
  "1543355517614349254": "Registro arresti anomali",
10
10
  "5322793073854520287": "Stai eseguendo Duplicati con - {$INTERPOLATION}",
11
+ "6824924874103099902": "{$START_TAG_SH_ICON}download{$CLOSE_TAG_SH_ICON} Scarica l'aggiornamento - {$INTERPOLATION}",
12
+ "8951553909138566146": "Dettagli {$START_TAG_SH_ICON}arrow-square-in{$CLOSE_TAG_SH_ICON}",
11
13
  "2827048384200504789": "Registri in tempo reale disabilitati",
12
14
  "3198123723060667787": "Quando",
13
15
  "8066608938393600549": "Messaggio",
@@ -18,23 +20,43 @@
18
20
  "2796278452811394835": "Profilazione",
19
21
  "7934833136974560675": "Riprova",
20
22
  "5037437391296624618": "Informazioni",
21
- "6818202188944488882": "Prova",
23
+ "6818202188944488882": "Prova funzionamento",
22
24
  "6759205696902713848": "Avviso",
23
25
  "1519954996184640001": "Errore",
24
26
  "5667900632592970266": "Marca temporale",
25
27
  "2229445179824655238": "ID backup",
26
28
  "4704706951108884898": "{$START_BLOCK_IF} Nessun altro elemento {$CLOSE_BLOCK_IF}{$START_BLOCK_ELSE} Caricane di più {$CLOSE_BLOCK_ELSE}",
29
+ "7312718378972881535": "{$START_TAG_SH_ICON}archive{$CLOSE_TAG_SH_ICON} Memorizzato",
30
+ "9024619827692961644": "{$START_TAG_SH_ICON}play{$CLOSE_TAG_SH_ICON} In tempo reale",
27
31
  "7910342994446514898": "Livello registro: {$INTERPOLATION}",
32
+ "382347857919489027": "{$START_TAG_SH_ICON}bell-simple-slash{$CLOSE_TAG_SH_ICON} Disattivato",
33
+ "2445041997254445672": "{$START_TAG_SH_ICON}megaphone-simple{$CLOSE_TAG_SH_ICON} Modalità dettagliata",
34
+ "3738116551490152597": "{$START_TAG_SH_ICON}flow-arrow{$CLOSE_TAG_SH_ICON} Solo esplicito",
35
+ "5969169357401504866": "{$START_TAG_SH_ICON}speedometer{$CLOSE_TAG_SH_ICON} Profilazione",
36
+ "1555795664741141813": "{$START_TAG_SH_ICON}arrow-arc-left{$CLOSE_TAG_SH_ICON} Riprova",
37
+ "6343235408220281692": "{$START_TAG_SH_ICON}info{$CLOSE_TAG_SH_ICON} Informazioni",
38
+ "9181696971411089568": "{$START_TAG_SH_ICON}person-simple-run{$CLOSE_TAG_SH_ICON} Prova di funzionamento",
39
+ "6383628099584338498": "{$START_TAG_SH_ICON}warning{$CLOSE_TAG_SH_ICON} Avviso",
40
+ "1885768759572902125": "{$START_TAG_SH_ICON}warning-octagon{$CLOSE_TAG_SH_ICON} Errore",
28
41
  "3786642797102064077": "Impostazioni di sistema",
29
42
  "4491027740832706620": "Aggiungi un nuovo backup",
30
43
  "1629830794589131382": "Nuovo backup",
31
44
  "2324060155789753721": "Configura un nuovo backup. Scegli la destinazione, i dati sorgente e la pianificazione.",
45
+ "1632354748426478386": "Aggiungi un nuovo backup {$START_TAG_SH_ICON}plus{$CLOSE_TAG_SH_ICON}",
32
46
  "8020216200574091380": "Importa dal file",
33
47
  "8045695670533357195": "Importa la configurazione di backup da un file. Durante l'importazione, è possibile modificare le impostazioni.",
48
+ "49491957141437432": "Importa dal file {$START_TAG_SH_ICON}upload-simple{$CLOSE_TAG_SH_ICON}",
49
+ "7327789622405260669": "{$START_TAG_SH_RADIO}{$CLOSE_TAG_SH_RADIO} Generale",
50
+ "6594840949481048799": "{$START_TAG_SH_RADIO}{$CLOSE_TAG_SH_RADIO} Destinazione",
51
+ "8587228605501236964": "{$START_TAG_SH_RADIO}{$CLOSE_TAG_SH_RADIO} Dati sorgente",
52
+ "3399250863899169825": "{$START_TAG_SH_RADIO}{$CLOSE_TAG_SH_RADIO} Pianificazione",
53
+ "8830669913940529949": "{$START_TAG_SH_RADIO}{$CLOSE_TAG_SH_RADIO} Opzioni",
34
54
  "8508665380144651315": "Confermi l'uscita?",
35
55
  "7371420689887485676": "Sei sicuro di voler uscire?",
36
56
  "2807800733729323332": "Si",
37
57
  "2159130950882492111": "Annulla",
58
+ "4021893317334181281": "{$START_TAG_SH_ICON}arrow-left{$CLOSE_TAG_SH_ICON} Indietro",
59
+ "4141934916617164675": "Esecuzione attività da riga di comando... {$START_TAG_BUTTON}Abort{$CLOSE_TAG_BUTTON}",
38
60
  "1025749787024452616": "{$START_BLOCK_IF} Avvio... {$CLOSE_BLOCK_IF}{$START_BLOCK_IF_1} Iniziato! {$CLOSE_BLOCK_IF}{$START_BLOCK_IF_2} Finito! {$CLOSE_BLOCK_IF}{$START_BLOCK_IF_3} Interrotto! {$CLOSE_BLOCK_IF}",
39
61
  "1795589471045938719": "Comando",
40
62
  "2612366416054112083": "TargetUrl",
@@ -42,10 +64,21 @@
42
64
  "2980688108457243770": "Opzioni avanzate",
43
65
  "8132372096187045707": "Nome del backup",
44
66
  "4163272119298020373": "Filtri",
67
+ "5475319282573821635": "I backup saranno suddivisi in più file chiamati volumi. Qui puoi impostare la dimensione massima dei singoli file dei volumi. {$START_LINK}Maggiori informazioni{$CLOSE_LINK}",
68
+ "9127008693272221009": "{$START_TAG_SH_ICON}arrow-right{$CLOSE_TAG_SH_ICON} Avvio "{$INTERPOLATION}" esegui adesso il comando",
45
69
  "5537334829764475895": "Database locale per {$INTERPOLATION}",
46
70
  "8819658032740719072": "A ogni backup è associato un database locale, che memorizza le informazioni del backup remoto sul computer locale. In questo modo è più veloce l'esecuzione di molte operazioni e si riduce la quantità di dati che devono essere scaricati per ogni operazione.",
47
71
  "3465942650835858981": "Manutenzione",
72
+ "8839272680695096289": "Se il backup e l'archivio remoto non sono sincronizzati, Duplicati richiederà un'operazione di riparazione per sincronizzare il database. Se la riparazione non ha successo, puoi eliminare il database locale e rigenerarlo. Il pulsante per la segnalazione dei bug può essere utilizzato per creare una copia del database con le informazioni sul percorso rimosse. Questo dovrebbe essere usato solo se uno sviluppatore chiede di indagare su un problema con il database.",
73
+ "117616615872294580": "{$START_TAG_SH_ICON}wrench{$CLOSE_TAG_SH_ICON} Ripara",
74
+ "8501684231598192320": "{$START_TAG_SH_ICON}trash{$CLOSE_TAG_SH_ICON} Elimina",
75
+ "6475665368083852944": "{$START_TAG_SH_ICON}clock-counter-clockwise{$CLOSE_TAG_SH_ICON} Ripristina (elimina e ripara)",
76
+ "5239100776977833065": "{$START_TAG_SH_ICON}file-plus{$CLOSE_TAG_SH_ICON} Crea database segnalazione bug",
48
77
  "5869780110608474933": "Posizionamento",
78
+ "6540830593149465642": "{$START_TAG_SH_ICON}backspace{$CLOSE_TAG_SH_ICON} Reset",
79
+ "1239075894051035543": "{$START_TAG_SH_ICON}floppy-disk{$CLOSE_TAG_SH_ICON} Salva",
80
+ "2867258063962697260": "{$START_TAG_SH_ICON}wrench{$CLOSE_TAG_SH_ICON} Salva & Ripara",
81
+ "1874846023715698252": "{$START_TAG_SH_ICON}flow-arrow{$CLOSE_TAG_SH_ICON} Sposta il database esistente",
49
82
  "4703018356411140603": "Confermi l'eliminazione?",
50
83
  "8107426596525492464": "Vuoi davvero eliminare il database {$PH}?",
51
84
  "4575941789207096693": "Elimina database",
@@ -63,9 +96,17 @@
63
96
  "9021887951960049161": "Conferma eliminazione",
64
97
  "5835203083538785597": "Sei sicuro di voler eliminare questo backup?",
65
98
  "4489627619329080013": "Elimina backup",
99
+ "7446907846655472408": "Destinazione backup {$START_TAG_DIV}{$START_BLOCK_IF}{$START_TAG_BUTTON} Test destinazione {$CLOSE_TAG_BUTTON}{$CLOSE_BLOCK_IF}{$START_TAG_SH_MENU}{$START_TAG_BUTTON_1}{$START_TAG_SH_ICON}dots-three-vertical{$CLOSE_TAG_SH_ICON}{$CLOSE_TAG_BUTTON}{$START_TAG_NG_CONTAINER}{$START_TAG_BUTTON_2}{$START_TAG_SH_ICON}link{$CLOSE_TAG_SH_ICON} Modifica URL di destinazione {$CLOSE_TAG_BUTTON}{$START_BLOCK_IF}{$START_TAG_BUTTON_3}{$START_TAG_SH_ICON}copy{$CLOSE_TAG_SH_ICON} Copia URL negli appunti {$CLOSE_TAG_BUTTON}{$CLOSE_BLOCK_IF}{$CLOSE_TAG_NG_CONTAINER}{$CLOSE_TAG_SH_MENU}{$CLOSE_TAG_DIV}",
100
+ "1976693045677246434": "{$START_TAG_SH_ICON}spinner{$CLOSE_TAG_SH_ICON} Prova connessione...",
101
+ "8102509306620431414": "{$START_TAG_SH_ICON}check{$CLOSE_TAG_SH_ICON} Connessione testata con successo.",
102
+ "1633404336323592843": "{$START_TAG_SH_ICON}warning{$CLOSE_TAG_SH_ICON}{$INTERPOLATION}",
103
+ "297083673179540834": "Tipo di destinazione attuale {$START_TAG_STRONG}{$INTERPOLATION}.{$CLOSE_TAG_STRONG}{$LINE_BREAK} Vuoi selezionarne un altra? {$START_TAG_SPAN}Clicca qui{$CLOSE_TAG_SPAN}",
66
104
  "4776685509889010215": "Tutte le destinazioni",
105
+ "551770870891460365": "{$START_TAG_SH_ICON}arrow-left{$CLOSE_TAG_SH_ICON} Torna indietro",
106
+ "8116690924687567659": "{$START_BLOCK_IF}{$START_TAG_SH_ICON}spinner{$CLOSE_TAG_SH_ICON}{$CLOSE_BLOCK_IF}{$START_BLOCK_ELSE}{$START_TAG_SH_ICON_1}arrow-right{$CLOSE_TAG_SH_ICON}{$CLOSE_BLOCK_ELSE} Continua",
67
107
  "7962953130203958368": "Modifica URL di destinazione",
68
108
  "5101542792933660276": "Attenzione, questa operazione sovrascriverà tutto ciò che è presente nella destinazione.",
109
+ "8146449293672505760": "Sovrascrivere l'URL di destinazione {$START_TAG_SH_ICON}swap{$CLOSE_TAG_SH_ICON}",
69
110
  "6515463725820941423": "La destinazione remota contiene già un backup. Utilizza una cartella diversa per ogni backup.",
70
111
  "1409527397857081529": "La cartella contiene backup",
71
112
  "8037546150888700711": "La destinazione remota contiene già un backup. Devi utilizzare una cartella diversa per ogni backup.",
@@ -175,6 +216,8 @@
175
216
  "8319916360691242924": "Chiave segreta COS",
176
217
  "3973868637264779754": "Tahoe LAFS",
177
218
  "863931951136375296": "Archivia i backup in Tahoe LAFS.",
219
+ "7350796876483329661": "Cartella condivisa di Windows (SMB)",
220
+ "6199963465947823058": "Memorizza i backup su archivio SMB.",
178
221
  "5098290215983190635": "Nome condiviso",
179
222
  "732218849333506427": "Filen.io",
180
223
  "4267087859628904259": "Archivia i backup in Filen.io.",
@@ -195,12 +238,17 @@
195
238
  "7386195554617540895": "Aliyun OSS",
196
239
  "7236053877128063351": "Archivia i backup in Aliyun OSS",
197
240
  "4890321515347479714": "Percorso nel bucket",
241
+ "2777652599986788725": "Mostra editor {$START_TAG_SH_ICON}link{$CLOSE_TAG_SH_ICON}",
242
+ "7409748838172861762": "Aggiungi opzione avanzata {$START_TAG_SH_ICON}plus{$CLOSE_TAG_SH_ICON}",
198
243
  "5961940096745011179": "Questo campo è obbligatorio",
199
244
  "6017971563558877057": "Un percorso vuoto significa archiviare i dati nella cartella iniziale o radice, il che non è raccomandato.",
200
245
  "5524327479542660567": "Il nome host non è valido",
201
246
  "6181209593952488230": "Il nome del bucket non è valido",
202
247
  "6556337020063139824": "Si tratta di un'opzione non documentata.",
203
248
  "3801215978313579965": "Ricordati di copiare la password",
249
+ "5746563779633850987": "{$START_TAG_SH_ICON}export{$CLOSE_TAG_SH_ICON} Esporta",
250
+ "1704760277951717266": "{$START_TAG_SH_ICON}terminal-window{$CLOSE_TAG_SH_ICON} Come linea di comando",
251
+ "3856873543447632586": "{$START_TAG_SH_ICON}file{$CLOSE_TAG_SH_ICON} Su file",
204
252
  "5171910477497665605": "Esporta password {$TAG_INPUT}",
205
253
  "476580355983000092": "Crittografia del file {$TAG_INPUT}",
206
254
  "5193897320400751595": "Creare una password {$START_SUPERSCRIPT}*{$CLOSE_SUPERSCRIPT}",
@@ -208,14 +256,21 @@
208
256
  "7273207934922522958": "Le password devono essere lunghe almeno {$INTERPOLATION} caratteri",
209
257
  "5373727393387841282": "Ripeti la password",
210
258
  "6451269955734195952": "Password non corrispondenti",
259
+ "7869314625141682884": "{$START_BLOCK_IF}{$START_TAG_SH_ICON}eye-slash{$CLOSE_TAG_SH_ICON} nascondi {$CLOSE_BLOCK_IF}{$START_BLOCK_ELSE}{$START_TAG_SH_ICON}eye{$CLOSE_TAG_SH_ICON} mostra {$CLOSE_BLOCK_ELSE}",
260
+ "6304002748236896404": "{$START_TAG_SH_ICON}password{$CLOSE_TAG_SH_ICON} Genera password",
261
+ "149262519554294292": "{$START_BLOCK_IF}{$START_TAG_SH_ICON}check{$CLOSE_TAG_SH_ICON} Password copiata {$CLOSE_BLOCK_IF}{$START_BLOCK_ELSE}{$START_TAG_SH_ICON_1}copy{$CLOSE_TAG_SH_ICON} Copia password {$CLOSE_BLOCK_ELSE}",
211
262
  "4368717062247754533": "Suggerimento: Assicurati di salvare la password. Se la perdi non sarà possibile importare la configurazione.",
212
263
  "441775147584593226": "Impostazioni generali backup",
264
+ "898620751739571382": "{$START_TAG_SH_ICON}lock{$CLOSE_TAG_SH_ICON} Backup crittografato",
213
265
  "345637621607836708": "Nome del backup {$START_SUPERSCRIPT}*{$CLOSE_SUPERSCRIPT}",
214
266
  "4634134636678422734": "Nome del backup",
215
267
  "523124629538879131": "Descrizione del backup",
216
268
  "2912179523165433563": "La tua descrizione del backup",
217
269
  "8255877266497322342": "Crittografia",
218
270
  "3254810088313246565": "Suggerimento: Assicurati di salvare la password. Se la perdi non potrai accedere ai backup.",
271
+ "9050470646829820589": "{$START_TAG_SH_ICON}arrow-left{$CLOSE_TAG_SH_ICON} Esci",
272
+ "3855873646318136106": "Continua {$START_TAG_SH_ICON}arrow-right{$CLOSE_TAG_SH_ICON}",
273
+ "9180695806457084824": "Importa la configurazione di backup {$START_TAG_DIV}{$START_TAG_BUTTON}{$START_TAG_SH_ICON}arrow-left{$CLOSE_TAG_SH_ICON} Indietro {$CLOSE_TAG_BUTTON}{$START_TAG_BUTTON_1}{$START_TAG_SH_ICON}download-simple{$CLOSE_TAG_SH_ICON} Importa {$CLOSE_TAG_BUTTON}{$CLOSE_TAG_DIV}",
219
274
  "1755805413339441073": "Passphrase",
220
275
  "5838126991020480515": "Importa Metadati",
221
276
  "3406476563838257109": "Salva adesso",
@@ -231,12 +286,18 @@
231
286
  "1327949676974490739": "Eliminato: {$INTERPOLATION}",
232
287
  "1005679486924257725": "Troppo grande: {$INTERPOLATION}",
233
288
  "2657274932153994431": "File con errore: {$INTERPOLATION}",
289
+ "317485855167212868": "{$START_TAG_SH_ICON}circle-half-tilt{$CLOSE_TAG_SH_ICON} Fase di test {$START_TAG_DIV}{$START_TAG_SH_ICON_1}caret-down{$CLOSE_TAG_SH_ICON}{$CLOSE_TAG_DIV}",
234
290
  "1115809378877865647": "Verifiche: {$INTERPOLATION}",
235
291
  "8902028498998824593": "Avvisi: {$INTERPOLATION}",
236
292
  "3547732848568990919": "Errori: {$INTERPOLATION}",
293
+ "728637817068668833": "{$START_TAG_SH_ICON}file-archive{$CLOSE_TAG_SH_ICON} Fase di compattazione {$START_TAG_DIV}{$START_TAG_SH_ICON_1}caret-down{$CLOSE_TAG_SH_ICON}{$CLOSE_TAG_DIV}",
237
294
  "2232867431219377641": "File eliminati: {$INTERPOLATION} ({$INTERPOLATION_1})",
238
295
  "474488815103574935": "File scaricati: {$INTERPOLATION} ({$INTERPOLATION_1})",
239
296
  "1841165020557840645": "File caricati: {$INTERPOLATION} ({$INTERPOLATION_1})",
297
+ "2868914209830714216": "{$START_TAG_SH_ICON}warning-circle{$CLOSE_TAG_SH_ICON} Verifiche {$INTERPOLATION}{$START_TAG_DIV}{$START_TAG_SH_ICON_1}caret-down{$CLOSE_TAG_SH_ICON}{$CLOSE_TAG_DIV}",
298
+ "289268867688086329": "{$START_TAG_SH_ICON}warning-circle{$CLOSE_TAG_SH_ICON} Avvisi {$INTERPOLATION}{$START_TAG_DIV}{$START_TAG_SH_ICON_1}caret-down{$CLOSE_TAG_SH_ICON}{$CLOSE_TAG_DIV}",
299
+ "7621145612151228909": "{$START_TAG_SH_ICON}warning{$CLOSE_TAG_SH_ICON} Errori {$INTERPOLATION}{$START_TAG_DIV}{$START_TAG_SH_ICON_1}caret-down{$CLOSE_TAG_SH_ICON}{$CLOSE_TAG_DIV}",
300
+ "4357873234721758893": "{$START_TAG_SH_ICON}notepad{$CLOSE_TAG_SH_ICON} Registro completo {$START_TAG_DIV}{$START_TAG_SH_ICON_1}caret-down{$CLOSE_TAG_SH_ICON}{$CLOSE_TAG_DIV}",
240
301
  "8541023457380904996": "durata {$PH}",
241
302
  "581899245209188161": "caricato {$PH}",
242
303
  "8248629668799578905": "dimensione backup {$PH}",
@@ -251,9 +312,13 @@
251
312
  "4477406845839905861": "Ancora nessuna versione",
252
313
  "4361277139424921954": "Destinazione",
253
314
  "5900749938303543304": "Nome del backup mancante",
315
+ "3749550765305300605": "{$START_BLOCK_IF}{$START_TAG_SH_ICON}check{$CLOSE_TAG_SH_ICON} Copiato {$CLOSE_BLOCK_IF}{$START_BLOCK_ELSE}{$START_TAG_SH_ICON}copy{$CLOSE_TAG_SH_ICON} Copia negli appunti {$CLOSE_BLOCK_ELSE}",
316
+ "5402881094856060028": "{$START_TAG_SH_ICON}pen{$CLOSE_TAG_SH_ICON} Nuova opzione personalizzata",
254
317
  "4141282812307802268": "Aggiungendo questa opzione sovrascriverà l'opzione globale corrispondente",
255
318
  "8432562579042371182": "Opzioni",
319
+ "5270282788988984652": "Dimensione del volume remoto {$START_BLOCK_IF}{$START_TAG_SH_ICON}warning{$CLOSE_TAG_SH_ICON}{$CLOSE_BLOCK_IF}",
256
320
  "3661147142879652554": "La dimensione scelta non rientra nell'intervallo consigliato. Ciò può causare problemi di prestazioni, file temporanei troppo grandi o altri problemi.",
321
+ "92438001090329017": "I backup saranno suddivisi in più file chiamati volumi. Qui puoi impostare la dimensione massima dei singoli file dei volumi. {$START_LINK} Maggiori informazioni {$START_TAG_SH_ICON}arrow-square-out{$CLOSE_TAG_SH_ICON}{$CLOSE_LINK}",
257
322
  "3200173535986954809": "Conservazione backup",
258
323
  "3776830777548420252": "Non sarà eliminato nulla. Le dimensioni del backup aumentano a ogni cambiamento.",
259
324
  "3689631695541161772": "Se si trova almeno un backup più recente, tutti i backup più vecchi di questa data sono eliminati.",
@@ -263,6 +328,7 @@
263
328
  "3419784336740148596": "Con il passare del tempo i backup saranno eliminati automaticamente. Rimarrà un backup per ciascuno degli ultimi 7 giorni, per ciascuna delle ultime 4 settimane e per ciascuno degli ultimi 12 mesi. Rimarrà sempre almeno un backup.",
264
329
  "7520784862899846214": "Inserisci una strategia di conservazione manualmente. I segnaposto sono D/W/Y per giorni/settimane/anni e U per illimitato. La sintassi è: 7D:1D, 4W:1W, 36M:1M. Questo esempio conserva un backup per i 7 giorni successivi, uno per le 4 settimane successive e uno per i 36 mesi successivi. Questo può anche essere scritto come 1W:1D,1M:1W,3Y:1M.",
265
330
  "25529210805971016": "Espressione di conservazione",
331
+ "7866588746287470587": "{$START_TAG_SH_ICON}arrow-right{$CLOSE_TAG_SH_ICON} Invia",
266
332
  "4510773130259577012": "Mantieni tutti i backup",
267
333
  "1384560836372891469": "Elimina i backup più vecchi di",
268
334
  "6500067590143892883": "Mantieni un numero specifico di backup",
@@ -281,6 +347,7 @@
281
347
  "312917585114633035": "Venerdì {$TAG_INPUT}",
282
348
  "1804157721345900735": "Sabato {$TAG_INPUT}",
283
349
  "1246573047244104860": "Domenica {$TAG_INPUT}",
350
+ "1349155838145541042": "{$START_TAG_SH_ICON}arrow-right{$CLOSE_TAG_SH_ICON} Continua",
284
351
  "8874012390997067175": "Secondi",
285
352
  "5531237363767747080": "Minuti",
286
353
  "8070396816726827304": "Ore",
@@ -298,6 +365,7 @@
298
365
  "910026778839409110": "Aggiungi filtro",
299
366
  "5668077948386857930": "Escludi",
300
367
  "5067457499210408217": "Scegli se ci sono file che vuoi escludere.",
368
+ "1455015315003178648": "File con l'attributo Nascosto {$TAG_INPUT}",
301
369
  "4870633869236300156": "File nascosti",
302
370
  "2832611524065169256": "File con l'attributo di Sistema {$TAG_INPUT}",
303
371
  "7399702730809197610": "File di sistema",
@@ -307,10 +375,18 @@
307
375
  "7515883357904500238": "Sei sicuro?",
308
376
  "2385197688904536915": "Riconnessione...",
309
377
  "1272370515624537561": "La connessione al server è stata persa, nuovo tentativo tra {$START_TAG_STRONG}0:{$INTERPOLATION}{$CLOSE_TAG_STRONG}",
378
+ "428573906115993839": "{$START_TAG_SH_ICON}upload{$CLOSE_TAG_SH_ICON}",
310
379
  "5873713339410499323": "Sfoglia percorso",
311
380
  "6351291189195117165": "Digita manualmente il percorso",
312
- "140764604930103244": "Mostra {$INTERPOLATION} nascoste",
381
+ "140764604930103244": "Mostra {$INTERPOLATION} nascosti",
382
+ "4194965940418900134": "Crea cartella",
383
+ "8579816686082982272": "Inserisci il nuovo percorso della cartella",
384
+ "8483810406838912249": "Crea cartella {$START_TAG_SH_ICON}folder-plus{$CLOSE_TAG_SH_ICON}",
313
385
  "3536233353612358287": "Computer",
386
+ "8003073584251221742": "Si è verificato un errore durante il tentativo di creare la cartella.",
387
+ "8954671198247588674": "Impossibile creare la cartella",
388
+ "4319414730852685278": "Notifiche {$START_TAG_BUTTON}{$START_TAG_SH_ICON}x-circle{$CLOSE_TAG_SH_ICON}{$CLOSE_TAG_BUTTON}",
389
+ "373645687858467964": "Avvisi {$START_TAG_BUTTON}{$START_TAG_SH_ICON}x-circle{$CLOSE_TAG_SH_ICON}{$CLOSE_TAG_BUTTON}",
314
390
  "1664090471564748319": "Non ci sono ancora avvisi",
315
391
  "1832697317629339234": "Impostazioni della pausa",
316
392
  "6946711711628061987": "Metti in pausa anche i trasferimenti",
@@ -326,6 +402,11 @@
326
402
  "6833802623236445427": "24 ore",
327
403
  "585737897051631942": "Fino alla ripresa",
328
404
  "8863666082945976589": "Nessuna attività pianificata",
405
+ "5251829225351663738": "Caricamento {$START_TAG_SH_SPINNER}{$CLOSE_TAG_SH_SPINNER}",
406
+ "8088579011532771101": "{$START_TAG_SH_ICON}skull{$CLOSE_TAG_SH_ICON} Interrompi",
407
+ "1845281535947373751": "{$START_TAG_SH_ICON}stop{$CLOSE_TAG_SH_ICON} Ferma",
408
+ "1192437986592323780": "{$START_BLOCK_IF}{$START_TAG_SH_ICON}pause{$CLOSE_TAG_SH_ICON} Pausa {$CLOSE_BLOCK_IF}{$START_BLOCK_ELSE}{$START_TAG_SH_ICON}play{$CLOSE_TAG_SH_ICON} Avvio {$CLOSE_BLOCK_ELSE}",
409
+ "4388287151461319800": "Avvio dell'operazione...",
329
410
  "1567982897123322443": "Avvio backup ...",
330
411
  "8214337426799363575": "Verifica dei dati del backend...",
331
412
  "4199427160533437744": "Verifica dati remoti ...",
@@ -371,6 +452,7 @@
371
452
  "6215915390003545324": "La cartella di destinazione remota non esiste.",
372
453
  "1976412017985703383": "Crea cartella",
373
454
  "80187630355996574": "La cartella di destinazione remota non esiste, vuoi crearla?",
455
+ "3212901531237915445": "La cartella remota non esiste.",
374
456
  "2657043015926552641": "Errore sconosciuto",
375
457
  "1335321848572277710": "Errore creazione cartella",
376
458
  "1721040755865732399": "Non è stato possibile creare la cartella di destinazione remota. {$PH}",
@@ -378,9 +460,11 @@
378
460
  "270411010336043280": "La cartella di destinazione remota è stata creata correttamente.",
379
461
  "777574985596806423": "Fidati del certificato",
380
462
  "4878290483396847024": "Il server utilizza un certificato non attendibile.\n Se è un certificato autofirmato, puoi scegliere di fidarti di questo certificato.\n Il server ha riportato l'hash del certificato: {$PH}",
463
+ "8136272597418724504": "Il certificato del server non è attendibile.",
381
464
  "7282770028237993229": "Approvi la chiave host?",
382
465
  "2770164445878213401": "Non è stato specificato alcun certificato, verificare che la chiave host riportata sia corretta: {$PH}",
383
466
  "3821661153451769620": "Approvare",
467
+ "2088971677149285522": "La chiave host non è stata approvata.",
384
468
  "2406602216329132117": "La chiave host è cambiata",
385
469
  "2525519874157700262": "La chiave host è cambiata; verifica con l'amministratore del server se è corretta,\naltrimenti potresti essere vittime di un attacco MAN-IN-THE-MIDDLE.\nVuoi SOSTITUIRE la tua chiave host ATTUALE {$PH}\ncon la chiave host RIPORTATA: {$PH_1}?",
386
470
  "6621852573972124185": "Test connessione non riuscita",
@@ -403,11 +487,17 @@
403
487
  "2557674464792014090": "Durata (decrescente)",
404
488
  "1378871011999089271": "Backup",
405
489
  "8999782137177065427": "I backup sono memorizzati nel cloud e possono essere ripristinati in qualsiasi momento.",
490
+ "1927421236918525990": "Aggiungi {$START_TAG_SH_ICON}plus{$CLOSE_TAG_SH_ICON}",
406
491
  "6366658542035335159": "Ripristina",
407
492
  "9013537526263843585": "Ripristina consente di ripristinare i dati dal cloud.",
493
+ "592816210992080446": "Avvia {$START_TAG_SH_ICON}arrow-right{$CLOSE_TAG_SH_ICON}",
408
494
  "1677665968492592597": "I miei backup",
495
+ "683771787570008506": "{$START_TAG_SH_ICON}rows{$CLOSE_TAG_SH_ICON} Lista",
496
+ "4065644497478312884": "{$START_TAG_SH_ICON}list{$CLOSE_TAG_SH_ICON} Dettagli",
497
+ "3966023542915422816": "Tempo: {$START_TAG_STRONG}{$INTERPOLATION}{$CLOSE_TAG_STRONG}{$START_TAG_SH_ICON}clock{$CLOSE_TAG_SH_ICON}",
409
498
  "5139724972778583243": "Tempo relativo",
410
499
  "7459785994766804203": "Tempo effettivo",
500
+ "5968742786475166951": "Ordina per: {$START_TAG_STRONG}{$INTERPOLATION}{$CLOSE_TAG_STRONG}{$START_TAG_SH_ICON}arrows-down-up{$CLOSE_TAG_SH_ICON}",
411
501
  "7708270344948043036": "{$INTERPOLATION}",
412
502
  "5195907025136652253": "Prossima esecuzione:",
413
503
  "4220765745195024064": "Durata:",
@@ -416,11 +506,22 @@
416
506
  "3839108367953461894": "Nessun backup trovato",
417
507
  "2737753982083076672": "Backup {$START_TAG_NG_CONTAINER}{$CLOSE_TAG_NG_CONTAINER}",
418
508
  "8239510835983979014": "Tipo {$START_TAG_NG_CONTAINER}{$CLOSE_TAG_NG_CONTAINER}",
509
+ "4031685509248518357": "Ultimo backup {$START_TAG_NG_CONTAINER}{$CLOSE_TAG_NG_CONTAINER}",
510
+ "6221598791249318435": "Prossima esecuzione {$START_TAG_NG_CONTAINER}{$CLOSE_TAG_NG_CONTAINER}",
419
511
  "6061597570084022535": "Durata {$START_TAG_NG_CONTAINER}{$CLOSE_TAG_NG_CONTAINER}",
420
512
  "2200211643890848273": "Sorgente {$START_TAG_NG_CONTAINER}{$CLOSE_TAG_NG_CONTAINER}",
421
513
  "1887705198379537678": "Destinazione {$START_TAG_NG_CONTAINER}{$CLOSE_TAG_NG_CONTAINER}",
422
514
  "3193976279273491157": "Azioni",
515
+ "2033393708907751806": "{VAR_PLURAL, plural, =0 {No versions} =1 {1 Versione} other {{{INTERPOLATION}} Versioni}}",
423
516
  "8187139875840700893": "Caricamento dei backup...",
517
+ "5538720651556504926": "{$START_TAG_SH_ICON}play-circle{$CLOSE_TAG_SH_ICON}{$START_BLOCK_IF} Avvio {$CLOSE_BLOCK_IF}",
518
+ "6370106640591740243": "{$START_TAG_SH_ICON}clock-counter-clockwise{$CLOSE_TAG_SH_ICON} Ripristino",
519
+ "3209881585874299706": "{$START_TAG_SH_ICON}x-circle{$CLOSE_TAG_SH_ICON} Elimina",
520
+ "3774821360524815607": "{$START_TAG_SH_ICON}database{$CLOSE_TAG_SH_ICON} Database",
521
+ "6760351587885289921": "{$START_TAG_SH_ICON}check-square-offset{$CLOSE_TAG_SH_ICON} Verifica dei file",
522
+ "8122955396445434605": "{$START_TAG_SH_ICON}file-archive{$CLOSE_TAG_SH_ICON} Comprimi ora",
523
+ "566215919641077686": "{$START_TAG_SH_ICON}terminal-window{$CLOSE_TAG_SH_ICON} Riga di comando",
524
+ "6438251515449676895": "{$START_TAG_SH_ICON}notepad{$CLOSE_TAG_SH_ICON} Registro",
424
525
  "2906587845957718064": "Locale",
425
526
  "5569128980493130010": "Cambia la passphrase",
426
527
  "168135303014923503": "Duplicati deve essere protetto con una passphrase e una passphrase casuale è stata generata per te. {$LINE_BREAK}{$LINE_BREAK} Se apri Duplicati dall'icona della barra delle applicazioni, non è necessaria una passphrase, ma se vuoi aprirlo da un'altra posizione è necessario impostare una passphrase nota. Vuoi impostare una passphrase ora?",
@@ -429,10 +530,19 @@
429
530
  "5384970007856629266": "Non ora grazie",
430
531
  "3143478087463665703": "Sì, aggiorna subito la passphrase",
431
532
  "2125684709649375393": "La password deve essere inserita e deve corrispondere",
533
+ "6533924617979855605": "{$START_TAG_SH_ICON}house{$CLOSE_TAG_SH_ICON} Home",
534
+ "1124201487120670444": "{$START_TAG_SH_ICON}database{$CLOSE_TAG_SH_ICON} Aggiungi backup",
535
+ "7392364955460104196": "{$START_TAG_SH_ICON}gear{$CLOSE_TAG_SH_ICON} Impostazioni",
536
+ "2741656091226715981": "{$START_TAG_SH_ICON}skip-back{$CLOSE_TAG_SH_ICON} Usa la vecchia UI",
537
+ "3227513892966692029": "{$START_TAG_SH_ICON}sign-out{$CLOSE_TAG_SH_ICON} Disconnetti",
538
+ "2386974033021349187": "{$START_TAG_SH_ICON}info{$CLOSE_TAG_SH_ICON} Informazioni su Duplicati",
539
+ "463793077135403842": "{$START_TAG_SH_ICON}files{$CLOSE_TAG_SH_ICON} Documentazione {$START_TAG_SH_ICON_1}arrow-square-out{$CLOSE_TAG_SH_ICON}",
540
+ "3100478220554156697": "{$START_TAG_SH_ICON}chats-circle{$CLOSE_TAG_SH_ICON} Visita il forum {$START_TAG_SH_ICON_1}arrow-square-out{$CLOSE_TAG_SH_ICON}",
432
541
  "2772023564304193657": "Inserisci la tua password",
433
542
  "5245824021705017953": "Disconnessione...",
434
543
  "4500038018525867189": "Ti sei disconnesso correttamente e sei stato reindirizzato alla pagina di accesso.",
435
544
  "648168694486340407": "Vai alla pagina di accesso",
545
+ "510226563600599366": "Se il file di backup non è stato scaricato automaticamente, {$START_LINK}clicca con il tasto destro e scegli "Salva come..."{$CLOSE_LINK}",
436
546
  "2955903656284773523": "Ripara",
437
547
  "3099741642167775297": "Scarica",
438
548
  "7890783466692896405": "Trovato nuovo aggiornamento:",
@@ -461,23 +571,33 @@
461
571
  "4215258942370951684": "La destinazione remota è vuota. Verifica che i dati di destinazione siano corretti.",
462
572
  "2612838071660502685": "La cartella è vuota",
463
573
  "7272784983659933714": "Inserisci la passphrase del backup, se definita.",
574
+ "5344870529253699461": "{$START_TAG_SH_RADIO}{$CLOSE_TAG_SH_RADIO} Crittografia",
575
+ "6689825203862218774": "{$START_TAG_SH_RADIO}{$CLOSE_TAG_SH_RADIO} Seleziona i file",
576
+ "4880644165709570443": "Si è verificato un errore durante la copia del backup in una posizione temporanea: {$PH}",
577
+ "8795047040687500838": "Si è verificato un errore",
464
578
  "867581740512495020": "Database locale mancante",
465
579
  "3802457877200357493": "Il database locale per questo backup è mancante. Ripara o ricrea il database locale prima del ripristino.",
466
580
  "1814609768842652084": "Si è verificato un errore durante il caricamento dei gruppi di file del backup: {$PH}",
467
- "4522995268741023396": "L'archivio remoto è criptato. Inserisci la passphrase per accedere al backup.",
581
+ "4522995268741023396": "L'archivio remoto è crittografato. Inserisci la passphrase per accedere al backup.",
468
582
  "7257147754379383116": "La cartella di archiviazione del backup non è stata trovata.",
469
583
  "2028113755026135188": "La cartella di archiviazione del backup non contiene nessun gruppo di file.",
470
584
  "830496467820752652": "Impossibile caricare i gruppi di file del backup",
471
585
  "4631557773034366011": "Ripristino completato",
472
586
  "3166265465367390657": "check-bold",
473
587
  "1862345698928393598": "warning-octagon",
588
+ "8341030895005237972": "Avanzamento ripristino: {$INTERPOLATION}{$START_TAG_SH_SPINNER}{$CLOSE_TAG_SH_SPINNER}",
474
589
  "6004424636294098397": "File elaborati:",
475
590
  "2659773090054838845": "Dimensione elaborata:",
476
591
  "5851560788527570644": "Notifiche",
477
592
  "325172806395484991": "Seleziona i file",
593
+ "4042011820374923682": "(parziale)",
594
+ "5699359613942931440": "{$START_TAG_SH_ICON}arrow-left{$CLOSE_TAG_SH_ICON}{$INTERPOLATION}",
595
+ "8592963847307503692": "Ripristino da configurazione {$START_TAG_DIV}{$START_TAG_BUTTON}{$START_TAG_SH_ICON}arrow-left{$CLOSE_TAG_SH_ICON} Indietro {$CLOSE_TAG_BUTTON}{$START_TAG_BUTTON_1}{$START_TAG_SH_ICON}download-simple{$CLOSE_TAG_SH_ICON} Ripristina {$CLOSE_TAG_BUTTON}{$CLOSE_TAG_DIV}",
478
596
  "2351337624853836837": "Seleziona un file di configurazione",
479
597
  "527691487030937649": "Da dove vuoi ripristinare?",
598
+ "6597430560483889752": "Ripristino {$START_TAG_SH_ICON}arrow-right{$CLOSE_TAG_SH_ICON}",
480
599
  "3891152409365583719": "Impostazioni salvate",
600
+ "6231927997656324898": "{$START_TAG_SH_ICON}floppy-disk{$CLOSE_TAG_SH_ICON} Salva impostazioni",
481
601
  "8024650600986084314": "Registrazione per il controllo remoto",
482
602
  "3008478973302833120": "Il computer è ora registrato, apri questo link per aggiungerlo al tuo account",
483
603
  "3064490671150106718": "Registrazione, per favore attendi...",
@@ -0,0 +1 @@
1
+ import{b as ve,c as Ce}from"./chunk-YJPY33RI.js";import{a as fe}from"./chunk-KT7U3QIP.js";import{a as k}from"./chunk-GYDI67IZ.js";import"./chunk-4NBLWONL.js";import"./chunk-CCKT2GLS.js";import"./chunk-72HORZFV.js";import{a as P}from"./chunk-6Q6SSTBK.js";import{a as L}from"./chunk-XLDVUBTQ.js";import{a as ue}from"./chunk-LN26XMBJ.js";import"./chunk-7LYN2XHO.js";import{a as b,b as v,c as he,d as I}from"./chunk-GCCJSS4C.js";import{c as ie,d as ae,g as pe,h as ce}from"./chunk-ABYM5HWA.js";import{a as ee}from"./chunk-Z35OG2DV.js";import{v as le,x as me}from"./chunk-QF4DQYEP.js";import{a as te,b as oe,d as ne,e as re,f as se,i as de}from"./chunk-2QJVTZ56.js";import{a as ye}from"./chunk-I2LW33GO.js";import{la as Y,qa as Z}from"./chunk-5ZSBXGHQ.js";import"./chunk-FPPZ4BUR.js";import{a as be}from"./chunk-UCS5RU7N.js";import{b as ge}from"./chunk-JYWOYPSQ.js";import{A as x,B,Fb as z,H as w,Lc as q,Mc as X,N as G,P as R,R as J,Rc as Q,V as M,Y as _,_ as s,cb as K,f as j,i as W,ja as $,n as F,o as U,pa as d,r as S}from"./chunk-QONLYWYC.js";import"./chunk-EUDKD2JW.js";var E=class e{#o=s(b);#s=s(v);ngOnInit(){this.#s.fetchConfig(),this.#o.clearAllNotCurrentVersion()}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=K({type:e,selectors:[["app-root"]],decls:1,vars:0,template:function(o,n){o&1&&z(0,"router-outlet")},dependencies:[ie],encapsulation:2})};var Re={production:!0,baseUrl:"/api",machineServerUrl:"${WS_URL}",defaultTimeout:3e4};var h=new _("ENVIRONMENT");var A=class e{#o=s(de);isLoaded=d(!1);webmodules=d(null);preload(t=!1){let o=this.#o.getApiV1Webmodules().pipe(J(n=>this.webmodules.set(n)),w(()=>this.isLoaded.set(!0)));if(t)return o;o.subscribe()}static \u0275fac=function(o){return new(o||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})};var Ae=()=>{let e=s(I);return e.token()?!0:e.checkProxyAuthed().pipe(R(t=>t?F(!0):e.refreshToken().pipe(S(()=>!0))))},Ne=()=>{let e=s(v),t=s(k),o=s($),n=e.relayIsEnabled()?"longpoll":"websocket",i=[o.get(L).preload(!0),o.get(L).preloadFilterGroups(!0),o.get(A).preload(!0)];return e.configLoaded===null?x(i).pipe(S(()=>n)):e.configLoaded?.pipe(R(()=>x(i)))},Te=[{path:"",children:[{path:"login",canActivate:[],loadComponent:()=>import("./chunk-4IXUXIXV.js")},{path:"logout",loadComponent:()=>import("./chunk-F6ME3VE6.js")},{path:"",canActivate:[Ae],children:[{path:"",canActivate:[Ne],loadComponent:()=>import("./chunk-RZKDEJUP.js"),children:[{path:"",loadComponent:()=>import("./chunk-4IIDZXFC.js")},{path:"add-backup",loadComponent:()=>import("./chunk-ZDME3W57.js")},{path:"backup/:id/export",loadComponent:()=>import("./chunk-UST7PIBI.js")},{path:"backup/import",loadComponent:()=>import("./chunk-2S6ABLBU.js")},{path:"backup-draft/:id",loadComponent:()=>import("./chunk-PUNIQ3JW.js"),loadChildren:()=>import("./chunk-RWPF5SQT.js")},{path:"backup/:id",loadComponent:()=>import("./chunk-PUNIQ3JW.js"),loadChildren:()=>import("./chunk-RWPF5SQT.js")},{path:"backup/:id/log",loadComponent:()=>import("./chunk-7JHF4R5J.js")},{path:"backup/:id/database",loadComponent:()=>import("./chunk-DW7A6PHZ.js")},{path:"backup/:id/commandline",loadComponent:()=>import("./chunk-3OCWLJKG.js")},{path:"backup/:id/commandline/:runId",loadComponent:()=>import("./chunk-QNM5CG4Z.js")},{path:"backup/:id/delete",loadComponent:()=>import("./chunk-XX3WLO55.js")},{path:"restore",children:[{path:"",loadComponent:()=>import("./chunk-FNJU5CD3.js")},{path:"from-config",loadComponent:()=>import("./chunk-PHQBBCUL.js")}]},{path:"restore-from-files",loadComponent:()=>import("./chunk-XUIDYG2O.js"),loadChildren:()=>import("./chunk-RUXUFB7C.js")},{path:"restore-draft/:id",loadComponent:()=>import("./chunk-XUIDYG2O.js"),loadChildren:()=>import("./chunk-RUXUFB7C.js")},{path:"restore/:id",loadComponent:()=>import("./chunk-XUIDYG2O.js"),loadChildren:()=>import("./chunk-RUXUFB7C.js")},{path:"settings",loadComponent:()=>import("./chunk-K3ILN56U.js")},{path:"about",loadComponent:()=>import("./chunk-MGTRQOF6.js"),children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-PULERFBI.js")},{path:"changelog",loadComponent:()=>import("./chunk-KXM6LF3X.js")},{path:"libraries",loadComponent:()=>import("./chunk-GOVVHVP2.js")},{path:"system-info",loadComponent:()=>import("./chunk-NM7WJRU7.js")},{path:"server-settings",loadComponent:()=>import("./chunk-SWD3HS57.js")},{path:"logs",loadChildren:()=>import("./chunk-Q65KFDJ5.js")},{path:"crashlogs",loadComponent:()=>import("./chunk-72QJ345F.js")}]}]}]}]}];var V=null,we=(e,t)=>{let o=s(I),n=s(ae),i=s(b),l=s(h),r=i.getItem("locale"),u=s(me),a=ve(r),p=e.url==="/api/v1/auth/login",m=e.url==="/api/v1/auth/refresh",C=e.url==="/api/v1/progressstate",g=e.url==="/api/v1/remoteoperation/test",y=e.url==="/api/v1/filesystem/validate",T=e.url.startsWith("/api/v2/"),O=o.token(),D=e,H=e.headers.has("custom-proxy-check")||O===he;if(O&&e.url.startsWith(l.baseUrl)&&!H){let c=e.headers.set("Authorization",`Bearer ${O}`);r&&r!=="en-US"&&(c=c.set("X-Ui-Language",a)),D=e.clone({headers:c})}return t(D).pipe(S(c=>{if(c.type===4&&c.status===200&&T){let f=c.body;if(f?.Success===!1)throw{status:200,message:f?.Error??"Unknown error",error:{Error:f?.Error??"Unknown error"},requestBody:f}}return c}),B(c=>{let f=c.error?.Error||`Error Code: ${c.status}, Message: ${c.message}`;return!H&&(C&&c.status===404||g||y||u.error(f),m&&c.status===401&&(o.logout(),n.navigate(["/logout"])),!p&&!m&&c.status===401)?(V??=o.refreshToken().pipe(G()),V.pipe(R(()=>t(e.clone({headers:e.headers.set("Authorization",`Bearer ${o.token()}`)}))),w(()=>V=null))):U(()=>({error:c,message:f}))}))};var Oe="1.0.0",Me=`portal-proxy-client-${P()}`,xe=1,N=class e{#o=1e3;#s=s(h);#t=d("disconnected");#l=d(this.#o);#i=d(!1);#n=d(!1);#a=d(null);isConnectedToMachineServer=this.#n.asReadonly();wsState=this.#t.asReadonly();#p=[];#r={};#e=null;#m=new TextDecoder("utf-8");#c=null;#d=Q(()=>{let t=this.#i(),o=this.#l(),n=this.#a();if(!n||!t||!o||o<this.#o){this.#c&&window.clearInterval(this.#c);return}this.#c=window.setInterval(()=>{this.connectToMachineServer(n)},o)});utf8Atob(t){let o=Uint8Array.from(atob(t),i=>i.charCodeAt(0)),n=this.#m.decode(o);return n?JSON.parse(n):null}connectToMachineServer(t,o){let n=o?.reconnect??!1,i=this.wsState();(i==="disconnected"||i==="error"||n)&&(this.#e?.close(),this.#e=null),!this.#e&&(this.#e=new WebSocket(this.#s.machineServerUrl),this.#t.set("connecting"),this.#e.onopen=()=>{this.#t.set("connect"),this.#n.set(!0),this.#i.set(!1),this.#a.set(null)},this.#e.onclose=()=>{this.#t.set("disconnected"),this.#n.set(!1),this.#a.set(t),this.#i.set(!0)},this.#e.onerror=()=>{this.#t.set("error")},this.#e.onmessage=l=>{let r=JSON.parse(l.data);if(this.wsState()==="connect"){if(r.type!=="welcome"){this.disconnectFromMachineServer(`Unexpected message type, expected 'welcome' but got '${r.type}'`);return}let a={token:t,publicKey:"",clientVersion:Oe,protocolVersion:xe},p=this.createResponse(r,"authportal",a);this.#t.set("welcome"),this.#e?.send(p)}else if(this.wsState()==="welcome"){if(r.type!=="authportal"){this.disconnectFromMachineServer(`Unexpected message type, expected 'authportal' but got '${r.type}'`);return}var u=JSON.parse(r.payload??"");if(u.accepted===!1){this.disconnectFromMachineServer("Authentication failed");return}for(this.#t.set("authenticated"),this.#n.set(!0);this.#p.length>0;){let a=this.#p.pop();a&&this.#r[a.messageId]&&this.activateCommand(a)}}else if(this.wsState()==="authenticated"){if(r.type!=="command"){console.warn(`Unexpected message type, expected 'command' but got '${r.type}'`);return}let a=this.#r[r.messageId];if(a){if(r.errorMessage){a.reject(r.errorMessage);return}else{let p=JSON.parse(r.payload??"");p.body=p?.body==null?null:this.utf8Atob(p.body),a.resolve(p)}delete this.#r[r.messageId],window.clearTimeout(a.timer)}}})}disconnectFromMachineServer(t=null){t&&console.error(t),this.#e?.close(),this.#e=null,this.#t.set("disconnected"),this.#n.set(!1)}createResponse(t,o,n){let i={from:Me,to:t.from,type:o,messageId:t.messageId,payload:JSON.stringify(n)};return JSON.stringify(i)}sendCommand(t,o,n,i,l,r,u=5e3){return(this.wsState()==="disconnected"||this.wsState()==="error")&&this.connectToMachineServer(t),new Promise((a,p)=>{let m=P(),g={from:Me,to:o,type:"command",messageId:m,payload:JSON.stringify({method:n,path:i,requestBody:l,headers:r})},y={resolve:a,reject:p,timer:window.setTimeout(()=>{let T=this.#r[m];T&&(delete this.#r[m],T.reject("Timeout"))},u)};this.#r[m]=y,this.#n()?this.activateCommand(g):this.#p.push(g)})}activateCommand(t){this.#e?.send(JSON.stringify(t))}static \u0275fac=function(o){return new(o||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})};function Le(e){if(typeof e!="string")return null;let o=new TextEncoder().encode(e);return window.btoa(String.fromCharCode(...o))}function Ie(e,t,o){let n=e.relayconfigState.config();if(n===null)return o(t);let i=Le(t.body),l={};t.headers.keys().forEach(p=>{l[p]=t.headers.get(p)??""});let r=t.headers.get("timeout"),u=r!==null?parseInt(r):e.defaultTimeout;t.url.startsWith("/api/v1/serverstate")&&t.url.includes("longpoll=true")&&(u=1e3*99);let a=e.relayWebsocket.sendCommand(n.accessToken,n.clientId,t.method,t.url,i,l,u);return new j(p=>{a.then(m=>{let C=new te;l!=null&&Object.keys(l).forEach(y=>{C.set(y,l[y])});let g=new oe({body:m.body,status:m.code,statusText:"OK",headers:C});p.next(g),p.complete()})})}var ke=(e,t)=>{let o={relayconfigState:s(v),defaultTimeout:s(h).defaultTimeout,relayWebsocket:s(N)},n=o.relayconfigState.config();if(o.relayconfigState.configLoaded!==null&&n===null){let i=new W;return o.relayconfigState.configLoaded.subscribe(l=>{l&&Ie(o,e,t).subscribe(i)}),i}return Ie(o,e,t)};var Ee={providers:[q(),pe(Te,ce()),ne(se(),re([ke,we])),b,{provide:h,useValue:Re},{provide:X,useValue:Ce()},{provide:le,useValue:{alertVariant:"simple"}},fe,k,ge,Z,ue,Y,ye,be]};ee(E,Ee);
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.157",
2
+ "version": "0.0.159",
3
3
  "name": "@duplicati/ngclient",
4
4
  "license": "MIT",
5
5
  "contributors": [
package/chunk-2AVDJBM7.js DELETED
@@ -1 +0,0 @@
1
- import"./chunk-EUDKD2JW.js";var o=[{path:"",redirectTo:"select-files",pathMatch:"full"},{path:"destination",loadComponent:()=>import("./chunk-IB6ESS57.js")},{path:"encryption",loadComponent:()=>import("./chunk-GYDGMSUA.js")},{path:"select-files",loadComponent:()=>import("./chunk-Q3BXXS7G.js")},{path:"options",loadComponent:()=>import("./chunk-YZNZ5RQI.js")},{path:":taskid/progress",loadComponent:()=>import("./chunk-CAJEHCFP.js")}],t=o;export{t as default};
package/chunk-3F7ADWPY.js DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-BNWLPYK6.js";import"./chunk-QWQKYLNR.js";import"./chunk-QF4DQYEP.js";import"./chunk-PD73DDOS.js";import"./chunk-5ZSBXGHQ.js";import"./chunk-FPPZ4BUR.js";import"./chunk-QONLYWYC.js";import"./chunk-EUDKD2JW.js";export{a as default};
package/chunk-3N6V4QBS.js DELETED
@@ -1 +0,0 @@
1
- import"./chunk-EUDKD2JW.js";var o=[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-YC5FPDJH.js")},{path:"destination",loadComponent:()=>import("./chunk-E7Y6L3W6.js")},{path:"source-data",loadComponent:()=>import("./chunk-USX4C3JC.js")},{path:"schedule",loadComponent:()=>import("./chunk-VOLZIA33.js")},{path:"options",loadComponent:()=>import("./chunk-UDF726AD.js")}];export{o as default};
package/chunk-4NLJRM5D.js DELETED
@@ -1 +0,0 @@
1
- import{a as ut,c as ct,d as dt}from"./chunk-VUKS2SJL.js";import{a as ye}from"./chunk-3NFAL4U4.js";import{a as rt,b as Ve,c as _t}from"./chunk-4VY6SMSL.js";import{b as re}from"./chunk-Z27IQRKV.js";import{a as lt}from"./chunk-72HORZFV.js";import{a as Oe}from"./chunk-MTQKK2WN.js";import{b as ie,d as H}from"./chunk-ABYM5HWA.js";import{B as se,G as Y,K as ot,O as le,V as Me,X as at,b as Fe,c as z,d as he,e as j,f as Ne,h as Qe,i as oe,j as fe,k as Ze,n as et,o as Pe,p as tt,q as Ae,r as De,s as ae,t as Re,u as q,w as nt,z as it}from"./chunk-QF4DQYEP.js";import{h as st}from"./chunk-PD73DDOS.js";import{$b as u,Ab as Ge,Bb as Ue,Bc as Se,Cb as h,Db as s,Eb as l,Fb as g,H as we,Jb as B,Kb as k,Mb as x,Qc as $,Rc as ne,Sa as _,Tb as E,Ub as m,V as Ce,Vb as N,Vc as Be,Wc as ke,Xc as Te,Yb as xe,Zb as T,_ as R,cb as J,ea as d,fa as p,gc as ge,hb as je,hc as Ee,ic as be,kc as me,nc as U,oc as ve,pa as C,pc as Ye,sc as L,tc as I,ub as qe,uc as w,xb as M,yb as O,zb as $e}from"./chunk-QONLYWYC.js";import{a as b,b as X}from"./chunk-EUDKD2JW.js";var Le=class a{fromString(t){if(!t)return null;let e=t.match(/(\d+)([smhDWMY])/);return e&&{value:parseInt(e[1]),unit:e[2]}}toString(t,e){return`${t}${e}`}static \u0275fac=function(e){return new(e||a)};static \u0275prov=Ce({token:a,factory:a.\u0275fac,providedIn:"root"})};function Et(a,t){if(a&1){let e=x();s(0,"div",24)(1,"sh-form-field")(2,"label",25),N(3,7),l(),s(4,"input",26,0),w("ngModelChange",function(i){d(e);let o=u();return I(o.scheduleFields.nextTime().time,i)||(o.scheduleFields.nextTime().time=i),p(i)}),T("focus",function(){d(e);let i=be(5);return p(i.showPicker())}),l(),s(6,"sh-icon",27),U(7,"clock"),l()(),s(8,"sh-form-field"),g(9,"label",28),s(10,"input",29,1),w("ngModelChange",function(i){d(e);let o=u();return I(o.scheduleFields.nextTime().date,i)||(o.scheduleFields.nextTime().date=i),p(i)}),T("focus",function(){d(e);let i=be(11);return p(i.showPicker())}),l(),s(12,"sh-icon",27),U(13,"calendar"),l()()(),s(14,"div",24)(15,"sh-form-field")(16,"label",30),N(17,8),l(),s(18,"input",31),w("ngModelChange",function(i){d(e);let o=u();return I(o.scheduleFields.runAgain().repeatValue,i)||(o.scheduleFields.runAgain().repeatValue=i),p(i)}),l()(),s(19,"sh-select",32)(20,"input",33),w("ngModelChange",function(i){d(e);let o=u();return I(o.scheduleFields.runAgain().repeatUnit,i)||(o.scheduleFields.runAgain().repeatUnit=i),p(i)}),l()()(),s(21,"app-toggle-card",34),B(22,35),N(23,9),k(),s(24,"div",36)(25,"sh-toggle",19),E(26,10),s(27,"input",20),w("ngModelChange",function(i){d(e);let o=u();return I(o.scheduleFields.runAgain().allowedDays.mon,i)||(o.scheduleFields.runAgain().allowedDays.mon=i),p(i)}),l(),m(),l(),s(28,"sh-toggle",19),E(29,11),s(30,"input",20),w("ngModelChange",function(i){d(e);let o=u();return I(o.scheduleFields.runAgain().allowedDays.tue,i)||(o.scheduleFields.runAgain().allowedDays.tue=i),p(i)}),l(),m(),l(),s(31,"sh-toggle",19),E(32,12),s(33,"input",20),w("ngModelChange",function(i){d(e);let o=u();return I(o.scheduleFields.runAgain().allowedDays.wed,i)||(o.scheduleFields.runAgain().allowedDays.wed=i),p(i)}),l(),m(),l(),s(34,"sh-toggle",19),E(35,13),s(36,"input",20),w("ngModelChange",function(i){d(e);let o=u();return I(o.scheduleFields.runAgain().allowedDays.thu,i)||(o.scheduleFields.runAgain().allowedDays.thu=i),p(i)}),l(),m(),l(),s(37,"sh-toggle",19),E(38,14),s(39,"input",20),w("ngModelChange",function(i){d(e);let o=u();return I(o.scheduleFields.runAgain().allowedDays.fri,i)||(o.scheduleFields.runAgain().allowedDays.fri=i),p(i)}),l(),m(),l(),s(40,"sh-toggle",19),E(41,15),s(42,"input",20),w("ngModelChange",function(i){d(e);let o=u();return I(o.scheduleFields.runAgain().allowedDays.sat,i)||(o.scheduleFields.runAgain().allowedDays.sat=i),p(i)}),l(),m(),l(),s(43,"sh-toggle",19),E(44,16),s(45,"input",20),w("ngModelChange",function(i){d(e);let o=u();return I(o.scheduleFields.runAgain().allowedDays.sun,i)||(o.scheduleFields.runAgain().allowedDays.sun=i),p(i)}),l(),m(),l()()()}if(a&2){let e=u();_(4),L("ngModel",e.scheduleFields.nextTime().time),_(6),L("ngModel",e.scheduleFields.nextTime().date),_(8),L("ngModel",e.scheduleFields.runAgain().repeatValue),_(),h("options",e.unitOptions)("isClearable",!1),_(),L("ngModel",e.scheduleFields.runAgain().repeatUnit),_(),h("disallowToggle",!0),_(6),L("ngModel",e.scheduleFields.runAgain().allowedDays.mon),_(3),L("ngModel",e.scheduleFields.runAgain().allowedDays.tue),_(3),L("ngModel",e.scheduleFields.runAgain().allowedDays.wed),_(3),L("ngModel",e.scheduleFields.runAgain().allowedDays.thu),_(3),L("ngModel",e.scheduleFields.runAgain().allowedDays.fri),_(3),L("ngModel",e.scheduleFields.runAgain().allowedDays.sat),_(3),L("ngModel",e.scheduleFields.runAgain().allowedDays.sun)}}var mt=[{key:"s",label:$localize`Seconds`},{key:"m",label:$localize`Minutes`},{key:"h",label:$localize`Hours`},{key:"D",label:$localize`Days`},{key:"W",label:$localize`Weeks`},{key:"M",label:$localize`Months`},{key:"Y",label:$localize`Years`}],ee={autoRun:!0,nextTime:{time:"13:00",date:new Date().toISOString().split("T")[0]},runAgain:{repeatValue:1,repeatUnit:"D",allowedDays:{mon:!1,tue:!1,wed:!1,thu:!1,fri:!1,sat:!1,sun:!1}}},Ke=class a{#e=R(Q);#t=R(H);#i=R(ie);unitOptions=mt;scheduleFields=this.#e.scheduleFields;goBack(){this.#t.navigate(["source-data"],{relativeTo:this.#i.parent})}next(){this.#e.isNew()||this.#e.submit(!0),this.#t.navigate(["options"],{relativeTo:this.#i.parent})}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=J({type:a,selectors:[["app-schedule"]],decls:16,vars:2,consts:()=>{let t;t=$localize`Schedule`;let e;e=$localize` Automatically run backups ${"\uFFFD#5\uFFFD\uFFFD/#5\uFFFD"}:TAG_INPUT:`;let n;n=$localize`If a date was missed, the job will run as soon as possible.`;let i;i=$localize`${"\uFFFD#12\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#12\uFFFD"}:CLOSE_TAG_SH_ICON: Go back `;let o;o=$localize`${"\uFFFD#15\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#15\uFFFD"}:CLOSE_TAG_SH_ICON: Continue `;let r;r=$localize`Next time`;let c;c=$localize`Run again every`;let F;F=$localize`Allowed days`;let S;S=$localize` Monday ${"\uFFFD#27\uFFFD\uFFFD/#27\uFFFD"}:TAG_INPUT:`;let y;y=$localize` Tuesday ${"\uFFFD#30\uFFFD\uFFFD/#30\uFFFD"}:TAG_INPUT:`;let P;P=$localize` Wednesday ${"\uFFFD#33\uFFFD\uFFFD/#33\uFFFD"}:TAG_INPUT:`;let G;G=$localize` Thursday ${"\uFFFD#36\uFFFD\uFFFD/#36\uFFFD"}:TAG_INPUT:`;let K;K=$localize` Friday ${"\uFFFD#39\uFFFD\uFFFD/#39\uFFFD"}:TAG_INPUT:`;let v;v=$localize` Saturday ${"\uFFFD#42\uFFFD\uFFFD/#42\uFFFD"}:TAG_INPUT:`;let W;return W=$localize` Sunday ${"\uFFFD#45\uFFFD\uFFFD/#45\uFFFD"}:TAG_INPUT:`,[["timeRef",""],["dateRef",""],t,e,n,i,o,r,c,F,S,y,P,G,K,v,W,[1,"title-30"],[1,"toggle-wrap"],[1,"raised","primary"],["type","checkbox",3,"ngModelChange","ngModel"],[1,"form-actions"],["shButton","","type","button",3,"click"],["shButton","",1,"raised","primary",3,"click"],[1,"row-inputs"],["for","time"],["type","time","id","time",3,"ngModelChange","focus","ngModel"],["suffix",""],["for","date"],["type","date","id","date",3,"ngModelChange","focus","ngModel"],["for","repeatValue"],["type","number","id","repeatValue",3,"ngModelChange","ngModel"],["value","key","label","label",3,"options","isClearable"],["type","text","id","repeatUnit",3,"ngModelChange","ngModel"],[3,"disallowToggle"],["title",""],[1,"days-wrap"]]},template:function(e,n){e&1&&(s(0,"h3",17),N(1,2),l(),s(2,"div",18)(3,"sh-toggle",19),E(4,3),s(5,"input",20),w("ngModelChange",function(o){return I(n.scheduleFields.autoRun,o)||(n.scheduleFields.autoRun=o),o}),l(),m(),l(),s(6,"p"),N(7,4),l()(),M(8,Et,46,14),s(9,"div",21)(10,"button",22),T("click",function(){return n.goBack()}),E(11,5),g(12,"sh-icon"),m(),l(),s(13,"button",23),T("click",function(){return n.next()}),E(14,6),g(15,"sh-icon"),m(),l()()),e&2&&(_(5),L("ngModel",n.scheduleFields.autoRun),_(3),O(n.scheduleFields.autoRun()?8:-1))},dependencies:[ae,z,Ze,Fe,j,oe,Y,Me,q,se,le,ye],styles:["[_nghost-%COMP%]{display:block;width:100%;max-width:32.5rem;padding:2.5rem 2.5rem 1.5rem;display:flex;flex-direction:column;gap:1.5rem}.toggle-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.row-inputs[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:.5rem}.row-inputs[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0}.days-wrap[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})};function St(a,t){if(a&1&&(B(0,4),U(1),k()),a&2){let e,n=u();_(),ve((e=n.currentExpressionOption())==null?null:e.startsWith)}}function Tt(a,t){if(a&1&&(B(0,5),U(1),k()),a&2){let e,n=u();_(),ve((e=n.currentExpressionOption())==null?null:e.endsWith)}}var Ft=[{key:"Excludes folders where name contains",value:"-FolderName"},{key:"Excludes folder",value:"-Folder"},{key:"Excludes files where name contains",value:"-FileName"},{key:"Excludes file extension",value:"-Extension"},{key:"Excludes files where name matches regex",value:"-Regex"},{key:"Includes files where name matches regex",value:"+Regex"},{key:"Excludes file group",value:"-FileGroup"},{key:"Includes expression",value:"+Expression"},{key:"Excludes expression",value:"-Expression"},{key:"None",value:"-Unknown"}],Ie=class a{path=ke.required();osType=ke();pathChange=Be();remove=Be();internalPath=C("");pathType=C("-Expression");currentExpressionOption=$(()=>{let t=this.pathType();return this.expressionOptions().find(e=>e.value===t)});expressionOptions=$(()=>{let e=this.osType()==="Windows"?"\\":"/";return Ft.map(n=>n.value==="-Folder"||n.value==="+Folder"?X(b({},n),{startsWith:"",endsWith:""}):n.value==="-FolderName"||n.value==="+FolderName"?X(b({},n),{startsWith:"*",endsWith:`*${e}`}):n.value==="-FileName"||n.value==="+FileName"?X(b({},n),{startsWith:"[.*",endsWith:`[^\\${e}]*]`}):n.value==="-FileGroup"||n.value==="+FileGroup"?X(b({},n),{startsWith:"{",endsWith:"}"}):n.value==="-Regex"||n.value==="+Regex"?X(b({},n),{startsWith:"[",endsWith:"]"}):n.value==="-Extension"||n.value==="+Extension"?X(b({},n),{startsWith:"*.",endsWith:""}):X(b({},n),{startsWith:"",endsWith:""}))});pathEffect=ne(()=>{let t=this.path(),e=t.slice(1),n=t.startsWith("-")?"-":"+",i=this.osType()==="Windows",o=i?"\\":"/";e.startsWith("%")&&e.endsWith(o)||i&&e.slice(2).startsWith(o)&&e.endsWith(o)||e.startsWith(o)&&e.endsWith(o)?(this.pathType.set(`${n}Folder`),this.internalPath.set(e)):e.startsWith("*")&&e.endsWith(`*${o}`)?(this.pathType.set(`${n}FolderName`),this.internalPath.set(e.slice(1,-2))):e.startsWith("[.*")&&e.endsWith(`[^\\${o}]*]`)?(this.pathType.set(`${n}FileName`),this.internalPath.set(e.slice(3,-7))):e.startsWith("{")&&e.endsWith("}")?(this.pathType.set(`${n}FileGroup`),this.internalPath.set(e.slice(1,-1))):e.startsWith("[")&&e.endsWith("]")?(this.pathType.set(`${n}Regex`),this.internalPath.set(e.slice(1,-1))):e.startsWith("*.")?(this.pathType.set(`${n}Extension`),this.internalPath.set(e.slice(2))):(this.pathType.set(`${n}Expression`),this.internalPath.set(e))});updateFilter(){let t=this.internalPath(),e=this.currentExpressionOption();t!==""&&this.pathChange.emit(`${e?.value.slice(0,1)}${e?.startsWith??""}${t}${e?.endsWith??""}`)}removeFilter(){this.remove.emit()}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=J({type:a,selectors:[["app-new-filter"]],inputs:{path:[1,"path"],osType:[1,"osType"]},outputs:{pathChange:"pathChange",remove:"remove"},decls:9,vars:6,consts:()=>{let t;return t=$localize`Select an option...`,[["value","value","label","key",3,"options","isClearable"],["type","text","placeholder",t,3,"ngModelChange","ngModel"],[1,"expression-input"],["type","text",3,"ngModelChange","ngModel"],["prefix",""],["suffix",""],[1,"filter-removal",3,"click"],[1,"sh-primary"]]},template:function(e,n){if(e&1&&(s(0,"sh-select",0)(1,"input",1),w("ngModelChange",function(o){return I(n.pathType,o)||(n.pathType=o),o}),T("ngModelChange",function(){return n.updateFilter()}),l()(),s(2,"sh-form-field",2)(3,"input",3),w("ngModelChange",function(o){return I(n.internalPath,o)||(n.internalPath=o),o}),T("ngModelChange",function(){return n.updateFilter()}),l(),M(4,St,2,1,"ng-container",4),M(5,Tt,2,1,"ng-container",5),l(),s(6,"div",6),T("click",function(){return n.removeFilter()}),s(7,"sh-icon",7),U(8,"x-circle"),l()()),e&2){let i,o;h("options",n.expressionOptions())("isClearable",!1),_(),L("ngModel",n.pathType),_(2),L("ngModel",n.internalPath),_(),O(!((i=n.currentExpressionOption())==null||i.startsWith==null)&&i.startsWith.length?4:-1),_(),O(!((o=n.currentExpressionOption())==null||o.endsWith==null)&&o.endsWith.length?5:-1)}},dependencies:[ae,z,j,oe,le,Y,q],styles:["[_nghost-%COMP%]{display:grid;grid-template-columns:13.125rem 1fr 1.875rem;gap:.5rem;align-items:flex-end}.expression-input[_ngcontent-%COMP%]{--ff-suffix-bg: var(--base-2)}.filter-removal[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center;justify-content:center;height:2.5rem;flex:0 0}"],changeDetection:0})};var ht=["formRef"],He=()=>({standalone:!0});function Nt(a,t){if(a&1){let e=x();s(0,"sh-form-field",41)(1,"input",42),w("ngModelChange",function(i){d(e);let o=u(2);return I(o.editingPath,i)||(o.editingPath=i),p(i)}),l()(),s(2,"button",43),T("click",function(){d(e);let i=u(2);return p(i.updatePath())}),s(3,"sh-icon"),U(4,"floppy-disk"),l()(),s(5,"button",43),T("click",function(){d(e);let i=u(2);return p(i.cancelEditPath())}),s(6,"sh-icon"),U(7,"x-bold"),l()()}if(a&2){let e=u(2);_(),L("ngModel",e.editingPath),h("ngModelOptions",Se(2,He))}}function ft(a,t){if(a&1){let e=x();s(0,"sh-form-field",41),g(1,"input",44),l(),s(2,"button",43),T("click",function(){d(e);let i=u().$implicit,o=u();return p(o.editPath(i))}),s(3,"sh-icon"),U(4,"pen"),l()(),s(5,"button",43),T("click",function(){d(e);let i=u().$implicit,o=u();return p(o.removePath(i))}),s(6,"sh-icon"),U(7,"trash-simple"),l()()}if(a&2){let e=u().$implicit;qe("readonly",!0),_(),h("ngModel",e)("ngModelOptions",Se(3,He))}}function Pt(a,t){if(a&1&&(s(0,"div",30),M(1,Nt,8,3)(2,ft,8,4),l()),a&2){let e=t.$implicit,n=u();_(),O(n.oldPath()===e?1:2)}}function At(a,t){if(a&1){let e=x();s(0,"app-new-filter",46),T("pathChange",function(i){let o=d(e).$index,r=u(2);return p(r.patchPathAt(i,o))})("remove",function(){let i=d(e).$index,o=u(2);return p(o.removePathAt(i))}),l()}if(a&2){let e=t.$implicit,n=u(2);h("path",e)("osType",n.osType()??"")}}function Dt(a,t){if(a&1&&Ge(0,At,1,2,"app-new-filter",45,$e),a&2){let e=u();Ue(e.pathArray())}}function Rt(a,t){if(a&1){let e=x();s(0,"div",31)(1,"app-size",47),T("ngModelChange",function(i){d(e);let o=u();return p(o.updateFilesLargerThan(i))}),l()()}if(a&2){let e=u();_(),h("ngModel",e.filesLargerThan())("ngModelOptions",Se(2,He))}}var V=new De,pt=(a={path:"",filters:[],excludes:{hidden:!1,system:!1,temporary:!1,filesLargerThan:null}})=>V.group({path:V.control(a.path),excludes:V.group({hidden:V.control(a.excludes.hidden),system:V.control(a.excludes.system),temporary:V.control(a.excludes.temporary),filesLargerThan:V.group({size:V.control(null),unit:V.control(null)})})}),Je=class a{#e=R(Q);#t=R(H);#i=R(ie);formRef=Te.required("formRef");sourceDataForm=this.#e.sourceDataForm;sourceDataFormSignal=this.#e.sourceDataFormSignal;newPathCtrl=new Qe("");filesLargerThan=$(()=>this.sourceDataFormSignal()?.excludes?.filesLargerThan?.size!==null);osType=this.#e.osType;pathSignal=re(this.sourceDataForm.controls.path.valueChanges);pathArray=$(()=>this.pathSignal()?.split("\0").filter(t=>t.startsWith("-")||t.startsWith("+")||t==="___none___")??[]);nonFilterPaths=$(()=>this.pathSignal()?.split("\0").filter(t=>!t.startsWith("-")&&!t.startsWith("+")&&t!==""));oldPath=C(null);editingPath=C(null);addingNewPath=C(!1);editPath(t){this.oldPath.set(t),this.editingPath.set(t)}updateFilesLargerThan(t){let{size:e,unit:n}=ct(t);this.sourceDataForm.controls.excludes.controls.filesLargerThan.setValue({size:e,unit:n})}updatePath(){let t=this.oldPath(),e=this.editingPath();if(!t||!e||e===t){this.oldPath.set(null),this.editingPath.set(null);return}let n=this.sourceDataForm.controls.path.value;this.sourceDataForm.controls.path.setValue(n?.replace(t,e)??""),this.oldPath.set(null),this.editingPath.set(null)}cancelEditPath(){this.oldPath.set(null),this.editingPath.set(null)}removePath(t){let n=(this.sourceDataForm.controls.path.value??"").split("\0"),i=n.indexOf(t);if(i===-1)return;n.splice(i,1);let o=n.filter(r=>r&&r!=="").join("\0");this.sourceDataForm.controls.path.setValue(o)}addFilter(t="-*"){let n=[this.sourceDataForm.controls.path.value,t].filter(i=>i&&i!=="").join("\0");this.sourceDataForm.controls.path.setValue(n)}patchPathAt(t,e){let i=this.sourceDataForm.controls.path.value.split("\0").filter(c=>!c.startsWith("-")&&!c.startsWith("+")).join("\0"),o=this.pathArray().map((c,F)=>F===e?`${t}`:`${c}`).join("\0"),r=[i,o].filter(c=>c&&c!=="").join("\0");this.sourceDataForm.controls.path.setValue(r)}removePathAt(t){let n=this.sourceDataForm.controls.path.value.split("\0").filter(r=>!r.startsWith("-")&&!r.startsWith("+")).join("\0"),i=this.pathArray().filter((r,c)=>c!==t).join("\0"),o=[n,i].filter(r=>r&&r!=="").join("\0");this.sourceDataForm.controls.path.setValue(o)}getPath(){return this.sourceDataForm.value.path??null}toggleFilesLargerThan(){this.sourceDataForm.controls.excludes.value.filesLargerThan?.size===null?this.sourceDataForm.controls.excludes.controls.filesLargerThan.setValue({size:50,unit:"MB"}):this.sourceDataForm.controls.excludes.controls.filesLargerThan.setValue({size:null,unit:null})}addNewPath(){let t=this.sourceDataForm.controls.path.value,e=this.newPathCtrl.value,n=t?.split("\0")||[];e&&!n.includes(e)&&n.push(e);let i=n.filter(o=>o&&o!=="").join("\0");this.sourceDataForm.controls.path.setValue(i),this.newPathCtrl.setValue("")}goBack(){this.#t.navigate(["destination"],{relativeTo:this.#i.parent})}next(){this.#e.isNew()||this.#e.submit(!0),this.#t.navigate(["schedule"],{relativeTo:this.#i.parent})}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=J({type:a,selectors:[["app-source-data"]],viewQuery:function(e,n){e&1&&ge(n.formRef,ht,5),e&2&&Ee()},decls:56,vars:12,consts:()=>{let t;t=$localize`Path`;let e;e=$localize`Add a direct path`;let n;n=$localize`Hidden files`;let i;i=$localize`System files`;let o;o=$localize`Temporary files`;let r;r=$localize`Source Data`;let c;c=$localize`Folder path`;let F;F=$localize`${"\uFFFD#12\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#12\uFFFD"}:CLOSE_TAG_SH_ICON: Go back `;let S;S=$localize`${"\uFFFD#15\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#15\uFFFD"}:CLOSE_TAG_SH_ICON: Continue `;let y;y=$localize`Paths`;let P;P=$localize`Add a path directly from your machine.`;let G;G=$localize`Filters`;let K;K=$localize`Customize your filters.`;let v;v=$localize`Add filter`;let W;W=$localize`Exclude`;let A;A=$localize`Choose if there’s any files you want to exclude.`;let Z;Z=$localize` Files with the Hidden attribute ${"\uFFFD#46\uFFFD\uFFFD/#46\uFFFD"}:TAG_INPUT:`;let _e;_e=$localize` Files with the System attribute ${"\uFFFD#49\uFFFD\uFFFD/#49\uFFFD"}:TAG_INPUT:`;let ue;ue=$localize` Files with the Temporary attribute ${"\uFFFD#52\uFFFD\uFFFD/#52\uFFFD"}:TAG_INPUT:`;let ce;ce=$localize` Files larger than `;let f;return f=$localize`Edit path`,[["formRef",""],r,c,F,S,y,P,G,K,v,W,A,Z,_e,ue,ce,[3,"submit","formGroup"],[1,"left"],[1,"title-30"],[1,"fill",3,"multiSelect","startingPath","showFiles"],["for","path"],["type","text","id","path","tabindex","4","placeholder",t,"formControlName","path"],[1,"form-actions"],["shButton","","type","button",3,"click"],["shButton","","type","submit",1,"raised","primary"],[1,"right"],[3,"disallowToggle"],["title",""],["description",""],[1,"paths"],[1,"path"],[1,"row-inputs"],["type","text","placeholder",e,3,"formControl"],["shButton","","type","button",1,"raised","primary",3,"click"],["type","button","shButton","","action","",3,"click"],["formGroupName","excludes",3,"disallowToggle"],[1,"raised","primary"],["type","checkbox","placeholder",n,"formControlName","hidden"],["type","checkbox","placeholder",i,"formControlName","system"],["type","checkbox","placeholder",o,"formControlName","temporary"],[1,"raised","primary",3,"click"],[1,"small"],["type","text","placeholder",f,3,"ngModelChange","ngModel","ngModelOptions"],["shButton","","type","button",1,"small",3,"click"],["type","text",3,"ngModel","ngModelOptions"],[3,"path","osType"],[3,"pathChange","remove","path","osType"],[3,"ngModelChange","ngModel","ngModelOptions"]]},template:function(e,n){if(e&1){let i=x();s(0,"form",16,0),T("submit",function(){return d(i),p(n.next())}),s(2,"div",17)(3,"h3",18),N(4,1),l(),s(5,"app-file-tree",19)(6,"label",20),N(7,2),l(),g(8,"input",21),l(),s(9,"div",22)(10,"button",23),T("click",function(){return d(i),p(n.goBack())}),E(11,3),g(12,"sh-icon"),m(),l(),s(13,"button",24),E(14,4),g(15,"sh-icon"),m(),l()()(),s(16,"div",25)(17,"app-toggle-card",26),B(18,27),N(19,5),k(),s(20,"p",28),N(21,6),l(),s(22,"div",29),Ge(23,Pt,3,1,"div",30,$e),s(25,"div",31)(26,"sh-form-field"),g(27,"input",32),l(),s(28,"button",33),T("click",function(){return d(i),p(n.addNewPath())}),s(29,"sh-icon"),U(30,"plus"),l()()()()(),s(31,"app-toggle-card",26),B(32,27),N(33,7),k(),s(34,"p",28),N(35,8),l(),s(36,"button",34),T("click",function(){return d(i),p(n.addFilter())}),N(37,9),l(),M(38,Dt,2,0),l(),s(39,"app-toggle-card",35),B(40,27),N(41,10),k(),s(42,"p",28),N(43,11),l(),s(44,"sh-toggle",36),E(45,12),g(46,"input",37),m(),l(),s(47,"sh-toggle",36),E(48,13),g(49,"input",38),m(),l(),s(50,"sh-toggle",36),E(51,14),g(52,"input",39),m(),l(),s(53,"sh-toggle",40),T("click",function(){return d(i),p(n.toggleFilesLargerThan())}),N(54,15),l(),M(55,Rt,2,3,"div",31),l()()()}if(e&2){let i;h("formGroup",n.sourceDataForm),_(5),h("multiSelect",!0)("startingPath",n.getPath())("showFiles",!0),_(12),h("disallowToggle",!0),_(6),Ue(n.nonFilterPaths()),_(4),h("formControl",n.newPathCtrl),_(4),h("disallowToggle",!0),_(7),O((i=n.pathSignal())!=null&&i.length?38:-1),_(),h("disallowToggle",!0),_(14),me("active",n.filesLargerThan()),_(2),O(n.filesLargerThan()?55:-1)}},dependencies:[ae,fe,z,Fe,j,Ne,oe,Re,et,Pe,Ae,tt,Y,q,se,Me,Ie,ut,ye,dt],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;flex:1 0;overflow:hidden}form[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;flex:1 0;overflow:hidden}.right[_ngcontent-%COMP%], .left[_ngcontent-%COMP%]{flex:1 0;display:flex;flex-direction:column;gap:1.5rem}.left[_ngcontent-%COMP%]{padding:2.5rem;overflow:hidden;border-right:1px solid var(--base-4)}.right[_ngcontent-%COMP%]{padding:2.5rem 1.5rem;overflow:auto}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}sh-divider[_ngcontent-%COMP%]{margin:.75rem 0}.row-inputs[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr min-content;gap:.25rem}.paths[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.path[_ngcontent-%COMP%]{display:grid;align-items:center;grid-template-columns:1fr min-content min-content;gap:.25rem}"],changeDetection:0})};var Ct="1W:1D,4W:1W,12M:1M",Q=class a{#e=R(H);#t=R(Oe);#i=R(it);#n=R(st);#a=R(Le);generalForm=gt();sourceDataForm=pt();scheduleFields={autoRun:C(ee.autoRun),nextTime:C(ee.nextTime),runAgain:C(ee.runAgain)};settings=C([]);optionsFields={remoteVolumeSize:C("50MB"),backupRetention:C("all"),backupRetentionTime:C(""),backupRetentionVersions:C(0),backupRetentionCustom:C("")};targetUrlModel=C(null);backupMetadata=C(null);isDraft=C(!1);backupId=C(null);backupName=$(()=>this.generalFormSignal()?.name??"");isSubmitting=C(!1);finishedLoading=C(!1);backupDefaults=C(null);applicationOptions=C(null);isNew=$(()=>this.backupId()==="new");osType=$(()=>this.#t.systemInfo()?.OSType);selectedOptions=C([]);sourceDataFormSignal=re(this.sourceDataForm.valueChanges);generalFormSignal=re(this.generalForm.valueChanges);encryptionFieldSignal=re(this.generalForm.controls.encryption.valueChanges);advancedOptions=$(()=>this.#t.systemInfo()?.Options?.map(this.#_)??[]);#o=C("");#s=C(null);#l=null;testSignal=this.#o.asReadonly();testErrorMessage=this.#s.asReadonly();#d=ne(()=>{let t=this.targetUrlModel(),e=this.#o(),n=this.#l;this.#l=t,!(e==="testing"||n===null||n===t)&&(this.#o.set(""),this.#s.set(null))});setTestState(t,e){this.#o.set(t),this.#s.set(e??null)}#_(t){return{name:t.Name,type:t.Type,shortDescription:t.ShortDescription??void 0,longDescription:t.LongDescription??void 0,options:t.ValidValues}}encryptionOptions=$(()=>{let t=this.#t.systemInfo()?.EncryptionModules??[];return[pe,...t]});nonSelectedOptions=$(()=>this.advancedOptions().sort((t,e)=>t?.name&&e?.name?t?.name.localeCompare(e?.name):0).filter(t=>this.selectedOptions()?.findIndex(e=>e.name===t.name)===-1));submit(t=!1){this.isSubmitting.set(!0);let e=this.#u(),n=this.backupId();this.isDraft()&&e.Backup&&(e.Backup.Metadata=this.backupMetadata()),n==="new"||!n||this.isDraft()?this.#n.postApiV1Backups({requestBody:e}).pipe(we(()=>this.isSubmitting.set(!1))).subscribe({next:()=>{t||this.exit(!1)},error:()=>{}}):this.#n.putApiV1BackupById({id:n,requestBody:e}).pipe(we(()=>this.isSubmitting.set(!1))).subscribe({next:()=>{t||this.exit(!1)},error:()=>{}})}exit(t){if(!t){this.#r(),this.#e.navigate(["/"]);return}this.#i.open(lt,{data:{title:$localize`Confirm exit?`,message:$localize`Are you sure you want to exit?`,confirmText:$localize`Yes`,cancelText:$localize`Cancel`},closed:e=>{e&&(this.#r(),this.#e.navigate(["/"]))}})}mapSourceDataToForm(t){let e=t.Sources??"",n=t.Filters?.map(c=>`${c.Include?"":"-"}${c.Expression}`)??[],i=t.Settings?.find(c=>c.Name==="--exclude-files-attributes")?.Value??"",o=t.Settings?.find(c=>c.Name==="--skip-files-larger-than")??null,r={path:[...e,...n].join("\0"),excludes:{hiddenFiles:i.includes("hidden"),systemFiles:i.includes("system"),tempFiles:i.includes("temporary"),filesLargerThan:o?.Value?.toUpperCase()??null}};this.sourceDataForm.patchValue(r)}mapDestinationToForm(t){this.targetUrlModel.set(t.TargetURL??"")}mapGeneralToForm(t){let e=t.Name??"",n=t.Description??"",i=t.Settings?.find(S=>S.Name==="encryption-module"),o=t.Settings?.find(S=>S.Name==="passphrase")?.Value??"",r=i?.Value&&i.Value.length?i.Value:"",c=t.Settings?.find(S=>S.Name==="compression-module")?.Value??"",F={name:t.Name??"",description:t.Description??""};e&&e!==""&&(F.name=e),n&&n!==""&&(F.description=n),r&&r!==""&&(F.encryption=r),o&&o!==""&&(F.password=o,F.repeatPassword=o),c&&c!==""&&(F.compression=c),this.generalForm.patchValue(F)}mapScheduleToForm(t){if(!t){this.scheduleFields.autoRun.set(!1);return}let e=this.#a.fromString(t.Repeat)??null,n=this.#c(t.Time);this.scheduleFields.autoRun.set(!0),this.scheduleFields.nextTime.update(i=>b(b({},i),n)),this.scheduleFields.runAgain.set({repeatValue:e?.value??1,repeatUnit:e?.unit??"D",allowedDays:{mon:t.AllowedDays?.includes("mon")??!1,tue:t.AllowedDays?.includes("tue")??!1,wed:t.AllowedDays?.includes("wed")??!1,thu:t.AllowedDays?.includes("thu")??!1,fri:t.AllowedDays?.includes("fri")??!1,sat:t.AllowedDays?.includes("sat")??!1,sun:t.AllowedDays?.includes("sun")??!1}})}mapOptionsToForms(t){let e=["--no-encryption","--exclude-files-attributes","--skip-files-larger-than","dblock-size","passphrase","keep-time","keep-versions","retention-policy"],n=t.Settings?.filter(r=>!e.includes(r.Name)),i=t.Settings?.filter(r=>e.includes(r.Name));this.settings.set(n??[]),n?.forEach(r=>{if(r.Name==="encryption-module"&&this.isNew())return this.generalForm.controls.encryption.setValue(r.Value??"")});var o="all";i?.forEach(r=>{if(r.Name==="dblock-size"&&this.optionsFields.remoteVolumeSize.set(r.Value??"50MB"),r.Name==="keep-time"&&(r.Value??"")!=="")return o="time",this.optionsFields.backupRetentionTime.set(r.Value??"");if(r.Name==="keep-versions"&&(r.Value??"")!=="")return o="versions",this.optionsFields.backupRetentionVersions.set(r.Value?parseInt(r.Value):null);if(r.Name==="retention-policy"&&(r.Value??"")!=="")if(r.Value===Ct)o="smart";else return o="custom",this.optionsFields.backupRetentionCustom.set(r.Value??"")}),this.optionsFields.backupRetention.set(o)}storeMetadata(t,e){this.backupMetadata.set(e?t.Metadata??null:null)}getScheduleFormValue(){return{autoRun:this.scheduleFields.autoRun(),nextTime:this.scheduleFields.nextTime(),runAgain:this.scheduleFields.runAgain()}}#u(){let t=this.generalForm.value,e=this.getScheduleFormValue(),n=this.sourceDataForm.value,i=this.targetUrlModel(),o=null;e.runAgain?.repeatUnit&&e.runAgain?.repeatValue&&(o=this.#a.toString(e.runAgain.repeatValue,e.runAgain.repeatUnit));let r=e.runAgain?.allowedDays?Object.entries(e.runAgain?.allowedDays).filter(([P,G])=>G).map(([P,G])=>P):[],c=n.path?.split("\0")??[],F=this.mapFormsToSettings(),S=Object.entries(n.excludes??{}).filter(([P,G])=>G&&P!=="filesLargerThan").map(([P])=>P),y=n.excludes?.filesLargerThan;return S.length&&F.push({Name:"--exclude-files-attributes",Value:S.join(",")}),y&&y.size!==null&&y.unit!==null&&F.push({Name:"--skip-files-larger-than",Value:`${y.size}${y.unit}`}),{Backup:{Name:t.name,Description:t.description,TargetURL:i??null,Sources:c.filter(P=>!P.startsWith("-")),Settings:F,Filters:c.filter(P=>P.startsWith("-")).map((P,G)=>({Order:G,Include:!1,Expression:P.slice(1)}))},Schedule:e.autoRun?{Repeat:o,Time:e.nextTime?.date?new Date(`${e.nextTime.date}T${e.nextTime?.time||"00:00:00"}`).toISOString():null,AllowedDays:r}:null}}mapFormsToSettings(t=[]){let e=this.generalForm.value,n=["--no-encryption","--exclude-files-attributes","--skip-files-larger-than","encryption-module","passphrase","keep-time","keep-versions","retention-policy","dblock-size","compression-module"],i=[{Name:"--no-encryption",Value:"True"}];e.encryption!==""&&e.encryption!==pe.Key&&(i=[{Name:"encryption-module",Value:e.encryption??null},{Name:"passphrase",Value:e.password??null}]);let o=[{Name:"compression-module",Value:e.compression}];e.compression===""&&(o=[]);let r=[{Name:"dblock-size",Value:this.optionsFields.remoteVolumeSize()}];switch(this.optionsFields.backupRetention()){case"time":r.push({Name:"keep-time",Value:this.optionsFields.backupRetentionTime()});break;case"versions":r.push({Name:"keep-versions",Value:this.optionsFields.backupRetentionVersions()?.toString()??""});break;case"custom":r.push({Name:"retention-policy",Value:this.optionsFields.backupRetentionCustom()});break;case"smart":r.push({Name:"retention-policy",Value:Ct});break}let c=[...t,...n],F=this.settings().filter(S=>!c.includes(S.Name)).map(S=>{let y=S.Value;return typeof S.Value=="number"&&(y=S.Value.toString()),typeof S.Value=="boolean"&&(y=S.Value?"True":"False"),{Name:S.Name?.startsWith("--")?S.Name:`--${S.Name}`,Value:y}});return[...i,...o,...r,...F]}#c(t){if(!t||t?.indexOf("T")===-1)return{time:t??"13:00"};let e=new Date(t);return{time:`${(""+e.getHours()).padStart(2,"0")}:${(""+e.getMinutes()).padStart(2,"0")}`,date:e.toISOString().split("T")[0]}}setTargetUrl(t,e=!1){e&&(this.#l=null),this.targetUrlModel.set(t)}#r(){this.generalForm.reset(),this.sourceDataForm.reset(),this.scheduleFields.autoRun.set(ee.autoRun),this.scheduleFields.nextTime.set(ee.nextTime),this.scheduleFields.runAgain.set(ee.runAgain),this.optionsFields.remoteVolumeSize.set("50MB"),this.optionsFields.backupRetention.set("all"),this.settings.set([]),this.targetUrlModel.set(null)}static \u0275fac=function(e){return new(e||a)};static \u0275prov=Ce({token:a,factory:a.\u0275fac,providedIn:"root"})};var Mt=["formRef"];function Ot(a,t){a&1&&(s(0,"sh-alert",17),E(1,5),g(2,"sh-icon",26),m(),l())}function yt(a,t){if(a&1&&U(0),a&2){let e=t.$implicit;Ye(" ",e.DisplayName," ")}}function Lt(a,t){if(a&1&&g(0,"sh-progress-bar",40),a&2){let e=u(3);me("error",e.calculatePasswordStrength()===1)("warn",e.calculatePasswordStrength()===2)("primary",e.calculatePasswordStrength()===4)("success",e.calculatePasswordStrength()===5),h("value",e.calculatePasswordStrength()*(100/5))}}function It(a,t){a&1&&(s(0,"span",35),N(1,10),l())}function wt(a,t){a&1&&(E(0,8,1),g(1,"sh-icon"),m())}function $t(a,t){a&1&&(E(0,8,2),g(1,"sh-icon"),m())}function Gt(a,t){a&1&&(E(0,11,1),g(1,"sh-icon",42),m())}function Ut(a,t){a&1&&(E(0,11,2),g(1,"sh-icon"),m())}function xt(a,t){if(a&1){let e=x();s(0,"button",41),T("click",function(){d(e);let i=u(3);return p(i.copyPassword())}),E(1,11),M(2,Gt,2,0)(3,Ut,2,0),m(),l()}if(a&2){let e=u(3);_(2),O(e.copiedPassword()?2:3)}}function bt(a,t){a&1&&(s(0,"sh-alert",39),N(1,12),l())}function vt(a,t){if(a&1){let e=x();s(0,"div",30)(1,"sh-form-field")(2,"label",31),E(3,7),g(4,"sup"),m(),l(),g(5,"input",32),l(),M(6,Lt,1,9,"sh-progress-bar",33),s(7,"sh-form-field"),g(8,"input",34),M(9,It,2,0,"span",35),l(),s(10,"div",36)(11,"button",37),T("click",function(){d(e);let i=u(2);return p(i.showPassword.set(!i.showPassword()))}),E(12,8),M(13,wt,2,0)(14,$t,2,0),m(),l(),s(15,"button",37),T("click",function(){d(e);let i=u(2);return p(i.generatePassword())}),E(16,9),g(17,"sh-icon"),m(),l(),M(18,xt,4,1,"button",38),l(),M(19,bt,2,0,"sh-alert",39),l()}if(a&2){let e=u(2);_(5),h("type",e.showPassword()?"text":"password"),_(),O(e.generalForm.value.password?6:-1),_(2),h("type",e.showPassword()?"text":"password"),_(),O(e.generalForm.value.repeatPassword&&e.generalForm.value.repeatPassword!==e.generalForm.value.password?9:-1),_(4),O(e.showPassword()?13:14),_(5),O(e.showCopyPassword()?18:-1),_(),O(e.generalForm.value.password&&e.generalForm.value.password===e.generalForm.value.repeatPassword?19:-1)}}function Bt(a,t){if(a&1&&(s(0,"sh-select",27)(1,"label",28),N(2,6),l(),g(3,"input",29),je(4,yt,1,1,"ng-template"),l(),M(5,vt,20,7,"div",30)),a&2){let e=u();h("options",e.encryptionOptions())("isClearable",!1),_(5),O(e.encryptionFieldSignal()!==e.noneOptionKey?5:-1)}}function kt(a,t){if(a&1&&(s(0,"button",24),E(1,13),g(2,"sh-icon"),m(),l()),a&2){let e=u();h("disabled",e.nameAndDescriptionValid()===!1)}}function Vt(a,t){if(a&1&&(s(0,"button",25),E(1,14),g(2,"sh-icon"),m(),l()),a&2){let e=u();h("disabled",e.generalForm.invalid||e.showCopyPassword()&&!e.copiedPassword())}}var te=new De,gt=(a={name:"",description:"",encryption:"",password:"",repeatPassword:"",compression:""})=>te.group({name:te.control(a.name,[he.required]),description:te.control(a.description),encryption:te.control(a.encryption,[_t()]),password:te.control(a.password,[Ve(t=>t?.value.encryption!=="",[he.required])]),repeatPassword:te.control(a.repeatPassword,[Ve(t=>t?.value.encryption!=="",[he.required])]),compression:te.control(a.compression)}),pe={Key:"-",DisplayName:"None"},ze=class a{#e=R(H);#t=R(ie);#i=R(rt);#n=R(Q);#a=R(Oe);formRef=Te.required("formRef");generalForm=this.#n.generalForm;generalFormSignal=this.#n.generalFormSignal;encryptionFieldSignal=this.#n.encryptionFieldSignal;encryptionOptions=this.#n.encryptionOptions;isNew=this.#n.isNew;showPassword=C(!1);copiedPassword=C(!1);showCopyPassword=C(!1);noneOptionKey=pe.Key;encryptionEffect=ne(()=>{this.encryptionFieldSignal()===pe.Key&&(this.copiedPassword.set(!1),this.showCopyPassword.set(!1))});nameAndDescriptionValid=$(()=>{let t=this.generalFormSignal(),e=this.generalForm.controls;return e?.name&&e.name.valid&&e?.description&&e.description.valid});calculatePasswordStrength=$(()=>{let e=this.generalFormSignal()?.password??"";return this.#i.calculatePasswordStrength(e)});ngOnInit(){this.formRef().nativeElement.focus()}exit(){this.#n.exit(!0)}async copyPassword(){let t=this.generalForm.controls.password.value;await this.#o(t??""),this.copiedPassword.set(!0)}async#o(t){try{await navigator.clipboard.writeText(t)}catch{try{let n=document.createElement("textarea");n.value=t,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n)}catch(n){console.error("Failed to copy text: ",n)}}}generatePassword(){this.copiedPassword.set(!1);let t=this.#i.generate(16);this.generalForm.controls.password.setValue(t),this.generalForm.controls.repeatPassword.setValue(t),this.showCopyPassword.set(!0)}next(){this.#n.isNew()||this.#n.submit(!0),this.#e.navigate(["destination"],{relativeTo:this.#t.parent})}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=J({type:a,selectors:[["app-general"]],viewQuery:function(e,n){e&1&&ge(n.formRef,Mt,5),e&2&&Ee()},decls:21,vars:4,consts:()=>{let t;t=$localize`Your backup name`;let e;e=$localize`Your backup description`;let n;n=$localize`Remember to copy the password`;let i;i=$localize`General backup settings`;let o;o=$localize` Backup name ${"\uFFFD#8\uFFFD"}:START_SUPERSCRIPT:*${"\uFFFD/#8\uFFFD"}:CLOSE_SUPERSCRIPT:`;let r;r=$localize`Backup description`;let c;c=$localize`${"\uFFFD#18\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#18\uFFFD"}:CLOSE_TAG_SH_ICON: Exit `;let F;F=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:lock${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON: Encrypted backup `;let S;S=$localize`Encryption`;let y;y=$localize`Encryption`;let P;P=$localize`Password`;let G;G=$localize`Repeat password`;let K;K=$localize` Create a password ${"\uFFFD#4\uFFFD"}:START_SUPERSCRIPT:*${"\uFFFD/#4\uFFFD"}:CLOSE_SUPERSCRIPT:`;let v;v=$localize`${"\uFFFD*13:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:eye-slash${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: hide ${"\uFFFD/*13:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*14:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:eye${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: show ${"\uFFFD/*14:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,v=xe(v);let W;W=$localize`${"\uFFFD#17\uFFFD"}:START_TAG_SH_ICON:password${"\uFFFD/#17\uFFFD"}:CLOSE_TAG_SH_ICON: Generate password `;let A;A=$localize`Passwords do not match`;let Z;Z=$localize`${"\uFFFD*2:1\uFFFD"}:START_BLOCK_IF:${"\uFFFD#1:1\uFFFD"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Copied password ${"\uFFFD/*2:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*3:2\uFFFD"}:START_BLOCK_ELSE:${"\uFFFD#1:2\uFFFD"}:START_TAG_SH_ICON_1:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Copy password ${"\uFFFD/*3:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,Z=xe(Z);let _e;_e=$localize` Tip: Be sure to save your password. If you lose it, you will lose access to your backups. `;let ue;ue=$localize` Continue ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let ce;return ce=$localize` Continue ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`,[["formRef",""],i,o,r,c,F,y,K,v,W,A,Z,_e,ue,ce,["autocomplete","off",3,"submit","formGroup"],[1,"title-30"],[1,"primary"],["for","backupName"],["type","text","tabindex","1","placeholder",t,"formControlName","name"],["for","backupDescription"],["id","backupDescription","tabindex","2","placeholder",e,"formControlName","description"],[1,"form-actions"],["type","button","shButton","",3,"click"],["shButton","","type","submit",1,"raised","primary",3,"disabled"],["shButton","","type","submit","shTooltip",n,1,"raised","primary",3,"disabled"],["icon",""],["value","Key","label","DisplayName",3,"options","isClearable"],["for","encryption"],["type","text","id","encryption","tabindex","3","placeholder",S,"formControlName","encryption"],[1,"passwords"],["for","password"],["id","password","tabindex","4","autocomplete","off","placeholder",P,"formControlName","password",3,"type"],[1,"raised",3,"error","warn","primary","success","value"],["id","repeatPassword","tabindex","5","autocomplete","off","placeholder",G,"formControlName","repeatPassword",3,"type"],["error",""],[1,"password-actions"],["shButton","","type","button",1,"small",3,"click"],["shButton","","type","button",1,"small","copy"],["type","primary"],[1,"raised",3,"value"],["shButton","","type","button",1,"small","copy",3,"click"],[1,"sh-success"]]},template:function(e,n){if(e&1){let i=x();s(0,"form",15,0),T("submit",function(){return d(i),p(n.next())}),s(2,"h3",16),N(3,1),l(),M(4,Ot,3,0,"sh-alert",17),s(5,"sh-form-field")(6,"label",18),E(7,2),g(8,"sup"),m(),l(),g(9,"input",19),l(),s(10,"sh-form-field")(11,"label",20),N(12,3),l(),g(13,"textarea",21),l(),M(14,Bt,6,3),s(15,"div",22)(16,"button",23),T("click",function(){return d(i),p(n.exit())}),E(17,4),g(18,"sh-icon"),m(),l(),M(19,kt,3,1,"button",24)(20,Vt,3,1,"button",25),l()()}if(e&2){let i;h("formGroup",n.generalForm),_(4),O(!n.isNew()&&((i=n.generalFormSignal())==null?null:i.encryption)!==""?4:-1),_(10),O(n.isNew()?14:-1),_(5),O(n.encryptionFieldSignal()===n.noneOptionKey||!n.isNew()?19:20)}},dependencies:[Re,fe,z,j,Ne,Pe,Ae,Y,le,se,q,ot,nt,at],styles:["[_nghost-%COMP%]{display:block;width:100%;max-width:32.5rem;padding:2.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;padding-bottom:1.5rem}sup[_ngcontent-%COMP%]{padding:0 .125rem;color:var(--error-8)}.passwords[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.password-actions[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.copy[_ngcontent-%COMP%] sh-icon.sh-success[_ngcontent-%COMP%]{color:var(--success-8)}"],changeDetection:0})};export{gt as a,pe as b,ze as c,ee as d,Ke as e,pt as f,Je as g,Q as h};
package/chunk-6NY5MUS6.js DELETED
@@ -1 +0,0 @@
1
- import{a as be,b as ve}from"./chunk-3LVCVLMO.js";import{a as ye}from"./chunk-EE5UMXWP.js";import{a as Y}from"./chunk-7FCBU2UO.js";import"./chunk-RDCD2W2C.js";import{a as Re}from"./chunk-TJIZJNCK.js";import"./chunk-ZSZLXWN6.js";import"./chunk-72HORZFV.js";import"./chunk-6Q6SSTBK.js";import"./chunk-MTQKK2WN.js";import"./chunk-LN26XMBJ.js";import{a as Ge}from"./chunk-GXGIGJ4W.js";import"./chunk-XVWOVBC4.js";import{b as ge,d as Me}from"./chunk-WXF4HUYT.js";import{c as de,e as pe,f as Se}from"./chunk-ABYM5HWA.js";import"./chunk-Z35OG2DV.js";import{B as U,F as Pe,G as fe,I as Ie,P as Le,X as De,c as Ce,d as Te,e as he,i as me,r as Fe,s as Ee,t as Ae,u as M,w as k,x as Oe,z as Ne}from"./chunk-QF4DQYEP.js";import{h as B}from"./chunk-PD73DDOS.js";import"./chunk-5ZSBXGHQ.js";import"./chunk-FPPZ4BUR.js";import{$b as c,Ab as ee,Bb as te,Bc as le,Cb as N,Db as i,Eb as s,Fb as _,H as z,Jb as ne,Kb as oe,Mb as E,Qc as _e,Rc as q,Sa as r,Tb as S,Ub as g,Vb as P,Vc as ce,Xc as ue,Yb as b,Zb as C,Zc as Q,_ as T,cb as D,ea as h,fa as m,gc as ie,hc as se,kc as x,mc as L,nc as p,oc as W,pa as A,pc as j,sc as v,tc as y,uc as $,vc as ae,wc as re,xb as u,xc as H,yb as d,zb as Z}from"./chunk-QONLYWYC.js";import{a as J,b as X}from"./chunk-EUDKD2JW.js";var xe=["scroller"];function ke(n,o){n&1&&(i(0,"sh-icon"),p(1,"bell-ringing"),s())}function Ue(n,o){n&1&&(i(0,"sh-icon"),p(1,"bell"),s())}function Be(n,o){if(n&1&&_(0,"app-notification",8),n&2){c(2);let e=H(6);N("index",0)("notification",e.content)}}function Ye(n,o){if(n&1&&(i(0,"div",11),p(1),s()),n&2){c(3);let e=H(6);r(),j(" ",e.content.content," ")}}function Ve(n,o){if(n&1&&(i(0,"sh-alert")(1,"div",10),p(2),s(),u(3,Ye,2,1,"div",11),s()),n&2){c(2);let e=H(6);L(e.content.type||"error"),r(2),W(e.content.title),r(),d(e.content.content?3:-1)}}function Je(n,o){if(n&1&&(i(0,"div",6),u(1,Be,1,2,"app-notification",8)(2,Ve,4,4,"sh-alert",9),s()),n&2){c();let e=H(6);r(),d(e.type==="notification"?1:2)}}function Xe(n,o){if(n&1){let e=E();i(0,"div",7)(1,"div",12)(2,"h6",13),S(3,2),i(4,"button",5),C("click",function(){h(e);let a=c();return m(a.toggleNotifications())}),_(5,"sh-icon"),s(),g(),s(),i(6,"div",14,0)(8,"div",15),_(9,"app-notifications"),s()()()()}}function ze(n,o){if(n&1&&(i(0,"div",20),p(1),s()),n&2){let e=c().$implicit;r(),j(" ",e.content," ")}}function We(n,o){if(n&1){let e=E();i(0,"sh-alert",18,1),C("click",function(){let a=h(e).$implicit,l=c(2);return m(l.deleteAlertByIndex(a.id))}),i(2,"div",19),p(3),s(),u(4,ze,2,1,"div",20),s()}if(n&2){let e=o.$implicit;L(e.type),N("id",e.id),r(3),W(e.title),r(),d(e.content?4:-1)}}function je(n,o){n&1&&(i(0,"p",17),P(1,4),s())}function qe(n,o){if(n&1){let e=E();i(0,"div",7)(1,"div",12)(2,"h6",13),S(3,3),i(4,"button",5),C("click",function(){h(e);let a=c();return m(a.toggleAlerts())}),_(5,"sh-icon"),s(),g(),s(),i(6,"div",14,0)(8,"div",15),ee(9,We,5,5,"sh-alert",16,Z,!1,je,2,0,"p",17),s()()()()}if(n&2){let e=c();r(9),te(e.alertHistory())}}var $e=new Fe,w=class n{#e=T(Oe);#t=T(Y);isSubmitting=A(!1);messageSent=A(!1);form=$e.group({message:$e.control("",[Te.required])});notifications=this.#t.notifications;shownMessage=A(null);shownMessageInterval=null;alertHistory=this.#e.alertHistory;alertHistoryIsOpen=this.#e.alertHistoryIsOpen;alertHistoryIsHidden=this.#e.alertHistoryIsHidden;numberOfOpenAlerts=_e(()=>this.alertHistory().filter(o=>o.isOpen).length);scroller=ue("scroller");isAlertsOpen=Q(!1);isNotificationsOpen=Q(!1);previousHistoryCount=A(null);previousNotificationsCount=A(null);constructor(){q(()=>{let o=this.alertHistory(),e=this.notifications();if(e.length===0){this.shownMessage.set(null);return}e.length&&this.previousHistoryCount()!==o.length&&!this.isNotificationsOpen()?(this.shownMessage.set({content:e[0],countDown:3,type:"notification"}),this.previousHistoryCount.set(o.length),this.shownMessageInterval=setInterval(()=>{let t=this.shownMessage();if(t?.countDown===0){this.shownMessage.set(null),this.shownMessageInterval=null;return}t!==null&&this.shownMessage.update(a=>X(J({},a),{countDown:a.countDown-1}))},1e3)):o.length&&this.previousHistoryCount()!==o.length&&!this.isAlertsOpen()&&(this.shownMessage.set({content:o[0],countDown:3,type:"alert"}),this.previousHistoryCount.set(o.length),this.shownMessageInterval=setInterval(()=>{let t=this.shownMessage();if(t?.countDown===0){this.shownMessage.set(null),this.shownMessageInterval=null;return}t!==null&&this.shownMessage.update(a=>X(J({},a),{countDown:a.countDown-1}))},1e3))}),q(()=>{this.alertHistoryIsOpen(),this.scrollToBottom()})}resetPreviewMessage(){this.shownMessage.set(null),this.shownMessageInterval=null}toggleAlerts(){this.isAlertsOpen()?this.isAlertsOpen.set(!1):(this.isAlertsOpen.set(!0),this.isNotificationsOpen.set(!1),this.resetPreviewMessage())}toggleNotifications(){this.isNotificationsOpen.set(!this.isNotificationsOpen()),this.isAlertsOpen()&&this.isAlertsOpen.set(!1)}deleteAlertByIndex(o){this.#e.removeAlert(o)}scrollToBottom(){this.scroller()&&this.scroller()?.nativeElement&&this.scroller().nativeElement.scrollTo(0,this.scroller().nativeElement.scrollHeight)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=D({type:n,selectors:[["app-service-hub"]],viewQuery:function(e,t){e&1&&ie(t.scroller,xe,5),e&2&&se()},inputs:{isAlertsOpen:[1,"isAlertsOpen"],isNotificationsOpen:[1,"isNotificationsOpen"]},outputs:{isAlertsOpen:"isAlertsOpenChange",isNotificationsOpen:"isNotificationsOpenChange"},decls:10,vars:9,consts:()=>{let o;o=$localize` Notifications ${"\uFFFD#4\uFFFD"}:START_TAG_BUTTON:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON:x-circle${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_BUTTON:`;let e;e=$localize` Alerts ${"\uFFFD#4\uFFFD"}:START_TAG_BUTTON:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON:x-circle${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_BUTTON:`;let t;return t=$localize`No alerts yet`,[["scroller",""],["alerts",""],o,e,t,["shButton","",3,"click"],[1,"preview-alert-wrap"],[1,"alert-stream-modal"],[3,"index","notification"],[3,"class"],["ship-alert-title",""],["ship-alert-content",""],[1,"alert-stream-modal-content"],[1,"paragraph-20"],[1,"alert-stream-modal-list-scroller"],[1,"alert-stream-modal-list"],[3,"class","id"],[1,"no-alerts"],[3,"click","id"],["title",""],["content",""]]},template:function(e,t){if(e&1){let a=E();i(0,"button",5),C("click",function(){return h(a),m(t.toggleAlerts())}),i(1,"sh-icon"),p(2,"info"),s()(),i(3,"button",5),C("click",function(){return h(a),m(t.toggleNotifications())}),u(4,ke,2,0,"sh-icon")(5,Ue,2,0,"sh-icon"),s(),ae(6),u(7,Je,3,1,"div",6),u(8,Xe,10,0,"div",7),u(9,qe,12,1,"div",7)}if(e&2){L(t.alertHistory().length?"error":""),r(3),L(t.notifications().length?"error":""),r(),d(t.notifications().length?4:5),r(2);let a=re(t.shownMessage());r(),d(a?7:-1),r(),d(t.isNotificationsOpen()?8:-1),r(),d(t.isAlertsOpen()?9:-1)}},dependencies:[Ae,k,M,U,ve,be],styles:["[_nghost-%COMP%]{display:flex;position:fixed;gap:.5rem;bottom:1.5rem;right:1.5rem;z-index:5000}@media only screen and (max-width: 768px){[_nghost-%COMP%]{bottom:1rem;right:1rem}}[_nghost-%COMP%] h6[_ngcontent-%COMP%]{margin:0}.preview-alert-wrap[_ngcontent-%COMP%]{position:absolute;bottom:2.6875rem;right:0;display:flex;flex-direction:column;min-width:15.625rem}.helpdesk-modal[_ngcontent-%COMP%]{position:absolute;bottom:2.6875rem;right:0;display:flex;flex-direction:column}@media only screen and (max-width: 768px){.helpdesk-modal[_ngcontent-%COMP%]{bottom:2.6875rem}}.helpdesk-modal-content[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;gap:1rem;min-width:20rem;border:1px solid var(--base-4);background-color:var(--base-1);border-radius:var(--shape-2)}.helpdesk-modal-content[_ngcontent-%COMP%] .message-sent[_ngcontent-%COMP%]{padding:0 1rem 1rem;text-wrap:pretty}.helpdesk-modal-content[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{padding:1rem;border-bottom:1px solid var(--base-4);display:flex;align-items:center;justify-content:space-between}.helpdesk-modal-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{padding:0 1rem 1rem;display:flex;flex-direction:column;align-items:flex-end;gap:1rem}.helpdesk-modal-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{width:100%;text-wrap:pretty}.helpdesk-modal-content[_ngcontent-%COMP%] form[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.alert-stream-modal[_ngcontent-%COMP%]{position:absolute;bottom:2.6875rem;right:0;display:flex;flex-direction:column}@media only screen and (max-width: 768px){.alert-stream-modal[_ngcontent-%COMP%]{bottom:2.6875rem}}.alert-stream-modal-list-scroller[_ngcontent-%COMP%]{overflow-y:auto;max-height:18.75rem}.alert-stream-modal-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:1rem;border-radius:var(--shape-2)}.alert-stream-modal-content[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;min-width:20rem;border:1px solid var(--base-4);background-color:var(--base-1);border-radius:var(--shape-2)}.alert-stream-modal-content[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{padding:1rem;border-bottom:1px solid var(--base-4);display:flex;align-items:center;justify-content:space-between}.no-alerts[_ngcontent-%COMP%]{padding:1rem;display:flex;flex-direction:column;gap:1rem;text-align:center}"],changeDetection:0})};function Qe(n,o){n&1&&(i(0,"sh-icon",14),p(1,"check"),s())}function Ke(n,o){n&1&&(i(0,"sh-icon",15),p(1,"prohibit"),s())}function Ze(n,o){if(n&1){let e=E();i(0,"button",20),C("click",function(){h(e);let a=c();return m(a.updatePassphrase())}),P(1,5),s()}if(n&2){let e=c();x("loader",e.isUpdating())}}function et(n,o){if(n&1){let e=E();i(0,"button",21),C("click",function(){h(e);let a=c();return m(a.updatePassphrase())}),P(1,6),s()}if(n&2){let e=c();x("loader",e.isUpdating()),N("disabled",!0)}}var V=class n{#e=T(B);closed=ce();isUpdating=A(!1);passphrase=A("");repeatPassphrase=A("");updatePassphrase(){this.passphrase()===this.repeatPassphrase()&&(this.isUpdating.set(!0),this.#e.patchApiV1Serversettings({requestBody:{"server-passphrase":this.passphrase()}}).pipe(z(()=>this.isUpdating.set(!1))).subscribe({next:()=>this.closed.emit()}))}cancel(){this.isUpdating.set(!0),this.#e.patchApiV1Serversettings({requestBody:{"has-asked-for-password-change":"True"}}).pipe(z(()=>this.isUpdating.set(!1))).subscribe({next:()=>this.closed.emit()})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=D({type:n,selectors:[["app-change-passphrase-alert-dialog"]],outputs:{closed:"closed"},decls:23,vars:7,consts:()=>{let o;o=$localize`Enter new password`;let e;e=$localize`Repeat password`;let t;t=$localize`Password have to be filled and have to match`;let a;a=$localize`Change passphrase`;let l;l=$localize` Duplicati needs to be secured with a passphrase and a random passphrase has been generated for you. ${"[\uFFFD#6\uFFFD\uFFFD/#6\uFFFD|\uFFFD#7\uFFFD\uFFFD/#7\uFFFD]"}:LINE_BREAK:${"[\uFFFD#6\uFFFD\uFFFD/#6\uFFFD|\uFFFD#7\uFFFD\uFFFD/#7\uFFFD]"}:LINE_BREAK: If you open Duplicati from the tray icon, you do not need a passphrase, but if you plan to open it from another location you need to set a passphrase you know. Do you want to set a passphrase now? `,l=b(l);let f;f=$localize`Passphrase`;let I;I=$localize`Repeat passphrase`;let R;R=$localize`Not now thanks`;let G;G=$localize` Yes, update passphrase now `;let F;return F=$localize` Yes, update passphrase now `,[a,l,f,I,R,G,F,["header",""],["content",""],["type","warning"],["for","password"],["type","password","name","password","autocomplete","disabled","placeholder",o,"tabindex","1",3,"ngModelChange","ngModel"],["for","repeatPassword"],["type","password","name","repeatPassword","autocomplete","disabled","placeholder",e,"tabindex","2",3,"ngModelChange","disabled","ngModel"],["suffix","",1,"sh-success"],["suffix",""],["footer",""],["shButton","",3,"click"],["shButton","",1,"raised","primary",3,"loader"],["shButton","","shTooltip",t,1,"raised","primary",3,"loader","disabled"],["shButton","",1,"raised","primary",3,"click"],["shButton","","shTooltip",t,1,"raised","primary",3,"click","disabled"]]},template:function(e,t){e&1&&(i(0,"header",7)(1,"h3"),P(2,0),s()(),i(3,"div",8)(4,"sh-alert",9),S(5,1),_(6,"br")(7,"br"),g(),s(),i(8,"sh-form-field")(9,"label",10),P(10,2),s(),i(11,"input",11),$("ngModelChange",function(l){return y(t.passphrase,l)||(t.passphrase=l),l}),s()(),i(12,"sh-form-field")(13,"label",12),P(14,3),s(),i(15,"input",13),$("ngModelChange",function(l){return y(t.repeatPassphrase,l)||(t.repeatPassphrase=l),l}),s(),u(16,Qe,2,0,"sh-icon",14)(17,Ke,2,0,"sh-icon",15),s()(),i(18,"footer",16)(19,"button",17),C("click",function(){return t.cancel()}),P(20,4),s(),u(21,Ze,2,2,"button",18)(22,et,2,3,"button",19),s()),e&2&&(r(11),v("ngModel",t.passphrase),r(4),N("disabled",t.passphrase().length===0),v("ngModel",t.repeatPassphrase),r(),d(t.passphrase().length!==0&&t.passphrase()===t.repeatPassphrase()?16:17),r(3),x("loader",t.isUpdating()),r(2),d(t.passphrase().length!==0&&t.passphrase()===t.repeatPassphrase()?21:22))},dependencies:[Ee,Ce,he,me,k,fe,M,De],styles:["[_nghost-%COMP%]{display:block;--dialog-p: 1.5rem}[content][_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}"],changeDetection:0})};var tt=()=>({exact:!0});function nt(n,o){n&1&&(i(0,"sh-icon",25),p(1,"x-bold"),s())}function ot(n,o){n&1&&(i(0,"sh-icon",26),p(1,"list-bold"),s())}function it(n,o){if(n&1){let e=E();ne(0,10),i(1,"button",24),C("click",function(){h(e);let a=c();return m(a.toggleNav())}),u(2,nt,2,0,"sh-icon",25)(3,ot,2,0,"sh-icon",26),s(),oe()}if(n&2){let e=c();r(2),d(e.isNavOpen()?2:3)}}function st(n,o){n&1&&(i(0,"sh-icon"),p(1,"sun"),s())}function at(n,o){n&1&&(i(0,"sh-icon"),p(1,"moon"),s())}function rt(n,o){if(n&1){let e=E();i(0,"button",27),C("click",function(){h(e);let a=c();return m(a.changeDefaultClientTo("ngax"))}),S(1,7),_(2,"sh-icon"),g(),s(),i(3,"button",27),C("click",function(){h(e);let a=c();return m(a.logout())}),S(4,8),_(5,"sh-icon"),g(),s()}}var K=class n{#e=T(ye);#t=T(B);#n=T(Re);#o=T(ge);#i=T(Ne);#s=T(Y);#a=T(Me);relayIsEnabled=this.#o.relayIsEnabled;isDarkMode=this.#e.isDarkMode;isNavOpen=this.#e.isNavOpen;isMobile=this.#e.isMobile;sidenavType=this.#e.sidenavType;ngOnInit(){return this.#s.init(),this.#n.getBackups(!0),this.#t.getApiV1Serversettings().subscribe({next:o=>{let e=o["autogenerated-passphrase"]==="True",t=o["has-asked-for-password-change"]==="True";e&&!t&&this.#i.open(V,{maxWidth:"500px"})}})}toggleNav(){this.#e.toggleNav()}toggleBodyClass(){this.#e.toggleBodyClass()}changeDefaultClientTo(o){this.#r(o),window.location.replace(`/${o}`)}logout(){this.#a.logout()}#r(o){var e=new Date;e.setTime(e.getTime()+2160*60*60*1e3),document.cookie="default-client="+o+"; expires="+e.toUTCString()+"; path=/"}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=D({type:n,selectors:[["app-layout"]],decls:38,vars:9,consts:()=>{let o;o=$localize`${"\uFFFD#11\uFFFD"}:START_TAG_SH_ICON:house${"\uFFFD/#11\uFFFD"}:CLOSE_TAG_SH_ICON: Home `;let e;e=$localize`${"\uFFFD#14\uFFFD"}:START_TAG_SH_ICON:database${"\uFFFD/#14\uFFFD"}:CLOSE_TAG_SH_ICON: Add backup `;let t;t=$localize`${"\uFFFD#17\uFFFD"}:START_TAG_SH_ICON:clock-counter-clockwise${"\uFFFD/#17\uFFFD"}:CLOSE_TAG_SH_ICON: Restore `;let a;a=$localize`${"\uFFFD#20\uFFFD"}:START_TAG_SH_ICON:gear${"\uFFFD/#20\uFFFD"}:CLOSE_TAG_SH_ICON: Settings `;let l;l=$localize`${"\uFFFD#27\uFFFD"}:START_TAG_SH_ICON:info${"\uFFFD/#27\uFFFD"}:CLOSE_TAG_SH_ICON: About Duplicati `;let f;f=$localize`${"\uFFFD#30\uFFFD"}:START_TAG_SH_ICON:files${"[\uFFFD/#30\uFFFD|\uFFFD/#31\uFFFD]"}:CLOSE_TAG_SH_ICON: Documentation ${"\uFFFD#31\uFFFD"}:START_TAG_SH_ICON_1:arrow-square-out${"[\uFFFD/#30\uFFFD|\uFFFD/#31\uFFFD]"}:CLOSE_TAG_SH_ICON:`,f=b(f);let I;I=$localize`${"\uFFFD#34\uFFFD"}:START_TAG_SH_ICON:chats-circle${"[\uFFFD/#34\uFFFD|\uFFFD/#35\uFFFD]"}:CLOSE_TAG_SH_ICON: Visit forum ${"\uFFFD#35\uFFFD"}:START_TAG_SH_ICON_1:arrow-square-out${"[\uFFFD/#34\uFFFD|\uFFFD/#35\uFFFD]"}:CLOSE_TAG_SH_ICON:`,I=b(I);let R;R=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:skip-back${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON: Use old UI `;let G;return G=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON:sign-out${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SH_ICON: Log out `,[o,e,t,a,l,f,I,R,G,[3,"isOpenChange","isOpen","disableDrag"],["sidenav-closed-topbar",""],["sidenav",""],["shButton","",1,"icon","small",3,"click"],[1,"base-1","primary"],["action","","routerLink","/","routerLinkActive","active",3,"routerLinkActiveOptions"],["action","","routerLink","/add-backup","routerLinkActive","active"],["action","","routerLink","/restore","routerLinkActive","active"],["action","","routerLink","/settings","routerLinkActive","active"],[1,"spacer"],[1,"base-1l","primary"],["action","","routerLink","/about","routerLinkActive","active"],["href","https://docs.duplicati.com","target","_blank","action",""],["suffix",""],["href","https://forum.duplicati.com","target","_blank","action",""],["shButton","",1,"small","toggle-sidebar",3,"click"],[1,"cross"],[1,"burger"],["action","",3,"click"]]},template:function(e,t){e&1&&(i(0,"sh-sidenav",9),$("isOpenChange",function(l){return y(t.isNavOpen,l)||(t.isNavOpen=l),l}),u(1,it,4,1,"ng-container",10),i(2,"div",11)(3,"header"),_(4,"app-logo"),i(5,"button",12),C("click",function(){return t.toggleBodyClass()}),u(6,st,2,0,"sh-icon")(7,at,2,0,"sh-icon"),s()(),i(8,"sh-list",13)(9,"button",14),S(10,0),_(11,"sh-icon"),g(),s(),i(12,"button",15),S(13,1),_(14,"sh-icon"),g(),s(),i(15,"button",16),S(16,2),_(17,"sh-icon"),g(),s(),i(18,"button",17),S(19,3),_(20,"sh-icon"),g(),s()(),_(21,"div",18),i(22,"sh-list",19),u(23,rt,6,0),_(24,"sh-divider"),i(25,"button",20),S(26,4),_(27,"sh-icon"),g(),s(),i(28,"a",21),S(29,5),_(30,"sh-icon")(31,"sh-icon",22),g(),s(),i(32,"a",23),S(33,6),_(34,"sh-icon")(35,"sh-icon",22),g(),s()()(),_(36,"router-outlet")(37,"app-service-hub"),s()),e&2&&(L(t.sidenavType()),v("isOpen",t.isNavOpen),N("disableDrag",!0),r(),d(t.isMobile()?1:-1),r(5),d(t.isDarkMode()?6:7),r(3),N("routerLinkActiveOptions",le(8,tt)),r(14),d(t.relayIsEnabled()?-1:23))},dependencies:[de,pe,Se,Le,M,Ie,U,Pe,w,Ge],styles:["[_nghost-%COMP%]{height:100vh;width:100%;overflow:hidden}header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:1.25rem;gap:.75rem}.toggle-sidebar[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center}.toggle-sidebar[_ngcontent-%COMP%] .cross[_ngcontent-%COMP%], .toggle-sidebar[_ngcontent-%COMP%] .burger[_ngcontent-%COMP%]{opacity:1;transition:opacity 124ms linear;margin:0}.toggle-sidebar[_ngcontent-%COMP%] .cross.hidden[_ngcontent-%COMP%], .toggle-sidebar[_ngcontent-%COMP%] .burger.hidden[_ngcontent-%COMP%]{opacity:0}.toggle-sidebar[_ngcontent-%COMP%] .burger[_ngcontent-%COMP%]{position:absolute;inset:auto}h3[title][_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}div[sidenav][_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100vh}"],changeDetection:0})};export{K as default};
package/chunk-BSMAYTZR.js DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-DILTD4XG.js";import"./chunk-ZBVBVQO7.js";import"./chunk-SJ3V6DON.js";import"./chunk-VUKS2SJL.js";import"./chunk-72HORZFV.js";import"./chunk-MTQKK2WN.js";import"./chunk-QF4DQYEP.js";import"./chunk-PD73DDOS.js";import"./chunk-5ZSBXGHQ.js";import"./chunk-FPPZ4BUR.js";import"./chunk-QONLYWYC.js";import"./chunk-EUDKD2JW.js";export{a as OptionsListComponent};