@duplicati/ngclient 0.0.195 → 0.0.196

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 (145) hide show
  1. package/assets/dest-icons/dunkel.png +0 -0
  2. package/assets/dest-icons/office365.png +0 -0
  3. package/chunk-26MRZAFB.js +1 -0
  4. package/chunk-26Z7TPJB.js +4 -0
  5. package/{chunk-2CGFRRWO.js → chunk-3K3BYB36.js} +1 -1
  6. package/chunk-3UVBV6B3.js +3 -0
  7. package/chunk-44X4A7WY.js +1 -0
  8. package/chunk-4AQZL2UM.js +1 -0
  9. package/chunk-56MQ46JU.js +1 -0
  10. package/{chunk-FUQM5D63.js → chunk-5LBG6MOL.js} +1 -1
  11. package/{chunk-L4B2T7UE.js → chunk-5VE6P5U5.js} +1 -1
  12. package/{chunk-ONYKQCZU.js → chunk-6LAXPU22.js} +1 -1
  13. package/{chunk-O6J2CI2F.js → chunk-6TZPGZ7P.js} +1 -1
  14. package/{chunk-WC6RBAAY.js → chunk-7AVOHYTE.js} +1 -1
  15. package/{chunk-X52R5Q6W.js → chunk-7LTHH6OG.js} +1 -1
  16. package/{chunk-KANLHRTR.js → chunk-7TWUW4XJ.js} +1 -1
  17. package/{chunk-RZUDIPEJ.js → chunk-A2O2XHOB.js} +1 -1
  18. package/{chunk-XBDCSV3I.js → chunk-AIH3GSIT.js} +1 -1
  19. package/chunk-AODNZLCK.js +2 -0
  20. package/{chunk-4FWSDHOG.js → chunk-B62TPRVG.js} +1 -1
  21. package/{chunk-LZCZIUIC.js → chunk-BABBRM6A.js} +1 -1
  22. package/{chunk-3OE7TSMW.js → chunk-BYUBKTO5.js} +1 -1
  23. package/chunk-C5RNVTX6.js +1 -0
  24. package/{chunk-4SMU6FWN.js → chunk-CFNARBNK.js} +1 -1
  25. package/chunk-D6IP567E.js +1 -0
  26. package/{chunk-XR3MBCW5.js → chunk-EE5SIDTF.js} +1 -1
  27. package/{chunk-OH4MM62T.js → chunk-EYCSUKCD.js} +1 -1
  28. package/chunk-F4ZMF6H4.js +1 -0
  29. package/chunk-G4IFZKMI.js +1 -0
  30. package/{chunk-E2Z56LIA.js → chunk-G6NEOWER.js} +1 -1
  31. package/chunk-GZ5HYA4R.js +1 -0
  32. package/chunk-H45NIIKQ.js +1 -0
  33. package/{chunk-IXIH5IF7.js → chunk-HCSB3IIB.js} +1 -1
  34. package/{chunk-CLRYJLBH.js → chunk-HFZ6MYKF.js} +1 -1
  35. package/{chunk-TIQEZECZ.js → chunk-HOGZ74SB.js} +1 -1
  36. package/{chunk-D45OX6NR.js → chunk-HSHF5HR7.js} +1 -1
  37. package/chunk-HUZXJWCG.js +1 -0
  38. package/chunk-I27PVH6D.js +1 -0
  39. package/{chunk-5YPLB2HT.js → chunk-I2RQR4CB.js} +1 -1
  40. package/chunk-IMHM7ISI.js +2 -0
  41. package/{chunk-XUDS7MYD.js → chunk-KDSMLI73.js} +1 -1
  42. package/chunk-LPAIFT5I.js +11 -0
  43. package/{chunk-S7K2HURB.js → chunk-LTGF4KMG.js} +1 -1
  44. package/{chunk-TCB2ZD6T.js → chunk-MDXSNEQZ.js} +1 -1
  45. package/chunk-MI7UAY44.js +1 -0
  46. package/{chunk-FO4M5ZRY.js → chunk-MMEFBZO4.js} +1 -1
  47. package/chunk-MUFBZIQA.js +1 -0
  48. package/{chunk-S64V7K5F.js → chunk-MZ5COKIP.js} +1 -1
  49. package/chunk-NEC5ZCCT.js +1 -0
  50. package/{chunk-NSGMUBKR.js → chunk-NGNWWP6M.js} +1 -1
  51. package/chunk-NK5WD6WE.js +1 -0
  52. package/{chunk-DZCAUCS4.js → chunk-NNNKIEPR.js} +1 -1
  53. package/chunk-NQAH5AL7.js +1 -0
  54. package/{chunk-VIHMVAQG.js → chunk-O5SO2U6L.js} +1 -1
  55. package/chunk-OKYEX2SC.js +2 -0
  56. package/chunk-P7OUKLCO.js +1 -0
  57. package/{chunk-XURQUV7B.js → chunk-PO3L6MKW.js} +2 -2
  58. package/{chunk-F35HIVN6.js → chunk-POPZ47SS.js} +1 -1
  59. package/{chunk-44IYHRP5.js → chunk-QHBOEY2O.js} +1 -1
  60. package/chunk-QIGELWLA.js +1 -0
  61. package/{chunk-JKZHZHVK.js → chunk-QJUNU5NP.js} +1 -1
  62. package/{chunk-5ZAN5YLF.js → chunk-QLENTLZJ.js} +1 -1
  63. package/{chunk-3BCOQAXR.js → chunk-QTVWYVBT.js} +1 -1
  64. package/{chunk-4ZJ2CTPL.js → chunk-R5YJUVWW.js} +1 -1
  65. package/{chunk-XMEVHAAW.js → chunk-S2RZQVCD.js} +1 -1
  66. package/{chunk-MRTE3AG7.js → chunk-SZUNW4JO.js} +1 -1
  67. package/{chunk-AOMCREUU.js → chunk-T4IKTBRQ.js} +1 -1
  68. package/chunk-TL4WOQKT.js +1 -0
  69. package/{chunk-EBH2BDUS.js → chunk-U2E3ZQUP.js} +1 -1
  70. package/{chunk-ZY46ZFXQ.js → chunk-UK7MV4OF.js} +1 -1
  71. package/chunk-UNLX3IVU.js +1 -0
  72. package/{chunk-V4SUZRAG.js → chunk-UNMDSCAN.js} +1 -1
  73. package/chunk-UTZZ4OCF.js +1 -0
  74. package/chunk-V7OCP4NF.js +1 -0
  75. package/{chunk-TNJ2RJ2V.js → chunk-VDSX2M4H.js} +1 -1
  76. package/{chunk-GBXJU6OY.js → chunk-VFBRHP2H.js} +1 -1
  77. package/chunk-VLC2XPEM.js +1 -0
  78. package/chunk-VVQRXJRI.js +1 -0
  79. package/chunk-WIQPWRZV.js +1 -0
  80. package/{chunk-WVRISZPB.js → chunk-X4GGVQ44.js} +1 -1
  81. package/chunk-XIYAYCFU.js +1 -0
  82. package/chunk-XZH2SXWG.js +1 -0
  83. package/chunk-YHMXLWRX.js +1 -0
  84. package/chunk-Z3PICU3O.js +1 -0
  85. package/{chunk-ENMA37SI.js → chunk-ZHGDQABC.js} +1 -1
  86. package/{chunk-DIJYLB6O.js → chunk-ZU6T3TW3.js} +1 -1
  87. package/chunk-ZWLAV6HO.js +1 -0
  88. package/index.html +1 -1
  89. package/locale/messages.de_CH.json +708 -0
  90. package/locale/messages.de_DE.json +708 -0
  91. package/locale/messages.en.json +777 -1
  92. package/locale/messages.en_GB.json +606 -5
  93. package/locale/messages.es_AR.json +193 -0
  94. package/locale/messages.fr_CA.json +708 -0
  95. package/locale/messages.fr_FR.json +708 -0
  96. package/locale/messages.it_IT.json +708 -0
  97. package/locale/messages.ja.json +169 -0
  98. package/locale/messages.ja_JP.json +3 -4
  99. package/locale/messages.json +777 -1
  100. package/locale/messages.nl_BE.json +708 -0
  101. package/locale/messages.zh-Hans.json +9 -15
  102. package/locale/messages.zh-Hant.json +639 -0
  103. package/locale/messages.zh.json +639 -0
  104. package/locale/messages.zh_CN.json +9 -15
  105. package/locale/messages.zh_HK.json +639 -0
  106. package/{main-EGVXKK35.js → main-7BGVZMHJ.js} +1 -1
  107. package/package.json +1 -1
  108. package/chunk-2JMS6ROE.js +0 -1
  109. package/chunk-3462PHUY.js +0 -1
  110. package/chunk-6GTXSMAH.js +0 -2
  111. package/chunk-6JS32BWJ.js +0 -2
  112. package/chunk-6NFCRY7O.js +0 -1
  113. package/chunk-6U37VGIP.js +0 -1
  114. package/chunk-6XFXDO6Y.js +0 -7
  115. package/chunk-AZHCUEP6.js +0 -1
  116. package/chunk-DCSAOEZR.js +0 -1
  117. package/chunk-E24DEHPH.js +0 -1
  118. package/chunk-EEG6BJZA.js +0 -1
  119. package/chunk-FKMUWCFT.js +0 -1
  120. package/chunk-GEBBLUCV.js +0 -2
  121. package/chunk-H47NYSA5.js +0 -1
  122. package/chunk-HG3JMGZT.js +0 -1
  123. package/chunk-J6BDQXGM.js +0 -1
  124. package/chunk-JB4BH5FG.js +0 -3
  125. package/chunk-JOPFYW6K.js +0 -1
  126. package/chunk-JU3IJWLQ.js +0 -1
  127. package/chunk-LYYUFZ36.js +0 -1
  128. package/chunk-M2VB6FGE.js +0 -1
  129. package/chunk-MPUY3ELB.js +0 -1
  130. package/chunk-NMC6ODBC.js +0 -1
  131. package/chunk-OMCDVUR6.js +0 -1
  132. package/chunk-ONXV5IRS.js +0 -1
  133. package/chunk-P42HQ2IS.js +0 -1
  134. package/chunk-PF77AJOA.js +0 -1
  135. package/chunk-PSU4AIIW.js +0 -1
  136. package/chunk-PT5SA5DK.js +0 -1
  137. package/chunk-RUMIANYF.js +0 -1
  138. package/chunk-SFDEJ4KT.js +0 -1
  139. package/chunk-T5MJYYYR.js +0 -1
  140. package/chunk-VIFNOUPQ.js +0 -1
  141. package/chunk-VRXOIVWD.js +0 -1
  142. package/chunk-WYIQINGL.js +0 -1
  143. package/chunk-XADU2VUM.js +0 -1
  144. package/chunk-YP4LWQJG.js +0 -4
  145. package/chunk-YPP2KQ47.js +0 -1
