@duplicati/ngclient 0.0.82 → 0.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunk-2AYDM3FG.js +1 -0
- package/chunk-2M52SFS6.js +7 -0
- package/{chunk-BOZ57J4G.js → chunk-34SHHWMR.js} +1 -1
- package/{chunk-EGYSCZVC.js → chunk-3YTSQTLM.js} +1 -1
- package/{chunk-4OE5GJEY.js → chunk-4A4CWPH7.js} +1 -1
- package/{chunk-UG4CSTXY.js → chunk-4IO6Y7PY.js} +1 -1
- package/{chunk-MI3YJO7L.js → chunk-4YHGG4LR.js} +1 -1
- package/chunk-6KER52JR.js +1 -0
- package/chunk-6RMLOIRD.js +1 -0
- package/{chunk-HCUGVK4R.js → chunk-77PHTQYN.js} +1 -1
- package/{chunk-7WKWA7QK.js → chunk-7DD5DAWU.js} +1 -1
- package/chunk-7IRVNC4S.js +1 -0
- package/{chunk-F2275265.js → chunk-7LJ7CTKL.js} +1 -1
- package/{chunk-SRMNNICE.js → chunk-7LP2EQ7M.js} +1 -1
- package/{chunk-Z5FVTSXP.js → chunk-7LRQSKYZ.js} +1 -1
- package/{chunk-YRKXBPEN.js → chunk-AFQ6FL3D.js} +1 -1
- package/{chunk-ZOMDTRAX.js → chunk-AXHB6A4N.js} +1 -1
- package/chunk-BGBEOEU2.js +1 -0
- package/chunk-BKSXG3Z5.js +1 -0
- package/{chunk-5UTMYMNZ.js → chunk-BRMUJELY.js} +1 -1
- package/chunk-C52XP2RC.js +1 -0
- package/{chunk-NVTD7IP4.js → chunk-C5EHOW7U.js} +1 -1
- package/chunk-D6NUBCKD.js +1 -0
- package/{chunk-IN72UOWN.js → chunk-DALX7AMG.js} +1 -1
- package/chunk-DL6QZSL6.js +1 -0
- package/{chunk-US4WRUST.js → chunk-DNDOALN6.js} +1 -1
- package/chunk-DURFGYD7.js +1 -0
- package/chunk-FUH4327W.js +1 -0
- package/{chunk-6B27Y6JF.js → chunk-GJSG762N.js} +1 -1
- package/chunk-H2DNOMMP.js +1 -0
- package/{chunk-J2TD53K6.js → chunk-KH7GOUWD.js} +1 -1
- package/{chunk-KPP5HW6S.js → chunk-KIB4MYBL.js} +2 -2
- package/{chunk-6OAOHI5B.js → chunk-KXU2UTG4.js} +1 -1
- package/{chunk-FOHDLUCC.js → chunk-L5D4JLN3.js} +1 -1
- package/chunk-LJ3ULEOG.js +1 -0
- package/chunk-MADB4EX7.js +1 -0
- package/{chunk-6SIZVSDW.js → chunk-MCLDJCPW.js} +1 -1
- package/chunk-MEFACGK4.js +6 -0
- package/{chunk-NB6C6AWO.js → chunk-NBBSISDC.js} +1 -1
- package/{chunk-N4ZZA3JQ.js → chunk-NNUHZ2L7.js} +21 -21
- package/chunk-ODDKCMXA.js +1 -0
- package/chunk-P724RQTD.js +1 -0
- package/chunk-PN3DBUJI.js +1 -0
- package/{chunk-MHZPUJQF.js → chunk-PNJEVGID.js} +1 -1
- package/{chunk-TQE7OBBP.js → chunk-PPRHD3ZV.js} +1 -1
- package/chunk-R2HH6TYJ.js +1 -0
- package/chunk-RAUCDBVO.js +1 -0
- package/{chunk-A3ZJDFD7.js → chunk-RCPMSNTW.js} +1 -1
- package/chunk-RE4L7JTP.js +1 -0
- package/{chunk-4NAKJMN4.js → chunk-RLYI2YCZ.js} +2 -2
- package/{chunk-7FJJUDJ2.js → chunk-RSXKKDD4.js} +1 -1
- package/{chunk-XFRVNXF6.js → chunk-RTVM3BJK.js} +1 -1
- package/{chunk-V4FTPFKP.js → chunk-TZYGTULV.js} +1 -1
- package/{chunk-JUHZJXZP.js → chunk-UI6ZWFOT.js} +1 -1
- package/{chunk-CEAE6DN3.js → chunk-UZM3TLJO.js} +1 -1
- package/{chunk-X5LYBLNB.js → chunk-VAAQUFLX.js} +1 -1
- package/chunk-W4MEGIZH.js +1 -0
- package/{chunk-CS4VRCLU.js → chunk-WWJFELTU.js} +1 -1
- package/{chunk-LFQXDL42.js → chunk-XKAASYKO.js} +1 -1
- package/{chunk-KFOSQK3Z.js → chunk-XRL6GPXW.js} +1 -1
- package/{chunk-RUM7HWLC.js → chunk-YA3PYBIG.js} +1 -1
- package/{chunk-PTG2C2YJ.js → chunk-YOP6HOXH.js} +1 -1
- package/{chunk-EZZHN2WE.js → chunk-ZWADJ4OM.js} +1 -1
- package/index.html +2 -2
- package/locale/angular/en-GB.mjs +17 -0
- package/locale/angular/extra/en-GB.mjs +11 -0
- package/locale/dayjs/en-gb.js +1 -0
- package/main-SOHQOOGR.js +1 -0
- package/package.json +1 -1
- package/{styles-2QJQOKUX.css → styles-5VTLDYYE.css} +1 -1
- package/chunk-2ILIMQUZ.js +0 -1
- package/chunk-2K3CR66C.js +0 -1
- package/chunk-6GXQ3OS3.js +0 -1
- package/chunk-7KWOTSVE.js +0 -1
- package/chunk-ASP3TXLK.js +0 -1
- package/chunk-B3BR2XEK.js +0 -6
- package/chunk-DGAZIN5K.js +0 -1
- package/chunk-FEV25ZWF.js +0 -1
- package/chunk-HODSVG43.js +0 -1
- package/chunk-JOBMLOGZ.js +0 -1
- package/chunk-JRAP2EKJ.js +0 -1
- package/chunk-LPKATCNH.js +0 -1
- package/chunk-LY3JVR5S.js +0 -1
- package/chunk-PNBAXH5O.js +0 -1
- package/chunk-QDAWQNBQ.js +0 -7
- package/chunk-R4OTX3ML.js +0 -1
- package/chunk-TL325ZMY.js +0 -1
- package/chunk-UA3FQ7TU.js +0 -1
- package/chunk-UYV5TDBS.js +0 -1
- package/chunk-WKQNR623.js +0 -1
- package/chunk-XJ5AEEQO.js +0 -1
- package/chunk-XLU5TCBE.js +0 -1
- package/chunk-ZRPJ3QZT.js +0 -1
- package/main-5RB7QQSV.js +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import{b as xe}from"./chunk-
|
|
2
|
-
]`).replace("lheading",
|
|
1
|
+
import{b as xe}from"./chunk-PNJEVGID.js";import{b as be}from"./chunk-PPRHD3ZV.js";import{c as ke}from"./chunk-C5EHOW7U.js";import"./chunk-MCLDJCPW.js";import"./chunk-7IRVNC4S.js";import{Bb as pe,Cb as ue,Db as ge,Oa as oe,Pb as fe,Ra as ae,V as le,Y as q,eb as ce,p as ie,rc as de,sb as he}from"./chunk-2M52SFS6.js";import{a as m,b as z}from"./chunk-C6Q5SG76.js";function F(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var R=F();function $e(a){R=a}var E={exec:()=>null};function g(a,e=""){let t=typeof a=="string"?a:a.source,n={replace:(s,i)=>{let r=typeof i=="string"?i:i.source;return r=r.replace(x.caret,"$1"),t=t.replace(s,r),n},getRegex:()=>new RegExp(t,e)};return n}var x={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:a=>new RegExp(`^( {0,3}${a})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:a=>new RegExp(`^ {0,${Math.min(3,a-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:a=>new RegExp(`^ {0,${Math.min(3,a-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:a=>new RegExp(`^ {0,${Math.min(3,a-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:a=>new RegExp(`^ {0,${Math.min(3,a-1)}}#`),htmlBeginRegex:a=>new RegExp(`^ {0,${Math.min(3,a-1)}}<(?:[a-z].*>|!--)`,"i")},Me=/^(?:[ \t]*(?:\n|$))+/,De=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Oe=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,v=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ne=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Q=/(?:[*+-]|\d{1,9}[.)])/,Re=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ze=g(Re).replace(/bull/g,Q).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Ge=g(Re).replace(/bull/g,Q).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),U=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Ze=/^[^\n]+/,X=/(?!\s*\])(?:\\.|[^\[\]\\])+/,He=g(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",X).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),je=g(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Q).getRegex(),O="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",W=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Fe=g("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",W).replace("tag",O).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ce=g(U).replace("hr",v).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",O).getRegex(),Qe=g(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Ce).getRegex(),V={blockquote:Qe,code:De,def:He,fences:Oe,heading:Ne,hr:v,html:Fe,lheading:ze,list:je,newline:Me,paragraph:Ce,table:E,text:Ze},me=g("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",v).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",O).getRegex(),Ue=z(m({},V),{lheading:Ge,table:me,paragraph:g(U).replace("hr",v).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",me).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",O).getRegex()}),Xe=z(m({},V),{html:g(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",W).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:E,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:g(U).replace("hr",v).replace("heading",` *#{1,6} *[^
|
|
2
|
+
]`).replace("lheading",ze).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),We=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Ve=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,_e=/^( {2,}|\\)\n(?!\s*$)/,Je=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,N=/[\p{P}\p{S}]/u,J=/[\s\p{P}\p{S}]/u,Ae=/[^\s\p{P}\p{S}]/u,Ke=g(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,J).getRegex(),Pe=/(?!~)[\p{P}\p{S}]/u,Ye=/(?!~)[\s\p{P}\p{S}]/u,et=/(?:[^\s\p{P}\p{S}]|~)/u,tt=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,Le=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,nt=g(Le,"u").replace(/punct/g,N).getRegex(),st=g(Le,"u").replace(/punct/g,Pe).getRegex(),Ie="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",rt=g(Ie,"gu").replace(/notPunctSpace/g,Ae).replace(/punctSpace/g,J).replace(/punct/g,N).getRegex(),it=g(Ie,"gu").replace(/notPunctSpace/g,et).replace(/punctSpace/g,Ye).replace(/punct/g,Pe).getRegex(),lt=g("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Ae).replace(/punctSpace/g,J).replace(/punct/g,N).getRegex(),ot=g(/\\(punct)/,"gu").replace(/punct/g,N).getRegex(),at=g(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ct=g(W).replace("(?:-->|$)","-->").getRegex(),ht=g("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ct).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),D=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,pt=g(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",D).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ee=g(/^!?\[(label)\]\[(ref)\]/).replace("label",D).replace("ref",X).getRegex(),Be=g(/^!?\[(ref)\](?:\[\])?/).replace("ref",X).getRegex(),ut=g("reflink|nolink(?!\\()","g").replace("reflink",Ee).replace("nolink",Be).getRegex(),K={_backpedal:E,anyPunctuation:ot,autolink:at,blockSkip:tt,br:_e,code:Ve,del:E,emStrongLDelim:nt,emStrongRDelimAst:rt,emStrongRDelimUnd:lt,escape:We,link:pt,nolink:Be,punctuation:Ke,reflink:Ee,reflinkSearch:ut,tag:ht,text:Je,url:E},gt=z(m({},K),{link:g(/^!?\[(label)\]\((.*?)\)/).replace("label",D).getRegex(),reflink:g(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",D).getRegex()}),H=z(m({},K),{emStrongRDelimAst:it,emStrongLDelim:st,url:g(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),ft=z(m({},H),{br:g(_e).replace("{2,}","*").getRegex(),text:g(H.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),M={normal:V,gfm:Ue,pedantic:Xe},L={normal:K,gfm:H,breaks:ft,pedantic:gt},dt={"&":"&","<":"<",">":">",'"':""","'":"'"},we=a=>dt[a];function T(a,e){if(e){if(x.escapeTest.test(a))return a.replace(x.escapeReplace,we)}else if(x.escapeTestNoEncode.test(a))return a.replace(x.escapeReplaceNoEncode,we);return a}function ye(a){try{a=encodeURI(a).replace(x.percentDecode,"%")}catch{return null}return a}function Se(a,e){let t=a.replace(x.findPipe,(i,r,l)=>{let o=!1,c=r;for(;--c>=0&&l[c]==="\\";)o=!o;return o?"|":" |"}),n=t.split(x.splitPipe),s=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;s<n.length;s++)n[s]=n[s].trim().replace(x.slashPipe,"|");return n}function I(a,e,t){let n=a.length;if(n===0)return"";let s=0;for(;s<n&&a.charAt(n-s-1)===e;)s++;return a.slice(0,n-s)}function kt(a,e){if(a.indexOf(e[1])===-1)return-1;let t=0;for(let n=0;n<a.length;n++)if(a[n]==="\\")n++;else if(a[n]===e[0])t++;else if(a[n]===e[1]&&(t--,t<0))return n;return-1}function Te(a,e,t,n,s){let i=e.href,r=e.title||null,l=a[1].replace(s.other.outputLinkReplace,"$1");if(a[0].charAt(0)!=="!"){n.state.inLink=!0;let o={type:"link",raw:t,href:i,title:r,text:l,tokens:n.inlineTokens(l)};return n.state.inLink=!1,o}return{type:"image",raw:t,href:i,title:r,text:l}}function bt(a,e,t){let n=a.match(t.other.indentCodeCompensation);if(n===null)return e;let s=n[1];return e.split(`
|
|
3
3
|
`).map(i=>{let r=i.match(t.other.beginningSpace);if(r===null)return i;let[l]=r;return l.length>=s.length?i.slice(s.length):i}).join(`
|
|
4
|
-
`)}var
|
|
5
|
-
`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],s=
|
|
4
|
+
`)}var _=class{options;rules;lexer;constructor(e){this.options=e||R}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:I(n,`
|
|
5
|
+
`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],s=bt(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:s}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){let s=I(n,"#");(this.options.pedantic||!s||this.rules.other.endingSpaceChar.test(s))&&(n=s.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:I(t[0],`
|
|
6
6
|
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let n=I(t[0],`
|
|
7
7
|
`).split(`
|
|
8
8
|
`),s="",i="",r=[];for(;n.length>0;){let l=!1,o=[],c;for(c=0;c<n.length;c++)if(this.rules.other.blockquoteStart.test(n[c]))o.push(n[c]),l=!0;else if(!l)o.push(n[c]);else break;n=n.slice(c);let h=o.join(`
|
|
9
9
|
`),p=h.replace(this.rules.other.blockquoteSetextReplace,`
|
|
10
10
|
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");s=s?`${s}
|
|
11
11
|
${h}`:h,i=i?`${i}
|
|
12
|
-
${p}`:p;let
|
|
12
|
+
${p}`:p;let k=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(p,r,!0),this.lexer.state.top=k,n.length===0)break;let f=r.at(-1);if(f?.type==="code")break;if(f?.type==="blockquote"){let b=f,d=b.raw+`
|
|
13
13
|
`+n.join(`
|
|
14
|
-
`),w=this.blockquote(
|
|
14
|
+
`),w=this.blockquote(d);r[r.length-1]=w,s=s.substring(0,s.length-b.raw.length)+w.raw,i=i.substring(0,i.length-b.text.length)+w.text;break}else if(f?.type==="list"){let b=f,d=b.raw+`
|
|
15
15
|
`+n.join(`
|
|
16
|
-
`),w=this.list(
|
|
17
|
-
`);continue}}return{type:"blockquote",raw:s,tokens:r,text:i}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),s=n.length>1,i={type:"list",raw:"",ordered:s,start:s?+n.slice(0,-1):"",loose:!1,items:[]};n=s?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=s?n:"[*+-]");let r=this.rules.other.listItemRegex(n),l=!1;for(;e;){let c=!1,h="",p="";if(!(t=r.exec(e))||this.rules.block.hr.test(e))break;h=t[0],e=e.substring(h.length);let
|
|
16
|
+
`),w=this.list(d);r[r.length-1]=w,s=s.substring(0,s.length-f.raw.length)+w.raw,i=i.substring(0,i.length-b.raw.length)+w.raw,n=d.substring(r.at(-1).raw.length).split(`
|
|
17
|
+
`);continue}}return{type:"blockquote",raw:s,tokens:r,text:i}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),s=n.length>1,i={type:"list",raw:"",ordered:s,start:s?+n.slice(0,-1):"",loose:!1,items:[]};n=s?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=s?n:"[*+-]");let r=this.rules.other.listItemRegex(n),l=!1;for(;e;){let c=!1,h="",p="";if(!(t=r.exec(e))||this.rules.block.hr.test(e))break;h=t[0],e=e.substring(h.length);let k=t[2].split(`
|
|
18
18
|
`,1)[0].replace(this.rules.other.listReplaceTabs,G=>" ".repeat(3*G.length)),f=e.split(`
|
|
19
|
-
`,1)[0],
|
|
20
|
-
`,e=e.substring(f.length+1),c=!0),!c){let G=this.rules.other.nextBulletRegex(
|
|
21
|
-
`,1)[0],P;if(f=Z,this.options.pedantic?(f=f.replace(this.rules.other.listReplaceNesting," "),P=f):P=f.replace(this.rules.other.tabCharGlobal," "),
|
|
22
|
-
`+P.slice(
|
|
23
|
-
`+f}!
|
|
24
|
-
`,e=e.substring(Z.length+1),
|
|
25
|
-
`):[],r={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===s.length){for(let l of s)this.rules.other.tableAlignRight.test(l)?r.align.push("right"):this.rules.other.tableAlignCenter.test(l)?r.align.push("center"):this.rules.other.tableAlignLeft.test(l)?r.align.push("left"):r.align.push(null);for(let l=0;l<n.length;l++)r.header.push({text:n[l],tokens:this.lexer.inline(n[l]),header:!0,align:r.align[l]});for(let l of i)r.rows.push(
|
|
26
|
-
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let r=I(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{let r=
|
|
27
|
-
`),this.blockTokens(e,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){let n=this.inlineQueue[t];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){for(this.options.pedantic&&(e=e.replace(
|
|
19
|
+
`,1)[0],b=!k.trim(),d=0;if(this.options.pedantic?(d=2,p=k.trimStart()):b?d=t[1].length+1:(d=t[2].search(this.rules.other.nonSpaceChar),d=d>4?1:d,p=k.slice(d),d+=t[1].length),b&&this.rules.other.blankLine.test(f)&&(h+=f+`
|
|
20
|
+
`,e=e.substring(f.length+1),c=!0),!c){let G=this.rules.other.nextBulletRegex(d),ne=this.rules.other.hrRegex(d),se=this.rules.other.fencesBeginRegex(d),re=this.rules.other.headingBeginRegex(d),qe=this.rules.other.htmlBeginRegex(d);for(;e;){let Z=e.split(`
|
|
21
|
+
`,1)[0],P;if(f=Z,this.options.pedantic?(f=f.replace(this.rules.other.listReplaceNesting," "),P=f):P=f.replace(this.rules.other.tabCharGlobal," "),se.test(f)||re.test(f)||qe.test(f)||G.test(f)||ne.test(f))break;if(P.search(this.rules.other.nonSpaceChar)>=d||!f.trim())p+=`
|
|
22
|
+
`+P.slice(d);else{if(b||k.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||se.test(k)||re.test(k)||ne.test(k))break;p+=`
|
|
23
|
+
`+f}!b&&!f.trim()&&(b=!0),h+=Z+`
|
|
24
|
+
`,e=e.substring(Z.length+1),k=P.slice(d)}}i.loose||(l?i.loose=!0:this.rules.other.doubleBlankLine.test(h)&&(l=!0));let w=null,te;this.options.gfm&&(w=this.rules.other.listIsTask.exec(p),w&&(te=w[0]!=="[ ] ",p=p.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:h,task:!!w,checked:te,loose:!1,text:p,tokens:[]}),i.raw+=h}let o=i.items.at(-1);if(o)o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let c=0;c<i.items.length;c++)if(this.lexer.state.top=!1,i.items[c].tokens=this.lexer.blockTokens(i.items[c].text,[]),!i.loose){let h=i.items[c].tokens.filter(k=>k.type==="space"),p=h.length>0&&h.some(k=>this.rules.other.anyLine.test(k.raw));i.loose=p}if(i.loose)for(let c=0;c<i.items.length;c++)i.items[c].loose=!0;return i}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let n=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),s=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:s,title:i}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=Se(t[1]),s=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
25
|
+
`):[],r={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===s.length){for(let l of s)this.rules.other.tableAlignRight.test(l)?r.align.push("right"):this.rules.other.tableAlignCenter.test(l)?r.align.push("center"):this.rules.other.tableAlignLeft.test(l)?r.align.push("left"):r.align.push(null);for(let l=0;l<n.length;l++)r.header.push({text:n[l],tokens:this.lexer.inline(n[l]),header:!0,align:r.align[l]});for(let l of i)r.rows.push(Se(l,r.header.length).map((o,c)=>({text:o,tokens:this.lexer.inline(o),header:!1,align:r.align[c]})));return r}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let n=t[1].charAt(t[1].length-1)===`
|
|
26
|
+
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let r=I(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{let r=kt(t[2],"()");if(r>-1){let o=(t[0].indexOf("!")===0?5:4)+t[1].length+r;t[2]=t[2].substring(0,r),t[0]=t[0].substring(0,o).trim(),t[3]=""}}let s=t[2],i="";if(this.options.pedantic){let r=this.rules.other.pedanticHrefTitle.exec(s);r&&(s=r[1],i=r[3])}else i=t[3]?t[3].slice(1,-1):"";return s=s.trim(),this.rules.other.startAngleBracket.test(s)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?s=s.slice(1):s=s.slice(1,-1)),Te(t,{href:s&&s.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let s=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=t[s.toLowerCase()];if(!i){let r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return Te(n,i,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let s=this.rules.inline.emStrongLDelim.exec(e);if(!s||s[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;if(!(s[1]||s[2]||"")||!n||this.rules.inline.punctuation.exec(n)){let r=[...s[0]].length-1,l,o,c=r,h=0,p=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(p.lastIndex=0,t=t.slice(-1*e.length+r);(s=p.exec(t))!=null;){if(l=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!l)continue;if(o=[...l].length,s[3]||s[4]){c+=o;continue}else if((s[5]||s[6])&&r%3&&!((r+o)%3)){h+=o;continue}if(c-=o,c>0)continue;o=Math.min(o,o+c+h);let k=[...s[0]][0].length,f=e.slice(0,r+s.index+k+o);if(Math.min(r,o)%2){let d=f.slice(1,-1);return{type:"em",raw:f,text:d,tokens:this.lexer.inlineTokens(d)}}let b=f.slice(2,-2);return{type:"strong",raw:f,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," "),s=this.rules.other.nonSpaceChar.test(n),i=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return s&&i&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let n,s;return t[2]==="@"?(n=t[1],s="mailto:"+n):(n=t[1],s=n),{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,s;if(t[2]==="@")n=t[0],s="mailto:"+n;else{let i;do i=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(i!==t[0]);n=t[0],t[1]==="www."?s="http://"+t[0]:s=t[0]}return{type:"link",raw:t[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}},y=class a{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||R,this.options.tokenizer=this.options.tokenizer||new _,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:x,block:M.normal,inline:L.normal};this.options.pedantic?(t.block=M.pedantic,t.inline=L.pedantic):this.options.gfm&&(t.block=M.gfm,this.options.breaks?t.inline=L.breaks:t.inline=L.gfm),this.tokenizer.rules=t}static get rules(){return{block:M,inline:L}}static lex(e,t){return new a(t).lex(e)}static lexInline(e,t){return new a(t).inlineTokens(e)}lex(e){e=e.replace(x.carriageReturn,`
|
|
27
|
+
`),this.blockTokens(e,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){let n=this.inlineQueue[t];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){for(this.options.pedantic&&(e=e.replace(x.tabCharGlobal," ").replace(x.spaceLine,""));e;){let s;if(this.options.extensions?.block?.some(r=>(s=r.call({lexer:this},e,t))?(e=e.substring(s.raw.length),t.push(s),!0):!1))continue;if(s=this.tokenizer.space(e)){e=e.substring(s.raw.length);let r=t.at(-1);s.raw.length===1&&r!==void 0?r.raw+=`
|
|
28
28
|
`:t.push(s);continue}if(s=this.tokenizer.code(e)){e=e.substring(s.raw.length);let r=t.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=`
|
|
29
29
|
`+s.raw,r.text+=`
|
|
30
30
|
`+s.text,this.inlineQueue.at(-1).src=r.text):t.push(s);continue}if(s=this.tokenizer.fences(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.heading(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.hr(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.blockquote(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.list(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.html(e)){e=e.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.def(e)){e=e.substring(s.raw.length);let r=t.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=`
|
|
@@ -33,7 +33,7 @@ ${p}`:p;let d=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTo
|
|
|
33
33
|
`+s.raw,r.text+=`
|
|
34
34
|
`+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(s),n=i.length!==e.length,e=e.substring(s.raw.length);continue}if(s=this.tokenizer.text(e)){e=e.substring(s.raw.length);let r=t.at(-1);r?.type==="text"?(r.raw+=`
|
|
35
35
|
`+s.raw,r.text+=`
|
|
36
|
-
`+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(s);continue}if(e){let r="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(r);break}else throw new Error(r)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n=e,s=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)l.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(s=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,s.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i=!1,r="";for(;e;){i||(r=""),i=!1;let l;if(this.options.extensions?.inline?.some(c=>(l=c.call({lexer:this},e,t))?(e=e.substring(l.raw.length),t.push(l),!0):!1))continue;if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length);let c=t.at(-1);l.type==="text"&&c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):t.push(l);continue}if(l=this.tokenizer.emStrong(e,n,r)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),t.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),t.push(l);continue}let o=e;if(this.options.extensions?.startInline){let c=1/0,h=e.slice(1),p;this.options.extensions.startInline.forEach(
|
|
36
|
+
`+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(s);continue}if(e){let r="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(r);break}else throw new Error(r)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n=e,s=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(s=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)l.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(s=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(s=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,s.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i=!1,r="";for(;e;){i||(r=""),i=!1;let l;if(this.options.extensions?.inline?.some(c=>(l=c.call({lexer:this},e,t))?(e=e.substring(l.raw.length),t.push(l),!0):!1))continue;if(l=this.tokenizer.escape(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.tag(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.link(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(l.raw.length);let c=t.at(-1);l.type==="text"&&c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):t.push(l);continue}if(l=this.tokenizer.emStrong(e,n,r)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.codespan(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.br(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.del(e)){e=e.substring(l.raw.length),t.push(l);continue}if(l=this.tokenizer.autolink(e)){e=e.substring(l.raw.length),t.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(e))){e=e.substring(l.raw.length),t.push(l);continue}let o=e;if(this.options.extensions?.startInline){let c=1/0,h=e.slice(1),p;this.options.extensions.startInline.forEach(k=>{p=k.call({lexer:this},h),typeof p=="number"&&p>=0&&(c=Math.min(c,p))}),c<1/0&&c>=0&&(o=e.substring(0,c+1))}if(l=this.tokenizer.inlineText(o)){e=e.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(r=l.raw.slice(-1)),i=!0;let c=t.at(-1);c?.type==="text"?(c.raw+=l.raw,c.text+=l.text):t.push(l);continue}if(e){let c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return t}},A=class{options;parser;constructor(e){this.options=e||R}space(e){return""}code({text:e,lang:t,escaped:n}){let s=(t||"").match(x.notSpaceStart)?.[0],i=e.replace(x.endingNewline,"")+`
|
|
37
37
|
`;return s?'<pre><code class="language-'+T(s)+'">'+(n?i:T(i,!0))+`</code></pre>
|
|
38
38
|
`:"<pre><code>"+(n?i:T(i,!0))+`</code></pre>
|
|
39
39
|
`}blockquote({tokens:e}){return`<blockquote>
|
|
@@ -51,6 +51,6 @@ ${this.parser.parse(e)}</blockquote>
|
|
|
51
51
|
`}tablerow({text:e}){return`<tr>
|
|
52
52
|
${e}</tr>
|
|
53
53
|
`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
|
|
54
|
-
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${T(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let s=this.parser.parseInline(n),i=
|
|
55
|
-
`+this.renderer.text(l);t?n+=this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):n+=o;continue}default:{let l='Token with "'+r.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return n}parseInline(e,t=this.renderer){let n="";for(let s=0;s<e.length;s++){let i=e[s];if(this.options.extensions?.renderers?.[i.type]){let l=this.options.extensions.renderers[i.type].call({parser:this},i);if(l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=l||"";continue}}let r=i;switch(r.type){case"escape":{n+=t.text(r);break}case"html":{n+=t.html(r);break}case"link":{n+=t.link(r);break}case"image":{n+=t.image(r);break}case"strong":{n+=t.strong(r);break}case"em":{n+=t.em(r);break}case"codespan":{n+=t.codespan(r);break}case"br":{n+=t.br(r);break}case"del":{n+=t.del(r);break}case"text":{n+=t.text(r);break}default:{let l='Token with "'+r.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return n}},
|
|
56
|
-
Please report this to https://github.com/markedjs/marked.`,e){let s="<p>An error occurred:</p><pre>"+T(n.message+"",!0)+"</pre>";return t?Promise.resolve(s):s}if(t)return Promise.reject(n);throw n}}},$=new j;function u(a,e){return $.parse(a,e)}u.options=u.setOptions=function(a){return $.setOptions(a),u.defaults=$.defaults
|
|
54
|
+
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${T(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let s=this.parser.parseInline(n),i=ye(e);if(i===null)return s;e=i;let r='<a href="'+e+'"';return t&&(r+=' title="'+T(t)+'"'),r+=">"+s+"</a>",r}image({href:e,title:t,text:n}){let s=ye(e);if(s===null)return T(n);e=s;let i=`<img src="${e}" alt="${n}"`;return t&&(i+=` title="${T(t)}"`),i+=">",i}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:T(e.text)}},B=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},S=class a{options;renderer;textRenderer;constructor(e){this.options=e||R,this.options.renderer=this.options.renderer||new A,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new B}static parse(e,t){return new a(t).parse(e)}static parseInline(e,t){return new a(t).parseInline(e)}parse(e,t=!0){let n="";for(let s=0;s<e.length;s++){let i=e[s];if(this.options.extensions?.renderers?.[i.type]){let l=i,o=this.options.extensions.renderers[l.type].call({parser:this},l);if(o!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(l.type)){n+=o||"";continue}}let r=i;switch(r.type){case"space":{n+=this.renderer.space(r);continue}case"hr":{n+=this.renderer.hr(r);continue}case"heading":{n+=this.renderer.heading(r);continue}case"code":{n+=this.renderer.code(r);continue}case"table":{n+=this.renderer.table(r);continue}case"blockquote":{n+=this.renderer.blockquote(r);continue}case"list":{n+=this.renderer.list(r);continue}case"html":{n+=this.renderer.html(r);continue}case"paragraph":{n+=this.renderer.paragraph(r);continue}case"text":{let l=r,o=this.renderer.text(l);for(;s+1<e.length&&e[s+1].type==="text";)l=e[++s],o+=`
|
|
55
|
+
`+this.renderer.text(l);t?n+=this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):n+=o;continue}default:{let l='Token with "'+r.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return n}parseInline(e,t=this.renderer){let n="";for(let s=0;s<e.length;s++){let i=e[s];if(this.options.extensions?.renderers?.[i.type]){let l=this.options.extensions.renderers[i.type].call({parser:this},i);if(l!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=l||"";continue}}let r=i;switch(r.type){case"escape":{n+=t.text(r);break}case"html":{n+=t.html(r);break}case"link":{n+=t.link(r);break}case"image":{n+=t.image(r);break}case"strong":{n+=t.strong(r);break}case"em":{n+=t.em(r);break}case"codespan":{n+=t.codespan(r);break}case"br":{n+=t.br(r);break}case"del":{n+=t.del(r);break}case"text":{n+=t.text(r);break}default:{let l='Token with "'+r.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return n}},C=class{options;block;constructor(e){this.options=e||R}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?y.lex:y.lexInline}provideParser(){return this.block?S.parse:S.parseInline}},j=class{defaults=F();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=S;Renderer=A;TextRenderer=B;Lexer=y;Tokenizer=_;Hooks=C;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let s of e)switch(n=n.concat(t.call(this,s)),s.type){case"table":{let i=s;for(let r of i.header)n=n.concat(this.walkTokens(r.tokens,t));for(let r of i.rows)for(let l of r)n=n.concat(this.walkTokens(l.tokens,t));break}case"list":{let i=s;n=n.concat(this.walkTokens(i.items,t));break}default:{let i=s;this.defaults.extensions?.childTokens?.[i.type]?this.defaults.extensions.childTokens[i.type].forEach(r=>{let l=i[r].flat(1/0);n=n.concat(this.walkTokens(l,t))}):i.tokens&&(n=n.concat(this.walkTokens(i.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let s=m({},n);if(s.async=this.defaults.async||s.async||!1,n.extensions&&(n.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){let r=t.renderers[i.name];r?t.renderers[i.name]=function(...l){let o=i.renderer.apply(this,l);return o===!1&&(o=r.apply(this,l)),o}:t.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let r=t[i.level];r?r.unshift(i.tokenizer):t[i.level]=[i.tokenizer],i.start&&(i.level==="block"?t.startBlock?t.startBlock.push(i.start):t.startBlock=[i.start]:i.level==="inline"&&(t.startInline?t.startInline.push(i.start):t.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(t.childTokens[i.name]=i.childTokens)}),s.extensions=t),n.renderer){let i=this.defaults.renderer||new A(this.defaults);for(let r in n.renderer){if(!(r in i))throw new Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;let l=r,o=n.renderer[l],c=i[l];i[l]=(...h)=>{let p=o.apply(i,h);return p===!1&&(p=c.apply(i,h)),p||""}}s.renderer=i}if(n.tokenizer){let i=this.defaults.tokenizer||new _(this.defaults);for(let r in n.tokenizer){if(!(r in i))throw new Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let l=r,o=n.tokenizer[l],c=i[l];i[l]=(...h)=>{let p=o.apply(i,h);return p===!1&&(p=c.apply(i,h)),p}}s.tokenizer=i}if(n.hooks){let i=this.defaults.hooks||new C;for(let r in n.hooks){if(!(r in i))throw new Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;let l=r,o=n.hooks[l],c=i[l];C.passThroughHooks.has(r)?i[l]=h=>{if(this.defaults.async)return Promise.resolve(o.call(i,h)).then(k=>c.call(i,k));let p=o.call(i,h);return c.call(i,p)}:i[l]=(...h)=>{let p=o.apply(i,h);return p===!1&&(p=c.apply(i,h)),p}}s.hooks=i}if(n.walkTokens){let i=this.defaults.walkTokens,r=n.walkTokens;s.walkTokens=function(l){let o=[];return o.push(r.call(this,l)),i&&(o=o.concat(i.call(this,l))),o}}this.defaults=m(m({},this.defaults),s)}),this}setOptions(e){return this.defaults=m(m({},this.defaults),e),this}lexer(e,t){return y.lex(e,t??this.defaults)}parser(e,t){return S.parse(e,t??this.defaults)}parseMarkdown(e){return(n,s)=>{let i=m({},s),r=m(m({},this.defaults),i),l=this.onError(!!r.silent,!!r.async);if(this.defaults.async===!0&&i.async===!1)return l(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));r.hooks&&(r.hooks.options=r,r.hooks.block=e);let o=r.hooks?r.hooks.provideLexer():e?y.lex:y.lexInline,c=r.hooks?r.hooks.provideParser():e?S.parse:S.parseInline;if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(n):n).then(h=>o(h,r)).then(h=>r.hooks?r.hooks.processAllTokens(h):h).then(h=>r.walkTokens?Promise.all(this.walkTokens(h,r.walkTokens)).then(()=>h):h).then(h=>c(h,r)).then(h=>r.hooks?r.hooks.postprocess(h):h).catch(l);try{r.hooks&&(n=r.hooks.preprocess(n));let h=o(n,r);r.hooks&&(h=r.hooks.processAllTokens(h)),r.walkTokens&&this.walkTokens(h,r.walkTokens);let p=c(h,r);return r.hooks&&(p=r.hooks.postprocess(p)),p}catch(h){return l(h)}}}onError(e,t){return n=>{if(n.message+=`
|
|
56
|
+
Please report this to https://github.com/markedjs/marked.`,e){let s="<p>An error occurred:</p><pre>"+T(n.message+"",!0)+"</pre>";return t?Promise.resolve(s):s}if(t)return Promise.reject(n);throw n}}},$=new j;function u(a,e){return $.parse(a,e)}u.options=u.setOptions=function(a){return $.setOptions(a),u.defaults=$.defaults,$e(u.defaults),u};u.getDefaults=F;u.defaults=R;u.use=function(...a){return $.use(...a),u.defaults=$.defaults,$e(u.defaults),u};u.walkTokens=function(a,e){return $.walkTokens(a,e)};u.parseInline=$.parseInline;u.Parser=S;u.parser=S.parse;u.Renderer=A;u.TextRenderer=B;u.Lexer=y;u.lexer=y.lex;u.Tokenizer=_;u.Hooks=C;u.parse=u;var xt=u.options,mt=u.setOptions,wt=u.use,yt=u.walkTokens,St=u.parseInline;var Tt=S.parse,$t=y.lex;var Y=new le("Marked"),ve={provide:Y,useFactory:()=>u};var ee=class a{#e=q(be);#t=q(ke);#n=q(Y);changelog=xe(this.#e.getApiV1Changelog().pipe(ie(e=>{let n=this.#t.bypassSecurityTrustHtml(e.Changelog??"").toString();return n.startsWith("SafeValue must use [property]=binding: ")&&(n=n.replace("SafeValue must use [property]=binding: ","")),this.#n.parse(n.replace(/^[\u200B\u200C\u200D\u200E\u200F\uFEFF]/,""))})));static \u0275fac=function(t){return new(t||a)};static \u0275cmp=ce({type:a,selectors:[["app-changelog"]],features:[de([ve])],decls:3,vars:1,consts:()=>{let e;return e=$localize`Changelog`,[e,[1,"markdown-output",3,"innerHTML"]]},template:function(t,n){t&1&&(pe(0,"h3"),fe(1,0),ue(),ge(2,"div",1)),t&2&&(ae(2),he("innerHTML",n.changelog(),oe))},styles:["[_nghost-%COMP%]{display:block}h3[_ngcontent-%COMP%]{font:var(--title-30);margin:0 0 1.25rem}"],changeDetection:0})};export{ee as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as a,f as b}from"./chunk-TZYGTULV.js";import"./chunk-DURFGYD7.js";import"./chunk-BRMUJELY.js";import"./chunk-PNJEVGID.js";import"./chunk-YOP6HOXH.js";import"./chunk-XKAASYKO.js";import"./chunk-PPRHD3ZV.js";import"./chunk-LJ3ULEOG.js";import"./chunk-C5EHOW7U.js";import"./chunk-6KER52JR.js";import"./chunk-MCLDJCPW.js";import"./chunk-7IRVNC4S.js";import"./chunk-2M52SFS6.js";import"./chunk-C6Q5SG76.js";export{a as createRestoreSelectFilesForm,b as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-C6Q5SG76.js";var t=[{path:"",redirectTo:"select-files",pathMatch:"full"},{path:"destination",loadComponent:()=>import("./chunk-34SHHWMR.js")},{path:"encryption",loadComponent:()=>import("./chunk-FUH4327W.js")},{path:"select-files",loadComponent:()=>import("./chunk-ODDKCMXA.js")},{path:"options",loadComponent:()=>import("./chunk-BKSXG3Z5.js")}],o=t;export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m as a,n as b}from"./chunk-MEFACGK4.js";import"./chunk-DURFGYD7.js";import"./chunk-BRMUJELY.js";import"./chunk-DNHLTHLR.js";import"./chunk-PNJEVGID.js";import"./chunk-YOP6HOXH.js";import"./chunk-RTVM3BJK.js";import"./chunk-XKAASYKO.js";import"./chunk-PPRHD3ZV.js";import"./chunk-LJ3ULEOG.js";import"./chunk-C5EHOW7U.js";import"./chunk-6KER52JR.js";import"./chunk-MCLDJCPW.js";import"./chunk-7IRVNC4S.js";import"./chunk-2M52SFS6.js";import"./chunk-C6Q5SG76.js";export{a as createSourceDataForm,b as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as m,
|
|
1
|
+
import{C as m,Lc as k,Mc as f,N as w,Nc as x,Oc as j,P as l,Y as d,ba as i,g as p,i as g,ia as h,ja as a,ua as b}from"./chunk-2M52SFS6.js";import{a as v,b as y}from"./chunk-C6Q5SG76.js";function D(n,e){!e?.injector&&i(D);let t=e?.injector??d(h),o=new g(1),u=x(()=>{let r;try{r=n()}catch(c){f(()=>o.error(c));return}f(()=>o.next(r))},{injector:t,manualCleanup:!0});return t.get(a).onDestroy(()=>{u.destroy(),o.complete()}),o.asObservable()}function S(n,e){let t=!e?.manualCleanup;t&&!e?.injector&&i(S);let o=t?e?.injector?.get(a)??d(a):null,u=O(e?.equal),r;e?.requireSync?r=b({kind:0},{equal:u}):r=b({kind:1,value:e?.initialValue},{equal:u});let c=n.subscribe({next:s=>r.set({kind:1,value:s}),error:s=>{if(e?.rejectErrors)throw s;r.set({kind:2,error:s})}});if(e?.requireSync&&r().kind===0)throw new l(601,!1);return o?.onDestroy(c.unsubscribe.bind(c)),k(()=>{let s=r();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new l(601,!1)}},{equal:e?.equal})}function O(n=Object.is){return(e,t)=>e.kind===1&&t.kind===1&&n(e.value,t.value)}function R(n){return n?.injector||i(R),j(y(v({},n),{loader:e=>{let t=new p;return e.abortSignal.addEventListener("abort",()=>t.next()),new Promise((o,u)=>{n.loader(e).pipe(m(1),w(t)).subscribe({next:o,error:u,complete:()=>u(new Error("Resource completed before producing a value"))})})}}))}export{D as a,S as b,R as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as D,c}from"./chunk-6SIZVSDW.js";import{M as g,S as d,X as l,l as I,m as B,p as R,v as O,y as k}from"./chunk-QDAWQNBQ.js";import{a as y,b as T}from"./chunk-C6Q5SG76.js";var v=class{_fns;constructor(){this._fns=[]}eject(e){let i=this._fns.indexOf(e);i!==-1&&(this._fns=[...this._fns.slice(0,i),...this._fns.slice(i+1)])}use(e){this._fns=[...this._fns,e]}},t={BASE:"",CREDENTIALS:"include",ENCODE_PATH:void 0,HEADERS:void 0,PASSWORD:void 0,TOKEN:void 0,USERNAME:void 0,VERSION:"1",WITH_CREDENTIALS:!1,interceptors:{response:new v}};var A=class extends Error{url;status;statusText;body;request;constructor(e,i,a){super(a),this.name="ApiError",this.url=i.url,this.status=i.status,this.statusText=i.statusText,this.body=i.body,this.request=e}};var h=p=>typeof p=="string",P=p=>h(p)&&p!=="",f=p=>p instanceof Blob,G=p=>p instanceof FormData,j=p=>{try{return btoa(p)}catch{return Buffer.from(p).toString("base64")}},F=p=>{let e=[],i=(r,n)=>{e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)},a=(r,n)=>{n!=null&&(n instanceof Date?i(r,n.toISOString()):Array.isArray(n)?n.forEach(o=>a(r,o)):typeof n=="object"?Object.entries(n).forEach(([o,u])=>a(`${r}[${o}]`,u)):i(r,n))};return Object.entries(p).forEach(([r,n])=>a(r,n)),e.length?`?${e.join("&")}`:""},L=(p,e)=>{let i=p.ENCODE_PATH||encodeURI,a=e.url.replace("{api-version}",p.VERSION).replace(/{(.*?)}/g,(n,o)=>e.path?.hasOwnProperty(o)?i(String(e.path[o])):n),r=p.BASE+a;return e.query?r+F(e.query):r},N=p=>{if(p.formData){let e=new FormData,i=(a,r)=>{h(r)||f(r)?e.append(a,r):e.append(a,JSON.stringify(r))};return Object.entries(p.formData).filter(([,a])=>a!=null).forEach(([a,r])=>{Array.isArray(r)?r.forEach(n=>i(a,n)):i(a,r)}),e}},V=async(p,e)=>typeof e=="function"?e(p):e,U=(p,e)=>O({token:V(e,p.TOKEN),username:V(e,p.USERNAME),password:V(e,p.PASSWORD),additionalHeaders:V(e,p.HEADERS)}).pipe(R(({token:i,username:a,password:r,additionalHeaders:n})=>{let o=Object.entries(y(y({Accept:"application/json"},n),e.headers)).filter(([,u])=>u!=null).reduce((u,[m,b])=>T(y({},u),{[m]:String(b)}),{});if(P(i)&&(o.Authorization=`Bearer ${i}`),P(a)&&P(r)){let u=j(`${a}:${r}`);o.Authorization=`Basic ${u}`}return e.body!==void 0&&(e.mediaType?o["Content-Type"]=e.mediaType:f(e.body)?o["Content-Type"]=e.body.type||"application/octet-stream":h(e.body)?o["Content-Type"]="text/plain":G(e.body)||(o["Content-Type"]="application/json")),new D(o)})),M=p=>{if(p.body)return p.mediaType?.includes("application/json")||p.mediaType?.includes("+json")?JSON.stringify(p.body):h(p.body)||f(p.body)||G(p.body)?p.body:JSON.stringify(p.body)},K=(p,e,i,a,r,n,o)=>i.request(e.method,a,{headers:o,body:r??n,withCredentials:p.WITH_CREDENTIALS,observe:"response"}),z=(p,e)=>{if(e){let i=p.headers.get(e);if(h(i))return i}},W=p=>{if(p.status!==204&&p.body!==null)return p.body},$=(p,e)=>{let a=y({400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"Im a teapot",421:"Misdirected Request",422:"Unprocessable Content",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"},p.errors)[e.status];if(a)throw new A(p,e,a);if(!e.ok){let r=e.status??"unknown",n=e.statusText??"unknown",o=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new A(p,e,`Generic Error: status: ${r}; status text: ${n}; body: ${o}`)}},s=(p,e,i)=>{let a=L(p,i),r=N(i),n=M(i);return U(p,i).pipe(g(o=>K(p,i,e,a,n,r,o)),g(async o=>{for(let w of p.interceptors.response._fns)o=await w(o);let u=W(o),m=z(o,i.responseHeader),b=u;return i.responseTransformer&&o.ok&&(b=await i.responseTransformer(u)),{url:a,ok:o.ok,status:o.status,statusText:o.statusText,body:m??b}}),k(o=>o.status?I({url:a,ok:o.ok,status:o.status,statusText:o.statusText,body:o.error??o.statusText}):B(()=>o)),R(o=>($(i,o),o.body)),k(o=>B(()=>o)))};var S=class p{constructor(e){this.http=e}getApiV1Commandline(){return s(t,this.http,{method:"GET",url:"/api/v1/commandline"})}static \u0275fac=function(i){return new(i||p)(l(c))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})},E=class p{constructor(e){this.http=e}postApiV1Commandline(e){return s(t,this.http,{method:"POST",url:"/api/v1/commandline",body:e.requestBody,mediaType:"application/json"})}getApiV1Acknowledgements(){return s(t,this.http,{method:"GET",url:"/api/v1/acknowledgements"})}postApiV1AuthRefresh(){return s(t,this.http,{method:"POST",url:"/api/v1/auth/refresh"})}postApiV1AuthSignin(e){return s(t,this.http,{method:"POST",url:"/api/v1/auth/signin",body:e.requestBody,mediaType:"application/json"})}postApiV1AuthLogin(e){return s(t,this.http,{method:"POST",url:"/api/v1/auth/login",body:e.requestBody,mediaType:"application/json"})}postApiV1AuthIssuesignintoken(e){return s(t,this.http,{method:"POST",url:"/api/v1/auth/issuesignintoken",body:e.requestBody,mediaType:"application/json"})}postApiV1AuthRefreshLogout(){return s(t,this.http,{method:"POST",url:"/api/v1/auth/refresh/logout"})}postApiV1AuthIssuetokenByOperation(e){return s(t,this.http,{method:"POST",url:"/api/v1/auth/issuetoken/{operation}",path:{operation:e.operation}})}postApiV1AuthIssueForeverToken(){return s(t,this.http,{method:"POST",url:"/api/v1/auth/issue-forever-token"})}getApiV1Backupdefaults(){return s(t,this.http,{method:"GET",url:"/api/v1/backupdefaults"})}getApiV1Backups(){return s(t,this.http,{method:"GET",url:"/api/v1/backups"})}postApiV1Backups(e){return s(t,this.http,{method:"POST",url:"/api/v1/backups",query:{temporary:e.temporary,existingdb:e.existingdb},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupsImport(e){return s(t,this.http,{method:"POST",url:"/api/v1/backups/import",body:e.requestBody,mediaType:"application/json"})}getApiV1BugreportByReportid(e){return s(t,this.http,{method:"GET",url:"/api/v1/bugreport/{reportid}",path:{reportid:e.reportid},query:{token:e.token}})}getApiV1Changelog(e={}){return s(t,this.http,{method:"GET",url:"/api/v1/changelog",query:{"from-update":e.fromUpdate}})}getApiV1CommandlineByRunid(e){return s(t,this.http,{method:"GET",url:"/api/v1/commandline/{runid}",path:{runid:e.runid},query:{offset:e.offset,pagesize:e.pagesize}})}postApiV1CommandlineByRunidAbort(e){return s(t,this.http,{method:"POST",url:"/api/v1/commandline/{runid}/abort",path:{runid:e.runid}})}postApiV1Filesystem(e){return s(t,this.http,{method:"POST",url:"/api/v1/filesystem",query:{onlyFolders:e.onlyFolders,showHidden:e.showHidden},body:e.requestBody,mediaType:"application/json"})}postApiV1FilesystemValidate(e){return s(t,this.http,{method:"POST",url:"/api/v1/filesystem/validate",body:e.requestBody,mediaType:"application/json"})}getApiV1Hyperv(){return s(t,this.http,{method:"GET",url:"/api/v1/hyperv"})}getApiV1HypervByKey(e){return s(t,this.http,{method:"GET",url:"/api/v1/hyperv/{key}",path:{key:e.key}})}getApiV1Licenses(){return s(t,this.http,{method:"GET",url:"/api/v1/licenses"})}getApiV1LogdataPoll(e){return s(t,this.http,{method:"GET",url:"/api/v1/logdata/poll",query:{level:e.level,id:e.id,offset:e.offset,pagesize:e.pagesize}})}getApiV1LogdataLog(e={}){return s(t,this.http,{method:"GET",url:"/api/v1/logdata/log",query:{offset:e.offset,pagesize:e.pagesize}})}getApiV1Mssql(){return s(t,this.http,{method:"GET",url:"/api/v1/mssql"})}getApiV1MssqlByKey(e){return s(t,this.http,{method:"GET",url:"/api/v1/mssql/{key}",path:{key:e.key}})}getApiV1NotificationById(e){return s(t,this.http,{method:"GET",url:"/api/v1/notification/{id}",path:{id:e.id}})}deleteApiV1NotificationById(e){return s(t,this.http,{method:"DELETE",url:"/api/v1/notification/{id}",path:{id:e.id}})}getApiV1Notifications(){return s(t,this.http,{method:"GET",url:"/api/v1/notifications"})}getApiV1RemotecontrolStatus(){return s(t,this.http,{method:"GET",url:"/api/v1/remotecontrol/status"})}postApiV1RemotecontrolEnable(){return s(t,this.http,{method:"POST",url:"/api/v1/remotecontrol/enable"})}postApiV1RemotecontrolDisable(){return s(t,this.http,{method:"POST",url:"/api/v1/remotecontrol/disable"})}deleteApiV1RemotecontrolRegistration(){return s(t,this.http,{method:"DELETE",url:"/api/v1/remotecontrol/registration"})}postApiV1RemotecontrolRegister(e){return s(t,this.http,{method:"POST",url:"/api/v1/remotecontrol/register",body:e.requestBody,mediaType:"application/json"})}deleteApiV1RemotecontrolRegister(){return s(t,this.http,{method:"DELETE",url:"/api/v1/remotecontrol/register"})}postApiV1RemoteoperationDbpath(e){return s(t,this.http,{method:"POST",url:"/api/v1/remoteoperation/dbpath",body:e.requestBody,mediaType:"application/json"})}postApiV1RemoteoperationTest(e){return s(t,this.http,{method:"POST",url:"/api/v1/remoteoperation/test",query:{autocreate:e.autocreate},body:e.requestBody,mediaType:"application/json"})}postApiV1RemoteoperationCreate(e){return s(t,this.http,{method:"POST",url:"/api/v1/remoteoperation/create",body:e.requestBody,mediaType:"application/json"})}getApiV1Serversettings(){return s(t,this.http,{method:"GET",url:"/api/v1/serversettings"})}patchApiV1Serversettings(e){return s(t,this.http,{method:"PATCH",url:"/api/v1/serversettings",body:e.requestBody,mediaType:"application/json"})}getApiV1ServersettingByKey(e){return s(t,this.http,{method:"GET",url:"/api/v1/serversetting/{key}",path:{key:e.key}})}putApiV1ServersettingByKey(e){return s(t,this.http,{method:"PUT",url:"/api/v1/serversetting/{key}",path:{key:e.key},body:e.requestBody,mediaType:"application/json"})}getApiV1Serverstate(e={}){return s(t,this.http,{method:"GET",url:"/api/v1/serverstate",query:{lastEventId:e.lastEventId,longpoll:e.longpoll,duration:e.duration}})}postApiV1ServerstatePause(e={}){return s(t,this.http,{method:"POST",url:"/api/v1/serverstate/pause",query:{duration:e.duration,pauseTransfers:e.pauseTransfers}})}postApiV1ServerstateResume(){return s(t,this.http,{method:"POST",url:"/api/v1/serverstate/resume"})}getApiV1Systeminfo(){return s(t,this.http,{method:"GET",url:"/api/v1/systeminfo"})}getApiV1SysteminfoFiltergroups(){return s(t,this.http,{method:"GET",url:"/api/v1/systeminfo/filtergroups"})}getApiV1TaskByTaskid(e){return s(t,this.http,{method:"GET",url:"/api/v1/task/{taskid}",path:{taskid:e.taskid}})}postApiV1TaskByTaskidStop(e){return s(t,this.http,{method:"POST",url:"/api/v1/task/{taskid}/stop",path:{taskid:e.taskid}})}postApiV1TaskByTaskidAbort(e){return s(t,this.http,{method:"POST",url:"/api/v1/task/{taskid}/abort",path:{taskid:e.taskid}})}getApiV1Uisettings(){return s(t,this.http,{method:"GET",url:"/api/v1/uisettings"})}postApiV1Uisettings(e){return s(t,this.http,{method:"POST",url:"/api/v1/uisettings",body:e.requestBody,mediaType:"application/json"})}getApiV1UisettingsByScheme(e){return s(t,this.http,{method:"GET",url:"/api/v1/uisettings/{scheme}",path:{scheme:e.scheme}})}patchApiV1UisettingsByScheme(e){return s(t,this.http,{method:"PATCH",url:"/api/v1/uisettings/{scheme}",path:{scheme:e.scheme},body:e.requestBody,mediaType:"application/json"})}postApiV1WebmoduleByModulekey(e){return s(t,this.http,{method:"POST",url:"/api/v1/webmodule/{modulekey}",path:{modulekey:e.modulekey},body:e.requestBody,mediaType:"application/json"})}getApiV1BackupById(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}",path:{id:e.id}})}putApiV1BackupById(e){return s(t,this.http,{method:"PUT",url:"/api/v1/backup/{id}",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}deleteApiV1BackupById(e){return s(t,this.http,{method:"DELETE",url:"/api/v1/backup/{id}",path:{id:e.id},query:{"delete-remote-files":e.deleteRemoteFiles,"delete-local-db":e.deleteLocalDb,force:e.force}})}getApiV1BackupByIdFiles(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/files",path:{id:e.id},query:{filter:e.filter,time:e.time,"all-versions":e.allVersions,"prefix-only":e.prefixOnly,"folder-contents":e.folderContents}})}getApiV1BackupByIdLog(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/log",path:{id:e.id},query:{offset:e.offset,pagesize:e.pagesize}})}getApiV1BackupByIdRemotelog(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/remotelog",path:{id:e.id},query:{offset:e.offset,pagesize:e.pagesize}})}getApiV1BackupByIdFilesets(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/filesets",path:{id:e.id},query:{"include-metadata":e.includeMetadata,"from-remote-only":e.fromRemoteOnly}})}getApiV1BackupByIdExportArgsonly(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/export-argsonly",path:{id:e.id},query:{"export-passwords":e.exportPasswords,passphrase:e.passphrase}})}getApiV1BackupByIdExportCmdline(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/export-cmdline",path:{id:e.id},query:{"export-passwords":e.exportPasswords,passphrase:e.passphrase}})}getApiV1BackupByIdExport(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/export",path:{id:e.id},query:{"export-passwords":e.exportPasswords,passphrase:e.passphrase,token:e.token}})}getApiV1BackupByIdIsdbusedelsewhere(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/isdbusedelsewhere",path:{id:e.id}})}getApiV1BackupByIdIsactive(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/isactive",path:{id:e.id}})}postApiV1BackupByIdDeletedb(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/deletedb",path:{id:e.id}})}postApiV1BackupByIdMovedb(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/movedb",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdUpdatedb(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/updatedb",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdRestore(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/restore",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdCreatereport(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/createreport",path:{id:e.id}})}postApiV1BackupByIdRepair(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/repair",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdRepairupdate(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/repairupdate",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdVacuum(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/vacuum",path:{id:e.id}})}postApiV1BackupByIdVerify(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/verify",path:{id:e.id}})}postApiV1BackupByIdCompact(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/compact",path:{id:e.id}})}postApiV1BackupByIdStart(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/start",path:{id:e.id}})}postApiV1BackupByIdRun(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/run",path:{id:e.id}})}postApiV1BackupByIdReportRemoteSize(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/report-remote-size",path:{id:e.id}})}postApiV1BackupByIdCopytotemp(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/copytotemp",path:{id:e.id}})}static \u0275fac=function(i){return new(i||p)(l(c))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})},C=class p{constructor(e){this.http=e}getApiV1Progressstate(){return s(t,this.http,{method:"GET",url:"/api/v1/progressstate"})}static \u0275fac=function(i){return new(i||p)(l(c))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})},q=class p{constructor(e){this.http=e}getApiV1Tasks(){return s(t,this.http,{method:"GET",url:"/api/v1/tasks"})}static \u0275fac=function(i){return new(i||p)(l(c))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})},x=class p{constructor(e){this.http=e}postApiV1UpdatesCheck(){return s(t,this.http,{method:"POST",url:"/api/v1/updates/check"})}static \u0275fac=function(i){return new(i||p)(l(c))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})},H=class p{constructor(e){this.http=e}getApiV1Webmodules(){return s(t,this.http,{method:"GET",url:"/api/v1/webmodules"})}static \u0275fac=function(i){return new(i||p)(l(c))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})};export{S as a,E as b,C as c,H as d};
|
|
1
|
+
import{a as D,c}from"./chunk-MCLDJCPW.js";import{M as g,S as d,X as l,l as I,m as B,p as R,v as O,y as k}from"./chunk-2M52SFS6.js";import{a as y,b as T}from"./chunk-C6Q5SG76.js";var v=class{_fns;constructor(){this._fns=[]}eject(e){let i=this._fns.indexOf(e);i!==-1&&(this._fns=[...this._fns.slice(0,i),...this._fns.slice(i+1)])}use(e){this._fns=[...this._fns,e]}},t={BASE:"",CREDENTIALS:"include",ENCODE_PATH:void 0,HEADERS:void 0,PASSWORD:void 0,TOKEN:void 0,USERNAME:void 0,VERSION:"1",WITH_CREDENTIALS:!1,interceptors:{response:new v}};var A=class extends Error{url;status;statusText;body;request;constructor(e,i,a){super(a),this.name="ApiError",this.url=i.url,this.status=i.status,this.statusText=i.statusText,this.body=i.body,this.request=e}};var h=p=>typeof p=="string",P=p=>h(p)&&p!=="",f=p=>p instanceof Blob,G=p=>p instanceof FormData,j=p=>{try{return btoa(p)}catch{return Buffer.from(p).toString("base64")}},F=p=>{let e=[],i=(r,n)=>{e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)},a=(r,n)=>{n!=null&&(n instanceof Date?i(r,n.toISOString()):Array.isArray(n)?n.forEach(o=>a(r,o)):typeof n=="object"?Object.entries(n).forEach(([o,u])=>a(`${r}[${o}]`,u)):i(r,n))};return Object.entries(p).forEach(([r,n])=>a(r,n)),e.length?`?${e.join("&")}`:""},L=(p,e)=>{let i=p.ENCODE_PATH||encodeURI,a=e.url.replace("{api-version}",p.VERSION).replace(/{(.*?)}/g,(n,o)=>e.path?.hasOwnProperty(o)?i(String(e.path[o])):n),r=p.BASE+a;return e.query?r+F(e.query):r},N=p=>{if(p.formData){let e=new FormData,i=(a,r)=>{h(r)||f(r)?e.append(a,r):e.append(a,JSON.stringify(r))};return Object.entries(p.formData).filter(([,a])=>a!=null).forEach(([a,r])=>{Array.isArray(r)?r.forEach(n=>i(a,n)):i(a,r)}),e}},V=async(p,e)=>typeof e=="function"?e(p):e,U=(p,e)=>O({token:V(e,p.TOKEN),username:V(e,p.USERNAME),password:V(e,p.PASSWORD),additionalHeaders:V(e,p.HEADERS)}).pipe(R(({token:i,username:a,password:r,additionalHeaders:n})=>{let o=Object.entries(y(y({Accept:"application/json"},n),e.headers)).filter(([,u])=>u!=null).reduce((u,[m,b])=>T(y({},u),{[m]:String(b)}),{});if(P(i)&&(o.Authorization=`Bearer ${i}`),P(a)&&P(r)){let u=j(`${a}:${r}`);o.Authorization=`Basic ${u}`}return e.body!==void 0&&(e.mediaType?o["Content-Type"]=e.mediaType:f(e.body)?o["Content-Type"]=e.body.type||"application/octet-stream":h(e.body)?o["Content-Type"]="text/plain":G(e.body)||(o["Content-Type"]="application/json")),new D(o)})),M=p=>{if(p.body)return p.mediaType?.includes("application/json")||p.mediaType?.includes("+json")?JSON.stringify(p.body):h(p.body)||f(p.body)||G(p.body)?p.body:JSON.stringify(p.body)},K=(p,e,i,a,r,n,o)=>i.request(e.method,a,{headers:o,body:r??n,withCredentials:p.WITH_CREDENTIALS,observe:"response"}),z=(p,e)=>{if(e){let i=p.headers.get(e);if(h(i))return i}},W=p=>{if(p.status!==204&&p.body!==null)return p.body},$=(p,e)=>{let a=y({400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"Im a teapot",421:"Misdirected Request",422:"Unprocessable Content",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"},p.errors)[e.status];if(a)throw new A(p,e,a);if(!e.ok){let r=e.status??"unknown",n=e.statusText??"unknown",o=(()=>{try{return JSON.stringify(e.body,null,2)}catch{return}})();throw new A(p,e,`Generic Error: status: ${r}; status text: ${n}; body: ${o}`)}},s=(p,e,i)=>{let a=L(p,i),r=N(i),n=M(i);return U(p,i).pipe(g(o=>K(p,i,e,a,n,r,o)),g(async o=>{for(let w of p.interceptors.response._fns)o=await w(o);let u=W(o),m=z(o,i.responseHeader),b=u;return i.responseTransformer&&o.ok&&(b=await i.responseTransformer(u)),{url:a,ok:o.ok,status:o.status,statusText:o.statusText,body:m??b}}),k(o=>o.status?I({url:a,ok:o.ok,status:o.status,statusText:o.statusText,body:o.error??o.statusText}):B(()=>o)),R(o=>($(i,o),o.body)),k(o=>B(()=>o)))};var S=class p{constructor(e){this.http=e}getApiV1Commandline(){return s(t,this.http,{method:"GET",url:"/api/v1/commandline"})}static \u0275fac=function(i){return new(i||p)(l(c))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})},E=class p{constructor(e){this.http=e}postApiV1Commandline(e){return s(t,this.http,{method:"POST",url:"/api/v1/commandline",body:e.requestBody,mediaType:"application/json"})}getApiV1Acknowledgements(){return s(t,this.http,{method:"GET",url:"/api/v1/acknowledgements"})}postApiV1AuthRefresh(){return s(t,this.http,{method:"POST",url:"/api/v1/auth/refresh"})}postApiV1AuthSignin(e){return s(t,this.http,{method:"POST",url:"/api/v1/auth/signin",body:e.requestBody,mediaType:"application/json"})}postApiV1AuthLogin(e){return s(t,this.http,{method:"POST",url:"/api/v1/auth/login",body:e.requestBody,mediaType:"application/json"})}postApiV1AuthIssuesignintoken(e){return s(t,this.http,{method:"POST",url:"/api/v1/auth/issuesignintoken",body:e.requestBody,mediaType:"application/json"})}postApiV1AuthRefreshLogout(){return s(t,this.http,{method:"POST",url:"/api/v1/auth/refresh/logout"})}postApiV1AuthIssuetokenByOperation(e){return s(t,this.http,{method:"POST",url:"/api/v1/auth/issuetoken/{operation}",path:{operation:e.operation}})}postApiV1AuthIssueForeverToken(){return s(t,this.http,{method:"POST",url:"/api/v1/auth/issue-forever-token"})}getApiV1Backupdefaults(){return s(t,this.http,{method:"GET",url:"/api/v1/backupdefaults"})}getApiV1Backups(){return s(t,this.http,{method:"GET",url:"/api/v1/backups"})}postApiV1Backups(e){return s(t,this.http,{method:"POST",url:"/api/v1/backups",query:{temporary:e.temporary,existingdb:e.existingdb},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupsImport(e){return s(t,this.http,{method:"POST",url:"/api/v1/backups/import",body:e.requestBody,mediaType:"application/json"})}getApiV1BugreportByReportid(e){return s(t,this.http,{method:"GET",url:"/api/v1/bugreport/{reportid}",path:{reportid:e.reportid},query:{token:e.token}})}getApiV1Changelog(e={}){return s(t,this.http,{method:"GET",url:"/api/v1/changelog",query:{"from-update":e.fromUpdate}})}getApiV1CommandlineByRunid(e){return s(t,this.http,{method:"GET",url:"/api/v1/commandline/{runid}",path:{runid:e.runid},query:{offset:e.offset,pagesize:e.pagesize}})}postApiV1CommandlineByRunidAbort(e){return s(t,this.http,{method:"POST",url:"/api/v1/commandline/{runid}/abort",path:{runid:e.runid}})}postApiV1Filesystem(e){return s(t,this.http,{method:"POST",url:"/api/v1/filesystem",query:{onlyFolders:e.onlyFolders,showHidden:e.showHidden},body:e.requestBody,mediaType:"application/json"})}postApiV1FilesystemValidate(e){return s(t,this.http,{method:"POST",url:"/api/v1/filesystem/validate",body:e.requestBody,mediaType:"application/json"})}getApiV1Hyperv(){return s(t,this.http,{method:"GET",url:"/api/v1/hyperv"})}getApiV1HypervByKey(e){return s(t,this.http,{method:"GET",url:"/api/v1/hyperv/{key}",path:{key:e.key}})}getApiV1Licenses(){return s(t,this.http,{method:"GET",url:"/api/v1/licenses"})}getApiV1LogdataPoll(e){return s(t,this.http,{method:"GET",url:"/api/v1/logdata/poll",query:{level:e.level,id:e.id,offset:e.offset,pagesize:e.pagesize}})}getApiV1LogdataLog(e={}){return s(t,this.http,{method:"GET",url:"/api/v1/logdata/log",query:{offset:e.offset,pagesize:e.pagesize}})}getApiV1Mssql(){return s(t,this.http,{method:"GET",url:"/api/v1/mssql"})}getApiV1MssqlByKey(e){return s(t,this.http,{method:"GET",url:"/api/v1/mssql/{key}",path:{key:e.key}})}getApiV1NotificationById(e){return s(t,this.http,{method:"GET",url:"/api/v1/notification/{id}",path:{id:e.id}})}deleteApiV1NotificationById(e){return s(t,this.http,{method:"DELETE",url:"/api/v1/notification/{id}",path:{id:e.id}})}getApiV1Notifications(){return s(t,this.http,{method:"GET",url:"/api/v1/notifications"})}getApiV1RemotecontrolStatus(){return s(t,this.http,{method:"GET",url:"/api/v1/remotecontrol/status"})}postApiV1RemotecontrolEnable(){return s(t,this.http,{method:"POST",url:"/api/v1/remotecontrol/enable"})}postApiV1RemotecontrolDisable(){return s(t,this.http,{method:"POST",url:"/api/v1/remotecontrol/disable"})}deleteApiV1RemotecontrolRegistration(){return s(t,this.http,{method:"DELETE",url:"/api/v1/remotecontrol/registration"})}postApiV1RemotecontrolRegister(e){return s(t,this.http,{method:"POST",url:"/api/v1/remotecontrol/register",body:e.requestBody,mediaType:"application/json"})}deleteApiV1RemotecontrolRegister(){return s(t,this.http,{method:"DELETE",url:"/api/v1/remotecontrol/register"})}postApiV1RemoteoperationDbpath(e){return s(t,this.http,{method:"POST",url:"/api/v1/remoteoperation/dbpath",body:e.requestBody,mediaType:"application/json"})}postApiV1RemoteoperationTest(e){return s(t,this.http,{method:"POST",url:"/api/v1/remoteoperation/test",query:{autocreate:e.autocreate},body:e.requestBody,mediaType:"application/json"})}postApiV1RemoteoperationCreate(e){return s(t,this.http,{method:"POST",url:"/api/v1/remoteoperation/create",body:e.requestBody,mediaType:"application/json"})}getApiV1Serversettings(){return s(t,this.http,{method:"GET",url:"/api/v1/serversettings"})}patchApiV1Serversettings(e){return s(t,this.http,{method:"PATCH",url:"/api/v1/serversettings",body:e.requestBody,mediaType:"application/json"})}getApiV1ServersettingByKey(e){return s(t,this.http,{method:"GET",url:"/api/v1/serversetting/{key}",path:{key:e.key}})}putApiV1ServersettingByKey(e){return s(t,this.http,{method:"PUT",url:"/api/v1/serversetting/{key}",path:{key:e.key},body:e.requestBody,mediaType:"application/json"})}getApiV1Serverstate(e={}){return s(t,this.http,{method:"GET",url:"/api/v1/serverstate",query:{lastEventId:e.lastEventId,longpoll:e.longpoll,duration:e.duration}})}postApiV1ServerstatePause(e={}){return s(t,this.http,{method:"POST",url:"/api/v1/serverstate/pause",query:{duration:e.duration,pauseTransfers:e.pauseTransfers}})}postApiV1ServerstateResume(){return s(t,this.http,{method:"POST",url:"/api/v1/serverstate/resume"})}getApiV1Systeminfo(){return s(t,this.http,{method:"GET",url:"/api/v1/systeminfo"})}getApiV1SysteminfoFiltergroups(){return s(t,this.http,{method:"GET",url:"/api/v1/systeminfo/filtergroups"})}getApiV1TaskByTaskid(e){return s(t,this.http,{method:"GET",url:"/api/v1/task/{taskid}",path:{taskid:e.taskid}})}postApiV1TaskByTaskidStop(e){return s(t,this.http,{method:"POST",url:"/api/v1/task/{taskid}/stop",path:{taskid:e.taskid}})}postApiV1TaskByTaskidAbort(e){return s(t,this.http,{method:"POST",url:"/api/v1/task/{taskid}/abort",path:{taskid:e.taskid}})}getApiV1Uisettings(){return s(t,this.http,{method:"GET",url:"/api/v1/uisettings"})}postApiV1Uisettings(e){return s(t,this.http,{method:"POST",url:"/api/v1/uisettings",body:e.requestBody,mediaType:"application/json"})}getApiV1UisettingsByScheme(e){return s(t,this.http,{method:"GET",url:"/api/v1/uisettings/{scheme}",path:{scheme:e.scheme}})}patchApiV1UisettingsByScheme(e){return s(t,this.http,{method:"PATCH",url:"/api/v1/uisettings/{scheme}",path:{scheme:e.scheme},body:e.requestBody,mediaType:"application/json"})}postApiV1WebmoduleByModulekey(e){return s(t,this.http,{method:"POST",url:"/api/v1/webmodule/{modulekey}",path:{modulekey:e.modulekey},body:e.requestBody,mediaType:"application/json"})}getApiV1BackupById(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}",path:{id:e.id}})}putApiV1BackupById(e){return s(t,this.http,{method:"PUT",url:"/api/v1/backup/{id}",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}deleteApiV1BackupById(e){return s(t,this.http,{method:"DELETE",url:"/api/v1/backup/{id}",path:{id:e.id},query:{"delete-remote-files":e.deleteRemoteFiles,"delete-local-db":e.deleteLocalDb,force:e.force}})}getApiV1BackupByIdFiles(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/files",path:{id:e.id},query:{filter:e.filter,time:e.time,"all-versions":e.allVersions,"prefix-only":e.prefixOnly,"folder-contents":e.folderContents}})}getApiV1BackupByIdLog(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/log",path:{id:e.id},query:{offset:e.offset,pagesize:e.pagesize}})}getApiV1BackupByIdRemotelog(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/remotelog",path:{id:e.id},query:{offset:e.offset,pagesize:e.pagesize}})}getApiV1BackupByIdFilesets(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/filesets",path:{id:e.id},query:{"include-metadata":e.includeMetadata,"from-remote-only":e.fromRemoteOnly}})}getApiV1BackupByIdExportArgsonly(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/export-argsonly",path:{id:e.id},query:{"export-passwords":e.exportPasswords,passphrase:e.passphrase}})}getApiV1BackupByIdExportCmdline(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/export-cmdline",path:{id:e.id},query:{"export-passwords":e.exportPasswords,passphrase:e.passphrase}})}getApiV1BackupByIdExport(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/export",path:{id:e.id},query:{"export-passwords":e.exportPasswords,passphrase:e.passphrase,token:e.token}})}getApiV1BackupByIdIsdbusedelsewhere(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/isdbusedelsewhere",path:{id:e.id}})}getApiV1BackupByIdIsactive(e){return s(t,this.http,{method:"GET",url:"/api/v1/backup/{id}/isactive",path:{id:e.id}})}postApiV1BackupByIdDeletedb(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/deletedb",path:{id:e.id}})}postApiV1BackupByIdMovedb(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/movedb",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdUpdatedb(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/updatedb",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdRestore(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/restore",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdCreatereport(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/createreport",path:{id:e.id}})}postApiV1BackupByIdRepair(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/repair",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdRepairupdate(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/repairupdate",path:{id:e.id},body:e.requestBody,mediaType:"application/json"})}postApiV1BackupByIdVacuum(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/vacuum",path:{id:e.id}})}postApiV1BackupByIdVerify(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/verify",path:{id:e.id}})}postApiV1BackupByIdCompact(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/compact",path:{id:e.id}})}postApiV1BackupByIdStart(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/start",path:{id:e.id}})}postApiV1BackupByIdRun(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/run",path:{id:e.id}})}postApiV1BackupByIdReportRemoteSize(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/report-remote-size",path:{id:e.id}})}postApiV1BackupByIdCopytotemp(e){return s(t,this.http,{method:"POST",url:"/api/v1/backup/{id}/copytotemp",path:{id:e.id}})}static \u0275fac=function(i){return new(i||p)(l(c))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})},C=class p{constructor(e){this.http=e}getApiV1Progressstate(){return s(t,this.http,{method:"GET",url:"/api/v1/progressstate"})}static \u0275fac=function(i){return new(i||p)(l(c))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})},q=class p{constructor(e){this.http=e}getApiV1Tasks(){return s(t,this.http,{method:"GET",url:"/api/v1/tasks"})}static \u0275fac=function(i){return new(i||p)(l(c))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})},x=class p{constructor(e){this.http=e}postApiV1UpdatesCheck(){return s(t,this.http,{method:"POST",url:"/api/v1/updates/check"})}static \u0275fac=function(i){return new(i||p)(l(c))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})},H=class p{constructor(e){this.http=e}getApiV1Webmodules(){return s(t,this.http,{method:"GET",url:"/api/v1/webmodules"})}static \u0275fac=function(i){return new(i||p)(l(c))};static \u0275prov=d({token:p,factory:p.\u0275fac,providedIn:"root"})};export{S as a,E as b,C as c,H as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-L5D4JLN3.js";import"./chunk-7IRVNC4S.js";import"./chunk-2M52SFS6.js";import"./chunk-C6Q5SG76.js";export{a as BytesPipe};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as a,g as b,h as c}from"./chunk-MEFACGK4.js";import"./chunk-DURFGYD7.js";import"./chunk-BRMUJELY.js";import"./chunk-DNHLTHLR.js";import"./chunk-PNJEVGID.js";import"./chunk-YOP6HOXH.js";import"./chunk-RTVM3BJK.js";import"./chunk-XKAASYKO.js";import"./chunk-PPRHD3ZV.js";import"./chunk-LJ3ULEOG.js";import"./chunk-C5EHOW7U.js";import"./chunk-6KER52JR.js";import"./chunk-MCLDJCPW.js";import"./chunk-7IRVNC4S.js";import"./chunk-2M52SFS6.js";import"./chunk-C6Q5SG76.js";export{b as NONE_OPTION,a as createGeneralForm,c as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as R,b as te}from"./chunk-DNHLTHLR.js";import{b as oe}from"./chunk-
|
|
1
|
+
import{a as R,b as te}from"./chunk-DNHLTHLR.js";import{b as oe}from"./chunk-PNJEVGID.js";import{a as G}from"./chunk-AXHB6A4N.js";import{a as L,b as K,c as S,d as U,e as z,h as j,l as V,o as q,p as H,r as Q}from"./chunk-XKAASYKO.js";import{b as v}from"./chunk-PPRHD3ZV.js";import{a as b,c as w,d as B}from"./chunk-LJ3ULEOG.js";import"./chunk-C5EHOW7U.js";import{a as W,f as J,g as Y,l as Z,x as ee}from"./chunk-6KER52JR.js";import{c as h}from"./chunk-MCLDJCPW.js";import"./chunk-7IRVNC4S.js";import{Bb as r,Cb as n,Db as a,E,Lc as O,M,Nb as l,Ob as c,Pb as f,Ra as s,Tb as P,Y as _,eb as I,gc as k,jb as x,jc as y,sb as C,sc as X,ua as g,ub as T,xb as D}from"./chunk-2M52SFS6.js";import"./chunk-C6Q5SG76.js";var ne=()=>["/"];function ie(d,e){d&1&&(r(0,"spk-form-field")(1,"label",17),f(2,6),n(),a(3,"input",18),n(),r(4,"spk-form-field")(5,"label",19),f(6,7),n(),a(7,"input",20),n())}var u=new H,N=class d{#o=_(v);#e=_(b);#t=_(w);#n=_(h);#i=_(G);isExporting=g(!1);exportType=g("file");exportedCmd=g(null);exportForm=u.group({exportPasswords:u.control(!0),encryption:u.control(!1,[S.required,te()]),password:u.control("",[R(e=>e?.value.encryption,[S.required])]),repeatPassword:u.control("",[R(e=>e?.value.encryption,[S.required])])});exportFormSignal=oe(this.exportForm.valueChanges);encryptionFieldSignal=O(()=>this.exportFormSignal()?.encryption??!1);activeBackup=O(()=>this.#i.backups().find(e=>e.Backup?.ID===this.#e.snapshot.params.id));submit(){this.isExporting.set(!0),this.exportType()==="file"?this.#o.postApiV1AuthIssuetokenByOperation({operation:"export"}).pipe(M(e=>{let i=t=>{let o=Object.entries(t);return o?"?"+o.map(([F,m])=>`${F}=${m}`).join("&"):""};return this.#n.get(`/api/v1/backup/${this.#e.snapshot.params.id}/export${i({exportPasswords:this.exportFormSignal()?.exportPasswords??void 0,passphrase:this.exportFormSignal()?.password??void 0,token:e.Token})}`,{responseType:"blob"})}),E(()=>this.isExporting.set(!1))).subscribe({next:e=>{let t=this.activeBackup()?.Backup?.Name??"Backup",o=this.exportFormSignal()?.encryption?"aes":"json";this.downloadFile(e,`${t}.${o}`),this.#t.navigate(["/"])},error:e=>{console.log("err",e)}}):this.#o.getApiV1BackupByIdExportCmdline({id:this.#e.snapshot.params.id,exportPasswords:this.exportFormSignal()?.exportPasswords??void 0,passphrase:this.exportFormSignal()?.password??void 0}).pipe(E(()=>this.isExporting.set(!1))).subscribe({next:e=>{console.log("res",e),this.exportedCmd.set(e.Command??null)},error:e=>{console.log("err",e)}})}downloadFile(e,i){let t=window.URL.createObjectURL(e),o=document.createElement("a");o.href=t,o.download=i,o.click(),window.URL.revokeObjectURL(t)}static \u0275fac=function(i){return new(i||d)};static \u0275cmp=I({type:d,selectors:[["app-export"]],decls:27,vars:12,consts:()=>{let e;e=$localize`${"\uFFFD#6\uFFFD"}:START_TAG_SPK_ICON:arrow-left${"\uFFFD/#6\uFFFD"}:CLOSE_TAG_SPK_ICON: Back `;let i;i=$localize`${"\uFFFD#9\uFFFD"}:START_TAG_SPK_ICON:export${"\uFFFD/#9\uFFFD"}:CLOSE_TAG_SPK_ICON: Export `;let t;t=$localize`${"\uFFFD#16\uFFFD"}:START_TAG_SPK_ICON:terminal-window${"\uFFFD/#16\uFFFD"}:CLOSE_TAG_SPK_ICON: As command line `;let o;o=$localize`${"\uFFFD#19\uFFFD"}:START_TAG_SPK_ICON:file${"\uFFFD/#19\uFFFD"}:CLOSE_TAG_SPK_ICON: To file `;let F;F=$localize` Export passwords ${"\uFFFD#22\uFFFD\uFFFD/#22\uFFFD"}:TAG_INPUT:`;let m;m=$localize` Encrypt file ${"\uFFFD#25\uFFFD\uFFFD/#25\uFFFD"}:TAG_INPUT:`;let A;A=$localize`Password`;let $;return $=$localize`Repeat password`,[e,i,t,o,F,m,A,$,[1,"actions"],["spk-button","",1,"outlined",3,"routerLink"],["spk-button","",1,"raised","primary",3,"click"],["autocomplete","off",3,"formGroup"],["type","button",3,"click"],[1,"raised","primary"],["type","checkbox","formControlName","exportPasswords"],[1,"primary","raised"],["type","checkbox","formControlName","encryption"],["for","password"],["type","password","id","password","formControlName","password"],["for","repeatPassword"],["type","password","id","repeatPassword","formControlName","repeatPassword"]]},template:function(i,t){if(i&1&&(r(0,"header")(1,"h3"),k(2," Export backup configuration "),r(3,"div",8)(4,"button",9),l(5,0),a(6,"spk-icon"),c(),n(),r(7,"button",10),P("click",function(){return t.submit()}),l(8,1),a(9,"spk-icon"),c(),n()()(),r(10,"p"),k(11),n()(),r(12,"form",11)(13,"spk-button-group")(14,"button",12),P("click",function(){return t.exportType.set("cmd")}),l(15,2),a(16,"spk-icon"),c(),n(),r(17,"button",12),P("click",function(){return t.exportType.set("file")}),l(18,3),a(19,"spk-icon"),c(),n()(),r(20,"spk-toggle",13),l(21,4),a(22,"input",14),c(),n(),r(23,"spk-toggle",15),l(24,5),a(25,"input",16),c(),n(),x(26,ie,8,0),n()),i&2){let o;s(4),C("routerLink",X(11,ne)),s(3),T("loading",t.isExporting()),s(4),y("#",(o=t.activeBackup())==null||o.Backup==null?null:o.Backup.ID,": ",(o=t.activeBackup())==null||o.Backup==null?null:o.Backup.Name,""),s(),C("formGroup",t.exportForm),s(2),T("active",t.exportType()==="cmd"),s(3),T("active",t.exportType()==="file"),s(9),D(t.encryptionFieldSignal()?26:-1)}},dependencies:[Q,j,K,L,U,z,V,q,B,J,ee,W,Z,Y],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:3rem}h3[_ngcontent-%COMP%]{font:var(--title-30);display:flex;align-items:center;justify-content:space-between}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;max-width:31.25rem}"],changeDetection:0})};export{N as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-C6Q5SG76.js";var o=[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-RAUCDBVO.js")},{path:"destination",loadComponent:()=>import("./chunk-BGBEOEU2.js")},{path:"source-data",loadComponent:()=>import("./chunk-PN3DBUJI.js")},{path:"schedule",loadComponent:()=>import("./chunk-D6NUBCKD.js")},{path:"options",loadComponent:()=>import("./chunk-H2DNOMMP.js")}];export{o as default};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{o as U}from"./chunk-B3BR2XEK.js";import{a as Le}from"./chunk-XJ5AEEQO.js";import{a as be}from"./chunk-5UTMYMNZ.js";import"./chunk-DNHLTHLR.js";import{b as R}from"./chunk-MHZPUJQF.js";import"./chunk-PTG2C2YJ.js";import"./chunk-XFRVNXF6.js";import{a as he}from"./chunk-UYV5TDBS.js";import"./chunk-Z5FVTSXP.js";import"./chunk-FOHDLUCC.js";import"./chunk-7KWOTSVE.js";import"./chunk-ZOMDTRAX.js";import{a as de,b as ce,d as ue,e as Ce,h as fe,i as Fe,k as ge,l as Ne,m as Te,o as Se,p as Ee,r as ke}from"./chunk-LFQXDL42.js";import"./chunk-2K3CR66C.js";import{a as _e,b as se}from"./chunk-TQE7OBBP.js";import{a as re,c as me,d as pe}from"./chunk-ZRPJ3QZT.js";import"./chunk-NVTD7IP4.js";import{a as Me,g as xe,i as De,k as Oe,l as Ae,n as Ie,o as $e,q as Pe,r as we,s as ye,x as ve,y as Ve}from"./chunk-JRAP2EKJ.js";import"./chunk-6SIZVSDW.js";import{ia as le}from"./chunk-JOBMLOGZ.js";import"./chunk-US4WRUST.js";import{Ab as x,Ac as oe,Bb as D,Cb as l,Db as o,Eb as s,Fb as $,Gb as P,Hb as Z,Ib as O,Ob as w,Oc as ae,Pb as y,Qb as S,Ra as a,Rb as b,Sb as B,Tb as J,Ub as A,Vb as r,Y as I,Yb as N,Zb as Q,_b as d,da as E,ea as k,eb as j,gc as Y,hc as m,ic as G,jc as g,kb as u,sc as ee,tb as p,tc as te,ua as L,uc as ne,vb as W,vc as ie,yb as C,zb as M}from"./chunk-QDAWQNBQ.js";import"./chunk-C6Q5SG76.js";var Be=()=>[],Ge=(n,i)=>({index:n,formView:i,formGroupName:"advancedOptions",destinationType:null,oauthField:null}),Re=n=>({$implicit:n});function Ue(n,i){n&1&&s(0,"spk-progress-bar",16)}function Ke(n,i){if(n&1&&(l(0,"spk-form-field"),s(1,"input",44),o()),n&2){let t=i.$implicit,e=i.$index;a(),Q("id","filter-",e,""),p("formControl",t)}}function ze(n,i){if(n&1){let t=O();w(0,12,1),l(1,"button",45,1),A("click",function(){let _=E(t).$implicit,f=r(2);return k(f.addNewOption(_))}),o(),y()}if(n&2){let t=i.$implicit;a(),b(t.name),B(0)}}function Xe(n,i){n&1&&Z(0)}function qe(n,i){if(n&1&&u(0,Xe,1,0,"ng-container",46),n&2){let t=i.$implicit,e=i.$index;r();let _=Y(54);p("ngTemplateOutlet",_)("ngTemplateOutletContext",ne(5,Re,ie(2,Ge,e,t)))}}function He(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function je(n,i){if(n&1&&(l(0,"app-file-tree",49)(1,"label",55),m(2),u(3,He,3,1,"spk-tooltip",56),o(),s(4,"input",57),o()),n&2){let t,e=r().$implicit,_=r(2);p("startingPath",_.getFormFieldValue(0,e.formGroupName,e.formView.name))("accepts",e.formView.accepts)("showFiles",!0)("showHiddenNodes",!0)("selectFiles",!0),a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name)}}function We(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function Ze(n,i){if(n&1&&(l(0,"app-file-tree",50)(1,"label",55),m(2),u(3,We,3,1,"spk-tooltip",56),o(),s(4,"input",57),o()),n&2){let t,e=r().$implicit,_=r(2);p("startingPath",_.getFormFieldValue(0,e.formGroupName,e.formView.name)),a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name)}}function Je(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function Qe(n,i){n&1&&(l(0,"spk-icon",58),m(1,"link"),o())}function Ye(n,i){n&1&&(l(0,"spk-icon",58),m(1,"textbox"),o())}function et(n,i){if(n&1&&(l(0,"spk-form-field")(1,"label",55),m(2),u(3,Je,3,1,"spk-tooltip",56),o(),s(4,"input",57),u(5,Qe,2,0,"spk-icon",58)(6,Ye,2,0,"spk-icon",58),o()),n&2){let t,e=r().$implicit;a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name),a(),C(e.formView.type==="Path"?5:6)}}function tt(n,i){if(n&1){let t=O();l(0,"span",62),A("click",function(){E(t);let _=r(2).$implicit,f=r(2);return k(f.oauthStartTokenCreation(_.formViewType))}),m(1,"AuthID"),o()}}function nt(n,i){n&1&&(l(0,"spk-icon",58),m(1,"password"),o())}function it(n,i){if(n&1){let t=O();l(0,"spk-icon",63),A("click",function(){E(t);let _=r(2).$implicit;return k(_.formView.showPassword=!_.formView.showPassword)}),m(1," eye "),o()}}function ot(n,i){if(n&1){let t=O();l(0,"spk-icon",63),A("click",function(){E(t);let _=r(2).$implicit;return k(_.formView.showPassword=!_.formView.showPassword)}),m(1," eye-slash "),o()}}function at(n,i){if(n&1&&(l(0,"spk-form-field")(1,"label",55),m(2),o(),s(3,"input",59),u(4,tt,2,0,"span",60)(5,nt,2,0,"spk-icon",58)(6,it,2,0,"spk-icon",61)(7,ot,2,0,"spk-icon",61),o()),n&2){let t,e=r().$implicit;a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name),p("type",e.formView.showPassword?"text":"password"),a(),C(e.oauthField===e.formView.name?4:5),a(2),C(e.formView.showPassword?6:7)}}function lt(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function rt(n,i){if(n&1&&(l(0,"spk-option",65),m(1),o()),n&2){let t=i.$implicit;p("value",t),a(),G(t)}}function mt(n,i){if(n&1&&(l(0,"spk-select")(1,"label",55),m(2),u(3,lt,3,1,"spk-tooltip",56),o(),s(4,"input",64),x(5,rt,2,2,"spk-option",65,M),o()),n&2){let t,e=r().$implicit;a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name),a(),D(e.formView.options)}}function pt(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function _t(n,i){if(n&1&&(l(0,"spk-option",65),m(1),o()),n&2){let t=i.$implicit;p("value",t),a(),G(t)}}function st(n,i){if(n&1&&(l(0,"div",51)(1,"label",55),m(2),u(3,pt,3,1,"spk-tooltip",56),o(),l(4,"div",66)(5,"spk-form-field"),s(6,"input",67),l(7,"spk-icon",58),m(8,"resize"),o()(),l(9,"spk-select"),s(10,"label")(11,"input",68),x(12,_t,2,2,"spk-option",65,M),o()()()),n&2){let t,e=r().$implicit,_=r(2);p("formGroupName",e.formView.name),a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(3),d("id","destination-",e.formGroupName,"-",e.index,""),a(6),D(_.sizeOptions())}}function dt(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function ct(n,i){if(n&1&&(l(0,"spk-form-field")(1,"label",55),m(2),u(3,dt,3,1,"spk-tooltip",56),o(),s(4,"input",69),l(5,"spk-icon",58),m(6,"numpad"),o()()),n&2){let t,e=r().$implicit;a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name)}}function ut(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function Ct(n,i){if(n&1&&(l(0,"spk-toggle",52)(1,"label",55),m(2),u(3,ut,3,1,"spk-tooltip",56),o(),s(4,"input",70),o()),n&2){let t,e=r().$implicit;a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name)}}function ft(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function Ft(n,i){n&1&&(l(0,"spk-option",72),m(1,"None"),o()),n&2&&p("value","None")}function gt(n,i){if(n&1&&(l(0,"spk-option",65),m(1),s(2,"spk-checkbox",73),o()),n&2){let t=r().$implicit;p("value",t),a(),g(" ",t," ")}}function Nt(n,i){if(n&1&&u(0,Ft,2,1,"spk-option",72)(1,gt,3,2,"spk-option",65),n&2){let t=i.$implicit;C(t==="None"?0:1)}}function Tt(n,i){if(n&1&&(l(0,"spk-select",53)(1,"label",55),m(2),u(3,ft,3,1,"spk-tooltip",56),o(),s(4,"input",71),x(5,Nt,2,1,null,null,M),o()),n&2){let t,e=r().$implicit;p("selectMultiple",!0),a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),N("formControlName",e.formView.name),a(),D(e.formView.options)}}function St(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function Et(n,i){if(n&1&&(l(0,"spk-form-field")(1,"label",55),m(2),u(3,St,3,1,"spk-tooltip",56),o(),s(4,"input",57),o()),n&2){let t,e=r().$implicit;a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name)}}function kt(n,i){if(n&1){let t=O();l(0,"div",47),$(1,48),u(2,je,5,14,"app-file-tree",49)(3,Ze,5,10,"app-file-tree",50)(4,et,7,10,"spk-form-field")(5,at,8,11,"spk-form-field")(6,mt,7,9,"spk-select")(7,st,14,9,"div",51)(8,ct,7,9,"spk-form-field")(9,Ct,5,9,"spk-toggle",52)(10,Tt,7,7,"spk-select",53)(11,Et,5,9,"spk-form-field"),P(),l(12,"button",54),A("click",function(){let _=E(t).$implicit,f=r(2);return k(f.removeFormView(_.formView,0))}),l(13,"spk-icon"),m(14,"x-circle"),o()()()}if(n&2){let t=i.$implicit;a(),p("formGroupName",t.formGroupName),a(),C(t.formView.type==="FileTree"?2:t.formView.type==="FolderTree"?3:t.formView.type==="String"||t.formView.type==="Path"?4:t.formView.type==="Password"?5:t.formView.type==="Enumeration"?6:t.formView.type==="Size"?7:t.formView.type==="Integer"?8:t.formView.type==="Boolean"?9:t.formView.type==="Flags"?10:t.formView.type==="Timespan"?11:-1)}}function Mt(n,i){if(n&1){let t=O();l(0,"form",17)(1,"spk-select-new",18)(2,"label",19),S(3,3),o(),s(4,"input",20),o(),l(5,"spk-form-field")(6,"label",21),S(7,4),o(),s(8,"textarea",22),o(),l(9,"spk-form-field")(10,"label",23),S(11,5),o(),s(12,"textarea",24),o()(),l(13,"spk-divider"),S(14,6),o(),l(15,"form",17)(16,"spk-form-field")(17,"label",25),S(18,7),o(),s(19,"input",26),o(),l(20,"spk-form-field")(21,"label",27),S(22,8),o(),s(23,"input",28),o(),l(24,"app-toggle-card",29),$(25,30),S(26,9),P(),$(27,31),x(28,Ke,2,3,"spk-form-field",null,M),P(),o()(),l(30,"form",17)(31,"div",32)(32,"div",33)(33,"spk-form-field")(34,"label",34),S(35,10),o(),s(36,"input",35),o(),l(37,"spk-select-new",36),s(38,"input",37),o()(),l(39,"p"),w(40,11),s(41,"a",38),y(),o()(),l(42,"app-toggle-card",29),$(43,30),w(44,12),l(45,"spk-menu")(46,"button",39),s(47,"spk-icon"),o(),$(48,40),x(49,ze,3,1,"button",41,M),P(),o(),y(),P(),x(51,qe,1,7,"ng-container",null,M),o(),u(53,kt,15,2,"ng-template",null,0,oe),l(55,"div",42)(56,"button",43),A("click",function(){E(t);let _=r();return k(_.submit())}),w(57,13),s(58,"spk-icon"),y(),o()()()}if(n&2){let t,e=r();p("formGroup",e.baseCmdForm),a(),p("options",(t=e.commandOptions())!==null&&t!==void 0?t:te(12,Be))("inlineSearch",!0),a(14),p("formGroup",e.standardFields),a(9),p("disallowToggle",!0),a(4),D(e.standardFields.controls.filters.controls),a(2),p("formGroup",e.optionsForm),a(7),p("options",e.sizeOptions())("inlineSearch",!0),a(5),p("disallowToggle",!0),a(7),D(e.nonSelectedOptions()),a(2),D(e.selectedOptions()),a(5),W("loader",e.isSubmitting()),a(2),b(e.baseCmdForm.value.command),B(57)}}var T=new Ee,xt=["Bytes","KB","MB","GB","TB","PB"],K=class n{#e=I(U);#t=I(se);#n=I(me);#i=I(re);#o=I(_e);#a=R(this.#i.params);commandOptions=R(this.#o.getApiV1Commandline());sizeOptions=L(xt);isSubmitting=L(!1);standardFields=T.group({"backup-id":T.control(""),"backup-name":T.control(""),dbpath:T.control(""),filters:T.array([])});baseCmdForm=T.group({command:T.control("backup"),targetUrl:T.control(""),arguments:T.control("")});optionsForm=this.#e.optionsForm;selectedOptions=this.#e.selectedOptions;nonSelectedOptions=this.#e.nonSelectedOptions;finishedLoading=this.#e.finishedLoading;backupId=this.#e.backupId;#l=ae(()=>{let i=this.#a()?.id;this.#e.backupId.set(i),this.getBackup(i)});getBackup(i){this.#t.getApiV1BackupById({id:i}).subscribe({next:t=>{this.#e.mapScheduleToForm(t.Schedule??null),t.Backup&&(this.mapStandardFieldsToForm(t.Backup),this.mapBaseCmdToForm(t.Backup),this.#e.mapOptionsToForms(t.Backup)),this.#e.finishedLoading.set(!0)}})}mapStandardFieldsToForm(i){this.standardFields.patchValue({dbpath:i.DBPath,"backup-id":i.ID,"backup-name":i.Name}),i.Filters&&i.Filters.length&&i.Filters.map(t=>{this.standardFields.controls.filters.push(T.control(`${t.Include?"":"-"}${t.Expression}`))})}submit(){this.isSubmitting.set(!0);let i=this.baseCmdForm.value,t=this.optionsForm.value,e=i.targetUrl??"",_=i.arguments?.split(`
|
|
1
|
+
import{o as U}from"./chunk-MEFACGK4.js";import{a as Le}from"./chunk-DURFGYD7.js";import{a as be}from"./chunk-BRMUJELY.js";import"./chunk-DNHLTHLR.js";import{b as R}from"./chunk-PNJEVGID.js";import"./chunk-YOP6HOXH.js";import"./chunk-RTVM3BJK.js";import{a as he}from"./chunk-DL6QZSL6.js";import"./chunk-7LRQSKYZ.js";import"./chunk-L5D4JLN3.js";import"./chunk-W4MEGIZH.js";import"./chunk-AXHB6A4N.js";import{a as de,b as ce,d as ue,e as Ce,h as fe,i as Fe,k as ge,l as Ne,m as Te,o as Se,p as Ee,r as ke}from"./chunk-XKAASYKO.js";import"./chunk-MADB4EX7.js";import{a as _e,b as se}from"./chunk-PPRHD3ZV.js";import{a as re,c as me,d as pe}from"./chunk-LJ3ULEOG.js";import"./chunk-C5EHOW7U.js";import{a as Me,g as xe,i as De,k as Oe,l as Ae,n as Ie,o as $e,q as Pe,r as we,s as ye,x as ve,y as Ve}from"./chunk-6KER52JR.js";import"./chunk-MCLDJCPW.js";import{ia as le}from"./chunk-7IRVNC4S.js";import"./chunk-DNDOALN6.js";import{Ab as D,Bb as l,Cb as o,Db as s,Eb as $,Fb as P,Gb as Z,Hb as O,Nb as w,Nc as ae,Ob as y,Pb as S,Qb as b,Ra as a,Rb as B,Sb as J,Tb as A,Ub as r,Xb as N,Y as I,Yb as Q,Zb as d,da as E,ea as k,eb as j,fc as Y,gc as m,hc as G,ic as g,jb as u,rc as ee,sb as p,sc as te,tc as ne,ua as L,ub as W,uc as ie,xb as C,yb as M,zb as x,zc as oe}from"./chunk-2M52SFS6.js";import"./chunk-C6Q5SG76.js";var Be=()=>[],Ge=(n,i)=>({index:n,formView:i,formGroupName:"advancedOptions",destinationType:null,oauthField:null}),Re=n=>({$implicit:n});function Ue(n,i){n&1&&s(0,"spk-progress-bar",16)}function Ke(n,i){if(n&1&&(l(0,"spk-form-field"),s(1,"input",44),o()),n&2){let t=i.$implicit,e=i.$index;a(),Q("id","filter-",e,""),p("formControl",t)}}function ze(n,i){if(n&1){let t=O();w(0,12,1),l(1,"button",45,1),A("click",function(){let _=E(t).$implicit,f=r(2);return k(f.addNewOption(_))}),o(),y()}if(n&2){let t=i.$implicit;a(),b(t.name),B(0)}}function Xe(n,i){n&1&&Z(0)}function qe(n,i){if(n&1&&u(0,Xe,1,0,"ng-container",46),n&2){let t=i.$implicit,e=i.$index;r();let _=Y(54);p("ngTemplateOutlet",_)("ngTemplateOutletContext",ne(5,Re,ie(2,Ge,e,t)))}}function He(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function je(n,i){if(n&1&&(l(0,"app-file-tree",49)(1,"label",55),m(2),u(3,He,3,1,"spk-tooltip",56),o(),s(4,"input",57),o()),n&2){let t,e=r().$implicit,_=r(2);p("startingPath",_.getFormFieldValue(0,e.formGroupName,e.formView.name))("accepts",e.formView.accepts)("showFiles",!0)("showHiddenNodes",!0)("selectFiles",!0),a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name)}}function We(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function Ze(n,i){if(n&1&&(l(0,"app-file-tree",50)(1,"label",55),m(2),u(3,We,3,1,"spk-tooltip",56),o(),s(4,"input",57),o()),n&2){let t,e=r().$implicit,_=r(2);p("startingPath",_.getFormFieldValue(0,e.formGroupName,e.formView.name)),a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name)}}function Je(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function Qe(n,i){n&1&&(l(0,"spk-icon",58),m(1,"link"),o())}function Ye(n,i){n&1&&(l(0,"spk-icon",58),m(1,"textbox"),o())}function et(n,i){if(n&1&&(l(0,"spk-form-field")(1,"label",55),m(2),u(3,Je,3,1,"spk-tooltip",56),o(),s(4,"input",57),u(5,Qe,2,0,"spk-icon",58)(6,Ye,2,0,"spk-icon",58),o()),n&2){let t,e=r().$implicit;a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name),a(),C(e.formView.type==="Path"?5:6)}}function tt(n,i){if(n&1){let t=O();l(0,"span",62),A("click",function(){E(t);let _=r(2).$implicit,f=r(2);return k(f.oauthStartTokenCreation(_.formViewType))}),m(1,"AuthID"),o()}}function nt(n,i){n&1&&(l(0,"spk-icon",58),m(1,"password"),o())}function it(n,i){if(n&1){let t=O();l(0,"spk-icon",63),A("click",function(){E(t);let _=r(2).$implicit;return k(_.formView.showPassword=!_.formView.showPassword)}),m(1," eye "),o()}}function ot(n,i){if(n&1){let t=O();l(0,"spk-icon",63),A("click",function(){E(t);let _=r(2).$implicit;return k(_.formView.showPassword=!_.formView.showPassword)}),m(1," eye-slash "),o()}}function at(n,i){if(n&1&&(l(0,"spk-form-field")(1,"label",55),m(2),o(),s(3,"input",59),u(4,tt,2,0,"span",60)(5,nt,2,0,"spk-icon",58)(6,it,2,0,"spk-icon",61)(7,ot,2,0,"spk-icon",61),o()),n&2){let t,e=r().$implicit;a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name),p("type",e.formView.showPassword?"text":"password"),a(),C(e.oauthField===e.formView.name?4:5),a(2),C(e.formView.showPassword?6:7)}}function lt(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function rt(n,i){if(n&1&&(l(0,"spk-option",65),m(1),o()),n&2){let t=i.$implicit;p("value",t),a(),G(t)}}function mt(n,i){if(n&1&&(l(0,"spk-select")(1,"label",55),m(2),u(3,lt,3,1,"spk-tooltip",56),o(),s(4,"input",64),x(5,rt,2,2,"spk-option",65,M),o()),n&2){let t,e=r().$implicit;a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name),a(),D(e.formView.options)}}function pt(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function _t(n,i){if(n&1&&(l(0,"spk-option",65),m(1),o()),n&2){let t=i.$implicit;p("value",t),a(),G(t)}}function st(n,i){if(n&1&&(l(0,"div",51)(1,"label",55),m(2),u(3,pt,3,1,"spk-tooltip",56),o(),l(4,"div",66)(5,"spk-form-field"),s(6,"input",67),l(7,"spk-icon",58),m(8,"resize"),o()(),l(9,"spk-select"),s(10,"label")(11,"input",68),x(12,_t,2,2,"spk-option",65,M),o()()()),n&2){let t,e=r().$implicit,_=r(2);p("formGroupName",e.formView.name),a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(3),d("id","destination-",e.formGroupName,"-",e.index,""),a(6),D(_.sizeOptions())}}function dt(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function ct(n,i){if(n&1&&(l(0,"spk-form-field")(1,"label",55),m(2),u(3,dt,3,1,"spk-tooltip",56),o(),s(4,"input",69),l(5,"spk-icon",58),m(6,"numpad"),o()()),n&2){let t,e=r().$implicit;a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name)}}function ut(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function Ct(n,i){if(n&1&&(l(0,"spk-toggle",52)(1,"label",55),m(2),u(3,ut,3,1,"spk-tooltip",56),o(),s(4,"input",70),o()),n&2){let t,e=r().$implicit;a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name)}}function ft(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function Ft(n,i){n&1&&(l(0,"spk-option",72),m(1,"None"),o()),n&2&&p("value","None")}function gt(n,i){if(n&1&&(l(0,"spk-option",65),m(1),s(2,"spk-checkbox",73),o()),n&2){let t=r().$implicit;p("value",t),a(),g(" ",t," ")}}function Nt(n,i){if(n&1&&u(0,Ft,2,1,"spk-option",72)(1,gt,3,2,"spk-option",65),n&2){let t=i.$implicit;C(t==="None"?0:1)}}function Tt(n,i){if(n&1&&(l(0,"spk-select",53)(1,"label",55),m(2),u(3,ft,3,1,"spk-tooltip",56),o(),s(4,"input",71),x(5,Nt,2,1,null,null,M),o()),n&2){let t,e=r().$implicit;p("selectMultiple",!0),a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),N("formControlName",e.formView.name),a(),D(e.formView.options)}}function St(n,i){if(n&1&&(l(0,"spk-tooltip",56)(1,"spk-icon"),m(2,"question"),o()()),n&2){let t=r(2).$implicit;p("message",t.formView.longDescription)}}function Et(n,i){if(n&1&&(l(0,"spk-form-field")(1,"label",55),m(2),u(3,St,3,1,"spk-tooltip",56),o(),s(4,"input",57),o()),n&2){let t,e=r().$implicit;a(),d("for","destination-",e.formGroupName,"-",e.index,""),a(),g(" ",(t=e.formView.shortDescription)!==null&&t!==void 0?t:e.formView.name," "),a(),C(e.formView.longDescription?3:-1),a(),d("id","destination-",e.formGroupName,"-",e.index,""),N("formControlName",e.formView.name)}}function kt(n,i){if(n&1){let t=O();l(0,"div",47),$(1,48),u(2,je,5,14,"app-file-tree",49)(3,Ze,5,10,"app-file-tree",50)(4,et,7,10,"spk-form-field")(5,at,8,11,"spk-form-field")(6,mt,7,9,"spk-select")(7,st,14,9,"div",51)(8,ct,7,9,"spk-form-field")(9,Ct,5,9,"spk-toggle",52)(10,Tt,7,7,"spk-select",53)(11,Et,5,9,"spk-form-field"),P(),l(12,"button",54),A("click",function(){let _=E(t).$implicit,f=r(2);return k(f.removeFormView(_.formView,0))}),l(13,"spk-icon"),m(14,"x-circle"),o()()()}if(n&2){let t=i.$implicit;a(),p("formGroupName",t.formGroupName),a(),C(t.formView.type==="FileTree"?2:t.formView.type==="FolderTree"?3:t.formView.type==="String"||t.formView.type==="Path"?4:t.formView.type==="Password"?5:t.formView.type==="Enumeration"?6:t.formView.type==="Size"?7:t.formView.type==="Integer"?8:t.formView.type==="Boolean"?9:t.formView.type==="Flags"?10:t.formView.type==="Timespan"?11:-1)}}function Mt(n,i){if(n&1){let t=O();l(0,"form",17)(1,"spk-select-new",18)(2,"label",19),S(3,3),o(),s(4,"input",20),o(),l(5,"spk-form-field")(6,"label",21),S(7,4),o(),s(8,"textarea",22),o(),l(9,"spk-form-field")(10,"label",23),S(11,5),o(),s(12,"textarea",24),o()(),l(13,"spk-divider"),S(14,6),o(),l(15,"form",17)(16,"spk-form-field")(17,"label",25),S(18,7),o(),s(19,"input",26),o(),l(20,"spk-form-field")(21,"label",27),S(22,8),o(),s(23,"input",28),o(),l(24,"app-toggle-card",29),$(25,30),S(26,9),P(),$(27,31),x(28,Ke,2,3,"spk-form-field",null,M),P(),o()(),l(30,"form",17)(31,"div",32)(32,"div",33)(33,"spk-form-field")(34,"label",34),S(35,10),o(),s(36,"input",35),o(),l(37,"spk-select-new",36),s(38,"input",37),o()(),l(39,"p"),w(40,11),s(41,"a",38),y(),o()(),l(42,"app-toggle-card",29),$(43,30),w(44,12),l(45,"spk-menu")(46,"button",39),s(47,"spk-icon"),o(),$(48,40),x(49,ze,3,1,"button",41,M),P(),o(),y(),P(),x(51,qe,1,7,"ng-container",null,M),o(),u(53,kt,15,2,"ng-template",null,0,oe),l(55,"div",42)(56,"button",43),A("click",function(){E(t);let _=r();return k(_.submit())}),w(57,13),s(58,"spk-icon"),y(),o()()()}if(n&2){let t,e=r();p("formGroup",e.baseCmdForm),a(),p("options",(t=e.commandOptions())!==null&&t!==void 0?t:te(12,Be))("inlineSearch",!0),a(14),p("formGroup",e.standardFields),a(9),p("disallowToggle",!0),a(4),D(e.standardFields.controls.filters.controls),a(2),p("formGroup",e.optionsForm),a(7),p("options",e.sizeOptions())("inlineSearch",!0),a(5),p("disallowToggle",!0),a(7),D(e.nonSelectedOptions()),a(2),D(e.selectedOptions()),a(5),W("loader",e.isSubmitting()),a(2),b(e.baseCmdForm.value.command),B(57)}}var T=new Ee,xt=["Bytes","KB","MB","GB","TB","PB"],K=class n{#e=I(U);#t=I(se);#n=I(me);#i=I(re);#o=I(_e);#a=R(this.#i.params);commandOptions=R(this.#o.getApiV1Commandline());sizeOptions=L(xt);isSubmitting=L(!1);standardFields=T.group({"backup-id":T.control(""),"backup-name":T.control(""),dbpath:T.control(""),filters:T.array([])});baseCmdForm=T.group({command:T.control("backup"),targetUrl:T.control(""),arguments:T.control("")});optionsForm=this.#e.optionsForm;selectedOptions=this.#e.selectedOptions;nonSelectedOptions=this.#e.nonSelectedOptions;finishedLoading=this.#e.finishedLoading;backupId=this.#e.backupId;#l=ae(()=>{let i=this.#a()?.id;this.#e.backupId.set(i),this.getBackup(i)});getBackup(i){this.#t.getApiV1BackupById({id:i}).subscribe({next:t=>{this.#e.mapScheduleToForm(t.Schedule??null),t.Backup&&(this.mapStandardFieldsToForm(t.Backup),this.mapBaseCmdToForm(t.Backup),this.#e.mapOptionsToForms(t.Backup)),this.#e.finishedLoading.set(!0)}})}mapStandardFieldsToForm(i){this.standardFields.patchValue({dbpath:i.DBPath,"backup-id":i.ID,"backup-name":i.Name}),i.Filters&&i.Filters.length&&i.Filters.map(t=>{this.standardFields.controls.filters.push(T.control(`${t.Include?"":"-"}${t.Expression}`))})}submit(){this.isSubmitting.set(!0);let i=this.baseCmdForm.value,t=this.optionsForm.value,e=i.targetUrl??"",_=i.arguments?.split(`
|
|
2
2
|
`)??[],f=this.standardFields.value,v=f.filters??[],V=[i.command,e,..._,`--backup-name=${f["backup-name"]}`,`--dbpath=${f.dbpath}`,`--backup-id=${f["backup-id"]}`,...v.filter(c=>c).map(c=>c.startsWith("-")?`--exclude=${c?.slice(1)}`:`--include=${c}`),...this.#e.mapFormsToSettings().map(c=>c.Name.startsWith("--")?`${c.Name}=${c.Value}`:`--${c.Name}=${c.Value}`),"--disable-module=console-password-input"];this.#t.postApiV1Commandline({requestBody:V}).subscribe(c=>{c.Status==="OK"&&this.#n.navigate(["backup",this.backupId(),"commandline",c.ID])})}mapBaseCmdToForm(i){let t=i.TargetURL??null;t&&this.baseCmdForm.patchValue({targetUrl:t??"",arguments:i.Sources?.join(`
|
|
3
|
-
`)??""})}oauthStartTokenCreation(i){}getFormFieldValue(i,t,e){return this.optionsForm.controls.advancedOptions.controls[e].value}removeFormView(i,t){this.#e.removeOptionFromFormGroup(i)}addNewOption(i){
|
|
3
|
+
`)??""})}oauthStartTokenCreation(i){}getFormFieldValue(i,t,e){return this.optionsForm.controls.advancedOptions.controls[e].value}removeFormView(i,t){this.#e.removeOptionFromFormGroup(i)}addNewOption(i){this.#e.addOptionToFormGroup(i)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=j({type:n,selectors:[["app-commandline"]],features:[ee([U])],decls:8,vars:1,consts:()=>{let i;i=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SPK_ICON:arrow-left${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SPK_ICON: Back `;let t;t=$localize`Select an option...`;let e;e=$localize`Command`;let _;_=$localize`TargetUrl`;let f;f=$localize`Commandline Arguments`;let v;v=$localize`Advanced options`;let V;V=$localize`Backup ID`;let c;c=$localize`Backup Name`;let z;z=$localize`Filters`;let X;X=$localize`Remote volume size`;let q;q=$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#41\uFFFD"}:START_LINK:Read more${"\uFFFD/#41\uFFFD"}:CLOSE_LINK:`;let h;h=$localize` Advanced options ${"\uFFFD#45\uFFFD"}:START_TAG_SPK_MENU:${"\uFFFD#46\uFFFD"}:START_TAG_BUTTON: Add advanced option ${"\uFFFD#47\uFFFD"}:START_TAG_SPK_ICON:plus${"\uFFFD/#47\uFFFD"}:CLOSE_TAG_SPK_ICON:${"[\uFFFD/#46\uFFFD|\uFFFD/#1:1\uFFFD]"}:CLOSE_TAG_BUTTON:${"\uFFFD#48\uFFFD"}:START_TAG_NG_CONTAINER:${"\uFFFD*50:1\uFFFD"}:START_BLOCK_FOR:${"\uFFFD#1:1\uFFFD"}:START_TAG_BUTTON_1:${"\uFFFD0:1\uFFFD"}:INTERPOLATION:${"[\uFFFD/#46\uFFFD|\uFFFD/#1:1\uFFFD]"}:CLOSE_TAG_BUTTON:${"\uFFFD/*50:1\uFFFD"}:CLOSE_BLOCK_FOR:${"\uFFFD/#48\uFFFD"}:CLOSE_TAG_NG_CONTAINER:${"\uFFFD/#45\uFFFD"}:CLOSE_TAG_SPK_MENU:`,h=J(h);let H;return H=$localize`${"\uFFFD#58\uFFFD"}:START_TAG_SPK_ICON:arrow-right${"\uFFFD/#58\uFFFD"}:CLOSE_TAG_SPK_ICON: Run "${"\uFFFD0\uFFFD"}:INTERPOLATION:" command now `,[["fieldTemplate",""],["option",""],i,e,_,f,v,V,c,z,X,q,h,H,[1,"back"],["type","button","spk-button","","routerLink","/",1,"small"],[1,"indeterminate","primary"],[3,"formGroup"],["placeholder","Select a command...",3,"options","inlineSearch"],["for","command"],["type","text","id","command","formControlName","command"],["for","targetUrl"],["id","targetUrl","autocomplete","off","formControlName","targetUrl"],["for","arguments"],["id","arguments","autocomplete","off","formControlName","arguments"],["for","backup-id"],["id","backup-id","formControlName","backup-id"],["for","backup-name"],["id","backup-name","formControlName","backup-name"],[3,"disallowToggle"],["title",""],["content","","formGroupName","filters"],[1,"remote-volume-wrap"],["formGroupName","remoteVolumeSize",1,"row-inputs"],["for","size"],["type","number","id","size","formControlName","size"],["placeholder",t,3,"options","inlineSearch"],["type","text","formControlName","unit"],["href","#",1,"spk-primary"],["spk-button","","type","button",1,"outlined","small"],["menu",""],["type","button"],[1,"form-actions"],["spk-button","",1,"raised","primary",3,"click"],[3,"id","formControl"],["type","button",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"field-row"],[3,"formGroupName"],[3,"startingPath","accepts","showFiles","showHiddenNodes","selectFiles"],[3,"startingPath"],[1,"form-column",3,"formGroupName"],[1,"primary","raised"],[1,"primary",3,"selectMultiple"],["spk-button","","type","button",1,"outlined",3,"click"],[3,"for"],[1,"primary",3,"message"],["type","text",3,"id","formControlName"],["prefix",""],["autocomplete","off",3,"type","id","formControlName"],["prefix","",1,"link"],["suffix","",1,"clickable"],["prefix","",1,"link",3,"click"],["suffix","",1,"clickable",3,"click"],["type","search",3,"id","formControlName"],[3,"value"],[1,"form-row"],["type","number","formControlName","size",3,"id"],["type","search","formControlName","unit"],["type","number",3,"id","formControlName"],["type","checkbox",3,"id","formControlName"],["type","text","id","text",3,"formControlName"],["deselect","",3,"value"],[1,"raised","primary"]]},template:function(t,e){t&1&&(s(0,"app-status-bar"),l(1,"section")(2,"div",14)(3,"button",15),w(4,2),s(5,"spk-icon"),y(),o()(),u(6,Ue,1,0,"spk-progress-bar",16)(7,Mt,59,13),o()),t&2&&(a(6),C(e.finishedLoading()?7:6))},dependencies:[he,Le,be,ke,fe,ce,Fe,de,ue,Ce,ge,Ne,Se,Te,le,pe,Ae,Ie,xe,ye,ve,we,Oe,Ve,Pe,$e,De,Me],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;max-width:40rem;padding:2.5rem;gap:1.25rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}.form-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.form-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.form-column[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem}.form-column[_ngcontent-%COMP%] spk-icon[_ngcontent-%COMP%]{font-size:1rem}.row-inputs[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:.5rem}.row-inputs[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0}.remote-volume-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.field-row[_ngcontent-%COMP%]{display:grid;align-items:flex-end;grid-template-columns:1fr 2.5rem;gap:.5rem}.form-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:3fr 1fr;gap:.5rem;align-items:flex-end}"],changeDetection:0})};export{K as default};
|