@duplicati/ngclient 0.0.228 → 0.0.230

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 (124) hide show
  1. package/assets/sh.woff2 +0 -0
  2. package/{chunk-5zEiKCqR.js → chunk-3RXp81pP.js} +1 -1
  3. package/chunk-B0RBkC1E.js +1 -0
  4. package/{chunk-CdZVal1F.js → chunk-B2TXzbpy.js} +1 -1
  5. package/{chunk-N7vpDAsp.js → chunk-B728v9oc.js} +1 -1
  6. package/{chunk-BqjWEFHw.js → chunk-BB1pOOUx.js} +1 -1
  7. package/{chunk-ySdaWJYB.js → chunk-BD9-OWSe.js} +1 -1
  8. package/{chunk-DNSvQk_3.js → chunk-BIL3nR4_.js} +1 -1
  9. package/{chunk-ChwFViRh.js → chunk-BIOMsSHI.js} +1 -1
  10. package/{chunk-XMwSOila.js → chunk-BOOAIFTC.js} +1 -1
  11. package/{chunk-CJRbWZfg.js → chunk-BYJA6sbi.js} +1 -1
  12. package/{chunk-D0t-kgLy.js → chunk-BaGYaLxZ.js} +1 -1
  13. package/{chunk-ClfSJEUJ.js → chunk-Bceym75m.js} +1 -1
  14. package/{chunk-BxxX98wy.js → chunk-BfZh4DNq.js} +1 -1
  15. package/chunk-BjAIXsAS.js +1 -0
  16. package/{chunk-DuO9_dH0.js → chunk-BlSN71kd.js} +1 -1
  17. package/{chunk--rqB0ojD.js → chunk-Bq7wRTmy.js} +1 -1
  18. package/chunk-ByhuT4BS.js +14 -0
  19. package/{chunk-BthLY9tf.js → chunk-BzIY4AaX.js} +1 -1
  20. package/{chunk-C4pJCbq-.js → chunk-C-NgIZiF.js} +1 -1
  21. package/{chunk-wycXedbJ.js → chunk-C1kucB1O.js} +1 -1
  22. package/{chunk-IEVZ0UN6.js → chunk-C4kBXz3C.js} +1 -1
  23. package/{chunk-CeFh90sX.js → chunk-C6QX7znk.js} +1 -1
  24. package/{chunk-M5tldLvJ.js → chunk-C7pjkqKB.js} +1 -1
  25. package/{chunk-C08PrcBX.js → chunk-CBgNjPex.js} +1 -1
  26. package/{chunk-Cz4OqhOZ.js → chunk-CEyp0Xmg.js} +1 -1
  27. package/chunk-CFne6FXR.js +1 -0
  28. package/{chunk-g_QJ3SVt.js → chunk-CGn_EA_5.js} +1 -1
  29. package/chunk-CJ0GoaW1.js +1 -0
  30. package/{chunk-Dt8gZPT-.js → chunk-CJ1mxauG.js} +1 -1
  31. package/chunk-CMJCX33P.js +1 -0
  32. package/{chunk-BjNuU0J_.js → chunk-CRAg6SRo.js} +1 -1
  33. package/{chunk-CxPG-KgI.js → chunk-CT9ziigM.js} +2 -2
  34. package/{chunk-Cw8vFX0e.js → chunk-CWAvlP_u.js} +1 -1
  35. package/{chunk-Cc1_FUvV.js → chunk-CYQJGwsB.js} +1 -1
  36. package/{chunk-BeAI10wv.js → chunk-Ca-HIRNP.js} +1 -1
  37. package/{chunk-CUxvfCTH.js → chunk-Ca1C9pJ0.js} +1 -1
  38. package/chunk-CegwkGVu.js +3 -0
  39. package/chunk-Cgbi9MZq.js +2 -0
  40. package/{chunk-G-I5c1Dk.js → chunk-CgcnOoRq.js} +1 -1
  41. package/chunk-Ck9c9Juw.js +1 -0
  42. package/{chunk-DnD9XTM4.js → chunk-CnRCpl-v.js} +1 -1
  43. package/{chunk-B6nCQM-G.js → chunk-CrgyDps4.js} +1 -1
  44. package/{chunk-DNJQ-AbV.js → chunk-D2g44FyO.js} +2 -2
  45. package/{chunk-DofVJ9gn.js → chunk-D2g5mSLr.js} +1 -1
  46. package/chunk-D5lj-fQk.js +2 -0
  47. package/{chunk-CDRHCSvU.js → chunk-D6aNT_wo.js} +1 -1
  48. package/chunk-DDBflo2l.js +4 -0
  49. package/chunk-DD_QfWih.js +2 -0
  50. package/chunk-DFEb6rgg.js +2 -0
  51. package/chunk-DN6f5jXR.js +2 -0
  52. package/{chunk-DWwNINBJ.js → chunk-DPNAj9Vc.js} +1 -1
  53. package/{chunk-C-G3pKB4.js → chunk-DWkdK0Ib.js} +1 -1
  54. package/{chunk-CnAb3OKU.js → chunk-DaGzYsVs.js} +1 -1
  55. package/chunk-Df7q8ewK.js +1 -0
  56. package/{chunk-BNf0YAwH.js → chunk-Dgns65Zu.js} +1 -1
  57. package/{chunk-BAbAUjHY.js → chunk-Dh6x3lXP.js} +1 -1
  58. package/{chunk-BOII3Fdm.js → chunk-DipTNkHN.js} +1 -1
  59. package/chunk-Dj3xknEh.js +1 -0
  60. package/{chunk-BaWD8G-f.js → chunk-DkdGEw1e.js} +1 -1
  61. package/{chunk-PA5BGFyW.js → chunk-DmKJmG9z.js} +1 -1
  62. package/{chunk-BKLJMYh2.js → chunk-DtA6Mvdt.js} +1 -1
  63. package/chunk-DtdFhFa9.js +1 -0
  64. package/{chunk-Do6_xsGi.js → chunk-DuIUmwWN.js} +3 -3
  65. package/{chunk-r4LfAQnM.js → chunk-DwKPz2Gn.js} +1 -1
  66. package/chunk-DwMhABnQ.js +2 -0
  67. package/{chunk-BffC_BAn.js → chunk-Fw6nFDZK.js} +2 -2
  68. package/{chunk-ZVDEaGd0.js → chunk-HWQc1Hoa.js} +1 -1
  69. package/{chunk-DtQIjLqL.js → chunk-I0R6Ty-p.js} +1 -1
  70. package/{chunk-DddAUzMY.js → chunk-LL0IHZns.js} +1 -1
  71. package/{chunk-Bzp0ULy_.js → chunk-OFYkgZA1.js} +1 -1
  72. package/{chunk-CMs999gl.js → chunk-OLi7f6y7.js} +1 -1
  73. package/chunk-PVmXLw9b.js +2 -0
  74. package/{chunk-B7PRtY7v.js → chunk-RQ_MoiOh.js} +1 -1
  75. package/chunk-Zo-grJt3.js +1 -0
  76. package/chunk-dmyIQdVx.js +1 -0
  77. package/chunk-glhLCQrb.js +1 -0
  78. package/chunk-khm9J_G0.js +2 -0
  79. package/{chunk-bx0aDvCZ.js → chunk-wyNyzSXi.js} +1 -1
  80. package/{chunk-BYoKu9PJ.js → chunk-yF6CJHRg.js} +1 -1
  81. package/index.html +1 -1
  82. package/locale/dayjs/ko.js +45 -0
  83. package/locale/dayjs/tr.js +39 -0
  84. package/locale/messages.de.json +168 -12
  85. package/locale/messages.de_CH.json +162 -6
  86. package/locale/messages.de_DE.json +162 -6
  87. package/locale/messages.en.json +24 -3
  88. package/locale/messages.fr.json +175 -8
  89. package/locale/messages.fr_CA.json +175 -8
  90. package/locale/messages.fr_FR.json +175 -8
  91. package/locale/messages.it.json +79 -5
  92. package/locale/messages.it_IT.json +79 -5
  93. package/locale/messages.ja.json +198 -15
  94. package/locale/messages.ja_JP.json +198 -15
  95. package/locale/messages.json +24 -3
  96. package/locale/messages.ko.json +776 -0
  97. package/locale/messages.nl_BE.json +174 -7
  98. package/locale/messages.nl_NL.json +174 -7
  99. package/locale/messages.tr.json +943 -0
  100. package/main-KFKZO6SJ.js +16 -0
  101. package/package.json +1 -1
  102. package/ship-ui-assets/mcp/components.json +258 -86
  103. package/chunk-B-ryE8KW.js +0 -2
  104. package/chunk-B6ugJDDx.js +0 -1
  105. package/chunk-B88MJ6Up.js +0 -1
  106. package/chunk-BCT9ajP9.js +0 -1
  107. package/chunk-BMGXb3gX.js +0 -1
  108. package/chunk-BPpheyQK.js +0 -2
  109. package/chunk-BS8yAz3P.js +0 -2
  110. package/chunk-BUF3tczf.js +0 -14
  111. package/chunk-BlIcwFlf.js +0 -1
  112. package/chunk-BuyCr2eD.js +0 -1
  113. package/chunk-CM11IMzh.js +0 -1
  114. package/chunk-CU-RYihf.js +0 -2
  115. package/chunk-ClHWI9-i.js +0 -2
  116. package/chunk-CtLFpDTP.js +0 -3
  117. package/chunk-CuU6b3lp.js +0 -2
  118. package/chunk-D-epCTmE.js +0 -1
  119. package/chunk-QlYDF-EM.js +0 -1
  120. package/chunk-SWsliUUy.js +0 -4
  121. package/chunk-SgcWXTYZ.js +0 -2
  122. package/chunk-birClroL.js +0 -2
  123. package/chunk-ya_5JcKA.js +0 -1
  124. package/main-TZVLLK67.js +0 -16