package/chunk-6XFXDO6Y.js DELETED
@@ -1,7 +0,0 @@
1
- import{a as Nn}from"./chunk-E24DEHPH.js";import{b as ft,c as ht,d as Nt,e as Fn}from"./chunk-2JMS6ROE.js";import{a as mn,b as Ye,c as St,d as Cn,e as gn,f as Et,h as Tn,i as Sn,j as En}from"./chunk-6GTXSMAH.js";import{a as fn,b as Rt,c as hn}from"./chunk-ONYKQCZU.js";import{a as pn}from"./chunk-ONXV5IRS.js";import{a as re}from"./chunk-D45OX6NR.js";import{a as Tt}from"./chunk-PT5SA5DK.js";import{a as un,b as xe}from"./chunk-TNJ2RJ2V.js";import{a as Fe}from"./chunk-P42HQ2IS.js";import{B as Z,C as rn,E as sn,F as _n,H as Te,K as cn,L as pt,O as dn,P as Me,V as mt,W as Ke,Y as Ct,a as nn,b as ot,c as oe,d as at,e as ae,f as lt,h as on,i as Ce,j as rt,k as st,n as an,o as ln,p as _t,q as ct,r as dt,s as ge,t as Be,u as le,w as ut,z as Oe}from"./chunk-V4SUZRAG.js";import{c as gt}from"./chunk-4SMU6FWN.js";import{b as ke,d as Pe,e as tn}from"./chunk-VRXOIVWD.js";import{_ as en}from"./chunk-WC6RBAAY.js";import{$ as C,Ab as r,Ac as it,Bb as A,D as Jt,E as ve,Fb as se,Gb as ie,Gc as Le,Hb as Y,Ib as D,K as Xt,M as Wt,Ma as jt,Mc as M,Pa as _,Pb as I,Qb as y,Qc as $e,R as ye,Rb as x,Rc as te,Sc as Ue,Ub as We,Uc as qe,Vb as f,W as P,Xb as s,Yb as tt,Zb as nt,aa as g,cb as W,cc as be,da as Ht,dc as Ve,ec as H,f as et,fc as Qt,gc as Ne,hb as K,jc as p,kb as qt,kc as He,l as Kt,la as N,lc as J,mc as je,na as ee,oc as U,p as zt,pc as b,qc as k,rb as Yt,rc as _e,sb as S,sc as j,tb as E,tc as T,ub as Ee,uc as wt,wb as fe,wc as Zt,xb as he,xc as Re,yb as d,yc as Q,zb as l,zc as ce}from"./chunk-YP4LWQJG.js";import{a as X,b as me}from"./chunk-7CGTOI24.js";var Ft=class n{fromString(t){if(!t)return null;let e=t.match(/(\d+)([smhDWMY])/);return e&&{value:parseInt(e[1]),unit:e[2]}}toString(t,e){return`${t}${e}`}static \u0275fac=function(e){return new(e||n)};static \u0275prov=ye({token:n,factory:n.\u0275fac,providedIn:"root"})};function Qe(n){if(qt(n))return n();if(Array.isArray(n))return n.map(t=>Qe(t));if(typeof n=="object"&&n!==null){let t={};for(let e in n)n.hasOwnProperty(e)&&(t[e]=Qe(n[e]));return t}return n}function Pn(n,t){if(n&1){let e=D();l(0,"div",26)(1,"sh-form-field")(2,"label",27),x(3,7),r(),l(4,"input",28,0),k("ngModelChange",function(o){C(e);let a=s(2);return b(a.scheduleFields.nextTime.time,o)||(a.scheduleFields.nextTime.time=o),g(o)}),r(),l(6,"sh-icon",29),p(7,"clock"),r()(),l(8,"sh-datepicker-input",30)(9,"label",31),p(10,"\xA0"),r(),l(11,"input",32,1),k("ngModelChange",function(o){C(e);let a=s(2);return b(a.scheduleFields.nextTime.date,o)||(a.scheduleFields.nextTime.date=o),g(o)}),r(),l(13,"sh-icon",29),p(14,"calendar"),r()()(),l(15,"div",26)(16,"sh-form-field")(17,"label",33),x(18,8),r(),l(19,"input",34),k("ngModelChange",function(o){C(e);let a=s(2);return b(a.scheduleFields.runAgain.repeatValue,o)||(a.scheduleFields.runAgain.repeatValue=o),g(o)}),r()(),l(20,"sh-select",35)(21,"input",36),k("ngModelChange",function(o){C(e);let a=s(2);return b(a.scheduleFields.runAgain.repeatUnit,o)||(a.scheduleFields.runAgain.repeatUnit=o),g(o)}),r()()(),l(22,"sh-toggle-card",37),se(23,38),x(24,9),ie(),l(25,"div",39)(26,"sh-toggle",24),I(27,10),l(28,"input",25),k("ngModelChange",function(o){C(e);let a=s(2);return b(a.scheduleFields.runAgain.allowedDays.mon,o)||(a.scheduleFields.runAgain.allowedDays.mon=o),g(o)}),r(),y(),r(),l(29,"sh-toggle",24),I(30,11),l(31,"input",25),k("ngModelChange",function(o){C(e);let a=s(2);return b(a.scheduleFields.runAgain.allowedDays.tue,o)||(a.scheduleFields.runAgain.allowedDays.tue=o),g(o)}),r(),y(),r(),l(32,"sh-toggle",24),I(33,12),l(34,"input",25),k("ngModelChange",function(o){C(e);let a=s(2);return b(a.scheduleFields.runAgain.allowedDays.wed,o)||(a.scheduleFields.runAgain.allowedDays.wed=o),g(o)}),r(),y(),r(),l(35,"sh-toggle",24),I(36,13),l(37,"input",25),k("ngModelChange",function(o){C(e);let a=s(2);return b(a.scheduleFields.runAgain.allowedDays.thu,o)||(a.scheduleFields.runAgain.allowedDays.thu=o),g(o)}),r(),y(),r(),l(38,"sh-toggle",24),I(39,14),l(40,"input",25),k("ngModelChange",function(o){C(e);let a=s(2);return b(a.scheduleFields.runAgain.allowedDays.fri,o)||(a.scheduleFields.runAgain.allowedDays.fri=o),g(o)}),r(),y(),r(),l(41,"sh-toggle",24),I(42,15),l(43,"input",25),k("ngModelChange",function(o){C(e);let a=s(2);return b(a.scheduleFields.runAgain.allowedDays.sat,o)||(a.scheduleFields.runAgain.allowedDays.sat=o),g(o)}),r(),y(),r(),l(44,"sh-toggle",24),I(45,16),l(46,"input",25),k("ngModelChange",function(o){C(e);let a=s(2);return b(a.scheduleFields.runAgain.allowedDays.sun,o)||(a.scheduleFields.runAgain.allowedDays.sun=o),g(o)}),r(),y(),r()()()}if(n&2){let e=s(2);_(4),U("ngModel",e.scheduleFields.nextTime.time),_(7),U("ngModel",e.scheduleFields.nextTime.date),_(8),U("ngModel",e.scheduleFields.runAgain.repeatValue),_(),d("options",e.unitOptions)("isClearable",!1),_(),U("ngModel",e.scheduleFields.runAgain.repeatUnit),_(),d("disallowToggle",!0),_(6),U("ngModel",e.scheduleFields.runAgain.allowedDays.mon),_(3),U("ngModel",e.scheduleFields.runAgain.allowedDays.tue),_(3),U("ngModel",e.scheduleFields.runAgain.allowedDays.wed),_(3),U("ngModel",e.scheduleFields.runAgain.allowedDays.thu),_(3),U("ngModel",e.scheduleFields.runAgain.allowedDays.fri),_(3),U("ngModel",e.scheduleFields.runAgain.allowedDays.sat),_(3),U("ngModel",e.scheduleFields.runAgain.allowedDays.sun)}}function On(n,t){if(n&1){let e=D();l(0,"div",23)(1,"sh-toggle",24),I(2,5),l(3,"input",25),k("ngModelChange",function(o){C(e);let a=s();return b(a.scheduleFields.autoRun,o)||(a.scheduleFields.autoRun=o),g(o)}),r(),y(),r(),l(4,"p"),x(5,6),r()(),S(6,Pn,47,14)}if(n&2){let e=s();_(3),U("ngModel",e.scheduleFields.autoRun),_(3),E(e.scheduleFields.autoRun()?6:-1)}}var Mn=[{key:"s",label:$localize`Seconds`},{key:"m",label:$localize`Minutes`},{key:"h",label:$localize`Hours`},{key:"D",label:$localize`Days`},{key:"W",label:$localize`Weeks`},{key:"M",label:$localize`Months`},{key:"Y",label:$localize`Years`}],Dt=[{key:$localize`Daily 13:00`,value:"daily",data:{autoRun:!0,nextTime:{time:"13:00:00",date:new Date().toISOString().split("T")[0]},runAgain:{repeatValue:1,repeatUnit:"D",allowedDays:{mon:!0,tue:!0,wed:!0,thu:!0,fri:!0,sat:!0,sun:!0}}}},{key:$localize`Weekdays 13:00`,value:"weekdays",data:{autoRun:!0,nextTime:{time:"13:00:00",date:new Date().toISOString().split("T")[0]},runAgain:{repeatValue:1,repeatUnit:"D",allowedDays:{mon:!0,tue:!0,wed:!0,thu:!0,fri:!0,sat:!1,sun:!1}}}},{key:$localize`Weekly monday 13:00`,value:"weekly",data:{autoRun:!0,nextTime:{time:"13:00:00",date:xn().toISOString().split("T")[0]},runAgain:{repeatValue:1,repeatUnit:"W",allowedDays:{mon:!0,tue:!1,wed:!1,thu:!1,fri:!1,sat:!1,sun:!1}}}},{key:$localize`Don't run automatically`,value:"disabled",data:{autoRun:!1,nextTime:{time:"13:00:00",date:new Date().toISOString().split("T")[0]},runAgain:{repeatValue:1,repeatUnit:"D",allowedDays:{mon:!0,tue:!0,wed:!0,thu:!0,fri:!0,sat:!0,sun:!0}}}},{key:$localize`Custom`,value:"custom",data:{autoRun:!0,nextTime:{time:"13:00:00",date:new Date().toISOString().split("T")[0]},runAgain:{repeatValue:1,repeatUnit:"D",allowedDays:{mon:!0,tue:!0,wed:!0,thu:!0,fri:!0,sat:!0,sun:!0}}}}];function Dn(n){if(!n.autoRun)return null;let t=[n.runAgain.allowedDays.mon?"Monday":null,n.runAgain.allowedDays.tue?"Tuesday":null,n.runAgain.allowedDays.wed?"Wednesday":null,n.runAgain.allowedDays.thu?"Thursday":null,n.runAgain.allowedDays.fri?"Friday":null,n.runAgain.allowedDays.sat?"Saturday":null,n.runAgain.allowedDays.sun?"Sunday":null].filter(c=>c!==null),e=n.nextTime.time.split(":"),i=new Date(n.nextTime.date);i.setHours(parseInt(e[0])),i.setMinutes(parseInt(e[1]));let o=n.runAgain.repeatValue,a=n.runAgain.repeatUnit;return{Time:i.toISOString(),Repeat:`${o}${a}`,AllowedDays:t}}function xn(){let n=new Date,t=n.getDay(),e=t===1?7:(8-t)%7;return n.setDate(n.getDate()+e),n.setHours(12,0,0,0),n}var $t=()=>({autoRun:N(!0),nextTime:{time:N("13:00"),date:N(new Date().toISOString().split("T")[0])},runAgain:{repeatValue:N(1),repeatUnit:N("D"),allowedDays:{mon:N(!0),tue:N(!0),wed:N(!0),thu:N(!0),fri:N(!0),sat:N(!0),sun:N(!0)}}}),Lt=class n{#e=P(De);#t=P(Pe);#n=P(ke);unitOptions=Mn;scheduleFields=this.#e.scheduleFields;scheduleType=this.#e.scheduleType;scheduleOptions=Dt;updateScheduleType(t){let e=Dt.find(i=>i.value===t);if(e&&e?.value!=="custom"){this.scheduleType.set(e.value);let i=e.data;this.scheduleFields.autoRun.set(i.autoRun??!1),this.scheduleFields.nextTime.time.set(i.nextTime?.time??"13:00"),this.scheduleFields.nextTime.date.set(i.nextTime?.date??new Date().toISOString().split("T")[0]),this.scheduleFields.runAgain.repeatValue.set(i.runAgain?.repeatValue??1),this.scheduleFields.runAgain.repeatUnit.set(i.runAgain?.repeatUnit??"D"),this.scheduleFields.runAgain.allowedDays.mon.set(i.runAgain?.allowedDays?.mon??!0),this.scheduleFields.runAgain.allowedDays.tue.set(i.runAgain?.allowedDays?.tue??!0),this.scheduleFields.runAgain.allowedDays.wed.set(i.runAgain?.allowedDays?.wed??!0),this.scheduleFields.runAgain.allowedDays.thu.set(i.runAgain?.allowedDays?.thu??!0),this.scheduleFields.runAgain.allowedDays.fri.set(i.runAgain?.allowedDays?.fri??!0),this.scheduleFields.runAgain.allowedDays.sat.set(i.runAgain?.allowedDays?.sat??!0),this.scheduleFields.runAgain.allowedDays.sun.set(i.runAgain?.allowedDays?.sun??!0)}else this.scheduleType.set("custom")}goBack(){this.#t.navigate(["source-data"],{relativeTo:this.#n.parent})}next(){this.#e.isNew()||this.#e.submit(!0),this.#t.navigate(["options"],{relativeTo:this.#n.parent})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=W({type:n,selectors:[["app-schedule"]],decls:12,vars:4,consts:()=>{let t;t=$localize`Select an option...`;let e;e=$localize`Schedule`;let i;i=$localize`${"\uFFFD#8\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#8\uFFFD"}:CLOSE_TAG_SH_ICON: Go back `;let o;o=$localize`${"\uFFFD#11\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#11\uFFFD"}:CLOSE_TAG_SH_ICON: Continue `;let a;a=$localize` Automatically run backups ${"\uFFFD#3\uFFFD\uFFFD/#3\uFFFD"}:TAG_INPUT:`;let c;c=$localize`If a date was missed, the job will run as soon as possible.`;let u;u=$localize`Next time`;let m;m=$localize`Run again every`;let h;h=$localize`Allowed days`;let $;$=$localize` Monday ${"\uFFFD#28\uFFFD\uFFFD/#28\uFFFD"}:TAG_INPUT:`;let B;B=$localize` Tuesday ${"\uFFFD#31\uFFFD\uFFFD/#31\uFFFD"}:TAG_INPUT:`;let q;q=$localize` Wednesday ${"\uFFFD#34\uFFFD\uFFFD/#34\uFFFD"}:TAG_INPUT:`;let L;L=$localize` Thursday ${"\uFFFD#37\uFFFD\uFFFD/#37\uFFFD"}:TAG_INPUT:`;let F;F=$localize` Friday ${"\uFFFD#40\uFFFD\uFFFD/#40\uFFFD"}:TAG_INPUT:`;let G;G=$localize` Saturday ${"\uFFFD#43\uFFFD\uFFFD/#43\uFFFD"}:TAG_INPUT:`;let v;return v=$localize` Sunday ${"\uFFFD#46\uFFFD\uFFFD/#46\uFFFD"}:TAG_INPUT:`,[["timeRef",""],["dateRef",""],e,i,o,a,c,u,m,h,$,B,q,L,F,G,v,[1,"title-30"],["label","key","value","value",3,"isClearable","options"],["type","text","placeholder",t,3,"ngModelChange","ngModel"],[1,"form-actions"],["shButton","","type","button",3,"click"],["shButton","",1,"raised","primary",3,"click"],[1,"toggle-wrap"],[1,"raised","primary"],["type","checkbox",3,"ngModelChange","ngModel"],[1,"row-inputs"],["for","time"],["type","time","id","time",3,"ngModelChange","ngModel"],["suffix",""],[1,"primary","sharp"],["for","date"],["type","text","id","date",3,"ngModelChange","ngModel"],["for","repeatValue"],["type","number","id","repeatValue",3,"ngModelChange","ngModel"],["value","key","label","label",3,"options","isClearable"],["type","text","id","repeatUnit",3,"ngModelChange","ngModel"],[3,"disallowToggle"],["title",""],[1,"days-wrap"]]},template:function(e,i){e&1&&(l(0,"h3",17),x(1,2),r(),l(2,"sh-select",18)(3,"input",19),f("ngModelChange",function(a){return i.updateScheduleType(a)}),r()(),S(4,On,7,2),l(5,"div",20)(6,"button",21),f("click",function(){return i.goBack()}),I(7,3),A(8,"sh-icon"),y(),r(),l(9,"button",22),f("click",function(){return i.next()}),I(10,4),A(11,"sh-icon"),y(),r()()),e&2&&(_(2),d("isClearable",!1)("options",i.scheduleOptions),_(),d("ngModel",i.scheduleType()),_(),E(i.scheduleType()==="custom"?4:-1))},dependencies:[ge,oe,st,ot,ae,Ce,Te,Ke,le,Z,Me,mt,_n],styles:["[_nghost-%COMP%]{display:block;width:100%;max-width:40rem;padding:2.5rem 2.5rem 1.5rem;display:flex;flex-direction:column;gap:1.5rem}.toggle-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.row-inputs[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:.5rem}.row-inputs[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0}.days-wrap[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"],changeDetection:0})};function wn(n,t){if(n&1){let e=D();l(0,"sh-select",2)(1,"input",6),k("ngModelChange",function(o){C(e);let a=s();return b(a.internalPath,o)||(a.internalPath=o),g(o)}),f("ngModelChange",function(){C(e);let o=s();return g(o.updateFilter())}),r()()}if(n&2){let e=s();d("options",e.fileGroupOptions())("isClearable",!1)("selectMultiple",!0),_(),U("ngModel",e.internalPath)}}function Rn(n,t){if(n&1&&(se(0,7),p(1),ie()),n&2){let e,i=s(2);_(),He((e=i.currentExpressionOption())==null?null:e.startsWith)}}function Ln(n,t){if(n&1&&(se(0,8),p(1),ie()),n&2){let e,i=s(2);_(),He((e=i.currentExpressionOption())==null?null:e.endsWith)}}function $n(n,t){if(n&1){let e=D();l(0,"sh-form-field",3)(1,"input",6),k("ngModelChange",function(o){C(e);let a=s();return b(a.internalPath,o)||(a.internalPath=o),g(o)}),f("ngModelChange",function(){C(e);let o=s();return g(o.updateFilter())}),r(),S(2,Rn,2,1,"ng-container",7),S(3,Ln,2,1,"ng-container",8),r()}if(n&2){let e,i,o=s();_(),U("ngModel",o.internalPath),_(),E(!((e=o.currentExpressionOption())==null||e.startsWith==null)&&e.startsWith.length?2:-1),_(),E(!((i=o.currentExpressionOption())==null||i.endsWith==null)&&i.endsWith.length?3:-1)}}var Gn=[{key:"Applications",value:"Applications"},{key:"CacheFiles",value:"Cache Files"},{key:"TemporaryFiles",value:"Temporary Files"},{key:"OperatingSystem",value:"Operating System"},{key:"SystemFiles",value:"System Files"},{key:"DefaultExcludes",value:"Standard Excludes"}],vn=[{key:"Excludes folders where name contains",value:"-FolderName"},{key:"Excludes folder",value:"-Folder"},{key:"Excludes files where name contains",value:"-FileName"},{key:"Excludes file extension",value:"-Extension"},{key:"Excludes files where name matches regex",value:"-Regex"},{key:"Includes files where name matches regex",value:"+Regex"},{key:"Exclude file groups",value:"-FileGroup"},{key:"Includes expression",value:"+Expression"},{key:"Excludes expression",value:"-Expression"},{key:"None",value:"-Unknown"}],At=class n{path=te.required();osType=te();pathChange=$e();remove=$e();internalPath=N("");pathType=N("-Expression");currentExpressionOption=M(()=>{let t=this.pathType();return this.expressionOptions().find(e=>e.value===t)});fileGroupOptions=N(Gn);expressionOptions=M(()=>{let e=this.osType()==="Windows"?"\\":"/";return vn.map(i=>i.value==="-Folder"||i.value==="+Folder"?me(X({},i),{startsWith:"",endsWith:""}):i.value==="-FolderName"||i.value==="+FolderName"?me(X({},i),{startsWith:"*",endsWith:`*${e}`}):i.value==="-FileName"||i.value==="+FileName"?me(X({},i),{startsWith:"[.*",endsWith:`[^\\${e}]*]`}):i.value==="-FileGroup"||i.value==="+FileGroup"?me(X({},i),{startsWith:"{",endsWith:"}"}):i.value==="-Regex"||i.value==="+Regex"?me(X({},i),{startsWith:"[",endsWith:"]"}):i.value==="-Extension"||i.value==="+Extension"?me(X({},i),{startsWith:"*.",endsWith:""}):me(X({},i),{startsWith:"",endsWith:""}))});pathEffect=ee(()=>{let t=this.path(),e=t.slice(1),i=t.startsWith("-")?"-":"+",o=this.osType()==="Windows",a=o?"\\":"/";e.startsWith("%")&&e.endsWith(a)||o&&e.slice(2).startsWith(a)&&e.endsWith(a)||e.startsWith(a)&&e.endsWith(a)?(this.pathType.set(`${i}Folder`),this.internalPath.set(e)):e.startsWith("*")&&e.endsWith(`*${a}`)?(this.pathType.set(`${i}FolderName`),this.internalPath.set(e.slice(1,-2))):e.startsWith("[.*")&&e.endsWith(`[^\\${a}]*]`)?(this.pathType.set(`${i}FileName`),this.internalPath.set(e.slice(3,-7))):e.startsWith("{")&&e.endsWith("}")?(this.pathType.set(`${i}FileGroup`),this.internalPath.set(e.slice(1,-1))):e.startsWith("[")&&e.endsWith("]")?(this.pathType.set(`${i}Regex`),this.internalPath.set(e.slice(1,-1))):e.startsWith("*.")?(this.pathType.set(`${i}Extension`),this.internalPath.set(e.slice(2))):(this.pathType.set(`${i}Expression`),this.internalPath.set(e))});updateFilter(){let t=this.internalPath(),e=this.currentExpressionOption();t!==""&&this.pathChange.emit(`${e?.value.slice(0,1)}${e?.startsWith??""}${t}${e?.endsWith??""}`)}removeFilter(){this.remove.emit()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=W({type:n,selectors:[["app-new-filter"]],inputs:{path:[1,"path"],osType:[1,"osType"]},outputs:{pathChange:"pathChange",remove:"remove"},decls:7,vars:4,consts:()=>{let t;return t=$localize`Select an option...`,[["value","value","label","key",3,"options","isClearable"],["type","text","placeholder",t,3,"ngModelChange","ngModel"],["value","key","label","value",1,"expression-input",3,"options","isClearable","selectMultiple"],[1,"expression-input"],[1,"filter-removal",3,"click"],[1,"sh-primary"],["type","text",3,"ngModelChange","ngModel"],["prefix",""],["suffix",""]]},template:function(e,i){if(e&1&&(l(0,"sh-select",0)(1,"input",1),k("ngModelChange",function(a){return b(i.pathType,a)||(i.pathType=a),a}),f("ngModelChange",function(){return i.updateFilter()}),r()(),S(2,wn,2,4,"sh-select",2)(3,$n,4,3,"sh-form-field",3),l(4,"div",4),f("click",function(){return i.removeFilter()}),l(5,"sh-icon",5),p(6,"x-circle"),r()()),e&2){let o;d("options",i.expressionOptions())("isClearable",!1),_(),U("ngModel",i.pathType),_(),E(((o=i.currentExpressionOption())==null?null:o.value)=="-FileGroup"||((o=i.currentExpressionOption())==null?null:o.value)=="+FileGroup"?2:3)}},dependencies:[ge,oe,ae,Ce,Me,Te,le],styles:["[_nghost-%COMP%]{display:grid;grid-template-columns:13.125rem 1fr 1.875rem;gap:.5rem;align-items:flex-end}.expression-input[_ngcontent-%COMP%]{--ff-suffix-bg: var(--base-2)}.filter-removal[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center;justify-content:center;height:2.5rem;flex:0 0}"],changeDetection:0})};var bn=["*"];function Vn(n,t){n&1&&(l(0,"sh-chip",4),p(1,"Special"),r())}function Un(n,t){n&1&&(l(0,"sh-chip",5),p(1,"Deprecated"),r())}function kn(n,t){if(n&1&&(l(0,"sh-card",0)(1,"div",1),A(2,"img",2),r(),l(3,"div",3),p(4),S(5,Vn,2,0,"sh-chip",4)(6,Un,2,0,"sh-chip",5),r(),l(7,"div",6),p(8),r(),l(9,"div",7),nt(10),r()()),n&2){s();let e=T(0);_(2),d("src",wt(e.icon),jt)("alt",wt(e.displayName)),_(2),J(" ",e.displayName," "),_(),E((e.sortOrder??0)==-2?5:(e.sortOrder??0)<0?6:-1),_(3),He(e.description)}}var Je=class n{destination=te();targetUrl=te();selectedDestinationType=M(()=>{let t=this.targetUrl();return t?Ye(t)??null:null});destinationFromTargetUrl=M(()=>{let t=this.selectedDestinationType();return t?{key:t.customKey??t.key,customKey:t.customKey??null,displayName:t.displayName,description:t.description,icon:t.icon}:null});destinationItem=M(()=>{let t=this.destination(),e=this.destinationFromTargetUrl();return t||e||null});static \u0275fac=function(e){return new(e||n)};static \u0275cmp=W({type:n,selectors:[["app-destination-list-item"]],inputs:{destination:[1,"destination"],targetUrl:[1,"targetUrl"]},ngContentSelectors:bn,decls:2,vars:2,consts:[[1,"type-b"],[1,"icon"],[3,"src","alt"],[1,"name"],[1,"small","simple","primary"],[1,"small","simple","warn"],[1,"description"],[1,"actions"]],template:function(e,i){if(e&1&&(tt(),_e(0),S(1,kn,11,7,"sh-card",0)),e&2){let o=j(i.destinationItem());_(),E(o?1:-1)}},dependencies:[rn,sn],styles:['[_nghost-%COMP%]{display:block}sh-card[_ngcontent-%COMP%]{display:grid;align-items:center;grid-template-columns:3rem 1fr auto;grid-template-areas:"icon name actions" "icon description actions";gap:.25rem 1rem}sh-card[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{grid-area:icon;display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:var(--shape-2)}sh-card[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{object-fit:contain;width:100%;border-radius:var(--shape-2);overflow:hidden}sh-card[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{grid-area:name;font:var(--paragraph-10)}sh-card[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{grid-area:description;color:var(--base-8)}sh-card[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{grid-area:actions;display:flex;align-items:center;gap:.5rem}'],changeDetection:0})};var Xe=class n{#e=P(Fe);supportedDestinationTypes=M(()=>this.#e.backendModules().flatMap(t=>{if(!t?.Key)return null;let e=Cn(t.Key);if(e.length<=1){let i=St(t.Key);return i.isDefaultEntry===!0?[me(X({},i),{displayName:t.DisplayName||i.displayName||t.Key,description:t.Description||i.description||""})]:i}else return e}).filter(t=>t!==null));destinationTypeOptions=M(()=>this.supportedDestinationTypes().map(t=>({key:t.customKey??t.key,customKey:t.customKey??null,displayName:t.displayName,description:t.description,icon:t.icon,searchTerms:[t.displayName,t.description,t.key,t.searchTerms??"",t.customKey??""].join(" "),sortOrder:t.sortOrder??0})));backendModules=M(()=>this.#e.backendModules()??[]);static \u0275fac=function(e){return new(e||n)};static \u0275prov=ye({token:n,factory:n.\u0275fac,providedIn:"root"})};function Bn(n,t){if(n&1){let e=D();l(0,"app-destination-list-item",3)(1,"button",4),f("click",function(){let o=C(e).$implicit,a=s();return g(a.setDestination.emit(o.customKey??o.key))}),I(2,0),A(3,"sh-icon"),y(),r()()}if(n&2){let e=t.$implicit;d("destination",e)}}var It=class n{#e=P(Xe);showAsSources=te(!1);setDestination=$e();destinationSearchTerm=N("");destinationTypeOptions=this.#e.destinationTypeOptions;destinationTypeOptionsFocused=M(()=>{let t=this.destinationTypeOptions(),e=this.destinationSearchTerm().toLowerCase(),i=[...t].sort((o,a)=>{let c=o.sortOrder??0,u=a.sortOrder??0;return c!==u?u-c:o.displayName.localeCompare(a.displayName)}).filter(o=>{let a=o.sortOrder??0;return a<0&&e?.length&&(o.key.toLocaleLowerCase()===e.toLocaleLowerCase()||o.customKey?.toLocaleLowerCase()===e.toLocaleLowerCase())?!0:a>=0});return e?i.filter(o=>o.searchTerms.toLowerCase().includes(e)):i});static \u0275fac=function(e){return new(e||n)};static \u0275cmp=W({type:n,selectors:[["app-destination-list"]],inputs:{showAsSources:[1,"showAsSources"]},outputs:{setDestination:"setDestination"},decls:5,vars:1,consts:()=>{let t;t=$localize`Search for destination...`;let e;return e=$localize` Choose ${"\uFFFD#3\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#3\uFFFD"}:CLOSE_TAG_SH_ICON:`,[e,["type","text","placeholder",t,3,"ngModelChange","ngModel"],[1,"list"],[3,"destination"],["shButton","","type","button",3,"click"]]},template:function(e,i){e&1&&(l(0,"sh-form-field")(1,"input",1),k("ngModelChange",function(a){return b(i.destinationSearchTerm,a)||(i.destinationSearchTerm=a),a}),r()(),l(2,"div",2),fe(3,Bn,4,1,"app-destination-list-item",3,Ee),r()),e&2&&(_(),U("ngModel",i.destinationSearchTerm),_(2),he(i.destinationTypeOptionsFocused()))},dependencies:[Je,ge,oe,ae,Ce,Te,Z,le],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1rem;height:100%;overflow:hidden}.list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;height:100%;overflow:auto;padding-bottom:1rem;border-bottom:.0625rem solid var(--base-4)}"],changeDetection:0})};var Kn=["fileInput"],zn=[[["label"]]],Jn=["label"],yt=class n{customId=te();content=N("");readonly=N(!1);placeholder=te("Drop a file here or use the browse button");fileInputRef=Ue("fileInput");onFileSelected(t){let e=t.target;e.files&&e.files.length>0&&this.readFile(e.files[0])}onFileDrop(t){t.preventDefault(),t.dataTransfer?.files&&t.dataTransfer.files.length>0&&this.readFile(t.dataTransfer.files[0])}onDragOver(t){t.preventDefault()}readFile(t){let e=new FileReader;e.onload=()=>{this.content.set(e.result)},e.readAsText(t)}triggerBrowse(){return this.fileInputRef()?.nativeElement.click(),!1}onChange=()=>{};onTouched=()=>{};onChangeEffect=ee(()=>{this.onChange(this.content())});writeValue(t){this.content.set(t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.readonly.set(t)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=W({type:n,selectors:[["app-file-drop-textarea"]],viewQuery:function(e,i){e&1&&be(i.fileInputRef,Kn,5),e&2&&Ve()},inputs:{customId:[1,"customId"],placeholder:[1,"placeholder"]},features:[Zt([{provide:nn,useExisting:n,multi:!0}])],ngContentSelectors:Jn,decls:9,vars:3,consts:[["fileInput",""],[1,"browse-btn"],["shButton","","type","button",1,"small","outlined",3,"click"],[1,"textarea-container","textarea-wrap",3,"drop","dragover"],["rows","10",3,"ngModelChange","placeholder","ngModel","disabled"],["type","file",1,"hidden",3,"change"]],template:function(e,i){if(e&1){let o=D();tt(zn),nt(0,0,["ngProjectAs","label",5,["label"]]),l(1,"div",1)(2,"button",2),f("click",function(){return C(o),g(i.triggerBrowse())}),l(3,"sh-icon"),p(4,"upload"),r()()(),l(5,"div",3),f("drop",function(c){return C(o),g(i.onFileDrop(c))})("dragover",function(c){return C(o),g(i.onDragOver(c))}),l(6,"textarea",4),k("ngModelChange",function(c){return C(o),b(i.content,c)||(i.content=c),g(c)}),r()(),l(7,"input",5,0),f("change",function(c){return C(o),g(i.onFileSelected(c))}),r()}e&2&&(_(6),d("placeholder",i.placeholder()),U("ngModel",i.content),d("disabled",i.readonly()))},dependencies:[ge,oe,ae,Ce,le,Z],styles:['[_nghost-%COMP%]{display:grid;grid-template-areas:"label browsebtn" "input input";grid-template-columns:8fr 1fr;gap:.5rem;align-items:flex-end}[_nghost-%COMP%] .browse-btn[_ngcontent-%COMP%]{grid-area:browsebtn}[_nghost-%COMP%] .label[_ngcontent-%COMP%]{grid-area:label;grid-column:1/-1}[_nghost-%COMP%] .textarea-wrap[_ngcontent-%COMP%]{grid-area:input;width:100%;border:none;font:var(--code-20)}[_nghost-%COMP%] .textarea-wrap[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%;color:var(--base-8);background-color:var(--base-1);border:1px solid var(--base-4);border-radius:var(--shape-3);padding:.5rem;resize:vertical;box-shadow:var(--box-shadow-10)}[_nghost-%COMP%] .textarea-wrap[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%] .dark[_ngcontent-%COMP%]{background-color:var(--base-2)}[_nghost-%COMP%] .hidden[_ngcontent-%COMP%]{display:none}'],changeDetection:0})};var Xn=(n,t,e,i)=>({index:n,fieldGroup:"custom",formView:t,destinationType:e,oauthField:i}),ne=n=>({$implicit:n}),Wn=(n,t,e,i)=>({index:n,fieldGroup:"dynamic",formView:t,destinationType:e,oauthField:i}),Hn=()=>({updateOn:"blur"}),jn=(n,t,e,i)=>({index:n,formView:t,fieldGroup:"advanced",destinationType:e,oauthField:i}),Se=(n,t)=>({fieldGroup:n,formView:t}),qn=()=>["/connect/logon"];function Yn(n,t){n&1&&Y(0)}function Qn(n,t){if(n&1&&K(0,Yn,1,0,"ng-container",24),n&2){let e=t.$implicit,i=t.$index;s();let o=H(15);s();let a=T(0),c=T(1);d("ngTemplateOutlet",o)("ngTemplateOutletContext",Q(7,ne,it(2,Xn,i,e,a,c.oauthField)))}}function Zn(n,t){n&1&&Y(0)}function ei(n,t){if(n&1&&K(0,Zn,1,0,"ng-container",24),n&2){let e=t.$implicit,i=t.$index;s();let o=H(15);s();let a=T(0),c=T(1);d("ngTemplateOutlet",o)("ngTemplateOutletContext",Q(7,ne,it(2,Wn,i,e,a,c.oauthField)))}}function ti(n,t){if(n&1){let e=D();l(0,"button",25),f("click",function(){C(e);let o=s(2);return g(o.showTextArea.set(!1))}),I(1,8),A(2,"sh-icon"),y(),r()}}function ni(n,t){if(n&1){let e=D();l(0,"button",32,2),f("click",function(){let o=C(e).$implicit,a=s(3);return g(a.addAdvancedOption(o))}),p(2),r()}if(n&2){let e=t.$implicit;_(2),J(" ",e.name," ")}}function ii(n,t){if(n&1){let e=D();l(0,"div",22)(1,"sh-menu",26)(2,"button",27),I(3,9),A(4,"sh-icon"),y(),r(),se(5,28),fe(6,ni,3,1,"button",29,Ee),ie(),r(),l(8,"sh-menu")(9,"button",30)(10,"sh-icon"),p(11,"dots-three-vertical"),r()(),se(12,28),l(13,"button",31),f("click",function(){C(e);let o=s(2);return g(o.showTextArea.set(!0))}),l(14,"sh-icon"),p(15,"link"),r(),p(16," Edit contents as text "),r(),ie(),r()()}if(n&2){s();let e=T(9);_(),d("searchable",!0),_(),d("disabled",e.length===0),_(4),he(e)}}function oi(n,t){if(n&1){let e=D();l(0,"textarea",33),f("ngModelChange",function(o){C(e);let a=s(2);return g(a.updateSettingsFromText(o))}),r()}if(n&2){let e=s(2);d("ngModel",e.settingsAsText())("ngModelOptions",Re(2,Hn))}}function ai(n,t){n&1&&Y(0)}function li(n,t){if(n&1&&K(0,ai,1,0,"ng-container",24),n&2){let e=t.$implicit,i=t.$index;s(2);let o=H(15),a=s(),c=T(0),u=T(1),m=a.getFormView("advanced",e)??a.getDefaultFormView(e);d("ngTemplateOutlet",o)("ngTemplateOutletContext",Q(7,ne,it(2,jn,i,m,c,u.oauthField)))}}function ri(n,t){if(n&1&&fe(0,li,1,9,"ng-container",null,Ee),n&2){let e=s(2);he(e.advancedFormFieldNames())}}function si(n,t){n&1&&(l(0,"sup",42),p(1,"*"),r())}function _i(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(2).$implicit;d("shTooltip",e.formView.longDescription)}}function ci(n,t){if(n&1){let e=D();l(0,"app-file-tree",35)(1,"label",41),S(2,si,2,0,"sup",42),p(3),S(4,_i,2,1,"sh-icon",43),r(),l(5,"input",44),f("ngModelChange",function(o){C(e);let a=s().$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),r()()}if(n&2){let e=s().$implicit,i=T(1),o=T(2),a=T(3),c=T(4),u=T(5);d("startingPath",a)("accepts",e.formView.accepts)("showFiles",!0)("hideShortcuts",!0)("showHiddenNodes",!0)("selectFiles",!0),_(),d("for",u),_(),E(e.formView.isMandatory&&c?2:-1),_(),J(" ",i," "),_(),E(e.formView.longDescription?4:-1),_(),d("id",u)("ngModel",o)}}function di(n,t){n&1&&(l(0,"sup",45),p(1,"*"),r())}function ui(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(2).$implicit;d("shTooltip",e.formView.longDescription)}}function pi(n,t){if(n&1){let e=D();l(0,"app-file-tree",36)(1,"label",41),S(2,di,2,0,"sup",45),p(3),S(4,ui,2,1,"sh-icon",43),r(),l(5,"input",44),f("ngModelChange",function(o){C(e);let a=s().$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),r()()}if(n&2){let e=s().$implicit,i=T(1),o=T(2),a=T(3),c=T(4),u=T(5);d("hideShortcuts",!0)("enableCreateFolder",!0)("startingPath",a),_(),d("for",u),_(),E(e.formView.isMandatory&&c?2:-1),_(),J(" ",i," "),_(),E(e.formView.longDescription?4:-1),_(),d("id",u)("ngModel",o)}}function mi(n,t){n&1&&(l(0,"sup",46),p(1,"*"),r())}function Ci(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(2).$implicit;d("shTooltip",e.formView.longDescription)}}function gi(n,t){n&1&&(l(0,"sh-icon",47),p(1," warning "),r())}function Ti(n,t){n&1&&Y(0)}function Si(n,t){if(n&1&&(l(0,"sh-icon",51),p(1," link "),r()),n&2){s();let e=T(8),i=T(9);Ne("error",e&&i==="error")("warn",e&&i==="warning"),d("shTooltip",e)}}function Ei(n,t){n&1&&(l(0,"sh-icon",50),p(1,"envelope"),r())}function fi(n,t){n&1&&(l(0,"sh-icon",50),p(1,"hard-drives"),r())}function hi(n,t){n&1&&(l(0,"sh-icon",50),p(1,"jar"),r())}function Ni(n,t){n&1&&(l(0,"sh-icon",50),p(1,"textbox"),r())}function Fi(n,t){if(n&1){let e=D();l(0,"sh-form-field")(1,"label",41),S(2,mi,2,0,"sup",46),p(3),S(4,Ci,2,1,"sh-icon",43),S(5,gi,2,0,"sh-icon",47),K(6,Ti,1,0,"ng-container",24),r(),l(7,"input",48),f("keydown",function(o){C(e);let a=s().$implicit,c=s(2);return g(c.onKeyDown(a.fieldGroup,a.formView.name,a.formView.type,o))})("ngModelChange",function(o){C(e);let a=s().$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),r(),_e(8)(9),S(10,Si,2,5,"sh-icon",49)(11,Ei,2,0,"sh-icon",50)(12,fi,2,0,"sh-icon",50)(13,hi,2,0,"sh-icon",50)(14,Ni,2,0,"sh-icon",50),r()}if(n&2){let e=s().$implicit,i=T(1),o=T(2),a=T(3),c=T(4),u=T(5);s();let m=H(17);_(),d("for",u),_(),E(e.formView.isMandatory&&c?2:-1),_(),J(" ",i," "),_(),E(e.formView.longDescription?4:-1),_(),E(c&&e.formView.type==="Path"?5:-1),_(),d("ngTemplateOutlet",m)("ngTemplateOutletContext",Q(16,ne,ce(13,Se,e.fieldGroup,e.formView))),_(),d("type",e.formView.type==="Email"?"email":"text")("id",u)("ngModel",o);let h=a,$=s().hasLeadingSlash(h??"");_(),j($&&(e.formView.doubleSlash==null?null:e.formView.doubleSlash.message)),_(),j(e.formView.doubleSlash==null?null:e.formView.doubleSlash.type),_(),E(e.formView.type==="Path"?10:e.formView.type==="Email"?11:e.formView.type==="Hostname"?12:e.formView.type==="Bucketname"||e.formView.type==="BucketnameB2"?13:14)}}function Di(n,t){n&1&&(l(0,"sup",52),p(1,"*"),r())}function Ai(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(2).$implicit;d("shTooltip",e.formView.longDescription)}}function Ii(n,t){n&1&&Y(0)}function yi(n,t){if(n&1){let e=D();l(0,"span",56),f("click",function(){C(e);let o=s(2).$implicit,a=s(2);return g(a.oauthStartTokenCreation(o.destinationType,o.fieldGroup,o.formView.name,o.formView.oauthVersion))}),p(1," AuthID "),r()}}function Pi(n,t){n&1&&(l(0,"sh-icon",50),p(1,"password"),r())}function Oi(n,t){if(n&1){let e=D();l(0,"sh-icon",57),f("click",function(){C(e);let o=s(2).$implicit;return g(o.formView.showPassword=!o.formView.showPassword)}),p(1," eye "),r()}}function Mi(n,t){if(n&1){let e=D();l(0,"sh-icon",57),f("click",function(){C(e);let o=s(2).$implicit;return g(o.formView.showPassword=!o.formView.showPassword)}),p(1," eye-slash "),r()}}function xi(n,t){if(n&1){let e=D();l(0,"sh-form-field")(1,"label",41),S(2,Di,2,0,"sup",52),p(3),S(4,Ai,2,1,"sh-icon",43),K(5,Ii,1,0,"ng-container",24),r(),l(6,"input",53),f("ngModelChange",function(o){C(e);let a=s().$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),r(),S(7,yi,2,0,"span",54)(8,Pi,2,0,"sh-icon",50),S(9,Oi,2,0,"sh-icon",55)(10,Mi,2,0,"sh-icon",55),r()}if(n&2){let e=s().$implicit,i=T(1),o=T(2),a=T(4),c=T(5);s();let u=H(17);_(),d("for",c),_(),E(e.formView.isMandatory&&a?2:-1),_(),J(" ",i," "),_(),E(e.formView.longDescription?4:-1),_(),d("ngTemplateOutlet",u)("ngTemplateOutletContext",Q(14,ne,ce(11,Se,e.fieldGroup,e.formView))),_(),d("type",e.formView.showPassword?"text":"password")("id",c)("ngModel",o),_(),E(e.oauthField===e.formView.name?7:8),_(2),E(e.formView.showPassword?9:10)}}function wi(n,t){n&1&&(l(0,"sup",59),p(1,"*"),r())}function Ri(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(3).$implicit;d("shTooltip",e.formView.longDescription)}}function Li(n,t){n&1&&Y(0)}function $i(n,t){if(n&1&&p(0),n&2){let e=t.$implicit;je(" ",e.key," ",e.value&&e.value!=e.key?"("+e.value+")":""," ")}}function Gi(n,t){if(n&1){let e=D();l(0,"sh-select",58)(1,"label",41),S(2,wi,2,0,"sup",59),p(3),S(4,Ri,2,1,"sh-icon",43),K(5,Li,1,0,"ng-container",24),r(),l(6,"input",44),f("ngModelChange",function(o){C(e);let a=s(2).$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),r()(),K(7,$i,1,2,"ng-template",null,3,Le)}if(n&2){let e=H(8);s();let i=T(0),o=s().$implicit,a=T(1),c=T(2),u=T(4),m=T(5);s();let h=H(17);d("options",i)("isClearable",!1)("optionTemplate",e),_(),d("for",m),_(),E(o.formView.isMandatory&&u?2:-1),_(),J(" ",a," "),_(),E(o.formView.longDescription?4:-1),_(),d("ngTemplateOutlet",h)("ngTemplateOutletContext",Q(14,ne,ce(11,Se,o.fieldGroup,o.formView))),_(),d("id",m)("ngModel",c)}}function vi(n,t){if(n&1&&(_e(0),S(1,Gi,9,16)),n&2){let e=s().$implicit,i=j(s(2).mapOptions(e.formView));_(),E(i?1:-1)}}function bi(n,t){n&1&&(l(0,"sup",62),p(1,"*"),r())}function Vi(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(3).$implicit;d("shTooltip",e.formView.longDescription)}}function Ui(n,t){n&1&&Y(0)}function ki(n,t){if(n&1&&p(0),n&2){let e=t.$implicit;je(" ",e.key," ",e.value&&e.value!=e.key?"("+e.value+")":""," ")}}function Bi(n,t){if(n&1){let e=D();l(0,"sh-select",61)(1,"label",41),S(2,bi,2,0,"sup",62),p(3),S(4,Vi,2,1,"sh-icon",43),K(5,Ui,1,0,"ng-container",24),r(),l(6,"input",44),f("ngModelChange",function(o){C(e);let a=s(2).$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),r()(),K(7,ki,1,2,"ng-template",null,4,Le)}if(n&2){let e=H(8);s();let i=T(0),o=s().$implicit,a=T(1),c=T(2),u=T(4),m=T(5);s();let h=H(17);d("options",i)("asFreeText",!0)("inlineSearch",!0)("optionTemplate",e),_(),d("for",m),_(),E(o.formView.isMandatory&&u?2:-1),_(),J(" ",a," "),_(),E(o.formView.longDescription?4:-1),_(),d("ngTemplateOutlet",h)("ngTemplateOutletContext",Q(15,ne,ce(12,Se,o.fieldGroup,o.formView))),_(),d("id",m)("ngModel",c)}}function Ki(n,t){n&1&&A(0,"sh-progress-bar",60)}function zi(n,t){if(n&1&&(_e(0),S(1,Bi,9,17)(2,Ki,1,0,"sh-progress-bar",60)),n&2){let e=s().$implicit,i=T(2),o=j(s(2).mapOptionsWithFreeText(e.formView,i));_(),E(o?1:2)}}function Ji(n,t){n&1&&(l(0,"sup",64),p(1,"*"),r())}function Xi(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(2).$implicit;d("shTooltip",e.formView.longDescription)}}function Wi(n,t){n&1&&Y(0)}function Hi(n,t){if(n&1){let e=D();l(0,"app-size",63),f("ngModelChange",function(o){C(e);let a=s().$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),l(1,"label",41),S(2,Ji,2,0,"sup",64),p(3),S(4,Xi,2,1,"sh-icon",43),K(5,Wi,1,0,"ng-container",24),r()()}if(n&2){let e=s().$implicit,i=T(1),o=T(2),a=T(4),c=T(5);s();let u=H(17);d("inputType",e.Name)("ngModel",o)("customId",c),_(),d("for",c),_(),E(e.formView.isMandatory&&a?2:-1),_(),J(" ",i," "),_(),E(e.formView.longDescription?4:-1),_(),d("ngTemplateOutlet",u)("ngTemplateOutletContext",Q(12,ne,ce(9,Se,e.fieldGroup,e.formView)))}}function ji(n,t){n&1&&(l(0,"sup",65),p(1,"*"),r())}function qi(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(2).$implicit;d("shTooltip",e.formView.longDescription)}}function Yi(n,t){n&1&&Y(0)}function Qi(n,t){if(n&1){let e=D();l(0,"sh-form-field")(1,"label",41),S(2,ji,2,0,"sup",65),p(3),S(4,qi,2,1,"sh-icon",43),K(5,Yi,1,0,"ng-container",24),r(),l(6,"input",66),f("ngModelChange",function(o){C(e);let a=s().$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),r(),l(7,"sh-icon",50),p(8,"numpad"),r()()}if(n&2){let e=s().$implicit,i=T(1),o=T(2),a=T(4),c=T(5);s();let u=H(17);_(),d("for",c),_(),E(e.formView.isMandatory&&a?2:-1),_(),J(" ",i," "),_(),E(e.formView.longDescription?4:-1),_(),d("ngTemplateOutlet",u)("ngTemplateOutletContext",Q(11,ne,ce(8,Se,e.fieldGroup,e.formView))),_(),d("id",c)("ngModel",o)}}function Zi(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(2).$implicit;d("shTooltip",e.formView.longDescription)}}function eo(n,t){n&1&&Y(0)}function to(n,t){if(n&1){let e=D();l(0,"sh-toggle",67),f("click",function(){C(e);let o=s().$implicit,a=T(2),c=s(2);return g(c.updateFieldValue(o.fieldGroup,o.formView.name,c.isTrue(a)?"false":"true"))}),l(1,"label",41),p(2),S(3,Zi,2,1,"sh-icon",43),K(4,eo,1,0,"ng-container",24),r()()}if(n&2){let e=s().$implicit,i=T(1),o=T(2),a=T(5);s();let c=H(17),u=s();Ne("active",u.isTrue(o)),_(),d("for",a),_(),J(" ",i," "),_(),E(e.formView.longDescription?3:-1),_(),d("ngTemplateOutlet",c)("ngTemplateOutletContext",Q(10,ne,ce(7,Se,e.fieldGroup,e.formView)))}}function no(n,t){n&1&&(l(0,"sup",69),p(1,"*"),r())}function io(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(3).$implicit;d("shTooltip",e.formView.longDescription)}}function oo(n,t){n&1&&Y(0)}function ao(n,t){if(n&1&&p(0),n&2){let e=t.$implicit;je(" ",e.key," ",e.value&&e.value!=e.key?"("+e.value+")":""," ")}}function lo(n,t){if(n&1){let e=D();l(0,"sh-select",68)(1,"label",41),S(2,no,2,0,"sup",69),p(3),S(4,io,2,1,"sh-icon",43),K(5,oo,1,0,"ng-container",24),r(),l(6,"input",70),f("ngModelChange",function(o){C(e);let a=s(2).$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),r()(),K(7,ao,1,2,"ng-template",null,5,Le)}if(n&2){let e=H(8);s();let i=T(0),o=s().$implicit,a=T(1),c=T(2),u=T(4),m=T(5);s();let h=H(17);d("options",i)("selectMultiple",!0)("optionTemplate",e),_(),d("for",m),_(),E(o.formView.isMandatory&&u?2:-1),_(),J(" ",a," "),_(),E(o.formView.longDescription?4:-1),_(),d("ngTemplateOutlet",h)("ngTemplateOutletContext",Q(13,ne,ce(10,Se,o.fieldGroup,o.formView))),_(),d("ngModel",c)}}function ro(n,t){if(n&1&&(_e(0),S(1,lo,9,15)),n&2){let e=s().$implicit,i=j(s(2).mapOptions(e.formView));_(),E(i?1:-1)}}function so(n,t){n&1&&(l(0,"sup",71),p(1,"*"),r())}function _o(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(2).$implicit;d("shTooltip",e.formView.longDescription)}}function co(n,t){n&1&&Y(0)}function uo(n,t){if(n&1){let e=D();l(0,"app-timespan",63),f("ngModelChange",function(o){C(e);let a=s().$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),l(1,"label",41),S(2,so,2,0,"sup",71),p(3),S(4,_o,2,1,"sh-icon",43),K(5,co,1,0,"ng-container",24),r()()}if(n&2){let e=s().$implicit,i=T(1),o=T(2),a=T(4),c=T(5);s();let u=H(17);d("inputType",e.formView.name)("ngModel",o)("customId",c),_(),d("for",c),_(),E(e.formView.isMandatory&&a?2:-1),_(),J(" ",i," "),_(),E(e.formView.longDescription?4:-1),_(),d("ngTemplateOutlet",u)("ngTemplateOutletContext",Q(12,ne,ce(9,Se,e.fieldGroup,e.formView)))}}function po(n,t){n&1&&(l(0,"sup",73),p(1,"*"),r())}function mo(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(2).$implicit;d("shTooltip",e.formView.longDescription)}}function Co(n,t){n&1&&Y(0)}function go(n,t){if(n&1){let e=D();l(0,"app-file-drop-textarea",72),f("ngModelChange",function(o){C(e);let a=s().$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),l(1,"label"),S(2,po,2,0,"sup",73),p(3),S(4,mo,2,1,"sh-icon",43),K(5,Co,1,0,"ng-container",24),r()()}if(n&2){let e=s().$implicit,i=T(2),o=T(4),a=T(5);s();let c=H(17);d("ngModel",i)("customId",a)("placeholder",e.formView.longDescription),_(2),E(e.formView.isMandatory&&o?2:-1),_(),J(" ",e.formView.shortDescription??e.formView.name," "),_(),E(e.formView.longDescription?4:-1),_(),d("ngTemplateOutlet",c)("ngTemplateOutletContext",Q(11,ne,ce(8,Se,e.fieldGroup,e.formView)))}}function To(n,t){n&1&&(A(0,"sh-spinner"),l(1,"span"),x(2,10),r()),n&2&&Qt("--spinner-size","16px")("--spinner-thickness","2px")}function So(n,t){n&1&&(l(0,"div",76),x(1,11),r())}function Eo(n,t){if(n&1&&p(0),n&2){let e=t.$implicit;je(" ",e.key," ",e.value&&e.value!=e.key?"("+e.value+")":""," ")}}function fo(n,t){if(n&1){let e=D();l(0,"sh-select",77)(1,"label",41)(2,"sup",78),p(3,"*"),r(),l(4,"span"),x(5,12),r()(),l(6,"input",44),f("ngModelChange",function(o){C(e);let a=s(4).$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),r()(),K(7,Eo,1,2,"ng-template",null,6,Le)}if(n&2){s(4);let e=T(2),i=T(5),o=s(2);d("options",o.restoreBackupIdOptions())("isClearable",!1),_(),d("for",i),_(5),d("id",i)("ngModel",e)}}function ho(n,t){if(n&1&&S(0,To,3,4)(1,So,2,0,"div",76)(2,fo,9,5),n&2){let e=s(5);E(e.isLoadingRestoreBackupIdOptions()?0:e.restoreBackupIdOptions().length==0?1:2)}}function No(n,t){n&1&&(l(0,"sup",79),p(1,"*"),r())}function Fo(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(4).$implicit;d("shTooltip",e.formView.longDescription)}}function Do(n,t){n&1&&Y(0)}function Ao(n,t){if(n&1){let e=D();l(0,"button",81),f("click",function(){C(e),s(4);let o=T(5),a=s(2);return g(a.toggleDisabled(o))}),I(1,13),A(2,"sh-icon"),y(),r()}}function Io(n,t){if(n&1){let e=D();l(0,"sh-form-field")(1,"label",41),S(2,No,2,0,"sup",79),p(3),S(4,Fo,2,1,"sh-icon",43),K(5,Do,1,0,"ng-container",24),r(),l(6,"input",80),f("ngModelChange",function(o){C(e);let a=s(3).$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),r(),l(7,"sh-icon",50),p(8,"textbox"),r()(),S(9,Ao,3,0,"button",40)}if(n&2){let e=s(3).$implicit,i=T(1),o=T(2),a=T(4),c=T(5);s();let u=H(17),m=s();_(),d("for",c),_(),E(e.formView.isMandatory&&a?2:-1),_(),J(" ",i," "),_(),E(e.formView.longDescription?4:-1),_(),d("ngTemplateOutlet",u)("ngTemplateOutletContext",Q(15,ne,ce(12,Se,e.fieldGroup,e.formView))),_(),d("type","text")("id",c)("ngModel",o)("placeholder",e.formView.longDescription)("disabled",!0),_(3),E(m.getIsDisabled(c)?9:-1)}}function yo(n,t){if(n&1&&(l(0,"div",74),S(1,ho,3,1)(2,Io,10,17),r()),n&2){let e=s(4);_(),E(e.isRestoreFlow()?1:2)}}function Po(n,t){if(n&1){let e=D();l(0,"div",82),I(1,14),A(2,"div")(3,"div"),y(),r(),l(4,"button",81),f("click",function(){C(e);let o=s(5);return g(o.openConsole())}),I(5,15),A(6,"sh-icon"),y(),r()}}function Oo(n,t){n&1&&(l(0,"div",82),x(1,16),r(),l(2,"button",83),I(3,17),A(4,"sh-icon"),y(),r()),n&2&&(_(2),d("routerLink",Re(1,qn)))}function Mo(n,t){if(n&1&&(l(0,"div",75),S(1,Po,7,0)(2,Oo,5,2),r()),n&2){let e=s(4);_(),E(e.isConnectedToConsole()?1:2)}}function xo(n,t){if(n&1&&S(0,yo,3,1,"div",74)(1,Mo,3,1,"div",75),n&2){let e=s(3);E(e.isConnectedToConsole()&&e.hasStorageApiKey()?0:1)}}function wo(n,t){n&1&&(l(0,"sup",85),p(1,"*"),r())}function Ro(n,t){if(n&1&&(l(0,"sh-icon",43),p(1,"question"),r()),n&2){let e=s(3).$implicit;d("shTooltip",e.formView.longDescription)}}function Lo(n,t){n&1&&Y(0)}function $o(n,t){if(n&1){let e=D();l(0,"div",84)(1,"sh-form-field")(2,"label",41),S(3,wo,2,0,"sup",85),p(4),S(5,Ro,2,1,"sh-icon",43),K(6,Lo,1,0,"ng-container",24),r(),l(7,"input",86),f("ngModelChange",function(o){C(e);let a=s(2).$implicit,c=s(2);return g(c.updateFieldValue(a.fieldGroup,a.formView.name,o))}),r(),l(8,"sh-icon",50),p(9,"textbox"),r()(),l(10,"button",87),f("click",function(){C(e);let o=s(4);return g(o.authenticateFilen())}),I(11,18),A(12,"sh-icon"),y(),r()()}if(n&2){let e=s(2).$implicit,i=T(1),o=T(2),a=T(4),c=T(5);s();let u=H(17),m=s();_(2),d("for",c),_(),E(e.formView.isMandatory&&a?3:-1),_(),J(" ",i," "),_(),E(e.formView.longDescription?5:-1),_(),d("ngTemplateOutlet",u)("ngTemplateOutletContext",Q(12,ne,ce(9,Se,e.fieldGroup,e.formView))),_(),d("id",c)("ngModel",o),_(3),d("disabled",m.isAuthenticatingFilen())}}function Go(n,t){if(n&1&&S(0,$o,13,14,"div",84),n&2){let e=s(3);E(e.hasFilenApiKey()?-1:0)}}function vo(n,t){if(n&1){let e=D();l(0,"button",81),f("click",function(){C(e);let o=s().$implicit,a=s(2);return g(a.removeAdvancedOption(o.formView.name))}),l(1,"sh-icon"),p(2,"x-circle"),r()()}}function bo(n,t){if(n&1&&(l(0,"div",34),_e(1)(2)(3)(4)(5),S(6,ci,6,12,"app-file-tree",35)(7,pi,6,9,"app-file-tree",36)(8,Fi,15,18,"sh-form-field")(9,xi,11,16,"sh-form-field")(10,vi,2,2)(11,zi,3,2)(12,Hi,6,14,"app-size",37)(13,Qi,9,13,"sh-form-field")(14,to,5,12,"sh-toggle",38)(15,ro,2,2)(16,uo,6,14,"app-timespan",37)(17,go,6,13,"app-file-drop-textarea",39)(18,xo,2,1)(19,Go,1,1),S(20,vo,3,0,"button",40),r()),n&2){let e=t.$implicit;s();let i=T(0),o=s();Ne("single-field",e.fieldGroup!=="advanced"),_(),j(e.formView.shortDescription??e.formView.name),_(),j(o.getFieldGroup(i,e.fieldGroup)[e.formView.name]),_();let a=j(o.getFieldValue(e.fieldGroup,e.formView.name));_(),j((a??"").toString().trim()===""),_(),j("destination-"+e.fieldGroup+"-"+e.index+"-"+(e.asHttpOptions?"http":"other")),_(),E(e.formView.type==="FileTree"?6:e.formView.type==="FolderTree"?7:e.formView.type==="String"||e.formView.type==="Path"||e.formView.type==="Email"||e.formView.type==="Hostname"||e.formView.type==="Bucketname"||e.formView.type==="BucketnameB2"?8:e.formView.type==="Password"?9:e.formView.type==="Enumeration"?10:e.formView.type==="NonValidatedSelectableString"?11:e.formView.type==="Size"?12:e.formView.type==="Integer"?13:e.formView.type==="Boolean"?14:e.formView.type==="Flags"?15:e.formView.type==="Timespan"||e.formView.type==="DateTime"?16:e.formView.type==="FreeText"?17:e.formView.type==="DuplicatiBackupId"?18:e.formView.type==="Filen2FACode"?19:-1),_(14),E(e.fieldGroup==="advanced"?20:-1)}}function Vo(n,t){if(n&1&&(l(0,"sh-icon",88),p(1,"x-circle"),r()),n&2){s();let e=T(0);d("shTooltip",(e==null?null:e.message)??"Invalid value")}}function Uo(n,t){if(n&1&&(l(0,"sh-icon",89),p(1,"warning"),r()),n&2){s();let e=T(0);d("shTooltip",(e==null?null:e.message)??"Invalid value")}}function ko(n,t){if(n&1&&(_e(0),S(1,Vo,2,1,"sh-icon",88)(2,Uo,2,1,"sh-icon",89)),n&2){let e=s().$implicit,i=T(0),o=j(e.formView.validate(i));_(),E((o==null?null:o.type)==="error"?1:(o==null?null:o.type)==="warning"?2:-1)}}function Bo(n,t){if(n&1&&(_e(0),S(1,ko,3,2)),n&2){let e=t.$implicit,o=(j(s(2).getFieldValue(e.fieldGroup,e.formView.name))??"").toString().trim()==="";_(),E(!o&&e.formView.validate?1:-1)}}function Ko(n,t){if(n&1&&(_e(0),fe(1,Qn,1,9,"ng-container",null,Ee),fe(3,ei,1,9,"ng-container",null,Ee),l(5,"sh-toggle-card",19),se(6,20)(7),x(8,7),ie(),_e(9),S(10,ti,3,0,"button",21)(11,ii,17,2,"div",22),ie(),S(12,oi,1,3,"textarea",23)(13,ri,2,0),r(),K(14,bo,21,9,"ng-template",null,0,Le)(16,Bo,2,2,"ng-template",null,1,Le)),n&2){let e=s(),i=T(1);j(e.destinationForm()),_(),he(i.custom),_(2),he(i.dynamic),_(2),d("disallowToggle",!0),_(4),j(e.nonSelectedAdvancedFormViews()),_(),E(e.showTextArea()?10:11),_(2),E(e.showTextArea()?12:13)}}var Pt=class n{#e=P(De);#t=P(Fe);#n=P(Tt);#i=P(Xe);#s=P(pn);#l=P(mn);#o=P(Oe);injector=P(Ht);targetUrl=qe.required();useBackupState=te(!1);#a=null;destinationType=M(()=>{let t=this.targetUrl();if(!t)return null;let e=Ye(t);return this.#a=e?.customKey??e?.key,this.#a});refreshView=N(!1);destinationForm=N({custom:{},dynamic:{},advanced:{}});advancedFormFieldNames=M(()=>Object.keys(this.destinationForm().advanced??{}));destinationFormConfig=N(null);showTextArea=N(!1);isLoadingRestoreBackupIdOptions=N(!1);isRestoreFlow=M(()=>!this.useBackupState());restoreBackupIdOptions=xe(un(this.targetUrl).pipe(zt(t=>{if(!t)return{authKey:null,url:null,isRestore:this.isRestoreFlow(),hasKey:this.hasStorageApiKey()};let e=t.indexOf("?"),i=e>=0?t.substring(e+1):"",o=new URLSearchParams(i),a=o.get("duplicati-auth-apiid")??"",c=o.get("duplicati-auth-apikey")??"";return{authKey:`${a}|${c}`,url:t}}),Jt((t,e)=>t.authKey===e.authKey),Wt(({url:t})=>{this.lastRestoreAuthQueryUrl=t}),Xt(({url:t})=>t&&t.startsWith("duplicati://")&&this.hasStorageApiKey()&&this.isRestoreFlow()?(this.isLoadingRestoreBackupIdOptions.set(!0),this.#l.getDuplicatiStorageBackups(t).pipe(ve(()=>this.isLoadingRestoreBackupIdOptions.set(!1)))):Kt([]))),{initialValue:[]});isConnectedToConsole=M(()=>this.#s.state()==="connected");hasStorageApiKey=M(()=>(this.#n.serverSettings()?.["remote-control-storage-api-id"]??"").length>0);isAuthenticatingFilen=N(!1);hasFilenApiKey=M(()=>{let e=this.destinationForm().advanced["api-key"];return e&&e.length>0});nonSelectedAdvancedFormViews=M(()=>{let t=this.destinationFormConfig();if(!t)return[];let e=this.advancedFormFieldNames();return t.advanced.filter(i=>e.findIndex(o=>o===i.name)===-1)});destinationTypeEffect=ee(()=>{let t=this.targetUrl(),e=Ye(t??""),i=e.key,o=e.customKey??i,a=this.#i.backendModules().find(L=>L.Key===i)??{Key:i,DisplayName:e.displayName,Description:e.description,Options:[]};if(!a||!a.Options||!i)return;let c=e&&e.oauthField?e.oauthField:null,u=e&&e.customFields?e.customFields:{},m=e&&e.dynamicFields?e.dynamicFields:[],h=e&&e.advancedFields?e.advancedFields:[],$=e&&e.ignoredAdvancedFields?e.ignoredAdvancedFields:[],B={destinationType:o,oauthField:c,custom:[],dynamic:[],advanced:[]};u&&Object.entries(u).forEach(([L,F],G)=>{let v=F.order??G,O=F.validate;!O&&F.type==="Bucketname"&&(O=z=>Sn(z)?null:{type:"error",message:$localize`Invalid bucket name.`}),O&&F.type==="Hostname"&&(O=z=>En(z)?null:{type:"error",message:$localize`Invalid hostname.`}),B.custom.push(X({order:900+v,validate:O},F))});for(let L=0;L<a.Options.length;L++){let F=a.Options[L];if(F.Deprecated)continue;let G=m.find(v=>v===F.Name||F.Aliases?.includes(v.name)||v.name===F.Name);if(G){let v=F.Aliases?.indexOf(G.name)??-1,O=F.Aliases&&v>-1?F.Aliases[v]:F.Name,z=G&&typeof G!="string",ue=z?G?.defaultValue??F.DefaultValue:F.DefaultValue,pe=z&&G?.order!==void 0?G.order:L,w={name:O,type:F.Type,shortDescription:F.ShortDescription??void 0,longDescription:F.LongDescription??void 0,options:F.ValidValues,order:900+pe},R=z?X(X({},w),G):w;B.dynamic.push(R)}else{let v=F.Name;if($.find(we=>we===v))continue;let z=h.find(we=>we===v||we.name===v),ue=z&&typeof z!="string",pe=ue&&z?.order!==void 0?z.order:L,w={name:v,type:F.Type,shortDescription:F.ShortDescription??void 0,longDescription:F.LongDescription??void 0,options:F.ValidValues,defaultValue:F.DefaultValue,order:900+pe},R=ue?X(X({},w),z):w;B.advanced.push(R)}}if(B.custom.sort((L,F)=>L.order-F.order),B.dynamic.sort((L,F)=>L.order-F.order),B.advanced.sort((L,F)=>L.order-F.order),this.destinationFormConfig.set(B),!t)return;let q=Et(t);q&&this.destinationForm.set({custom:q.custom,dynamic:q.dynamic,advanced:q.advanced})});destinationFormEffect=ee(()=>{let t=this.#a,e=this.destinationForm(),i=this.refreshView();if(!e||!t)return;let o=gn({destinationType:t,custom:e.custom,dynamic:e.dynamic,advanced:e.advanced});o&&this.targetUrl.set(o)});getFieldValue(t,e){let o=this.destinationForm()[t][e];return o||null}getFormView(t,e){let o=this.destinationFormConfig()?.[t].find(a=>a.name===e);return o||null}getDefaultFormView(t){return{name:t,type:"String",shortDescription:t,longDescription:$localize`This is an undocumented option.`}}getFieldGroup(t,e){return t[e]}hasLeadingSlash(t){return t?.startsWith("/")??!1}addAdvancedOption(t){let e=this.destinationForm();e.advanced[t.name]=t.defaultValue,this.destinationForm.set(X({},e))}isTrue(t){if(typeof t=="boolean")return t;if(typeof t=="string"){let e=t.toLowerCase();return e==="true"||e==="1"||e==="yes"||e==="on"}return!1}onKeyDown(t,e,i,o){if(i==="Hostname"||i==="Bucketname"){if(["Backspace","Delete","ArrowLeft","ArrowRight","Tab","Home","End"].includes(o.key))return;if(o.key=="/"||o.key=="\\"||o.key==":"){o.preventDefault();return}}}updateFieldValue(t,e,i){let o=this.destinationForm();o[t][e]=i,this.destinationForm.set(X({},o))}removeAdvancedOption(t){let e=this.destinationForm();delete e.advanced[t],this.destinationForm.set(X({},e))}mapOptions(t){let e=t.loadOptions;if(e)return e(this.injector)();let i=t.options;return i?i.map(o=>({key:o,value:o})):null}mapOptionsWithFreeText(t,e){let i=this.mapOptions(t);return i?(e&&e.length>0&&(i.find(a=>a.value===e)||i.push({key:e,value:e})),i):null}#r=N(!1);oauthStartTokenCreation(t,e,i,o){this.#r.set(!0);let a=(o??1)==2?this.#t.defaultOAuthUrlV2():this.#t.defaultOAuthUrl(),c=this.#n.serverSettings()?.["--oauth-url"];if(c&&c.length>0&&(a=c),this.useBackupState()){let F=this.#e.mapFormsToSettings().find(G=>G.Name==="--oauth-url")?.Value;F&&F.length>0&&(a=F)}let u=this.destinationForm().advanced["oauth-url"];u&&u.length>0&&(a=u);let m=`${a}?type=${t}`,h=450,$=600,B=screen.width/2-h/2,q=screen.height/2-$/2,L=window.open(m,"_blank","height="+$+",width="+h+",menubar=0,status=0,titlebar=0,toolbar=0,left="+B+",top="+q);return window.addEventListener("message",F=>{let G=F.data.startsWith("authid:"),v=G?F.data.replace("authid:",""):null;G&&(this.destinationForm.update(O=>(O[e][i]=v,O)),this.#r.set(!1),this.refreshView.set(!this.refreshView()),L?.close())}),!1}settingsAsText=M(()=>{let t=this.destinationForm().advanced;return Object.entries(t).map(([e,i])=>{let o=e??"",a="";return typeof i=="boolean"?a=this.isTrue(i)?"True":"False":(typeof i=="number"||i!=null)&&(a=i.toString()),`${o}=${a}`}).join(`
2
- `)});updateSettingsFromText(t){if(typeof t!="string")return;let e=Tn(t);this.destinationForm.update(i=>me(X({},i),{advanced:e}))}getIsDisabled(t){return document.getElementById(t)?.disabled??!0}toggleDisabled(t){let e=document.getElementById(t);e&&(e.disabled=!e.disabled)}openConsole(){this.#s.openConsole()}#_(t){var e=this.useBackupState()?this.#e.backupId():null;this.isAuthenticatingFilen.set(!0),this.#l.getFilenApiKey(t,e).pipe(ve(()=>this.isAuthenticatingFilen.set(!1))).subscribe({next:i=>{if(i.length===0){this.#o.open(re,{data:{title:$localize`Authentication failed`,message:$localize`No API key was returned from the Filen server.`,confirmText:$localize`OK`}});return}this.destinationForm.update(o=>(o.advanced["api-key"]=i,o.dynamic["two-factor-code"]=null,o)),this.refreshView.set(!this.refreshView())},error:i=>{console.error("Error authenticating Filen",i),this.#o.open(re,{data:{title:$localize`Authentication failed`,message:$localize`An error occurred while requesting the Filen API key: ${i.message}`,confirmText:$localize`OK`}})}})}authenticateFilen(){let t=this.targetUrl();if(!t)return;let i=this.destinationForm().advanced["api-key"];if(i&&i.length>0){this.#o.open(re,{data:{title:$localize`Confirm re-authenticate?`,message:$localize`You already have an API key. Are you sure you want to re-authenticate?`,confirmText:$localize`Yes`,cancelText:$localize`Cancel`},closed:o=>{if(o){var a=new URL(t);a.searchParams.delete("api-key"),this.#_(a.toString())}}});return}this.#_(t)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=W({type:n,selectors:[["app-single-destination"]],inputs:{targetUrl:[1,"targetUrl"],useBackupState:[1,"useBackupState"]},outputs:{targetUrl:"targetUrlChange"},decls:3,vars:3,consts:()=>{let t;t=$localize`Advanced options`;let e;e=$localize` Show editor ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:link${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let i;i=$localize` Add advanced option ${"\uFFFD#4\uFFFD"}:START_TAG_SH_ICON:plus${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_SH_ICON:`;let o;o=$localize`This field is mandatory`;let a;a=$localize`This field is mandatory`;let c;c=$localize`This field is mandatory`;let u;u=$localize`An empty path means storing data in the initial or root folder, which is not recommended`;let m;m=$localize`This field is mandatory`;let h;h=$localize`This field is mandatory`;let $;$=$localize`This field is mandatory`;let B;B=$localize`This field is mandatory`;let q;q=$localize`This field is mandatory`;let L;L=$localize`This field is mandatory`;let F;F=$localize`This field is mandatory`;let G;G=$localize`This field is mandatory`;let v;v=$localize`Loading available backups...`;let O;O=$localize`No backups found from this machine, contact support`;let z;z=$localize`This field is mandatory`;let ue;ue=$localize`Pick the backup to restore from`;let pe;pe=$localize`This field is mandatory`;let w;w=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:pencil${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let R;R=$localize`${"[\uFFFD#2\uFFFD|\uFFFD#3\uFFFD]"}:START_TAG_DIV:An API key with storage access is required to use Duplicati storage.${"[\uFFFD/#2\uFFFD|\uFFFD/#3\uFFFD]"}:CLOSE_TAG_DIV:${"[\uFFFD#2\uFFFD|\uFFFD#3\uFFFD]"}:START_TAG_DIV:Visit the console and assign an API key to this machine.${"[\uFFFD/#2\uFFFD|\uFFFD/#3\uFFFD]"}:CLOSE_TAG_DIV:`,R=We(R);let we;we=$localize` Visit console ${"\uFFFD#6\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#6\uFFFD"}:CLOSE_TAG_SH_ICON:`;let Vt;Vt=$localize`Connect to the console to use Duplicati storage.`;let Ut;Ut=$localize` Connect now ${"\uFFFD#4\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#4\uFFFD"}:CLOSE_TAG_SH_ICON:`;let kt;kt=$localize`This field is mandatory`;let Bt;return Bt=$localize` Authenticate now ${"\uFFFD#12\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#12\uFFFD"}:CLOSE_TAG_SH_ICON:`,[["fieldTemplate",""],["validateTemplate",""],["option",""],["enumOptionTemplate",""],["nonValidatedOptionTemplate",""],["optionTemplate",""],["backupIdOptionTemplate",""],t,e,i,v,O,ue,w,R,we,Vt,Ut,Bt,[1,"advanced-options",3,"disallowToggle"],["title",""],["shButton","","type","button",1,"outlined","small"],[1,"actions"],["wrap","off","placeholder","Paste advanced options here, one per line.",1,"raw-text-area",3,"ngModel","ngModelOptions"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["shButton","","type","button",1,"outlined","small",3,"click"],[3,"searchable"],["shButton","","type","button",1,"outlined","small",3,"disabled"],["menu",""],["type","button"],["shButton","","type","button",1,"small"],["shButton","","type","button",1,"small",3,"click"],["type","button",3,"click"],["wrap","off","placeholder","Paste advanced options here, one per line.",1,"raw-text-area",3,"ngModelChange","ngModel","ngModelOptions"],[1,"field-row"],[3,"startingPath","accepts","showFiles","hideShortcuts","showHiddenNodes","selectFiles"],[3,"hideShortcuts","enableCreateFolder","startingPath"],[3,"inputType","ngModel","customId"],[1,"primary","raised",3,"active"],[3,"ngModel","customId","placeholder"],["shButton","","type","button",1,"outlined"],[3,"for"],["shTooltip",o],[1,"primary",3,"shTooltip"],["type","text",3,"ngModelChange","id","ngModel"],["shTooltip",a],["shTooltip",c],["shTooltip",u,1,"warn"],["autocomplete","off",3,"keydown","ngModelChange","type","id","ngModel"],["prefix","",3,"error","warn","shTooltip"],["prefix",""],["prefix","",3,"shTooltip"],["shTooltip",m],["autocomplete","off",3,"ngModelChange","type","id","ngModel"],["prefix","",1,"link"],["suffix","",1,"clickable"],["prefix","",1,"link",3,"click"],["suffix","",1,"clickable",3,"click"],["label","key","value","value",3,"options","isClearable","optionTemplate"],["shTooltip",h],[1,"indeterminate","primary"],["label","key","value","value",3,"options","asFreeText","inlineSearch","optionTemplate"],["shTooltip",$],[3,"ngModelChange","inputType","ngModel","customId"],["shTooltip",B],["shTooltip",q],["type","number",3,"ngModelChange","id","ngModel"],[1,"primary","raised",3,"click"],["key","key","value","value",1,"primary","raised",3,"options","selectMultiple","optionTemplate"],["shTooltip",L],["type","text","id","text",3,"ngModelChange","ngModel"],["shTooltip",F],[3,"ngModelChange","ngModel","customId","placeholder"],["shTooltip",G],[1,"duplicati-backup-id"],[1,"duplicati-backup-id-console"],[1,"no-backups-found"],[3,"options","isClearable"],["shTooltip",z],["shTooltip",pe],["autocomplete","off",3,"ngModelChange","type","id","ngModel","placeholder","disabled"],["shButton","","type","button",1,"outlined",3,"click"],[1,"info"],["shButton","","type","button",1,"outlined",3,"routerLink"],[1,"filen-2fa-setup"],["shTooltip",kt],["type","text","autocomplete","off",3,"ngModelChange","id","ngModel"],["shButton","","type","button",1,"outlined",3,"click","disabled"],[1,"error",3,"shTooltip"],[1,"warn",3,"shTooltip"]]},template:function(e,i){if(e&1&&(_e(0)(1),S(2,Ko,18,5)),e&2){let o=j(i.destinationType());_();let a=j(i.destinationFormConfig());_(),E(o&&a?2:-1)}},dependencies:[Be,oe,st,ae,ge,Ce,en,tn,Nt,ht,Fn,yt,Te,Z,le,mt,cn,Me,Ct,Ke,pt,dn],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.advanced-options[_ngcontent-%COMP%]{position:relative;z-index:1}textarea[_ngcontent-%COMP%] ~ grammarly-extension[_ngcontent-%COMP%]{display:none}sh-select[_ngcontent-%COMP%]{--miw: p2r(120)}[prefix].link[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline;color:var(--primary-8)}.clickable[_ngcontent-%COMP%]{cursor:pointer;color:var(--primary-8)}label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}label[_ngcontent-%COMP%] sh-icon[_ngcontent-%COMP%]{font-size:1rem}.field-row[_ngcontent-%COMP%]{display:grid;align-items:flex-end;grid-template-columns:1fr 2.5rem;gap:.5rem}.field-row.single-field[_ngcontent-%COMP%]{display:block}.actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.raw-text-area[_ngcontent-%COMP%]{min-height:12rem;white-space:pre}.filen-2fa-setup[_ngcontent-%COMP%], .duplicati-backup-id[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px;align-items:flex-end}.duplicati-backup-id[_ngcontent-%COMP%] sh-select[_ngcontent-%COMP%]{width:100%}.duplicati-backup-id-console[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px;align-items:center}.duplicati-backup-id-console[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:column;gap:4px}"],changeDetection:0})};var Ot=class n{#e=P(gt);#t=P(Oe);#n=P(Fe);testDestination(t,e,i,o,a){return this.#n.hasV2TestOperations()?this.testDestinationv2(t,e,i,o,a):this.testDestinationv1(t,e,i,o,a)}testDestinationv2(t,e,i,o,a){return new et(c=>{this.#e.postApiV2DestinationTest({requestBody:{DestinationUrl:t,BackupId:e=="new"?null:e,AutoCreate:!1,Options:null}}).subscribe({next:u=>{if(u.Success){this.emitSuccessV2(c,t,i,u);return}this.handleGenericError(c,t,i,u.Error??"Unknown error",a)},error:u=>{let m=u?.error?.body??u?.error?.requestBody;if(m?.Data?.FolderExists===!1||m?.StatusCode==="missing-folder"){o?this.handleMissingFolder(c,t,i):this.handleGenericError(c,t,i,$localize`The remote destination folder does not exist.`,a);return}if(m?.Data?.HostCertificate){this.handleMissingCertificate(c,t,i,m.Data?.HostCertificate);return}if(m?.Data?.ReportedHostKey){this.handleIncorrectKey(c,t,i,m.Data.ReportedHostKey,m.Data.AcceptedHostKey??null);return}this.handleGenericError(c,t,i,u?.message??"Unknown error",a)}})})}testDestinationv1(t,e,i,o,a){return new et(c=>{this.#e.postApiV1RemoteoperationTest({requestBody:{path:t,backupId:e=="new"?null:e}}).subscribe({next:u=>{c.next({action:"success",targetUrl:t,testAgain:!1,destinationIndex:i}),c.complete()},error:u=>{this.handleDestinationErrorv1(u.message,t,i,o,a).subscribe(m=>{c.next(m)})}})})}handleMissingFolder(t,e,i){this.#t.open(re,{data:{title:$localize`Create folder`,message:$localize`The remote destination folder does not exist, do you want to create it?`,confirmText:$localize`Create folder`,cancelText:$localize`Cancel`},closed:o=>{if(!o){this.reportNoAction(t,e,i,$localize`The remote folder does not exist.`);return}this.#n.hasV2TestOperations()?this.#e.postApiV2DestinationTest({requestBody:{DestinationUrl:e,AutoCreate:!0,Options:null}}).subscribe({next:a=>{if(a.Success){this.emitSuccessV2(t,e,i,a);return}else this.handleFolderCreateFailure(t,e,i,a.Error??$localize`Unknown error`)},error:a=>{this.handleFolderCreateFailure(t,e,i,a.message??$localize`Unknown error`)}}):this.#e.postApiV1RemoteoperationCreate({requestBody:{path:e}}).subscribe({next:()=>{this.handleFolderCreated(t,e,i)},error:a=>{this.handleFolderCreateFailure(t,e,i,a.message??$localize`Unknown error`)}})}})}handleFolderCreateFailure(t,e,i,o){this.#t.open(re,{data:{title:$localize`Error creating folder`,message:$localize`The remote destination folder could not be created. ${o}`,confirmText:$localize`OK`,cancelText:null},closed:()=>{t.next({action:"generic-error",targetUrl:e,testAgain:!1,destinationIndex:i}),t.complete()}})}emitSuccessV2(t,e,i,o){t.next({action:"success",targetUrl:e,testAgain:!1,destinationIndex:i,anyFilesFound:!o.Data?.FolderIsEmpty,containsBackup:o.Data?.FolderContainsBackupFiles??void 0,containsEncryptedBackupFiles:o.Data?.FolderContainsEncryptedBackupFiles??void 0}),t.complete()}handleFolderCreated(t,e,i){this.#t.open(re,{data:{title:$localize`Folder created`,message:$localize`The remote destination folder was created successfully.`,confirmText:$localize`OK`,cancelText:null},closed:()=>{t.next({action:"test-again",targetUrl:e,testAgain:!0,destinationIndex:i}),t.complete()}})}reportNoAction(t,e,i,o){t.next({action:"generic-error",targetUrl:e,errorMessage:o,testAgain:!1,destinationIndex:i}),t.complete()}handleMissingCertificate(t,e,i,o){this.#t.open(re,{maxWidth:"500px",data:{title:$localize`Trust the certificate`,message:$localize`The server is using a certificate that is not trusted.
3
- If this is a self-signed certificate, you can choose to trust this certificate.
4
- The server reported the certificate hash: ${o}`,confirmText:$localize`Trust the certificate`,cancelText:$localize`Cancel`},closed:a=>{if(!a){this.reportNoAction(t,e,i,$localize`The server certificate is not trusted.`);return}t.next({action:"trust-cert",targetUrl:e,testAgain:!0,certData:o,destinationIndex:i}),t.complete()}})}handleIncorrectKey(t,e,i,o,a){a?this.#t.open(re,{maxWidth:"500px",data:{title:$localize`The host key has changed`,message:$localize`The host key has changed, please check with the server administrator if this is correct,
5
- otherwise you could be the victim of a MAN-IN-THE-MIDDLE attack.
6
- Do you want to REPLACE your CURRENT host key ${a}
7
- with the REPORTED host key: ${o}?`,confirmText:$localize`Approve`,cancelText:$localize`Cancel`},closed:c=>{if(!c){this.reportNoAction(t,e,i,$localize`The host key was not approved.`);return}t.next({action:"approve-host-key",targetUrl:e,testAgain:!0,reportedHostKey:o,destinationIndex:i}),t.complete()}}):this.#t.open(re,{maxWidth:"500px",data:{title:$localize`Approve host key?`,message:$localize`No certificate was specified, please verify that the reported host key is correct: ${o}`,confirmText:$localize`Approve`,cancelText:$localize`Cancel`},closed:c=>{if(!c){this.reportNoAction(t,e,i,$localize`The host key was not approved.`);return}t.next({action:"approve-host-key",targetUrl:e,testAgain:!0,reportedHostKey:o,destinationIndex:i}),t.complete()}})}handleGenericError(t,e,i,o,a){function c(){t.next({action:"generic-error",targetUrl:e,testAgain:!1,destinationIndex:i,errorMessage:o}),t.complete()}if(a){c();return}this.#t.open(re,{maxWidth:"500px",data:{title:$localize`Test connection failed`,message:o,cancelText:$localize`OK`},closed:u=>c()})}handleDestinationErrorv1(t,e,i,o,a){return new et(c=>{if(t==="missing-folder"){o?this.handleMissingFolder(c,e,i):this.handleGenericError(c,e,i,$localize`The remote destination folder does not exist.`,a);return}if(t.startsWith("incorrect-cert:")){let u=t.split("incorrect-cert:")[1];this.handleMissingCertificate(c,e,i,u);return}if(t.startsWith("incorrect-host-key:")){let u=t.split('incorrect-host-key:"')[1].split('",')[0],m=t.split('accepted-host-key:"')[1].split('",')[0];this.handleIncorrectKey(c,e,i,u,m);return}this.handleGenericError(c,e,i,t,a)})}static \u0275fac=function(e){return new(e||n)};static \u0275prov=ye({token:n,factory:n.\u0275fac,providedIn:"root"})};function zo(n,t){if(n&1){let e=D();l(0,"sh-alert",0),p(1," Make sure to test the configuration "),l(2,"button",3),f("click",function(){C(e);let o=s(2);return g(o.testDestination())}),p(3,"Test now"),r()()}}function Jo(n,t){n&1&&(l(0,"sh-alert",0),p(1,"Testing connection..."),r())}function Xo(n,t){n&1&&(l(0,"sh-alert",1),p(1,"Connection tested successfully."),r())}function Wo(n,t){if(n&1&&(l(0,"sh-alert",2),p(1),r()),n&2){let e=s(2);_(),J(" ",e.testErrorMessage()," ")}}function Ho(n,t){if(n&1&&S(0,zo,4,0,"sh-alert",0)(1,Jo,2,0,"sh-alert",0)(2,Xo,2,0,"sh-alert",1)(3,Wo,2,1,"sh-alert",2),n&2){let e=s();E(e.testSignal()===""?0:e.testSignal()==="testing"?1:e.testSignal()==="containsBackup"||e.testSignal()==="success"?2:e.testSignal()==="warning"||e.testSignal()==="error"?3:-1)}}var Mt=class n{#e=P(Ot);targetUrl=qe.required();testSignal=qe.required();testErrorMessage=N(null);isExpectedValidTargetUrl=M(()=>{let t=this.targetUrl();return!(!t||!Et(t))});prevTargetUrl=null;targetUrlEffect=ee(()=>{let t=this.targetUrl();t!==this.prevTargetUrl&&(this.prevTargetUrl=t,this.resetTestState())});setTestState(t,e){this.testSignal.set(t),this.testErrorMessage.set(e??null)}resetTestState(){this.testSignal.set(""),this.testErrorMessage.set(null)}testDestination(){let t=this.targetUrl();t&&(this.setTestState("testing"),this.#e.testDestination(t,null,0,!0,!0).subscribe({next:e=>{if(e.action==="success"&&e.containsBackup===!0?this.setTestState("containsBackup"):e.action==="success"&&this.setTestState("success"),this.setTestState("error",e.errorMessage??$localize`An error occurred while testing the destination.`),e.action==="generic-error")return;let i=t.includes("?");e.action==="trust-cert"&&this.targetUrl.set(t+`${i?"&":"?"}accept-specified-ssl-hash=${e.certData}`),e.action==="approve-host-key"&&this.targetUrl.set(t+`${i?"&":"?"}ssh-fingerprint=${e.reportedHostKey}`),e.testAgain&&this.testDestination()}}))}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=W({type:n,selectors:[["app-test-url"]],inputs:{targetUrl:[1,"targetUrl"],testSignal:[1,"testSignal"]},outputs:{targetUrl:"targetUrlChange",testSignal:"testSignalChange"},decls:1,vars:1,consts:[[1,"simple","primary"],[1,"simple","success"],[1,"simple","warn"],["shButton","",1,"primary","small",3,"click"]],template:function(e,i){e&1&&S(0,Ho,4,1),e&2&&E(i.isExpectedValidTargetUrl()?0:-1)},dependencies:[ut,Z],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})};function jo(n,t){if(n&1){let e=D();l(0,"app-destination-list",10),f("setDestination",function(o){C(e);let a=s();return g(a.setDestination(o))}),r()}n&2&&d("showAsSources",!0)}function qo(n,t){if(n&1){let e=D();l(0,"app-destination-list-item",11)(1,"button",8),f("click",function(){C(e);let o=s();return g(o.removeDestination())}),x(2,3),r()(),l(3,"app-test-url",12),k("targetUrlChange",function(o){C(e);let a=s();return b(a.targetUrlModel,o)||(a.targetUrlModel=o),g(o)})("testSignalChange",function(o){C(e);let a=s();return b(a.testSignal,o)||(a.testSignal=o),g(o)}),r(),l(4,"app-single-destination",13),k("targetUrlChange",function(o){C(e);let a=s();return b(a.targetUrlModel,o)||(a.targetUrlModel=o),g(o)}),r()}if(n&2){let e=s();d("targetUrl",e.targetUrlModel()),_(3),U("targetUrl",e.targetUrlModel)("testSignal",e.testSignal),_(),U("targetUrl",e.targetUrlModel)}}var xt=class n{data=te();closed=$e();targetUrlModel=N(null);dataEffect=ee(()=>{let t=this.data();t?.targetUrlModel&&this.targetUrlModel.set(t.targetUrlModel)});testSignal=N("");setTargetUrl(t,e=!1){this.targetUrlModel.set(t)}setDestination(t){let e=St(t??"");if(e){if(e.mapper.default){let i=e.mapper.default("");this.setTargetUrl(i,!0);return}this.setTargetUrl(`${t}://`,!0)}}submit(){this.closed.emit(this.targetUrlModel())}removeDestination(){this.setTargetUrl(null,!0)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=W({type:n,selectors:[["app-target-url-dialog"]],inputs:{data:[1,"data"]},outputs:{closed:"closed"},decls:11,vars:5,consts:()=>{let t;t=$localize`Remote source`;let e;e=$localize`Cancel`;let i;i=$localize` Use remote source `;let o;return o=$localize`Change`,[t,e,i,o,[1,"title-30"],["content",""],[3,"showAsSources"],["footer","",1,"sticky"],["shButton","","type","button",3,"click"],["shButton","","type","button",1,"raised","primary",3,"click","disabled"],[3,"setDestination","showAsSources"],[1,"current-destination",3,"targetUrl"],[3,"targetUrlChange","testSignalChange","targetUrl","testSignal"],[3,"targetUrlChange","targetUrl"]]},template:function(e,i){if(e&1){let o=D();l(0,"header")(1,"h3",4),x(2,0),r()(),l(3,"section",5),S(4,jo,1,1,"app-destination-list",6),S(5,qo,5,4),r(),l(6,"footer",7)(7,"button",8),f("click",function(){return C(o),g(i.closed.emit(null))}),x(8,1),r(),l(9,"button",9),f("click",function(){return C(o),g(i.submit())}),x(10,2),r()()}if(e&2){let o=!!i.targetUrlModel();_(4),E(o?-1:4),_(),E(o?5:-1),_(4),Ne("loading",i.testSignal()==="testing"),d("disabled",!o||i.testSignal()===""||i.testSignal()==="testing")}},dependencies:[Pt,It,Je,Z,Mt],styles:["[_nghost-%COMP%]{--dialog-p: 1.5rem;display:flex;flex-direction:column;gap:1rem}header[_ngcontent-%COMP%]{display:flex;padding:1.5rem 1.5rem 0}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}"],changeDetection:0})};var Yo=["formRef"],vt=()=>({standalone:!0});function Qo(n,t){if(n&1){let e=D();l(0,"sh-form-field",43)(1,"input",44),k("ngModelChange",function(o){C(e);let a=s(2);return b(a.editingPath,o)||(a.editingPath=o),g(o)}),r()(),l(2,"button",29),f("click",function(){C(e);let o=s(2);return g(o.updatePath())}),l(3,"sh-icon"),p(4,"floppy-disk"),r()(),l(5,"button",29),f("click",function(){C(e);let o=s(2);return g(o.cancelEditPath())}),l(6,"sh-icon"),p(7,"x-bold"),r()()}if(n&2){let e=s(2);_(),U("ngModel",e.editingPath),d("ngModelOptions",Re(2,vt))}}function Zo(n,t){if(n&1){let e=D();l(0,"sh-form-field",43),A(1,"input",45),r(),l(2,"button",29),f("click",function(){C(e);let o=s().$implicit,a=s();return g(a.editPath(o))}),l(3,"sh-icon"),p(4,"pen"),r()(),l(5,"button",29),f("click",function(){C(e);let o=s().$implicit,a=s();return g(a.removePath(o))}),l(6,"sh-icon"),p(7,"trash-simple"),r()()}if(n&2){let e=s().$implicit;Yt("readonly",!0),_(),d("ngModel",e)("ngModelOptions",Re(3,vt))}}function ea(n,t){if(n&1&&(l(0,"div",32),S(1,Qo,8,3)(2,Zo,8,4),r()),n&2){let e=t.$implicit,i=s();_(),E(i.oldPath()===e?1:2)}}function ta(n,t){if(n&1){let e=D();l(0,"app-new-filter",47),f("pathChange",function(o){let a=C(e).$index,c=s(2);return g(c.patchPathAt(o,a))})("remove",function(){let o=C(e).$index,a=s(2);return g(a.removePathAt(o))}),r()}if(n&2){let e=t.$implicit,i=s(2);d("path",e)("osType",i.osType()??"")}}function na(n,t){if(n&1&&fe(0,ta,1,2,"app-new-filter",46,Ee),n&2){let e=s();he(e.pathArray())}}function ia(n,t){if(n&1){let e=D();l(0,"div",33)(1,"app-size",48),f("ngModelChange",function(o){C(e);let a=s();return g(a.updateFilesLargerThan(o))}),r()()}if(n&2){let e=s();_(),d("ngModel",e.filesLargerThan())("ngModelOptions",Re(2,vt))}}var Ie=new dt,An=(n={path:"",filters:[],excludes:{hidden:!1,system:!1,temporary:!1,filesLargerThan:null}})=>Ie.group({path:Ie.control(n.path),excludes:Ie.group({hidden:Ie.control(n.excludes.hidden),system:Ie.control(n.excludes.system),temporary:Ie.control(n.excludes.temporary),filesLargerThan:Ie.group({size:Ie.control(null),unit:Ie.control(null)})})}),Gt=class n{#e=P(De);#t=P(Oe);#n=P(Pe);#i=P(ke);formRef=Ue.required("formRef");sourceDataForm=this.#e.sourceDataForm;sourceDataFormSignal=this.#e.sourceDataFormSignal;newPathCtrl=new on("");filesLargerThan=M(()=>{let t=this.sourceDataFormSignal()?.excludes?.filesLargerThan??{};return t.size!==null&&t.unit!==null?`${t.size}${t.unit}`:null});osType=this.#e.osType;pathSignal=xe(this.sourceDataForm.controls.path.valueChanges);pathArray=M(()=>this.pathSignal()?.split("\0").filter(t=>t.startsWith("-")||t.startsWith("+")||t==="___none___")??[]);nonFilterPaths=M(()=>this.pathSignal()?.split("\0").filter(t=>!t.startsWith("-")&&!t.startsWith("+")&&t!==""));oldPath=N(null);editingPath=N(null);addingNewPath=N(!1);openRemoteDestinationDialog(){this.#t.open(xt,{maxWidth:"700px",maxHeight:"80vh",width:"100%",closeOnOutsideClick:!1}).closed.subscribe(e=>{if(!e)return;let o=`@${Math.random().toString(36).substring(2,10)}|${e}`;console.log("targetUrl",o),this.addPath(o)})}editPath(t){this.oldPath.set(t),this.editingPath.set(t)}updateFilesLargerThan(t){let{size:e,unit:i}=ft(t);this.sourceDataForm.controls.excludes.controls.filesLargerThan.setValue({size:e,unit:i})}updatePath(){let t=this.oldPath(),e=this.editingPath();if(!t||!e||e===t){this.oldPath.set(null),this.editingPath.set(null);return}let i=this.sourceDataForm.controls.path.value;this.sourceDataForm.controls.path.setValue(i?.replace(t,e)??""),this.oldPath.set(null),this.editingPath.set(null)}cancelEditPath(){this.oldPath.set(null),this.editingPath.set(null)}removePath(t){let i=(this.sourceDataForm.controls.path.value??"").split("\0"),o=i.indexOf(t);if(o===-1)return;i.splice(o,1);let a=i.filter(c=>c&&c!=="").join("\0");this.sourceDataForm.controls.path.setValue(a)}addPath(t){let i=[this.sourceDataForm.controls.path.value,t].filter(o=>o&&o!=="").join("\0");this.sourceDataForm.controls.path.setValue(i)}addFilter(t="-*"){let i=[this.sourceDataForm.controls.path.value,t].filter(o=>o&&o!=="").join("\0");this.sourceDataForm.controls.path.setValue(i)}patchPathAt(t,e){let o=this.sourceDataForm.controls.path.value.split("\0").filter(u=>!u.startsWith("-")&&!u.startsWith("+")).join("\0"),a=this.pathArray().map((u,m)=>m===e?`${t}`:`${u}`).join("\0"),c=[o,a].filter(u=>u&&u!=="").join("\0");this.sourceDataForm.controls.path.setValue(c)}removePathAt(t){let i=this.sourceDataForm.controls.path.value.split("\0").filter(c=>!c.startsWith("-")&&!c.startsWith("+")).join("\0"),o=this.pathArray().filter((c,u)=>u!==t).join("\0"),a=[i,o].filter(c=>c&&c!=="").join("\0");this.sourceDataForm.controls.path.setValue(a)}getPath(){return this.sourceDataForm.value.path??null}toggleFilesLargerThan(){this.sourceDataForm.controls.excludes.value.filesLargerThan?.size===null?this.sourceDataForm.controls.excludes.controls.filesLargerThan.setValue({size:50,unit:"MB"}):this.sourceDataForm.controls.excludes.controls.filesLargerThan.setValue({size:null,unit:null})}addNewPath(){let t=this.sourceDataForm.controls.path.value,e=this.newPathCtrl.value,i=t?.split("\0")||[];e&&!i.includes(e)&&i.push(e);let o=i.filter(a=>a&&a!=="").join("\0");this.sourceDataForm.controls.path.setValue(o),this.newPathCtrl.setValue("")}goBack(){this.#n.navigate(["destination"],{relativeTo:this.#i.parent})}next(){this.#e.isNew()||this.#e.submit(!0),this.#n.navigate(["schedule"],{relativeTo:this.#i.parent})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=W({type:n,selectors:[["app-source-data"]],viewQuery:function(e,i){e&1&&be(i.formRef,Yo,5),e&2&&Ve()},decls:59,vars:12,consts:()=>{let t;t=$localize`Path`;let e;e=$localize`Add a direct path`;let i;i=$localize`Hidden files`;let o;o=$localize`System files`;let a;a=$localize`Temporary files`;let c;c=$localize`Source Data`;let u;u=$localize`Folder path`;let m;m=$localize`${"\uFFFD#12\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#12\uFFFD"}:CLOSE_TAG_SH_ICON: Go back `;let h;h=$localize`${"\uFFFD#15\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#15\uFFFD"}:CLOSE_TAG_SH_ICON: Continue `;let $;$=$localize` Paths ${"\uFFFD#20\uFFFD"}:START_TAG_DIV:${"\uFFFD/#20\uFFFD"}:CLOSE_TAG_DIV:${"\uFFFD#21\uFFFD"}:START_TAG_BUTTON:${"\uFFFD#22\uFFFD"}:START_TAG_SH_ICON:cloud-arrow-down${"\uFFFD/#22\uFFFD"}:CLOSE_TAG_SH_ICON: Add remote path ${"\uFFFD/#21\uFFFD"}:CLOSE_TAG_BUTTON:`;let B;B=$localize`Add a path directly from your machine.`;let q;q=$localize`Filters`;let L;L=$localize`Customize your filters.`;let F;F=$localize`Add filter`;let G;G=$localize`Exclude`;let v;v=$localize`Choose if there’s any files you want to exclude.`;let O;O=$localize` Files with the Hidden attribute ${"\uFFFD#49\uFFFD\uFFFD/#49\uFFFD"}:TAG_INPUT:`;let z;z=$localize` Files with the System attribute ${"\uFFFD#52\uFFFD\uFFFD/#52\uFFFD"}:TAG_INPUT:`;let ue;ue=$localize` Files with the Temporary attribute ${"\uFFFD#55\uFFFD\uFFFD/#55\uFFFD"}:TAG_INPUT:`;let pe;pe=$localize` Files larger than `;let w;return w=$localize`Edit path`,[["formRef",""],c,u,m,h,$,B,q,L,F,G,v,O,z,ue,pe,[3,"submit","formGroup"],[1,"left"],[1,"title-30"],[1,"fill",3,"multiSelect","startingPath","showFiles"],["for","path"],["type","text","id","path","tabindex","4","placeholder",t,"formControlName","path"],[1,"form-actions"],["shButton","","type","button",3,"click"],["shButton","","type","submit",1,"raised","primary"],[1,"right"],[3,"disallowToggle"],["title",""],[1,"spacer"],["shButton","","type","button",1,"small",3,"click"],["description",""],[1,"paths"],[1,"path"],[1,"row-inputs"],["type","text","placeholder",e,3,"formControl"],["shButton","","type","button",1,"raised","primary",3,"click"],["type","button","shButton","","action","",3,"click"],["formGroupName","excludes",3,"disallowToggle"],[1,"raised","primary"],["type","checkbox","placeholder",i,"formControlName","hidden"],["type","checkbox","placeholder",o,"formControlName","system"],["type","checkbox","placeholder",a,"formControlName","temporary"],[1,"raised","primary",3,"click"],[1,"small"],["type","text","placeholder",w,3,"ngModelChange","ngModel","ngModelOptions"],["type","text",3,"ngModel","ngModelOptions"],[3,"path","osType"],[3,"pathChange","remove","path","osType"],[3,"ngModelChange","ngModel","ngModelOptions"]]},template:function(e,i){if(e&1){let o=D();l(0,"form",16,0),f("submit",function(){return C(o),g(i.next())}),l(2,"div",17)(3,"h3",18),x(4,1),r(),l(5,"app-file-tree",19)(6,"label",20),x(7,2),r(),A(8,"input",21),r(),l(9,"div",22)(10,"button",23),f("click",function(){return C(o),g(i.goBack())}),I(11,3),A(12,"sh-icon"),y(),r(),l(13,"button",24),I(14,4),A(15,"sh-icon"),y(),r()()(),l(16,"div",25)(17,"app-toggle-card",26),se(18,27),I(19,5),A(20,"div",28),l(21,"button",29),f("click",function(){return C(o),g(i.openRemoteDestinationDialog())}),A(22,"sh-icon"),r(),y(),ie(),l(23,"p",30),x(24,6),r(),l(25,"div",31),fe(26,ea,3,1,"div",32,Ee),l(28,"div",33)(29,"sh-form-field"),A(30,"input",34),r(),l(31,"button",35),f("click",function(){return C(o),g(i.addNewPath())}),l(32,"sh-icon"),p(33,"plus"),r()()()()(),l(34,"app-toggle-card",26),se(35,27),x(36,7),ie(),l(37,"p",30),x(38,8),r(),l(39,"button",36),f("click",function(){return C(o),g(i.addFilter())}),x(40,9),r(),S(41,na,2,0),r(),l(42,"app-toggle-card",37),se(43,27),x(44,10),ie(),l(45,"p",30),x(46,11),r(),l(47,"sh-toggle",38),I(48,12),A(49,"input",39),y(),r(),l(50,"sh-toggle",38),I(51,13),A(52,"input",40),y(),r(),l(53,"sh-toggle",38),I(54,14),A(55,"input",41),y(),r(),l(56,"sh-toggle",42),f("click",function(){return C(o),g(i.toggleFilesLargerThan())}),x(57,15),r(),S(58,ia,2,3,"div",33),r()()()}if(e&2){let o;d("formGroup",i.sourceDataForm),_(5),d("multiSelect",!0)("startingPath",i.getPath())("showFiles",!0),_(12),d("disallowToggle",!0),_(9),he(i.nonFilterPaths()),_(4),d("formControl",i.newPathCtrl),_(4),d("disallowToggle",!0),_(7),E((o=i.pathSignal())!=null&&o.length?41:-1),_(),d("disallowToggle",!0),_(14),Ne("active",i.filesLargerThan()),_(2),E(i.filesLargerThan()?58:-1)}},dependencies:[ge,rt,oe,ot,ae,lt,Ce,Be,an,ct,_t,ln,Te,le,Z,Ke,At,Nt,Nn,ht],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;width:100%;flex:1 0;overflow:hidden}form[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;flex:1 0;overflow:hidden}.right[_ngcontent-%COMP%], .left[_ngcontent-%COMP%]{flex:1 0;display:flex;flex-direction:column;gap:1.5rem}.left[_ngcontent-%COMP%]{padding:2.5rem;overflow:hidden;border-right:1px solid var(--base-4)}.right[_ngcontent-%COMP%]{padding:2.5rem 1.5rem;overflow:auto}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}sh-divider[_ngcontent-%COMP%]{margin:.75rem 0}.row-inputs[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr min-content;gap:.25rem}.paths[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;overflow:auto}.path[_ngcontent-%COMP%]{display:grid;align-items:center;grid-template-columns:1fr min-content min-content;gap:.25rem}"],changeDetection:0})};var In="1W:1D,4W:1W,12M:1M",De=class n{#e=P(Pe);#t=P(Fe);#n=P(Oe);#i=P(gt);#s=P(Tt);#l=P(Ft);generalForm=yn();sourceDataForm=An();scheduleFields=$t();scheduleType=N("daily");settings=N([]);optionsFields={remoteVolumeSize:N("50MB"),backupRetention:N("all"),backupRetentionTime:N(""),backupRetentionVersions:N(0),backupRetentionCustom:N("")};targetUrlModel=N(null);backupMetadata=N(null);isDraft=N(!1);backupId=N(null);backupName=M(()=>this.generalFormSignal()?.name??"");isSubmitting=N(!1);finishedLoading=N(!1);backupDefaults=N(null);applicationOptions=N(null);isNew=M(()=>this.backupId()==="new");osType=M(()=>this.#t.systemInfo()?.OSType);selectedOptions=N([]);sourceDataFormSignal=xe(this.sourceDataForm.valueChanges);generalFormSignal=xe(this.generalForm.valueChanges);encryptionFieldSignal=xe(this.generalForm.controls.encryption.valueChanges);advancedOptions=M(()=>this.#t.systemInfo()?.Options?.map(this.#d)??[]);#o=N("");#a=N(null);#r=null;testSignal=this.#o.asReadonly();testErrorMessage=this.#a.asReadonly();#_=ee(()=>{let t=this.targetUrlModel(),e=this.#o(),i=this.#r;this.#r=t,!(e==="testing"||i===null||i===t)&&(this.#o.set(""),this.#a.set(null))});setTestState(t,e){this.#o.set(t),this.#a.set(e??null)}#d(t){return{name:t.Name,type:t.Type,shortDescription:t.ShortDescription??void 0,longDescription:t.LongDescription??void 0,options:t.ValidValues}}encryptionOptions=M(()=>{let t=this.#t.systemInfo()?.EncryptionModules??[];return[Ze,...t]});nonSelectedOptions=M(()=>this.advancedOptions().sort((t,e)=>t?.name&&e?.name?t?.name.localeCompare(e?.name):0).filter(t=>this.selectedOptions()?.findIndex(e=>e.name===t.name)===-1));submit(t=!1){this.isSubmitting.set(!0);let e=this.#u(),i=this.backupId();this.isDraft()&&e.Backup&&(e.Backup.Metadata=this.backupMetadata()),i==="new"||!i||this.isDraft()?this.#i.postApiV1Backups({requestBody:e}).pipe(ve(()=>this.isSubmitting.set(!1))).subscribe({next:()=>{t||this.exit(!1)},error:()=>{}}):this.#i.putApiV1BackupById({id:i,requestBody:e}).pipe(ve(()=>this.isSubmitting.set(!1))).subscribe({next:()=>{t||this.exit(!1)},error:()=>{}})}exit(t){if(!t){this.#c(),this.#e.navigate(["/"]);return}this.#n.open(re,{data:{title:$localize`Confirm exit?`,message:$localize`Are you sure you want to exit?`,confirmText:$localize`Yes`,cancelText:$localize`Cancel`},closed:e=>{e&&(this.#c(),this.#e.navigate(["/"]))}})}mapSourceDataToForm(t){let e=t.Sources??"",i=t.Filters?.map(u=>`${u.Include?"":"-"}${u.Expression}`)??[],o=t.Settings?.find(u=>u.Name==="--exclude-files-attributes")?.Value?.toLowerCase()?.split(",")??[],a=t.Settings?.find(u=>u.Name==="--skip-files-larger-than")?.Value?.toUpperCase()??null,c={path:[...e,...i].join("\0"),excludes:{hidden:o.includes("hidden"),system:o.includes("system"),temporary:o.includes("temporary"),filesLargerThan:a===null?void 0:ft(a)}};this.sourceDataForm.patchValue(c)}mapDestinationToForm(t){this.targetUrlModel.set(t.TargetURL??"")}mapGeneralToForm(t){let e=t.Name??"",i=t.Description??"",o=t.Settings?.find(h=>h.Name==="encryption-module"),a=t.Settings?.find(h=>h.Name==="passphrase")?.Value??"",c=o?.Value&&o.Value.length?o.Value:"",u=t.Settings?.find(h=>h.Name==="compression-module")?.Value??"",m={name:t.Name??"",description:t.Description??""};e&&e!==""&&(m.name=e),i&&i!==""&&(m.description=i),c&&c!==""&&(m.encryption=c),a&&a!==""&&(m.password=a,m.repeatPassword=a),u&&u!==""&&(m.compression=u),this.generalForm.patchValue(m)}mapScheduleToForm(t){if(!t){this.scheduleType.set("disabled"),this.scheduleFields.autoRun.set(!1);return}let e=this.#l.fromString(t.Repeat)??null,i=this.#p(t.Time);this.scheduleFields.autoRun.set(!0),i.date&&this.scheduleFields.nextTime.date.set(i.date),this.scheduleFields.nextTime.time.set(i.time),this.scheduleFields.runAgain.repeatUnit.set(e?.unit??"D"),this.scheduleFields.runAgain.repeatValue.set(e?.value??1),this.scheduleFields.runAgain.allowedDays.mon.set(t.AllowedDays?.includes("mon")??!1),this.scheduleFields.runAgain.allowedDays.tue.set(t.AllowedDays?.includes("tue")??!1),this.scheduleFields.runAgain.allowedDays.wed.set(t.AllowedDays?.includes("wed")??!1),this.scheduleFields.runAgain.allowedDays.thu.set(t.AllowedDays?.includes("thu")??!1),this.scheduleFields.runAgain.allowedDays.fri.set(t.AllowedDays?.includes("fri")??!1),this.scheduleFields.runAgain.allowedDays.sat.set(t.AllowedDays?.includes("sat")??!1),this.scheduleFields.runAgain.allowedDays.sun.set(t.AllowedDays?.includes("sun")??!1);let o=Qe(this.scheduleFields),a=Dt.find(c=>JSON.stringify(c.data)===JSON.stringify(o));a?this.scheduleType.set(a.value):this.scheduleType.set("custom")}mapOptionsToForms(t,e=!1){let i=["--no-encryption","--exclude-files-attributes","--skip-files-larger-than","dblock-size","passphrase","keep-time","keep-versions","retention-policy"],o=(t.Settings??[]).map(m=>m);if(e){let m=this.#s.serverSettings()??{};Object.keys(m).filter(h=>h.startsWith("--")).forEach(h=>{o.find(B=>B.Name===h)||o.push({Name:h,Value:m[h],Filter:null})})}let a=o.filter(m=>!i.includes(m.Name)),c=o.filter(m=>i.includes(m.Name));this.settings.set(a??[]),a?.forEach(m=>{if(m.Name==="encryption-module"&&this.isNew())return this.generalForm.controls.encryption.setValue(m.Value??"")});var u="all";c?.forEach(m=>{if(m.Name==="dblock-size"&&this.optionsFields.remoteVolumeSize.set(m.Value??"50MB"),m.Name==="keep-time"&&(m.Value??"")!=="")return u="time",this.optionsFields.backupRetentionTime.set(m.Value??"");if(m.Name==="keep-versions"&&(m.Value??"")!=="")return u="versions",this.optionsFields.backupRetentionVersions.set(m.Value?parseInt(m.Value):null);if(m.Name==="retention-policy"&&(m.Value??"")!=="")if(m.Value===In)u="smart";else return u="custom",this.optionsFields.backupRetentionCustom.set(m.Value??"")}),this.optionsFields.backupRetention.set(u)}storeMetadata(t,e){this.backupMetadata.set(e?t.Metadata??null:null)}getScheduleFormValue(){let t=Qe(this.scheduleFields);return Dn(t)}#u(){let t=this.generalForm.value,e=this.getScheduleFormValue(),i=this.sourceDataForm.value,o=this.targetUrlModel(),a=i.path?.split("\0")??[],c=this.mapFormsToSettings(),u=Object.entries(i.excludes??{}).filter(([h,$])=>$&&h!=="filesLargerThan").map(([h])=>h),m=i.excludes?.filesLargerThan;return u.length&&c.push({Name:"--exclude-files-attributes",Value:u.join(",")}),m&&m.size!==null&&m.unit!==null&&c.push({Name:"--skip-files-larger-than",Value:`${m.size}${m.unit}`}),{Backup:{Name:t.name,Description:t.description,TargetURL:o??null,Sources:a.filter(h=>!(h.startsWith("-")||h.startsWith("+"))),Settings:c,Filters:a.filter(h=>h.startsWith("-")||h.startsWith("+")).map((h,$)=>({Order:$,Include:h.startsWith("+"),Expression:h.slice(1)}))},Schedule:e}}mapFormsToSettings(t=[]){let e=this.generalForm.value,i=["--no-encryption","--exclude-files-attributes","--skip-files-larger-than","encryption-module","passphrase","keep-time","keep-versions","retention-policy","dblock-size","compression-module"],o=[{Name:"--no-encryption",Value:"True"}];e.encryption!==""&&e.encryption!==Ze.Key&&(o=[{Name:"encryption-module",Value:e.encryption??null},{Name:"passphrase",Value:e.password??null}]);let a=[{Name:"compression-module",Value:e.compression}];e.compression===""&&(a=[]);let c=[{Name:"dblock-size",Value:this.optionsFields.remoteVolumeSize()}];switch(this.optionsFields.backupRetention()){case"time":c.push({Name:"keep-time",Value:this.optionsFields.backupRetentionTime()});break;case"versions":c.push({Name:"keep-versions",Value:this.optionsFields.backupRetentionVersions()?.toString()??""});break;case"custom":c.push({Name:"retention-policy",Value:this.optionsFields.backupRetentionCustom()});break;case"smart":c.push({Name:"retention-policy",Value:In});break}let u=[...t,...i],m=this.settings().filter(h=>!u.includes(h.Name)).map(h=>{let $=h.Value;return typeof h.Value=="number"&&($=h.Value.toString()),typeof h.Value=="boolean"&&($=h.Value?"True":"False"),{Name:h.Name?.startsWith("--")?h.Name:`--${h.Name}`,Value:$}});return[...o,...a,...c,...m]}#p(t){if(!t||t?.indexOf("T")===-1)return{time:t??"13:00"};let e=new Date(t);return{time:`${(""+e.getHours()).padStart(2,"0")}:${(""+e.getMinutes()).padStart(2,"0")}`,date:e.toISOString().split("T")[0]}}setTargetUrl(t,e=!1){e&&(this.#r=null),this.targetUrlModel.set(t)}#c(){this.generalForm.reset(),this.sourceDataForm.reset(),this.scheduleFields=$t(),this.optionsFields.remoteVolumeSize.set("50MB"),this.optionsFields.backupRetention.set("all"),this.settings.set([]),this.targetUrlModel.set(null)}static \u0275fac=function(e){return new(e||n)};static \u0275prov=ye({token:n,factory:n.\u0275fac,providedIn:"root"})};var oa=["formRef"];function aa(n,t){n&1&&(l(0,"sh-alert",17),I(1,5),A(2,"sh-icon",26),y(),r())}function la(n,t){if(n&1&&p(0),n&2){let e=t.$implicit;J(" ",e.DisplayName," ")}}function ra(n,t){if(n&1&&A(0,"sh-progress-bar",40),n&2){let e=s(3);Ne("error",e.calculatePasswordStrength()===1)("warn",e.calculatePasswordStrength()===2)("primary",e.calculatePasswordStrength()===4)("success",e.calculatePasswordStrength()===5),d("value",e.calculatePasswordStrength()*(100/5))}}function sa(n,t){n&1&&(l(0,"span",35),x(1,10),r())}function _a(n,t){n&1&&(I(0,8,1),A(1,"sh-icon"),y())}function ca(n,t){n&1&&(I(0,8,2),A(1,"sh-icon"),y())}function da(n,t){n&1&&(I(0,11,1),A(1,"sh-icon",42),y())}function ua(n,t){n&1&&(I(0,11,2),A(1,"sh-icon"),y())}function pa(n,t){if(n&1){let e=D();l(0,"button",41),f("click",function(){C(e);let o=s(3);return g(o.copyPassword())}),I(1,11),S(2,da,2,0)(3,ua,2,0),y(),r()}if(n&2){let e=s(3);_(2),E(e.copiedPassword()?2:3)}}function ma(n,t){n&1&&(l(0,"sh-alert",39),x(1,12),r())}function Ca(n,t){if(n&1){let e=D();l(0,"div",30)(1,"sh-form-field")(2,"label",31),I(3,7),A(4,"sup"),y(),r(),A(5,"input",32),r(),S(6,ra,1,9,"sh-progress-bar",33),l(7,"sh-form-field"),A(8,"input",34),S(9,sa,2,0,"span",35),r(),l(10,"div",36)(11,"button",37),f("click",function(){C(e);let o=s(2);return g(o.showPassword.set(!o.showPassword()))}),I(12,8),S(13,_a,2,0)(14,ca,2,0),y(),r(),l(15,"button",37),f("click",function(){C(e);let o=s(2);return g(o.generatePassword())}),I(16,9),A(17,"sh-icon"),y(),r(),S(18,pa,4,1,"button",38),r(),S(19,ma,2,0,"sh-alert",39),r()}if(n&2){let e=s(2);_(5),d("type",e.showPassword()?"text":"password"),_(),E(e.generalForm.value.password?6:-1),_(2),d("type",e.showPassword()?"text":"password"),_(),E(e.generalForm.value.repeatPassword&&e.generalForm.value.repeatPassword!==e.generalForm.value.password?9:-1),_(4),E(e.showPassword()?13:14),_(5),E(e.showCopyPassword()?18:-1),_(),E(e.generalForm.value.password&&e.generalForm.value.password===e.generalForm.value.repeatPassword?19:-1)}}function ga(n,t){if(n&1&&(l(0,"sh-select",27)(1,"label",28),x(2,6),r(),A(3,"input",29),K(4,la,1,1,"ng-template"),r(),S(5,Ca,20,7,"div",30)),n&2){let e=s();d("options",e.encryptionOptions())("isClearable",!1),_(5),E(e.encryptionFieldSignal()!==e.noneOptionKey?5:-1)}}function Ta(n,t){if(n&1&&(l(0,"button",24),I(1,13),A(2,"sh-icon"),y(),r()),n&2){let e=s();d("disabled",e.nameAndDescriptionValid()===!1)}}function Sa(n,t){if(n&1&&(l(0,"button",25),I(1,14),A(2,"sh-icon"),y(),r()),n&2){let e=s();d("disabled",e.generalForm.invalid||e.showCopyPassword()&&!e.copiedPassword())}}var Ge=new dt,yn=(n={name:"",description:"",encryption:"",password:"",repeatPassword:"",compression:""})=>Ge.group({name:Ge.control(n.name,[at.required]),description:Ge.control(n.description),encryption:Ge.control(n.encryption,[hn()]),password:Ge.control(n.password,[Rt(t=>t?.value.encryption!=="",[at.required])]),repeatPassword:Ge.control(n.repeatPassword,[Rt(t=>t?.value.encryption!=="",[at.required])]),compression:Ge.control(n.compression)}),Ze={Key:"-",DisplayName:"None"},bt=class n{#e=P(Pe);#t=P(ke);#n=P(fn);#i=P(De);#s=P(Fe);formRef=Ue.required("formRef");generalForm=this.#i.generalForm;generalFormSignal=this.#i.generalFormSignal;encryptionFieldSignal=this.#i.encryptionFieldSignal;encryptionOptions=this.#i.encryptionOptions;isNew=this.#i.isNew;showPassword=N(!1);copiedPassword=N(!1);showCopyPassword=N(!1);noneOptionKey=Ze.Key;encryptionEffect=ee(()=>{this.encryptionFieldSignal()===Ze.Key&&(this.copiedPassword.set(!1),this.showCopyPassword.set(!1))});nameAndDescriptionValid=M(()=>{let t=this.generalFormSignal(),e=this.generalForm.controls;return e?.name&&e.name.valid&&e?.description&&e.description.valid});calculatePasswordStrength=M(()=>{let e=this.generalFormSignal()?.password??"";return this.#n.calculatePasswordStrength(e)});ngOnInit(){this.formRef().nativeElement.focus()}exit(){this.#i.exit(!0)}async copyPassword(){let t=this.generalForm.controls.password.value;await this.#l(t??""),this.copiedPassword.set(!0)}async#l(t){try{await navigator.clipboard.writeText(t)}catch{try{let i=document.createElement("textarea");i.value=t,document.body.appendChild(i),i.select(),document.execCommand("copy"),document.body.removeChild(i)}catch(i){console.error("Failed to copy text: ",i)}}}generatePassword(){this.copiedPassword.set(!1);let t=this.#n.generate(16);this.generalForm.controls.password.setValue(t),this.generalForm.controls.repeatPassword.setValue(t),this.showCopyPassword.set(!0)}next(){this.#i.isNew()||this.#i.submit(!0),this.#e.navigate(["destination"],{relativeTo:this.#t.parent})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=W({type:n,selectors:[["app-general"]],viewQuery:function(e,i){e&1&&be(i.formRef,oa,5),e&2&&Ve()},decls:21,vars:4,consts:()=>{let t;t=$localize`Your backup name`;let e;e=$localize`Your backup description`;let i;i=$localize`Remember to copy the password`;let o;o=$localize`General backup settings`;let a;a=$localize` Backup name ${"\uFFFD#8\uFFFD"}:START_SUPERSCRIPT:*${"\uFFFD/#8\uFFFD"}:CLOSE_SUPERSCRIPT:`;let c;c=$localize`Backup description`;let u;u=$localize`${"\uFFFD#18\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#18\uFFFD"}:CLOSE_TAG_SH_ICON: Exit `;let m;m=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:lock${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON: Encrypted backup `;let h;h=$localize`Encryption`;let $;$=$localize`Encryption`;let B;B=$localize`Password`;let q;q=$localize`Repeat password`;let L;L=$localize` Create a password ${"\uFFFD#4\uFFFD"}:START_SUPERSCRIPT:*${"\uFFFD/#4\uFFFD"}:CLOSE_SUPERSCRIPT:`;let F;F=$localize`${"\uFFFD*13:1\uFFFD"}:START_BLOCK_IF:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:eye-slash${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Hide ${"\uFFFD/*13:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*14:2\uFFFD"}:START_BLOCK_ELSE:${"[\uFFFD#1:1\uFFFD|\uFFFD#1:2\uFFFD]"}:START_TAG_SH_ICON:eye${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Show ${"\uFFFD/*14:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,F=We(F);let G;G=$localize`${"\uFFFD#17\uFFFD"}:START_TAG_SH_ICON:password${"\uFFFD/#17\uFFFD"}:CLOSE_TAG_SH_ICON: Generate password `;let v;v=$localize`Passwords do not match`;let O;O=$localize`${"\uFFFD*2:1\uFFFD"}:START_BLOCK_IF:${"\uFFFD#1:1\uFFFD"}:START_TAG_SH_ICON:check${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Copied password ${"\uFFFD/*2:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*3:2\uFFFD"}:START_BLOCK_ELSE:${"\uFFFD#1:2\uFFFD"}:START_TAG_SH_ICON_1:copy${"[\uFFFD/#1:1\uFFFD|\uFFFD/#1:2\uFFFD]"}:CLOSE_TAG_SH_ICON: Copy password ${"\uFFFD/*3:2\uFFFD"}:CLOSE_BLOCK_ELSE:`,O=We(O);let z;z=$localize` Tip: Be sure to save your password. If you lose it, you will lose access to your backups. `;let ue;ue=$localize` Continue ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`;let pe;return pe=$localize` Continue ${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON:`,[["formRef",""],o,a,c,u,m,$,L,F,G,v,O,z,ue,pe,["autocomplete","off",3,"submit","formGroup"],[1,"title-30"],[1,"primary"],["for","backupName"],["type","text","tabindex","1","placeholder",t,"formControlName","name"],["for","backupDescription"],["id","backupDescription","tabindex","2","placeholder",e,"formControlName","description"],[1,"form-actions"],["type","button","shButton","",3,"click"],["shButton","","type","submit",1,"raised","primary",3,"disabled"],["shButton","","type","submit","shTooltip",i,1,"raised","primary",3,"disabled"],["icon",""],["value","Key","label","DisplayName",3,"options","isClearable"],["for","encryption"],["type","text","id","encryption","tabindex","3","placeholder",h,"formControlName","encryption"],[1,"passwords"],["for","password"],["id","password","tabindex","4","autocomplete","off","placeholder",B,"formControlName","password",3,"type"],[1,"raised",3,"error","warn","primary","success","value"],["id","repeatPassword","tabindex","5","autocomplete","off","placeholder",q,"formControlName","repeatPassword",3,"type"],["error",""],[1,"password-actions"],["shButton","","type","button",1,"small",3,"click"],["shButton","","type","button",1,"small","copy"],["type","primary"],[1,"raised",3,"value"],["shButton","","type","button",1,"small","copy",3,"click"],[1,"sh-success"]]},template:function(e,i){if(e&1){let o=D();l(0,"form",15,0),f("submit",function(){return C(o),g(i.next())}),l(2,"h3",16),x(3,1),r(),S(4,aa,3,0,"sh-alert",17),l(5,"sh-form-field")(6,"label",18),I(7,2),A(8,"sup"),y(),r(),A(9,"input",19),r(),l(10,"sh-form-field")(11,"label",20),x(12,3),r(),A(13,"textarea",21),r(),S(14,ga,6,3),l(15,"div",22)(16,"button",23),f("click",function(){return C(o),g(i.exit())}),I(17,4),A(18,"sh-icon"),y(),r(),S(19,Ta,3,1,"button",24)(20,Sa,3,1,"button",25),r()()}if(e&2){let o;d("formGroup",i.generalForm),_(4),E(!i.isNew()&&((o=i.generalFormSignal())==null?null:o.encryption)!==""?4:-1),_(10),E(i.isNew()?14:-1),_(5),E(i.encryptionFieldSignal()===i.noneOptionKey||!i.isNew()?19:20)}},dependencies:[Be,rt,oe,ae,lt,ct,_t,Te,Me,Z,le,pt,ut,Ct],styles:["[_nghost-%COMP%]{display:block;width:100%;max-width:32.5rem;padding:2.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;padding-bottom:1.5rem}sup[_ngcontent-%COMP%]{padding:0 .125rem;color:var(--error-8)}.passwords[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.password-actions[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.copy[_ngcontent-%COMP%] sh-icon.sh-success[_ngcontent-%COMP%]{color:var(--success-8)}"],changeDetection:0})};export{yn as a,Ze as b,bt as c,Dt as d,Dn as e,$t as f,Lt as g,Je as h,Xe as i,It as j,Pt as k,Ot as l,An as m,Gt as n,De as o};
package/chunk-AZHCUEP6.js DELETED
@@ -1 +0,0 @@
1
- import{a,b,c}from"./chunk-6XFXDO6Y.js";import"./chunk-E24DEHPH.js";import"./chunk-2JMS6ROE.js";import"./chunk-6GTXSMAH.js";import"./chunk-ONYKQCZU.js";import"./chunk-6Q6SSTBK.js";import"./chunk-ONXV5IRS.js";import"./chunk-X52R5Q6W.js";import"./chunk-D45OX6NR.js";import"./chunk-PT5SA5DK.js";import"./chunk-TNJ2RJ2V.js";import"./chunk-DIJYLB6O.js";import"./chunk-P42HQ2IS.js";import"./chunk-KANLHRTR.js";import"./chunk-V4SUZRAG.js";import"./chunk-4SMU6FWN.js";import"./chunk-VRXOIVWD.js";import"./chunk-L4B2T7UE.js";import"./chunk-XURQUV7B.js";import"./chunk-WC6RBAAY.js";import"./chunk-XUDS7MYD.js";import"./chunk-YP4LWQJG.js";import"./chunk-7CGTOI24.js";export{b as NONE_OPTION,a as createGeneralForm,c as default};
package/chunk-DCSAOEZR.js DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-MRTE3AG7.js";import"./chunk-WC6RBAAY.js";import"./chunk-XUDS7MYD.js";import"./chunk-YP4LWQJG.js";import"./chunk-7CGTOI24.js";export{a as BytesPipe};
package/chunk-E24DEHPH.js DELETED
@@ -1 +0,0 @@
1
- import{u as _}from"./chunk-V4SUZRAG.js";import{Ab as n,Pa as r,Rc as C,Uc as u,Vb as m,Yb as f,Zb as a,cb as g,gc as h,jc as s,sb as d,tb as p,zb as o}from"./chunk-YP4LWQJG.js";var v=[[["","title",""]],[["","description",""]],[["","action",""]],"*"],M=["[title]","[description]","[action]","*"];function P(e,c){e&1&&s(0,"Title")}function T(e,c){e&1&&(o(0,"sh-icon"),s(1,"caret-down"),n())}var l=class e{isActive=u(!1);disallowToggle=C(!1);ngOnInit(){this.disallowToggle()&&this.isActive.set(!0)}toggle(){this.isActive.set(!this.isActive())}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=g({type:e,selectors:[["app-toggle-card"]],hostVars:2,hostBindings:function(t,i){t&2&&h("active",i.isActive())},inputs:{isActive:[1,"isActive"],disallowToggle:[1,"disallowToggle"]},outputs:{isActive:"isActiveChange"},ngContentSelectors:M,decls:11,vars:1,consts:[[1,"title"],[3,"click"],[1,"actions"],[1,"content"]],template:function(t,i){t&1&&(f(v),o(0,"header")(1,"div",0)(2,"h3",1),m("click",function(){return i.disallowToggle()||i.toggle()}),a(3,0,null,P,1,0),d(5,T,2,0,"sh-icon"),n(),a(6,1),n(),o(7,"div",2),a(8,2),n()(),o(9,"div",3),a(10,3),n()),t&2&&(r(5),p(i.disallowToggle()?-1:5))},dependencies:[_],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;border-radius:var(--shape-3);background-color:var(--base-2)}.active[_nghost-%COMP%] .content[_ngcontent-%COMP%]{max-height:1000px;transition:max-height 1s linear;padding:0 1rem 1rem}.active[_nghost-%COMP%] sh-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;font:var(--paragraph-10);cursor:pointer;-webkit-user-select:none;user-select:none}[_nghost-%COMP%] sh-icon[_ngcontent-%COMP%]{transform:rotate(0);transform-origin:center;transition:transform .2s ease}header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem}header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;flex:1 0}header[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]:empty{display:none}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:0 1rem;overflow:hidden;max-height:0;transition:max-height .25s linear,padding .25s linear}.content[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})};export{l as a};
package/chunk-EEG6BJZA.js DELETED
@@ -1 +0,0 @@
1
- import"./chunk-7CGTOI24.js";var o=[{path:"",redirectTo:"select-files",pathMatch:"full"},{path:"destination",loadComponent:()=>import("./chunk-PSU4AIIW.js")},{path:"encryption",loadComponent:()=>import("./chunk-XADU2VUM.js")},{path:"select-files",loadComponent:()=>import("./chunk-YPP2KQ47.js")},{path:"options",loadComponent:()=>import("./chunk-NMC6ODBC.js")},{path:":taskid/progress",loadComponent:()=>import("./chunk-VIFNOUPQ.js")}],t=o;export{t as default};
package/chunk-FKMUWCFT.js DELETED
@@ -1 +0,0 @@
1
- import{h as Ie,j as De,k as he,l as Oe,o as fe}from"./chunk-6XFXDO6Y.js";import"./chunk-E24DEHPH.js";import"./chunk-2JMS6ROE.js";import{b as Ee,c as me}from"./chunk-6GTXSMAH.js";import"./chunk-ONYKQCZU.js";import"./chunk-6Q6SSTBK.js";import"./chunk-ONXV5IRS.js";import"./chunk-X52R5Q6W.js";import{a as D}from"./chunk-D45OX6NR.js";import"./chunk-PT5SA5DK.js";import"./chunk-TNJ2RJ2V.js";import"./chunk-DIJYLB6O.js";import"./chunk-P42HQ2IS.js";import"./chunk-KANLHRTR.js";import{B as Fe,H as Ne,K as pe,c as ae,e as re,f as se,g as le,i as _e,j as ce,r as Te,s as ge,u as ue,w as de,y as Ce,z as Se}from"./chunk-V4SUZRAG.js";import"./chunk-4SMU6FWN.js";import{b as ie,d as oe}from"./chunk-VRXOIVWD.js";import"./chunk-L4B2T7UE.js";import"./chunk-XURQUV7B.js";import"./chunk-WC6RBAAY.js";import"./chunk-XUDS7MYD.js";import{$ as T,Ab as s,Bb as u,Fb as W,Gb as j,Ib as p,Mc as x,Pa as c,Pb as d,Qb as C,Rb as E,Sb as $,Sc as ne,Tb as R,Vb as S,W as m,Xb as l,aa as g,cb as H,cc as Q,da as X,dc as Y,gc as q,jc as y,la as O,oc as f,pc as A,qc as P,rc as Z,sb as F,sc as ee,tb as N,tc as L,xc as te,yb as I,zb as r}from"./chunk-YP4LWQJG.js";import"./chunk-7CGTOI24.js";var Ae=["formRef"],Pe=()=>({maxWidth:"700px",width:"100%"});function Me(o,t){o&1&&E(0,5,1)}function $e(o,t){o&1&&E(0,5,2)}function Re(o,t){if(o&1){let e=p();r(0,"button",34),S("click",function(){T(e);let n=l();return g(n.testDestination(0,!0))}),d(1,5),F(2,Me,1,0)(3,$e,1,0),C(),s()}if(o&2){let e=l();I("disabled",e.testSignal()=="testing"),c(2),N(e.testSignal()=="testing"?2:3)}}function ye(o,t){if(o&1){let e=p();r(0,"button",35),S("click",function(){T(e);let n=l();return g(n.openTargetUrlDialog())}),d(1,6),u(2,"sh-icon"),C(),s()}}function Le(o,t){if(o&1){let e=p();r(0,"button",35),S("click",function(){T(e);let n=l(2);return g(n.copyTargetUrl())}),d(1,8),u(2,"sh-icon"),C(),s()}}function xe(o,t){if(o&1){let e=p();r(0,"sh-menu")(1,"button",24)(2,"sh-icon"),y(3,"dots-three-vertical"),s()(),W(4,36),r(5,"button",35),S("click",function(){T(e);let n=l();return g(n.openTargetUrlDialog())}),d(6,7),u(7,"sh-icon"),C(),s(),F(8,Le,3,0,"button",24),j(),s()}if(o&2){l();let e=L(0);c(8),N(e?8:-1)}}function Ue(o,t){o&1&&(r(0,"sh-alert"),d(1,9),u(2,"sh-icon",37),C(),s())}function Ge(o,t){o&1&&(r(0,"sh-alert",25),d(1,10),u(2,"sh-icon",37),C(),s())}function we(o,t){if(o&1&&(r(0,"sh-alert",26),d(1,11),u(2,"sh-icon",37),C(),s()),o&2){let e=l();c(2),$(e.testErrorMessage()),R(1)}}function be(o,t){if(o&1&&(r(0,"sh-alert",27),d(1,12),u(2,"sh-icon",37),C(),s()),o&2){let e=l();c(2),$(e.testErrorMessage()),R(1)}}function Be(o,t){if(o&1){let e=p();r(0,"app-destination-list",38),S("setDestination",function(n){T(e);let a=l();return g(a.setDestination(n))}),s()}}function ke(o,t){if(o&1){let e=p();r(0,"app-single-destination",39),P("targetUrlChange",function(n){T(e);let a=l();return A(a.targetUrlModel,n)||(a.targetUrlModel=n),g(n)}),s()}if(o&2){let e=l();f("targetUrl",e.targetUrlModel),I("useBackupState",!0)}}function ve(o,t){o&1&&(r(0,"h2"),E(1,15),s())}function Ke(o,t){o&1&&(r(0,"h2"),E(1,16),s())}function Ve(o,t){if(o&1){let e=p();r(0,"sh-dialog",40),P("isOpenChange",function(n){T(e);let a=l();return A(a.targetUrlDialogOpen,n)||(a.targetUrlDialogOpen=n),g(n)}),r(1,"header",41)(2,"div",42),F(3,ve,2,0,"h2")(4,Ke,2,0,"h2"),r(5,"sh-alert",26),E(6,13),s()()(),r(7,"div",43)(8,"sh-form-field")(9,"textarea",44),P("ngModelChange",function(n){T(e);let a=l();return A(a.targetUrlCtrl,n)||(a.targetUrlCtrl=n),g(n)}),s()()(),r(10,"footer",45)(11,"button",29),S("click",function(){T(e);let n=l();return g(n.closeTargetUrlDialog(!1))}),y(12,"Cancel"),s(),r(13,"button",46),S("click",function(){T(e);let n=l();return g(n.closeTargetUrlDialog(!0))}),d(14,14),u(15,"sh-icon"),C(),s()()()}if(o&2){let e=l(),i=L(0);f("isOpen",e.targetUrlDialogOpen),I("options",te(4,Pe)),c(3),N(i?4:3),c(6),f("ngModel",e.targetUrlCtrl)}}var M=new Te,lt=(o={destinations:[]})=>M.group({destinations:M.array(o.destinations)}),_t=({key:o,customGroup:t,dynamicGroup:e,advancedGroup:i})=>M.group({destinationType:M.control(o),custom:t,dynamic:e,advanced:i}),U=class o{#i=m(oe);#o=m(ie);#e=m(fe);#t=m(Se);#a=m(Oe);injector=m(X);formRef=ne.required("formRef");targetUrlModel=this.#e.targetUrlModel;targetUrlCtrl=O(null);targetUrlInitial=O(null);targetUrlDialogOpen=O(!1);toggleNewDestination=O(!0);testSignal=this.#e.testSignal;testErrorMessage=this.#e.testErrorMessage;selectedDestinationType=x(()=>{let t=this.targetUrlModel();return t?Ee(t)??null:null});selectedDestinationTypeOption=x(()=>{let t=this.selectedDestinationType();return t?{key:t.customKey??t.key,customKey:t.customKey??null,displayName:t.displayName,description:t.description,icon:t.icon}:null});copyTargetUrl(){navigator.clipboard.writeText(this.targetUrlModel()??"")}openTargetUrlDialog(){let t=this.targetUrlModel();this.targetUrlCtrl.set(t),this.targetUrlInitial.set(t),this.targetUrlDialogOpen.set(!0)}closeTargetUrlDialog(t=!1){this.targetUrlDialogOpen.set(!1);let e=this.targetUrlCtrl(),i=this.targetUrlInitial();!t||e===i||!e||this.#e.setTargetUrl(e)}testDestination(t,e,i){let n=this.targetUrlModel();n&&(this.#e.setTestState("testing"),this.#a.testDestination(n,this.#e.backupId(),t,!0,!0).subscribe({next:a=>{if(a.action==="success"){this.#e.setTestState("success"),this.#e.isNew()&&(a.containsBackup===!0?(this.#e.setTestState("warning",$localize`The remote destination already contains a backup. Please use a different folder for each backup.`),e||this.#t.open(D,{data:{title:$localize`Folder contains backup`,message:$localize`The remote destination already contains a backup. You must use a different folder for each backup.`,confirmText:$localize`OK`,cancelText:void 0}})):a.anyFilesFound===!0&&(this.#e.setTestState("warning",$localize`The remote destination contains unknown files.`),e||this.#t.open(D,{data:{title:$localize`Folder is not empty`,message:$localize`The remote destination is not empty. It is recommended to use an empty folder for the backup.`,confirmText:$localize`OK`,cancelText:void 0}}))),i?.();return}if(this.#e.setTestState("error",a.errorMessage??$localize`An error occurred while testing the destination.`),a.action==="generic-error"){i?.();return}let h=n.includes("?");a.action==="trust-cert"&&this.#e.setTargetUrl(n+`${h?"&":"?"}accept-specified-ssl-hash=${a.certData}`),a.action==="approve-host-key"&&this.#e.setTargetUrl(n+`${h?"&":"?"}ssh-fingerprint=${a.reportedHostKey}`),a.testAgain?this.testDestination(a.destinationIndex,e):i?.()}}))}setDestination(t){let e=me(t??"");if(e){if(e.mapper.default){let i=e.mapper.default(this.#e.backupName()??"");this.#e.setTargetUrl(i,!0);return}this.#e.setTargetUrl(`${t}://`,!0)}}removeDestination(){this.#e.setTargetUrl(null,!0)}goBack(){this.#i.navigate(["general"],{relativeTo:this.#o.parent})}next(){let t=this.#e.isNew(),e=this.testSignal();if(!t){this.#n();return}if(e===""){this.#t.open(D,{data:{title:$localize`Test destination`,message:$localize`You have not tested the destination yet. Do you want to test it now?`,confirmText:$localize`Test now`,cancelText:$localize`Skip test and continue`},closed:i=>{i?this.testDestination(0,!1,()=>{this.testSignal()==="success"?this.#n():this.#t.open(D,{data:{title:$localize`Test did not succeed`,message:this.testErrorMessage()??$localize`Failed to test the destination.`,confirmText:$localize`OK`,cancelText:void 0}})}):this.#n()}});return}if(e!=="success"){this.#t.open(D,{data:{title:$localize`Test destination`,message:$localize`The destination has not been tested successfully. Are you sure you want to continue?`,confirmText:$localize`Yes, continue`,cancelText:$localize`Cancel`},closed:i=>{i&&this.#n()}});return}this.#n()}#n(){this.#e.isNew()||this.#e.submit(!0),this.#i.navigate(["source-data"],{relativeTo:this.#o.parent})}static \u0275fac=function(e){return new(e||o)};static \u0275cmp=H({type:o,selectors:[["app-destination"]],viewQuery:function(e,i){e&1&&Q(i.formRef,Ae,5),e&2&&Y()},decls:31,vars:11,consts:()=>{let t;t=$localize`Backup destination`;let e;e=$localize`Change`;let i;i=$localize`${"\uFFFD#26\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#26\uFFFD"}:CLOSE_TAG_SH_ICON: Go back `;let n;n=$localize`${"\uFFFD#29\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#29\uFFFD"}:CLOSE_TAG_SH_ICON: Continue `;let a;a=$localize`${"\uFFFD*2:1\uFFFD"}:START_BLOCK_IF: Testing... ${"\uFFFD/*2:1\uFFFD"}:CLOSE_BLOCK_IF:${"\uFFFD*3:2\uFFFD"}:START_BLOCK_ELSE: Test destination ${"\uFFFD/*3:2\uFFFD"}:CLOSE_BLOCK_ELSE:`;let h;h=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:link${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON: Set target URL `;let G;G=$localize`${"\uFFFD#7\uFFFD"}:START_TAG_SH_ICON:link${"\uFFFD/#7\uFFFD"}:CLOSE_TAG_SH_ICON: Edit target URL `;let w;w=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:copy${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON: Copy URL to clipboard `;let b;b=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:spinner${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON: Testing connection... `;let B;B=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:check${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON: Connection tested successfully. `;let k;k=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:warning${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON: ${"\uFFFD0\uFFFD"}:INTERPOLATION: `;let v;v=$localize`${"\uFFFD#2\uFFFD"}:START_TAG_SH_ICON:warning${"\uFFFD/#2\uFFFD"}:CLOSE_TAG_SH_ICON: ${"\uFFFD0\uFFFD"}:INTERPOLATION: `;let K;K=$localize`Be careful, this will overwrite everything you have in your destination.`;let V;V=$localize` Override target URL ${"\uFFFD#15\uFFFD"}:START_TAG_SH_ICON:swap${"\uFFFD/#15\uFFFD"}:CLOSE_TAG_SH_ICON:`;let z;z=$localize`Set target URL`;let J;return J=$localize`Edit target URL`,[["formRef",""],t,e,i,n,a,h,G,w,b,B,k,v,K,V,z,J,["autocomplete","off",3,"submit"],[2,"position","absolute","left","-9999px","width","1px","height","1px","overflow","hidden"],["type","text","name","fake_email","tabindex","-1"],["type","password","name","fake_password","tabindex","-1"],[1,"title-30"],[1,"actions"],["shButton","","type","button",1,"small",3,"disabled"],["shButton","","type","button",1,"small"],[1,"success"],[1,"warn"],[1,"error"],[1,"current-destination",3,"targetUrl"],["shButton","","type","button",3,"click"],[3,"targetUrl","useBackupState"],[1,"form-actions"],["shButton","","type","submit",1,"raised","primary",3,"disabled"],[3,"isOpen","options"],["shButton","","type","button",1,"small",3,"click","disabled"],["shButton","","type","button",1,"small",3,"click"],["menu",""],["icon",""],[3,"setDestination"],[3,"targetUrlChange","targetUrl","useBackupState"],[3,"isOpenChange","isOpen","options"],["header",""],[1,"target-dialog-header"],["content",""],["id","targetUrl","autocomplete","off",3,"ngModelChange","ngModel"],["footer",""],["shButton","","type","submit",1,"raised","primary",3,"click"]]},template:function(e,i){if(e&1){let n=p();Z(0),r(1,"form",17,0),S("submit",function(){return T(n),g(i.next())}),r(3,"div",18),u(4,"input",19)(5,"input",20),s(),r(6,"header")(7,"h3",21)(8,"span"),E(9,1),s(),r(10,"div",22),F(11,Re,4,2,"button",23),F(12,ye,3,0,"button",24)(13,xe,9,1,"sh-menu"),s()(),F(14,Ue,3,0,"sh-alert")(15,Ge,3,0,"sh-alert",25)(16,we,3,1,"sh-alert",26)(17,be,3,1,"sh-alert",27),r(18,"app-destination-list-item",28)(19,"button",29),S("click",function(){return T(n),g(i.removeDestination())}),E(20,2),s()()(),F(21,Be,1,0,"app-destination-list"),F(22,ke,1,2,"app-single-destination",30),r(23,"div",31)(24,"button",29),S("click",function(){return T(n),g(i.goBack())}),d(25,3),u(26,"sh-icon"),C(),s(),r(27,"button",32),d(28,4),u(29,"sh-icon"),C(),s()()(),F(30,Ve,16,5,"sh-dialog",33)}if(e&2){let n=ee(!!i.targetUrlModel());c(11),N(n?11:-1),c(),N(n?13:12),c(2),N(i.testSignal()=="testing"?14:i.testSignal()=="success"?15:i.testSignal()=="warning"?16:i.testSignal()=="error"?17:-1),c(4),I("targetUrl",i.targetUrlModel()),c(3),N(n?-1:21),c(),N(n?22:-1),c(5),q("loading",i.testSignal()=="testing"),I("disabled",i.testSignal()=="testing"||!n),c(3),N(i.targetUrlDialogOpen()?30:-1)}},dependencies:[he,De,Ie,ge,ce,ae,re,se,_e,le,Fe,Ne,pe,ue,Ce,de],styles:["[_nghost-%COMP%]{display:block;width:100%;max-width:40rem;padding:2.5rem 2.5rem 0}header[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], header[_ngcontent-%COMP%] sh-alert[_ngcontent-%COMP%]{width:100%}header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:.5rem}header[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline}header[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;height:100%;padding:0 0 2.5rem}.current-destination[_ngcontent-%COMP%]{margin:1rem 0 0}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.most-common-destinations[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.most-common-destinations[_ngcontent-%COMP%] .tile[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;padding:1rem;border:1px solid var(--base-4);border-radius:var(--shape-3);box-shadow:var(--box-shadow-10);background-color:var(--base-2);cursor:pointer}.most-common-destinations[_ngcontent-%COMP%] .tile[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font:var(--paragraph-10);margin:0}.target-dialog-header[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:.5rem}"],changeDetection:0})};export{lt as createDestinationForm,_t as createDestinationFormGroup,U as default};
package/chunk-GEBBLUCV.js DELETED
@@ -1,2 +0,0 @@
1
- import{ra as p}from"./chunk-WC6RBAAY.js";var $;function A(e){$??=new TextEncoder;let u=$.encode(e),t=new DataView(u.buffer,u.byteOffset,u.byteLength),n=P(t,u.length,0),r=P(t,u.length,102072);return n==0&&(r==0||r==1)&&(n=n^319790063,r=r^-1801410264),BigInt.asUintN(32,BigInt(n))<<BigInt(32)|BigInt.asUintN(32,BigInt(r))}function V(e,u=""){let t=A(e);return u&&(t=BigInt.asUintN(64,t<<BigInt(1))|t>>BigInt(63)&BigInt(1),t+=A(u)),BigInt.asUintN(63,t).toString()}function P(e,u,t){let n=2654435769,r=2654435769,a=0,l=u-12;for(;a<=l;a+=12){n+=e.getUint32(a,!0),r+=e.getUint32(a+4,!0),t+=e.getUint32(a+8,!0);let o=R(n,r,t);n=o[0],r=o[1],t=o[2]}let s=u-a;return t+=u,s>=4?(n+=e.getUint32(a,!0),a+=4,s>=8?(r+=e.getUint32(a,!0),a+=4,s>=9&&(t+=e.getUint8(a++)<<8),s>=10&&(t+=e.getUint8(a++)<<16),s===11&&(t+=e.getUint8(a++)<<24)):(s>=5&&(r+=e.getUint8(a++)),s>=6&&(r+=e.getUint8(a++)<<8),s===7&&(r+=e.getUint8(a++)<<16))):(s>=1&&(n+=e.getUint8(a++)),s>=2&&(n+=e.getUint8(a++)<<8),s===3&&(n+=e.getUint8(a++)<<16)),R(n,r,t)[2]}function R(e,u,t){return e-=u,e-=t,e^=t>>>13,u-=t,u-=e,u^=e<<8,t-=e,t-=u,t^=u>>>13,e-=u,e-=t,e^=t>>>12,u-=t,u-=e,u^=e<<16,t-=e,t-=u,t^=u>>>5,e-=u,e-=t,e^=t>>>3,u-=t,u-=e,u^=e<<10,t-=e,t-=u,t^=u>>>15,[e,u,t]}function T(e,u,t,n,r=[]){let a={},l={},s={},o=q(e[0],e.raw[0]),M=[o.text],z=[],f=o.text;for(let i=1;i<e.length;i++){let{messagePart:h,placeholderName:d=ee(i),associatedMessageId:H}=Q(e[i],e.raw[i]);f+=`{$${d}}${h}`,u!==void 0&&(a[d]=u[i-1],l[d]=r[i-1]),z.push(d),H!==void 0&&(s[d]=H),M.push(h)}let g=o.customId||V(f,o.meaning||""),_=o.legacyIds?o.legacyIds.filter(i=>i!==g):[];return{id:g,legacyIds:_,substitutions:a,substitutionLocations:l,text:f,customId:o.customId,meaning:o.meaning||"",description:o.description||"",messageParts:M,messagePartLocations:n,placeholderNames:z,associatedMessageIds:s,location:t}}function q(e,u){let{text:t,block:n}=y(e,u);if(n===void 0)return{text:t};{let[r,...a]=n.split("\u241F"),[l,s]=r.split("@@",2),[o,M]=l.split("|",2);return M===void 0&&(M=o,o=void 0),M===""&&(M=void 0),{text:t,meaning:o,description:M,customId:s,legacyIds:a}}}function Q(e,u){let{text:t,block:n}=y(e,u);if(n===void 0)return{messagePart:t};{let[r,a]=n.split("@@");return{messagePart:t,placeholderName:r,associatedMessageId:a}}}function y(e,u){if(u.charAt(0)!==":")return{text:e};{let t=te(e,u);return{block:e.substring(1,t),text:e.substring(t+1)}}}function ee(e){return e===1?"PH":`PH_${e-1}`}function te(e,u){for(let t=1,n=1;t<e.length;t++,n++)if(u[n]==="\\")n++;else if(e[t]===":")return t;throw new Error(`Unterminated $localize metadata block in "${u}".`)}var S=class extends Error{parsedMessage;type="MissingTranslationError";constructor(u){super(`No translation found for ${B(u)}.`),this.parsedMessage=u}};function ne(e,u,t){let n=T(u,t),r=e[n.id];if(n.legacyIds!==void 0)for(let a=0;a<n.legacyIds.length&&r===void 0;a++)r=e[n.legacyIds[a]];if(r===void 0)throw new S(n);return[r.messageParts,r.placeholderNames.map(a=>{if(n.substitutions.hasOwnProperty(a))return n.substitutions[a];throw new Error(`There is a placeholder name mismatch with the translation provided for the message ${B(n)}.
2
- The translation contains a placeholder with name ${a}, which does not exist in the message.`)})]}function re(e){let u=e.split(/{\$([^}]*)}/),t=[u[0]],n=[];for(let a=1;a<u.length-1;a+=2)n.push(u[a]),t.push(`${u[a+1]}`);let r=t.map(a=>a.charAt(0)===":"?"\\"+a:a);return{text:e,messageParts:ae(t,r),placeholderNames:n}}function ae(e,u){return Object.defineProperty(e,"raw",{value:u}),e}function B(e){let u=e.meaning&&` - "${e.meaning}"`,t=e.legacyIds&&e.legacyIds.length>0?` [${e.legacyIds.map(n=>`"${n}"`).join(", ")}]`:"";return`"${e.id}"${t} ("${e.text}"${u})`}function b(e){$localize.translate||($localize.translate=oe),$localize.TRANSLATIONS||($localize.TRANSLATIONS={}),Object.keys(e).forEach(u=>{$localize.TRANSLATIONS[u]=re(e[u])})}function oe(e,u){try{return ne($localize.TRANSLATIONS,e,u)}catch(t){return console.warn(t.message),[e,u]}}function se(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:t===Math.floor(t)&&t>=2&&t<=4&&n===0?3:n!==0?4:5}var L=["cs",[["dop.","odp."]],void 0,[["N","P","\xDA","S","\u010C","P","S"],["ne","po","\xFAt","st","\u010Dt","p\xE1","so"],["ned\u011Ble","pond\u011Bl\xED","\xFAter\xFD","st\u0159eda","\u010Dtvrtek","p\xE1tek","sobota"],["ne","po","\xFAt","st","\u010Dt","p\xE1","so"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["led","\xFAno","b\u0159e","dub","kv\u011B","\u010Dvn","\u010Dvc","srp","z\xE1\u0159","\u0159\xEDj","lis","pro"],["ledna","\xFAnora","b\u0159ezna","dubna","kv\u011Btna","\u010Dervna","\u010Dervence","srpna","z\xE1\u0159\xED","\u0159\xEDjna","listopadu","prosince"]],[["1","2","3","4","5","6","7","8","9","10","11","12"],["led","\xFAno","b\u0159e","dub","kv\u011B","\u010Dvn","\u010Dvc","srp","z\xE1\u0159","\u0159\xEDj","lis","pro"],["leden","\xFAnor","b\u0159ezen","duben","kv\u011Bten","\u010Derven","\u010Dervenec","srpen","z\xE1\u0159\xED","\u0159\xEDjen","listopad","prosinec"]],[["p\u0159.n.l.","n.l."],["p\u0159. n. l.","n. l."],["p\u0159ed na\u0161\xEDm letopo\u010Dtem","na\u0161eho letopo\u010Dtu"]],1,[6,0],["dd.MM.yy","d. M. y","d. MMMM y","EEEE d. MMMM y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss, zzzz"],["{1} {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"CZK","K\u010D","\u010Desk\xE1 koruna",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CSK:["K\u010Ds"],CZK:["K\u010D"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],TWD:["NT$"],USD:["US$","$"],VND:[void 0,"\u20AB"],XEU:["ECU"],XXX:[]},"ltr",se];function ie(e){let u=e,t=Math.floor(Math.abs(e)),n=parseInt(e.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;return u===1||n!==0&&(t===0||t===1)?1:5}var C=["da",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","O","T","F","L"],["s\xF8n.","man.","tirs.","ons.","tors.","fre.","l\xF8r."],["s\xF8ndag","mandag","tirsdag","onsdag","torsdag","fredag","l\xF8rdag"],["s\xF8.","ma.","ti.","on.","to.","fr.","l\xF8."]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mar.","apr.","maj","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januar","februar","marts","april","maj","juni","juli","august","september","oktober","november","december"]],void 0,[["fKr","eKr"],["f.Kr.","e.Kr."],["f\xF8r Kristus","efter Kristus"]],1,[6,0],["dd.MM.y","d. MMM y","d. MMMM y","EEEE 'den' d. MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN","."],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"DKK","kr.","dansk krone",{AUD:["AU$","$"],BYN:[void 0,"Br."],DKK:["kr."],ISK:[void 0,"kr."],JPY:["JP\xA5","\xA5"],NOK:[void 0,"kr."],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],SEK:[void 0,"kr."],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"]},"ltr",ie];function le(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var k=["de",[["AM","PM"]],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."]],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xB7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","Euro",{ATS:["\xF6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"\u0440."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl\xA3"],GHS:[void 0,"\u20B5"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],RWF:[void 0,"F.Rw"],SYP:[void 0,"SYP"],THB:["\u0E3F"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",le];function Me(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var U=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Me];function de(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var K=["en-GB",[["a","p"],["am","pm"]],[["am","pm"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"GBP","\xA3","British Pound",{JPY:["JP\xA5","\xA5"],USD:["US$","$"]},"ltr",de];function me(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length,r=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return u===1?1:r===0&&t!==0&&t%1e6===0&&n===0||!(r>=0&&r<=5)?4:5}var J=["es",[["a.\u202Fm.","p.\u202Fm."],void 0,["a.\xA0m.","p.\xA0m."]],void 0,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xE9","jue","vie","s\xE1b"],["domingo","lunes","martes","mi\xE9rcoles","jueves","viernes","s\xE1bado"],["DO","LU","MA","MI","JU","VI","SA"]],void 0,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],void 0,[["a. C.","d. C."],void 0,["antes de Cristo","despu\xE9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1}, {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{AUD:[void 0,"$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],EGP:[void 0,"EGP"],ESP:["\u20A7"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],THB:["\u0E3F"],TWD:[void 0,"NT$"],USD:["US$","$"],XAF:[],XCD:[void 0,"$"],XOF:[]},"ltr",me];var I=[[["\u5348\u591C","\u65E9\u4E0A","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"],void 0,["\u5348\u591C","\u6E05\u6668","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"]],[["\u5348\u591C","\u65E9\u4E0A","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"],void 0,void 0],["00:00",["05:00","08:00"],["08:00","12:00"],["12:00","13:00"],["13:00","19:00"],["19:00","24:00"],["00:00","05:00"]]];var F=[[["\u5348\u591C","\u6E05\u6668","\u4E0A\u5348","\u4E2D\u5348","\u4E0B\u5348","\u665A\u4E0A","\u51CC\u6668"],void 0,void 0],void 0,["00:00",["05:00","08:00"],["08:00","12:00"],["12:00","13:00"],["13:00","19:00"],["19:00","24:00"],["00:00","05:00"]]];function ce(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var O=["fi",[["ap.","ip."]],void 0,[["S","M","T","K","T","P","L"],["su","ma","ti","ke","to","pe","la"],["sunnuntai","maanantaina","tiistaina","keskiviikkona","torstaina","perjantaina","lauantaina"],["su","ma","ti","ke","to","pe","la"]],[["S","M","T","K","T","P","L"],["su","ma","ti","ke","to","pe","la"],["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],["su","ma","ti","ke","to","pe","la"]],[["T","H","M","H","T","K","H","E","S","L","M","J"],["tammi","helmi","maalis","huhti","touko","kes\xE4","hein\xE4","elo","syys","loka","marras","joulu"],["tammikuuta","helmikuuta","maaliskuuta","huhtikuuta","toukokuuta","kes\xE4kuuta","hein\xE4kuuta","elokuuta","syyskuuta","lokakuuta","marraskuuta","joulukuuta"]],[["T","H","M","H","T","K","H","E","S","L","M","J"],["tammi","helmi","maalis","huhti","touko","kes\xE4","hein\xE4","elo","syys","loka","marras","joulu"],["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kes\xE4kuu","hein\xE4kuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"]],[["eKr","jKr"],["eKr.","jKr."],["ennen Kristuksen syntym\xE4\xE4","j\xE4lkeen Kristuksen syntym\xE4n"]],1,[6,0],["d.M.y",void 0,"d. MMMM y","cccc d. MMMM y"],["H.mm","H.mm.ss","H.mm.ss z","H.mm.ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","\u2212","E","\xD7","\u2030","\u221E","ep\xE4luku","."],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{AOA:[void 0,"AOA"],ARS:[void 0,"ARS"],AUD:[],BAM:[void 0,"BAM"],BBD:[void 0,"BBD"],BDT:[void 0,"BDT"],BMD:[void 0,"BMD"],BND:[void 0,"BND"],BOB:[void 0,"BOB"],BRL:[],BSD:[void 0,"BSD"],BWP:[void 0,"BWP"],BZD:[void 0,"BZD"],CAD:[],CLP:[void 0,"CLP"],CNY:[],COP:[void 0,"COP"],CRC:[void 0,"CRC"],CUC:[void 0,"CUC"],CUP:[void 0,"CUP"],CZK:[void 0,"CZK"],DKK:[void 0,"DKK"],DOP:[void 0,"DOP"],EGP:[void 0,"EGP"],ESP:[void 0,"ESP"],FIM:["mk"],FJD:[void 0,"FJD"],FKP:[void 0,"FKP"],GEL:[void 0,"GEL"],GIP:[void 0,"GIP"],GNF:[void 0,"GNF"],GTQ:[void 0,"GTQ"],GYD:[void 0,"GYD"],HKD:[],HNL:[void 0,"HNL"],HRK:[void 0,"HRK"],HUF:[void 0,"HUF"],IDR:[void 0,"IDR"],ILS:[],INR:[],ISK:[void 0,"ISK"],JMD:[void 0,"JMD"],KHR:[void 0,"KHR"],KMF:[void 0,"KMF"],KPW:[void 0,"KPW"],KRW:[],KYD:[void 0,"KYD"],KZT:[void 0,"KZT"],LAK:[void 0,"LAK"],LBP:[void 0,"LBP"],LKR:[void 0,"LKR"],LRD:[void 0,"LRD"],LTL:[void 0,"LTL"],LVL:[void 0,"LVL"],MGA:[void 0,"MGA"],MMK:[void 0,"MMK"],MNT:[void 0,"MNT"],MUR:[void 0,"MUR"],MXN:[],MYR:[void 0,"MYR"],NAD:[void 0,"NAD"],NGN:[void 0,"NGN"],NIO:[void 0,"NIO"],NOK:[void 0,"NOK"],NPR:[void 0,"NPR"],NZD:[],PHP:[],PKR:[void 0,"PKR"],PLN:[void 0,"PLN"],PYG:[void 0,"PYG"],RON:[void 0,"RON"],RWF:[void 0,"RWF"],SBD:[void 0,"SBD"],SEK:[void 0,"SEK"],SGD:[void 0,"SGD"],SHP:[void 0,"SHP"],SRD:[void 0,"SRD"],SSP:[void 0,"SSP"],STN:[void 0,"STD"],SYP:[void 0,"SYP"],THB:[void 0,"THB"],TOP:[void 0,"TOP"],TRY:[void 0,"TRY"],TTD:[void 0,"TTD"],TWD:[],UAH:[void 0,"UAH"],UYU:[void 0,"UYU"],VEF:[void 0,"VEF"],VND:[],XCD:[],XPF:[],XXX:[],ZAR:[void 0,"ZAR"],ZMW:[void 0,"ZMW"]},"ltr",ce];function fe(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length,r=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:r===0&&t!==0&&t%1e6===0&&n===0||!(r>=0&&r<=5)?4:5}var j=["fr",[["AM","PM"]],void 0,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xE9vr.","mars","avr.","mai","juin","juil.","ao\xFBt","sept.","oct.","nov.","d\xE9c."],["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant J\xE9sus-Christ","apr\xE8s J\xE9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}",void 0,void 0],[",","\u202F",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[void 0,"\u0440."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[void 0,"\xA5"],COP:["$CO","$"],CYP:["\xA3CY"],EGP:[void 0,"\xA3E"],FJD:["$FJ","$"],FKP:["\xA3FK","\xA3"],FRF:["F"],GBP:["\xA3GB","\xA3"],GIP:["\xA3GI","\xA3"],HKD:[void 0,"$"],IEP:["\xA3IE"],ILP:["\xA3IL"],ITL:["\u20A4IT"],JPY:[void 0,"\xA5"],KMF:[void 0,"FC"],LBP:["\xA3LB","\xA3L"],MTP:["\xA3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[void 0,"$C"],NZD:["$NZ","$"],PHP:[void 0,"\u20B1"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[void 0,"$T"],TTD:["$TT","$"],TWD:[void 0,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[void 0,"$"],XPF:["FCFP"],ZMW:[void 0,"Kw"]},"ltr",fe];function pe(e){return e===1?1:5}var v=["hu",[["de.","du."]],void 0,[["V","H","K","Sz","Cs","P","Sz"],["V","H","K","Sze","Cs","P","Szo"],["vas\xE1rnap","h\xE9tf\u0151","kedd","szerda","cs\xFCt\xF6rt\xF6k","p\xE9ntek","szombat"],["V","H","K","Sze","Cs","P","Szo"]],void 0,[["J","F","M","\xC1","M","J","J","A","Sz","O","N","D"],["jan.","febr.","m\xE1rc.","\xE1pr.","m\xE1j.","j\xFAn.","j\xFAl.","aug.","szept.","okt.","nov.","dec."],["janu\xE1r","febru\xE1r","m\xE1rcius","\xE1prilis","m\xE1jus","j\xFAnius","j\xFAlius","augusztus","szeptember","okt\xF3ber","november","december"]],void 0,[["ie.","isz."],["i. e.","i. sz."],["Krisztus el\u0151tt","id\u0151sz\xE1m\xEDt\xE1sunk szerint"]],1,[6,0],["y. MM. dd.","y. MMM d.","y. MMMM d.","y. MMMM d., EEEE"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"HUF","Ft","magyar forint",{AUD:[void 0,"$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],EUR:[void 0,"\u20AC"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],HUF:["Ft"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"],XCD:[void 0,"$"]},"ltr",pe];function Se(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length,r=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===1&&n===0?1:r===0&&t!==0&&t%1e6===0&&n===0||!(r>=0&&r<=5)?4:5}var G=["it",[["m.","p."],["AM","PM"]],void 0,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xEC","marted\xEC","mercoled\xEC","gioved\xEC","venerd\xEC","sabato"],["dom","lun","mar","mer","gio","ven","sab"]],void 0,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],void 0,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} {0}",void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{BRL:[void 0,"R$"],BYN:[void 0,"Br"],EGP:[void 0,"\xA3E"],HKD:[void 0,"$"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NOK:[void 0,"NKr"],THB:["\u0E3F"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"]},"ltr",Se];function De(e){let u=e;return 5}var Y=["ja",[["\u5348\u524D","\u5348\u5F8C"]],void 0,[["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],void 0,["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5"],["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]],void 0,[["BC","AD"],["\u7D00\u5143\u524D","\u897F\u66A6"]],0,[6,0],["y/MM/dd",void 0,"y\u5E74M\u6708d\u65E5","y\u5E74M\u6708d\u65E5EEEE"],["H:mm","H:mm:ss","H:mm:ss z","H\u6642mm\u5206ss\u79D2 zzzz"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"JPY","\uFFE5","\u65E5\u672C\u5186",{BYN:[void 0,"\u0440."],CNY:["\u5143","\uFFE5"],JPY:["\uFFE5"],PHP:[void 0,"\u20B1"],RON:[void 0,"\u30EC\u30A4"],XXX:[]},"ltr",De];function Ee(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var W=["nl",[["a.m.","p.m."]],void 0,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],void 0,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4\xA0#,##0.00;\xA4\xA0-#,##0.00","#E0"],"EUR","\u20AC","Euro",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],SBD:["SI$","$"],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"],XCG:["Cg.","Cg"],XPF:[],XXX:[]},"ltr",Ee];function Ne(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:n===0&&t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?3:n===0&&t!==1&&t%10===Math.floor(t%10)&&t%10>=0&&t%10<=1||n===0&&t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||n===0&&t%100===Math.floor(t%100)&&t%100>=12&&t%100<=14?4:5}var x=["pl",[["a","p"],["AM","PM"]],void 0,[["n","p","w","\u015B","c","p","s"],["niedz.","pon.","wt.","\u015Br.","czw.","pt.","sob."],["niedziela","poniedzia\u0142ek","wtorek","\u015Broda","czwartek","pi\u0105tek","sobota"],["nie","pon","wto","\u015Bro","czw","pi\u0105","sob"]],[["N","P","W","\u015A","C","P","S"],["niedz.","pon.","wt.","\u015Br.","czw.","pt.","sob."],["niedziela","poniedzia\u0142ek","wtorek","\u015Broda","czwartek","pi\u0105tek","sobota"],["nie","pon","wto","\u015Bro","czw","pi\u0105","sob"]],[["s","l","m","k","m","c","l","s","w","p","l","g"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017A","lis","gru"],["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","wrze\u015Bnia","pa\u017Adziernika","listopada","grudnia"]],[["S","L","M","K","M","C","L","S","W","P","L","G"],["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","pa\u017A","lis","gru"],["stycze\u0144","luty","marzec","kwiecie\u0144","maj","czerwiec","lipiec","sierpie\u0144","wrzesie\u0144","pa\u017Adziernik","listopad","grudzie\u0144"]],[["p.n.e.","n.e."],void 0,["przed nasz\u0105 er\u0105","naszej ery"]],1,[6,0],["d.MM.y","d MMM y","d MMMM y","EEEE, d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} {0}",void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"PLN","z\u0142","z\u0142oty polski",{AUD:[void 0,"$"],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],PLN:["z\u0142"],RON:[void 0,"lej"],TWD:[void 0,"NT$"],USD:[void 0,"$"],VND:[void 0,"\u20AB"]},"ltr",Ne];function ze(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length,r=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===Math.floor(t)&&t>=0&&t<=1?1:r===0&&t!==0&&t%1e6===0&&n===0||!(r>=0&&r<=5)?4:5}var D=["pt",[["AM","PM"]],void 0,[["D","S","T","Q","Q","S","S"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xE1b."],["domingo","segunda-feira","ter\xE7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xE1bado"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xE1b."]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","fev.","mar.","abr.","mai.","jun.","jul.","ago.","set.","out.","nov.","dez."],["janeiro","fevereiro","mar\xE7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]],void 0,[["a.C.","d.C."],void 0,["antes de Cristo","depois de Cristo"]],0,[6,0],["dd/MM/y","d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4\xA0#,##0.00","#E0"],"BRL","R$","Real brasileiro",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],PTE:["Esc."],RON:[void 0,"L"],SYP:[void 0,"S\xA3"],THB:["\u0E3F"],TWD:["NT$"],USD:["US$","$"]},"ltr",ze];function ge(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return n===0&&t%10===1&&t%100!==11?1:n===0&&t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?3:n===0&&t%10===0||n===0&&t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||n===0&&t%100===Math.floor(t%100)&&t%100>=11&&t%100<=14?4:5}var X=["ru",[["AM","PM"]],void 0,[["\u0412","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],["\u0432\u0441","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],["\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435","\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0432\u0442\u043E\u0440\u043D\u0438\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043F\u044F\u0442\u043D\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043E\u0442\u0430"],["\u0432\u0441","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"]],void 0,[["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],["\u044F\u043D\u0432.","\u0444\u0435\u0432\u0440.","\u043C\u0430\u0440.","\u0430\u043F\u0440.","\u043C\u0430\u044F","\u0438\u044E\u043D.","\u0438\u044E\u043B.","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],["\u044F\u043D\u0432\u0430\u0440\u044F","\u0444\u0435\u0432\u0440\u0430\u043B\u044F","\u043C\u0430\u0440\u0442\u0430","\u0430\u043F\u0440\u0435\u043B\u044F","\u043C\u0430\u044F","\u0438\u044E\u043D\u044F","\u0438\u044E\u043B\u044F","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F","\u043E\u043A\u0442\u044F\u0431\u0440\u044F","\u043D\u043E\u044F\u0431\u0440\u044F","\u0434\u0435\u043A\u0430\u0431\u0440\u044F"]],[["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],["\u044F\u043D\u0432.","\u0444\u0435\u0432\u0440.","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440.","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],["\u044F\u043D\u0432\u0430\u0440\u044C","\u0444\u0435\u0432\u0440\u0430\u043B\u044C","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0435\u043B\u044C","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u043E\u043A\u0442\u044F\u0431\u0440\u044C","\u043D\u043E\u044F\u0431\u0440\u044C","\u0434\u0435\u043A\u0430\u0431\u0440\u044C"]],[["\u0434\u043E \u043D.\u044D.","\u043D.\u044D."],["\u0434\u043E \u043D. \u044D.","\u043D. \u044D."],["\u0434\u043E \u0420\u043E\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043E\u0432\u0430","\u043E\u0442 \u0420\u043E\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043E\u0432\u0430"]],1,[6,0],["dd.MM.y","d MMM y\u202F'\u0433'.","d MMMM y\u202F'\u0433'.","EEEE, d MMMM y\u202F'\u0433'."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","-","E","\xD7","\u2030","\u221E","\u043D\u0435\xA0\u0447\u0438\u0441\u043B\u043E",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"RUB","\u20BD","\u0440\u043E\u0441\u0441\u0438\u0439\u0441\u043A\u0438\u0439 \u0440\u0443\u0431\u043B\u044C",{BYN:[void 0,"\u0440."],GEL:[void 0,"\u10DA"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUB:["\u20BD"],RUR:["\u0440."],THB:["\u0E3F"],TMT:["\u0422\u041C\u0422"],TWD:["NT$"],UAH:["\u20B4"],XXX:["XXXX"]},"ltr",ge];function he(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length,r=parseInt(e.toString().replace(/^[^.]*\.?/,""),10)||0;return n===0&&t%10===1&&t%100!==11||r%10===1&&r%100!==11?1:n===0&&t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)||r%10===Math.floor(r%10)&&r%10>=2&&r%10<=4&&!(r%100>=12&&r%100<=14)?3:5}var w=["sr",[["AM","PM"]],void 0,[["\u043D","\u043F","\u0443","\u0441","\u0447","\u043F","\u0441"],["\u043D\u0435\u0434","\u043F\u043E\u043D","\u0443\u0442\u043E","\u0441\u0440\u0435","\u0447\u0435\u0442","\u043F\u0435\u0442","\u0441\u0443\u0431"],["\u043D\u0435\u0434\u0435\u0459\u0430","\u043F\u043E\u043D\u0435\u0434\u0435\u0459\u0430\u043A","\u0443\u0442\u043E\u0440\u0430\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043A","\u043F\u0435\u0442\u0430\u043A","\u0441\u0443\u0431\u043E\u0442\u0430"],["\u043D\u0435","\u043F\u043E","\u0443\u0442","\u0441\u0440","\u0447\u0435","\u043F\u0435","\u0441\u0443"]],void 0,[["\u0458","\u0444","\u043C","\u0430","\u043C","\u0458","\u0458","\u0430","\u0441","\u043E","\u043D","\u0434"],["\u0458\u0430\u043D","\u0444\u0435\u0431","\u043C\u0430\u0440","\u0430\u043F\u0440","\u043C\u0430\u0458","\u0458\u0443\u043D","\u0458\u0443\u043B","\u0430\u0432\u0433","\u0441\u0435\u043F","\u043E\u043A\u0442","\u043D\u043E\u0432","\u0434\u0435\u0446"],["\u0458\u0430\u043D\u0443\u0430\u0440","\u0444\u0435\u0431\u0440\u0443\u0430\u0440","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0438\u043B","\u043C\u0430\u0458","\u0458\u0443\u043D","\u0458\u0443\u043B","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043F\u0442\u0435\u043C\u0431\u0430\u0440","\u043E\u043A\u0442\u043E\u0431\u0430\u0440","\u043D\u043E\u0432\u0435\u043C\u0431\u0430\u0440","\u0434\u0435\u0446\u0435\u043C\u0431\u0430\u0440"]],void 0,[["\u043F.\u043D.\u0435.","\u043D.\u0435."],["\u043F. \u043D. \u0435.","\u043D. \u0435."],["\u043F\u0440\u0435 \u043D\u043E\u0432\u0435 \u0435\u0440\u0435","\u043D\u043E\u0432\u0435 \u0435\u0440\u0435"]],1,[6,0],["d. M. y.",void 0,"d. MMMM y.","EEEE, d. MMMM y."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xA0\xA4","#E0"],"RSD",void 0,"\u0441\u0440\u043F\u0441\u043A\u0438 \u0434\u0438\u043D\u0430\u0440",{AUD:[void 0,"$"],BAM:["\u041A\u041C","KM"],BYN:[void 0,"\u0440."],GEL:[void 0,"\u10DA"],KRW:[void 0,"\u20A9"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],TWD:["NT$"],USD:["US$","$"],VND:[void 0,"\u20AB"]},"ltr",he];function He(e){let u=e,t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var Z=["sv",[["fm","em"]],[["fm","em"],void 0,["f\xF6rmiddag","eftermiddag"]],[["S","M","T","O","T","F","L"],["s\xF6n","m\xE5n","tis","ons","tors","fre","l\xF6r"],["s\xF6ndag","m\xE5ndag","tisdag","onsdag","torsdag","fredag","l\xF6rdag"],["s\xF6","m\xE5","ti","on","to","fr","l\xF6"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]],void 0,[["f.Kr.","e.Kr."],void 0,["f\xF6re Kristus","efter Kristus"]],1,[6,0],["y-MM-dd","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,void 0,void 0],[",","\xA0",";","%","+","\u2212","\xD710^","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"SEK","kr","svensk krona",{AUD:[void 0,"$"],BBD:["Bds$","$"],BMD:["BM$","$"],BRL:["BR$","R$"],BSD:["BS$","$"],BYN:[void 0,"\u0440."],BZD:["BZ$","$"],CNY:[void 0,"\xA5"],DKK:["Dkr","kr"],DOP:["RD$","$"],EEK:["Ekr"],EGP:["EG\xA3","E\xA3"],ESP:[void 0,"ESP"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],IEP:["IE\xA3"],INR:[void 0,"\u20B9"],ISK:["Ikr","kr"],JMD:["JM$","$"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],NOK:["Nkr","kr"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],SEK:["kr"],TWD:[void 0,"NT$"],USD:["US$","$"],VND:[void 0,"\u20AB"]},"ltr",He];function $e(e){let u=e;return 5}var E=["zh-Hans",[["\u4E0A\u5348","\u4E0B\u5348"]],void 0,[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]],void 0,[["\u516C\u5143\u524D","\u516C\u5143"]],1,[6,0],["y/M/d","y\u5E74M\u6708d\u65E5",void 0,"y\u5E74M\u6708d\u65E5EEEE"],["HH:mm","HH:mm:ss","z HH:mm:ss","zzzz HH:mm:ss"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"CNY","\xA5","\u4EBA\u6C11\u5E01",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CNY:["\xA5"],ILR:["ILS"],JPY:["JP\xA5","\xA5"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",$e];function Ae(e){let u=e;return 5}var N=["zh-Hant",[["\u4E0A\u5348","\u4E0B\u5348"]],void 0,[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u9031\u65E5","\u9031\u4E00","\u9031\u4E8C","\u9031\u4E09","\u9031\u56DB","\u9031\u4E94","\u9031\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]],void 0,[["\u897F\u5143\u524D","\u897F\u5143"]],0,[6,0],["y/M/d","y\u5E74M\u6708d\u65E5",void 0,"y\u5E74M\u6708d\u65E5 EEEE"],["Bh:mm","Bh:mm:ss","Bh:mm:ss [z]","Bh:mm:ss [zzzz]"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","\u975E\u6578\u503C",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"TWD","$","\u65B0\u53F0\u5E63",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],KRW:["\uFFE6","\u20A9"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],RUR:[void 0,"\u0440."],TWD:["$"],USD:["US$","$"],XXX:[]},"ltr",Ae];var Pe={en:U,"en-GB":K,nl:W,fr:j,de:k,cs:L,da:C,es:J,fi:O,hu:v,it:G,ja:Y,pl:x,pt:D,"pt-BR":D,ru:X,sr:w,sv:Z,"zh-CN":E,"zh-TW":N,"zh-Hans":E,"zh-Hant":N},Re={"zh-Hans":I,"zh-Hant":F},m="en-US",Ht=[{value:"en",label:"English (en-US)"},{value:"en-GB",label:"English (en-GB)"},{value:"cs",label:"Czech (cs)"},{value:"da",label:"Danish (da)"},{value:"de",label:"German (de)"},{value:"es",label:"Spanish (es)"},{value:"fi",label:"Finnish (fi)"},{value:"fr",label:"French (fr)"},{value:"hu",label:"Hungarian (hu)"},{value:"it",label:"Italian (it)"},{value:"ja-JP",label:"Japanese (ja-JP)"},{value:"nl-NL",label:"Dutch (nl-NL)"},{value:"pl",label:"Polish (pl)"},{value:"pt-BR",label:"Portuguese (pt-BR)"},{value:"pt",label:"Portuguese (pt)"},{value:"ru",label:"Russian (ru)"},{value:"sr-RS",label:"Serbian (sr-RS)"},{value:"sv-SE",label:"Swedish (sv-SE)"},{value:"zh-CN",label:"Chinese (zh-CN)"},{value:"zh-TW",label:"Chinese (zh-TW)"}],c={en:"en","en-US":"en","en-GB":"en-GB","en-AU":"en","en-CA":"en",cs:"cs","cs-CZ":"cs",da:"da","da-DK":"da",de:"de","de-DE":"de","de-AT":"de",es:"es","es-ES":"es","es-MX":"es",fi:"fi","fi-FI":"fi",fr:"fr","fr-FR":"fr","fr-CA":"fr",hu:"hu","hu-HU":"hu",it:"it","it-IT":"it",ja:"ja-JP","ja-JP":"ja-JP",nl:"nl-NL","nl-NL":"nl-NL","nl-BE":"nl-NL",pl:"pl","pl-PL":"pl",pt:"pt","pt-BR":"pt-BR","pt-PT":"pt",ru:"ru","ru-RU":"ru",sr:"sr-RS","sr-RS":"sr-RS",sv:"sv-SE","sv-SE":"sv-SE","sv-FI":"sv-SE",zh:"zh-CN","zh-CN":"zh-CN","zh-SG":"zh-CN","zh-TW":"zh-TW","zh-HK":"zh-TW","zh-Hans":"zh-CN","zh-Hant":"zh-TW"},Te={"ja-JP":"ja","nl-NL":"nl","sr-RS":"sr","sv-SE":"sv","zh-CN":"zh-Hans","zh-TW":"zh-Hant","zh-HK":"zh-Hant"},ye=Array.from(new Set(Object.values(c)));function $t(e){return e?c[e]??"en":"en"}function At(){let e=localStorage.getItem("v1:duplicati:locale")||m,u=ye.find(o=>o===e)??m,t=c[u]??c[u.split("-")[0]]??m;if(u===m)return u;let n=Te[t]??t,r=Pe[n],a=Re[n];r&&(p(r,n,a),n!==t&&p(r,t,a));let l=t.replace(/-/g,"_"),s=u==="en"?"":"."+l;return fetch(`locale/messages${s}.json`).then(o=>o.json()).then(o=>{b(o.translations),$localize.locale=u}),u}export{Ht as a,$t as b,At as c};
package/chunk-H47NYSA5.js DELETED
@@ -1 +0,0 @@
1
- import{d as a,e as b,f as c,g as d}from"./chunk-6XFXDO6Y.js";import"./chunk-E24DEHPH.js";import"./chunk-2JMS6ROE.js";import"./chunk-6GTXSMAH.js";import"./chunk-ONYKQCZU.js";import"./chunk-6Q6SSTBK.js";import"./chunk-ONXV5IRS.js";import"./chunk-X52R5Q6W.js";import"./chunk-D45OX6NR.js";import"./chunk-PT5SA5DK.js";import"./chunk-TNJ2RJ2V.js";import"./chunk-DIJYLB6O.js";import"./chunk-P42HQ2IS.js";import"./chunk-KANLHRTR.js";import"./chunk-V4SUZRAG.js";import"./chunk-4SMU6FWN.js";import"./chunk-VRXOIVWD.js";import"./chunk-L4B2T7UE.js";import"./chunk-XURQUV7B.js";import"./chunk-WC6RBAAY.js";import"./chunk-XUDS7MYD.js";import"./chunk-YP4LWQJG.js";import"./chunk-7CGTOI24.js";export{a as SCHEDULE_DEFAULT_OPTIONS,c as SCHEDULE_FIELD_DEFAULTS,d as default,b as scheduleOptionToSchedule};
package/chunk-HG3JMGZT.js DELETED
@@ -1 +0,0 @@
1
- import{a as _e}from"./chunk-F35HIVN6.js";import{o as le}from"./chunk-6XFXDO6Y.js";import"./chunk-E24DEHPH.js";import{a as ie,b as oe,c as se,e as ae}from"./chunk-2JMS6ROE.js";import"./chunk-6GTXSMAH.js";import"./chunk-ONYKQCZU.js";import"./chunk-6Q6SSTBK.js";import"./chunk-ONXV5IRS.js";import"./chunk-X52R5Q6W.js";import"./chunk-D45OX6NR.js";import"./chunk-PT5SA5DK.js";import"./chunk-TNJ2RJ2V.js";import"./chunk-DIJYLB6O.js";import"./chunk-P42HQ2IS.js";import"./chunk-KANLHRTR.js";import{B as ee,H as ne,P as te,c as H,e as q,i as Y,k as j,s as Q,u as Z}from"./chunk-V4SUZRAG.js";import"./chunk-4SMU6FWN.js";import{b as W,d as V}from"./chunk-VRXOIVWD.js";import"./chunk-L4B2T7UE.js";import"./chunk-XURQUV7B.js";import"./chunk-WC6RBAAY.js";import"./chunk-XUDS7MYD.js";import{$ as N,Ab as o,Bb as m,Ib as h,Mc as J,Pa as c,Pb as S,Qb as C,Rb as r,Sc as X,Vb as I,W as g,Xb as p,aa as P,cb as z,cc as v,dc as x,gc as K,la as B,oc as u,pc as d,qc as T,sb as E,tb as f,xc as U,yb as O,zb as t}from"./chunk-YP4LWQJG.js";import"./chunk-7CGTOI24.js";var re=["formRef"],ce=()=>["--skip-files-larger-than","dblock-size","encryption-module","no-encryption","--no-encryption","compression-module","--exclude-files-attributes","keep-time","keep-versions","retention-policy"];function pe(a,l){a&1&&(S(0,1,1),m(1,"sh-icon",20),C())}function ue(a,l){a&1&&(t(0,"p",21),r(1,6),o())}function de(a,l){a&1&&(t(0,"p"),r(1,7),o())}function Te(a,l){if(a&1){let n=h();t(0,"p"),r(1,8),o(),t(2,"app-timespan",18),T("ngModelChange",function(s){N(n);let i=p();return d(i.optionsFields.backupRetentionTime,s)||(i.optionsFields.backupRetentionTime=s),P(s)}),t(3,"label",30),r(4,9),o()()}if(a&2){let n=p();c(2),O("customId","backupRetentionTime"),u("ngModel",n.optionsFields.backupRetentionTime)}}function Se(a,l){if(a&1){let n=h();t(0,"p"),r(1,10),o(),t(2,"sh-form-field")(3,"label",31),r(4,11),o(),t(5,"input",32),T("ngModelChange",function(s){N(n);let i=p();return d(i.optionsFields.backupRetentionVersions,s)||(i.optionsFields.backupRetentionVersions=s),P(s)}),o()()}if(a&2){let n=p();c(5),u("ngModel",n.optionsFields.backupRetentionVersions)}}function Ce(a,l){a&1&&(t(0,"p"),r(1,12),o())}function Oe(a,l){if(a&1){let n=h();t(0,"p"),r(1,13),o(),t(2,"sh-form-field")(3,"p"),r(4,14),o(),t(5,"label",33),r(6,15),o(),t(7,"input",34),T("ngModelChange",function(s){N(n);let i=p();return d(i.optionsFields.backupRetentionCustom,s)||(i.optionsFields.backupRetentionCustom=s),P(s)}),o()()}if(a&2){let n=p();c(7),u("ngModel",n.optionsFields.backupRetentionCustom)}}var me=[{value:"all",name:$localize`Keep all backups`},{value:"time",name:$localize`Delete backups that are older than`},{value:"versions",name:$localize`Keep a specific number of backups`},{value:"smart",name:$localize`Smart backup retention`},{value:"custom",name:$localize`Custom backup retention`}],ge=1024*1024*1024*2,Ne=1024*1024*5,F=class a{#e=g(le);#n=g(V);#t=g(W);formRef=X.required("formRef");isSubmitting=this.#e.isSubmitting;settings=this.#e.settings;optionsFields=this.#e.optionsFields;applicationOptions=this.#e.applicationOptions;retentionOptions=B(me);exceededVolumeSize=J(()=>{let{size:l,unit:n}=oe(this.optionsFields.remoteVolumeSize());if(l==null||n===null||n===void 0)return!1;let e=l*Math.pow(1024,ie.findIndex(s=>s.value===n));return e>ge||e<Ne});goBack(){this.#n.navigate(["schedule"],{relativeTo:this.#t.parent})}submit(){this.#e.submit()}static \u0275fac=function(n){return new(n||a)};static \u0275cmp=z({type:a,selectors:[["app-advanced-options-settings"]],viewQuery:function(n,e){n&1&&v(e.formRef,re,5),n&2&&x()},decls:30,vars:16,consts:()=>{let l;l=$localize`Options`;let n;n=$localize` Remote volume size ${"\uFFFD*7:1\uFFFD"}:START_BLOCK_IF:${"\uFFFD#1:1\uFFFD"}:START_TAG_SH_ICON:warning${"\uFFFD/#1:1\uFFFD"}:CLOSE_TAG_SH_ICON:${"\uFFFD/*7:1\uFFFD"}:CLOSE_BLOCK_IF:`;let e;e=$localize` The backups will be split up into multiple files called volumes. Here you can set the maximum size of the individual volume files. ${"\uFFFD#11\uFFFD"}:START_LINK: Read more ${"\uFFFD#12\uFFFD"}:START_TAG_SH_ICON:arrow-square-out${"\uFFFD/#12\uFFFD"}:CLOSE_TAG_SH_ICON:${"\uFFFD/#11\uFFFD"}:CLOSE_LINK:`;let s;s=$localize`Backup retention`;let i;i=$localize`${"\uFFFD#26\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#26\uFFFD"}:CLOSE_TAG_SH_ICON: Go back `;let M;M=$localize`${"\uFFFD#29\uFFFD"}:START_TAG_SH_ICON:arrow-right${"\uFFFD/#29\uFFFD"}:CLOSE_TAG_SH_ICON: Submit `;let R;R=$localize` The chosen size is outside the recommended range. This may cause performance issues, excessively large temporary files or other problems. `;let A;A=$localize`Nothing will be deleted. The backup size will grow with each change.`;let b;b=$localize`If at least one newer backup is found, all backups older than this date are deleted.`;let y;y=$localize`Time to keep versions`;let $;$=$localize`Once there are more backups than the specified number, the oldest backups are deleted.`;let k;k=$localize`Number of versions`;let L;L=$localize` Over time backups will be deleted automatically. There will remain one backup for each of the last 7 days, each of the last 4 weeks, each of the last 12 months. There will always be at least one remaining backup. `;let w;w=$localize` Enter a retention strategy manually. Placeholders are D/W/Y for days/weeks/years and U for unlimited. The syntax is: 7D:1D,4W:1W,36M:1M. This example keeps one backup for each of the next 7 days, one for each of the next 4 weeks, and one for each of the next 36 months. This can also be written as 1W:1D,1M:1W,3Y:1M. `;let G;G=$localize`Once there are more backups than the specified number, the oldest backups are deleted.`;let D;return D=$localize`Retention expression`,[l,n,e,s,i,M,R,A,b,y,$,k,L,w,G,D,[1,"title-30"],[1,"remote-volume-wrap"],[3,"ngModelChange","customId","ngModel"],["for","size"],[1,"warning"],[1,"warn"],["href","https://forum.duplicati.com/t/choosing-sizes-in-duplicati/17683","target","_blank",1,"sh-primary"],["suffix",""],["value","value","label","name",3,"options","inlineSearch","isClearable"],["type","text",3,"ngModelChange","ngModel"],[3,"optionsChange","options","applicationOptions","hasFreeTextSettings","hiddenOptions"],[1,"form-actions"],["shButton","","type","button",3,"click"],["shButton","",1,"raised","primary",3,"click"],["for","backupRetentionTime"],["for","backupRetentionVersions"],["type","number","id","backupRetentionVersions",3,"ngModelChange","ngModel"],["for","backupRetentionCustom"],["type","text","id","backupRetentionCustom",3,"ngModelChange","ngModel"]]},template:function(n,e){n&1&&(t(0,"section")(1,"h3",16),r(2,0),o(),t(3,"div",17)(4,"app-size",18),T("ngModelChange",function(i){return d(e.optionsFields.remoteVolumeSize,i)||(e.optionsFields.remoteVolumeSize=i),i}),t(5,"label",19),S(6,1),E(7,pe,2,0,"sh-icon",20),C(),o()(),E(8,ue,2,0,"p",21),t(9,"p"),S(10,2),t(11,"a",22),m(12,"sh-icon",23),o(),C(),o()(),t(13,"sh-select",24)(14,"label",19),r(15,3),o(),t(16,"input",25),T("ngModelChange",function(i){return d(e.optionsFields.backupRetention,i)||(e.optionsFields.backupRetention=i),i}),o()(),E(17,de,2,0,"p")(18,Te,5,2)(19,Se,6,1)(20,Ce,2,0,"p")(21,Oe,8,1),t(22,"app-options-list",26),T("optionsChange",function(i){return d(e.settings,i)||(e.settings=i),i}),o(),t(23,"div",27)(24,"button",28),I("click",function(){return e.goBack()}),S(25,4),m(26,"sh-icon"),C(),o(),t(27,"button",29),I("click",function(){return e.submit()}),S(28,5),m(29,"sh-icon"),C(),o()()()),n&2&&(c(4),O("customId","size"),u("ngModel",e.optionsFields.remoteVolumeSize),c(3),f(e.exceededVolumeSize()?7:-1),c(),f(e.exceededVolumeSize()?8:-1),c(5),O("options",e.retentionOptions())("inlineSearch",!0)("isClearable",!1),c(3),u("ngModel",e.optionsFields.backupRetention),c(),f(e.optionsFields.backupRetention()==="all"?17:e.optionsFields.backupRetention()==="time"?18:e.optionsFields.backupRetention()==="versions"?19:e.optionsFields.backupRetention()==="smart"?20:e.optionsFields.backupRetention()==="custom"?21:-1),c(5),u("options",e.settings),O("applicationOptions",e.applicationOptions())("hasFreeTextSettings",!0)("hiddenOptions",U(15,ce)),c(5),K("loader",e.isSubmitting()))},dependencies:[Q,H,j,q,Y,_e,se,ae,ee,Z,te,ne],styles:["[_nghost-%COMP%]{display:block;width:100%;max-width:37.5rem;padding:2.5rem}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;padding-bottom:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.form-wrap[_ngcontent-%COMP%]{display:grid;grid-template-columns:2fr 2.5rem;gap:.5rem;align-items:flex-end}.remote-volume-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.remote-volume-wrap[_ngcontent-%COMP%] p.warning[_ngcontent-%COMP%]{color:#7d7d00}.row-inputs[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:.5rem}.advanced-option[_ngcontent-%COMP%]{display:grid;gap:.5rem;grid-template-columns:1fr 1fr 2.5rem;align-items:flex-end}sh-select[_ngcontent-%COMP%]{--miw: p2r(120)}"],changeDetection:0})};export{F as default};