@duplicati/ngclient 0.0.28 → 0.0.30
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/assets/spk.woff2 +0 -0
- package/{chunk-LUAN4O53.js → chunk-2E5G54LG.js} +1 -1
- package/{chunk-6TFXXYVK.js → chunk-2VFGTKQ3.js} +1 -1
- package/chunk-3TOIJ5WO.js +2 -0
- package/chunk-4MFVXV2P.js +1 -0
- package/chunk-53HMBWP5.js +2 -0
- package/chunk-6RDPRL5W.js +7 -0
- package/{chunk-UMY3Y7LR.js → chunk-7ORKNESW.js} +1 -1
- package/{chunk-UPIWGO32.js → chunk-AALCXW7G.js} +1 -1
- package/{chunk-5X5UJ7CP.js → chunk-BDZSXP7I.js} +1 -1
- package/{chunk-WV3AOW4R.js → chunk-COO43JXP.js} +1 -1
- package/{chunk-B7SRENJI.js → chunk-DUQTXUOP.js} +1 -1
- package/{chunk-2PUTRWRI.js → chunk-FDJMCHX2.js} +1 -1
- package/{chunk-DESW2TCQ.js → chunk-FL23VQIJ.js} +1 -1
- package/{chunk-47O5BYLZ.js → chunk-GE6ONX6N.js} +1 -1
- package/{chunk-HH2EA6LF.js → chunk-H4PL4MX5.js} +1 -1
- package/{chunk-VAAI6C2V.js → chunk-HEQYI7XZ.js} +1 -1
- package/chunk-HIVOGYJW.js +1 -0
- package/chunk-IDL47L54.js +1 -0
- package/chunk-IVCLLJMP.js +1 -0
- package/chunk-K3Y54FPO.js +1 -0
- package/chunk-LDUHEMHJ.js +1 -0
- package/{chunk-ZAREJJZA.js → chunk-M6JAWID7.js} +1 -1
- package/chunk-MACZO675.js +1 -0
- package/{chunk-GAJ43GZE.js → chunk-MULBVD44.js} +1 -1
- package/{chunk-AIQQJSGP.js → chunk-N3IZHBC5.js} +1 -1
- package/{chunk-RMZR2OAY.js → chunk-NJIDVAUK.js} +1 -1
- package/{chunk-GBWXFIBZ.js → chunk-NKKY2IML.js} +1 -1
- package/{chunk-MFLGWG77.js → chunk-OL3XQXPO.js} +1 -1
- package/chunk-OOBDPKP5.js +1 -0
- package/{chunk-TLFDZKKI.js → chunk-PT7ISA6M.js} +1 -1
- package/chunk-PV7FMVA7.js +1 -0
- package/{chunk-BVTTY2FQ.js → chunk-QAOE722P.js} +1 -1
- package/chunk-QLL2CMCZ.js +1 -0
- package/{chunk-2SYB6ABM.js → chunk-QXWUZ7QN.js} +1 -1
- package/{chunk-C5O62M3L.js → chunk-R4XFPOM7.js} +1 -1
- package/{chunk-3EBWYIH7.js → chunk-RB7TVPQZ.js} +1 -1
- package/{chunk-BR45PK72.js → chunk-RENJEXE5.js} +1 -1
- package/{chunk-4Y76KESB.js → chunk-RFOUEAO7.js} +1 -1
- package/{chunk-YDJZQ6GS.js → chunk-SLC2RVWO.js} +1 -1
- package/{chunk-57W6Z6XZ.js → chunk-TTHH64Z5.js} +1 -1
- package/chunk-UROUYC5A.js +1 -0
- package/chunk-V2FTYSCJ.js +1 -0
- package/{chunk-PD6257G7.js → chunk-VN5Y4LY2.js} +1 -1
- package/{chunk-ZVT4YXH5.js → chunk-WFFR6X5F.js} +1 -1
- package/{chunk-L7M2MTRL.js → chunk-WMMDCNQV.js} +1 -1
- package/{chunk-4SJ35CHE.js → chunk-X7IF472Q.js} +1 -1
- package/chunk-XYLW6QJG.js +1 -0
- package/{chunk-T6ENXWPD.js → chunk-Y33NQYRN.js} +1 -1
- package/chunk-YBKFPTAU.js +1 -0
- package/chunk-ZJNMXPO2.js +1 -0
- package/index.html +3 -3
- package/locale/messages.de-DE.json +11 -0
- package/locale/messages.fr-FR.json +11 -0
- package/locale/messages.json +11 -0
- package/main-RUKECFB7.js +2 -0
- package/package.json +1 -1
- package/polyfills-DUGKNACR.js +1 -0
- package/styles-CLP6NP2M.css +1 -0
- package/chunk-C4S5PKAB.js +0 -1
- package/chunk-CGWELGPM.js +0 -1
- package/chunk-DOGZZDWG.js +0 -1
- package/chunk-EPVXOSHI.js +0 -1
- package/chunk-FAAAWY76.js +0 -1
- package/chunk-MHCUWVA2.js +0 -1
- package/chunk-P7LAQN3J.js +0 -1
- package/chunk-QL753AWG.js +0 -1
- package/chunk-QNP3LI3Y.js +0 -1
- package/chunk-RJDP2FPE.js +0 -7
- package/chunk-RONXYSR4.js +0 -1
- package/chunk-SDVRKDZS.js +0 -1
- package/chunk-UGZKHGQT.js +0 -1
- package/chunk-UVZO552H.js +0 -1
- package/chunk-VJACGH6X.js +0 -1
- package/chunk-ZAVS5NW7.js +0 -1
- package/main-YA4MEBAC.js +0 -1
- package/styles-QLKBXZ7T.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as ce}from"./chunk-TLFDZKKI.js";import{s as de}from"./chunk-6TFXXYVK.js";import{a as ae}from"./chunk-BVTTY2FQ.js";import{a as j,f as pe,k as ue,l as he,n as ge,t as me}from"./chunk-QL753AWG.js";import{ia as le}from"./chunk-DESW2TCQ.js";import{$b as Q,Ab as b,Cb as te,Db as ne,Dc as A,E as R,Eb as p,Fb as u,Fc as N,Gb as ie,Jb as K,Kb as B,Qb as M,Ra as g,Rb as h,Sb as I,Tb as y,X as L,Za as E,_a as G,ab as Z,ac as oe,bc as U,cc as C,ea as S,ec as z,fa as F,fb as W,lb as x,lc as D,mc as re,qa as $,ra as _,rc as se,v as Y,vb as q,wb as ee,xb as P}from"./chunk-RJDP2FPE.js";import{a as V,b as H}from"./chunk-7CGTOI24.js";var be=["treeContainer"],Te=["formRef"],ye=[[["label"]],[["label"]],[["input"]]],we=["label","label","input"],Ee=(i,t)=>t.id,Me=i=>({children:i,level:0}),fe=i=>({$implicit:i}),ke=(i,t)=>({children:i,level:t});function Oe(i,t){if(i&1){let e=B();p(0,"spk-button-group")(1,"button",10),M("click",function(){S(e);let s=h();return F(s.pathDiscoveryMethod.set("browse"))}),C(2," Browser path "),u(),p(3,"button",10),M("click",function(){S(e);let s=h();return F(s.pathDiscoveryMethod.set("path"))}),C(4," Manually type path "),u()()}if(i&2){let e=h();g(),P("active",e.pathDiscoveryMethod()==="browse"),g(2),P("active",e.pathDiscoveryMethod()==="path")}}function Se(i,t){i&1&&ie(0,"spk-progress-bar",6)}function Fe(i,t){i&1&&(p(0,"spk-icon",13),C(1,"folder-open"),u())}function Ne(i,t){i&1&&(p(0,"spk-icon"),C(1,"file"),u())}function We(i,t){i&1&&(p(0,"spk-icon",13),C(1,"folder"),u())}function Be(i,t){if(i&1&&x(0,Fe,2,0,"spk-icon",13)(1,Ne,2,0,"spk-icon")(2,We,2,0,"spk-icon",13),i&2){let e=h(2).$implicit;b(e.children.length?0:e.cls==="file"?1:2)}}function Ie(i,t){i&1&&(p(0,"spk-icon",13),C(1,"desktop-tower"),u())}function De(i,t){i&1&&K(0)}function Ae(i,t){if(i&1&&x(0,De,1,0,"ng-container",7),i&2){let e=h(2).$implicit,n=h().$implicit;h();let s=U(7);q("ngTemplateOutlet",s)("ngTemplateOutletContext",D(5,fe,re(2,ke,e.children,n.level+1)))}}function je(i,t){if(i&1){let e=B();p(0,"div",11,3),M("click",function(){S(e);let s=h().$implicit,o=h(2);return F(o.toggleNode(s.id,s))}),p(2,"div",12),x(3,Be,3,1)(4,Ie,2,0,"spk-icon",13),u(),p(5,"div",14),M("click",function(s){S(e);let o=h().$implicit,r=h(2);return F(r.toggleSelectedNode(s,o))}),C(6),u()(),x(7,Ae,1,7,"ng-container")}if(i&2){let e=h().$implicit,n=h(2);P("accepted",e.accepted===!0)("active",e.evalState===n.TreeEvalEnum.Included)("indeterminate",e.isIndeterminate)("open",e.children.length)("usually-hidden",e.hidden),g(3),b(e.id!=="/"?3:4),g(3),z(" ",e.text," "),g(),b(e.children.length>0?7:-1)}}function Ve(i,t){if(i&1&&x(0,je,8,13),i&2){let e=t.$implicit,n=h(2);b(e.hidden&&n._showHiddenNodes()||!e.hidden?0:-1)}}function He(i,t){if(i&1&&(p(0,"spk-list"),te(1,Ve,1,1,null,null,Ee),u()),i&2){let e=t.$implicit;ee("padding-left",e.level*.5,"rem"),g(),ne(e.children)}}function Re(i,t){i&1&&K(0)}function Le(i,t){if(i&1){let e=B();p(0,"spk-toggle",15),M("click",function(){S(e);let s=h();return F(s._showHiddenNodes.set(!s._showHiddenNodes()))}),C(1),u()}if(i&2){let e=h();P("active",e._showHiddenNodes()),g(),z(" Show hidden ",e.showFiles()?"files":"folders"," ")}}var _e=(o=>(o[o.ExcludedByParent=-2]="ExcludedByParent",o[o.Excluded=-1]="Excluded",o[o.None=0]="None",o[o.Included=1]="Included",o[o.IncludedByParent=2]="IncludedByParent",o))(_e||{}),J=class i{#t=L(ae);#r=L(ce);multiSelect=_(!1);disabled=_(!1);showFiles=_(!1);selectFiles=_(!1);accepts=_(null);startingPath=_(null);rootPath=_(void 0);backupSettings=_(null);showHiddenNodes=_(!1);includes=$();excludes=$();_showHiddenNodes=E(!1);treeContainerRef=G("treeContainer");formRef=G("formRef");pathDiscoveryMethod=E("browse");isLoading=E(!1);currentPath=E("/");#e=E(null);treeSearchQuery=E("");treeNodes=E([]);filterGroups=this.#r.filterGroups();isByBackupSettings=A(()=>this.rootPath()&&this.backupSettings()?.id&&this.backupSettings()?.time);searchableTreeNodes=A(()=>{let t=this.treeSearchQuery();return t?this.treeNodes().filter(e=>e.text?.toLowerCase().includes(t.toLowerCase())):this.treeNodes()});TreeEvalEnum=_e;treeStructure=A(()=>{let t=this.showHiddenNodes(),e=this.currentPath().split("\0").filter(a=>a!==""&&a!=="/"),n=structuredClone(e);for(let a=0;a<n.length;a++){let m=n[a].slice(1);if(m.startsWith("{")&&m.endsWith("}")){let f=m.slice(1,-1),d=this.filterGroups?.FilterGroups[f];if(d&&d.length){let w=d.map(T=>`-${T}`);n.splice(a,1,...w)}}}let s=this.searchableTreeNodes(),o=new Map,r=this.rootPath(),v=this.accepts(),l=r?{id:r,resolvedpath:r,text:r?.replaceAll("/",""),parentPath:"",children:[],evalState:0,isIndeterminate:!1,cls:"folder"}:{id:"/",resolvedpath:"/",text:"Computer",parentPath:"",children:[],evalState:0,isIndeterminate:!1};v&&(l.accepted=!0),o.set("/",l);for(let a of s){let m=a.id.replace(r??"","").split("/").filter(Boolean),f="",d=l;for(let w of m){if(f+="/"+w,!o.has(f)){let T=a.hidden===!0&&t?0:this.#s(n,a.id,a.cls,d),k={id:a.id,isIndeterminate:this.isIndeterminate(n,a.id),evalState:T,parentPath:f,resolvedpath:a.id?.startsWith("%")?a.resolvedpath+"/":f,hidden:a.hidden,text:a.text,cls:a.cls,children:[]};v&&(k.accepted=this.matchAccepts(v,k)),o.set(f,k),d.children.push(k)}d=o.get(f)}}return[l]});#s(t,e,n,s){if(s.evalState===-1)return-2;let o=0,r=t.filter(l=>!l.startsWith("-")&&!l.startsWith("+")),v=t.filter(l=>l.startsWith("-")||l.startsWith("+"));if(r.length===0)return o;for(let l=0;l<r.length;l++){let a=r[l];if(e?.startsWith(a)){o=1;break}}if(v.length===0)return o;for(let l=0;l<v.length;l++){let a=v[l],c=a.slice(1),m=a.startsWith("-")?"exclude":"include";if(c.startsWith("/")&&c.endsWith("/")){if(n!=="folder")continue;if(e===c){o=m==="include"?1:-1;break}}if(c.startsWith("*")&&c.endsWith("*/")){if(n!=="folder")continue;let d=c.slice(1,-2);if(d==="")break;if(e?.includes(d+"/")){o=m==="include"?1:-1;break}}if(c.startsWith("[.*")&&c.endsWith("[^\\/]*]")){if(n!=="file")continue;let d=c.slice(3,-7);if(new RegExp(d).test(e)){o=m==="include"?1:-1;break}}if(c.startsWith("[")&&c.endsWith("]")){let d=c.slice(1,-1),w=this.translateCSharpRegex(d);if(new RegExp(`${w}`).test(e)){o=m==="include"?1:-1;break}}if(c.startsWith("*.")){if(n!=="file"||c.replace("*.","").length===0)continue;if(this.#n(e,c,!0)){o=m==="include"?1:-1;break}}if(c==="")continue;if(this.#n(e,c,!0)){o=m==="include"?1:-1;break}}return o}translateCSharpRegex(t){let e=t;e=e.replace(/^@/,"");let n=/\(\?<(?<name>\w+)>(?<pattern>[^)]+)\)/g;return e=e.replace(n,(s,o,r)=>`(${r})`),e=e.replace(/\\/g,"\\\\"),e}isIndeterminate(t,e){return t.some(n=>n.startsWith(e))}#n(t,e,n=!1){let s=e.replace(/\*/g,".*").replace(/\?/g,".").replace(/\[!([^\]]+)\]/g,"[^$1]");return new RegExp(`${s}${n?"$":""}`).test(t)}showHiddenNodesEffect=N(()=>this._showHiddenNodes.set(this.showHiddenNodes()));pathDiscoveryMethodEffect=N(()=>{let t=this.pathDiscoveryMethod(),e=this.#e();t==="browse"&&e&&this.currentPath.set(e.value)});matchAccepts(t,e){if(!t||e.cls==="folder"||e.id==="/")return!0;let n=t.split(",");if(n.length===0)return!0;let s="."+e.id.slice(e.id.indexOf("."));return s?n.some(o=>s.endsWith(o)):!1}currentPathEffect=N(()=>{let t=this.#e();t&&(t.value=this.currentPath(),t.dispatchEvent(new Event("input")))});inputValueChangeAbortController=null;inputRefEffect=N(()=>{let t=this.formRef()?.nativeElement?.querySelector("input");t&&(this.#l(t),this.inputValueChangeAbortController&&this.inputValueChangeAbortController.abort(),this.inputValueChangeAbortController=new AbortController,t.addEventListener("inputValueChanged",e=>{this.currentPath.set(e.detail.value)},{signal:this.inputValueChangeAbortController.signal}),this.#e.set(t),t.autocomplete="off")});ngOnInit(){let t=this.startingPath();t?(this.currentPath.set(t),this.#d(t)):this.#o(null,this.rootPath())}toggleSelectedNode(t,e){if(e.id==="/"||(t.stopPropagation(),e.evalState===-2))return;if(this.selectFiles()&&e.cls==="folder"){this.toggleNode(e.id,e);return}if(this.accepts()&&!e.accepted)return;let s=this.currentPath().split("\0").filter(r=>r!==""&&r!=="/"),o=this.isChildOfSelected(e)?`-${e.id}`:e.id;this.multiSelect()?s.includes(e.id)?this.currentPath.set(s.filter(r=>r!==e.id).join("\0")):s.some(r=>r.startsWith(o))?this.currentPath.set(s.filter(r=>r!==o).join("\0")):this.currentPath.set([...s,o].join("\0")):s.includes(e.id)?this.currentPath.set(s.filter(r=>r!==e.id).join("\0")):this.currentPath.set(e.id)}isChildOfSelected(t){return this.currentPath().split("\0").filter(n=>n!==""&&n!=="/").some(n=>t.id?.startsWith(n)||`-${t.id}`.startsWith(n))}toggleNode(t,e=null){e?.cls==="folder"&&(e?.children.length?this.treeNodes.update(n=>n.filter(s=>!s.id?.startsWith(e.id)||s.id===e.id)):this.#o(e,t))}#l(t){return Object.defineProperty(t,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").get.call(this)},set(e){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").set.call(this,e),this.dispatchEvent(new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:e}})),e}}),t}#a(t){return this.#t.postApiV1Filesystem({showHidden:!0,requestBody:{path:t},onlyFolders:!this.showFiles()})}#c(t){let e=this.backupSettings(),n={id:e.id,time:e.time,prefixOnly:!1,folderContents:!0};return t&&(n.filter="@"+t),this.#t.getApiV1BackupByIdFiles(n)}#i(t){return this.isByBackupSettings()?this.#c(t):this.#a(t)}#d(t){let e=t.split("\0").filter(r=>r.startsWith("-")).map(r=>r.slice(1,-1)),n=t.split("\0").filter(r=>!r.startsWith("-")).filter(Boolean),s=n.map(r=>r.split("/").filter(Boolean)),o=[this.rootPath()??"/"];s.forEach(r=>{r.forEach((v,l)=>{let a=r.slice(0,l+1).join("/"),c=a.startsWith("%")?a:"/"+a;o.includes(c)||o.push(c)})}),this.isLoading.set(!0),Y([...o.map(r=>this.#i(r))]).pipe(R(()=>this.isLoading.set(!1))).subscribe({next:r=>{this.treeNodes.update(v=>{let l=r.flatMap(c=>c.map(m=>{let f=m.id,d=f&&f.split("/").filter(Boolean).slice(0,-1).join("/"),T="/"+(f&&f.split("/").filter(Boolean).join("/")),k=n.findIndex(O=>this.multiSelect()?T.startsWith(O):T===O)>-1,Ce=n.findIndex(O=>O===f)>-1,ve=e.findIndex(O=>O===T)>-1;return H(V({},m),{parentPath:d.startsWith("%")?d:"/"+d,isSelected:k&&!ve||Ce})}));return[...new Map([...v,...l].map(c=>[c.resolvedpath??c.id,c])).values()]})}})}#o(t=null,e="/"){this.isLoading.set(!0),this.#i(e).pipe(R(()=>this.isLoading.set(!1))).subscribe({next:n=>{let s=this.isByBackupSettings()?n.Files.map(o=>({text:o.Path.split("/").filter(r=>r!=="").pop(),id:o.Path,cls:o.Path.endsWith("/")?"folder":"file",leaf:t!==null,resolvedpath:o.Path,hidden:!1})):n;this.treeNodes.update(o=>{let r=s.map(l=>{let a=l.id.startsWith("%")&&l.id.endsWith("%")||l.id.endsWith("/")?"folder":"file";return H(V({},l),{cls:a,parentPath:e})});return[...new Map([...o,...r].map(l=>[l.resolvedpath??l.id,l])).values()]})}})}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=W({type:i,selectors:[["app-file-tree"]],viewQuery:function(e,n){e&1&&(Q(n.treeContainerRef,be,5),Q(n.formRef,Te,5)),e&2&&oe(2)},hostVars:2,hostBindings:function(e,n){e&2&&P("disabled",n.disabled())},inputs:{multiSelect:[1,"multiSelect"],disabled:[1,"disabled"],showFiles:[1,"showFiles"],selectFiles:[1,"selectFiles"],accepts:[1,"accepts"],startingPath:[1,"startingPath"],rootPath:[1,"rootPath"],backupSettings:[1,"backupSettings"],showHiddenNodes:[1,"showHiddenNodes"]},outputs:{includes:"includes",excludes:"excludes"},ngContentSelectors:we,decls:15,vars:15,consts:[["treeContainer",""],["recursiveTree",""],["formRef",""],["treeNode",""],[1,"section"],[1,"browse-files"],[1,"indeterminate","primary"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"primary","raised","browse-files-toggle",3,"active"],[1,"form-field"],["type","button",3,"click"],["action","",3,"click"],[1,"icon"],[1,"spk-primary"],[1,"text",3,"click"],[1,"primary","raised","browse-files-toggle",3,"click"]],template:function(e,n){if(e&1&&(I(ye),x(0,Oe,5,4,"spk-button-group"),p(1,"div",4),y(2,0,["ngProjectAs","label",5,["label"]]),p(3,"div",5,0),x(5,Se,1,0,"spk-progress-bar",6)(6,He,3,2,"ng-template",null,1,se)(8,Re,1,0,"ng-container",7),u(),x(9,Le,2,3,"spk-toggle",8),u(),p(10,"div",9,2)(12,"spk-form-field"),y(13,1,["ngProjectAs","label",5,["label"]]),y(14,2,["ngProjectAs","input",5,["input"]]),u()()),e&2){let s=U(7);b(n.multiSelect()?-1:0),g(),P("hidden",n.pathDiscoveryMethod()!=="browse"),g(2),P("visualize-accepted",n.accepts()),g(2),b(n.isLoading()?5:-1),g(3),q("ngTemplateOutlet",s)("ngTemplateOutletContext",D(13,fe,D(11,Me,n.treeStructure()))),g(),b(n.accepts()?-1:9),g(),P("hidden",n.pathDiscoveryMethod()!=="path")}},dependencies:[pe,me,j,ue,he,ge,le,de],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1rem}.disabled[_nghost-%COMP%]{opacity:.5;-webkit-user-select:none;user-select:none;pointer-events:none;position:relative}.disabled[_nghost-%COMP%]:before{content:"";position:absolute;inset:0;background:transparent}.fill[_nghost-%COMP%]{height:auto;overflow:hidden;flex:1 0}.fill[_nghost-%COMP%] .section[_ngcontent-%COMP%]{height:auto;overflow:hidden;flex:1 0;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"label toggle" "tree tree"}.fill[_nghost-%COMP%] .browse-files[_ngcontent-%COMP%]{resize:none;height:initial;grid-area:tree}.fill[_nghost-%COMP%] label[_ngcontent-%COMP%]{grid-area:label}.fill[_nghost-%COMP%] spk-toggle[_ngcontent-%COMP%]{grid-area:toggle;flex-direction:row-reverse}.section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.form-field.hidden[_ngcontent-%COMP%]{display:none}.browse-files[_ngcontent-%COMP%]{display:flex;gap:.5rem;padding:.5rem 1rem;height:12.5rem;border:1px solid var(--base-level-40);border-radius:var(--shape-3);overflow:auto;resize:vertical;background:var(--base-level-10);position:relative}.browse-files[_ngcontent-%COMP%] spk-progress-bar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0}.browse-files.visualize-accepted[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]:not(.accepted){opacity:.5}.browse-files.visualize-accepted[_ngcontent-%COMP%] [action].accepted[_ngcontent-%COMP%]{opacity:1}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%]{--list-active-bg: var(--base-level-30);gap:.125rem;padding:0;height:min-content;min-width:min-content}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]{padding:0;gap:.25rem;border:1px solid transparent}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].active[_ngcontent-%COMP%]{border-color:var(--base-level-40)}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].indeterminate[_ngcontent-%COMP%]{border-color:var(--primary-level-40)}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].usually-hidden[_ngcontent-%COMP%]{opacity:.6}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{flex:1 0;height:100%;width:max-content;display:flex;align-items:center}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;cursor:pointer}.browse-files-toggle[_ngcontent-%COMP%]{color:var(--base-level-60R)}.hidden[_ngcontent-%COMP%]{display:none}'],changeDetection:0})};var $e=[[["","title",""]],[["","description",""]],[["","action",""]],"*"],Ge=["[title]","[description]","[action]","*"];function qe(i,t){i&1&&C(0,"Title")}function Ke(i,t){i&1&&(p(0,"spk-icon"),C(1,"caret-down"),u())}var X=class i{isActive=Z(!1);disallowToggle=_(!1);ngOnInit(){this.disallowToggle()&&this.isActive.set(!0)}toggle(){this.isActive.set(!this.isActive())}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=W({type:i,selectors:[["app-toggle-card"]],hostVars:2,hostBindings:function(e,n){e&2&&P("active",n.isActive())},inputs:{isActive:[1,"isActive"],disallowToggle:[1,"disallowToggle"]},outputs:{isActive:"isActiveChange"},ngContentSelectors:Ge,decls:11,vars:1,consts:[[1,"title"],[3,"click"],[1,"actions"],[1,"content"]],template:function(e,n){e&1&&(I($e),p(0,"header")(1,"div",0)(2,"h3",1),M("click",function(){return n.disallowToggle()||n.toggle()}),y(3,0,null,qe,1,0),x(5,Ke,2,0,"spk-icon"),u(),y(6,1),u(),p(7,"div",2),y(8,2),u()(),p(9,"div",3),y(10,3),u()),e&2&&(g(5),b(n.disallowToggle()?-1:5))},dependencies:[j],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;border-radius:var(--shape-3);background-color:var(--base-level-20)}.active[_nghost-%COMP%] .content[_ngcontent-%COMP%]{max-height:1000px;transition:max-height 1s linear;padding:0 1rem 1rem}.active[_nghost-%COMP%] spk-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;font:var(--paragraph-10);cursor:pointer;-webkit-user-select:none;user-select:none}[_nghost-%COMP%] spk-icon[_ngcontent-%COMP%]{transform:rotate(0);transform-origin:center;transition:transform .2s ease}header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem}header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:0 1rem;overflow:hidden;max-height:0;transition:max-height .25s linear,padding .25s linear}.content[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})};export{J as a,X as b};
|
|
1
|
+
import{a as ce}from"./chunk-PT7ISA6M.js";import{s as de}from"./chunk-2VFGTKQ3.js";import{a as ae}from"./chunk-QAOE722P.js";import{a as j,f as pe,k as ue,l as he,n as ge,v as me}from"./chunk-K3Y54FPO.js";import{ia as le}from"./chunk-FL23VQIJ.js";import{Ab as b,Cb as te,Db as ne,E as R,Eb as p,Fb as u,Gb as ie,Hc as A,Jb as K,Jc as N,Kb as B,Ra as g,Tb as M,Ub as h,Vb as I,Wb as y,X as L,Za as E,_a as G,ab as Z,cc as Q,dc as oe,ea as S,ec as U,fa as F,fb as W,fc as C,hc as z,lb as x,pc as D,qa as $,qc as re,ra as _,v as Y,vb as q,vc as se,wb as ee,xb as P}from"./chunk-6RDPRL5W.js";import{a as V,b as H}from"./chunk-7CGTOI24.js";var be=["treeContainer"],Te=["formRef"],ye=[[["label"]],[["label"]],[["input"]]],we=["label","label","input"],Ee=(i,t)=>t.id,Me=i=>({children:i,level:0}),fe=i=>({$implicit:i}),ke=(i,t)=>({children:i,level:t});function Oe(i,t){if(i&1){let e=B();p(0,"spk-button-group")(1,"button",10),M("click",function(){S(e);let s=h();return F(s.pathDiscoveryMethod.set("browse"))}),C(2," Browser path "),u(),p(3,"button",10),M("click",function(){S(e);let s=h();return F(s.pathDiscoveryMethod.set("path"))}),C(4," Manually type path "),u()()}if(i&2){let e=h();g(),P("active",e.pathDiscoveryMethod()==="browse"),g(2),P("active",e.pathDiscoveryMethod()==="path")}}function Se(i,t){i&1&&ie(0,"spk-progress-bar",6)}function Fe(i,t){i&1&&(p(0,"spk-icon",13),C(1,"folder-open"),u())}function Ne(i,t){i&1&&(p(0,"spk-icon"),C(1,"file"),u())}function We(i,t){i&1&&(p(0,"spk-icon",13),C(1,"folder"),u())}function Be(i,t){if(i&1&&x(0,Fe,2,0,"spk-icon",13)(1,Ne,2,0,"spk-icon")(2,We,2,0,"spk-icon",13),i&2){let e=h(2).$implicit;b(e.children.length?0:e.cls==="file"?1:2)}}function Ie(i,t){i&1&&(p(0,"spk-icon",13),C(1,"desktop-tower"),u())}function De(i,t){i&1&&K(0)}function Ae(i,t){if(i&1&&x(0,De,1,0,"ng-container",7),i&2){let e=h(2).$implicit,n=h().$implicit;h();let s=U(7);q("ngTemplateOutlet",s)("ngTemplateOutletContext",D(5,fe,re(2,ke,e.children,n.level+1)))}}function je(i,t){if(i&1){let e=B();p(0,"div",11,3),M("click",function(){S(e);let s=h().$implicit,o=h(2);return F(o.toggleNode(s.id,s))}),p(2,"div",12),x(3,Be,3,1)(4,Ie,2,0,"spk-icon",13),u(),p(5,"div",14),M("click",function(s){S(e);let o=h().$implicit,r=h(2);return F(r.toggleSelectedNode(s,o))}),C(6),u()(),x(7,Ae,1,7,"ng-container")}if(i&2){let e=h().$implicit,n=h(2);P("accepted",e.accepted===!0)("active",e.evalState===n.TreeEvalEnum.Included)("indeterminate",e.isIndeterminate)("open",e.children.length)("usually-hidden",e.hidden),g(3),b(e.id!=="/"?3:4),g(3),z(" ",e.text," "),g(),b(e.children.length>0?7:-1)}}function Ve(i,t){if(i&1&&x(0,je,8,13),i&2){let e=t.$implicit,n=h(2);b(e.hidden&&n._showHiddenNodes()||!e.hidden?0:-1)}}function He(i,t){if(i&1&&(p(0,"spk-list"),te(1,Ve,1,1,null,null,Ee),u()),i&2){let e=t.$implicit;ee("padding-left",e.level*.5,"rem"),g(),ne(e.children)}}function Re(i,t){i&1&&K(0)}function Le(i,t){if(i&1){let e=B();p(0,"spk-toggle",15),M("click",function(){S(e);let s=h();return F(s._showHiddenNodes.set(!s._showHiddenNodes()))}),C(1),u()}if(i&2){let e=h();P("active",e._showHiddenNodes()),g(),z(" Show hidden ",e.showFiles()?"files":"folders"," ")}}var _e=(o=>(o[o.ExcludedByParent=-2]="ExcludedByParent",o[o.Excluded=-1]="Excluded",o[o.None=0]="None",o[o.Included=1]="Included",o[o.IncludedByParent=2]="IncludedByParent",o))(_e||{}),J=class i{#t=L(ae);#r=L(ce);multiSelect=_(!1);disabled=_(!1);showFiles=_(!1);selectFiles=_(!1);accepts=_(null);startingPath=_(null);rootPath=_(void 0);backupSettings=_(null);showHiddenNodes=_(!1);includes=$();excludes=$();_showHiddenNodes=E(!1);treeContainerRef=G("treeContainer");formRef=G("formRef");pathDiscoveryMethod=E("browse");isLoading=E(!1);currentPath=E("/");#e=E(null);treeSearchQuery=E("");treeNodes=E([]);filterGroups=this.#r.filterGroups();isByBackupSettings=A(()=>this.rootPath()&&this.backupSettings()?.id&&this.backupSettings()?.time);searchableTreeNodes=A(()=>{let t=this.treeSearchQuery();return t?this.treeNodes().filter(e=>e.text?.toLowerCase().includes(t.toLowerCase())):this.treeNodes()});TreeEvalEnum=_e;treeStructure=A(()=>{let t=this.showHiddenNodes(),e=this.currentPath().split("\0").filter(a=>a!==""&&a!=="/"),n=structuredClone(e);for(let a=0;a<n.length;a++){let m=n[a].slice(1);if(m.startsWith("{")&&m.endsWith("}")){let f=m.slice(1,-1),d=this.filterGroups?.FilterGroups[f];if(d&&d.length){let w=d.map(T=>`-${T}`);n.splice(a,1,...w)}}}let s=this.searchableTreeNodes(),o=new Map,r=this.rootPath(),v=this.accepts(),l=r?{id:r,resolvedpath:r,text:r?.replaceAll("/",""),parentPath:"",children:[],evalState:0,isIndeterminate:!1,cls:"folder"}:{id:"/",resolvedpath:"/",text:"Computer",parentPath:"",children:[],evalState:0,isIndeterminate:!1};v&&(l.accepted=!0),o.set("/",l);for(let a of s){let m=a.id.replace(r??"","").split("/").filter(Boolean),f="",d=l;for(let w of m){if(f+="/"+w,!o.has(f)){let T=a.hidden===!0&&t?0:this.#s(n,a.id,a.cls,d),k={id:a.id,isIndeterminate:this.isIndeterminate(n,a.id),evalState:T,parentPath:f,resolvedpath:a.id?.startsWith("%")?a.resolvedpath+"/":f,hidden:a.hidden,text:a.text,cls:a.cls,children:[]};v&&(k.accepted=this.matchAccepts(v,k)),o.set(f,k),d.children.push(k)}d=o.get(f)}}return[l]});#s(t,e,n,s){if(s.evalState===-1)return-2;let o=0,r=t.filter(l=>!l.startsWith("-")&&!l.startsWith("+")),v=t.filter(l=>l.startsWith("-")||l.startsWith("+"));if(r.length===0)return o;for(let l=0;l<r.length;l++){let a=r[l];if(e?.startsWith(a)){o=1;break}}if(v.length===0)return o;for(let l=0;l<v.length;l++){let a=v[l],c=a.slice(1),m=a.startsWith("-")?"exclude":"include";if(c.startsWith("/")&&c.endsWith("/")){if(n!=="folder")continue;if(e===c){o=m==="include"?1:-1;break}}if(c.startsWith("*")&&c.endsWith("*/")){if(n!=="folder")continue;let d=c.slice(1,-2);if(d==="")break;if(e?.includes(d+"/")){o=m==="include"?1:-1;break}}if(c.startsWith("[.*")&&c.endsWith("[^\\/]*]")){if(n!=="file")continue;let d=c.slice(3,-7);if(new RegExp(d).test(e)){o=m==="include"?1:-1;break}}if(c.startsWith("[")&&c.endsWith("]")){let d=c.slice(1,-1),w=this.translateCSharpRegex(d);if(new RegExp(`${w}`).test(e)){o=m==="include"?1:-1;break}}if(c.startsWith("*.")){if(n!=="file"||c.replace("*.","").length===0)continue;if(this.#n(e,c,!0)){o=m==="include"?1:-1;break}}if(c==="")continue;if(this.#n(e,c,!0)){o=m==="include"?1:-1;break}}return o}translateCSharpRegex(t){let e=t;e=e.replace(/^@/,"");let n=/\(\?<(?<name>\w+)>(?<pattern>[^)]+)\)/g;return e=e.replace(n,(s,o,r)=>`(${r})`),e=e.replace(/\\/g,"\\\\"),e}isIndeterminate(t,e){return t.some(n=>n.startsWith(e))}#n(t,e,n=!1){let s=e.replace(/\*/g,".*").replace(/\?/g,".").replace(/\[!([^\]]+)\]/g,"[^$1]");return new RegExp(`${s}${n?"$":""}`).test(t)}showHiddenNodesEffect=N(()=>this._showHiddenNodes.set(this.showHiddenNodes()));pathDiscoveryMethodEffect=N(()=>{let t=this.pathDiscoveryMethod(),e=this.#e();t==="browse"&&e&&this.currentPath.set(e.value)});matchAccepts(t,e){if(!t||e.cls==="folder"||e.id==="/")return!0;let n=t.split(",");if(n.length===0)return!0;let s="."+e.id.slice(e.id.indexOf("."));return s?n.some(o=>s.endsWith(o)):!1}currentPathEffect=N(()=>{let t=this.#e();t&&(t.value=this.currentPath(),t.dispatchEvent(new Event("input")))});inputValueChangeAbortController=null;inputRefEffect=N(()=>{let t=this.formRef()?.nativeElement?.querySelector("input");t&&(this.#l(t),this.inputValueChangeAbortController&&this.inputValueChangeAbortController.abort(),this.inputValueChangeAbortController=new AbortController,t.addEventListener("inputValueChanged",e=>{this.currentPath.set(e.detail.value)},{signal:this.inputValueChangeAbortController.signal}),this.#e.set(t),t.autocomplete="off")});ngOnInit(){let t=this.startingPath();t?(this.currentPath.set(t),this.#d(t)):this.#o(null,this.rootPath())}toggleSelectedNode(t,e){if(e.id==="/"||(t.stopPropagation(),e.evalState===-2))return;if(this.selectFiles()&&e.cls==="folder"){this.toggleNode(e.id,e);return}if(this.accepts()&&!e.accepted)return;let s=this.currentPath().split("\0").filter(r=>r!==""&&r!=="/"),o=this.isChildOfSelected(e)?`-${e.id}`:e.id;this.multiSelect()?s.includes(e.id)?this.currentPath.set(s.filter(r=>r!==e.id).join("\0")):s.some(r=>r.startsWith(o))?this.currentPath.set(s.filter(r=>r!==o).join("\0")):this.currentPath.set([...s,o].join("\0")):s.includes(e.id)?this.currentPath.set(s.filter(r=>r!==e.id).join("\0")):this.currentPath.set(e.id)}isChildOfSelected(t){return this.currentPath().split("\0").filter(n=>n!==""&&n!=="/").some(n=>t.id?.startsWith(n)||`-${t.id}`.startsWith(n))}toggleNode(t,e=null){e?.cls==="folder"&&(e?.children.length?this.treeNodes.update(n=>n.filter(s=>!s.id?.startsWith(e.id)||s.id===e.id)):this.#o(e,t))}#l(t){return Object.defineProperty(t,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").get.call(this)},set(e){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").set.call(this,e),this.dispatchEvent(new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:e}})),e}}),t}#a(t){return this.#t.postApiV1Filesystem({showHidden:!0,requestBody:{path:t},onlyFolders:!this.showFiles()})}#c(t){let e=this.backupSettings(),n={id:e.id,time:e.time,prefixOnly:!1,folderContents:!0};return t&&(n.filter="@"+t),this.#t.getApiV1BackupByIdFiles(n)}#i(t){return this.isByBackupSettings()?this.#c(t):this.#a(t)}#d(t){let e=t.split("\0").filter(r=>r.startsWith("-")).map(r=>r.slice(1,-1)),n=t.split("\0").filter(r=>!r.startsWith("-")).filter(Boolean),s=n.map(r=>r.split("/").filter(Boolean)),o=[this.rootPath()??"/"];s.forEach(r=>{r.forEach((v,l)=>{let a=r.slice(0,l+1).join("/"),c=a.startsWith("%")?a:"/"+a;o.includes(c)||o.push(c)})}),this.isLoading.set(!0),Y([...o.map(r=>this.#i(r))]).pipe(R(()=>this.isLoading.set(!1))).subscribe({next:r=>{this.treeNodes.update(v=>{let l=r.flatMap(c=>c.map(m=>{let f=m.id,d=f&&f.split("/").filter(Boolean).slice(0,-1).join("/"),T="/"+(f&&f.split("/").filter(Boolean).join("/")),k=n.findIndex(O=>this.multiSelect()?T.startsWith(O):T===O)>-1,Ce=n.findIndex(O=>O===f)>-1,ve=e.findIndex(O=>O===T)>-1;return H(V({},m),{parentPath:d.startsWith("%")?d:"/"+d,isSelected:k&&!ve||Ce})}));return[...new Map([...v,...l].map(c=>[c.resolvedpath??c.id,c])).values()]})}})}#o(t=null,e="/"){this.isLoading.set(!0),this.#i(e).pipe(R(()=>this.isLoading.set(!1))).subscribe({next:n=>{let s=this.isByBackupSettings()?n.Files.map(o=>({text:o.Path.split("/").filter(r=>r!=="").pop(),id:o.Path,cls:o.Path.endsWith("/")?"folder":"file",leaf:t!==null,resolvedpath:o.Path,hidden:!1})):n;this.treeNodes.update(o=>{let r=s.map(l=>{let a=l.id.startsWith("%")&&l.id.endsWith("%")||l.id.endsWith("/")?"folder":"file";return H(V({},l),{cls:a,parentPath:e})});return[...new Map([...o,...r].map(l=>[l.resolvedpath??l.id,l])).values()]})}})}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=W({type:i,selectors:[["app-file-tree"]],viewQuery:function(e,n){e&1&&(Q(n.treeContainerRef,be,5),Q(n.formRef,Te,5)),e&2&&oe(2)},hostVars:2,hostBindings:function(e,n){e&2&&P("disabled",n.disabled())},inputs:{multiSelect:[1,"multiSelect"],disabled:[1,"disabled"],showFiles:[1,"showFiles"],selectFiles:[1,"selectFiles"],accepts:[1,"accepts"],startingPath:[1,"startingPath"],rootPath:[1,"rootPath"],backupSettings:[1,"backupSettings"],showHiddenNodes:[1,"showHiddenNodes"]},outputs:{includes:"includes",excludes:"excludes"},ngContentSelectors:we,decls:15,vars:15,consts:[["treeContainer",""],["recursiveTree",""],["formRef",""],["treeNode",""],[1,"section"],[1,"browse-files"],[1,"indeterminate","primary"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"primary","raised","browse-files-toggle",3,"active"],[1,"form-field"],["type","button",3,"click"],["action","",3,"click"],[1,"icon"],[1,"spk-primary"],[1,"text",3,"click"],[1,"primary","raised","browse-files-toggle",3,"click"]],template:function(e,n){if(e&1&&(I(ye),x(0,Oe,5,4,"spk-button-group"),p(1,"div",4),y(2,0,["ngProjectAs","label",5,["label"]]),p(3,"div",5,0),x(5,Se,1,0,"spk-progress-bar",6)(6,He,3,2,"ng-template",null,1,se)(8,Re,1,0,"ng-container",7),u(),x(9,Le,2,3,"spk-toggle",8),u(),p(10,"div",9,2)(12,"spk-form-field"),y(13,1,["ngProjectAs","label",5,["label"]]),y(14,2,["ngProjectAs","input",5,["input"]]),u()()),e&2){let s=U(7);b(n.multiSelect()?-1:0),g(),P("hidden",n.pathDiscoveryMethod()!=="browse"),g(2),P("visualize-accepted",n.accepts()),g(2),b(n.isLoading()?5:-1),g(3),q("ngTemplateOutlet",s)("ngTemplateOutletContext",D(13,fe,D(11,Me,n.treeStructure()))),g(),b(n.accepts()?-1:9),g(),P("hidden",n.pathDiscoveryMethod()!=="path")}},dependencies:[pe,me,j,ue,he,ge,le,de],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1rem}.disabled[_nghost-%COMP%]{opacity:.5;-webkit-user-select:none;user-select:none;pointer-events:none;position:relative}.disabled[_nghost-%COMP%]:before{content:"";position:absolute;inset:0;background:transparent}.fill[_nghost-%COMP%]{height:auto;overflow:hidden;flex:1 0}.fill[_nghost-%COMP%] .section[_ngcontent-%COMP%]{height:auto;overflow:hidden;flex:1 0;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"label toggle" "tree tree"}.fill[_nghost-%COMP%] .browse-files[_ngcontent-%COMP%]{resize:none;height:initial;grid-area:tree}.fill[_nghost-%COMP%] label[_ngcontent-%COMP%]{grid-area:label}.fill[_nghost-%COMP%] spk-toggle[_ngcontent-%COMP%]{grid-area:toggle;flex-direction:row-reverse}.section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.form-field.hidden[_ngcontent-%COMP%]{display:none}.browse-files[_ngcontent-%COMP%]{display:flex;gap:.5rem;padding:.5rem 1rem;height:12.5rem;border:1px solid var(--base-level-40);border-radius:var(--shape-3);overflow:auto;resize:vertical;background:var(--base-level-10);position:relative}.browse-files[_ngcontent-%COMP%] spk-progress-bar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0}.browse-files.visualize-accepted[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]:not(.accepted){opacity:.5}.browse-files.visualize-accepted[_ngcontent-%COMP%] [action].accepted[_ngcontent-%COMP%]{opacity:1}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%]{--list-active-bg: var(--base-level-30);gap:.125rem;padding:0;height:min-content;min-width:min-content}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]{padding:0;gap:.25rem;border:1px solid transparent}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].active[_ngcontent-%COMP%]{border-color:var(--base-level-40)}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].indeterminate[_ngcontent-%COMP%]{border-color:var(--primary-level-40)}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].usually-hidden[_ngcontent-%COMP%]{opacity:.6}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{flex:1 0;height:100%;width:max-content;display:flex;align-items:center}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;cursor:pointer}.browse-files-toggle[_ngcontent-%COMP%]{color:var(--base-level-60R)}.hidden[_ngcontent-%COMP%]{display:none}'],changeDetection:0})};var $e=[[["","title",""]],[["","description",""]],[["","action",""]],"*"],Ge=["[title]","[description]","[action]","*"];function qe(i,t){i&1&&C(0,"Title")}function Ke(i,t){i&1&&(p(0,"spk-icon"),C(1,"caret-down"),u())}var X=class i{isActive=Z(!1);disallowToggle=_(!1);ngOnInit(){this.disallowToggle()&&this.isActive.set(!0)}toggle(){this.isActive.set(!this.isActive())}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=W({type:i,selectors:[["app-toggle-card"]],hostVars:2,hostBindings:function(e,n){e&2&&P("active",n.isActive())},inputs:{isActive:[1,"isActive"],disallowToggle:[1,"disallowToggle"]},outputs:{isActive:"isActiveChange"},ngContentSelectors:Ge,decls:11,vars:1,consts:[[1,"title"],[3,"click"],[1,"actions"],[1,"content"]],template:function(e,n){e&1&&(I($e),p(0,"header")(1,"div",0)(2,"h3",1),M("click",function(){return n.disallowToggle()||n.toggle()}),y(3,0,null,qe,1,0),x(5,Ke,2,0,"spk-icon"),u(),y(6,1),u(),p(7,"div",2),y(8,2),u()(),p(9,"div",3),y(10,3),u()),e&2&&(g(5),b(n.disallowToggle()?-1:5))},dependencies:[j],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;border-radius:var(--shape-3);background-color:var(--base-level-20)}.active[_nghost-%COMP%] .content[_ngcontent-%COMP%]{max-height:1000px;transition:max-height 1s linear;padding:0 1rem 1rem}.active[_nghost-%COMP%] spk-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;font:var(--paragraph-10);cursor:pointer;-webkit-user-select:none;user-select:none}[_nghost-%COMP%] spk-icon[_ngcontent-%COMP%]{transform:rotate(0);transform-origin:center;transition:transform .2s ease}header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem}header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:0 1rem;overflow:hidden;max-height:0;transition:max-height .25s linear,padding .25s linear}.content[_ngcontent-%COMP%]:empty{display:none}"],changeDetection:0})};export{J as a,X as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Aa as tt,Bc as K,Cc as Ee,Da as nt,Ec as ye,Lb as lt,Mb as y,Nb as ft,O as Y,Ob as ht,P as Ke,Pb as f,Qa as it,R as v,S as Xe,Sa as a,U as P,Ua as j,W as T,Wa as W,X as A,Xa as x,bb as rt,da as Q,db as st,g as We,gb as ot,hb as I,ia as qe,ib as b,ja as Je,kb as ut,na as Qe,nb as at,ob as ct,sa as Z,sc as gt,vc as z,wa as me,wb as dt,wc as Dt,xc as ee,ya as et,yc as pt,za as Ce,zc as Fe}from"./chunk-RJDP2FPE.js";import{a as Ye,b as Ze}from"./chunk-7CGTOI24.js";var Bt=null;function we(){return Bt}function _i(e){Bt??=e}var mt=class{},bi=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:()=>window.navigation,providedIn:"platform"})}return e})(),le=new P(""),Pe=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:()=>A(Vt),providedIn:"platform"})}return e})(),vi=new P(""),Vt=(()=>{class e extends Pe{_location;_history;_doc=A(le);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return we().getBaseHref(this._doc)}onPopState(t){let n=we().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=we().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",t,!1),()=>n.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,n,r){this._history.pushState(t,n,r)}replaceState(t,n,r){this._history.replaceState(t,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ne(e,i){if(e.length==0)return i;if(i.length==0)return e;let t=0;return e.endsWith("/")&&t++,i.startsWith("/")&&t++,t==2?e+i.substring(1):t==1?e+i:e+"/"+i}function Ct(e){let i=e.match(/#|\?|$/),t=i&&i.index||e.length,n=t-(e[t-1]==="/"?1:0);return e.slice(0,n)+e.slice(t)}function k(e){return e&&e[0]!=="?"?"?"+e:e}var fe=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:()=>A(jt),providedIn:"root"})}return e})(),Ot=new P(""),jt=(()=>{class e extends fe{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??A(le).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ne(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+k(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${n}${r}`:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+k(s));this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+k(s));this._platformLocation.replaceState(t,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(T(Pe),T(Ot,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ii=(()=>{class e extends fe{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=Ne(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+k(s));o.length==0&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+k(s));o.length==0&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(T(Pe),T(Ot,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Gt=(()=>{class e{_subject=new We;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=Zt(Ct(Ft(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+k(n))}normalize(t){return e.stripTrailingSlash(Yt(this._basePath,Ft(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",r=null){this._locationStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+k(n)),r)}replaceState(t,n="",r=null){this._locationStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+k(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(r=>r(t,n))}subscribe(t,n,r){return this._subject.subscribe({next:t,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=k;static joinWithSlash=Ne;static stripTrailingSlash=Ct;static \u0275fac=function(n){return new(n||e)(T(fe))};static \u0275prov=v({token:e,factory:()=>Ht(),providedIn:"root"})}return e})();function Ht(){return new Gt(T(fe))}function Yt(e,i){if(!e||!i.startsWith(e))return i;let t=i.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:i}function Ft(e){return e.replace(/\/index.html$/,"")}function Zt(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Rt={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},he=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(he||{}),G=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}(G||{}),_=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(_||{}),h=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(h||{}),M=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(M||{}),E={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13},Wt=function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e}(Wt||{});function Kt(e){return y(e)[f.LocaleId]}function Xt(e,i,t){let n=y(e),r=[n[f.DayPeriodsFormat],n[f.DayPeriodsStandalone]],s=B(r,i);return B(s,t)}function qt(e,i,t){let n=y(e),r=[n[f.DaysFormat],n[f.DaysStandalone]],s=B(r,i);return B(s,t)}function Jt(e,i,t){let n=y(e),r=[n[f.MonthsFormat],n[f.MonthsStandalone]],s=B(r,i);return B(s,t)}function Qt(e,i){let n=y(e)[f.Eras];return B(n,i)}function Mi(e){return y(e)[f.FirstDayOfWeek]}function Li(e){return y(e)[f.WeekendRange]}function te(e,i){let t=y(e);return B(t[f.DateFormat],i)}function ne(e,i){let t=y(e);return B(t[f.TimeFormat],i)}function ie(e,i){let n=y(e)[f.DateTimeFormat];return B(n,i)}function L(e,i){let t=y(e),n=t[f.NumberSymbols][i];if(typeof n>"u"){if(i===E.CurrencyDecimal)return t[f.NumberSymbols][E.Decimal];if(i===E.CurrencyGroup)return t[f.NumberSymbols][E.Group]}return n}function ke(e,i){return y(e)[f.NumberFormats][i]}function Bi(e){return y(e)[f.CurrencySymbol]||null}function Oi(e){return y(e)[f.CurrencyName]||null}function Ri(e){return ft(e)}function en(e){return y(e)[f.Currencies]}var tn=ht;function Tt(e){if(!e[f.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[f.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function nn(e){let i=y(e);return Tt(i),(i[f.ExtraData][2]||[]).map(n=>typeof n=="string"?Ae(n):[Ae(n[0]),Ae(n[1])])}function rn(e,i,t){let n=y(e);Tt(n);let r=[n[f.ExtraData][0],n[f.ExtraData][1]],s=B(r,i)||[];return B(s,t)||[]}function Ti(e){return y(e)[f.Directionality]}function B(e,i){for(let t=i;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function Ae(e){let[i,t]=e.split(":");return{hours:+i,minutes:+t}}function sn(e,i,t="en"){let n=en(t)[e]||Rt[e]||[],r=n[1];return i==="narrow"&&typeof r=="string"?r:n[0]||e}var on=2;function un(e){let i,t=Rt[e];return t&&(i=t[2]),typeof i=="number"?i:on}var an=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,re={},cn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,$=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}($||{}),l=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(l||{}),d=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(d||{});function dn(e,i,t,n){let r=Fn(e);i=N(t,i)||i;let o=[],u;for(;i;)if(u=cn.exec(i),u){o=o.concat(u.slice(1));let m=o.pop();if(!m)break;i=m}else{o.push(i);break}let D=r.getTimezoneOffset();n&&(D=Nt(n,D),r=Cn(r,n,!0));let p="";return o.forEach(m=>{let c=pn(m);p+=c?c(r,t,D):m==="''"?"'":m.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),p}function ce(e,i,t){let n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function N(e,i){let t=Kt(e);if(re[t]??={},re[t][i])return re[t][i];let n="";switch(i){case"shortDate":n=te(e,M.Short);break;case"mediumDate":n=te(e,M.Medium);break;case"longDate":n=te(e,M.Long);break;case"fullDate":n=te(e,M.Full);break;case"shortTime":n=ne(e,M.Short);break;case"mediumTime":n=ne(e,M.Medium);break;case"longTime":n=ne(e,M.Long);break;case"fullTime":n=ne(e,M.Full);break;case"short":let r=N(e,"shortTime"),s=N(e,"shortDate");n=se(ie(e,M.Short),[r,s]);break;case"medium":let o=N(e,"mediumTime"),u=N(e,"mediumDate");n=se(ie(e,M.Medium),[o,u]);break;case"long":let D=N(e,"longTime"),p=N(e,"longDate");n=se(ie(e,M.Long),[D,p]);break;case"full":let m=N(e,"fullTime"),c=N(e,"fullDate");n=se(ie(e,M.Full),[m,c]);break}return n&&(re[t][i]=n),n}function se(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return i!=null&&n in i?i[n]:t})),e}function O(e,i,t="-",n,r){let s="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,s=t));let o=String(e);for(;o.length<i;)o="0"+o;return n&&(o=o.slice(o.length-i)),s+o}function ln(e,i){return O(e,3).substring(0,i)}function F(e,i,t=0,n=!1,r=!1){return function(s,o){let u=fn(e,s);if((t>0||u>-t)&&(u+=t),e===l.Hours)u===0&&t===-12&&(u=12);else if(e===l.FractionalSeconds)return ln(u,i);let D=L(o,E.MinusSign);return O(u,i,D,n,r)}}function fn(e,i){switch(e){case l.FullYear:return i.getFullYear();case l.Month:return i.getMonth();case l.Date:return i.getDate();case l.Hours:return i.getHours();case l.Minutes:return i.getMinutes();case l.Seconds:return i.getSeconds();case l.FractionalSeconds:return i.getMilliseconds();case l.Day:return i.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function g(e,i,t=_.Format,n=!1){return function(r,s){return hn(r,s,e,i,t,n)}}function hn(e,i,t,n,r,s){switch(t){case d.Months:return Jt(i,r,n)[e.getMonth()];case d.Days:return qt(i,r,n)[e.getDay()];case d.DayPeriods:let o=e.getHours(),u=e.getMinutes();if(s){let p=nn(i),m=rn(i,r,n),c=p.findIndex(w=>{if(Array.isArray(w)){let[C,S]=w,H=o>=C.hours&&u>=C.minutes,U=o<S.hours||o===S.hours&&u<S.minutes;if(C.hours<S.hours){if(H&&U)return!0}else if(H||U)return!0}else if(w.hours===o&&w.minutes===u)return!0;return!1});if(c!==-1)return m[c]}return Xt(i,r,n)[o<12?0:1];case d.Eras:return Qt(i,n)[e.getFullYear()<=0?0:1];default:let D=t;throw new Error(`unexpected translation type ${D}`)}}function oe(e){return function(i,t,n){let r=-1*n,s=L(t,E.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case $.Short:return(r>=0?"+":"")+O(o,2,s)+O(Math.abs(r%60),2,s);case $.ShortGMT:return"GMT"+(r>=0?"+":"")+O(o,1,s);case $.Long:return"GMT"+(r>=0?"+":"")+O(o,2,s)+":"+O(Math.abs(r%60),2,s);case $.Extended:return n===0?"Z":(r>=0?"+":"")+O(o,2,s)+":"+O(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}var gn=0,ae=4;function Dn(e){let i=ce(e,gn,1).getDay();return ce(e,0,1+(i<=ae?ae:ae+7)-i)}function Pt(e){let i=e.getDay(),t=i===0?-3:ae-i;return ce(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Se(e,i=!1){return function(t,n){let r;if(i){let s=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,o=t.getDate();r=1+Math.floor((o+s)/7)}else{let s=Pt(t),o=Dn(s.getFullYear()),u=s.getTime()-o.getTime();r=1+Math.round(u/6048e5)}return O(r,e,L(n,E.MinusSign))}}function ue(e,i=!1){return function(t,n){let s=Pt(t).getFullYear();return O(s,e,L(n,E.MinusSign),i)}}var _e={};function pn(e){if(_e[e])return _e[e];let i;switch(e){case"G":case"GG":case"GGG":i=g(d.Eras,h.Abbreviated);break;case"GGGG":i=g(d.Eras,h.Wide);break;case"GGGGG":i=g(d.Eras,h.Narrow);break;case"y":i=F(l.FullYear,1,0,!1,!0);break;case"yy":i=F(l.FullYear,2,0,!0,!0);break;case"yyy":i=F(l.FullYear,3,0,!1,!0);break;case"yyyy":i=F(l.FullYear,4,0,!1,!0);break;case"Y":i=ue(1);break;case"YY":i=ue(2,!0);break;case"YYY":i=ue(3);break;case"YYYY":i=ue(4);break;case"M":case"L":i=F(l.Month,1,1);break;case"MM":case"LL":i=F(l.Month,2,1);break;case"MMM":i=g(d.Months,h.Abbreviated);break;case"MMMM":i=g(d.Months,h.Wide);break;case"MMMMM":i=g(d.Months,h.Narrow);break;case"LLL":i=g(d.Months,h.Abbreviated,_.Standalone);break;case"LLLL":i=g(d.Months,h.Wide,_.Standalone);break;case"LLLLL":i=g(d.Months,h.Narrow,_.Standalone);break;case"w":i=Se(1);break;case"ww":i=Se(2);break;case"W":i=Se(1,!0);break;case"d":i=F(l.Date,1);break;case"dd":i=F(l.Date,2);break;case"c":case"cc":i=F(l.Day,1);break;case"ccc":i=g(d.Days,h.Abbreviated,_.Standalone);break;case"cccc":i=g(d.Days,h.Wide,_.Standalone);break;case"ccccc":i=g(d.Days,h.Narrow,_.Standalone);break;case"cccccc":i=g(d.Days,h.Short,_.Standalone);break;case"E":case"EE":case"EEE":i=g(d.Days,h.Abbreviated);break;case"EEEE":i=g(d.Days,h.Wide);break;case"EEEEE":i=g(d.Days,h.Narrow);break;case"EEEEEE":i=g(d.Days,h.Short);break;case"a":case"aa":case"aaa":i=g(d.DayPeriods,h.Abbreviated);break;case"aaaa":i=g(d.DayPeriods,h.Wide);break;case"aaaaa":i=g(d.DayPeriods,h.Narrow);break;case"b":case"bb":case"bbb":i=g(d.DayPeriods,h.Abbreviated,_.Standalone,!0);break;case"bbbb":i=g(d.DayPeriods,h.Wide,_.Standalone,!0);break;case"bbbbb":i=g(d.DayPeriods,h.Narrow,_.Standalone,!0);break;case"B":case"BB":case"BBB":i=g(d.DayPeriods,h.Abbreviated,_.Format,!0);break;case"BBBB":i=g(d.DayPeriods,h.Wide,_.Format,!0);break;case"BBBBB":i=g(d.DayPeriods,h.Narrow,_.Format,!0);break;case"h":i=F(l.Hours,1,-12);break;case"hh":i=F(l.Hours,2,-12);break;case"H":i=F(l.Hours,1);break;case"HH":i=F(l.Hours,2);break;case"m":i=F(l.Minutes,1);break;case"mm":i=F(l.Minutes,2);break;case"s":i=F(l.Seconds,1);break;case"ss":i=F(l.Seconds,2);break;case"S":i=F(l.FractionalSeconds,1);break;case"SS":i=F(l.FractionalSeconds,2);break;case"SSS":i=F(l.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":i=oe($.Short);break;case"ZZZZZ":i=oe($.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=oe($.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":i=oe($.Long);break;default:return null}return _e[e]=i,i}function Nt(e,i){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function mn(e,i){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+i),e}function Cn(e,i,t){let n=t?-1:1,r=e.getTimezoneOffset(),s=Nt(i,r);return mn(e,n*(s-r))}function Fn(e){if(Et(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[r,s=1,o=1]=e.split("-").map(u=>+u);return ce(r,s-1,o)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(an))return En(n)}let i=new Date(e);if(!Et(i))throw new Error(`Unable to convert "${e}" into a date`);return i}function En(e){let i=new Date(0),t=0,n=0,r=e[8]?i.setUTCFullYear:i.setFullYear,s=e[8]?i.setUTCHours:i.setHours;e[9]&&(t=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(i,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-t,u=Number(e[5]||0)-n,D=Number(e[6]||0),p=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return s.call(i,o,u,D,p),i}function Et(e){return e instanceof Date&&!isNaN(e.valueOf())}var yn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,yt=22,de=".",X="0",wn=";",An=",",be="#",wt="\xA4",Sn="%";function $e(e,i,t,n,r,s,o=!1){let u="",D=!1;if(!isFinite(e))u=L(t,E.Infinity);else{let p=Mn(e);o&&(p=In(p));let m=i.minInt,c=i.minFrac,w=i.maxFrac;if(s){let V=s.match(yn);if(V===null)throw new Error(`${s} is not a valid digit info`);let Ge=V[1],pe=V[3],He=V[5];Ge!=null&&(m=ve(Ge)),pe!=null&&(c=ve(pe)),He!=null?w=ve(He):pe!=null&&c>w&&(w=c)}Ln(p,c,w);let C=p.digits,S=p.integerLen,H=p.exponent,U=[];for(D=C.every(V=>!V);S<m;S++)C.unshift(0);for(;S<0;S++)C.unshift(0);S>0?U=C.splice(S,C.length):(U=C,C=[0]);let J=[];for(C.length>=i.lgSize&&J.unshift(C.splice(-i.lgSize,C.length).join(""));C.length>i.gSize;)J.unshift(C.splice(-i.gSize,C.length).join(""));C.length&&J.unshift(C.join("")),u=J.join(L(t,n)),U.length&&(u+=L(t,r)+U.join("")),H&&(u+=L(t,E.Exponential)+"+"+H)}return e<0&&!D?u=i.negPre+u+i.negSuf:u=i.posPre+u+i.posSuf,u}function _n(e,i,t,n,r){let s=ke(i,he.Currency),o=xe(s,L(i,E.MinusSign));return o.minFrac=un(n),o.maxFrac=o.minFrac,$e(e,o,i,E.CurrencyGroup,E.CurrencyDecimal,r).replace(wt,t).replace(wt,"").trim()}function bn(e,i,t){let n=ke(i,he.Percent),r=xe(n,L(i,E.MinusSign));return $e(e,r,i,E.Group,E.Decimal,t,!0).replace(new RegExp(Sn,"g"),L(i,E.PercentSign))}function vn(e,i,t){let n=ke(i,he.Decimal),r=xe(n,L(i,E.MinusSign));return $e(e,r,i,E.Group,E.Decimal,t)}function xe(e,i="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(wn),r=n[0],s=n[1],o=r.indexOf(de)!==-1?r.split(de):[r.substring(0,r.lastIndexOf(X)+1),r.substring(r.lastIndexOf(X)+1)],u=o[0],D=o[1]||"";t.posPre=u.substring(0,u.indexOf(be));for(let m=0;m<D.length;m++){let c=D.charAt(m);c===X?t.minFrac=t.maxFrac=m+1:c===be?t.maxFrac=m+1:t.posSuf+=c}let p=u.split(An);if(t.gSize=p[1]?p[1].length:0,t.lgSize=p[2]||p[1]?(p[2]||p[1]).length:0,s){let m=r.length-t.posPre.length-t.posSuf.length,c=s.indexOf(be);t.negPre=s.substring(0,c).replace(/'/g,""),t.negSuf=s.slice(c+m).replace(/'/g,"")}else t.negPre=i+t.posPre,t.negSuf=t.posSuf;return t}function In(e){if(e.digits[0]===0)return e;let i=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(i===0?e.digits.push(0,0):i===1&&e.digits.push(0),e.integerLen+=2),e}function Mn(e){let i=Math.abs(e)+"",t=0,n,r,s,o,u;for((r=i.indexOf(de))>-1&&(i=i.replace(de,"")),(s=i.search(/e/i))>0?(r<0&&(r=s),r+=+i.slice(s+1),i=i.substring(0,s)):r<0&&(r=i.length),s=0;i.charAt(s)===X;s++);if(s===(u=i.length))n=[0],r=1;else{for(u--;i.charAt(u)===X;)u--;for(r-=s,n=[],o=0;s<=u;s++,o++)n[o]=Number(i.charAt(s))}return r>yt&&(n=n.splice(0,yt-1),t=r-1,r=1),{digits:n,exponent:t,integerLen:r}}function Ln(e,i,t){if(i>t)throw new Error(`The minimum number of digits after fraction (${i}) is higher than the maximum (${t}).`);let n=e.digits,r=n.length-e.integerLen,s=Math.min(Math.max(i,r),t),o=s+e.integerLen,u=n[o];if(o>0){n.splice(Math.max(e.integerLen,o));for(let c=o;c<n.length;c++)n[c]=0}else{r=Math.max(0,r),e.integerLen=1,n.length=Math.max(1,o=s+1),n[0]=0;for(let c=1;c<o;c++)n[c]=0}if(u>=5)if(o-1<0){for(let c=0;c>o;c--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[o-1]++;for(;r<Math.max(0,s);r++)n.push(0);let D=s!==0,p=i+e.integerLen,m=n.reduceRight(function(c,w,C,S){return w=w+c,S[C]=w<10?w:w-10,D&&(S[C]===0&&C>=p?S.pop():D=!1),w>=10?1:0},0);m&&(n.unshift(m),e.integerLen++)}function ve(e){let i=parseInt(e);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+e);return i}var Ue=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:function(n){let r=null;return n?r=new n:r=(s=>new Bn(s))(T(z)),r},providedIn:"root"})}return e})();function kt(e,i,t,n){let r=`=${e}`;if(i.indexOf(r)>-1||(r=t.getPluralCategory(e,n),i.indexOf(r)>-1))return r;if(i.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}var Bn=(()=>{class e extends Ue{locale;constructor(t){super(),this.locale=t}getPluralCategory(t,n){switch(tn(n||this.locale)(t)){case G.Zero:return"zero";case G.One:return"one";case G.Two:return"two";case G.Few:return"few";case G.Many:return"many";default:return"other"}}static \u0275fac=function(n){return new(n||e)(T(z))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();function Pi(e,i,t){return lt(e,i,t)}function Ni(e,i){i=encodeURIComponent(i);for(let t of e.split(";")){let n=t.indexOf("="),[r,s]=n==-1?[t,""]:[t.slice(0,n),t.slice(n+1)];if(r.trim()===i)return decodeURIComponent(s)}return null}var Ie=/\s+/,At=[],ki=(()=>{class e{_ngEl;_renderer;initialClasses=At;rawClass;stateMap=new Map;constructor(t,n){this._ngEl=t,this._renderer=n}set klass(t){this.initialClasses=t!=null?t.trim().split(Ie):At}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Ie):t}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,!0);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff()}_updateState(t,n){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(t,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],r=t[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(t,n){t=t.trim(),t.length>0&&t.split(Ie).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||e)(a(Z),a(W))};static \u0275dir=I({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),$i=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=st(this.ngComponentOutletNgModule,St(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(St(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[n,r]of this._inputsUsed)r?(t.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(t.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||e)(a(x))};static \u0275dir=I({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[Q]})}return e})();function St(e){return e.get(rt).injector}var Me=class{$implicit;ngForOf;index;count;constructor(i,t,n,r){this.$implicit=i,this.ngForOf=t,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},xi=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,n,r){this._viewContainer=t,this._template=n,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;if(!this._differ&&t)if(0)try{}catch{}else this._differ=this._differs.find(t).create(this.ngForTrackBy)}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let n=this._viewContainer;t.forEachOperation((r,s,o)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new Me(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)n.remove(s===null?void 0:s);else if(s!==null){let u=n.get(s);n.move(u,o),_t(u,r)}});for(let r=0,s=n.length;r<s;r++){let u=n.get(r).context;u.index=r,u.count=s,u.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{let s=n.get(r.currentIndex);_t(s,r)})}static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(a(x),a(j),a(pt))};static \u0275dir=I({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function _t(e,i){e.context.$implicit=i.item}var Ui=(()=>{class e{_viewContainer;_context=new Le;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,n){this._viewContainer=t,this._thenTemplateRef=n}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){bt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){bt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(a(x),a(j))};static \u0275dir=I({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Le=class{$implicit=null;ngIf=null};function bt(e,i){if(!!!(!i||i.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Ke(i)}'.`)}var q=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,t){this._viewContainerRef=i,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},$t=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){let n=t===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let n of this._defaultViews)n.enforceState(t)}}static \u0275fac=function(n){return new(n||e)};static \u0275dir=I({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),zi=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(t,n,r){this.ngSwitch=r,r._addCase(),this._view=new q(t,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||e)(a(x),a(j),a($t,9))};static \u0275dir=I({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),Vi=(()=>{class e{constructor(t,n,r){r._addDefault(new q(t,n))}static \u0275fac=function(n){return new(n||e)(a(x),a(j),a($t,9))};static \u0275dir=I({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})();var On=(()=>{class e{_localization;_activeView;_caseViews={};constructor(t){this._localization=t}set ngPlural(t){this._updateView(t)}addCase(t,n){this._caseViews[t]=n}_updateView(t){this._clearViews();let n=Object.keys(this._caseViews),r=kt(t,n,this._localization);this._activateView(this._caseViews[r])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(t){t&&(this._activeView=t,this._activeView.create())}static \u0275fac=function(n){return new(n||e)(a(Ue))};static \u0275dir=I({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}})}return e})(),ji=(()=>{class e{value;constructor(t,n,r,s){this.value=t;let o=!isNaN(Number(t));s.addCase(o?`=${t}`:t,new q(r,n))}static \u0275fac=function(n){return new(n||e)(qe("ngPluralCase"),a(j),a(x),a(On,1))};static \u0275dir=I({type:e,selectors:[["","ngPluralCase",""]]})}return e})(),Gi=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,n,r){this._ngEl=t,this._differs=n,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,n){let[r,s]=t.split("."),o=r.indexOf("-")===-1?void 0:it.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${n}${s}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||e)(a(Z),a(Fe),a(W))};static \u0275dir=I({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Hi=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(t,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||e)(a(x))};static \u0275dir=I({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Q]})}return e})();function R(e,i){return new Y(2100,!1)}var Be=class{createSubscription(i,t){return ye(()=>i.subscribe({next:t,error:n=>{throw n}}))}dispose(i){ye(()=>i.unsubscribe())}},Oe=class{createSubscription(i,t){return i.then(t,n=>{throw n})}dispose(i){}},Rn=new Oe,Tn=new Be,Yi=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,n=>this._updateLatestValue(t,n))}_selectStrategy(t){if(at(t))return Rn;if(ct(t))return Tn;throw R(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,n){t===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||e)(a(ee,16))};static \u0275pipe=b({name:"async",type:e,pure:!1})}return e})(),Zi=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw R(e,t);return t.toLowerCase()}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=b({name:"lowercase",type:e,pure:!0})}return e})(),Pn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,Wi=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw R(e,t);return t.replace(Pn,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=b({name:"titlecase",type:e,pure:!0})}return e})(),Ki=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw R(e,t);return t.toUpperCase()}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=b({name:"uppercase",type:e,pure:!0})}return e})(),Nn="mediumDate",kn=new P(""),$n=new P(""),Xi=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,n,r){this.locale=t,this.defaultTimezone=n,this.defaultOptions=r}transform(t,n,r,s){if(t==null||t===""||t!==t)return null;try{let o=n??this.defaultOptions?.dateFormat??Nn,u=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return dn(t,o,s||this.locale,u)}catch(o){throw R(e,o.message)}}static \u0275fac=function(n){return new(n||e)(a(z,16),a(kn,24),a($n,24))};static \u0275pipe=b({name:"date",type:e,pure:!0})}return e})(),xn=/#/g,qi=(()=>{class e{_localization;constructor(t){this._localization=t}transform(t,n,r){if(t==null)return"";if(typeof n!="object"||n===null)throw R(e,n);let s=kt(t,Object.keys(n),this._localization,r);return n[s].replace(xn,t.toString())}static \u0275fac=function(n){return new(n||e)(a(Ue,16))};static \u0275pipe=b({name:"i18nPlural",type:e,pure:!0})}return e})(),Ji=(()=>{class e{transform(t,n){if(t==null)return"";if(typeof n!="object"||typeof t!="string")throw R(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=b({name:"i18nSelect",type:e,pure:!0})}return e})(),Qi=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=b({name:"json",type:e,pure:!1})}return e})();function Un(e,i){return{key:e,value:i}}var er=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=vt;transform(t,n=vt){if(!t||!(t instanceof Map)&&typeof t!="object")return null;this.differ??=this.differs.find(t).create();let r=this.differ.diff(t),s=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(Un(o.key,o.currentValue))})),(r||s)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||e)(a(Fe,16))};static \u0275pipe=b({name:"keyvalue",type:e,pure:!1})}return e})();function vt(e,i){let t=e.key,n=i.key;if(t===n)return 0;if(t===void 0)return 1;if(n===void 0)return-1;if(t===null)return 1;if(n===null)return-1;if(typeof t=="string"&&typeof n=="string")return t<n?-1:1;if(typeof t=="number"&&typeof n=="number")return t-n;if(typeof t=="boolean"&&typeof n=="boolean")return t<n?-1:1;let r=String(t),s=String(n);return r==s?0:r<s?-1:1}var tr=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!ze(t))return null;r||=this._locale;try{let s=Ve(t);return vn(s,r,n)}catch(s){throw R(e,s.message)}}static \u0275fac=function(n){return new(n||e)(a(z,16))};static \u0275pipe=b({name:"number",type:e,pure:!0})}return e})(),nr=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!ze(t))return null;r||=this._locale;try{let s=Ve(t);return bn(s,r,n)}catch(s){throw R(e,s.message)}}static \u0275fac=function(n){return new(n||e)(a(z,16))};static \u0275pipe=b({name:"percent",type:e,pure:!0})}return e})(),ir=(()=>{class e{_locale;_defaultCurrencyCode;constructor(t,n="USD"){this._locale=t,this._defaultCurrencyCode=n}transform(t,n=this._defaultCurrencyCode,r="symbol",s,o){if(!ze(t))return null;o||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let u=n||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?u=sn(u,r==="symbol"?"wide":"narrow",o):u=r);try{let D=Ve(t);return _n(D,o,u,n,s)}catch(D){throw R(e,D.message)}}static \u0275fac=function(n){return new(n||e)(a(z,16),a(Dt,16))};static \u0275pipe=b({name:"currency",type:e,pure:!0})}return e})();function ze(e){return!(e==null||e===""||e!==e)}function Ve(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var rr=(()=>{class e{transform(t,n,r){if(t==null)return null;if(!this.supports(t))throw R(e,t);return t.slice(n,r)}supports(t){return typeof t=="string"||Array.isArray(t)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=b({name:"slice",type:e,pure:!1})}return e})();var sr=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ot({type:e});static \u0275inj=Xe({})}return e})(),zn="browser",Vn="server";function jn(e){return e===zn}function Gn(e){return e===Vn}var or=new gt("19.0.1"),ur=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>jn(A(me))?new Re(A(le),window):new Te})}return e})(),Re=class{document;window;offset=()=>[0,0];constructor(i,t){this.document=i,this.window=t}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i){this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){let t=Hn(this.document,i);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(i){this.window.history.scrollRestoration=i}scrollToElement(i){let t=i.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}};function Hn(e,i){let t=e.getElementById(i)||e.getElementsByName(i)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let s=r.shadowRoot;if(s){let o=s.getElementById(i)||s.querySelector(`[name="${i}"]`);if(o)return o}r=n.nextNode()}}return null}var Te=class{setOffset(i){}getScrollPosition(){return[0,0]}scrollToPosition(i){}scrollToAnchor(i){}setHistoryScrollRestoration(i){}},It=class{},ge="20";function xt(e){return/^https?:\/\//.test(e)}function Ut(e){if(!(typeof e=="string")||e.trim()==="")return!1;try{let t=new URL(e);return!0}catch{return!1}}function Yn(e){return e.endsWith("/")?e.slice(0,-1):e}function Zn(e){return e.startsWith("/")?e.slice(1):e}var zt=e=>e.src,je=new P("",{providedIn:"root",factory:()=>zt});function De(e,i){return function(n){return Ut(n)||Wn(n,i||[]),n=Yn(n),[{provide:je,useValue:o=>(xt(o.src)&&Kn(n,o.src),e(n,Ze(Ye({},o),{src:Zn(o.src)})))}]}}function Wn(e,i){throw new Y(2959,!1)}function Kn(e,i){throw new Y(2959,!1)}var ar=De(Xn,void 0);function Xn(e,i){let t="format=auto";return i.width&&(t+=`,width=${i.width}`),i.isPlaceholder&&(t+=`,quality=${ge}`),`${e}/cdn-cgi/image/${t}/${i.src}`}var cr=De(qn,void 0);function qn(e,i){let n=`f_auto,${i.isPlaceholder?"q_auto:low":"q_auto"}`;return i.width&&(n+=`,w_${i.width}`),i.loaderParams?.rounded&&(n+=",r_max"),`${e}/image/upload/${n}/${i.src}`}var dr=De(Jn,void 0);function Jn(e,i){let{src:t,width:n}=i,r=[];n&&r.push(`w-${n}`),i.isPlaceholder&&r.push(`q-${ge}`);let s=r.length?[e,`tr:${r.join(",")}`,t]:[e,t];return new URL(s.join("/")).href}var lr=De(Qn,void 0);function Qn(e,i){let t=new URL(`${e}/${i.src}`);return t.searchParams.set("auto","format"),i.width&&t.searchParams.set("w",i.width.toString()),i.isPlaceholder&&t.searchParams.set("q",ge),t.href}function fr(e){if(e&&!Ut(e))throw new Y(2959,!1);return e&&(e=new URL(e).origin),[{provide:je,useValue:n=>ei(n,e)}]}var Mt=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]);function ei(e,i){let t=new URL(i??"https://a/");t.pathname="/.netlify/images",!xt(e.src)&&!e.src.startsWith("/")&&(e.src="/"+e.src),t.searchParams.set("url",e.src),e.width&&t.searchParams.set("w",e.width.toString());let n=e.loaderParams?.quality??e.loaderParams?.q;e.isPlaceholder&&!n&&t.searchParams.set("q",ge);for(let[r,s]of Object.entries(e.loaderParams??{}))Mt.has(r)&&t.searchParams.set(Mt.get(r),s.toString());return t.hostname==="a"?t.href.replace(t.origin,""):t.href}var hr=new P("");var ti=new P("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),ni=(()=>{class e{preloadedImages=A(ti);document=A(le);createPreloadLinkTag(t,n,r,s){if(this.preloadedImages.has(n))return;this.preloadedImages.add(n);let o=t.createElement("link");t.setAttribute(o,"as","image"),t.setAttribute(o,"href",n),t.setAttribute(o,"rel","preload"),t.setAttribute(o,"fetchpriority","high"),s&&t.setAttribute(o,"imageSizes",s),r&&t.setAttribute(o,"imageSrcset",r),t.appendChild(this.document.head,o)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Lt=/^((\s*\d+w\s*(,|$)){1,})$/;var ii=[1,2],ri=640;var si=1920,oi=1080;var gr=(()=>{class e{imageLoader=A(je);config=ui(A(Ce));renderer=A(W);imgElement=A(Z).nativeElement;injector=A(Je);isServer=Gn(A(me));preloadLinkCreator=A(ni);lcpObserver=null;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;ngOnInit(){tt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&Lt.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw"),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),t,this.sizes)}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0);let r=this._renderedSrc;this.lcpObserver!==null&&n&&r&&n!==r&&this.injector.get(Qe).runOutsideAngular(()=>{this.lcpObserver?.updateImage(n,r)})}}callImageLoader(t){let n=t;return this.loaderParams&&(n.loaderParams=this.loaderParams),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=Lt.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let s=t?parseFloat(r):parseFloat(r)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,n=t;return this.sizes?.trim()==="100vw"&&(n=t.filter(s=>s>=ri)),n.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return ii.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>si||this.height>oi),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==zt&&!t}generatePlaceholder(t){let{placeholderResolution:n}=this.config;return t===!0?`url(${this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0})})`:typeof t=="string"?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let n=()=>{let o=this.injector.get(ee);r(),s(),this.placeholder=!1,o.markForCheck()},r=this.renderer.listen(t,"load",n),s=this.renderer.listen(t,"error",n);ai(t,n)}ngOnDestroy(){}setHostAttribute(t,n){this.renderer.setAttribute(this.imgElement,t,n)}static \u0275fac=function(n){return new(n||e)};static \u0275dir=I({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,r){n&2&&dt("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",ci],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Ee],height:[2,"height","height",Ee],loading:"loading",priority:[2,"priority","priority",K],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",K],fill:[2,"fill","fill",K],placeholder:[2,"placeholder","placeholder",di],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[ut,Q]})}return e})();function ui(e){let i={};return e.breakpoints&&(i.breakpoints=e.breakpoints.sort((t,n)=>t-n)),Object.assign({},et,e,i)}function ai(e,i){e.complete&&e.naturalWidth&&i()}function ci(e){return typeof e=="string"?e:nt(e)}function di(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:K(e)}export{we as a,_i as b,mt as c,bi as d,le as e,Pe as f,vi as g,Vt as h,k as i,fe as j,Ot as k,jt as l,Ii as m,Gt as n,he as o,G as p,_ as q,h as r,M as s,E as t,Wt as u,Kt as v,Xt as w,qt as x,Jt as y,Qt as z,Mi as A,Li as B,te as C,ne as D,ie as E,L as F,ke as G,Bi as H,Oi as I,Ri as J,tn as K,nn as L,rn as M,Ti as N,sn as O,un as P,dn as Q,_n as R,bn as S,vn as T,Ue as U,Bn as V,Pi as W,Ni as X,ki as Y,$i as Z,Me as _,xi as $,Ui as aa,Le as ba,$t as ca,zi as da,Vi as ea,On as fa,ji as ga,Gi as ha,Hi as ia,Yi as ja,Zi as ka,Wi as la,Ki as ma,kn as na,$n as oa,Xi as pa,qi as qa,Ji as ra,Qi as sa,er as ta,tr as ua,nr as va,ir as wa,rr as xa,sr as ya,zn as za,Vn as Aa,jn as Ba,Gn as Ca,or as Da,ur as Ea,Te as Fa,It as Ga,je as Ha,ar as Ia,cr as Ja,dr as Ka,lr as La,fr as Ma,hr as Na,gr as Oa};
|
|
1
|
+
import{Aa as tt,Ac as Dt,Bc as ee,Cc as pt,Da as nt,Dc as Fe,Fc as K,Gc as Ee,Ic as ye,Lb as lt,Mb as y,Nb as ft,O as Y,Ob as ht,P as Ke,Pb as f,Qa as it,R as v,S as Xe,Sa as a,U as P,Ua as j,W as T,Wa as W,X as A,Xa as x,bb as rt,da as Q,db as st,g as We,gb as ot,hb as I,ia as qe,ib as b,ja as Je,kb as ut,na as Qe,nb as at,ob as ct,sa as Z,wa as me,wb as dt,wc as gt,ya as et,za as Ce,zc as z}from"./chunk-6RDPRL5W.js";import{a as Ye,b as Ze}from"./chunk-7CGTOI24.js";var Bt=null;function we(){return Bt}function _i(e){Bt??=e}var mt=class{},bi=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:()=>window.navigation,providedIn:"platform"})}return e})(),le=new P(""),Pe=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:()=>A(Vt),providedIn:"platform"})}return e})(),vi=new P(""),Vt=(()=>{class e extends Pe{_location;_history;_doc=A(le);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return we().getBaseHref(this._doc)}onPopState(t){let n=we().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=we().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",t,!1),()=>n.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,n,r){this._history.pushState(t,n,r)}replaceState(t,n,r){this._history.replaceState(t,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Ne(e,i){if(e.length==0)return i;if(i.length==0)return e;let t=0;return e.endsWith("/")&&t++,i.startsWith("/")&&t++,t==2?e+i.substring(1):t==1?e+i:e+"/"+i}function Ct(e){let i=e.match(/#|\?|$/),t=i&&i.index||e.length,n=t-(e[t-1]==="/"?1:0);return e.slice(0,n)+e.slice(t)}function k(e){return e&&e[0]!=="?"?"?"+e:e}var fe=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:()=>A(jt),providedIn:"root"})}return e})(),Ot=new P(""),jt=(()=>{class e extends fe{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??A(le).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Ne(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+k(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${n}${r}`:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+k(s));this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+k(s));this._platformLocation.replaceState(t,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(T(Pe),T(Ot,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ii=(()=>{class e extends fe{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=Ne(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,r,s){let o=this.prepareExternalUrl(r+k(s));o.length==0&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,n,o)}replaceState(t,n,r,s){let o=this.prepareExternalUrl(r+k(s));o.length==0&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||e)(T(Pe),T(Ot,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Gt=(()=>{class e{_subject=new We;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=Zt(Ct(Ft(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+k(n))}normalize(t){return e.stripTrailingSlash(Yt(this._basePath,Ft(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",r=null){this._locationStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+k(n)),r)}replaceState(t,n="",r=null){this._locationStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+k(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(r=>r(t,n))}subscribe(t,n,r){return this._subject.subscribe({next:t,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=k;static joinWithSlash=Ne;static stripTrailingSlash=Ct;static \u0275fac=function(n){return new(n||e)(T(fe))};static \u0275prov=v({token:e,factory:()=>Ht(),providedIn:"root"})}return e})();function Ht(){return new Gt(T(fe))}function Yt(e,i){if(!e||!i.startsWith(e))return i;let t=i.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:i}function Ft(e){return e.replace(/\/index.html$/,"")}function Zt(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var Rt={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},he=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(he||{}),G=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}(G||{}),_=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(_||{}),h=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(h||{}),M=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(M||{}),E={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13},Wt=function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e}(Wt||{});function Kt(e){return y(e)[f.LocaleId]}function Xt(e,i,t){let n=y(e),r=[n[f.DayPeriodsFormat],n[f.DayPeriodsStandalone]],s=B(r,i);return B(s,t)}function qt(e,i,t){let n=y(e),r=[n[f.DaysFormat],n[f.DaysStandalone]],s=B(r,i);return B(s,t)}function Jt(e,i,t){let n=y(e),r=[n[f.MonthsFormat],n[f.MonthsStandalone]],s=B(r,i);return B(s,t)}function Qt(e,i){let n=y(e)[f.Eras];return B(n,i)}function Mi(e){return y(e)[f.FirstDayOfWeek]}function Li(e){return y(e)[f.WeekendRange]}function te(e,i){let t=y(e);return B(t[f.DateFormat],i)}function ne(e,i){let t=y(e);return B(t[f.TimeFormat],i)}function ie(e,i){let n=y(e)[f.DateTimeFormat];return B(n,i)}function L(e,i){let t=y(e),n=t[f.NumberSymbols][i];if(typeof n>"u"){if(i===E.CurrencyDecimal)return t[f.NumberSymbols][E.Decimal];if(i===E.CurrencyGroup)return t[f.NumberSymbols][E.Group]}return n}function ke(e,i){return y(e)[f.NumberFormats][i]}function Bi(e){return y(e)[f.CurrencySymbol]||null}function Oi(e){return y(e)[f.CurrencyName]||null}function Ri(e){return ft(e)}function en(e){return y(e)[f.Currencies]}var tn=ht;function Tt(e){if(!e[f.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[f.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function nn(e){let i=y(e);return Tt(i),(i[f.ExtraData][2]||[]).map(n=>typeof n=="string"?Ae(n):[Ae(n[0]),Ae(n[1])])}function rn(e,i,t){let n=y(e);Tt(n);let r=[n[f.ExtraData][0],n[f.ExtraData][1]],s=B(r,i)||[];return B(s,t)||[]}function Ti(e){return y(e)[f.Directionality]}function B(e,i){for(let t=i;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function Ae(e){let[i,t]=e.split(":");return{hours:+i,minutes:+t}}function sn(e,i,t="en"){let n=en(t)[e]||Rt[e]||[],r=n[1];return i==="narrow"&&typeof r=="string"?r:n[0]||e}var on=2;function un(e){let i,t=Rt[e];return t&&(i=t[2]),typeof i=="number"?i:on}var an=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,re={},cn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,$=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}($||{}),l=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(l||{}),d=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(d||{});function dn(e,i,t,n){let r=Fn(e);i=N(t,i)||i;let o=[],u;for(;i;)if(u=cn.exec(i),u){o=o.concat(u.slice(1));let m=o.pop();if(!m)break;i=m}else{o.push(i);break}let D=r.getTimezoneOffset();n&&(D=Nt(n,D),r=Cn(r,n,!0));let p="";return o.forEach(m=>{let c=pn(m);p+=c?c(r,t,D):m==="''"?"'":m.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),p}function ce(e,i,t){let n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function N(e,i){let t=Kt(e);if(re[t]??={},re[t][i])return re[t][i];let n="";switch(i){case"shortDate":n=te(e,M.Short);break;case"mediumDate":n=te(e,M.Medium);break;case"longDate":n=te(e,M.Long);break;case"fullDate":n=te(e,M.Full);break;case"shortTime":n=ne(e,M.Short);break;case"mediumTime":n=ne(e,M.Medium);break;case"longTime":n=ne(e,M.Long);break;case"fullTime":n=ne(e,M.Full);break;case"short":let r=N(e,"shortTime"),s=N(e,"shortDate");n=se(ie(e,M.Short),[r,s]);break;case"medium":let o=N(e,"mediumTime"),u=N(e,"mediumDate");n=se(ie(e,M.Medium),[o,u]);break;case"long":let D=N(e,"longTime"),p=N(e,"longDate");n=se(ie(e,M.Long),[D,p]);break;case"full":let m=N(e,"fullTime"),c=N(e,"fullDate");n=se(ie(e,M.Full),[m,c]);break}return n&&(re[t][i]=n),n}function se(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return i!=null&&n in i?i[n]:t})),e}function O(e,i,t="-",n,r){let s="";(e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,s=t));let o=String(e);for(;o.length<i;)o="0"+o;return n&&(o=o.slice(o.length-i)),s+o}function ln(e,i){return O(e,3).substring(0,i)}function F(e,i,t=0,n=!1,r=!1){return function(s,o){let u=fn(e,s);if((t>0||u>-t)&&(u+=t),e===l.Hours)u===0&&t===-12&&(u=12);else if(e===l.FractionalSeconds)return ln(u,i);let D=L(o,E.MinusSign);return O(u,i,D,n,r)}}function fn(e,i){switch(e){case l.FullYear:return i.getFullYear();case l.Month:return i.getMonth();case l.Date:return i.getDate();case l.Hours:return i.getHours();case l.Minutes:return i.getMinutes();case l.Seconds:return i.getSeconds();case l.FractionalSeconds:return i.getMilliseconds();case l.Day:return i.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function g(e,i,t=_.Format,n=!1){return function(r,s){return hn(r,s,e,i,t,n)}}function hn(e,i,t,n,r,s){switch(t){case d.Months:return Jt(i,r,n)[e.getMonth()];case d.Days:return qt(i,r,n)[e.getDay()];case d.DayPeriods:let o=e.getHours(),u=e.getMinutes();if(s){let p=nn(i),m=rn(i,r,n),c=p.findIndex(w=>{if(Array.isArray(w)){let[C,S]=w,H=o>=C.hours&&u>=C.minutes,U=o<S.hours||o===S.hours&&u<S.minutes;if(C.hours<S.hours){if(H&&U)return!0}else if(H||U)return!0}else if(w.hours===o&&w.minutes===u)return!0;return!1});if(c!==-1)return m[c]}return Xt(i,r,n)[o<12?0:1];case d.Eras:return Qt(i,n)[e.getFullYear()<=0?0:1];default:let D=t;throw new Error(`unexpected translation type ${D}`)}}function oe(e){return function(i,t,n){let r=-1*n,s=L(t,E.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case $.Short:return(r>=0?"+":"")+O(o,2,s)+O(Math.abs(r%60),2,s);case $.ShortGMT:return"GMT"+(r>=0?"+":"")+O(o,1,s);case $.Long:return"GMT"+(r>=0?"+":"")+O(o,2,s)+":"+O(Math.abs(r%60),2,s);case $.Extended:return n===0?"Z":(r>=0?"+":"")+O(o,2,s)+":"+O(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}var gn=0,ae=4;function Dn(e){let i=ce(e,gn,1).getDay();return ce(e,0,1+(i<=ae?ae:ae+7)-i)}function Pt(e){let i=e.getDay(),t=i===0?-3:ae-i;return ce(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Se(e,i=!1){return function(t,n){let r;if(i){let s=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,o=t.getDate();r=1+Math.floor((o+s)/7)}else{let s=Pt(t),o=Dn(s.getFullYear()),u=s.getTime()-o.getTime();r=1+Math.round(u/6048e5)}return O(r,e,L(n,E.MinusSign))}}function ue(e,i=!1){return function(t,n){let s=Pt(t).getFullYear();return O(s,e,L(n,E.MinusSign),i)}}var _e={};function pn(e){if(_e[e])return _e[e];let i;switch(e){case"G":case"GG":case"GGG":i=g(d.Eras,h.Abbreviated);break;case"GGGG":i=g(d.Eras,h.Wide);break;case"GGGGG":i=g(d.Eras,h.Narrow);break;case"y":i=F(l.FullYear,1,0,!1,!0);break;case"yy":i=F(l.FullYear,2,0,!0,!0);break;case"yyy":i=F(l.FullYear,3,0,!1,!0);break;case"yyyy":i=F(l.FullYear,4,0,!1,!0);break;case"Y":i=ue(1);break;case"YY":i=ue(2,!0);break;case"YYY":i=ue(3);break;case"YYYY":i=ue(4);break;case"M":case"L":i=F(l.Month,1,1);break;case"MM":case"LL":i=F(l.Month,2,1);break;case"MMM":i=g(d.Months,h.Abbreviated);break;case"MMMM":i=g(d.Months,h.Wide);break;case"MMMMM":i=g(d.Months,h.Narrow);break;case"LLL":i=g(d.Months,h.Abbreviated,_.Standalone);break;case"LLLL":i=g(d.Months,h.Wide,_.Standalone);break;case"LLLLL":i=g(d.Months,h.Narrow,_.Standalone);break;case"w":i=Se(1);break;case"ww":i=Se(2);break;case"W":i=Se(1,!0);break;case"d":i=F(l.Date,1);break;case"dd":i=F(l.Date,2);break;case"c":case"cc":i=F(l.Day,1);break;case"ccc":i=g(d.Days,h.Abbreviated,_.Standalone);break;case"cccc":i=g(d.Days,h.Wide,_.Standalone);break;case"ccccc":i=g(d.Days,h.Narrow,_.Standalone);break;case"cccccc":i=g(d.Days,h.Short,_.Standalone);break;case"E":case"EE":case"EEE":i=g(d.Days,h.Abbreviated);break;case"EEEE":i=g(d.Days,h.Wide);break;case"EEEEE":i=g(d.Days,h.Narrow);break;case"EEEEEE":i=g(d.Days,h.Short);break;case"a":case"aa":case"aaa":i=g(d.DayPeriods,h.Abbreviated);break;case"aaaa":i=g(d.DayPeriods,h.Wide);break;case"aaaaa":i=g(d.DayPeriods,h.Narrow);break;case"b":case"bb":case"bbb":i=g(d.DayPeriods,h.Abbreviated,_.Standalone,!0);break;case"bbbb":i=g(d.DayPeriods,h.Wide,_.Standalone,!0);break;case"bbbbb":i=g(d.DayPeriods,h.Narrow,_.Standalone,!0);break;case"B":case"BB":case"BBB":i=g(d.DayPeriods,h.Abbreviated,_.Format,!0);break;case"BBBB":i=g(d.DayPeriods,h.Wide,_.Format,!0);break;case"BBBBB":i=g(d.DayPeriods,h.Narrow,_.Format,!0);break;case"h":i=F(l.Hours,1,-12);break;case"hh":i=F(l.Hours,2,-12);break;case"H":i=F(l.Hours,1);break;case"HH":i=F(l.Hours,2);break;case"m":i=F(l.Minutes,1);break;case"mm":i=F(l.Minutes,2);break;case"s":i=F(l.Seconds,1);break;case"ss":i=F(l.Seconds,2);break;case"S":i=F(l.FractionalSeconds,1);break;case"SS":i=F(l.FractionalSeconds,2);break;case"SSS":i=F(l.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":i=oe($.Short);break;case"ZZZZZ":i=oe($.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=oe($.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":i=oe($.Long);break;default:return null}return _e[e]=i,i}function Nt(e,i){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function mn(e,i){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+i),e}function Cn(e,i,t){let n=t?-1:1,r=e.getTimezoneOffset(),s=Nt(i,r);return mn(e,n*(s-r))}function Fn(e){if(Et(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[r,s=1,o=1]=e.split("-").map(u=>+u);return ce(r,s-1,o)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(an))return En(n)}let i=new Date(e);if(!Et(i))throw new Error(`Unable to convert "${e}" into a date`);return i}function En(e){let i=new Date(0),t=0,n=0,r=e[8]?i.setUTCFullYear:i.setFullYear,s=e[8]?i.setUTCHours:i.setHours;e[9]&&(t=Number(e[9]+e[10]),n=Number(e[9]+e[11])),r.call(i,Number(e[1]),Number(e[2])-1,Number(e[3]));let o=Number(e[4]||0)-t,u=Number(e[5]||0)-n,D=Number(e[6]||0),p=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return s.call(i,o,u,D,p),i}function Et(e){return e instanceof Date&&!isNaN(e.valueOf())}var yn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,yt=22,de=".",X="0",wn=";",An=",",be="#",wt="\xA4",Sn="%";function $e(e,i,t,n,r,s,o=!1){let u="",D=!1;if(!isFinite(e))u=L(t,E.Infinity);else{let p=Mn(e);o&&(p=In(p));let m=i.minInt,c=i.minFrac,w=i.maxFrac;if(s){let V=s.match(yn);if(V===null)throw new Error(`${s} is not a valid digit info`);let Ge=V[1],pe=V[3],He=V[5];Ge!=null&&(m=ve(Ge)),pe!=null&&(c=ve(pe)),He!=null?w=ve(He):pe!=null&&c>w&&(w=c)}Ln(p,c,w);let C=p.digits,S=p.integerLen,H=p.exponent,U=[];for(D=C.every(V=>!V);S<m;S++)C.unshift(0);for(;S<0;S++)C.unshift(0);S>0?U=C.splice(S,C.length):(U=C,C=[0]);let J=[];for(C.length>=i.lgSize&&J.unshift(C.splice(-i.lgSize,C.length).join(""));C.length>i.gSize;)J.unshift(C.splice(-i.gSize,C.length).join(""));C.length&&J.unshift(C.join("")),u=J.join(L(t,n)),U.length&&(u+=L(t,r)+U.join("")),H&&(u+=L(t,E.Exponential)+"+"+H)}return e<0&&!D?u=i.negPre+u+i.negSuf:u=i.posPre+u+i.posSuf,u}function _n(e,i,t,n,r){let s=ke(i,he.Currency),o=xe(s,L(i,E.MinusSign));return o.minFrac=un(n),o.maxFrac=o.minFrac,$e(e,o,i,E.CurrencyGroup,E.CurrencyDecimal,r).replace(wt,t).replace(wt,"").trim()}function bn(e,i,t){let n=ke(i,he.Percent),r=xe(n,L(i,E.MinusSign));return $e(e,r,i,E.Group,E.Decimal,t,!0).replace(new RegExp(Sn,"g"),L(i,E.PercentSign))}function vn(e,i,t){let n=ke(i,he.Decimal),r=xe(n,L(i,E.MinusSign));return $e(e,r,i,E.Group,E.Decimal,t)}function xe(e,i="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(wn),r=n[0],s=n[1],o=r.indexOf(de)!==-1?r.split(de):[r.substring(0,r.lastIndexOf(X)+1),r.substring(r.lastIndexOf(X)+1)],u=o[0],D=o[1]||"";t.posPre=u.substring(0,u.indexOf(be));for(let m=0;m<D.length;m++){let c=D.charAt(m);c===X?t.minFrac=t.maxFrac=m+1:c===be?t.maxFrac=m+1:t.posSuf+=c}let p=u.split(An);if(t.gSize=p[1]?p[1].length:0,t.lgSize=p[2]||p[1]?(p[2]||p[1]).length:0,s){let m=r.length-t.posPre.length-t.posSuf.length,c=s.indexOf(be);t.negPre=s.substring(0,c).replace(/'/g,""),t.negSuf=s.slice(c+m).replace(/'/g,"")}else t.negPre=i+t.posPre,t.negSuf=t.posSuf;return t}function In(e){if(e.digits[0]===0)return e;let i=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(i===0?e.digits.push(0,0):i===1&&e.digits.push(0),e.integerLen+=2),e}function Mn(e){let i=Math.abs(e)+"",t=0,n,r,s,o,u;for((r=i.indexOf(de))>-1&&(i=i.replace(de,"")),(s=i.search(/e/i))>0?(r<0&&(r=s),r+=+i.slice(s+1),i=i.substring(0,s)):r<0&&(r=i.length),s=0;i.charAt(s)===X;s++);if(s===(u=i.length))n=[0],r=1;else{for(u--;i.charAt(u)===X;)u--;for(r-=s,n=[],o=0;s<=u;s++,o++)n[o]=Number(i.charAt(s))}return r>yt&&(n=n.splice(0,yt-1),t=r-1,r=1),{digits:n,exponent:t,integerLen:r}}function Ln(e,i,t){if(i>t)throw new Error(`The minimum number of digits after fraction (${i}) is higher than the maximum (${t}).`);let n=e.digits,r=n.length-e.integerLen,s=Math.min(Math.max(i,r),t),o=s+e.integerLen,u=n[o];if(o>0){n.splice(Math.max(e.integerLen,o));for(let c=o;c<n.length;c++)n[c]=0}else{r=Math.max(0,r),e.integerLen=1,n.length=Math.max(1,o=s+1),n[0]=0;for(let c=1;c<o;c++)n[c]=0}if(u>=5)if(o-1<0){for(let c=0;c>o;c--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[o-1]++;for(;r<Math.max(0,s);r++)n.push(0);let D=s!==0,p=i+e.integerLen,m=n.reduceRight(function(c,w,C,S){return w=w+c,S[C]=w<10?w:w-10,D&&(S[C]===0&&C>=p?S.pop():D=!1),w>=10?1:0},0);m&&(n.unshift(m),e.integerLen++)}function ve(e){let i=parseInt(e);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+e);return i}var Ue=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:function(n){let r=null;return n?r=new n:r=(s=>new Bn(s))(T(z)),r},providedIn:"root"})}return e})();function kt(e,i,t,n){let r=`=${e}`;if(i.indexOf(r)>-1||(r=t.getPluralCategory(e,n),i.indexOf(r)>-1))return r;if(i.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}var Bn=(()=>{class e extends Ue{locale;constructor(t){super(),this.locale=t}getPluralCategory(t,n){switch(tn(n||this.locale)(t)){case G.Zero:return"zero";case G.One:return"one";case G.Two:return"two";case G.Few:return"few";case G.Many:return"many";default:return"other"}}static \u0275fac=function(n){return new(n||e)(T(z))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();function Pi(e,i,t){return lt(e,i,t)}function Ni(e,i){i=encodeURIComponent(i);for(let t of e.split(";")){let n=t.indexOf("="),[r,s]=n==-1?[t,""]:[t.slice(0,n),t.slice(n+1)];if(r.trim()===i)return decodeURIComponent(s)}return null}var Ie=/\s+/,At=[],ki=(()=>{class e{_ngEl;_renderer;initialClasses=At;rawClass;stateMap=new Map;constructor(t,n){this._ngEl=t,this._renderer=n}set klass(t){this.initialClasses=t!=null?t.trim().split(Ie):At}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Ie):t}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,!0);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff()}_updateState(t,n){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(t,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],r=t[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(t,n){t=t.trim(),t.length>0&&t.split(Ie).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||e)(a(Z),a(W))};static \u0275dir=I({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),$i=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=st(this.ngComponentOutletNgModule,St(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(St(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[n,r]of this._inputsUsed)r?(t.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(t.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||e)(a(x))};static \u0275dir=I({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[Q]})}return e})();function St(e){return e.get(rt).injector}var Me=class{$implicit;ngForOf;index;count;constructor(i,t,n,r){this.$implicit=i,this.ngForOf=t,this.index=n,this.count=r}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},xi=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,n,r){this._viewContainer=t,this._template=n,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;if(!this._differ&&t)if(0)try{}catch{}else this._differ=this._differs.find(t).create(this.ngForTrackBy)}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let n=this._viewContainer;t.forEachOperation((r,s,o)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new Me(r.item,this._ngForOf,-1,-1),o===null?void 0:o);else if(o==null)n.remove(s===null?void 0:s);else if(s!==null){let u=n.get(s);n.move(u,o),_t(u,r)}});for(let r=0,s=n.length;r<s;r++){let u=n.get(r).context;u.index=r,u.count=s,u.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{let s=n.get(r.currentIndex);_t(s,r)})}static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(a(x),a(j),a(pt))};static \u0275dir=I({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function _t(e,i){e.context.$implicit=i.item}var Ui=(()=>{class e{_viewContainer;_context=new Le;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,n){this._viewContainer=t,this._thenTemplateRef=n}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){bt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){bt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||e)(a(x),a(j))};static \u0275dir=I({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Le=class{$implicit=null;ngIf=null};function bt(e,i){if(!!!(!i||i.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Ke(i)}'.`)}var q=class{_viewContainerRef;_templateRef;_created=!1;constructor(i,t){this._viewContainerRef=i,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(i){i&&!this._created?this.create():!i&&this._created&&this.destroy()}},$t=(()=>{class e{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){let n=t===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let n of this._defaultViews)n.enforceState(t)}}static \u0275fac=function(n){return new(n||e)};static \u0275dir=I({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return e})(),zi=(()=>{class e{ngSwitch;_view;ngSwitchCase;constructor(t,n,r){this.ngSwitch=r,r._addCase(),this._view=new q(t,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||e)(a(x),a(j),a($t,9))};static \u0275dir=I({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return e})(),Vi=(()=>{class e{constructor(t,n,r){r._addDefault(new q(t,n))}static \u0275fac=function(n){return new(n||e)(a(x),a(j),a($t,9))};static \u0275dir=I({type:e,selectors:[["","ngSwitchDefault",""]]})}return e})();var On=(()=>{class e{_localization;_activeView;_caseViews={};constructor(t){this._localization=t}set ngPlural(t){this._updateView(t)}addCase(t,n){this._caseViews[t]=n}_updateView(t){this._clearViews();let n=Object.keys(this._caseViews),r=kt(t,n,this._localization);this._activateView(this._caseViews[r])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(t){t&&(this._activeView=t,this._activeView.create())}static \u0275fac=function(n){return new(n||e)(a(Ue))};static \u0275dir=I({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}})}return e})(),ji=(()=>{class e{value;constructor(t,n,r,s){this.value=t;let o=!isNaN(Number(t));s.addCase(o?`=${t}`:t,new q(r,n))}static \u0275fac=function(n){return new(n||e)(qe("ngPluralCase"),a(j),a(x),a(On,1))};static \u0275dir=I({type:e,selectors:[["","ngPluralCase",""]]})}return e})(),Gi=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,n,r){this._ngEl=t,this._differs=n,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,n){let[r,s]=t.split("."),o=r.indexOf("-")===-1?void 0:it.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${n}${s}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||e)(a(Z),a(Fe),a(W))};static \u0275dir=I({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Hi=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(t,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||e)(a(x))};static \u0275dir=I({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Q]})}return e})();function R(e,i){return new Y(2100,!1)}var Be=class{createSubscription(i,t){return ye(()=>i.subscribe({next:t,error:n=>{throw n}}))}dispose(i){ye(()=>i.unsubscribe())}},Oe=class{createSubscription(i,t){return i.then(t,n=>{throw n})}dispose(i){}},Rn=new Oe,Tn=new Be,Yi=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,n=>this._updateLatestValue(t,n))}_selectStrategy(t){if(at(t))return Rn;if(ct(t))return Tn;throw R(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,n){t===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||e)(a(ee,16))};static \u0275pipe=b({name:"async",type:e,pure:!1})}return e})(),Zi=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw R(e,t);return t.toLowerCase()}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=b({name:"lowercase",type:e,pure:!0})}return e})(),Pn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,Wi=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw R(e,t);return t.replace(Pn,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=b({name:"titlecase",type:e,pure:!0})}return e})(),Ki=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw R(e,t);return t.toUpperCase()}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=b({name:"uppercase",type:e,pure:!0})}return e})(),Nn="mediumDate",kn=new P(""),$n=new P(""),Xi=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,n,r){this.locale=t,this.defaultTimezone=n,this.defaultOptions=r}transform(t,n,r,s){if(t==null||t===""||t!==t)return null;try{let o=n??this.defaultOptions?.dateFormat??Nn,u=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return dn(t,o,s||this.locale,u)}catch(o){throw R(e,o.message)}}static \u0275fac=function(n){return new(n||e)(a(z,16),a(kn,24),a($n,24))};static \u0275pipe=b({name:"date",type:e,pure:!0})}return e})(),xn=/#/g,qi=(()=>{class e{_localization;constructor(t){this._localization=t}transform(t,n,r){if(t==null)return"";if(typeof n!="object"||n===null)throw R(e,n);let s=kt(t,Object.keys(n),this._localization,r);return n[s].replace(xn,t.toString())}static \u0275fac=function(n){return new(n||e)(a(Ue,16))};static \u0275pipe=b({name:"i18nPlural",type:e,pure:!0})}return e})(),Ji=(()=>{class e{transform(t,n){if(t==null)return"";if(typeof n!="object"||typeof t!="string")throw R(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=b({name:"i18nSelect",type:e,pure:!0})}return e})(),Qi=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=b({name:"json",type:e,pure:!1})}return e})();function Un(e,i){return{key:e,value:i}}var er=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=vt;transform(t,n=vt){if(!t||!(t instanceof Map)&&typeof t!="object")return null;this.differ??=this.differs.find(t).create();let r=this.differ.diff(t),s=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(Un(o.key,o.currentValue))})),(r||s)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||e)(a(Fe,16))};static \u0275pipe=b({name:"keyvalue",type:e,pure:!1})}return e})();function vt(e,i){let t=e.key,n=i.key;if(t===n)return 0;if(t===void 0)return 1;if(n===void 0)return-1;if(t===null)return 1;if(n===null)return-1;if(typeof t=="string"&&typeof n=="string")return t<n?-1:1;if(typeof t=="number"&&typeof n=="number")return t-n;if(typeof t=="boolean"&&typeof n=="boolean")return t<n?-1:1;let r=String(t),s=String(n);return r==s?0:r<s?-1:1}var tr=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!ze(t))return null;r||=this._locale;try{let s=Ve(t);return vn(s,r,n)}catch(s){throw R(e,s.message)}}static \u0275fac=function(n){return new(n||e)(a(z,16))};static \u0275pipe=b({name:"number",type:e,pure:!0})}return e})(),nr=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!ze(t))return null;r||=this._locale;try{let s=Ve(t);return bn(s,r,n)}catch(s){throw R(e,s.message)}}static \u0275fac=function(n){return new(n||e)(a(z,16))};static \u0275pipe=b({name:"percent",type:e,pure:!0})}return e})(),ir=(()=>{class e{_locale;_defaultCurrencyCode;constructor(t,n="USD"){this._locale=t,this._defaultCurrencyCode=n}transform(t,n=this._defaultCurrencyCode,r="symbol",s,o){if(!ze(t))return null;o||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let u=n||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?u=sn(u,r==="symbol"?"wide":"narrow",o):u=r);try{let D=Ve(t);return _n(D,o,u,n,s)}catch(D){throw R(e,D.message)}}static \u0275fac=function(n){return new(n||e)(a(z,16),a(Dt,16))};static \u0275pipe=b({name:"currency",type:e,pure:!0})}return e})();function ze(e){return!(e==null||e===""||e!==e)}function Ve(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var rr=(()=>{class e{transform(t,n,r){if(t==null)return null;if(!this.supports(t))throw R(e,t);return t.slice(n,r)}supports(t){return typeof t=="string"||Array.isArray(t)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=b({name:"slice",type:e,pure:!1})}return e})();var sr=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=ot({type:e});static \u0275inj=Xe({})}return e})(),zn="browser",Vn="server";function jn(e){return e===zn}function Gn(e){return e===Vn}var or=new gt("19.0.1"),ur=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>jn(A(me))?new Re(A(le),window):new Te})}return e})(),Re=class{document;window;offset=()=>[0,0];constructor(i,t){this.document=i,this.window=t}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i){this.window.scrollTo(i[0],i[1])}scrollToAnchor(i){let t=Hn(this.document,i);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(i){this.window.history.scrollRestoration=i}scrollToElement(i){let t=i.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}};function Hn(e,i){let t=e.getElementById(i)||e.getElementsByName(i)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let s=r.shadowRoot;if(s){let o=s.getElementById(i)||s.querySelector(`[name="${i}"]`);if(o)return o}r=n.nextNode()}}return null}var Te=class{setOffset(i){}getScrollPosition(){return[0,0]}scrollToPosition(i){}scrollToAnchor(i){}setHistoryScrollRestoration(i){}},It=class{},ge="20";function xt(e){return/^https?:\/\//.test(e)}function Ut(e){if(!(typeof e=="string")||e.trim()==="")return!1;try{let t=new URL(e);return!0}catch{return!1}}function Yn(e){return e.endsWith("/")?e.slice(0,-1):e}function Zn(e){return e.startsWith("/")?e.slice(1):e}var zt=e=>e.src,je=new P("",{providedIn:"root",factory:()=>zt});function De(e,i){return function(n){return Ut(n)||Wn(n,i||[]),n=Yn(n),[{provide:je,useValue:o=>(xt(o.src)&&Kn(n,o.src),e(n,Ze(Ye({},o),{src:Zn(o.src)})))}]}}function Wn(e,i){throw new Y(2959,!1)}function Kn(e,i){throw new Y(2959,!1)}var ar=De(Xn,void 0);function Xn(e,i){let t="format=auto";return i.width&&(t+=`,width=${i.width}`),i.isPlaceholder&&(t+=`,quality=${ge}`),`${e}/cdn-cgi/image/${t}/${i.src}`}var cr=De(qn,void 0);function qn(e,i){let n=`f_auto,${i.isPlaceholder?"q_auto:low":"q_auto"}`;return i.width&&(n+=`,w_${i.width}`),i.loaderParams?.rounded&&(n+=",r_max"),`${e}/image/upload/${n}/${i.src}`}var dr=De(Jn,void 0);function Jn(e,i){let{src:t,width:n}=i,r=[];n&&r.push(`w-${n}`),i.isPlaceholder&&r.push(`q-${ge}`);let s=r.length?[e,`tr:${r.join(",")}`,t]:[e,t];return new URL(s.join("/")).href}var lr=De(Qn,void 0);function Qn(e,i){let t=new URL(`${e}/${i.src}`);return t.searchParams.set("auto","format"),i.width&&t.searchParams.set("w",i.width.toString()),i.isPlaceholder&&t.searchParams.set("q",ge),t.href}function fr(e){if(e&&!Ut(e))throw new Y(2959,!1);return e&&(e=new URL(e).origin),[{provide:je,useValue:n=>ei(n,e)}]}var Mt=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]);function ei(e,i){let t=new URL(i??"https://a/");t.pathname="/.netlify/images",!xt(e.src)&&!e.src.startsWith("/")&&(e.src="/"+e.src),t.searchParams.set("url",e.src),e.width&&t.searchParams.set("w",e.width.toString());let n=e.loaderParams?.quality??e.loaderParams?.q;e.isPlaceholder&&!n&&t.searchParams.set("q",ge);for(let[r,s]of Object.entries(e.loaderParams??{}))Mt.has(r)&&t.searchParams.set(Mt.get(r),s.toString());return t.hostname==="a"?t.href.replace(t.origin,""):t.href}var hr=new P("");var ti=new P("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),ni=(()=>{class e{preloadedImages=A(ti);document=A(le);createPreloadLinkTag(t,n,r,s){if(this.preloadedImages.has(n))return;this.preloadedImages.add(n);let o=t.createElement("link");t.setAttribute(o,"as","image"),t.setAttribute(o,"href",n),t.setAttribute(o,"rel","preload"),t.setAttribute(o,"fetchpriority","high"),s&&t.setAttribute(o,"imageSizes",s),r&&t.setAttribute(o,"imageSrcset",r),t.appendChild(this.document.head,o)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Lt=/^((\s*\d+w\s*(,|$)){1,})$/;var ii=[1,2],ri=640;var si=1920,oi=1080;var gr=(()=>{class e{imageLoader=A(je);config=ui(A(Ce));renderer=A(W);imgElement=A(Z).nativeElement;injector=A(Je);isServer=Gn(A(me));preloadLinkCreator=A(ni);lcpObserver=null;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;ngOnInit(){tt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let t=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&Lt.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw"),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),t,this.sizes)}ngOnChanges(t){if(t.ngSrc&&!t.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0);let r=this._renderedSrc;this.lcpObserver!==null&&n&&r&&n!==r&&this.injector.get(Qe).runOutsideAngular(()=>{this.lcpObserver?.updateImage(n,r)})}}callImageLoader(t){let n=t;return this.loaderParams&&(n.loaderParams=this.loaderParams),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let t={src:this.ngSrc};this._renderedSrc=this.callImageLoader(t)}return this._renderedSrc}getRewrittenSrcset(){let t=Lt.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let s=t?parseFloat(r):parseFloat(r)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:t}=this.config,n=t;return this.sizes?.trim()==="100vw"&&(n=t.filter(s=>s>=ri)),n.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(t=!1){t&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return ii.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let t=!1;return this.sizes||(t=this.width>si||this.height>oi),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==zt&&!t}generatePlaceholder(t){let{placeholderResolution:n}=this.config;return t===!0?`url(${this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0})})`:typeof t=="string"?`url(${t})`:null}shouldBlurPlaceholder(t){return!t||!t.hasOwnProperty("blur")?!0:!!t.blur}removePlaceholderOnLoad(t){let n=()=>{let o=this.injector.get(ee);r(),s(),this.placeholder=!1,o.markForCheck()},r=this.renderer.listen(t,"load",n),s=this.renderer.listen(t,"error",n);ai(t,n)}ngOnDestroy(){}setHostAttribute(t,n){this.renderer.setAttribute(this.imgElement,t,n)}static \u0275fac=function(n){return new(n||e)};static \u0275dir=I({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,r){n&2&&dt("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",ci],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Ee],height:[2,"height","height",Ee],loading:"loading",priority:[2,"priority","priority",K],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",K],fill:[2,"fill","fill",K],placeholder:[2,"placeholder","placeholder",di],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[ut,Q]})}return e})();function ui(e){let i={};return e.breakpoints&&(i.breakpoints=e.breakpoints.sort((t,n)=>t-n)),Object.assign({},et,e,i)}function ai(e,i){e.complete&&e.naturalWidth&&i()}function ci(e){return typeof e=="string"?e:nt(e)}function di(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:K(e)}export{we as a,_i as b,mt as c,bi as d,le as e,Pe as f,vi as g,Vt as h,k as i,fe as j,Ot as k,jt as l,Ii as m,Gt as n,he as o,G as p,_ as q,h as r,M as s,E as t,Wt as u,Kt as v,Xt as w,qt as x,Jt as y,Qt as z,Mi as A,Li as B,te as C,ne as D,ie as E,L as F,ke as G,Bi as H,Oi as I,Ri as J,tn as K,nn as L,rn as M,Ti as N,sn as O,un as P,dn as Q,_n as R,bn as S,vn as T,Ue as U,Bn as V,Pi as W,Ni as X,ki as Y,$i as Z,Me as _,xi as $,Ui as aa,Le as ba,$t as ca,zi as da,Vi as ea,On as fa,ji as ga,Gi as ha,Hi as ia,Yi as ja,Zi as ka,Wi as la,Ki as ma,kn as na,$n as oa,Xi as pa,qi as qa,Ji as ra,Qi as sa,er as ta,tr as ua,nr as va,ir as wa,rr as xa,sr as ya,zn as za,Vn as Aa,jn as Ba,Gn as Ca,or as Da,ur as Ea,Te as Fa,It as Ga,je as Ha,ar as Ia,cr as Ja,dr as Ka,lr as La,fr as Ma,hr as Na,gr as Oa};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as I}from"./chunk-
|
|
1
|
+
import{a as I}from"./chunk-2E5G54LG.js";import{a as P}from"./chunk-QXWUZ7QN.js";import{a as D}from"./chunk-QAOE722P.js";import{a as y,g as M,h as R,n as O}from"./chunk-K3Y54FPO.js";import"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import"./chunk-N3IZHBC5.js";import{Ab as C,Bb as x,Cb as B,Db as S,Eb as i,Fb as p,Gb as c,Ra as l,Ub as m,X as s,fb as f,fc as r,hc as h,ic as b,lb as u,pc as v,sb as k,tb as _,vb as g}from"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";var L=()=>[R,M,y,import("./chunk-RENJEXE5.js").then(e=>e.RouterLink)],w=e=>["/restore-flow",e];function T(e,o){if(e&1&&(i(0,"spk-card",0),c(1,"img",1),i(2,"div",2)(3,"h3"),r(4),p(),i(5,"p"),r(6),p()(),i(7,"button",3),r(8," Restore "),i(9,"spk-icon"),r(10,"arrow-right"),p()()()),e&2){let t,a,n=o.$implicit;l(4),h("Restore ",(t=n.Backup==null?null:n.Backup.Name)!==null&&t!==void 0?t:"Backup name missing",""),l(2),b(" ",(a=n.Backup==null||n.Backup.Metadata==null?null:n.Backup.Metadata.SourceSizeString)!==null&&a!==void 0?a:"-"," / ",(a=n.Backup==null||n.Backup.Metadata==null?null:n.Backup.Metadata.BackupListCount)!==null&&a!==void 0?a:"-"," "),l(),g("routerLink",v(4,w,n.Backup==null?null:n.Backup.ID))}}function E(e,o){if(e&1&&B(0,T,11,6,"spk-card",0,x),e&2){let t=m(2);S(t.backups())}}function N(e,o){e&1&&r(0," No backups founds ")}function F(e,o){if(e&1&&u(0,E,2,0)(1,N,1,0),e&2){let t=m();C(t.backups().length?0:1)}}function A(e,o){e&1&&(i(0,"div",4),c(1,"spk-progress-bar",5),i(2,"div",2)(3,"h3"),r(4,"Loading backups..."),p()()())}var d=class e{#e=s(P);#t=s(D);backups=this.#e.backups;backupsLoading=this.#e.backupsLoading;ngOnInit(){this.#e.getBackups()}restoreNow(o){this.#t.postApiV1BackupByIdRestore({id:o.Backup?.ID,requestBody:{}})}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=f({type:e,selectors:[["app-restore"]],decls:8,vars:1,consts:[[1,"type-a"],["src","assets/images/folder.png","alt","","width","48px"],[1,"text"],["spk-button","",3,"routerLink"],[1,"loading-list"],[1,"indeterminate","primary"]],template:function(t,a){t&1&&(c(0,"app-status-bar"),i(1,"section")(2,"h2"),r(3,"Where do you want to restore from?"),p(),u(4,F,2,1)(5,A,5,0),k(6,4,L,null,5),p()),t&2&&(l(6),_(!a.backupsLoading()))},dependencies:[I,O],styles:["[_nghost-%COMP%]{display:block}h2[_ngcontent-%COMP%]{font:var(--title-30);text-align:center;padding:2rem}section[_ngcontent-%COMP%]{max-width:43.75rem;margin:0 auto;padding:2rem 0;display:flex;flex-direction:column;gap:1rem}spk-divider[_ngcontent-%COMP%]{color:var(--base-level-60)}spk-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;--card-padding: 2rem}spk-card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{flex:1 0;display:flex;flex-direction:column;gap:.25rem}"],changeDetection:0})};export{d as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as I,b as x,d as E,e as B,h as M,l as w,o as A,r as N,t as P}from"./chunk-
|
|
1
|
+
import{a as I,b as x,d as E,e as B,h as M,l as w,o as A,r as N,t as P}from"./chunk-2VFGTKQ3.js";import{a as O}from"./chunk-QXWUZ7QN.js";import{a as D}from"./chunk-QAOE722P.js";import{a as T,c as L,g as R,k as V,v as j,x as G}from"./chunk-K3Y54FPO.js";import{X as F,Y as v}from"./chunk-VN5Y4LY2.js";import"./chunk-DUQTXUOP.js";import"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import{Ab as C,E as b,Eb as i,Fb as e,Gb as u,Ra as m,Tb as g,X as s,Za as f,fb as h,fc as n,lb as S,oc as _,vb as d,xb as y}from"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";var q=()=>["/"];function z(c,o){c&1&&(i(0,"spk-form-field")(1,"label",13),n(2,"Passphrase"),e(),u(3,"input",14),e())}var p=new N,k=class c{#e=s(L);#t=s(D);#o=s(O);#r=s(F);isImporting=f(!1);isSecureFile=f(!1);importForm=p.group({config:p.control(""),cmdline:p.control(!1),importMetadata:p.control(!1),direct:p.control(!1),passphrase:p.control("")});selectedFile=f(null);onFileDropped(o){let t=o.target?.files?.item(0);if(t){let a=new FileReader;this.isSecureFile.set(t.type!=="application/json"),a.onload=this.#i.bind(this),a.readAsArrayBuffer(t)}}#i(o){let r=o.target?.result;this.importForm.patchValue({config:this.#n(r)})}#n(o){let r=new Uint8Array(o),t=r.byteLength,a="";for(let l=0;l<t;l++)a+=String.fromCharCode(r[l]);return btoa(a)}submit(){this.isImporting.set(!0),this.#t.postApiV1BackupsImport({requestBody:this.importForm.value}).pipe(b(()=>this.isImporting.set(!1))).subscribe({next:o=>{let r=this.#o.addDraftBackup(o.data);this.#r.navigate(["/backup-draft",r])},error:o=>{this.#e.error(o.message)}})}static \u0275fac=function(r){return new(r||c)};static \u0275cmp=h({type:c,selectors:[["app-import"]],decls:28,vars:7,consts:[[1,"actions"],["spk-button","","type","button",1,"outlined",3,"routerLink"],["spk-button","","type","submit",1,"raised","primary",3,"click","disabled"],["autocomplete","off",3,"formGroup"],["spkDragDrop","",3,"fileDropped"],["for","file"],["type","file","accept",".json,.aes",3,"change"],["suffix",""],[1,"primary","raised"],["for","importMetadata"],["type","checkbox","formControlName","importMetadata"],["for","direct"],["type","checkbox","formControlName","direct"],["for","passphrase"],["type","password","formControlName","passphrase"]],template:function(r,t){r&1&&(i(0,"header")(1,"h3"),n(2," Import backup configuration "),i(3,"div",0)(4,"button",1)(5,"spk-icon"),n(6,"arrow-left"),e(),n(7," Back "),e(),i(8,"button",2),g("click",function(){return t.submit()}),i(9,"spk-icon"),n(10,"download-simple"),e(),n(11," Import "),e()()()(),i(12,"form",3)(13,"spk-form-field",4),g("fileDropped",function(l){return t.onFileDropped(l)}),i(14,"label",5),n(15,"Select a configuration file"),e(),i(16,"input",6),g("change",function(l){return t.onFileDropped(l)}),e(),i(17,"spk-icon",7),n(18,"upload"),e()(),S(19,z,4,0,"spk-form-field"),i(20,"spk-toggle",8)(21,"label",9),n(22,"Import Metadata"),e(),u(23,"input",10),e(),i(24,"spk-toggle",8)(25,"label",11),n(26,"Save now"),e(),u(27,"input",12),e()()),r&2&&(m(4),d("routerLink",_(6,q)),m(4),y("loader",t.isImporting()),d("disabled",t.isImporting()),m(4),d("formGroup",t.importForm),m(7),C(t.isSecureFile()?19:-1))},dependencies:[P,M,x,I,E,B,w,A,v,G,V,T,R,j],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{k as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as b,b as W}from"./chunk-DNHLTHLR.js";import{b as D}from"./chunk-
|
|
1
|
+
import{a as b,b as W}from"./chunk-DNHLTHLR.js";import{b as D}from"./chunk-WFFR6X5F.js";import{a as R,b as j,c as x,d as M,e as O,h as A,l as I,o as L,r as V,t as $}from"./chunk-2VFGTKQ3.js";import{a as Q}from"./chunk-QXWUZ7QN.js";import{a as N}from"./chunk-QAOE722P.js";import{a as G,f as U,g as q,k as z,v as H}from"./chunk-K3Y54FPO.js";import{H as B,X as P,Y as T}from"./chunk-VN5Y4LY2.js";import"./chunk-DUQTXUOP.js";import{c as F}from"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import{Ab as E,E as g,Eb as r,Fb as n,Gb as l,Hc as h,L as w,Ra as a,Tb as f,X as s,Za as d,fb as C,fc as i,ic as v,lb as S,oc as _,vb as k,xb as u}from"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";var X=()=>["/"];function Y(c,e){c&1&&(r(0,"spk-form-field")(1,"label",9),i(2,"Password"),n(),l(3,"input",10),n(),r(4,"spk-form-field")(5,"label",11),i(6,"Repeat password"),n(),l(7,"input",12),n())}var m=new V,y=class c{#t=s(N);#e=s(B);#o=s(P);#n=s(F);#i=s(Q);isExporting=d(!1);exportType=d("file");exportedCmd=d(null);exportForm=m.group({exportPasswords:m.control(!0),encryption:m.control(!1,[x.required,W()]),password:m.control("",[b(e=>e?.value.encryption,[x.required])]),repeatPassword:m.control("",[b(e=>e?.value.encryption,[x.required])])});exportFormSignal=D(this.exportForm.valueChanges);encryptionFieldSignal=h(()=>this.exportFormSignal()?.encryption??!1);activeBackup=h(()=>this.#i.backups().find(e=>e.Backup?.ID===this.#e.snapshot.params.id));submit(){this.isExporting.set(!0),this.exportType()==="file"?this.#t.postApiV1AuthIssuetokenByOperation({operation:"export"}).pipe(w(e=>{let p=o=>{let t=Object.entries(o);return t?"?"+t.map(([J,K])=>`${J}=${K}`).join("&"):""};return this.#n.get(`/api/v1/backup/${this.#e.snapshot.params.id}/export${p({exportPasswords:this.exportFormSignal()?.exportPasswords??void 0,passphrase:this.exportFormSignal()?.password??void 0,token:e.Token})}`,{responseType:"blob"})}),g(()=>this.isExporting.set(!1))).subscribe({next:e=>{let o=this.activeBackup()?.Backup?.Name??"Backup",t=this.exportFormSignal()?.encryption?"aes":"json";this.downloadFile(e,`${o}.${t}`),this.#o.navigate(["/"])},error:e=>{console.log("err",e)}}):this.#t.getApiV1BackupByIdExportCmdline({id:this.#e.snapshot.params.id,exportPasswords:this.exportFormSignal()?.exportPasswords??void 0,passphrase:this.exportFormSignal()?.password??void 0}).pipe(g(()=>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,p){let o=window.URL.createObjectURL(e),t=document.createElement("a");t.href=o,t.download=p,t.click(),window.URL.revokeObjectURL(o)}static \u0275fac=function(p){return new(p||c)};static \u0275cmp=C({type:c,selectors:[["app-export"]],decls:31,vars:12,consts:[[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(p,o){if(p&1&&(r(0,"header")(1,"h3"),i(2," Export backup configuration "),r(3,"div",0)(4,"button",1)(5,"spk-icon"),i(6,"arrow-left"),n(),i(7," Back "),n(),r(8,"button",2),f("click",function(){return o.submit()}),r(9,"spk-icon"),i(10,"export"),n(),i(11," Export "),n()()(),r(12,"p"),i(13),n()(),r(14,"form",3)(15,"spk-button-group")(16,"button",4),f("click",function(){return o.exportType.set("cmd")}),r(17,"spk-icon"),i(18,"terminal-window"),n(),i(19," As command line "),n(),r(20,"button",4),f("click",function(){return o.exportType.set("file")}),r(21,"spk-icon"),i(22,"file"),n(),i(23," To file "),n()(),r(24,"spk-toggle",5),i(25," Export passwords "),l(26,"input",6),n(),r(27,"spk-toggle",7),i(28," Encrypt file "),l(29,"input",8),n(),S(30,Y,8,0),n()),p&2){let t;a(4),k("routerLink",_(11,X)),a(4),u("loading",o.isExporting()),a(5),v("#",(t=o.activeBackup())==null||t.Backup==null?null:t.Backup.ID,": ",(t=o.activeBackup())==null||t.Backup==null?null:t.Backup.Name,""),a(),k("formGroup",o.exportForm),a(2),u("active",o.exportType()==="cmd"),a(4),u("active",o.exportType()==="file"),a(10),E(o.encryptionFieldSignal()?30:-1)}},dependencies:[$,A,j,R,M,O,I,L,T,U,H,G,z,q],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{y as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"./chunk-SLC2RVWO.js";import"./chunk-NKKY2IML.js";import"./chunk-FDJMCHX2.js";import"./chunk-PT7ISA6M.js";import"./chunk-WFFR6X5F.js";import"./chunk-2VFGTKQ3.js";import"./chunk-QAOE722P.js";import"./chunk-K3Y54FPO.js";import"./chunk-VN5Y4LY2.js";import"./chunk-DUQTXUOP.js";import"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";export{a as createRestoreOptionsForm,b as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as a,d as b}from"./chunk-SLC2RVWO.js";import"./chunk-NKKY2IML.js";import"./chunk-FDJMCHX2.js";import"./chunk-PT7ISA6M.js";import"./chunk-WFFR6X5F.js";import"./chunk-2VFGTKQ3.js";import"./chunk-QAOE722P.js";import"./chunk-K3Y54FPO.js";import"./chunk-VN5Y4LY2.js";import"./chunk-DUQTXUOP.js";import"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";export{a as createRestoreSelectFilesForm,b as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as J}from"./chunk-2E5G54LG.js";import{a as q}from"./chunk-QXWUZ7QN.js";import"./chunk-QAOE722P.js";import{a as b,g as h,h as V,j as K,m as j,n as W}from"./chunk-K3Y54FPO.js";import{Y as F}from"./chunk-VN5Y4LY2.js";import"./chunk-DUQTXUOP.js";import"./chunk-RFOUEAO7.js";import"./chunk-FL23VQIJ.js";import"./chunk-N3IZHBC5.js";import{Ab as k,Bb as y,Cb as A,Db as L,Eb as i,Fb as a,Gb as u,Hb as R,Ib as w,Kb as G,Qb as x,Ra as c,Rb as E,Sb as C,Tb as O,Ub as r,X as $,ea as M,fa as S,fb as H,fc as o,hc as s,lb as _,oc as T,pc as P,sb as I,sc as B,tb as v,tc as X,uc as z,vb as m,xb as f}from"./chunk-6RDPRL5W.js";import"./chunk-7CGTOI24.js";var Q=()=>[F,h,b,K,j,import("./chunk-NJIDVAUK.js").then(e=>e.DatePipe),import("./chunk-AALCXW7G.js").then(e=>e.DurationFormatPipe)],U=()=>["/add-backup"],Y=()=>["/restore"],Z=e=>["/backup",e],ee=e=>["/backup",e,"export"];function te(e,l){if(e&1&&(o(0),B(1,"durationFormat")),e&2){let t=r().$implicit;s(" - (took ",X(1,1,t.Backup==null||t.Backup.Metadata==null?null:t.Backup.Metadata.LastBackupDuration),") ")}}function ne(e,l){e&1&&o(0," N/A ")}function ie(e,l){if(e&1&&o(0),e&2){let t=r().$implicit;s(" ",t.Backup==null||t.Backup.Metadata==null?null:t.Backup.Metadata.SourceSizeString," ")}}function ae(e,l){e&1&&o(0," N/A ")}function oe(e,l){if(e&1&&o(0),e&2){let t=r().$implicit;s(" ",t.Backup==null||t.Backup.Metadata==null?null:t.Backup.Metadata.TargetSizeString," ")}}function le(e,l){e&1&&o(0," N/A ")}function ce(e,l){if(e&1&&(i(0,"spk-chip",15),o(1),a()),e&2){let t=r().$implicit;c(),s("",t.Backup==null||t.Backup.Metadata==null?null:t.Backup.Metadata.BackupListCount," Version")}}function pe(e,l){e&1&&(i(0,"spk-chip",16),o(1,"No version yet"),a())}function re(e,l){if(e&1){let t=G();i(0,"div",14)(1,"div",9)(2,"h3"),o(3),i(4,"spk-icon"),o(5,"database"),a()(),i(6,"p")(7,"span"),o(8,"Last successful backup:"),a(),o(9),B(10,"date"),_(11,te,2,3)(12,ne,1,0),a(),i(13,"p")(14,"span"),o(15,"Source:"),a(),_(16,ie,1,1)(17,ae,1,0),a(),i(18,"p")(19,"span"),o(20,"Destination:"),a(),_(21,oe,1,1)(22,le,1,0),a()(),_(23,ce,2,1,"spk-chip",15)(24,pe,2,0,"spk-chip",16),i(25,"div",17)(26,"button",18),O("click",function(){let p=M(t).$implicit,d=r(3);return S(d.startBackup(p.Backup==null?null:p.Backup.ID))}),i(27,"spk-icon"),o(28,"play-circle"),a(),o(29," Start "),a(),i(30,"button",19)(31,"spk-icon"),o(32,"pencil-simple"),a()(),i(33,"spk-menu",20)(34,"button",10)(35,"spk-icon"),o(36,"dots-three-vertical"),a()(),R(37,21),i(38,"button",22,0),o(40," Export "),i(41,"spk-icon"),o(42,"export"),a()(),i(43,"button",23,0),O("click",function(){let p=M(t).$implicit,d=r(3);return S(d.deleteBackup(p.Backup==null?null:p.Backup.ID))}),o(45," Delete "),i(46,"spk-icon"),o(47,"x-circle"),a()(),w(),a()()()}if(e&2){let t,n=l.$implicit,p=r(3);c(3),s(" ",(t=n.Backup==null?null:n.Backup.Name)!==null&&t!==void 0?t:"Backup name missing"," "),c(6),s(" ",z(10,13,n.Backup==null||n.Backup.Metadata==null?null:n.Backup.Metadata.LastBackupDate,"short")," "),c(2),k(!(n.Backup==null||n.Backup.Metadata==null)&&n.Backup.Metadata.LastBackupDuration?11:12),c(5),k(!(n.Backup==null||n.Backup.Metadata==null)&&n.Backup.Metadata.SourceSizeString?16:17),c(5),k(!(n.Backup==null||n.Backup.Metadata==null)&&n.Backup.Metadata.TargetSizeString?21:22),c(2),k(!(n.Backup==null||n.Backup.Metadata==null)&&n.Backup.Metadata.BackupListCount?23:24),c(3),f("loader",p.startingBackup()),c(4),m("routerLink",P(16,Z,n.Backup==null?null:n.Backup.ID)),c(3),m("right",!0),c(5),m("routerLink",P(18,ee,n.Backup==null?null:n.Backup.ID)),c(5),f("loader",p.deletingBackup()===(n.Backup==null?null:n.Backup.ID))}}function _e(e,l){if(e&1&&A(0,re,48,20,"div",14,y),e&2){let t=r(2);L(t.backups())}}function ue(e,l){e&1&&o(0," No backups founds ")}function se(e,l){if(e&1&&_(0,_e,2,0)(1,ue,1,0),e&2){let t=r();k(t.backups().length?0:1)}}function de(e,l){e&1&&(i(0,"div",24),u(1,"spk-progress-bar",25),i(2,"div",9)(3,"h3"),o(4,"Loading backups..."),a()()())}var D=class e{#e=$(q);backups=this.#e.backups;backupsLoading=this.#e.backupsLoading;startingBackup=this.#e.startingBackup;deletingBackup=this.#e.deletingBackup;ngOnInit(){this.#e.getBackups(!0)}startBackup(l){this.#e.startBackup(l)}deleteBackup(l){l&&window.confirm("Are you sure you want to delete this backup?")&&this.#e.deleteBackup(l)}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=H({type:e,selectors:[["app-home"]],decls:31,vars:5,consts:()=>{let l;l=$localize`Backups`;let t;t=$localize`Backups are stored in the cloud and can be restored at any time.`;let n;n=$localize` Add ${"\uFFFD#12\uFFFD"}:START_TAG_SPK_ICON:plus${"\uFFFD/#12\uFFFD"}:CLOSE_TAG_SPK_ICON:`;let p;p=$localize`Restores`;let d;d=$localize`Restores are stored in the cloud and can be restored at any time.`;let N;return N=$localize` Start ${"\uFFFD#22\uFFFD"}:START_TAG_SPK_ICON:arrow-right${"\uFFFD/#22\uFFFD"}:CLOSE_TAG_SPK_ICON:`,[["option",""],l,t,n,p,d,N,[1,"type-a",3,"routerLink"],["src","assets/images/backup.png","alt","","width","48px"],[1,"text"],["spk-button",""],["src","assets/images/restore.png","alt","","width","48px"],[1,"content"],[1,"backups"],[1,"backup"],[1,"simple","success"],[1,"simple"],[1,"actions"],["spk-button","",3,"click"],["spk-button","",3,"routerLink"],[3,"right"],["menu",""],[3,"routerLink"],[3,"click"],[1,"loading-list"],[1,"indeterminate","primary"]]},template:function(t,n){t&1&&(u(0,"app-status-bar"),i(1,"section")(2,"header")(3,"spk-card",7),u(4,"img",8),i(5,"div",9)(6,"h3"),C(7,1),a(),i(8,"p"),C(9,2),a()(),i(10,"button",10),x(11,3),u(12,"spk-icon"),E(),a()(),i(13,"spk-card",7),u(14,"img",11),i(15,"div",9)(16,"h3"),C(17,4),a(),i(18,"p"),C(19,5),a()(),i(20,"button",10),x(21,6),u(22,"spk-icon"),E(),a()()(),i(23,"div",12)(24,"h2"),o(25,"My backups"),a(),i(26,"div",13),_(27,se,2,1)(28,de,5,0),I(29,27,Q,null,28),a()()()),t&2&&(c(3),m("routerLink",T(3,U)),c(10),m("routerLink",T(4,Y)),c(16),v(!n.backupsLoading()))},dependencies:[F,J,V,h,b,W],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:2rem 0}header[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem;gap:1rem}spk-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem}spk-card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{flex:1 0;display:flex;flex-direction:column;gap:.25rem}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 2rem;gap:1rem}.backups[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.backup[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:2rem;gap:1rem;border:1px solid var(--base-level-40);border-radius:var(--shape-3);box-shadow:var(--shadow-1)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem;width:100%;max-width:40%}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] spk-icon[_ngcontent-%COMP%]{color:var(--base-level-60)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font:var(--paragraph-30);color:var(--base-level-60)}.backup[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--base-level-70)}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}"],changeDetection:0})};export{D as default};
|