@@ -1 +1 @@
1
- import {w}from'./chunk-CJRbWZfg.js';import {I}from'./chunk-BPpheyQK.js';import {e as ee}from'./chunk-BMGXb3gX.js';import'./chunk-BqjWEFHw.js';import'./chunk-BS8yAz3P.js';import'./chunk-CxPG-KgI.js';import'./chunk-B-ryE8KW.js';import'./chunk-5zEiKCqR.js';import {c as c$1}from'./chunk-CMs999gl.js';import {D}from'./chunk-CdZVal1F.js';import {T,aw as W,a5 as g,U as Ue,aG as pt$1,N as Nt$1,d as dw,_ as _t$1,f as N,v,aH as m,aI as c,aJ as ci,k as gT,j as mg,Q as Qi,O as Og,P as Pg,H as Hl,ak as cm,o as oT,s as sm,X as XT,D as DE,al as BC,i as iT,w as im,S as Sd,l as HC,x as xd,ab as C,b as g1,aK as pb,ay as $u,C as Bu,aL as hi,a1 as cT,a2 as lT,t as tC,q as PC,aM as tb,n as nC,ao as $C,aa as Gl,aN as ob,z as gg,aj as l,ap as sT,F as Fg,E as nm,aB as rm,I as Qg,aO as om,aP as Ul,aQ as Wl,aR as rb,au as Lg,av as eC,aS as ib,aT as ay}from'./main-TZVLLK67.js';import'./chunk-CUxvfCTH.js';import'./chunk-C4pJCbq-.js';import {L,$}from'./chunk-M5tldLvJ.js';import {d}from'./chunk-BjNuU0J_.js';import'./chunk-CU-RYihf.js';import'./chunk-Do6_xsGi.js';import'./chunk-BOII3Fdm.js';import'./chunk-BffC_BAn.js';function Dn(n,t){n&1&&mg(0,"sh-progress-bar",58);}function Pn(n,t){n&1&&mg(0,"div",61);}function Rn(n,t){n&1&&mg(0,"div",61);}function In(n,t){n&1&&mg(0,"div",62);}function $n(n,t){n&1&&mg(0,"div",63);}function Mn(n,t){if(n&1&&(Qi(0,"details",72)(1,"summary"),Og(2,15),mg(3,"sh-icon"),Qi(4,"div",74),mg(5,"sh-icon",66),Hl(),Pg(),Hl(),Qi(6,"div",75)(7,"p"),XT(8,16),tb(9,"date"),Hl(),Qi(10,"p"),XT(11,17),tb(12,"date"),Hl(),Qi(13,"p"),XT(14,18),tb(15,"durationFormat"),Hl(),Qi(16,"p"),XT(17,19),Hl(),mg(18,"sh-divider"),Qi(19,"p"),XT(20,20),Hl(),Qi(21,"p"),XT(22,21),Hl()()(),Qi(23,"details",72)(24,"summary"),Og(25,22),mg(26,"sh-icon"),Qi(27,"div",74),mg(28,"sh-icon",66),Hl(),Pg(),Hl(),Qi(29,"div",75)(30,"p"),XT(31,23),tb(32,"date"),Hl(),Qi(33,"p"),XT(34,24),tb(35,"date"),Hl(),Qi(36,"p"),XT(37,25),tb(38,"durationFormat"),Hl(),mg(39,"sh-divider"),Qi(40,"p"),XT(41,26),tb(42,"bytes"),Hl(),Qi(43,"p"),XT(44,27),tb(45,"bytes"),Hl(),Qi(46,"p"),XT(47,28),tb(48,"bytes"),Hl(),mg(49,"sh-divider"),Qi(50,"p"),XT(51,29),Hl(),Qi(52,"p"),XT(53,30),Hl()()()),n&2){let e=nC(2).$implicit;DE(9),Lg(ob(9,17,e.data?.TestResults?.BeginTime,"medium")),eC(8),DE(3),Lg(ob(12,20,e.data?.TestResults?.EndTime,"medium")),eC(11),DE(3),Lg(rb(15,23,e.data?.TestResults?.Duration)),eC(14),DE(2),Lg(e.data?.TestResults?.VerificationsActualLength),eC(17),DE(3),Lg(e.data?.TestResults?.WarningsActualLength),eC(20),DE(2),Lg(e.data?.TestResults?.ErrorsActualLength),eC(22),DE(10),Lg(ob(32,25,e.data?.CompactResults?.BeginTime,"medium")),eC(31),DE(3),Lg(ob(35,28,e.data?.CompactResults?.EndTime,"medium")),eC(34),DE(3),Lg(rb(38,31,e.data?.CompactResults?.Duration)),eC(37),DE(4),Lg(e.data?.CompactResults?.DeletedFileCount)(ib(42,33,e.data?.CompactResults?.DeletedFileSize,true,true)),eC(41),DE(3),Lg(e.data?.CompactResults?.DownloadedFileCount)(ib(45,37,e.data?.CompactResults?.DownloadedFileSize,true,true)),eC(44),DE(3),Lg(e.data?.CompactResults?.UploadedFileCount)(ib(48,41,e.data?.CompactResults?.UploadedFileSize,true,true)),eC(47),DE(3),Lg(e.data?.CompactResults?.WarningsActualLength),eC(51),DE(2),Lg(e.data?.CompactResults?.ErrorsActualLength),eC(53);}}function fn(n,t){n&1&&(Qi(0,"p"),PC(1,"No messages"),Hl());}function hn(n,t){n&1&&(Og(0,43,1),mg(1,"sh-icon"),Pg());}function yn(n,t){n&1&&(Og(0,43,2),mg(1,"sh-icon"),Pg());}function vn(n,t){if(n&1){let e=gT();Qi(0,"div",76)(1,"code"),PC(2),Hl(),Qi(3,"button",77),Fg("click",function(F){let c=Sd(e).$implicit,L=nC(5);return xd(L.copyToClipboard(F,c,c))}),Og(4,43),oT(5,hn,2,0,"sh-icon")(6,yn,2,0,"sh-icon"),Pg(),Hl()();}if(n&2){let e=t.$implicit,o=nC(5);DE(2),nm(e),DE(3),iT(o.copied()==e?5:6);}}function Bn(n,t){n&1&&(Qi(0,"p"),PC(1,"No warnings"),Hl());}function xn(n,t){n&1&&(Og(0,44,1),mg(1,"sh-icon"),Pg());}function bn(n,t){n&1&&(Og(0,44,2),mg(1,"sh-icon"),Pg());}function kn(n,t){if(n&1){let e=gT();Qi(0,"div",76)(1,"code"),PC(2),Hl(),Qi(3,"button",77),Fg("click",function(F){let c=Sd(e).$implicit,L=nC(5);return xd(L.copyToClipboard(F,c,c))}),Og(4,44),oT(5,xn,2,0,"sh-icon")(6,bn,2,0,"sh-icon"),Pg(),Hl()();}if(n&2){let e=t.$implicit,o=nC(5);DE(2),nm(e),DE(3),iT(o.copied()==e?5:6);}}function Kn(n,t){n&1&&(Qi(0,"p"),PC(1,"No errors"),Hl());}function Un(n,t){n&1&&(Og(0,45,1),mg(1,"sh-icon"),Pg());}function wn(n,t){n&1&&(Og(0,45,2),mg(1,"sh-icon"),Pg());}function Jn(n,t){if(n&1){let e=gT();Qi(0,"div",76)(1,"code"),PC(2),Hl(),Qi(3,"button",77),Fg("click",function(F){let c=Sd(e).$implicit,L=nC(5);return xd(L.copyToClipboard(F,c,c))}),Og(4,45),oT(5,Un,2,0,"sh-icon")(6,wn,2,0,"sh-icon"),Pg(),Hl()();}if(n&2){let e=t.$implicit,o=nC(5);DE(2),nm(e),DE(3),iT(o.copied()==e?5:6);}}function Xn(n,t){if(n&1&&(Qi(0,"details",72)(1,"summary"),Og(2,31),mg(3,"sh-icon"),Qi(4,"div",74),mg(5,"sh-icon",66),Hl(),Pg(),Hl(),Qi(6,"div",75)(7,"p"),XT(8,32),tb(9,"date"),Hl(),Qi(10,"p"),XT(11,33),tb(12,"date"),Hl(),Qi(13,"p"),XT(14,34),tb(15,"durationFormat"),Hl(),mg(16,"sh-divider"),Qi(17,"p"),XT(18,35),tb(19,"bytes"),Hl(),Qi(20,"p"),XT(21,36),Hl(),Qi(22,"p"),XT(23,37),Hl(),Qi(24,"p"),XT(25,38),Hl(),Qi(26,"p"),XT(27,39),Hl(),mg(28,"sh-divider"),Qi(29,"details",78)(30,"summary"),Og(31,40),mg(32,"sh-icon"),Qi(33,"div",74),mg(34,"sh-icon",66),Hl(),Pg(),Hl(),Qi(35,"div",75),oT(36,fn,2,0,"p"),cT(37,vn,7,2,"div",76,sT),Hl()(),Qi(39,"details",79)(40,"summary"),Og(41,41),mg(42,"sh-icon"),Qi(43,"div",74),mg(44,"sh-icon",66),Hl(),Pg(),Hl(),Qi(45,"div",75),oT(46,Bn,2,0,"p"),cT(47,kn,7,2,"div",76,sT),Hl()(),Qi(49,"details",80)(50,"summary"),Og(51,42),mg(52,"sh-icon"),Qi(53,"div",74),mg(54,"sh-icon",66),Hl(),Pg(),Hl(),Qi(55,"div",75),oT(56,Kn,2,0,"p"),cT(57,Jn,7,2,"div",76,sT),Hl()(),mg(59,"sh-divider"),Hl()()),n&2){let e=t.$implicit;DE(5),Lg(e.Destination),eC(2),DE(4),Lg(ob(9,16,e.BeginTime,"medium")),eC(8),DE(3),Lg(ob(12,19,e.EndTime,"medium")),eC(11),DE(3),Lg(rb(15,22,e.Duration)),eC(14),DE(4),Lg(e.CopiedFileCount)(ib(19,24,e.CopiedFileSize,true,true)),eC(18),DE(2),Lg(e.DeletedFileCount),eC(21),DE(2),Lg(e.RenamedFileCount),eC(23),DE(2),Lg(e.VerifiedFileCount),eC(25),DE(2),Lg(e.FailedVerificationCount),eC(27),DE(7),Lg(e.MessagesActualLength),eC(31),DE(2),iT(e.Messages?.length===0?36:-1),DE(),lT(e.Messages),DE(7),Lg(e.WarningsActualLength),eC(41),DE(2),iT(e.Warnings?.length===0?46:-1),DE(),lT(e.Warnings),DE(7),Lg(e.ErrorsActualLength),eC(51),DE(2),iT(e.Errors?.length===0?56:-1),DE(),lT(e.Errors);}}function zn(n,t){if(n&1&&cT(0,Xn,60,28,"details",72,sT),n&2){let e=nC(2).$implicit;lT(e.data?.RemoteSynchronizationResults);}}function Vn(n,t){if(n&1&&(Qi(0,"details",72)(1,"summary"),Og(2,46),mg(3,"sh-icon"),Qi(4,"div",74),mg(5,"sh-icon",66),Hl(),Pg(),Hl(),Qi(6,"div",75)(7,"p"),XT(8,47),tb(9,"date"),Hl(),Qi(10,"p"),XT(11,48),tb(12,"date"),Hl(),Qi(13,"p"),XT(14,49),tb(15,"durationFormat"),Hl(),mg(16,"sh-divider"),Qi(17,"p"),XT(18,50),Hl(),Qi(19,"p"),XT(20,51),Hl(),Qi(21,"p"),XT(22,52),Hl()()()),n&2){let e=nC(2).$implicit;DE(9),Lg(ob(9,6,e.data?.LockResults?.BeginTime,"medium")),eC(8),DE(3),Lg(ob(12,9,e.data?.LockResults?.EndTime,"medium")),eC(11),DE(3),Lg(rb(15,12,e.data?.LockResults?.Duration)),eC(14),DE(3),Lg(e.data?.LockResults?.VolumesRead),eC(18),DE(2),Lg(e.data?.LockResults?.VolumesUpdated),eC(20),DE(2),Lg(e.data?.LockResults?.ParsedResult),eC(22);}}function Hn(n,t){if(n&1&&(Qi(0,"code"),PC(1),tb(2,"json"),Hl()),n&2){let e=t.$implicit;DE(),nm(rb(2,1,e));}}function Wn(n,t){if(n&1&&(Qi(0,"details",72)(1,"summary"),Og(2,53),mg(3,"sh-icon"),Qi(4,"div",74),mg(5,"sh-icon",66),Hl(),Pg(),Hl(),Qi(6,"div",75),cT(7,Hn,3,3,"code",null,sT),Hl()()),n&2){let e=nC(2).$implicit;DE(5),Lg(e.data.VerificationsActualLength),eC(2),DE(2),lT(e.data.Verifications);}}function jn(n,t){n&1&&(Qi(0,"sh-icon"),PC(1,"check"),Hl());}function qn(n,t){n&1&&(Qi(0,"sh-icon"),PC(1,"copy"),Hl());}function Qn(n,t){n&1&&(Ul(0),Og(1,54),mg(2,"sh-icon"),Pg(),Wl());}function Yn(n,t){n&1&&(Ul(0),Og(1,55),mg(2,"sh-icon"),Pg(),Wl());}function Zn(n,t){n&1&&(Ul(0),Og(1,56),mg(2,"sh-icon"),Pg(),Wl());}function et(n,t){if(n&1){let e=gT();Qi(0,"button",82),Fg("click",function(){Sd(e),nC();let F=$C(0),c=nC(3);return xd(c.toggleWarningSuppression(F.MessageId))}),oT(1,Qn,3,0,"ng-container")(2,Yn,3,0,"ng-container")(3,Zn,3,0,"ng-container"),Hl();}if(n&2){nC();let e=$C(0),o=nC(3),F=o.isWarningSuppressed(e.MessageId);gg("disabled",o.isSuppressingWarning()),DE(),iT(o.isSuppressingWarning()?1:F?2:3);}}function nt(n,t){if(n&1){let e=gT();cm(0),Qi(1,"div",76)(2,"code"),PC(3),Hl(),Qi(4,"button",77),Fg("click",function(F){let c=Sd(e).$implicit,L=nC(3);return xd(L.copyToClipboard(F,c,c))}),PC(5," Copy "),oT(6,jn,2,0,"sh-icon")(7,qn,2,0,"sh-icon"),Hl(),oT(8,et,4,2,"button",81),Hl();}if(n&2){let e=t.$implicit,o=nC(3),F=BC(o.parseWarning(e));DE(3),nm(e),DE(3),iT(o.copied()==e?6:7),DE(2),iT(F?.MessageId?8:-1);}}function tt(n,t){n&1&&(Qi(0,"p"),PC(1,"No errors"),Hl());}function it(n,t){n&1&&(Og(0,57,1),mg(1,"sh-icon"),Pg());}function ot(n,t){n&1&&(Og(0,57,2),mg(1,"sh-icon"),Pg());}function _t(n,t){if(n&1){let e=gT();Qi(0,"div",76)(1,"code"),PC(2),Hl(),Qi(3,"button",77),Fg("click",function(F){let c=Sd(e).$implicit,L=nC(3);return xd(L.copyToClipboard(F,c,c))}),Og(4,57),oT(5,it,2,0,"sh-icon")(6,ot,2,0,"sh-icon"),Pg(),Hl()();}if(n&2){let e=t.$implicit,o=nC(3);DE(2),nm(e),DE(3),iT(o.copied()==e?5:6);}}function at(n,t){n&1&&(Qi(0,"sh-icon"),PC(1,"check"),Hl());}function Ft(n,t){n&1&&(Qi(0,"sh-icon"),PC(1,"copy"),Hl());}function rt(n,t){if(n&1){let e=gT();Qi(0,"section",67)(1,"sh-toggle-card",68),Ul(2,69),Qi(3,"h3"),XT(4,0),Hl(),Wl(),Ul(5,70),Qi(6,"p"),XT(7,1),tb(8,"date"),Hl(),Qi(9,"p"),XT(10,2),tb(11,"date"),Hl(),Qi(12,"p"),XT(13,3),tb(14,"durationFormat"),Hl(),Wl(),Hl(),Qi(15,"sh-toggle-card",68),Ul(16,69),Qi(17,"h3"),XT(18,4),Hl(),Wl(),Ul(19,70),Qi(20,"p"),XT(21,5),tb(22,"bytes"),Hl(),Qi(23,"p"),XT(24,6),tb(25,"bytes"),Hl(),Qi(26,"p"),XT(27,7),tb(28,"bytes"),Hl(),Qi(29,"p"),XT(30,8),tb(31,"bytes"),Hl(),Qi(32,"p"),XT(33,9),Hl(),Qi(34,"p"),XT(35,10),Hl(),Qi(36,"p"),XT(37,11),Hl(),Wl(),Hl(),Qi(38,"div",71),mg(39,"sh-divider"),oT(40,Mn,54,45),oT(41,zn,2,0),oT(42,Vn,23,14,"details",72),oT(43,Wn,9,1,"details",72),Qi(44,"details",73)(45,"summary"),Og(46,12),mg(47,"sh-icon"),Qi(48,"div",74),mg(49,"sh-icon",66),Hl(),Pg(),Hl(),Qi(50,"div",75),cT(51,nt,9,4,"div",76,sT),Hl()(),Qi(53,"details",73)(54,"summary"),Og(55,13),mg(56,"sh-icon"),Qi(57,"div",74),mg(58,"sh-icon",66),Hl(),Pg(),Hl(),Qi(59,"div",75),oT(60,tt,2,0,"p"),cT(61,_t,7,2,"div",76,sT),Hl()(),mg(63,"sh-divider"),Qi(64,"details")(65,"summary"),Og(66,14),mg(67,"sh-icon"),Qi(68,"div",74),mg(69,"sh-icon",66),Hl(),Pg(),Hl(),Qi(70,"code")(71,"button",77),Fg("click",function(F){Sd(e);let c=nC().$implicit,L=nC();return xd(L.copyToClipboard(F,L.stringify(c.data),"all"))}),PC(72," Copy "),oT(73,at,2,0,"sh-icon")(74,Ft,2,0,"sh-icon"),Hl(),PC(75),tb(76,"json"),Hl()()()();}if(n&2){let e=nC().$implicit,o=nC();DE(),gg("disableToggle",true),DE(7),Lg(ob(8,27,e.data?.BeginTime,"medium")),eC(7),DE(3),Lg(ob(11,30,e.data?.EndTime,"medium")),eC(10),DE(3),Lg(rb(14,33,e.data?.Duration)),eC(13),DE(),gg("disableToggle",true),DE(7),Lg(e.data?.ExaminedFiles)(ib(22,35,e.data?.SizeOfExaminedFiles,true,true)),eC(21),DE(3),Lg(e.data?.OpenedFiles)(ib(25,39,e.data?.SizeOfOpenedFiles,true,true)),eC(24),DE(3),Lg(e.data?.AddedFiles)(ib(28,43,e.data?.SizeOfAddedFiles,true,true)),eC(27),DE(3),Lg(e.data?.ModifiedFiles)(ib(31,47,e.data?.SizeOfModifiedFiles,true,true)),eC(30),DE(2),Lg(e.data?.DeletedFiles),eC(33),DE(2),Lg(e.data?.TooLargeFiles),eC(35),DE(2),Lg(e.data?.FilesWithError),eC(37),DE(3),iT(e.data?.TestResults?40:-1),DE(),iT(e.data?.RemoteSynchronizationResults?41:-1),DE(),iT(e.data?.LockResults?42:-1),DE(),iT(e.data?.MainOperation==="Test"?43:-1),DE(),gg("open",e.id===o.openEntry()&&o.openSection()==="warnings"),DE(5),Lg(e.data?.WarningsActualLength),eC(46),DE(2),lT(e.data?.Warnings),DE(2),gg("open",e.id===o.openEntry()&&o.openSection()==="errors"),DE(5),Lg(e.data?.ErrorsActualLength),eC(55),DE(2),iT(e.data?.Errors?.length===0?60:-1),DE(),lT(e.data?.Errors),DE(12),iT(o.copied()=="all"?73:74),DE(2),Gl(" ",rb(76,51,e.data)," ");}}function lt(n,t){if(n&1){let e=gT();Qi(0,"article",59)(1,"header",60),Fg("click",function(){let F=Sd(e).$implicit,c=nC();return xd(c.toggleOpenEntry(F))}),oT(2,Pn,1,0,"div",61)(3,Rn,1,0,"div",61)(4,In,1,0,"div",62)(5,$n,1,0,"div",63),Qi(6,"h3"),PC(7),tb(8,"date"),Hl(),Qi(9,"p"),PC(10),Hl(),mg(11,"div",64),Qi(12,"div",65)(13,"sh-icon",66),PC(14,"caret-down"),Hl()()(),oT(15,rt,77,53,"section",67),Hl();}if(n&2){let e=t.$implicit,o=nC(),F=e.data?.ParsedResult||"Unknown";DE(2),iT(F=="Fatal"?2:F=="Error"?3:F=="Warning"?4:5),DE(5),nm(ob(8,7,e.timestamp,"medium")),DE(3),rm(" ",e.data?.MainOperation," ",o.getLocalizedSummary(e)," "),DE(3),Qg("open",e.id===o.openEntry()),DE(2),iT(e.id===o.openEntry()?15:-1);}}var De=class n{#e=T(C);#n=T(g);#t=new m;#i=new c;backupId=g1.required();isSuppressingWarning=Ue(false);copied=Ue(null);backupResource=pb({params:()=>({id:this.backupId()}),loader:({params:t})=>ay(this.#e.getApiV1BackupById({id:t.id}))});suppressedWarningIds=Nt$1(()=>{let t=this.backupResource.value();if(!t?.Backup?.Settings)return new Set;let e=t.Backup.Settings.find(o=>o.Name==="--suppress-warnings");return e?.Value?new Set(e.Value.split(",").map(o=>o.trim()).filter(Boolean)):new Set});openEntry=Ue(null);openSection=Ue(null);pagination=Ue({offset:0,pagesize:100});resource=$({params:()=>l({id:this.backupId()},this.pagination()),stream:({params:t})=>this.#e.getApiV1BackupByIdLog({id:t.id,pagesize:100}).pipe(pt$1(e=>e.map(o=>({id:o.ID,operationId:o.OperationID,timestamp:o.Timestamp*1e3,type:o.Type,data:JSON.parse(o.Message),exception:JSON.stringify(o.Exception)==="{}"?null:o.Exception}))))});getLocalizedSummary(t){let e=t.data?.ErrorsActualLength??0,o=t.data?.WarningsActualLength??0,F=[];if(t.data?.MainOperation=="Backup"){if(t.data?.Duration){let c=this.#i.transform(t.data?.Duration,true);c.startsWith("0h ")&&(c=c.slice(3)),c.startsWith("0m ")&&(c=c.slice(3)),F.push($localize`took ${c}`);}t.data?.BackendStatistics?.BytesUploaded&&F.push($localize`uploaded ${this.#t.transform(t.data?.BackendStatistics?.BytesUploaded)}`),t.data?.BackendStatistics?.KnownFileSize&&F.push($localize`backup size ${this.#t.transform(t.data?.BackendStatistics?.KnownFileSize)}`);}return e!==0&&F.push($localize`:@@errorCount:${e} error${e===1?"":"s"}`),o!==0&&F.push($localize`:@@warningCount:${o} warning${o===1?"":"s"}`),F.length===0?"":`(${F.join(", ")})`}toggleOpenEntry(t){let e=t.id;if(this.openEntry()===e){this.openEntry.set(null),this.openSection.set(null);return}let o=t.data?.ErrorsActualLength??0,F=t.data?.WarningsActualLength??0;o>0?this.openSection.set("errors"):F>0?this.openSection.set("warnings"):this.openSection.set(null),this.openEntry.set(e);}parseWarning(t){let e=t.match(/^(.*?) - \[(.*?)-(.*?)-(.*?)\]: (.*)$/);if(!e)return null;let[,o,F,c,L,G]=e;return {Timestamp:o,LogLevel:F,Source:c,MessageId:L,Message:G}}isWarningSuppressed(t){return this.suppressedWarningIds().has(t)}toggleWarningSuppression(t){let e=this.backupId();!e||!t||(this.isSuppressingWarning.set(true),this.#e.getApiV1BackupById({id:e}).pipe($u(o=>{let F=o.Backup?.Settings??[],c=F.findIndex(N=>N.Name==="--suppress-warnings"),L=this.isWarningSuppressed(t),G="";if(c>=0){let v=(F[c].Value??"").split(",").map(U=>U.trim()).filter(Boolean);L?v=v.filter(U=>U!==t):v.includes(t)||v.push(t),G=v.join(",");}else L||(G=t);let k=F.map(N=>({Name:N.Name,Value:N.Value,Filter:N.Filter}));return c>=0?G===""?k.splice(c,1):k[c]={Name:"--suppress-warnings",Value:G,Filter:null}:G!==""&&k.push({Name:"--suppress-warnings",Value:G,Filter:null}),this.#e.putApiV1BackupById({id:e,requestBody:{Backup:{Name:o.Backup?.Name,Description:o.Backup?.Description,DBPath:o.Backup?.DBPath,Tags:o.Backup?.Tags??[],TargetURL:o.Backup?.TargetURL,ConnectionStringID:o.Backup?.ConnectionStringID,Sources:o.Backup?.Sources??[],Settings:k,Filters:o.Backup?.Filters?.map(N=>({Expression:N.Expression,Include:N.Include,Order:N.Order})),Metadata:o.Backup?.Metadata??{},AdditionalTargetURLs:o.Backup?.AdditionalTargetURLs?.map(N=>({TargetUrl:N.TargetUrl,UrlKey:N.UrlKey,Mode:N.Mode,Interval:N.Interval,ConnectionStringID:N.ConnectionStringID,Options:N.Options}))},Schedule:o.Schedule?{Repeat:o.Schedule.Repeat,Time:o.Schedule.Time,AllowedDays:o.Schedule.AllowedDays}:void 0}})}),Bu(()=>this.isSuppressingWarning.set(false))).subscribe({next:()=>{this.#n.getBackups(true),this.backupResource.reload();},error:o=>{console.error("Failed to toggle warning suppression:",o);}}));}copyToClipboard(t,e,o){t.stopPropagation(),navigator.clipboard.writeText(e),this.copied.set(o),setTimeout(()=>{this.copied.set(null);},2e3);}stringify(t){return JSON.stringify(t,null,2)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=dw({type:n,selectors:[["app-general-log"]],inputs:{backupId:[1,"backupId"]},decls:3,vars:1,consts:()=>{let t;t=$localize`Time`;let e;e=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let o;o=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let F;F=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let c;c=$localize`Source files`;let L;L=$localize` Evaluated: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let G;G=$localize` Opened: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let k;k=$localize` Added: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let N;N=$localize` Modified: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let v;v=$localize`Deleted: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let U;U=$localize`Too large: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Q;Q=$localize`Files with error: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let A;A=$localize`${"\uFFFD#47\uFFFD"}:START_TAG_SH_ICON:warning-circle${"[\uFFFD/#47\uFFFD|\uFFFD/#49\uFFFD]"}:CLOSE_TAG_SH_ICON: Warnings ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#48\uFFFD"}:START_TAG_DIV:${"\uFFFD#49\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#47\uFFFD|\uFFFD/#49\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#48\uFFFD"}:CLOSE_TAG_DIV:`,A=tC(A);let ne;ne=$localize`${"\uFFFD#56\uFFFD"}:START_TAG_SH_ICON:warning${"[\uFFFD/#56\uFFFD|\uFFFD/#58\uFFFD]"}:CLOSE_TAG_SH_ICON: Errors ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#57\uFFFD"}:START_TAG_DIV:${"\uFFFD#58\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#56\uFFFD|\uFFFD/#58\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#57\uFFFD"}:CLOSE_TAG_DIV:`,ne=tC(ne);let te;te=$localize`${"\uFFFD#67\uFFFD"}:START_TAG_SH_ICON:notepad${"[\uFFFD/#67\uFFFD|\uFFFD/#69\uFFFD]"}:CLOSE_TAG_SH_ICON: Complete log ${"\uFFFD#68\uFFFD"}:START_TAG_DIV:${"\uFFFD#69\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#67\uFFFD|\uFFFD/#69\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#68\uFFFD"}:CLOSE_TAG_DIV:`,te=tC(te);let ie;ie=$localize`${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:circle-half-tilt${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON: Test phase ${"\uFFFD#4\uFFFD"}:START_TAG_DIV:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_DIV:`,ie=tC(ie);let Ie;Ie=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let $e;$e=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Me;Me=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let fe;fe=$localize`Verifications: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let he;he=$localize`Warnings: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let ye;ye=$localize`Errors: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let oe;oe=$localize`${"\uFFFD#26\uFFFD"}:START_TAG_SH_ICON:file-archive${"[\uFFFD/#26\uFFFD|\uFFFD/#28\uFFFD]"}:CLOSE_TAG_SH_ICON: Compact phase ${"\uFFFD#27\uFFFD"}:START_TAG_DIV:${"\uFFFD#28\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#26\uFFFD|\uFFFD/#28\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#27\uFFFD"}:CLOSE_TAG_DIV:`,oe=tC(oe);let ve;ve=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Be;Be=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let xe;xe=$localize` Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION: `;let be;be=$localize` Deleted files: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let ke;ke=$localize` Downloaded files: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let Ke;Ke=$localize` Uploaded files: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let Ue;Ue=$localize`Warnings: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let we;we=$localize`Errors: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let _e;_e=$localize`${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:arrows-clockwise${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON: Secondary destination: ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#4\uFFFD"}:START_TAG_DIV:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_DIV:`,_e=tC(_e);let Je;Je=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Xe;Xe=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let ze;ze=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ve;Ve=$localize` Files copied: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let He;He=$localize`Files deleted: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let We;We=$localize`Files renamed: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let je;je=$localize`Files verified: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let qe;qe=$localize`Failed verifications: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let ae;ae=$localize`${"\uFFFD#32\uFFFD"}:START_TAG_SH_ICON:info${"[\uFFFD/#32\uFFFD|\uFFFD/#34\uFFFD]"}:CLOSE_TAG_SH_ICON: Messages ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#33\uFFFD"}:START_TAG_DIV:${"\uFFFD#34\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#32\uFFFD|\uFFFD/#34\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#33\uFFFD"}:CLOSE_TAG_DIV:`,ae=tC(ae);let Fe;Fe=$localize`${"\uFFFD#42\uFFFD"}:START_TAG_SH_ICON:warning-circle${"[\uFFFD/#42\uFFFD|\uFFFD/#44\uFFFD]"}:CLOSE_TAG_SH_ICON: Warnings ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#43\uFFFD"}:START_TAG_DIV:${"\uFFFD#44\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#42\uFFFD|\uFFFD/#44\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#43\uFFFD"}:CLOSE_TAG_DIV:`,Fe=tC(Fe);let re;re=$localize`${"\uFFFD#52\uFFFD"}:START_TAG_SH_ICON:warning${"[\uFFFD/#52\uFFFD|\uFFFD/#54\uFFFD]"}:CLOSE_TAG_SH_ICON: Errors ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#53\uFFFD"}:START_TAG_DIV:${"\uFFFD#54\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#52\uFFFD|\uFFFD/#54\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#53\uFFFD"}:CLOSE_TAG_DIV:`,re=tC(re);let le;le=$localize` Copy ${"\uFFFD*5:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*5:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*6:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*6:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,le=tC(le);let se;se=$localize` Copy ${"\uFFFD*5:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*5:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*6:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*6:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,se=tC(se);let ce;ce=$localize` Copy ${"\uFFFD*5:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*5:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*6:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*6:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,ce=tC(ce);let ue;ue=$localize`${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:lock${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON: Lock results ${"\uFFFD#4\uFFFD"}:START_TAG_DIV:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_DIV:`,ue=tC(ue);let Qe;Qe=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ye;Ye=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ze;Ze=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let en;en=$localize`Volumes read: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let nn;nn=$localize`Volumes updated: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let tn;tn=$localize`Parsed result: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let de;de=$localize`${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:warning-circle${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON: Verifications ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#4\uFFFD"}:START_TAG_DIV:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_DIV:`,de=tC(de);let on;on=$localize` Updating ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:spinner${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let _n;_n=$localize` Un-suppress ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:bell${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let an;an=$localize` Suppress ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:bell-slash${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let Ee;return Ee=$localize` Copy ${"\uFFFD*5:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*5:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*6:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*6:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,Ee=tC(Ee),[t,e,o,F,c,L,G,k,N,v,U,Q,A,ne,te,ie,Ie,$e,Me,fe,he,ye,oe,ve,Be,xe,be,ke,Ke,Ue,we,_e,Je,Xe,ze,Ve,He,We,je,qe,ae,Fe,re,le,se,ce,ue,Qe,Ye,Ze,en,nn,tn,de,on,_n,an,Ee,[1,"indeterminate","primary"],[1,"log-entry"],[3,"click"],[1,"status","error"],[1,"status","warn"],[1,"status"],[1,"spacer"],[1,"action"],[1,"toggle-indicator"],[1,"log-content"],[3,"disableToggle"],["title",""],["content",""],[1,"extra-info"],["name","details"],["name","details",3,"open"],[1,"actions"],[1,"content"],[1,"warning-item"],["shButton","",1,"small",3,"click"],["name","details-messages"],["name","details-warnings"],["name","details-errors"],["shButton","",1,"small",3,"disabled"],["shButton","",1,"small",3,"click","disabled"]]},template:function(e,o){e&1&&(oT(0,Dn,1,0,"sh-progress-bar",58),cT(1,lt,16,10,"article",59,sT)),e&2&&(iT(o.resource.isLoading()?0:-1),DE(),lT(o.resource.value()));},dependencies:[I,c$1,d,v,N,m,ci,c,hi],styles:["[_nghost-%COMP%]{display:block}.log-entry[_ngcontent-%COMP%]{display:flex;flex-direction:column;cursor:pointer}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:1rem;border-bottom:1px solid var(--base-4);background-color:var(--base-1);cursor:pointer}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]:hover{background-color:var(--base-2)}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:var(--paragraph-30);margin:0}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.toggle-indicator[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:1.25rem;transition:transform 125ms linear}.toggle-indicator.open[_ngcontent-%COMP%]{transform:rotate(180deg)}details[_ngcontent-%COMP%]{display:flex;flex-direction:column}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center;gap:.5rem;padding:.75rem;border-radius:var(--shape-2);background-color:var(--base-2)}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]:focus{outline:none}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]:hover{background-color:var(--base-3)}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]::marker{font-size:0}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;flex:1 0;gap:.5rem;-webkit-user-select:none;user-select:none}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:2rem;transition:transform 125ms linear}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] sh-icon.toggle-indicator[_ngcontent-%COMP%]{transform:rotate(0)}details[open][_ngcontent-%COMP%] > summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] sh-icon.toggle-indicator[_ngcontent-%COMP%]{transform:rotate(180deg)}details[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:.75rem 1rem 0;display:flex;flex-direction:column;gap:.75rem}details[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}details[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{margin-top:.75rem;position:relative}details[_ngcontent-%COMP%] code[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem}.extra-info[_ngcontent-%COMP%]{grid-column:1/-1;display:flex;flex-direction:column;gap:1rem}.extra-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.extra-info[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{white-space:pre-wrap;padding:1rem;display:block;border-radius:var(--shape-2);background-color:var(--base-2)}.log-content[_ngcontent-%COMP%]{padding:1rem;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.status[_ngcontent-%COMP%]{display:block;width:1rem;height:1rem;background-color:var(--success-8);border-radius:50%}.status.error[_ngcontent-%COMP%]{background-color:var(--error-8)}.status.warn[_ngcontent-%COMP%]{background-color:var(--warn-8)}.warning-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:.5rem;padding:.75rem;border-radius:var(--shape-2);background-color:var(--base-2)}.warning-item[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{margin:0;white-space:pre-wrap;word-break:break-word}.warning-item[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{align-self:flex-start;white-space:nowrap}"]})};function st(n,t){n&1&&mg(0,"sh-progress-bar",1);}function ct(n,t){n&1&&(Og(0,0,1),mg(1,"sh-icon"),Pg());}function ut(n,t){n&1&&(Og(0,0,2),mg(1,"sh-icon"),Pg());}function dt(n,t){if(n&1){let e=gT();Qi(0,"section",6)(1,"button",7),Fg("click",function(){Sd(e);let F=nC(),c=F.$implicit,L=F.$index,G=nC();return xd(G.copyToClipboard(c.data,L))}),Og(2,0),oT(3,ct,2,0)(4,ut,2,0),Pg(),Hl(),Qi(5,"code"),PC(6),tb(7,"json"),Hl()();}if(n&2){let e=nC(),o=e.$implicit,F=e.$index,c=nC();DE(),Qg("success",c.copiedFromIndex()===F),DE(2),iT(c.copiedFromIndex()===F?3:4),DE(3),nm(rb(7,4,o.data));}}function Et(n,t){if(n&1){let e=gT();Qi(0,"article",2)(1,"header",3),Fg("click",function(){let F=Sd(e).$implicit,c=nC();return xd(c.toggleOpenEntry(F.id))}),Qi(2,"h3"),PC(3),tb(4,"date"),Hl(),Qi(5,"div",4)(6,"sh-icon",5),PC(7,"caret-down"),Hl()()(),oT(8,dt,8,6,"section",6),Hl();}if(n&2){let e=t.$implicit,o=nC();DE(3),om("",ob(4,6,e.timestamp,"medium"),": ",e.operation," ",e.path),DE(3),Qg("open",e.id===o.openEntry()),DE(2),iT(e.id===o.openEntry()?8:-1);}}var Pe=class n{#e=T(C);backupId=g1.required();openEntry=Ue(null);pagination=Ue({offset:0,pagesize:100});copiedFromIndex=Ue(null);resource=$({params:()=>l({id:this.backupId()},this.pagination()),stream:({params:t})=>this.#e.getApiV1BackupByIdRemotelog({id:t.id,pagesize:100}).pipe(pt$1(e=>e.map((o,F)=>({id:o.ID,operationId:o.OperationID,timestamp:o.Timestamp*1e3,operation:o.Operation,path:o.Path,data:typeof o.Data=="string"?JSON.parse(o.Data):null}))))});toggleOpenEntry(t){if(this.openEntry()===t){this.openEntry.set(null);return}this.openEntry.set(t);}copyToClipboard(t,e){let o=JSON.stringify(t,null,2);navigator.clipboard.writeText(o),this.copiedFromIndex.set(e),setTimeout(()=>{this.copiedFromIndex.set(null);},3e3);}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=dw({type:n,selectors:[["app-remote-log"]],inputs:{backupId:[1,"backupId"]},decls:3,vars:1,consts:()=>{let t;return t=$localize`${"\uFFFD*3:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Copied ${"\uFFFD/*3:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*4:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Copy to clipboard ${"\uFFFD/*4:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,t=tC(t),[t,[1,"indeterminate","primary"],[1,"log-entry"],[3,"click"],[1,"actions"],[1,"toggle-indicator"],[1,"log-content"],["shButton","",1,"small",3,"click"]]},template:function(e,o){e&1&&(oT(0,st,1,0,"sh-progress-bar",1),cT(1,Et,9,9,"article",2,sT)),e&2&&(iT(o.resource.isLoading()?0:-1),DE(),lT(o.resource.value()));},dependencies:[d,N,hi,ci],styles:["[_nghost-%COMP%]{display:block}.log-entry[_ngcontent-%COMP%]{display:flex;flex-direction:column}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:1rem;border-bottom:1px solid var(--base-4);background-color:var(--base-1);cursor:pointer}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]:hover{background-color:var(--base-2)}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:var(--paragraph-30);margin:0;-webkit-user-select:none;user-select:none}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.toggle-indicator[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:1.25rem;transition:transform 125ms linear}.toggle-indicator.open[_ngcontent-%COMP%]{transform:rotate(180deg)}.log-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1rem;position:relative}.log-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;top:2rem;right:2rem;background:transparent}code[_ngcontent-%COMP%]{white-space:pre-wrap;padding:1rem;display:block;border-radius:var(--shape-2);background-color:var(--base-2)}"]})};function Ct(n,t){if(n&1&&(PC(0," - "),Ul(1),XT(2,6),Wl(),PC(3),tb(4,"durationFormat")),n&2){nC(2);let e=$C(6);DE(3),Gl(" ",rb(4,1,e.Backup.Metadata?.LastBackupDuration)," ");}}function pt(n,t){n&1&&(Ul(0),XT(1,7),Wl());}function Tt(n,t){if(n&1&&(PC(0),tb(1,"bytes")),n&2){nC(2);let e=$C(6);Gl(" ",rb(1,1,e.Backup.Metadata?.SourceFilesSize)," ");}}function gt(n,t){n&1&&(Ul(0),XT(1,8),Wl());}function St(n,t){if(n&1&&(PC(0),tb(1,"bytes")),n&2){nC(2);let e=$C(6);Gl(" ",rb(1,1,e.Backup.Metadata?.TargetFilesSize)," ");}}function Ot(n,t){n&1&&(Ul(0),XT(1,9),Wl());}function Lt(n,t){if(n&1&&(Qi(0,"sh-chip",20),XT(1,10),Hl()),n&2){nC(2);let e=$C(6);DE(),Lg(e.Backup.Metadata?.BackupListCount),eC(1);}}function Nt(n,t){n&1&&(Qi(0,"sh-chip",21),XT(1,11),Hl());}function mt(n,t){if(n&1&&(Qi(0,"div",14)(1,"div",19)(2,"h3"),PC(3),Qi(4,"sh-icon"),PC(5,"database"),Hl()(),Qi(6,"p")(7,"span"),XT(8,3),Hl(),PC(9),tb(10,"date"),oT(11,Ct,5,3)(12,pt,2,0,"ng-container"),Hl(),Qi(13,"p")(14,"span"),XT(15,4),Hl(),oT(16,Tt,2,3)(17,gt,2,0,"ng-container"),Hl(),Qi(18,"p")(19,"span"),XT(20,5),Hl(),oT(21,St,2,3)(22,Ot,2,0,"ng-container"),Hl()(),oT(23,Lt,2,1,"sh-chip",20)(24,Nt,2,0,"sh-chip",21),Hl()),n&2){let e=nC(),o=$C(6);DE(3),Gl(" ",o.Backup.Name??e.MISSING_BACKUP_NAME," "),DE(6),Gl(" ",ob(10,6,o.Backup.Metadata?.LastBackupFinished,"short")," "),DE(2),iT(o.Backup.Metadata?.LastBackupDuration?11:12),DE(5),iT(o.Backup.Metadata?.SourceFilesSize?16:17),DE(5),iT(o.Backup.Metadata?.TargetFilesSize?21:22),DE(2),iT(o.Backup.Metadata?.BackupListCount?23:24);}}function Gt(n,t){if(n&1&&mg(0,"app-general-log",18),n&2){let e=nC();gg("backupId",e.backupId());}}function At(n,t){if(n&1&&mg(0,"app-remote-log",18),n&2){let e=nC();gg("backupId",e.backupId());}}var Re=class n{#e=T(W);#n=T(g);MISSING_BACKUP_NAME=$localize`Backup name missing`;activeTab=Ue("general");backupId=L(this.#e.params.pipe(pt$1(t=>t.id)));backup=Nt$1(()=>{let t=this.backupId();return t?this.#n.getBackupById(t):null});static \u0275fac=function(e){return new(e||n)};static \u0275cmp=dw({type:n,selectors:[["app-log"]],decls:15,vars:5,consts:()=>{let t;t=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SH_ICON: Back `;let e;e=$localize`General`;let o;o=$localize`Destination`;let F;F=$localize`Last successful backup:`;let c;c=$localize`Source:`;let L;L=$localize`Destination:`;let G;G=$localize`took`;let k;k=$localize`N/A`;let N;N=$localize`N/A`;let v;v=$localize`N/A`;let U;U=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION: Version`;let Q;return Q=$localize`No version yet`,[t,e,o,F,c,L,G,k,N,v,U,Q,[1,"back"],["type","button","shButton","","routerLink","/",1,"small"],[1,"backup"],[1,"primary",3,"valueChange","value"],["value","general"],["value","destination"],[3,"backupId"],[1,"text"],[1,"simple","success"],[1,"simple"]]},template:function(e,o){if(e&1){let F=gT();mg(0,"app-status-bar"),Qi(1,"section")(2,"div",12)(3,"button",13),Og(4,0),mg(5,"sh-icon"),Pg(),Hl()(),cm(6),oT(7,mt,25,9,"div",14),Qi(8,"sh-tabs",15),sm("valueChange",function(L){return Sd(F),HC(o.activeTab,L)||(o.activeTab=L),xd(L)}),Qi(9,"button",16),XT(10,1),Hl(),Qi(11,"button",17),XT(12,2),Hl()(),oT(13,Gt,1,1,"app-general-log",18),oT(14,At,1,1,"app-remote-log",18),Hl();}if(e&2){DE(6);let F=BC(o.backup());DE(),iT(F?7:-1),DE(),im("value",o.activeTab),DE(5),iT(o.activeTab()==="general"?13:-1),DE(),iT(o.activeTab()==="destination"?14:-1);}},dependencies:[w,De,Pe,_t$1,ee,N,v,D,m,c,ci],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1rem 1.5rem;gap:1rem}sh-tabs[_ngcontent-%COMP%]{margin-bottom:1rem}.backup[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:2rem;gap:1rem;border:1px solid var(--base-4);border-radius:var(--shape-3);box-shadow:var(--box-shadow-10)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;width:100%;max-width:40%}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{color:var(--base-8)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--base-12)}"]})};export{Re as default};
1
+ import {w}from'./chunk-BYJA6sbi.js';import {e as ee}from'./chunk-B0RBkC1E.js';import'./chunk-BB1pOOUx.js';import'./chunk-DN6f5jXR.js';import'./chunk-3RXp81pP.js';import {I}from'./chunk-DD_QfWih.js';import'./chunk-CT9ziigM.js';import'./chunk-D5lj-fQk.js';import {c as c$1}from'./chunk-OLi7f6y7.js';import {D}from'./chunk-B2TXzbpy.js';import {T,aw as W,a5 as g,U as Ue,aG as pt$1,N as Nt$1,d as dw,_ as _t$1,f as N,v,aH as m,aI as c,aJ as ci,k as gT,j as mg,Q as Qi,O as Og,P as Pg,H as Hl,ak as cm,o as oT,s as sm,X as XT,D as DE,al as BC,i as iT,w as im,S as Sd,l as HC,x as xd,ab as C,b as g1,aK as pb,ay as $u,C as Bu,aL as hi,a1 as cT,a2 as lT,t as tC,q as PC,aM as tb,n as nC,ao as $C,aa as Gl,aN as ob,z as gg,aj as l,ap as sT,F as Fg,E as nm,aB as rm,I as Qg,aO as om,aP as Ul,aQ as Wl,aR as rb,au as Lg,av as eC,aS as ib,aT as ay}from'./main-KFKZO6SJ.js';import {d}from'./chunk-CRAg6SRo.js';import'./chunk-DuIUmwWN.js';import'./chunk-DipTNkHN.js';import'./chunk-Fw6nFDZK.js';import'./chunk-Ca1C9pJ0.js';import'./chunk-C-NgIZiF.js';import {L,$}from'./chunk-C7pjkqKB.js';import'./chunk-PVmXLw9b.js';function Dn(n,t){n&1&&mg(0,"sh-progress-bar",58);}function Pn(n,t){n&1&&mg(0,"div",61);}function Rn(n,t){n&1&&mg(0,"div",61);}function In(n,t){n&1&&mg(0,"div",62);}function $n(n,t){n&1&&mg(0,"div",63);}function Mn(n,t){if(n&1&&(Qi(0,"details",72)(1,"summary"),Og(2,15),mg(3,"sh-icon"),Qi(4,"div",74),mg(5,"sh-icon",66),Hl(),Pg(),Hl(),Qi(6,"div",75)(7,"p"),XT(8,16),tb(9,"date"),Hl(),Qi(10,"p"),XT(11,17),tb(12,"date"),Hl(),Qi(13,"p"),XT(14,18),tb(15,"durationFormat"),Hl(),Qi(16,"p"),XT(17,19),Hl(),mg(18,"sh-divider"),Qi(19,"p"),XT(20,20),Hl(),Qi(21,"p"),XT(22,21),Hl()()(),Qi(23,"details",72)(24,"summary"),Og(25,22),mg(26,"sh-icon"),Qi(27,"div",74),mg(28,"sh-icon",66),Hl(),Pg(),Hl(),Qi(29,"div",75)(30,"p"),XT(31,23),tb(32,"date"),Hl(),Qi(33,"p"),XT(34,24),tb(35,"date"),Hl(),Qi(36,"p"),XT(37,25),tb(38,"durationFormat"),Hl(),mg(39,"sh-divider"),Qi(40,"p"),XT(41,26),tb(42,"bytes"),Hl(),Qi(43,"p"),XT(44,27),tb(45,"bytes"),Hl(),Qi(46,"p"),XT(47,28),tb(48,"bytes"),Hl(),mg(49,"sh-divider"),Qi(50,"p"),XT(51,29),Hl(),Qi(52,"p"),XT(53,30),Hl()()()),n&2){let e=nC(2).$implicit;DE(9),Lg(ob(9,17,e.data?.TestResults?.BeginTime,"medium")),eC(8),DE(3),Lg(ob(12,20,e.data?.TestResults?.EndTime,"medium")),eC(11),DE(3),Lg(rb(15,23,e.data?.TestResults?.Duration)),eC(14),DE(2),Lg(e.data?.TestResults?.VerificationsActualLength),eC(17),DE(3),Lg(e.data?.TestResults?.WarningsActualLength),eC(20),DE(2),Lg(e.data?.TestResults?.ErrorsActualLength),eC(22),DE(10),Lg(ob(32,25,e.data?.CompactResults?.BeginTime,"medium")),eC(31),DE(3),Lg(ob(35,28,e.data?.CompactResults?.EndTime,"medium")),eC(34),DE(3),Lg(rb(38,31,e.data?.CompactResults?.Duration)),eC(37),DE(4),Lg(e.data?.CompactResults?.DeletedFileCount)(ib(42,33,e.data?.CompactResults?.DeletedFileSize,true,true)),eC(41),DE(3),Lg(e.data?.CompactResults?.DownloadedFileCount)(ib(45,37,e.data?.CompactResults?.DownloadedFileSize,true,true)),eC(44),DE(3),Lg(e.data?.CompactResults?.UploadedFileCount)(ib(48,41,e.data?.CompactResults?.UploadedFileSize,true,true)),eC(47),DE(3),Lg(e.data?.CompactResults?.WarningsActualLength),eC(51),DE(2),Lg(e.data?.CompactResults?.ErrorsActualLength),eC(53);}}function fn(n,t){n&1&&(Qi(0,"p"),PC(1,"No messages"),Hl());}function hn(n,t){n&1&&(Og(0,43,1),mg(1,"sh-icon"),Pg());}function yn(n,t){n&1&&(Og(0,43,2),mg(1,"sh-icon"),Pg());}function vn(n,t){if(n&1){let e=gT();Qi(0,"div",76)(1,"code"),PC(2),Hl(),Qi(3,"button",77),Fg("click",function(F){let c=Sd(e).$implicit,L=nC(5);return xd(L.copyToClipboard(F,c,c))}),Og(4,43),oT(5,hn,2,0,"sh-icon")(6,yn,2,0,"sh-icon"),Pg(),Hl()();}if(n&2){let e=t.$implicit,o=nC(5);DE(2),nm(e),DE(3),iT(o.copied()==e?5:6);}}function Bn(n,t){n&1&&(Qi(0,"p"),PC(1,"No warnings"),Hl());}function xn(n,t){n&1&&(Og(0,44,1),mg(1,"sh-icon"),Pg());}function bn(n,t){n&1&&(Og(0,44,2),mg(1,"sh-icon"),Pg());}function kn(n,t){if(n&1){let e=gT();Qi(0,"div",76)(1,"code"),PC(2),Hl(),Qi(3,"button",77),Fg("click",function(F){let c=Sd(e).$implicit,L=nC(5);return xd(L.copyToClipboard(F,c,c))}),Og(4,44),oT(5,xn,2,0,"sh-icon")(6,bn,2,0,"sh-icon"),Pg(),Hl()();}if(n&2){let e=t.$implicit,o=nC(5);DE(2),nm(e),DE(3),iT(o.copied()==e?5:6);}}function Kn(n,t){n&1&&(Qi(0,"p"),PC(1,"No errors"),Hl());}function Un(n,t){n&1&&(Og(0,45,1),mg(1,"sh-icon"),Pg());}function wn(n,t){n&1&&(Og(0,45,2),mg(1,"sh-icon"),Pg());}function Jn(n,t){if(n&1){let e=gT();Qi(0,"div",76)(1,"code"),PC(2),Hl(),Qi(3,"button",77),Fg("click",function(F){let c=Sd(e).$implicit,L=nC(5);return xd(L.copyToClipboard(F,c,c))}),Og(4,45),oT(5,Un,2,0,"sh-icon")(6,wn,2,0,"sh-icon"),Pg(),Hl()();}if(n&2){let e=t.$implicit,o=nC(5);DE(2),nm(e),DE(3),iT(o.copied()==e?5:6);}}function Xn(n,t){if(n&1&&(Qi(0,"details",72)(1,"summary"),Og(2,31),mg(3,"sh-icon"),Qi(4,"div",74),mg(5,"sh-icon",66),Hl(),Pg(),Hl(),Qi(6,"div",75)(7,"p"),XT(8,32),tb(9,"date"),Hl(),Qi(10,"p"),XT(11,33),tb(12,"date"),Hl(),Qi(13,"p"),XT(14,34),tb(15,"durationFormat"),Hl(),mg(16,"sh-divider"),Qi(17,"p"),XT(18,35),tb(19,"bytes"),Hl(),Qi(20,"p"),XT(21,36),Hl(),Qi(22,"p"),XT(23,37),Hl(),Qi(24,"p"),XT(25,38),Hl(),Qi(26,"p"),XT(27,39),Hl(),mg(28,"sh-divider"),Qi(29,"details",78)(30,"summary"),Og(31,40),mg(32,"sh-icon"),Qi(33,"div",74),mg(34,"sh-icon",66),Hl(),Pg(),Hl(),Qi(35,"div",75),oT(36,fn,2,0,"p"),cT(37,vn,7,2,"div",76,sT),Hl()(),Qi(39,"details",79)(40,"summary"),Og(41,41),mg(42,"sh-icon"),Qi(43,"div",74),mg(44,"sh-icon",66),Hl(),Pg(),Hl(),Qi(45,"div",75),oT(46,Bn,2,0,"p"),cT(47,kn,7,2,"div",76,sT),Hl()(),Qi(49,"details",80)(50,"summary"),Og(51,42),mg(52,"sh-icon"),Qi(53,"div",74),mg(54,"sh-icon",66),Hl(),Pg(),Hl(),Qi(55,"div",75),oT(56,Kn,2,0,"p"),cT(57,Jn,7,2,"div",76,sT),Hl()(),mg(59,"sh-divider"),Hl()()),n&2){let e=t.$implicit;DE(5),Lg(e.Destination),eC(2),DE(4),Lg(ob(9,16,e.BeginTime,"medium")),eC(8),DE(3),Lg(ob(12,19,e.EndTime,"medium")),eC(11),DE(3),Lg(rb(15,22,e.Duration)),eC(14),DE(4),Lg(e.CopiedFileCount)(ib(19,24,e.CopiedFileSize,true,true)),eC(18),DE(2),Lg(e.DeletedFileCount),eC(21),DE(2),Lg(e.RenamedFileCount),eC(23),DE(2),Lg(e.VerifiedFileCount),eC(25),DE(2),Lg(e.FailedVerificationCount),eC(27),DE(7),Lg(e.MessagesActualLength),eC(31),DE(2),iT(e.Messages?.length===0?36:-1),DE(),lT(e.Messages),DE(7),Lg(e.WarningsActualLength),eC(41),DE(2),iT(e.Warnings?.length===0?46:-1),DE(),lT(e.Warnings),DE(7),Lg(e.ErrorsActualLength),eC(51),DE(2),iT(e.Errors?.length===0?56:-1),DE(),lT(e.Errors);}}function zn(n,t){if(n&1&&cT(0,Xn,60,28,"details",72,sT),n&2){let e=nC(2).$implicit;lT(e.data?.RemoteSynchronizationResults);}}function Vn(n,t){if(n&1&&(Qi(0,"details",72)(1,"summary"),Og(2,46),mg(3,"sh-icon"),Qi(4,"div",74),mg(5,"sh-icon",66),Hl(),Pg(),Hl(),Qi(6,"div",75)(7,"p"),XT(8,47),tb(9,"date"),Hl(),Qi(10,"p"),XT(11,48),tb(12,"date"),Hl(),Qi(13,"p"),XT(14,49),tb(15,"durationFormat"),Hl(),mg(16,"sh-divider"),Qi(17,"p"),XT(18,50),Hl(),Qi(19,"p"),XT(20,51),Hl(),Qi(21,"p"),XT(22,52),Hl()()()),n&2){let e=nC(2).$implicit;DE(9),Lg(ob(9,6,e.data?.LockResults?.BeginTime,"medium")),eC(8),DE(3),Lg(ob(12,9,e.data?.LockResults?.EndTime,"medium")),eC(11),DE(3),Lg(rb(15,12,e.data?.LockResults?.Duration)),eC(14),DE(3),Lg(e.data?.LockResults?.VolumesRead),eC(18),DE(2),Lg(e.data?.LockResults?.VolumesUpdated),eC(20),DE(2),Lg(e.data?.LockResults?.ParsedResult),eC(22);}}function Hn(n,t){if(n&1&&(Qi(0,"code"),PC(1),tb(2,"json"),Hl()),n&2){let e=t.$implicit;DE(),nm(rb(2,1,e));}}function Wn(n,t){if(n&1&&(Qi(0,"details",72)(1,"summary"),Og(2,53),mg(3,"sh-icon"),Qi(4,"div",74),mg(5,"sh-icon",66),Hl(),Pg(),Hl(),Qi(6,"div",75),cT(7,Hn,3,3,"code",null,sT),Hl()()),n&2){let e=nC(2).$implicit;DE(5),Lg(e.data.VerificationsActualLength),eC(2),DE(2),lT(e.data.Verifications);}}function jn(n,t){n&1&&(Qi(0,"sh-icon"),PC(1,"check"),Hl());}function qn(n,t){n&1&&(Qi(0,"sh-icon"),PC(1,"copy"),Hl());}function Qn(n,t){n&1&&(Ul(0),Og(1,54),mg(2,"sh-icon"),Pg(),Wl());}function Yn(n,t){n&1&&(Ul(0),Og(1,55),mg(2,"sh-icon"),Pg(),Wl());}function Zn(n,t){n&1&&(Ul(0),Og(1,56),mg(2,"sh-icon"),Pg(),Wl());}function et(n,t){if(n&1){let e=gT();Qi(0,"button",82),Fg("click",function(){Sd(e),nC();let F=$C(0),c=nC(3);return xd(c.toggleWarningSuppression(F.MessageId))}),oT(1,Qn,3,0,"ng-container")(2,Yn,3,0,"ng-container")(3,Zn,3,0,"ng-container"),Hl();}if(n&2){nC();let e=$C(0),o=nC(3),F=o.isWarningSuppressed(e.MessageId);gg("disabled",o.isSuppressingWarning()),DE(),iT(o.isSuppressingWarning()?1:F?2:3);}}function nt(n,t){if(n&1){let e=gT();cm(0),Qi(1,"div",76)(2,"code"),PC(3),Hl(),Qi(4,"button",77),Fg("click",function(F){let c=Sd(e).$implicit,L=nC(3);return xd(L.copyToClipboard(F,c,c))}),PC(5," Copy "),oT(6,jn,2,0,"sh-icon")(7,qn,2,0,"sh-icon"),Hl(),oT(8,et,4,2,"button",81),Hl();}if(n&2){let e=t.$implicit,o=nC(3),F=BC(o.parseWarning(e));DE(3),nm(e),DE(3),iT(o.copied()==e?6:7),DE(2),iT(F?.MessageId?8:-1);}}function tt(n,t){n&1&&(Qi(0,"p"),PC(1,"No errors"),Hl());}function it(n,t){n&1&&(Og(0,57,1),mg(1,"sh-icon"),Pg());}function ot(n,t){n&1&&(Og(0,57,2),mg(1,"sh-icon"),Pg());}function _t(n,t){if(n&1){let e=gT();Qi(0,"div",76)(1,"code"),PC(2),Hl(),Qi(3,"button",77),Fg("click",function(F){let c=Sd(e).$implicit,L=nC(3);return xd(L.copyToClipboard(F,c,c))}),Og(4,57),oT(5,it,2,0,"sh-icon")(6,ot,2,0,"sh-icon"),Pg(),Hl()();}if(n&2){let e=t.$implicit,o=nC(3);DE(2),nm(e),DE(3),iT(o.copied()==e?5:6);}}function at(n,t){n&1&&(Qi(0,"sh-icon"),PC(1,"check"),Hl());}function Ft(n,t){n&1&&(Qi(0,"sh-icon"),PC(1,"copy"),Hl());}function rt(n,t){if(n&1){let e=gT();Qi(0,"section",67)(1,"sh-toggle-card",68),Ul(2,69),Qi(3,"h3"),XT(4,0),Hl(),Wl(),Ul(5,70),Qi(6,"p"),XT(7,1),tb(8,"date"),Hl(),Qi(9,"p"),XT(10,2),tb(11,"date"),Hl(),Qi(12,"p"),XT(13,3),tb(14,"durationFormat"),Hl(),Wl(),Hl(),Qi(15,"sh-toggle-card",68),Ul(16,69),Qi(17,"h3"),XT(18,4),Hl(),Wl(),Ul(19,70),Qi(20,"p"),XT(21,5),tb(22,"bytes"),Hl(),Qi(23,"p"),XT(24,6),tb(25,"bytes"),Hl(),Qi(26,"p"),XT(27,7),tb(28,"bytes"),Hl(),Qi(29,"p"),XT(30,8),tb(31,"bytes"),Hl(),Qi(32,"p"),XT(33,9),Hl(),Qi(34,"p"),XT(35,10),Hl(),Qi(36,"p"),XT(37,11),Hl(),Wl(),Hl(),Qi(38,"div",71),mg(39,"sh-divider"),oT(40,Mn,54,45),oT(41,zn,2,0),oT(42,Vn,23,14,"details",72),oT(43,Wn,9,1,"details",72),Qi(44,"details",73)(45,"summary"),Og(46,12),mg(47,"sh-icon"),Qi(48,"div",74),mg(49,"sh-icon",66),Hl(),Pg(),Hl(),Qi(50,"div",75),cT(51,nt,9,4,"div",76,sT),Hl()(),Qi(53,"details",73)(54,"summary"),Og(55,13),mg(56,"sh-icon"),Qi(57,"div",74),mg(58,"sh-icon",66),Hl(),Pg(),Hl(),Qi(59,"div",75),oT(60,tt,2,0,"p"),cT(61,_t,7,2,"div",76,sT),Hl()(),mg(63,"sh-divider"),Qi(64,"details")(65,"summary"),Og(66,14),mg(67,"sh-icon"),Qi(68,"div",74),mg(69,"sh-icon",66),Hl(),Pg(),Hl(),Qi(70,"code")(71,"button",77),Fg("click",function(F){Sd(e);let c=nC().$implicit,L=nC();return xd(L.copyToClipboard(F,L.stringify(c.data),"all"))}),PC(72," Copy "),oT(73,at,2,0,"sh-icon")(74,Ft,2,0,"sh-icon"),Hl(),PC(75),tb(76,"json"),Hl()()()();}if(n&2){let e=nC().$implicit,o=nC();DE(),gg("disableToggle",true),DE(7),Lg(ob(8,27,e.data?.BeginTime,"medium")),eC(7),DE(3),Lg(ob(11,30,e.data?.EndTime,"medium")),eC(10),DE(3),Lg(rb(14,33,e.data?.Duration)),eC(13),DE(),gg("disableToggle",true),DE(7),Lg(e.data?.ExaminedFiles)(ib(22,35,e.data?.SizeOfExaminedFiles,true,true)),eC(21),DE(3),Lg(e.data?.OpenedFiles)(ib(25,39,e.data?.SizeOfOpenedFiles,true,true)),eC(24),DE(3),Lg(e.data?.AddedFiles)(ib(28,43,e.data?.SizeOfAddedFiles,true,true)),eC(27),DE(3),Lg(e.data?.ModifiedFiles)(ib(31,47,e.data?.SizeOfModifiedFiles,true,true)),eC(30),DE(2),Lg(e.data?.DeletedFiles),eC(33),DE(2),Lg(e.data?.TooLargeFiles),eC(35),DE(2),Lg(e.data?.FilesWithError),eC(37),DE(3),iT(e.data?.TestResults?40:-1),DE(),iT(e.data?.RemoteSynchronizationResults?41:-1),DE(),iT(e.data?.LockResults?42:-1),DE(),iT(e.data?.MainOperation==="Test"?43:-1),DE(),gg("open",e.id===o.openEntry()&&o.openSection()==="warnings"),DE(5),Lg(e.data?.WarningsActualLength),eC(46),DE(2),lT(e.data?.Warnings),DE(2),gg("open",e.id===o.openEntry()&&o.openSection()==="errors"),DE(5),Lg(e.data?.ErrorsActualLength),eC(55),DE(2),iT(e.data?.Errors?.length===0?60:-1),DE(),lT(e.data?.Errors),DE(12),iT(o.copied()=="all"?73:74),DE(2),Gl(" ",rb(76,51,e.data)," ");}}function lt(n,t){if(n&1){let e=gT();Qi(0,"article",59)(1,"header",60),Fg("click",function(){let F=Sd(e).$implicit,c=nC();return xd(c.toggleOpenEntry(F))}),oT(2,Pn,1,0,"div",61)(3,Rn,1,0,"div",61)(4,In,1,0,"div",62)(5,$n,1,0,"div",63),Qi(6,"h3"),PC(7),tb(8,"date"),Hl(),Qi(9,"p"),PC(10),Hl(),mg(11,"div",64),Qi(12,"div",65)(13,"sh-icon",66),PC(14,"caret-down"),Hl()()(),oT(15,rt,77,53,"section",67),Hl();}if(n&2){let e=t.$implicit,o=nC(),F=e.data?.ParsedResult||"Unknown";DE(2),iT(F=="Fatal"?2:F=="Error"?3:F=="Warning"?4:5),DE(5),nm(ob(8,7,e.timestamp,"medium")),DE(3),rm(" ",e.data?.MainOperation," ",o.getLocalizedSummary(e)," "),DE(3),Qg("open",e.id===o.openEntry()),DE(2),iT(e.id===o.openEntry()?15:-1);}}var De=class n{#e=T(C);#n=T(g);#t=new m;#i=new c;backupId=g1.required();isSuppressingWarning=Ue(false);copied=Ue(null);backupResource=pb({params:()=>({id:this.backupId()}),loader:({params:t})=>ay(this.#e.getApiV1BackupById({id:t.id}))});suppressedWarningIds=Nt$1(()=>{let t=this.backupResource.value();if(!t?.Backup?.Settings)return new Set;let e=t.Backup.Settings.find(o=>o.Name==="--suppress-warnings");return e?.Value?new Set(e.Value.split(",").map(o=>o.trim()).filter(Boolean)):new Set});openEntry=Ue(null);openSection=Ue(null);pagination=Ue({offset:0,pagesize:100});resource=$({params:()=>l({id:this.backupId()},this.pagination()),stream:({params:t})=>this.#e.getApiV1BackupByIdLog({id:t.id,pagesize:100}).pipe(pt$1(e=>e.map(o=>({id:o.ID,operationId:o.OperationID,timestamp:o.Timestamp*1e3,type:o.Type,data:JSON.parse(o.Message),exception:JSON.stringify(o.Exception)==="{}"?null:o.Exception}))))});getLocalizedSummary(t){let e=t.data?.ErrorsActualLength??0,o=t.data?.WarningsActualLength??0,F=[];if(t.data?.MainOperation=="Backup"){if(t.data?.Duration){let c=this.#i.transform(t.data?.Duration,true);c.startsWith("0h ")&&(c=c.slice(3)),c.startsWith("0m ")&&(c=c.slice(3)),F.push($localize`took ${c}`);}t.data?.BackendStatistics?.BytesUploaded&&F.push($localize`uploaded ${this.#t.transform(t.data?.BackendStatistics?.BytesUploaded)}`),t.data?.BackendStatistics?.KnownFileSize&&F.push($localize`backup size ${this.#t.transform(t.data?.BackendStatistics?.KnownFileSize)}`);}return e!==0&&F.push($localize`:@@errorCount:${e} error${e===1?"":"s"}`),o!==0&&F.push($localize`:@@warningCount:${o} warning${o===1?"":"s"}`),F.length===0?"":`(${F.join(", ")})`}toggleOpenEntry(t){let e=t.id;if(this.openEntry()===e){this.openEntry.set(null),this.openSection.set(null);return}let o=t.data?.ErrorsActualLength??0,F=t.data?.WarningsActualLength??0;o>0?this.openSection.set("errors"):F>0?this.openSection.set("warnings"):this.openSection.set(null),this.openEntry.set(e);}parseWarning(t){let e=t.match(/^(.*?) - \[(.*?)-(.*?)-(.*?)\]: (.*)$/);if(!e)return null;let[,o,F,c,L,G]=e;return {Timestamp:o,LogLevel:F,Source:c,MessageId:L,Message:G}}isWarningSuppressed(t){return this.suppressedWarningIds().has(t)}toggleWarningSuppression(t){let e=this.backupId();!e||!t||(this.isSuppressingWarning.set(true),this.#e.getApiV1BackupById({id:e}).pipe($u(o=>{let F=o.Backup?.Settings??[],c=F.findIndex(N=>N.Name==="--suppress-warnings"),L=this.isWarningSuppressed(t),G="";if(c>=0){let v=(F[c].Value??"").split(",").map(U=>U.trim()).filter(Boolean);L?v=v.filter(U=>U!==t):v.includes(t)||v.push(t),G=v.join(",");}else L||(G=t);let k=F.map(N=>({Name:N.Name,Value:N.Value,Filter:N.Filter}));return c>=0?G===""?k.splice(c,1):k[c]={Name:"--suppress-warnings",Value:G,Filter:null}:G!==""&&k.push({Name:"--suppress-warnings",Value:G,Filter:null}),this.#e.putApiV1BackupById({id:e,requestBody:{Backup:{Name:o.Backup?.Name,Description:o.Backup?.Description,DBPath:o.Backup?.DBPath,Tags:o.Backup?.Tags??[],TargetURL:o.Backup?.TargetURL,ConnectionStringID:o.Backup?.ConnectionStringID,Sources:o.Backup?.Sources??[],Settings:k,Filters:o.Backup?.Filters?.map(N=>({Expression:N.Expression,Include:N.Include,Order:N.Order})),Metadata:o.Backup?.Metadata??{},AdditionalTargetURLs:o.Backup?.AdditionalTargetURLs?.map(N=>({TargetUrl:N.TargetUrl,UrlKey:N.UrlKey,Mode:N.Mode,Interval:N.Interval,ConnectionStringID:N.ConnectionStringID,Options:N.Options}))},Schedule:o.Schedule?{Repeat:o.Schedule.Repeat,Time:o.Schedule.Time,AllowedDays:o.Schedule.AllowedDays}:void 0}})}),Bu(()=>this.isSuppressingWarning.set(false))).subscribe({next:()=>{this.#n.getBackups(true),this.backupResource.reload();},error:o=>{console.error("Failed to toggle warning suppression:",o);}}));}copyToClipboard(t,e,o){t.stopPropagation(),navigator.clipboard.writeText(e),this.copied.set(o),setTimeout(()=>{this.copied.set(null);},2e3);}stringify(t){return JSON.stringify(t,null,2)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=dw({type:n,selectors:[["app-general-log"]],inputs:{backupId:[1,"backupId"]},decls:3,vars:1,consts:()=>{let t;t=$localize`Time`;let e;e=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let o;o=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let F;F=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let c;c=$localize`Source files`;let L;L=$localize` Evaluated: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let G;G=$localize` Opened: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let k;k=$localize` Added: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let N;N=$localize` Modified: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let v;v=$localize`Deleted: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let U;U=$localize`Too large: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Q;Q=$localize`Files with error: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let A;A=$localize`${"\uFFFD#47\uFFFD"}:START_TAG_SH_ICON:warning-circle${"[\uFFFD/#47\uFFFD|\uFFFD/#49\uFFFD]"}:CLOSE_TAG_SH_ICON: Warnings ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#48\uFFFD"}:START_TAG_DIV:${"\uFFFD#49\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#47\uFFFD|\uFFFD/#49\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#48\uFFFD"}:CLOSE_TAG_DIV:`,A=tC(A);let ne;ne=$localize`${"\uFFFD#56\uFFFD"}:START_TAG_SH_ICON:warning${"[\uFFFD/#56\uFFFD|\uFFFD/#58\uFFFD]"}:CLOSE_TAG_SH_ICON: Errors ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#57\uFFFD"}:START_TAG_DIV:${"\uFFFD#58\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#56\uFFFD|\uFFFD/#58\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#57\uFFFD"}:CLOSE_TAG_DIV:`,ne=tC(ne);let te;te=$localize`${"\uFFFD#67\uFFFD"}:START_TAG_SH_ICON:notepad${"[\uFFFD/#67\uFFFD|\uFFFD/#69\uFFFD]"}:CLOSE_TAG_SH_ICON: Complete log ${"\uFFFD#68\uFFFD"}:START_TAG_DIV:${"\uFFFD#69\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#67\uFFFD|\uFFFD/#69\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#68\uFFFD"}:CLOSE_TAG_DIV:`,te=tC(te);let ie;ie=$localize`${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:circle-half-tilt${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON: Test phase ${"\uFFFD#4\uFFFD"}:START_TAG_DIV:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_DIV:`,ie=tC(ie);let Ie;Ie=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let $e;$e=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Me;Me=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let fe;fe=$localize`Verifications: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let he;he=$localize`Warnings: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let ye;ye=$localize`Errors: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let oe;oe=$localize`${"\uFFFD#26\uFFFD"}:START_TAG_SH_ICON:file-archive${"[\uFFFD/#26\uFFFD|\uFFFD/#28\uFFFD]"}:CLOSE_TAG_SH_ICON: Compact phase ${"\uFFFD#27\uFFFD"}:START_TAG_DIV:${"\uFFFD#28\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#26\uFFFD|\uFFFD/#28\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#27\uFFFD"}:CLOSE_TAG_DIV:`,oe=tC(oe);let ve;ve=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Be;Be=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let xe;xe=$localize` Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION: `;let be;be=$localize` Deleted files: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let ke;ke=$localize` Downloaded files: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let Ke;Ke=$localize` Uploaded files: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let Ue;Ue=$localize`Warnings: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let we;we=$localize`Errors: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let _e;_e=$localize`${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:arrows-clockwise${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON: Secondary destination: ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#4\uFFFD"}:START_TAG_DIV:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_DIV:`,_e=tC(_e);let Je;Je=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Xe;Xe=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let ze;ze=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ve;Ve=$localize` Files copied: ${"\uFFFD0\uFFFD"}:INTERPOLATION: (${"\uFFFD1\uFFFD"}:INTERPOLATION_1:) `;let He;He=$localize`Files deleted: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let We;We=$localize`Files renamed: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let je;je=$localize`Files verified: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let qe;qe=$localize`Failed verifications: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let ae;ae=$localize`${"\uFFFD#32\uFFFD"}:START_TAG_SH_ICON:info${"[\uFFFD/#32\uFFFD|\uFFFD/#34\uFFFD]"}:CLOSE_TAG_SH_ICON: Messages ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#33\uFFFD"}:START_TAG_DIV:${"\uFFFD#34\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#32\uFFFD|\uFFFD/#34\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#33\uFFFD"}:CLOSE_TAG_DIV:`,ae=tC(ae);let Fe;Fe=$localize`${"\uFFFD#42\uFFFD"}:START_TAG_SH_ICON:warning-circle${"[\uFFFD/#42\uFFFD|\uFFFD/#44\uFFFD]"}:CLOSE_TAG_SH_ICON: Warnings ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#43\uFFFD"}:START_TAG_DIV:${"\uFFFD#44\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#42\uFFFD|\uFFFD/#44\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#43\uFFFD"}:CLOSE_TAG_DIV:`,Fe=tC(Fe);let re;re=$localize`${"\uFFFD#52\uFFFD"}:START_TAG_SH_ICON:warning${"[\uFFFD/#52\uFFFD|\uFFFD/#54\uFFFD]"}:CLOSE_TAG_SH_ICON: Errors ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#53\uFFFD"}:START_TAG_DIV:${"\uFFFD#54\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#52\uFFFD|\uFFFD/#54\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#53\uFFFD"}:CLOSE_TAG_DIV:`,re=tC(re);let le;le=$localize` Copy ${"\uFFFD*5:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*5:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*6:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*6:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,le=tC(le);let se;se=$localize` Copy ${"\uFFFD*5:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*5:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*6:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*6:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,se=tC(se);let ce;ce=$localize` Copy ${"\uFFFD*5:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*5:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*6:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*6:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,ce=tC(ce);let ue;ue=$localize`${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:lock${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON: Lock results ${"\uFFFD#4\uFFFD"}:START_TAG_DIV:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_DIV:`,ue=tC(ue);let Qe;Qe=$localize`Start: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ye;Ye=$localize`End: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let Ze;Ze=$localize`Duration: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let en;en=$localize`Volumes read: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let nn;nn=$localize`Volumes updated: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let tn;tn=$localize`Parsed result: ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let de;de=$localize`${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:warning-circle${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON: Verifications ${"\uFFFD0\uFFFD"}:INTERPOLATION: ${"\uFFFD#4\uFFFD"}:START_TAG_DIV:${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON_1:caret-down${"[\uFFFD/#3\uFFFD|\uFFFD/#5\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_DIV:`,de=tC(de);let on;on=$localize` Updating ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:spinner${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let _n;_n=$localize` Un-suppress ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:bell${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let an;an=$localize` Suppress ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:bell-slash${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let Ee;return Ee=$localize` Copy ${"\uFFFD*5:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*5:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*6:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*6:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,Ee=tC(Ee),[t,e,o,F,c,L,G,k,N,v,U,Q,A,ne,te,ie,Ie,$e,Me,fe,he,ye,oe,ve,Be,xe,be,ke,Ke,Ue,we,_e,Je,Xe,ze,Ve,He,We,je,qe,ae,Fe,re,le,se,ce,ue,Qe,Ye,Ze,en,nn,tn,de,on,_n,an,Ee,[1,"indeterminate","primary"],[1,"log-entry"],[3,"click"],[1,"status","error"],[1,"status","warn"],[1,"status"],[1,"spacer"],[1,"action"],[1,"toggle-indicator"],[1,"log-content"],[3,"disableToggle"],["title",""],["content",""],[1,"extra-info"],["name","details"],["name","details",3,"open"],[1,"actions"],[1,"content"],[1,"warning-item"],["shButton","",1,"small",3,"click"],["name","details-messages"],["name","details-warnings"],["name","details-errors"],["shButton","",1,"small",3,"disabled"],["shButton","",1,"small",3,"click","disabled"]]},template:function(e,o){e&1&&(oT(0,Dn,1,0,"sh-progress-bar",58),cT(1,lt,16,10,"article",59,sT)),e&2&&(iT(o.resource.isLoading()?0:-1),DE(),lT(o.resource.value()));},dependencies:[I,c$1,d,v,N,m,ci,c,hi],styles:["[_nghost-%COMP%]{display:block}.log-entry[_ngcontent-%COMP%]{display:flex;flex-direction:column;cursor:pointer}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:1rem;border-bottom:1px solid var(--base-4);background-color:var(--base-1);cursor:pointer}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]:hover{background-color:var(--base-2)}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:var(--paragraph-30);margin:0}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.toggle-indicator[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:1.25rem;transition:transform 125ms linear}.toggle-indicator.open[_ngcontent-%COMP%]{transform:rotate(180deg)}details[_ngcontent-%COMP%]{display:flex;flex-direction:column}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center;gap:.5rem;padding:.75rem;border-radius:var(--shape-2);background-color:var(--base-2)}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]:focus{outline:none}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]:hover{background-color:var(--base-3)}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]::marker{font-size:0}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;flex:1 0;gap:.5rem;-webkit-user-select:none;user-select:none}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:2rem;transition:transform 125ms linear}details[_ngcontent-%COMP%] summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] sh-icon.toggle-indicator[_ngcontent-%COMP%]{transform:rotate(0)}details[open][_ngcontent-%COMP%] > summary[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] sh-icon.toggle-indicator[_ngcontent-%COMP%]{transform:rotate(180deg)}details[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:.75rem 1rem 0;display:flex;flex-direction:column;gap:.75rem}details[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}details[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{margin-top:.75rem;position:relative}details[_ngcontent-%COMP%] code[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem}.extra-info[_ngcontent-%COMP%]{grid-column:1/-1;display:flex;flex-direction:column;gap:1rem}.extra-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.extra-info[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{white-space:pre-wrap;padding:1rem;display:block;border-radius:var(--shape-2);background-color:var(--base-2)}.log-content[_ngcontent-%COMP%]{padding:1rem;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.status[_ngcontent-%COMP%]{display:block;width:1rem;height:1rem;background-color:var(--success-8);border-radius:50%}.status.error[_ngcontent-%COMP%]{background-color:var(--error-8)}.status.warn[_ngcontent-%COMP%]{background-color:var(--warn-8)}.warning-item[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:.5rem;padding:.75rem;border-radius:var(--shape-2);background-color:var(--base-2)}.warning-item[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{margin:0;white-space:pre-wrap;word-break:break-word}.warning-item[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{align-self:flex-start;white-space:nowrap}"]})};function st(n,t){n&1&&mg(0,"sh-progress-bar",1);}function ct(n,t){n&1&&(Og(0,0,1),mg(1,"sh-icon"),Pg());}function ut(n,t){n&1&&(Og(0,0,2),mg(1,"sh-icon"),Pg());}function dt(n,t){if(n&1){let e=gT();Qi(0,"section",6)(1,"button",7),Fg("click",function(){Sd(e);let F=nC(),c=F.$implicit,L=F.$index,G=nC();return xd(G.copyToClipboard(c.data,L))}),Og(2,0),oT(3,ct,2,0)(4,ut,2,0),Pg(),Hl(),Qi(5,"code"),PC(6),tb(7,"json"),Hl()();}if(n&2){let e=nC(),o=e.$implicit,F=e.$index,c=nC();DE(),Qg("success",c.copiedFromIndex()===F),DE(2),iT(c.copiedFromIndex()===F?3:4),DE(3),nm(rb(7,4,o.data));}}function Et(n,t){if(n&1){let e=gT();Qi(0,"article",2)(1,"header",3),Fg("click",function(){let F=Sd(e).$implicit,c=nC();return xd(c.toggleOpenEntry(F.id))}),Qi(2,"h3"),PC(3),tb(4,"date"),Hl(),Qi(5,"div",4)(6,"sh-icon",5),PC(7,"caret-down"),Hl()()(),oT(8,dt,8,6,"section",6),Hl();}if(n&2){let e=t.$implicit,o=nC();DE(3),om("",ob(4,6,e.timestamp,"medium"),": ",e.operation," ",e.path),DE(3),Qg("open",e.id===o.openEntry()),DE(2),iT(e.id===o.openEntry()?8:-1);}}var Pe=class n{#e=T(C);backupId=g1.required();openEntry=Ue(null);pagination=Ue({offset:0,pagesize:100});copiedFromIndex=Ue(null);resource=$({params:()=>l({id:this.backupId()},this.pagination()),stream:({params:t})=>this.#e.getApiV1BackupByIdRemotelog({id:t.id,pagesize:100}).pipe(pt$1(e=>e.map((o,F)=>({id:o.ID,operationId:o.OperationID,timestamp:o.Timestamp*1e3,operation:o.Operation,path:o.Path,data:typeof o.Data=="string"?JSON.parse(o.Data):null}))))});toggleOpenEntry(t){if(this.openEntry()===t){this.openEntry.set(null);return}this.openEntry.set(t);}copyToClipboard(t,e){let o=JSON.stringify(t,null,2);navigator.clipboard.writeText(o),this.copiedFromIndex.set(e),setTimeout(()=>{this.copiedFromIndex.set(null);},3e3);}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=dw({type:n,selectors:[["app-remote-log"]],inputs:{backupId:[1,"backupId"]},decls:3,vars:1,consts:()=>{let t;return t=$localize`${"\uFFFD*3:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Copied ${"\uFFFD/*3:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*4:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Copy to clipboard ${"\uFFFD/*4:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,t=tC(t),[t,[1,"indeterminate","primary"],[1,"log-entry"],[3,"click"],[1,"actions"],[1,"toggle-indicator"],[1,"log-content"],["shButton","",1,"small",3,"click"]]},template:function(e,o){e&1&&(oT(0,st,1,0,"sh-progress-bar",1),cT(1,Et,9,9,"article",2,sT)),e&2&&(iT(o.resource.isLoading()?0:-1),DE(),lT(o.resource.value()));},dependencies:[d,N,hi,ci],styles:["[_nghost-%COMP%]{display:block}.log-entry[_ngcontent-%COMP%]{display:flex;flex-direction:column}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:1rem;border-bottom:1px solid var(--base-4);background-color:var(--base-1);cursor:pointer}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%]:hover{background-color:var(--base-2)}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:var(--paragraph-30);margin:0;-webkit-user-select:none;user-select:none}.log-entry[_ngcontent-%COMP%] header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.toggle-indicator[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:1.25rem;transition:transform 125ms linear}.toggle-indicator.open[_ngcontent-%COMP%]{transform:rotate(180deg)}.log-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1rem;position:relative}.log-content[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;top:2rem;right:2rem;background:transparent}code[_ngcontent-%COMP%]{white-space:pre-wrap;padding:1rem;display:block;border-radius:var(--shape-2);background-color:var(--base-2)}"]})};function Ct(n,t){if(n&1&&(PC(0," - "),Ul(1),XT(2,6),Wl(),PC(3),tb(4,"durationFormat")),n&2){nC(2);let e=$C(6);DE(3),Gl(" ",rb(4,1,e.Backup.Metadata?.LastBackupDuration)," ");}}function pt(n,t){n&1&&(Ul(0),XT(1,7),Wl());}function Tt(n,t){if(n&1&&(PC(0),tb(1,"bytes")),n&2){nC(2);let e=$C(6);Gl(" ",rb(1,1,e.Backup.Metadata?.SourceFilesSize)," ");}}function gt(n,t){n&1&&(Ul(0),XT(1,8),Wl());}function St(n,t){if(n&1&&(PC(0),tb(1,"bytes")),n&2){nC(2);let e=$C(6);Gl(" ",rb(1,1,e.Backup.Metadata?.TargetFilesSize)," ");}}function Ot(n,t){n&1&&(Ul(0),XT(1,9),Wl());}function Lt(n,t){if(n&1&&(Qi(0,"sh-chip",20),XT(1,10),Hl()),n&2){nC(2);let e=$C(6);DE(),Lg(e.Backup.Metadata?.BackupListCount),eC(1);}}function Nt(n,t){n&1&&(Qi(0,"sh-chip",21),XT(1,11),Hl());}function mt(n,t){if(n&1&&(Qi(0,"div",14)(1,"div",19)(2,"h3"),PC(3),Qi(4,"sh-icon"),PC(5,"database"),Hl()(),Qi(6,"p")(7,"span"),XT(8,3),Hl(),PC(9),tb(10,"date"),oT(11,Ct,5,3)(12,pt,2,0,"ng-container"),Hl(),Qi(13,"p")(14,"span"),XT(15,4),Hl(),oT(16,Tt,2,3)(17,gt,2,0,"ng-container"),Hl(),Qi(18,"p")(19,"span"),XT(20,5),Hl(),oT(21,St,2,3)(22,Ot,2,0,"ng-container"),Hl()(),oT(23,Lt,2,1,"sh-chip",20)(24,Nt,2,0,"sh-chip",21),Hl()),n&2){let e=nC(),o=$C(6);DE(3),Gl(" ",o.Backup.Name??e.MISSING_BACKUP_NAME," "),DE(6),Gl(" ",ob(10,6,o.Backup.Metadata?.LastBackupFinished,"short")," "),DE(2),iT(o.Backup.Metadata?.LastBackupDuration?11:12),DE(5),iT(o.Backup.Metadata?.SourceFilesSize?16:17),DE(5),iT(o.Backup.Metadata?.TargetFilesSize?21:22),DE(2),iT(o.Backup.Metadata?.BackupListCount?23:24);}}function Gt(n,t){if(n&1&&mg(0,"app-general-log",18),n&2){let e=nC();gg("backupId",e.backupId());}}function At(n,t){if(n&1&&mg(0,"app-remote-log",18),n&2){let e=nC();gg("backupId",e.backupId());}}var Re=class n{#e=T(W);#n=T(g);MISSING_BACKUP_NAME=$localize`Backup name missing`;activeTab=Ue("general");backupId=L(this.#e.params.pipe(pt$1(t=>t.id)));backup=Nt$1(()=>{let t=this.backupId();return t?this.#n.getBackupById(t):null});static \u0275fac=function(e){return new(e||n)};static \u0275cmp=dw({type:n,selectors:[["app-log"]],decls:15,vars:5,consts:()=>{let t;t=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SH_ICON: Back `;let e;e=$localize`General`;let o;o=$localize`Destination`;let F;F=$localize`Last successful backup:`;let c;c=$localize`Source:`;let L;L=$localize`Destination:`;let G;G=$localize`took`;let k;k=$localize`N/A`;let N;N=$localize`N/A`;let v;v=$localize`N/A`;let U;U=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION: Version`;let Q;return Q=$localize`No version yet`,[t,e,o,F,c,L,G,k,N,v,U,Q,[1,"back"],["type","button","shButton","","routerLink","/",1,"small"],[1,"backup"],[1,"primary",3,"valueChange","value"],["value","general"],["value","destination"],[3,"backupId"],[1,"text"],[1,"simple","success"],[1,"simple"]]},template:function(e,o){if(e&1){let F=gT();mg(0,"app-status-bar"),Qi(1,"section")(2,"div",12)(3,"button",13),Og(4,0),mg(5,"sh-icon"),Pg(),Hl()(),cm(6),oT(7,mt,25,9,"div",14),Qi(8,"sh-tabs",15),sm("valueChange",function(L){return Sd(F),HC(o.activeTab,L)||(o.activeTab=L),xd(L)}),Qi(9,"button",16),XT(10,1),Hl(),Qi(11,"button",17),XT(12,2),Hl()(),oT(13,Gt,1,1,"app-general-log",18),oT(14,At,1,1,"app-remote-log",18),Hl();}if(e&2){DE(6);let F=BC(o.backup());DE(),iT(F?7:-1),DE(),im("value",o.activeTab),DE(5),iT(o.activeTab()==="general"?13:-1),DE(),iT(o.activeTab()==="destination"?14:-1);}},dependencies:[w,De,Pe,_t$1,ee,N,v,D,m,c,ci],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1rem 1.5rem;gap:1rem}sh-tabs[_ngcontent-%COMP%]{margin-bottom:1rem}.backup[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:2rem;gap:1rem;border:1px solid var(--base-4);border-radius:var(--shape-3);box-shadow:var(--box-shadow-10)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;width:100%;max-width:40%}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{color:var(--base-8)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-8)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--base-12)}"]})};export{Re as default};
@@ -1 +1 @@
1
- import {e as ee}from'./chunk-BMGXb3gX.js';import'./chunk-BqjWEFHw.js';import'./chunk-BS8yAz3P.js';import'./chunk-CxPG-KgI.js';import'./chunk-B-ryE8KW.js';import'./chunk-5zEiKCqR.js';import'./chunk-CMs999gl.js';import'./chunk-CdZVal1F.js';import {T,ab as C,aw as W,N as Nt,U as Ue,d as dw,f as N,v as v$1,_ as _t,j as mg,Q as Qi,O as Og,P as Pg,H as Hl,F as Fg,o as oT,a1 as cT,D as DE,z as gg,a_ as ZC,i as iT,a2 as lT,t as tC,X as XT,q as PC,aa as Gl,ap as sT}from'./main-TZVLLK67.js';import'./chunk-CUxvfCTH.js';import'./chunk-C4pJCbq-.js';import {L}from'./chunk-M5tldLvJ.js';import'./chunk-BjNuU0J_.js';import'./chunk-CU-RYihf.js';import'./chunk-Do6_xsGi.js';import'./chunk-BOII3Fdm.js';import'./chunk-BffC_BAn.js';var k=e=>({state:e});function y(e,t){e&1&&XT(0,2,1);}function v(e,t){e&1&&XT(0,2,2);}function U(e,t){e&1&&XT(0,2,3);}function G(e,t){e&1&&XT(0,2,4);}function K(e,t){if(e&1&&(PC(0),mg(1,"br")),e&2){let o=t.$implicit;Gl(" ",o," ");}}var S=class e{#t=T(C);#e=T(W);#n=L(this.#e.params);#o=L(this.#e.queryParams);runId=Nt(()=>this.#n()?.runId);stateId=Nt(()=>this.#o()?.state);offset=Ue(0);status=Ue("starting");messageLog=Ue([]);interval=setInterval(()=>{this.#t.getApiV1CommandlineByRunid({runid:this.runId(),offset:this.offset(),pagesize:100}).subscribe(t=>{this.offset.set(t.Count),this.evalStatus(t),this.messageLog.update(o=>[...o,...t.Items]);});},1e3);evalStatus(t){t.Started===true&&t.Finished===true&&(this.status.set("finished"),clearInterval(this.interval)),t.Started===true&&t.Finished===false&&this.status.set("started");}abort(){this.#t.postApiV1CommandlineByRunidAbort({runid:this.runId()}).subscribe({next:t=>{this.status.set("aborted"),clearInterval(this.interval);}});}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=dw({type:e,selectors:[["app-commandline-result"]],decls:18,vars:7,consts:()=>{let t;t=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SH_ICON: Back `;let o;o=$localize` Running commandline task... ${"\uFFFD#8\uFFFD"}:START_TAG_BUTTON:Abort${"\uFFFD/#8\uFFFD"}:CLOSE_TAG_BUTTON:`;let n;return n=$localize`${"\uFFFD*11:1\uFFFD"}:START_BLOCK_IF: Starting... ${"[\uFFFD/*11:1\uFFFD|\uFFFD/*12:2\uFFFD|\uFFFD/*13:3\uFFFD|\uFFFD/*14:4\uFFFD]"}:CLOSE_BLOCK_IF:${"\uFFFD*12:2\uFFFD"}:START_BLOCK_IF_1: Started! ${"[\uFFFD/*11:1\uFFFD|\uFFFD/*12:2\uFFFD|\uFFFD/*13:3\uFFFD|\uFFFD/*14:4\uFFFD]"}:CLOSE_BLOCK_IF:${"\uFFFD*13:3\uFFFD"}:START_BLOCK_IF_2: Finished! ${"[\uFFFD/*11:1\uFFFD|\uFFFD/*12:2\uFFFD|\uFFFD/*13:3\uFFFD|\uFFFD/*14:4\uFFFD]"}:CLOSE_BLOCK_IF:${"\uFFFD*14:4\uFFFD"}:START_BLOCK_IF_3: Aborted! ${"[\uFFFD/*11:1\uFFFD|\uFFFD/*12:2\uFFFD|\uFFFD/*13:3\uFFFD|\uFFFD/*14:4\uFFFD]"}:CLOSE_BLOCK_IF:`,n=tC(n),[t,o,n,[1,"back"],["type","button","shButton","","routerLink","../",1,"small",3,"queryParams"],["type","button","shButton","",1,"small",3,"click"],[1,"status"]]},template:function(o,n){o&1&&(mg(0,"app-status-bar"),Qi(1,"section")(2,"div",3)(3,"button",4),Og(4,0),mg(5,"sh-icon"),Pg(),Hl()(),Qi(6,"h3"),Og(7,1),Qi(8,"button",5),Fg("click",function(){return n.abort()}),Hl(),Pg(),Hl(),Qi(9,"div",6),Og(10,2),oT(11,y,1,0),oT(12,v,1,0),oT(13,U,1,0),oT(14,G,1,0),Pg(),Hl(),Qi(15,"code"),cT(16,K,2,1,null,null,sT),Hl()()),o&2&&(DE(3),gg("queryParams",ZC(5,k,n.stateId())),DE(8),iT(n.status()==="starting"?11:-1),DE(),iT(n.status()==="started"?12:-1),DE(),iT(n.status()==="finished"?13:-1),DE(),iT(n.status()==="aborted"?14:-1),DE(2),lT(n.messageLog()));},dependencies:[ee,N,v$1,_t],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;padding:2.5rem;gap:1.25rem}code[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--base-8),#000 70%);color:#fff;padding:2.5rem 2.5rem 2.5rem 1.5rem;border-radius:var(--shape-3);overflow:auto;white-space:pre}"]})};export{S as default};
1
+ import {e as ee}from'./chunk-B0RBkC1E.js';import'./chunk-BB1pOOUx.js';import'./chunk-DN6f5jXR.js';import'./chunk-3RXp81pP.js';import'./chunk-CT9ziigM.js';import'./chunk-D5lj-fQk.js';import'./chunk-OLi7f6y7.js';import'./chunk-B2TXzbpy.js';import {T,ab as C,aw as W,N as Nt,U as Ue,d as dw,f as N,v as v$1,_ as _t,j as mg,Q as Qi,O as Og,P as Pg,H as Hl,F as Fg,o as oT,a1 as cT,D as DE,z as gg,a_ as ZC,i as iT,a2 as lT,t as tC,X as XT,q as PC,aa as Gl,ap as sT}from'./main-KFKZO6SJ.js';import'./chunk-CRAg6SRo.js';import'./chunk-DuIUmwWN.js';import'./chunk-DipTNkHN.js';import'./chunk-Fw6nFDZK.js';import'./chunk-Ca1C9pJ0.js';import'./chunk-C-NgIZiF.js';import {L}from'./chunk-C7pjkqKB.js';import'./chunk-PVmXLw9b.js';var k=e=>({state:e});function y(e,t){e&1&&XT(0,2,1);}function v(e,t){e&1&&XT(0,2,2);}function U(e,t){e&1&&XT(0,2,3);}function G(e,t){e&1&&XT(0,2,4);}function K(e,t){if(e&1&&(PC(0),mg(1,"br")),e&2){let o=t.$implicit;Gl(" ",o," ");}}var S=class e{#t=T(C);#e=T(W);#n=L(this.#e.params);#o=L(this.#e.queryParams);runId=Nt(()=>this.#n()?.runId);stateId=Nt(()=>this.#o()?.state);offset=Ue(0);status=Ue("starting");messageLog=Ue([]);interval=setInterval(()=>{this.#t.getApiV1CommandlineByRunid({runid:this.runId(),offset:this.offset(),pagesize:100}).subscribe(t=>{this.offset.set(t.Count),this.evalStatus(t),this.messageLog.update(o=>[...o,...t.Items]);});},1e3);evalStatus(t){t.Started===true&&t.Finished===true&&(this.status.set("finished"),clearInterval(this.interval)),t.Started===true&&t.Finished===false&&this.status.set("started");}abort(){this.#t.postApiV1CommandlineByRunidAbort({runid:this.runId()}).subscribe({next:t=>{this.status.set("aborted"),clearInterval(this.interval);}});}static \u0275fac=function(o){return new(o||e)};static \u0275cmp=dw({type:e,selectors:[["app-commandline-result"]],decls:18,vars:7,consts:()=>{let t;t=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SH_ICON: Back `;let o;o=$localize` Running commandline task... ${"\uFFFD#8\uFFFD"}:START_TAG_BUTTON:Abort${"\uFFFD/#8\uFFFD"}:CLOSE_TAG_BUTTON:`;let n;return n=$localize`${"\uFFFD*11:1\uFFFD"}:START_BLOCK_IF: Starting... ${"[\uFFFD/*11:1\uFFFD|\uFFFD/*12:2\uFFFD|\uFFFD/*13:3\uFFFD|\uFFFD/*14:4\uFFFD]"}:CLOSE_BLOCK_IF:${"\uFFFD*12:2\uFFFD"}:START_BLOCK_IF_1: Started! ${"[\uFFFD/*11:1\uFFFD|\uFFFD/*12:2\uFFFD|\uFFFD/*13:3\uFFFD|\uFFFD/*14:4\uFFFD]"}:CLOSE_BLOCK_IF:${"\uFFFD*13:3\uFFFD"}:START_BLOCK_IF_2: Finished! ${"[\uFFFD/*11:1\uFFFD|\uFFFD/*12:2\uFFFD|\uFFFD/*13:3\uFFFD|\uFFFD/*14:4\uFFFD]"}:CLOSE_BLOCK_IF:${"\uFFFD*14:4\uFFFD"}:START_BLOCK_IF_3: Aborted! ${"[\uFFFD/*11:1\uFFFD|\uFFFD/*12:2\uFFFD|\uFFFD/*13:3\uFFFD|\uFFFD/*14:4\uFFFD]"}:CLOSE_BLOCK_IF:`,n=tC(n),[t,o,n,[1,"back"],["type","button","shButton","","routerLink","../",1,"small",3,"queryParams"],["type","button","shButton","",1,"small",3,"click"],[1,"status"]]},template:function(o,n){o&1&&(mg(0,"app-status-bar"),Qi(1,"section")(2,"div",3)(3,"button",4),Og(4,0),mg(5,"sh-icon"),Pg(),Hl()(),Qi(6,"h3"),Og(7,1),Qi(8,"button",5),Fg("click",function(){return n.abort()}),Hl(),Pg(),Hl(),Qi(9,"div",6),Og(10,2),oT(11,y,1,0),oT(12,v,1,0),oT(13,U,1,0),oT(14,G,1,0),Pg(),Hl(),Qi(15,"code"),cT(16,K,2,1,null,null,sT),Hl()()),o&2&&(DE(3),gg("queryParams",ZC(5,k,n.stateId())),DE(8),iT(n.status()==="starting"?11:-1),DE(),iT(n.status()==="started"?12:-1),DE(),iT(n.status()==="finished"?13:-1),DE(),iT(n.status()==="aborted"?14:-1),DE(2),lT(n.messageLog()));},dependencies:[ee,N,v$1,_t],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;padding:2.5rem;gap:1.25rem}code[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--base-8),#000 70%);color:#fff;padding:2.5rem 2.5rem 2.5rem 1.5rem;border-radius:var(--shape-3);overflow:auto;white-space:pre}"]})};export{S as default};
@@ -1,4 +1,4 @@
1
- import {L as L$1}from'./chunk-M5tldLvJ.js';import {T,ab as C$1,bp as je$1,bq as x$1,aG as pt$1,d as dw,R as Bl,X as XT,W as $l,V as yg,D as DE,aq as Eg,aD as zC,aj as l,ai as m,br as $p}from'./main-TZVLLK67.js';function j(){return {async:false,breaks:false,extensions:null,gfm:true,hooks:null,pedantic:false,renderer:null,silent:false,tokenizer:null,walkTokens:null}}var R=j();function Te(n){R=n;}var P={exec:()=>null};function p(n,e=""){let r=typeof n=="string"?n:n.source,s={replace:(t,l)=>{let i=typeof l=="string"?l:l.source;return i=i.replace(x.caret,"$1"),r=r.replace(t,i),s},getRegex:()=>new RegExp(r,e)};return s}var Ne=(()=>{try{return !!new RegExp("(?<=1)(?<!1)")}catch{return false}})(),x={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:n=>new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}#`),htmlBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}<(?:[a-z].*>|!--)`,"i")},Oe=/^(?:[ \t]*(?:\n|$))+/,Ze=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,De=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,E=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ge=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Q=/(?:[*+-]|\d{1,9}[.)])/,ze=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Ae=p(ze).replace(/bull/g,Q).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),He=p(ze).replace(/bull/g,Q).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),F=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,je=/^[^\n]+/,U=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Qe=p(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",U).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Fe=p(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Q).getRegex(),q="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",X=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ue=p("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",X).replace("tag",q).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_e=p(F).replace("hr",E).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",q).getRegex(),Xe=p(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_e).getRegex(),W={blockquote:Xe,code:Ze,def:Qe,fences:De,heading:Ge,hr:E,html:Ue,lheading:Ae,list:Fe,newline:Oe,paragraph:_e,table:P,text:je},me=p("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",E).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",q).getRegex(),We=m(l({},W),{lheading:He,table:me,paragraph:p(F).replace("hr",E).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",me).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",q).getRegex()}),Ve=m(l({},W),{html:p(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",X).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:P,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:p(F).replace("hr",E).replace("heading",` *#{1,6} *[^
1
+ import {L as L$1}from'./chunk-C7pjkqKB.js';import {T,ab as C$1,bq as je$1,br as x$1,aG as pt$1,d as dw,R as Bl,X as XT,W as $l,V as yg,D as DE,aq as Eg,aD as zC,aj as l,ai as m,bs as $p}from'./main-KFKZO6SJ.js';function j(){return {async:false,breaks:false,extensions:null,gfm:true,hooks:null,pedantic:false,renderer:null,silent:false,tokenizer:null,walkTokens:null}}var R=j();function Te(n){R=n;}var P={exec:()=>null};function p(n,e=""){let r=typeof n=="string"?n:n.source,s={replace:(t,l)=>{let i=typeof l=="string"?l:l.source;return i=i.replace(x.caret,"$1"),r=r.replace(t,i),s},getRegex:()=>new RegExp(r,e)};return s}var Ne=(()=>{try{return !!new RegExp("(?<=1)(?<!1)")}catch{return false}})(),x={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:n=>new RegExp(`^( {0,3}${n})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}#`),htmlBeginRegex:n=>new RegExp(`^ {0,${Math.min(3,n-1)}}<(?:[a-z].*>|!--)`,"i")},Oe=/^(?:[ \t]*(?:\n|$))+/,Ze=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,De=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,E=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ge=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Q=/(?:[*+-]|\d{1,9}[.)])/,ze=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Ae=p(ze).replace(/bull/g,Q).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),He=p(ze).replace(/bull/g,Q).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),F=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,je=/^[^\n]+/,U=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Qe=p(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",U).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Fe=p(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Q).getRegex(),q="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",X=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ue=p("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",X).replace("tag",q).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_e=p(F).replace("hr",E).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",q).getRegex(),Xe=p(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_e).getRegex(),W={blockquote:Xe,code:Ze,def:Qe,fences:De,heading:Ge,hr:E,html:Ue,lheading:Ae,list:Fe,newline:Oe,paragraph:_e,table:P,text:je},me=p("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",E).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",q).getRegex(),We=m(l({},W),{lheading:He,table:me,paragraph:p(F).replace("hr",E).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",me).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",q).getRegex()}),Ve=m(l({},W),{html:p(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",X).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:P,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:p(F).replace("hr",E).replace("heading",` *#{1,6} *[^
2
2
  ]`).replace("lheading",Ae).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),Je=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Ke=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ce=/^( {2,}|\\)\n(?!\s*$)/,Ye=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,N=/[\p{P}\p{S}]/u,V=/[\s\p{P}\p{S}]/u,Pe=/[^\s\p{P}\p{S}]/u,et=p(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,V).getRegex(),Ee=/(?!~)[\p{P}\p{S}]/u,tt=/(?!~)[\s\p{P}\p{S}]/u,rt=/(?:[^\s\p{P}\p{S}]|~)/u,nt=p(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",Ne?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),ve=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,st=p(ve,"u").replace(/punct/g,N).getRegex(),it=p(ve,"u").replace(/punct/g,Ee).getRegex(),Ie="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",lt=p(Ie,"gu").replace(/notPunctSpace/g,Pe).replace(/punctSpace/g,V).replace(/punct/g,N).getRegex(),at=p(Ie,"gu").replace(/notPunctSpace/g,rt).replace(/punctSpace/g,tt).replace(/punct/g,Ee).getRegex(),ot=p("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Pe).replace(/punctSpace/g,V).replace(/punct/g,N).getRegex(),ct=p(/\\(punct)/,"gu").replace(/punct/g,N).getRegex(),ht=p(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),pt=p(X).replace("(?:-->|$)","-->").getRegex(),ut=p("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",pt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),L=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,gt=p(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",L).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Le=p(/^!?\[(label)\]\[(ref)\]/).replace("label",L).replace("ref",U).getRegex(),Be=p(/^!?\[(ref)\](?:\[\])?/).replace("ref",U).getRegex(),kt=p("reflink|nolink(?!\\()","g").replace("reflink",Le).replace("nolink",Be).getRegex(),we=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,J={_backpedal:P,anyPunctuation:ct,autolink:ht,blockSkip:nt,br:Ce,code:Ke,del:P,emStrongLDelim:st,emStrongRDelimAst:lt,emStrongRDelimUnd:ot,escape:Je,link:gt,nolink:Be,punctuation:et,reflink:Le,reflinkSearch:kt,tag:ut,text:Ye,url:P},dt=m(l({},J),{link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",L).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",L).getRegex()}),D=m(l({},J),{emStrongRDelimAst:at,emStrongLDelim:it,url:p(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",we).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:p(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",we).getRegex()}),ft=m(l({},D),{br:p(Ce).replace("{2,}","*").getRegex(),text:p(D.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),I={normal:W,gfm:We,pedantic:Ve},A={normal:J,gfm:D,breaks:ft,pedantic:dt},xt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ye=n=>xt[n];function S(n,e){if(e){if(x.escapeTest.test(n))return n.replace(x.escapeReplace,ye)}else if(x.escapeTestNoEncode.test(n))return n.replace(x.escapeReplaceNoEncode,ye);return n}function Se(n){try{n=encodeURI(n).replace(x.percentDecode,"%");}catch{return null}return n}function $e(n,e){let r=n.replace(x.findPipe,(l,i,o)=>{let a=false,h=i;for(;--h>=0&&o[h]==="\\";)a=!a;return a?"|":" |"}),s=r.split(x.splitPipe),t=0;if(s[0].trim()||s.shift(),s.length>0&&!s.at(-1)?.trim()&&s.pop(),e)if(s.length>e)s.splice(e);else for(;s.length<e;)s.push("");for(;t<s.length;t++)s[t]=s[t].trim().replace(x.slashPipe,"|");return s}function _(n,e,r){let s=n.length;if(s===0)return "";let t=0;for(;t<s;){let l=n.charAt(s-t-1);if(l===e&&true)t++;else break}return n.slice(0,s-t)}function bt(n,e){if(n.indexOf(e[1])===-1)return -1;let r=0;for(let s=0;s<n.length;s++)if(n[s]==="\\")s++;else if(n[s]===e[0])r++;else if(n[s]===e[1]&&(r--,r<0))return s;return r>0?-2:-1}function Re(n,e,r,s,t){let l=e.href,i=e.title||null,o=n[1].replace(t.other.outputLinkReplace,"$1");s.state.inLink=true;let a={type:n[0].charAt(0)==="!"?"image":"link",raw:r,href:l,title:i,text:o,tokens:s.inlineTokens(o)};return s.state.inLink=false,a}function mt(n,e,r){let s=n.match(r.other.indentCodeCompensation);if(s===null)return e;let t=s[1];return e.split(`
3
3
  `).map(l=>{let i=l.match(r.other.beginningSpace);if(i===null)return l;let[o]=i;return o.length>=t.length?l.slice(t.length):l}).join(`
4
4
  `)}var B=class{options;rules;lexer;constructor(n){this.options=n||R;}space(n){let e=this.rules.block.newline.exec(n);if(e&&e[0].length>0)return {type:"space",raw:e[0]}}code(n){let e=this.rules.block.code.exec(n);if(e){let r=e[0].replace(this.rules.other.codeRemoveIndent,"");return {type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?r:_(r,`
@@ -1,2 +1,2 @@
1
- import {d as dw,L as oC,Y as iC}from'./main-TZVLLK67.js';var d=["*"],c=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)};}static{this.\u0275cmp=dw({type:e,selectors:[["sh-divider"]],hostAttrs:["role","separator"],ngContentSelectors:d,decls:1,vars:0,template:function(i,a){i&1&&(oC(),iC(0));},styles:[`sh-divider{--divider-c: var(--base-4);--divider-h: .0625rem;display:flex;gap:.5rem;align-items:center;text-align:center}sh-divider:empty{gap:0}sh-divider:before,sh-divider:after{content:"";background:var(--divider-c);height:var(--divider-h);flex:1 0}
1
+ import {d as dw,L as oC,Y as iC}from'./main-KFKZO6SJ.js';var d=["*"],c=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)};}static{this.\u0275cmp=dw({type:e,selectors:[["sh-divider"]],hostAttrs:["role","separator"],ngContentSelectors:d,decls:1,vars:0,template:function(i,a){i&1&&(oC(),iC(0));},styles:[`sh-divider{--divider-c: var(--base-4);--divider-h: .0625rem;display:flex;gap:.5rem;align-items:center;text-align:center}sh-divider:empty{gap:0}sh-divider:before,sh-divider:after{content:"";background:var(--divider-c);height:var(--divider-h);flex:1 0}
2
2
  `],encapsulation:2});}}return e})();export{c};
@@ -0,0 +1,2 @@
1
+ import {T,ae as Jr,bu as N,B as y1,bU as B$1,af as m1,bV as re,b as g1,b8 as ce,d as dw,f as N$1,L as oC,Q as Qi,q as PC,H as Hl,Y as iC,o as oT,h as bC,D as DE,i as iT,F as Fg,aC as hg,$ as $g,K as lC,k as gT,S as Sd,n as nC,x as xd,z as gg}from'./main-KFKZO6SJ.js';var B=["internalInput"],K=["*"];function Q(i,T){if(i&1){let t=gT();Qi(0,"input",6,0),Fg("change",function(n){Sd(t);let u=nC();return xd(u.onInternalInputChange(n))}),Hl();}if(i&2){let t=nC();gg("checked",t.checked()),hg("disabled",t.disabled()?"":null);}}var U=(()=>{class i{constructor(){this.#e=T(Jr),this.#n=T(N),this.internalInput=y1("internalInput"),this.projectedInputs=B$1("input:not(.internal-input)",{childList:true,attributes:true}),this.checked=m1(false),this.currentClassList=re(),this.color=g1(null),this.variant=g1(null),this.readonly=g1(false),this.disabled=g1(false),this.noInternalInput=g1(false),this.hostClasses=ce("checkbox",{color:this.color,variant:this.variant,readonly:this.readonly});}#e;#n;onInternalInputChange(t){if(this.disabled())return;let e=t.target;this.checked.set(e.checked);}onKeyDown(t){if(this.#n.matches(t,"checkbox.toggle")){let e=this.internalInput()?.nativeElement;e&&getComputedStyle(e).display!=="none"?e.click():this.#e.nativeElement.click(),t.preventDefault();}}static{this.\u0275fac=function(e){return new(e||i)};}static{this.\u0275cmp=dw({type:i,selectors:[["sh-checkbox"]],viewQuery:function(e,n){e&1&&$g(n.internalInput,B,5),e&2&&lC();},hostVars:6,hostBindings:function(e,n){e&1&&Fg("keydown",function(L){return n.onKeyDown(L)}),e&2&&(hg("disabled",n.disabled()?"":null)("role",n.noInternalInput()?"checkbox":null)("aria-checked",n.noInternalInput()?n.checked():null)("tabindex",n.noInternalInput()?n.disabled()?"-1":"0":null),bC(n.hostClasses()));},inputs:{checked:[1,"checked"],color:[1,"color"],variant:[1,"variant"],readonly:[1,"readonly"],disabled:[1,"disabled"],noInternalInput:[1,"noInternalInput"]},outputs:{checked:"checkedChange"},ngContentSelectors:K,decls:8,vars:3,consts:[["internalInput",""],[1,"box","sh-sheet"],[1,"inherit","default-indicator"],[1,"inherit","indeterminate-indicator"],[1,"label"],["type","checkbox",1,"internal-input",3,"checked"],["type","checkbox",1,"internal-input",3,"change","checked"]],template:function(e,n){e&1&&(oC(),Qi(0,"div",1)(1,"sh-icon",2),PC(2,"check-bold"),Hl(),Qi(3,"sh-icon",3),PC(4,"minus-bold"),Hl()(),Qi(5,"div",4),iC(6),Hl(),oT(7,Q,2,2,"input",5)),e&2&&(bC(n.currentClassList()),DE(7),iT(n.projectedInputs().length===0&&!n.noInternalInput()?7:-1));},dependencies:[N$1],styles:[`sh-checkbox .sh-sheet{--box-bw: .0625rem;--box-bc: var(--sheet-bc);--sheet-s: var(--shape-1)}sh-checkbox{display:flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;border:0}sh-checkbox:focus-visible>.box,sh-checkbox:has(input:focus-visible)>.box{outline:2px solid var(--primary-8);outline-offset:2px}sh-checkbox>input.internal-input,sh-checkbox .label>input{appearance:none;position:absolute;inset:0;cursor:pointer;z-index:0;margin:0}sh-checkbox>input.internal-input:focus,sh-checkbox>input.internal-input:focus-visible,sh-checkbox .label>input:focus,sh-checkbox .label>input:focus-visible{outline:none}sh-checkbox:has(.label>input)>input.internal-input{display:none}sh-checkbox .label:empty{display:none}sh-checkbox:has(input[disabled]),sh-checkbox[disabled]:not([disabled=false]){opacity:.5;pointer-events:none;-webkit-user-select:none;user-select:none;cursor:initial}sh-checkbox .box{display:flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;cursor:pointer;position:relative;border:var(--box-bw) solid var(--box-bc)}sh-checkbox .box sh-icon{opacity:0;font-weight:700;transition:opacity 75ms linear}sh-checkbox .box sh-icon.indeterminate-indicator{display:none}sh-checkbox.raised:not(:has(input:checked)):not(.active) .box,sh-checkbox.flat:not(:has(input:checked)):not(.active) .box{background:transparent;border:var(--border-10);border-color:var(--box-bc)}sh-checkbox.indeterminate .box sh-icon.indeterminate-indicator{display:block}sh-checkbox.indeterminate .box sh-icon.default-indicator{display:none}sh-checkbox:has(input:checked) .box sh-icon,sh-checkbox.indeterminate .box sh-icon,sh-checkbox.active .box sh-icon{opacity:1}sh-checkbox:hover .box sh-icon{opacity:.5}
2
+ `],encapsulation:2});}}return i})();export{U};
@@ -1 +1 @@
1
- import {w}from'./chunk-CJRbWZfg.js';import {e as ee}from'./chunk-BMGXb3gX.js';import'./chunk-BqjWEFHw.js';import'./chunk-BS8yAz3P.js';import'./chunk-CxPG-KgI.js';import'./chunk-B-ryE8KW.js';import'./chunk-5zEiKCqR.js';import'./chunk-CMs999gl.js';import'./chunk-CdZVal1F.js';import {d as dw,Z as lr,_ as _t,a8 as To,j as mg,Q as Qi,X as XT,H as Hl}from'./main-TZVLLK67.js';import'./chunk-CUxvfCTH.js';import'./chunk-C4pJCbq-.js';import'./chunk-BjNuU0J_.js';import'./chunk-CU-RYihf.js';import'./chunk-Do6_xsGi.js';import'./chunk-BOII3Fdm.js';import'./chunk-BffC_BAn.js';import'./chunk-M5tldLvJ.js';var l=class s{static \u0275fac=function(o){return new(o||s)};static \u0275cmp=dw({type:s,selectors:[["app-about"]],decls:19,vars:0,consts:()=>{let i;i=$localize`General`;let o;o=$localize`Changelog`;let r;r=$localize`Libraries`;let C;C=$localize`System info`;let a;a=$localize`Server settings`;let E;E=$localize`Logs`;let O;return O=$localize`Crash log`,[i,o,r,C,a,E,O,[1,"content"],[1,"primary"],["tab","","routerLink","/about/general","routerLinkActive","active"],["tab","","routerLink","/about/changelog","routerLinkActive","active"],["tab","","routerLink","/about/libraries","routerLinkActive","active"],["tab","","routerLink","/about/system-info","routerLinkActive","active"],["tab","","routerLink","/about/server-settings","routerLinkActive","active"],["tab","","routerLink","/about/logs","routerLinkActive","active"],["tab","","routerLink","/about/crashlogs","routerLinkActive","active"]]},template:function(o,r){o&1&&(mg(0,"app-status-bar"),Qi(1,"div",7)(2,"sh-tabs",8)(3,"button",9),XT(4,0),Hl(),Qi(5,"button",10),XT(6,1),Hl(),Qi(7,"button",11),XT(8,2),Hl(),Qi(9,"button",12),XT(10,3),Hl(),Qi(11,"button",13),XT(12,4),Hl(),Qi(13,"button",14),XT(14,5),Hl(),Qi(15,"button",15),XT(16,6),Hl()(),Qi(17,"section"),mg(18,"router-outlet"),Hl()());},dependencies:[ee,w,lr,_t,To],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:0}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1rem 0}.content[_ngcontent-%COMP%] sh-tabs[_ngcontent-%COMP%]{margin:0 2rem 2rem}.content[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{padding:0}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:2rem}"]})};export{l as default};
1
+ import {w}from'./chunk-BYJA6sbi.js';import {e as ee}from'./chunk-B0RBkC1E.js';import'./chunk-BB1pOOUx.js';import'./chunk-DN6f5jXR.js';import'./chunk-3RXp81pP.js';import'./chunk-CT9ziigM.js';import'./chunk-D5lj-fQk.js';import'./chunk-OLi7f6y7.js';import'./chunk-B2TXzbpy.js';import {d as dw,Z as lr,_ as _t,a8 as To,j as mg,Q as Qi,X as XT,H as Hl}from'./main-KFKZO6SJ.js';import'./chunk-CRAg6SRo.js';import'./chunk-DuIUmwWN.js';import'./chunk-DipTNkHN.js';import'./chunk-Fw6nFDZK.js';import'./chunk-Ca1C9pJ0.js';import'./chunk-C-NgIZiF.js';import'./chunk-PVmXLw9b.js';import'./chunk-C7pjkqKB.js';var l=class s{static \u0275fac=function(o){return new(o||s)};static \u0275cmp=dw({type:s,selectors:[["app-about"]],decls:19,vars:0,consts:()=>{let i;i=$localize`General`;let o;o=$localize`Changelog`;let r;r=$localize`Libraries`;let C;C=$localize`System info`;let a;a=$localize`Server settings`;let E;E=$localize`Logs`;let O;return O=$localize`Crash log`,[i,o,r,C,a,E,O,[1,"content"],[1,"primary"],["tab","","routerLink","/about/general","routerLinkActive","active"],["tab","","routerLink","/about/changelog","routerLinkActive","active"],["tab","","routerLink","/about/libraries","routerLinkActive","active"],["tab","","routerLink","/about/system-info","routerLinkActive","active"],["tab","","routerLink","/about/server-settings","routerLinkActive","active"],["tab","","routerLink","/about/logs","routerLinkActive","active"],["tab","","routerLink","/about/crashlogs","routerLinkActive","active"]]},template:function(o,r){o&1&&(mg(0,"app-status-bar"),Qi(1,"div",7)(2,"sh-tabs",8)(3,"button",9),XT(4,0),Hl(),Qi(5,"button",10),XT(6,1),Hl(),Qi(7,"button",11),XT(8,2),Hl(),Qi(9,"button",12),XT(10,3),Hl(),Qi(11,"button",13),XT(12,4),Hl(),Qi(13,"button",14),XT(14,5),Hl(),Qi(15,"button",15),XT(16,6),Hl()(),Qi(17,"section"),mg(18,"router-outlet"),Hl()());},dependencies:[ee,w,lr,_t,To],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:0}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:1rem 0}.content[_ngcontent-%COMP%] sh-tabs[_ngcontent-%COMP%]{margin:0 2rem 2rem}.content[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{padding:0}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:2rem}"]})};export{l as default};
@@ -0,0 +1 @@
1
+ var t=[{path:"",redirectTo:"destination",pathMatch:"full"},{path:"destination",loadComponent:()=>import('./chunk-BIL3nR4_.js')},{path:"encryption",loadComponent:()=>import('./chunk-D2g5mSLr.js').then(function(n){return n.c})},{path:"select-config",loadComponent:()=>import('./chunk-DkdGEw1e.js')}],o=t;export{o as default};
@@ -0,0 +1 @@
1
+ import {T,ab as C,a6 as be,a5 as g,e as ee$1,b as g1,N as Nt,U as Ue,G as Ga,at as h,C as Bu,d as dw,v,_ as _t,aH as m,b1 as m$1,Q as Qi,X as XT,H as Hl,o as oT,F as Fg,D as DE,au as Lg,av as eC,i as iT,z as gg,a3 as QC,I as Qg,j as mg,a1 as cT,n as nC,a2 as lT,O as Og,aM as tb,P as Pg,aN as ob,q as PC,E as nm,aR as rb}from'./main-KFKZO6SJ.js';import {f}from'./chunk-DPNAj9Vc.js';import {d}from'./chunk-CRAg6SRo.js';import {$}from'./chunk-C7pjkqKB.js';var W=()=>["/"],Y=(n,e)=>e.FilesetID,Z=(n,e)=>e.Path;function ee(n,e){n&1&&(Qi(0,"div",6),mg(1,"sh-progress-bar",12),Qi(2,"p"),XT(3,3),Hl()());}function ie(n,e){n&1&&(Qi(0,"div",7)(1,"p"),XT(2,4),Hl()());}function ne(n,e){if(n&1&&(Qi(0,"span",18),PC(1),tb(2,"bytes"),Hl()),n&2){let i=nC().$implicit;DE(),nm(rb(2,1,i.Size));}}function te(n,e){if(n&1&&(Qi(0,"div",16)(1,"span",17),PC(2),Hl(),oT(3,ne,3,3,"span",18),Hl()),n&2){let i=e.$implicit;DE(2),nm(i.Path),DE(),iT(i.Size?3:-1);}}function oe(n,e){if(n&1&&(Qi(0,"sh-card",13)(1,"h3")(2,"span"),Og(3,5),mg(4,"span",14),tb(5,"relativeTime"),Pg(),Hl()(),Qi(6,"div",15),cT(7,te,4,2,"div",16,Z),Hl()()),n&2){let i=nC().$implicit;DE(5),Lg(i.FilesetID)(ob(5,2,i.FilesetTime,true)),eC(3),DE(2),lT(i.Files);}}function le(n,e){if(n&1&&oT(0,oe,9,5,"sh-card",13),n&2){let i=e.$implicit;iT(i.Files?.length?0:-1);}}function ae(n,e){if(n&1&&(Qi(0,"div",8),cT(1,le,1,1,null,null,Y),Hl()),n&2){let i=nC();DE(),lT(i.filesets());}}var B=class n{#e=T(C);#i=T(be);#n=T(g);#t=T(ee$1);id=g1.required();backup=Nt(()=>this.#n.getBackupById(this.id()));brokenFilesResource=$({params:()=>({id:this.id()}),stream:({params:e})=>this.#e.postApiV2BackupListBrokenFiles({requestBody:{BackupId:e.id}})});isLoading=Nt(()=>this.brokenFilesResource.isLoading());isPurging=Ue(false);filesets=Ue([]);constructor(){Ga(()=>{let e=this.brokenFilesResource.value();if(e){let i=(e.Data??[]).slice().sort((t,r)=>t.FilesetTime<r.FilesetTime?1:t.FilesetTime>r.FilesetTime?-1:0);this.filesets.set(i);}});}totalFiles=Nt(()=>this.filesets().reduce((e,i)=>e+(i.Files?.length??0),0));hasBrokenFiles=Nt(()=>this.totalFiles()>0);purgeBrokenFiles(){let e=this.totalFiles();e!==0&&this.#i.open(h,{data:{title:$localize`Confirm purge`,message:$localize`Are you sure you want to fully remove ${e} broken file(s)?`,confirmText:$localize`Purge broken files`,cancelText:$localize`Cancel`},closed:i=>{i&&(this.isPurging.set(true),this.#e.postApiV2BackupPurgeBrokenFiles({requestBody:{BackupId:this.id()}}).pipe(Bu(()=>this.isPurging.set(false))).subscribe({next:()=>{this.#t.navigate(["/"]);}}));}});}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=dw({type:n,selectors:[["app-broken-files"]],inputs:{id:[1,"id"]},decls:10,vars:8,consts:()=>{let e;e=$localize`Purge broken files for ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let i;i=$localize`Cancel`;let t;t=$localize` Purge broken files `;let r;r=$localize`Checking for broken files...`;let R;R=$localize`No broken files found for this backup.`;let k;return k=$localize` Version ${"\uFFFD0\uFFFD"}:INTERPOLATION: at ${"\uFFFD#4\uFFFD"}:START_TAG_SPAN:${"\uFFFD1\uFFFD"}:INTERPOLATION_1:${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_SPAN:`,[e,i,t,r,R,k,[1,"loading-state"],[1,"empty-state"],[1,"fileset-list"],[1,"actions"],["shButton","",3,"routerLink","disabled"],["shButton","",1,"raised","error",3,"click","disabled"],[1,"primary","indeterminate"],[1,"type-a","full-width"],[1,"time"],[1,"file-list"],[1,"file"],[1,"path"],[1,"size"]]},template:function(i,t){i&1&&(Qi(0,"h3"),XT(1,0),Hl(),oT(2,ee,4,0,"div",6)(3,ie,3,0,"div",7)(4,ae,3,0,"div",8),Qi(5,"div",9)(6,"button",10),XT(7,1),Hl(),Qi(8,"button",11),Fg("click",function(){return t.purgeBrokenFiles()}),XT(9,2),Hl()()),i&2&&(DE(),Lg(t.backup()?.Backup?.Name),eC(1),DE(),iT(t.isLoading()?2:t.hasBrokenFiles()?4:3),DE(4),gg("routerLink",QC(7,W))("disabled",t.isPurging()),DE(2),Qg("loading",t.isPurging()),gg("disabled",t.isPurging()||!t.hasBrokenFiles()||t.isLoading()));},dependencies:[v,f,d,_t,m,m$1],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;padding:2.5rem;max-width:43.75rem}h3[_ngcontent-%COMP%]{font:var(--title-30);margin:0}h3[_ngcontent-%COMP%] .time[_ngcontent-%COMP%]{font:var(--text-20);opacity:.7;margin-left:.5rem}.loading-state[_ngcontent-%COMP%], .empty-state[_ngcontent-%COMP%]{padding:2rem 0;display:flex;flex-direction:column;gap:1rem}.fileset-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;margin:1rem 0}.file-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;padding-top:.5rem}.file[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:1rem;align-items:baseline}.file[_ngcontent-%COMP%] .path[_ngcontent-%COMP%]{word-break:break-all}.file[_ngcontent-%COMP%] .size[_ngcontent-%COMP%]{white-space:nowrap;opacity:.7}.actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:.5rem;padding:2rem 0}"]})};export{B as default};
@@ -0,0 +1 @@
1
+ import {d}from'./chunk-CRAg6SRo.js';import {L}from'./chunk-C7pjkqKB.js';import {T,ab as C,bg as Q,m,U as Ue,N as Nt,aG as pt,C as Bu,d as dw,v,f as N,o as oT,Q as Qi,X as XT,H as Hl,q as PC,i as iT,D as DE,au as Lg,av as eC,E as nm,j as mg,k as gT,F as Fg,S as Sd,n as nC,x as xd,I as Qg,O as Og,P as Pg,z as gg,ar as Wp}from'./main-KFKZO6SJ.js';function w(n,t){n&1&&mg(0,"sh-progress-bar",3);}function V(n,t){if(n&1&&(Qi(0,"a",7),Og(1,2),mg(2,"sh-icon"),Pg(),Hl()),n&2){let e=nC(2);gg("href",e.serverState()?.UpdateDownloadLink,Wp),DE(2),Lg(e.serverState()?.UpdatedVersion),eC(1);}}function B(n,t){if(n&1){let e=gT();Qi(0,"button",6),Fg("click",function(){Sd(e);let s=nC();return xd(s.checkForUpdates())}),PC(1,"Check for updates"),Hl(),oT(2,V,3,2,"a",7);}if(n&2){let e=nC();Qg("loading",e.checkingForUpdates()),DE(2),iT(e.serverState()?.UpdateDownloadLink?2:-1);}}function J(n,t){if(n&1){let e=gT();Qi(0,"button",6),Fg("click",function(){Sd(e);let s=nC();return xd(s.checkForUpdates())}),PC(1,"Checking for updates \u2026"),Hl();}}function X(n,t){n&1&&mg(0,"sh-progress-bar",3);}var h=class n{#e=T(C);#n=T(Q);#t=T(m);isLoading=Ue(true);checkingForUpdates=Ue(false);serverState=this.#n.serverState;duplicatiVersion=Nt(()=>this.#t.systemInfo()?.ServerVersionName??"Unknown");generalInfo=L(this.#e.getApiV1Acknowledgements().pipe(pt(t=>t.Acknowledgements),Bu(()=>this.isLoading.set(false))));checkForUpdates(){this.checkingForUpdates.set(true),this.#e.postApiV1UpdatesCheck().pipe(Bu(()=>this.checkingForUpdates.set(false))).subscribe();}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=dw({type:n,selectors:[["app-general"]],decls:12,vars:5,consts:()=>{let t;t=$localize`General`;let e;e=$localize`You're running Duplicati with - ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let i;return i=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:download${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON: Download update - ${"\uFFFD0\uFFFD"}:INTERPOLATION: `,[t,e,i,[1,"indeterminate","primary"],[1,"actions"],["shButton",""],["shButton","",3,"click"],["shButton","","target","_blank",1,"primary","raised",3,"href"]]},template:function(e,i){e&1&&(oT(0,w,1,0,"sh-progress-bar",3),Qi(1,"section")(2,"h3"),XT(3,0),Hl(),Qi(4,"p"),XT(5,1),Hl(),Qi(6,"div",4),oT(7,B,3,3)(8,J,2,0,"button",5),oT(9,X,1,0,"sh-progress-bar",3),Hl(),Qi(10,"div"),PC(11),Hl()()),e&2&&(iT(i.isLoading()?0:-1),DE(5),Lg(i.duplicatiVersion()),eC(5),DE(2),iT(i.serverState()?.UpdaterState==="Waiting"?7:i.serverState()?.UpdaterState==="Checking"?8:-1),DE(2),iT(i.serverState()?.UpdaterState==="Downloading"?9:-1),DE(2),nm(i.generalInfo()));},dependencies:[d,v,N],styles:["[_nghost-%COMP%]{display:block;position:relative;padding:0 2.5rem}h3[_ngcontent-%COMP%]{font:var(--title-30);margin:0 0 1.25rem}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}section[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{white-space:pre-wrap}sh-progress-bar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}"]})};export{h as default};
@@ -0,0 +1,2 @@
1
+ import {T,ae as Jr,bu as N,B as y1,bU as B$1,af as m1,b as g1,b8 as ce,d as dw,L as oC,R as Bl,V as yg,W as $l,Y as iC,o as oT,D as DE,i as iT,F as Fg,aC as hg,h as bC,$ as $g,K as lC,k as gT,an as jg,S as Sd,n as nC,x as xd,aq as Eg}from'./main-KFKZO6SJ.js';var H=["internalInput"],z=["*"];function B(g,K){if(g&1){let o=gT();Bl(0,"input",4,0),jg("change",function(t){Sd(o);let c=nC();return xd(c.onInternalInputChange(t))}),$l();}if(g&2){let o=nC();Eg("checked",o.checked()),hg("disabled",o.disabled()?"":null);}}var J=(()=>{class g{constructor(){this.#e=T(Jr),this.#t=T(N),this.internalInput=y1("internalInput"),this.projectedInputs=B$1("input:not(.internal-input)",{childList:true,attributes:true}),this.checked=m1(false),this.color=g1(null),this.variant=g1(null),this.readonly=g1(false),this.disabled=g1(false),this.noInternalInput=g1(false),this.hostClasses=ce("toggle",{color:this.color,variant:this.variant,readonly:this.readonly});}#e;#t;onInternalInputChange(o){if(this.disabled())return;let e=o.target;this.checked.set(e.checked);}onKeyDown(o){if(this.#t.matches(o,"toggle.toggle")){let e=this.internalInput()?.nativeElement;e&&getComputedStyle(e).display!=="none"?e.click():this.#e.nativeElement.click(),o.preventDefault();}}static{this.\u0275fac=function(e){return new(e||g)};}static{this.\u0275cmp=dw({type:g,selectors:[["sh-toggle"]],viewQuery:function(e,t){e&1&&$g(t.internalInput,H,5),e&2&&lC();},hostVars:6,hostBindings:function(e,t){e&1&&Fg("keydown",function(V){return t.onKeyDown(V)}),e&2&&(hg("disabled",t.disabled()?"":null)("role",t.noInternalInput()?"switch":null)("aria-checked",t.noInternalInput()?t.checked():null)("tabindex",t.noInternalInput()?t.disabled()?"-1":"0":null),bC(t.hostClasses()));},inputs:{checked:[1,"checked"],color:[1,"color"],variant:[1,"variant"],readonly:[1,"readonly"],disabled:[1,"disabled"],noInternalInput:[1,"noInternalInput"]},outputs:{checked:"checkedChange"},ngContentSelectors:z,decls:4,vars:1,consts:[["internalInput",""],[1,"box"],[1,"knob"],["type","checkbox",1,"internal-input",3,"checked"],["type","checkbox",1,"internal-input",3,"change","checked"]],template:function(e,t){e&1&&(oC(),Bl(0,"div",1),yg(1,"div",2),$l(),iC(2),oT(3,B,2,2,"input",3)),e&2&&(DE(3),iT(t.projectedInputs().length===0&&!t.noInternalInput()?3:-1));},styles:[`sh-toggle{--toggle-bg: var(--base-4);--toggle-b: 0;--togglek-bg: var(--base-2);--togglek-bs: var(--box-shadow-20);display:flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative}sh-toggle:focus-visible>.box,sh-toggle:has(input:focus-visible)>.box{outline:2px solid var(--primary-8);outline-offset:2px}sh-toggle label{display:flex;align-items:center;gap:.5rem;position:relative;z-index:1}sh-toggle .box{display:block;width:2.125rem;min-width:2.125rem;height:1.25rem;cursor:pointer;position:relative;border-radius:999px;background:var(--toggle-bg);border:var(--toggle-b);transition:background .15s linear}sh-toggle>input[type=checkbox]{appearance:none;position:absolute;inset:0;cursor:pointer;z-index:0;margin:0}sh-toggle>input[type=checkbox]:focus,sh-toggle>input[type=checkbox]:focus-visible{outline:none}sh-toggle:has(>input:not(.internal-input))>input.internal-input{display:none}sh-toggle:has(input[disabled]),sh-toggle[disabled]:not([disabled=false]){opacity:.5;pointer-events:none;-webkit-user-select:none;user-select:none;cursor:initial}sh-toggle .knob{position:absolute;top:.125rem;left:.125rem;width:1rem;height:1rem;border-radius:50%;background:var(--togglek-bg);box-shadow:var(--togglek-bs);box-sizing:border-box;transition:left 125ms ease-in-out}sh-toggle:has(input[type=checkbox]:checked),sh-toggle.active{--togglek-bg: var(--base-8)}sh-toggle:has(input[type=checkbox]:checked) .knob,sh-toggle.active .knob{left:1rem}sh-toggle:has(input[type=checkbox]:checked).primary,sh-toggle.active.primary{--toggle-bg: var(--primary-3);--togglek-bg: var(--primary-8)}sh-toggle:has(input[type=checkbox]:checked).accent,sh-toggle.active.accent{--toggle-bg: var(--accent-3);--togglek-bg: var(--accent-8)}sh-toggle:has(input[type=checkbox]:checked).warn,sh-toggle.active.warn{--toggle-bg: var(--warn-3);--togglek-bg: var(--warn-8)}sh-toggle:has(input[type=checkbox]:checked).error,sh-toggle.active.error{--toggle-bg: var(--error-3);--togglek-bg: var(--error-8)}sh-toggle:has(input[type=checkbox]:checked).success,sh-toggle.active.success{--toggle-bg: var(--success-3);--togglek-bg: var(--success-8)}sh-toggle.outlined{--toggle-bg: var(--base-1);--togglek-bg: var(--base-5);--togglek-bs: none;--toggle-b: 1px solid var(--base-5)}sh-toggle.outlined .knob{width:.875rem;height:.875rem}sh-toggle.outlined.active{--togglek-bg: var(--base-8);--toggle-b: 1px solid var(--base-8)}sh-toggle.outlined.active.primary{--togglek-bg: var(--primary-8);--toggle-b: 1px solid var(--primary-8)}sh-toggle.outlined.active.accent{--togglek-bg: var(--accent-8);--toggle-b: 1px solid var(--accent-8)}sh-toggle.outlined.active.warn{--togglek-bg: var(--warn-8);--toggle-b: 1px solid var(--warn-8)}sh-toggle.outlined.active.error{--togglek-bg: var(--error-8);--toggle-b: 1px solid var(--error-8)}sh-toggle.outlined.active.success{--togglek-bg: var(--success-8);--toggle-b: 1px solid var(--success-8)}sh-toggle.simple{--togglek-bg: #fff}sh-toggle.simple:has(input[type=checkbox]:checked),sh-toggle.simple.active{--togglek-bg: var(--base-8)}sh-toggle.simple:has(input[type=checkbox]:checked).primary,sh-toggle.simple.active.primary{--togglek-bg: var(--primary-8);--toggle-bg: var(--primary-3)}sh-toggle.simple:has(input[type=checkbox]:checked).accent,sh-toggle.simple.active.accent{--togglek-bg: var(--accent-8);--toggle-bg: var(--accent-3)}sh-toggle.simple:has(input[type=checkbox]:checked).warn,sh-toggle.simple.active.warn{--togglek-bg: var(--warn-8);--toggle-bg: var(--warn-3)}sh-toggle.simple:has(input[type=checkbox]:checked).error,sh-toggle.simple.active.error{--togglek-bg: var(--error-8);--toggle-bg: var(--error-3)}sh-toggle.simple:has(input[type=checkbox]:checked).success,sh-toggle.simple.active.success{--togglek-bg: var(--success-8);--toggle-bg: var(--success-3)}sh-toggle.flat{--togglek-bg: #fff}sh-toggle.flat:has(input[type=checkbox]:checked),sh-toggle.flat.active{--togglek-bg: #fff;--toggle-bg: var(--base-8)}sh-toggle.flat:has(input[type=checkbox]:checked).primary,sh-toggle.flat.active.primary{--toggle-bg: var(--primary-8)}sh-toggle.flat:has(input[type=checkbox]:checked).accent,sh-toggle.flat.active.accent{--toggle-bg: var(--accent-8)}sh-toggle.flat:has(input[type=checkbox]:checked).warn,sh-toggle.flat.active.warn{--toggle-bg: var(--warn-8)}sh-toggle.flat:has(input[type=checkbox]:checked).error,sh-toggle.flat.active.error{--toggle-bg: var(--error-8)}sh-toggle.flat:has(input[type=checkbox]:checked).success,sh-toggle.flat.active.success{--toggle-bg: var(--success-8)}sh-toggle.raised{--togglek-bg: #fff}sh-toggle.raised:has(input[type=checkbox]:checked),sh-toggle.raised.active{--toggle-bg: var(--base-g2);--togglek-bg: #fff}sh-toggle.raised:has(input[type=checkbox]:checked).primary,sh-toggle.raised.active.primary{--toggle-bg: var(--primary-g2)}sh-toggle.raised:has(input[type=checkbox]:checked).accent,sh-toggle.raised.active.accent{--toggle-bg: var(--accent-g2)}sh-toggle.raised:has(input[type=checkbox]:checked).warn,sh-toggle.raised.active.warn{--toggle-bg: var(--warn-g2)}sh-toggle.raised:has(input[type=checkbox]:checked).error,sh-toggle.raised.active.error{--toggle-bg: var(--error-g2)}sh-toggle.raised:has(input[type=checkbox]:checked).success,sh-toggle.raised.active.success{--toggle-bg: var(--success-g2)}
2
+ `],encapsulation:2});}}return g})();export{J};
@@ -1,2 +1,2 @@
1
- import {d as dw,L as oC,Y as iC}from'./main-TZVLLK67.js';var o=["*"],c=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)};}static{this.\u0275cmp=dw({type:t,selectors:[["sh-list"]],hostAttrs:["role","list"],ngContentSelectors:o,decls:1,vars:0,template:function(e,n){e&1&&(oC(),iC(0));},styles:[`.sh-sortable{position:relative}.sh-sortable.dragging [draggable],.sh-sortable.dragging .sortable-ghost{cursor:grabbing;transition:transform 40ms linear}.sh-sortable [draggable]{transform:translate(0);transition:none;z-index:2;-webkit-user-select:none;user-select:none}.sh-sortable:not(.sh-sortable-tree) [draggable]{background:var(--base-1)}.sh-sortable:not(.sh-sortable-tree) [draggable]:not(:has([sort-handle])){cursor:grab}.sh-sortable .sortable-ghost{opacity:.5;z-index:10}.sh-sortable.item-dragged-out .sortable-ghost{display:none}.sh-sortable [sort-handle]{cursor:grab}.sh-sortable.sh-sortable-tree [draggable]{transform:none!important;transition:none!important;z-index:auto}.sh-sortable.sh-sortable-tree .sortable-ghost{z-index:0!important}.sh-sortable.sh-sortable-tree .sortable-ghost.drop-before:before,.sh-sortable.sh-sortable-tree .sortable-ghost.drop-after:after{display:none!important}.sh-sortable.sh-sortable-tree .sortable-ghost.drop-inside{outline:none!important;background:inherit!important}.sh-sortable.sh-sortable-tree .drop-inside{background:var(--primary-3)!important;outline:2px solid var(--primary-8)!important;outline-offset:-.125rem;border-radius:var(--shape-1, 4px)}.sh-sortable.sh-sortable-tree .drop-inside .node-icon,.sh-sortable.sh-sortable-tree .drop-inside sh-tree-node .sh-tree-node-left sh-icon{color:var(--primary-8)!important}.sh-sortable.sh-sortable-tree .drop-before{position:relative;z-index:20}.sh-sortable.sh-sortable-tree .drop-before:before{content:"";position:absolute;top:-.1875rem;left:calc(var(--tree-padding-left, 12px) + var(--tree-depth, 0) * var(--tree-indent-step, 12px) + .375rem);right:var(--tree-padding-right, 6px);height:.375rem;background-image:radial-gradient(circle at 3px 3px,var(--primary-8) 3px,transparent 3px),linear-gradient(to right,var(--primary-8),var(--primary-8));background-repeat:no-repeat,no-repeat;background-position:left center,6px center;background-size:6px 6px,100% 2px;z-index:10;pointer-events:none}.sh-sortable.sh-sortable-tree .drop-after{position:relative;z-index:20}.sh-sortable.sh-sortable-tree .drop-after:after{content:"";position:absolute;bottom:-.1875rem;left:calc(var(--tree-padding-left, 12px) + var(--tree-depth, 0) * var(--tree-indent-step, 12px) + .375rem);right:var(--tree-padding-right, 6px);height:.375rem;background-image:radial-gradient(circle at 3px 3px,var(--primary-8) 3px,transparent 3px),linear-gradient(to right,var(--primary-8),var(--primary-8));background-repeat:no-repeat,no-repeat;background-position:left center,6px center;background-size:6px 6px,100% 2px;z-index:10;pointer-events:none}sh-list{--list-s: var(--shape-2);--list-active-bg: var(--base-1);--list-color: var(--base-9);--list-active-bs: none;--list-item-b: 1px solid transparent;--list-item-active-b: 1px solid --list-active-bg;--list-p: 1.25rem 1rem;--list-item-p: .5rem .75rem;--list-item-gap: .5rem;width:100%;padding:var(--list-p);gap:.5rem;display:flex;flex-direction:column}sh-list.base-1{--list-active-bg: var(--base-1);--list-active-bs: var(--box-shadow-20)}sh-list.outlined{--list-active-bg: transparent;--list-active-bs: none;--list-item-b: 1px solid transparent;--list-item-active-b: 1px solid var(--primary-8)}sh-list.type-b{--list-p: 0;--list-item-p: .625rem .75rem;--list-item-gap: .75rem;--list-s: var(--shape-2)}sh-list.type-b>[action],sh-list.type-b>[item]{color:var(--base-10)}sh-list.type-b>[action].active,sh-list.type-b>[action].selected,sh-list.type-b>[item].active,sh-list.type-b>[item].selected{background:rgb(from var(--base-3) r g b/90%);color:var(--base-12)}sh-list.type-b>[action].active sh-icon:first-child,sh-list.type-b>[action].selected sh-icon:first-child,sh-list.type-b>[item].active sh-icon:first-child,sh-list.type-b>[item].selected sh-icon:first-child{color:var(--primary-8)}sh-list.type-b>[action].active .description,sh-list.type-b>[action].selected .description,sh-list.type-b>[item].active .description,sh-list.type-b>[item].selected .description{color:var(--base-9)}sh-list.type-b>[action] sh-icon:first-child,sh-list.type-b>[item] sh-icon:first-child{font-size:1.125rem;color:var(--base-7);transition:color .15s ease}sh-list.type-b>[action] .text-group,sh-list.type-b>[item] .text-group{display:flex;flex-direction:column;flex:1}sh-list.type-b>[action] .label,sh-list.type-b>[item] .label{font:var(--paragraph-30B)}sh-list.type-b>[action] .description,sh-list.type-b>[item] .description{font:var(--paragraph-40);color:var(--base-7);transition:color .15s ease}sh-list.type-b>[action] .shortcut,sh-list.type-b>[item] .shortcut{display:flex;gap:.25rem}sh-list.type-b>[action] .shortcut kbd,sh-list.type-b>[item] .shortcut kbd{font-family:inherit;background:rgb(from var(--base-3) r g b/80%);border:1px solid rgb(from var(--base-4) r g b/60%);color:var(--base-8);border-radius:var(--shape-1);padding:.125rem .375rem;font-size:.6875rem;line-height:1;box-shadow:0 1px #0000001a}sh-list:empty{padding:0}sh-list>[title]{color:var(--base-8);margin:0 .75rem;font:var(--paragraph-30);line-height:1.5rem}sh-list[shsortable] [item]:active{transform:scale(1)}sh-list>[action],sh-list>[item]{border-radius:var(--list-s);padding:var(--list-item-p);font:var(--paragraph-30B);color:var(--list-color);border:var(--list-item-b);display:flex;align-items:center;gap:var(--list-item-gap);width:100%;-webkit-user-select:none;user-select:none;appearance:none;border:0;text-align:left;text-wrap:balance;background-color:transparent;text-decoration:none;transition:transform 125ms linear,box-shadow 125ms linear;transform:scale(1)}sh-list>[action]:active,sh-list>[item]:active{--list-active-bs: var(--box-shadow-10);transform:scale(.98)}sh-list>[action]:focus,sh-list>[item]:focus{outline:none}sh-list>[action]:focus-visible,sh-list>[item]:focus-visible{outline:2px solid var(--primary-8);outline-offset:2px}sh-list>[action] [suffix],sh-list>[item] [suffix]{margin-left:auto;color:var(--base-8)}sh-list :has(input),sh-list>[action]{cursor:pointer}sh-list>[item]:has(input:checked),sh-list>[action]:has(input:checked),sh-list>[action].active,sh-list>[action].selected{--list-color: var(--base-12);background-color:var(--list-active-bg);box-shadow:var(--list-active-bs);border:var(--list-item-active-b)}sh-list.primary>[item]:has(input:checked) sh-icon:first-child,sh-list.primary>[action]:has(input:checked) sh-icon:first-child,sh-list.primary>[action].active sh-icon:first-child,sh-list.primary>[action].selected sh-icon:first-child{color:var(--primary-8)}sh-list.accent>[item]:has(input:checked) sh-icon:first-child,sh-list.accent>[action]:has(input:checked) sh-icon:first-child,sh-list.accent>[action].active sh-icon:first-child,sh-list.accent>[action].selected sh-icon:first-child{color:var(--accent-8)}sh-list.warn>[item]:has(input:checked) sh-icon:first-child,sh-list.warn>[action]:has(input:checked) sh-icon:first-child,sh-list.warn>[action].active sh-icon:first-child,sh-list.warn>[action].selected sh-icon:first-child{color:var(--warn-8)}sh-list.error>[item]:has(input:checked) sh-icon:first-child,sh-list.error>[action]:has(input:checked) sh-icon:first-child,sh-list.error>[action].active sh-icon:first-child,sh-list.error>[action].selected sh-icon:first-child{color:var(--error-8)}sh-list.success>[item]:has(input:checked) sh-icon:first-child,sh-list.success>[action]:has(input:checked) sh-icon:first-child,sh-list.success>[action].active sh-icon:first-child,sh-list.success>[action].selected sh-icon:first-child{color:var(--success-8)}
1
+ import {d as dw,L as oC,Y as iC}from'./main-KFKZO6SJ.js';var o=["*"],c=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)};}static{this.\u0275cmp=dw({type:t,selectors:[["sh-list"]],hostAttrs:["role","list"],ngContentSelectors:o,decls:1,vars:0,template:function(e,n){e&1&&(oC(),iC(0));},styles:[`.sh-sortable{position:relative}.sh-sortable.dragging [draggable],.sh-sortable.dragging .sortable-ghost{cursor:grabbing;transition:transform 40ms linear}.sh-sortable [draggable]{transform:translate(0);transition:none;z-index:2;-webkit-user-select:none;user-select:none}.sh-sortable:not(.sh-sortable-tree) [draggable]{background:var(--base-1)}.sh-sortable:not(.sh-sortable-tree) [draggable]:not(:has([sort-handle])){cursor:grab}.sh-sortable .sortable-ghost{opacity:.5;z-index:10}.sh-sortable.item-dragged-out .sortable-ghost{display:none}.sh-sortable [sort-handle]{cursor:grab}.sh-sortable.sh-sortable-tree [draggable]{transform:none!important;transition:none!important;z-index:auto}.sh-sortable.sh-sortable-tree .sortable-ghost{z-index:0!important}.sh-sortable.sh-sortable-tree .sortable-ghost.drop-before:before,.sh-sortable.sh-sortable-tree .sortable-ghost.drop-after:after{display:none!important}.sh-sortable.sh-sortable-tree .sortable-ghost.drop-inside{outline:none!important;background:inherit!important}.sh-sortable.sh-sortable-tree .drop-inside{background:var(--primary-3)!important;outline:2px solid var(--primary-8)!important;outline-offset:-.125rem;border-radius:var(--shape-1, 4px)}.sh-sortable.sh-sortable-tree .drop-inside .node-icon,.sh-sortable.sh-sortable-tree .drop-inside sh-tree-node .sh-tree-node-left sh-icon{color:var(--primary-8)!important}.sh-sortable.sh-sortable-tree .drop-before{position:relative;z-index:20}.sh-sortable.sh-sortable-tree .drop-before:before{content:"";position:absolute;top:-.1875rem;left:calc(var(--tree-padding-left, 12px) + var(--tree-depth, 0) * var(--tree-indent-step, 12px) + .375rem);right:var(--tree-padding-right, 6px);height:.375rem;background-image:radial-gradient(circle at 3px 3px,var(--primary-8) 3px,transparent 3px),linear-gradient(to right,var(--primary-8),var(--primary-8));background-repeat:no-repeat,no-repeat;background-position:left center,6px center;background-size:6px 6px,100% 2px;z-index:10;pointer-events:none}.sh-sortable.sh-sortable-tree .drop-after{position:relative;z-index:20}.sh-sortable.sh-sortable-tree .drop-after:after{content:"";position:absolute;bottom:-.1875rem;left:calc(var(--tree-padding-left, 12px) + var(--tree-depth, 0) * var(--tree-indent-step, 12px) + .375rem);right:var(--tree-padding-right, 6px);height:.375rem;background-image:radial-gradient(circle at 3px 3px,var(--primary-8) 3px,transparent 3px),linear-gradient(to right,var(--primary-8),var(--primary-8));background-repeat:no-repeat,no-repeat;background-position:left center,6px center;background-size:6px 6px,100% 2px;z-index:10;pointer-events:none}sh-list{--list-s: var(--shape-2);--list-active-bg: var(--base-1);--list-color: var(--base-9);--list-active-bs: none;--list-item-b: 1px solid transparent;--list-item-active-b: 1px solid --list-active-bg;--list-p: 1.25rem 1rem;--list-item-p: .5rem .75rem;--list-item-gap: .5rem;width:100%;padding:var(--list-p);gap:.5rem;display:flex;flex-direction:column}sh-list.base-1{--list-active-bg: var(--base-1);--list-active-bs: var(--box-shadow-20)}sh-list.outlined{--list-active-bg: transparent;--list-active-bs: none;--list-item-b: 1px solid transparent;--list-item-active-b: 1px solid var(--primary-8)}sh-list.type-b{--list-p: 0;--list-item-p: .625rem .75rem;--list-item-gap: .75rem;--list-s: var(--shape-2)}sh-list.type-b>[action],sh-list.type-b>[item]{color:var(--base-10)}sh-list.type-b>[action].active,sh-list.type-b>[action].selected,sh-list.type-b>[item].active,sh-list.type-b>[item].selected{background:rgb(from var(--base-3) r g b/90%);color:var(--base-12)}sh-list.type-b>[action].active sh-icon:first-child,sh-list.type-b>[action].selected sh-icon:first-child,sh-list.type-b>[item].active sh-icon:first-child,sh-list.type-b>[item].selected sh-icon:first-child{color:var(--primary-8)}sh-list.type-b>[action].active .description,sh-list.type-b>[action].selected .description,sh-list.type-b>[item].active .description,sh-list.type-b>[item].selected .description{color:var(--base-9)}sh-list.type-b>[action] sh-icon:first-child,sh-list.type-b>[item] sh-icon:first-child{font-size:1.125rem;color:var(--base-7);transition:color .15s ease}sh-list.type-b>[action] .text-group,sh-list.type-b>[item] .text-group{display:flex;flex-direction:column;flex:1}sh-list.type-b>[action] .label,sh-list.type-b>[item] .label{font:var(--paragraph-30B)}sh-list.type-b>[action] .description,sh-list.type-b>[item] .description{font:var(--paragraph-40);color:var(--base-7);transition:color .15s ease}sh-list.type-b>[action] .shortcut,sh-list.type-b>[item] .shortcut{display:flex;gap:.25rem}sh-list.type-b>[action] .shortcut kbd,sh-list.type-b>[item] .shortcut kbd{font-family:inherit;background:rgb(from var(--base-3) r g b/80%);border:1px solid rgb(from var(--base-4) r g b/60%);color:var(--base-8);border-radius:var(--shape-1);padding:.125rem .375rem;font-size:.6875rem;line-height:1;box-shadow:0 1px #0000001a}sh-list:empty{padding:0}sh-list>[title]{color:var(--base-8);margin:0 .75rem;font:var(--paragraph-30);line-height:1.5rem}sh-list[shsortable] [item]:active{transform:scale(1)}sh-list>[action],sh-list>[item]{border-radius:var(--list-s);padding:var(--list-item-p);font:var(--paragraph-30B);color:var(--list-color);border:var(--list-item-b);display:flex;align-items:center;gap:var(--list-item-gap);width:100%;-webkit-user-select:none;user-select:none;appearance:none;border:0;text-align:left;text-wrap:balance;background-color:transparent;text-decoration:none;transition:transform 125ms linear,box-shadow 125ms linear;transform:scale(1)}sh-list>[action]:active,sh-list>[item]:active{--list-active-bs: var(--box-shadow-10);transform:scale(.98)}sh-list>[action]:focus,sh-list>[item]:focus{outline:none}sh-list>[action]:focus-visible,sh-list>[item]:focus-visible{outline:2px solid var(--primary-8);outline-offset:2px}sh-list>[action] [suffix],sh-list>[item] [suffix]{margin-left:auto;color:var(--base-8)}sh-list :has(input),sh-list>[action]{cursor:pointer}sh-list>[item]:has(input:checked),sh-list>[action]:has(input:checked),sh-list>[action].active,sh-list>[action].selected{--list-color: var(--base-12);background-color:var(--list-active-bg);box-shadow:var(--list-active-bs);border:var(--list-item-active-b)}sh-list.primary>[item]:has(input:checked) sh-icon:first-child,sh-list.primary>[action]:has(input:checked) sh-icon:first-child,sh-list.primary>[action].active sh-icon:first-child,sh-list.primary>[action].selected sh-icon:first-child{color:var(--primary-8)}sh-list.accent>[item]:has(input:checked) sh-icon:first-child,sh-list.accent>[action]:has(input:checked) sh-icon:first-child,sh-list.accent>[action].active sh-icon:first-child,sh-list.accent>[action].selected sh-icon:first-child{color:var(--accent-8)}sh-list.warn>[item]:has(input:checked) sh-icon:first-child,sh-list.warn>[action]:has(input:checked) sh-icon:first-child,sh-list.warn>[action].active sh-icon:first-child,sh-list.warn>[action].selected sh-icon:first-child{color:var(--warn-8)}sh-list.error>[item]:has(input:checked) sh-icon:first-child,sh-list.error>[action]:has(input:checked) sh-icon:first-child,sh-list.error>[action].active sh-icon:first-child,sh-list.error>[action].selected sh-icon:first-child{color:var(--error-8)}sh-list.success>[item]:has(input:checked) sh-icon:first-child,sh-list.success>[action]:has(input:checked) sh-icon:first-child,sh-list.success>[action].active sh-icon:first-child,sh-list.success>[action].selected sh-icon:first-child{color:var(--success-8)}
2
2
  `],encapsulation:2});}}return t})();export{c};
@@ -1 +1 @@
1
- import {G}from'./chunk-CuU6b3lp.js';import {w as w$1}from'./chunk-ySdaWJYB.js';import {w as we}from'./chunk-BUF3tczf.js';import'./chunk-IEVZ0UN6.js';import'./chunk-BNf0YAwH.js';import'./chunk-BAbAUjHY.js';import'./chunk-BPpheyQK.js';import'./chunk-birClroL.js';import'./chunk-bx0aDvCZ.js';import {e as ee$1}from'./chunk-BMGXb3gX.js';import'./chunk-BqjWEFHw.js';import'./chunk-BS8yAz3P.js';import'./chunk-CtLFpDTP.js';import'./chunk-CxPG-KgI.js';import'./chunk-B-ryE8KW.js';import'./chunk-CDRHCSvU.js';import'./chunk-5zEiKCqR.js';import'./chunk-CMs999gl.js';import'./chunk-CdZVal1F.js';import {T,aw as W,e as ee,U as Ue,G as Ga,b5 as k$1,d as dw,Z as lr,_ as _t,a8 as To,j as mg,o as oT,Q as Qi,H as Hl,D as DE,i as iT,aD as zC,I as Qg,n as nC,X as XT,z as gg,a3 as QC,a_ as ZC}from'./main-TZVLLK67.js';import'./chunk-DWwNINBJ.js';import'./chunk-CUxvfCTH.js';import'./chunk-C4pJCbq-.js';import {L}from'./chunk-M5tldLvJ.js';import'./chunk-BjNuU0J_.js';import'./chunk-CU-RYihf.js';import'./chunk-Do6_xsGi.js';import'./chunk-BOII3Fdm.js';import'./chunk-BffC_BAn.js';var w=()=>["/restore-from-files/destination"],k=()=>["/restore-from-files/encryption"],x=()=>["/restore-from-files/select-files"],J=()=>["/restore-from-files/options"],X=t=>["/restore",t,"select-files"],D=t=>["/restore",t,"options"];function z(t,n){t&1&&(Qi(0,"div",7),XT(1,0),Hl(),Qi(2,"div",7),XT(3,1),Hl(),Qi(4,"div",8),XT(5,2),Hl(),Qi(6,"div",8),XT(7,3),Hl()),t&2&&(gg("routerLink",QC(4,w)),DE(2),gg("routerLink",QC(5,k)),DE(2),gg("routerLink",QC(6,x)),DE(2),gg("routerLink",QC(7,J)));}function B(t,n){if(t&1&&(Qi(0,"div",7),XT(1,4),Hl(),Qi(2,"div",7),XT(3,5),Hl()),t&2){let e=nC(2);gg("routerLink",ZC(2,X,e.backupId())),DE(2),gg("routerLink",ZC(4,D,e.backupId()));}}function U(t,n){if(t&1&&(Qi(0,"sh-stepper",6),oT(1,z,8,8)(2,B,4,6),Hl()),t&2){let e=nC();DE(),iT(e.isFileRestore()?1:2);}}var f=class t{#e=T(W);#n=T(ee);#t=T(G);#i=L(this.#e.params);#o=L(this.#e.url);#r=L(this.#e.children[0].url);backupId=this.#t.backupId;isFileRestore=this.#t.isFileRestore;isFullWidthPage=Ue(false);paramsChanged=Ga(()=>{let n=this.#r(),e=this.#i()?.id,r=!!this.#o()?.find(s=>s.path==="restore-from-files"),d=!!n?.find(s=>s.path==="select-files"),R=!!n?.find(s=>s.path==="progress");this.isFullWidthPage.set(R||d),this.#t.init(e,r);});ngOnInit(){this.#n.events.subscribe(n=>{if(n instanceof k$1){let e=n.urlAfterRedirects;this.isFullWidthPage.set(e.includes("progress")||e.includes("select-files"));}});}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=dw({type:t,selectors:[["app-restore-flow"]],hostVars:2,hostBindings:function(e,r){e&2&&Qg("full-width",r.isFullWidthPage());},features:[zC([G,we])],decls:4,vars:1,consts:()=>{let n;n=$localize` Destination `;let e;e=$localize` Encryption `;let r;r=$localize` Select files `;let d;d=$localize` Options `;let R;R=$localize` Select files `;let s;return s=$localize`Options`,[n,e,r,d,R,s,[1,"primary"],["tabindex","-1","routerLinkActive","active",3,"routerLink"],["tabindex","-1","routerLinkActive","active",1,"inactive",3,"routerLink"]]},template:function(e,r){e&1&&(mg(0,"app-status-bar"),oT(1,U,3,1,"sh-stepper",6),Qi(2,"section"),mg(3,"router-outlet"),Hl()),e&2&&(DE(),iT(r.isFullWidthPage()?-1:1));},dependencies:[w$1,ee$1,lr,_t,To],styles:["[_nghost-%COMP%]{display:block}.full-width[_nghost-%COMP%] section[_ngcontent-%COMP%]{max-width:62.5rem}sh-stepper[_ngcontent-%COMP%]{margin:2.5rem 2rem;width:calc(100% - 4rem)}section[_ngcontent-%COMP%]{max-width:31.25rem;margin:0 auto 2.5rem}@media only screen and (max-width:768px){section[_ngcontent-%COMP%]{padding:0 2rem}}.inactive[_ngcontent-%COMP%]{pointer-events:none;opacity:.5}"]})};export{f as default};
1
+ import {G}from'./chunk-DwMhABnQ.js';import {w as w$1}from'./chunk-BD9-OWSe.js';import'./chunk-Dgns65Zu.js';import {e as ee$1}from'./chunk-B0RBkC1E.js';import'./chunk-BB1pOOUx.js';import'./chunk-DN6f5jXR.js';import'./chunk-3RXp81pP.js';import {k as ke}from'./chunk-ByhuT4BS.js';import'./chunk-C4kBXz3C.js';import'./chunk-Dh6x3lXP.js';import'./chunk-DD_QfWih.js';import'./chunk-khm9J_G0.js';import'./chunk-wyNyzSXi.js';import'./chunk-CegwkGVu.js';import'./chunk-CT9ziigM.js';import'./chunk-D5lj-fQk.js';import'./chunk-D6aNT_wo.js';import'./chunk-OLi7f6y7.js';import'./chunk-B2TXzbpy.js';import {T,aw as W,e as ee,U as Ue,G as Ga,b6 as k$1,d as dw,Z as lr,_ as _t,a8 as To,j as mg,o as oT,Q as Qi,H as Hl,D as DE,i as iT,aD as zC,I as Qg,n as nC,X as XT,z as gg,a3 as QC,a_ as ZC}from'./main-KFKZO6SJ.js';import'./chunk-DPNAj9Vc.js';import'./chunk-CRAg6SRo.js';import'./chunk-DuIUmwWN.js';import'./chunk-DipTNkHN.js';import'./chunk-Fw6nFDZK.js';import'./chunk-Ca1C9pJ0.js';import'./chunk-C-NgIZiF.js';import {L}from'./chunk-C7pjkqKB.js';import'./chunk-PVmXLw9b.js';var w=()=>["/restore-from-files/destination"],k=()=>["/restore-from-files/encryption"],x=()=>["/restore-from-files/select-files"],J=()=>["/restore-from-files/options"],X=t=>["/restore",t,"select-files"],D=t=>["/restore",t,"options"];function z(t,n){t&1&&(Qi(0,"div",7),XT(1,0),Hl(),Qi(2,"div",7),XT(3,1),Hl(),Qi(4,"div",8),XT(5,2),Hl(),Qi(6,"div",8),XT(7,3),Hl()),t&2&&(gg("routerLink",QC(4,w)),DE(2),gg("routerLink",QC(5,k)),DE(2),gg("routerLink",QC(6,x)),DE(2),gg("routerLink",QC(7,J)));}function B(t,n){if(t&1&&(Qi(0,"div",7),XT(1,4),Hl(),Qi(2,"div",7),XT(3,5),Hl()),t&2){let e=nC(2);gg("routerLink",ZC(2,X,e.backupId())),DE(2),gg("routerLink",ZC(4,D,e.backupId()));}}function U(t,n){if(t&1&&(Qi(0,"sh-stepper",6),oT(1,z,8,8)(2,B,4,6),Hl()),t&2){let e=nC();DE(),iT(e.isFileRestore()?1:2);}}var f=class t{#e=T(W);#n=T(ee);#t=T(G);#i=L(this.#e.params);#o=L(this.#e.url);#r=L(this.#e.children[0].url);backupId=this.#t.backupId;isFileRestore=this.#t.isFileRestore;isFullWidthPage=Ue(false);paramsChanged=Ga(()=>{let n=this.#r(),e=this.#i()?.id,r=!!this.#o()?.find(s=>s.path==="restore-from-files"),d=!!n?.find(s=>s.path==="select-files"),R=!!n?.find(s=>s.path==="progress");this.isFullWidthPage.set(R||d),this.#t.init(e,r);});ngOnInit(){this.#n.events.subscribe(n=>{if(n instanceof k$1){let e=n.urlAfterRedirects;this.isFullWidthPage.set(e.includes("progress")||e.includes("select-files"));}});}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=dw({type:t,selectors:[["app-restore-flow"]],hostVars:2,hostBindings:function(e,r){e&2&&Qg("full-width",r.isFullWidthPage());},features:[zC([G,ke])],decls:4,vars:1,consts:()=>{let n;n=$localize` Destination `;let e;e=$localize` Encryption `;let r;r=$localize` Select files `;let d;d=$localize` Options `;let R;R=$localize` Select files `;let s;return s=$localize`Options`,[n,e,r,d,R,s,[1,"primary"],["tabindex","-1","routerLinkActive","active",3,"routerLink"],["tabindex","-1","routerLinkActive","active",1,"inactive",3,"routerLink"]]},template:function(e,r){e&1&&(mg(0,"app-status-bar"),oT(1,U,3,1,"sh-stepper",6),Qi(2,"section"),mg(3,"router-outlet"),Hl()),e&2&&(DE(),iT(r.isFullWidthPage()?-1:1));},dependencies:[w$1,ee$1,lr,_t,To],styles:["[_nghost-%COMP%]{display:block}.full-width[_nghost-%COMP%] section[_ngcontent-%COMP%]{max-width:62.5rem}sh-stepper[_ngcontent-%COMP%]{margin:2.5rem 2rem;width:calc(100% - 4rem)}section[_ngcontent-%COMP%]{max-width:31.25rem;margin:0 auto 2.5rem}@media only screen and (max-width:768px){section[_ngcontent-%COMP%]{padding:0 2rem}}.inactive[_ngcontent-%COMP%]{pointer-events:none;opacity:.5}"]})};export{f as default};
package/index.html CHANGED
@@ -124,5 +124,5 @@
124
124
  <body>
125
125
  <app-root></app-root>
126
126
  <div class="loading">Connecting ...</div>
127
- <script src="polyfills-7RKI4BGK.js" type="module"></script><script src="main-TZVLLK67.js" type="module"></script></body>
127
+ <script src="polyfills-7RKI4BGK.js" type="module"></script><script src="main-KFKZO6SJ.js" type="module"></script></body>
128
128
  </html>
@@ -0,0 +1,45 @@
1
+ // Korean [ko]
2
+ import dayjs from '../index';
3
+ var locale = {
4
+ name: 'ko',
5
+ weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
6
+ weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
7
+ weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
8
+ months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
9
+ monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
10
+ ordinal: function ordinal(n) {
11
+ return n + "\uC77C";
12
+ },
13
+ formats: {
14
+ LT: 'A h:mm',
15
+ LTS: 'A h:mm:ss',
16
+ L: 'YYYY.MM.DD.',
17
+ LL: 'YYYY년 MMMM D일',
18
+ LLL: 'YYYY년 MMMM D일 A h:mm',
19
+ LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
20
+ l: 'YYYY.MM.DD.',
21
+ ll: 'YYYY년 MMMM D일',
22
+ lll: 'YYYY년 MMMM D일 A h:mm',
23
+ llll: 'YYYY년 MMMM D일 dddd A h:mm'
24
+ },
25
+ meridiem: function meridiem(hour) {
26
+ return hour < 12 ? '오전' : '오후';
27
+ },
28
+ relativeTime: {
29
+ future: '%s 후',
30
+ past: '%s 전',
31
+ s: '몇 초',
32
+ m: '1분',
33
+ mm: '%d분',
34
+ h: '한 시간',
35
+ hh: '%d시간',
36
+ d: '하루',
37
+ dd: '%d일',
38
+ M: '한 달',
39
+ MM: '%d달',
40
+ y: '일 년',
41
+ yy: '%d년'
42
+ }
43
+ };
44
+ dayjs.locale(locale, null, true);
45
+ export default locale;
@@ -0,0 +1,39 @@
1
+ // Turkish [tr]
2
+ import dayjs from '../index';
3
+ var locale = {
4
+ name: 'tr',
5
+ weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
6
+ weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
7
+ weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
8
+ months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
9
+ monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
10
+ weekStart: 1,
11
+ formats: {
12
+ LT: 'HH:mm',
13
+ LTS: 'HH:mm:ss',
14
+ L: 'DD.MM.YYYY',
15
+ LL: 'D MMMM YYYY',
16
+ LLL: 'D MMMM YYYY HH:mm',
17
+ LLLL: 'dddd, D MMMM YYYY HH:mm'
18
+ },
19
+ relativeTime: {
20
+ future: '%s sonra',
21
+ past: '%s önce',
22
+ s: 'birkaç saniye',
23
+ m: 'bir dakika',
24
+ mm: '%d dakika',
25
+ h: 'bir saat',
26
+ hh: '%d saat',
27
+ d: 'bir gün',
28
+ dd: '%d gün',
29
+ M: 'bir ay',
30
+ MM: '%d ay',
31
+ y: 'bir yıl',
32
+ yy: '%d yıl'
33
+ },
34
+ ordinal: function ordinal(n) {
35
+ return n + ".";
36
+ }
37
+ };
38
+ dayjs.locale(locale, null, true);
39
+ export default locale;