PageSourceSearch

https://my.hochzeit.click/chunk-Dx_57WWz.js

js hochzeit.click collected 2026-10-04 10:40:16 UTC 13,276 bytes, 1 lines download raw bytes

1import {m as mt}from'./chunk-CyPcOkxn.js';import {G as Ge,h as hi,Z as Zt$1,e as ei,s as si,i as ii,J as Jt$1,l as li$1,o as oi,r as ri,c as ci,f as fi,u as ui$1}from'./chunk-BnGA1zc6.js';import {I as It,s as st}from'./chunk-BAZtd7KZ.js';import'./chunk-CUsJWdee.js';import {N as Nn,W as Wa,q as qa,O as On,Y as Yn,P as Pn}from'./chunk-Bk_fbE0I.js';import'./chunk-BAGKlM3H.js';import {J,Z}from'./chunk-KVY6n7oH.js';import'./chunk-D-9tc8Sw.js';import'./chunk-CI91E-BS.js';import {a5 as T,aO as ce$1,aQ as Re,dI as tW,bd as ht,cd as U,bf as X,I,ac as cE,ad as Gn,bt as sa,bb as $t,ch as mi,aB as tt,ai as li,cj as ui,ck as Gn$1,cl as jn,bN as xt,bp as ds,br as rs,ct as yt,cu as wt,bO as rn,cH as vt,cn as Wt,co as ke,gM as q,cq as pt,ak as xi,al as ow,am as Rc,an as _p,ao as BI,b7 as mp,ap as dD,bW as qD,ar as lI,as as gp,at as $I,av as fD,aH as Fc,ax as Ap,ay as BD,az as $D,eo as rn$1,en as pt$1,aW as B,A,bP as zn,it as Ou,a_ as jw,aU as ID,gY as Pc,bx as ip,gZ as qi,aZ as jD,bZ as Fw,aE as Lp,b6 as hp,b9 as uu,ba as du}from'./main-JCU4UA6D.js';var Jt=e=>["/admin/items",e];function qt(e,i){if(e&1&&(xi(0,"span",4),ow(1),Rc()),e&2){let t=jD();lI(),Lp(t.data.title);}}function Yt(e,i){e&1&&(xi(0,"div",8),mp(1,"mat-spinner",11),Rc());}function Zt(e,i){e&1&&(xi(0,"p",9),ow(1,"Keine Log-Eintr\xE4ge vorhanden."),Rc());}function Xt(e,i){if(e&1&&mp(0,"app-provider-history",10),e&2){let t=jD();gp("providerHistoryEntries",t.data.entries);}}var $=class e{data=T(rn$1);dialogRef=T(pt$1);cdr=T(tW);setEntries(i){this.data=B(A({},this.data),{entries:i,loading:false}),this.cdr.markForCheck();}setError(){this.data=B(A({},this.data),{loading:false}),this.cdr.markForCheck();}close(){this.dialogRef.close();}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=cE({type:e,selectors:[["app-provider-history-details-dialog"]],decls:15,vars:6,consts:[[1,"dialog-header"],[1,"dialog-title-wrap"],[1,"dialog-title"],[1,"dialog-subtitle"],[1,"subtitle-name"],["target","_blank",1,"subtitle-id",3,"click","routerLink"],["type","button","mat-icon-button","","aria-label","Schlie\xDFen",3,"click"],["mat-dialog-content","",1,"dialog-content"],[1,"loader"],[1,"empty"],[3,"providerHistoryEntries"],["diameter","36"]],template:function(t,n){t&1&&(xi(0,"div",0)(1,"div",1)(2,"h3",2),ow(3,"Provider-Historie"),Rc(),xi(4,"div",3),dD(5,qt,2,1,"span",4),xi(6,"a",5),_p("click",function(f){return f.stopPropagation()}),ow(7),Rc()()(),xi(8,"button",6),_p("click",function(){return n.close()}),xi(9,"mat-icon"),ow(10,"close"),Rc()()(),xi(11,"div",7),dD(12,Yt,2,0,"div",8)(13,Zt,2,0,"p",9)(14,Xt,1,1,"app-provider-history",10),Rc()),t&2&&(lI(5),fD(n.data.title?5:-1),lI(),gp("routerLink",jw(4,Jt,n.data.itemId)),lI(),Fc(" ",n.data.itemId," "),lI(5),fD(n.data.loading?12:!n.data.entries||n.data.entries.length===0?13:14));},dependencies:[Gn,sa,$t,zn,Ou,yt,wt,rn,vt,J,Z,mt],styles:["[_nghost-%COMP%]{display:block}.dialog-header[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 20px 8px;border-bottom:1px solid rgba(0,0,0,.08)}.dialog-title-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px;min-width:0}.dialog-title[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:600}.dialog-subtitle[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:8px;font-size:13px;color:#0009}
1.subtitle-name[_ngcontent-%COMP%]{font-weight:600;color:#000000bf}.subtitle-id[_ngcontent-%COMP%]{font-size:11px;color:#00000080;text-decoration:none}.subtitle-id[_ngcontent-%COMP%]:hover{text-decoration:underline}.dialog-content[_ngcontent-%COMP%]{padding:12px 20px 20px;max-height:75vh;overflow:auto}.loader[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:32px 0}.empty[_ngcontent-%COMP%]{margin:12px 0;color:#0000008c}"]})};var te=()=>[200,500],ee=e=>["/admin/items",e];function ie(e,i){if(e&1){let t=ID();xi(0,"button",15),_p("click",function(){uu(t);let a=jD();return du(a.clearFilter())}),xi(1,"mat-icon"),ow(2,"close"),Rc()();}}function ne(e,i){e&1&&(xi(0,"div",13),mp(1,"mat-spinner",16),Rc());}function oe(e,i){e&1&&(xi(0,"th",29),ow(1,"Provider"),Rc());}function re(e,i){if(e&1&&(xi(0,"span",32),ow(1),Rc()),e&2){let t=jD().$implicit;lI(),Fc("(",t.category,")");}}function ae(e,i){if(e&1&&(xi(0,"td",30)(1,"div",31),ow(2),dD(3,re,2,1,"span",32),Rc(),xi(4,"div",33)(5,"a",34),_p("click",function(n){return n.stopPropagation()}),ow(6),Rc()()()),e&2){let t=i.$implicit;lI(2),Fc(" ",t.title," "),lI(),fD(t.category?3:-1),lI(2),gp("routerLink",jw(4,ee,t.itemId)),lI(),Fc(" ",t.itemId," ");}}function le(e,i){e&1&&(xi(0,"th",29),ow(1,"Zuletzt ge\xE4ndert"),Rc());}function de(e,i){if(e&1&&(xi(0,"td",35),ow(1),Rc()),e&2){let t=i.$implicit,n=jD(2);gp("title",n.formatAbsoluteDate(t.lastUpdated)),lI(),Fc(" ",n.relativeTime(t.lastUpdated)," ");}}function se(e,i){e&1&&mp(0,"th",29);}function me(e,i){e&1&&(xi(0,"td",36)(1,"mat-icon"),ow(2,"open_in_new"),Rc()());}function ce(e,i){e&1&&mp(0,"tr",37);}function pe(e,i){if(e&1){let t=ID();xi(0,"tr",38),_p("click",function(){let a=uu(t).$implicit,f=jD(2);return du(f.openEntry(a))}),Rc();}}function ue(e,i){if(e&1&&(xi(0,"tr",39)(1,"td",40),ow(2," Keine Provider-Historie vorhanden. "),Rc()()),e&2){let t=jD(2);lI(),hp("colspan",t.displayedColumns.length);}}function ge(e,i){if(e&1&&(xi(0,"div",14)(1,"table",17),Pc(2,18),ip(3,oe,2,0,"th",19)(4,ae,7,6,"td",20),qi(),Pc(5,21),ip(6,le,2,0,"th",19)(7,de,2,2,"td",22),qi(),Pc(8,23),ip(9,se,1,0,"th",19)(10,me,3,0,"td",24),qi(),ip(11,ce,1,0,"tr",25)(12,pe,1,0,"tr",26)(13,ue,3,1,"tr",27),Rc(),mp(14,"mat-paginator",28),Rc()),e&2){let t=jD();lI(),gp("dataSource",t.dataSource),lI(10),gp("matHeaderRowDef",t.displayedColumns),lI(),gp("matRowDefColumns",t.displayedColumns),lI(2),gp("pageSize",200)("pageSizeOptions",Fw(5,te));}}var Vt=class e{firestoreService=T(ce$1);notification=T(Re);cdr=T(tW);dialog=T(ht);displayedColumns=["title","lastUpdated","actions"];dataSource=new Ge([]);itemsById=new Map;loading=false;range=new U({start:new X(null),end:new X(null)});allEntries=[];paginator;ngOnInit(){this.initialLoad();}ngAfterViewInit(){this.dataSource.paginator=this.paginator;}initialLoad(){return I(this,null,function*(){yield this.loadItemsIndex(),yield this.loadHistoryList();})}loadItemsIndex(){return I(this,null,function*(){try{let i=yield this.firestoreService.getDataFromJSON("all-items-short.json");Array.isArray(i)&&(this.itemsById=new Map(i.map(t=>[t.id,t])));}catch(i){console.warn("Konnte all-items-short.json nicht laden",i);}})}loadHistoryList(){return I(this,null,function*(){this.loading=true,this.cdr.markForCheck();try{let i=yield this.firestoreService.getDataWithParams({collection:"history",limit:1e3,includeDocumentId:!0});this.allEntries=(i||[]).map(t=>{let n=this.itemsById.get(t.id);return {itemId:t.id,lastUpdated:typeof t.lastUpdated=="number"?t.lastUpdated:0,title:n?.title||t.id,category:n?.category??null}}).sort((t,n)=>n.lastUpdated-t.lastUpdated),this.applyFilter();}catch(i){console.error("Provider-Historie konnte nicht geladen werden",i),this.notification.showError(i?.message??String(i),"Provider-Historie konnte nicht geladen werden");}finally{this.loading=false,this.cdr.markForCheck();}})}applyFilter(){let i=this.range.value.start?new Date(this.range.value.start).setHours(0,0,0,0):null,t=this.range.value.end?new Date(this.range.value.end).setHours(23,59,59,999):null,n=this.allEntries;i!==null&&(n=n.filter(a=>a.lastUpdated>=i)),t!==null&&(n=n.filter(a=>a.lastUpdated<=t)),this.dataSource.data=n,this.paginator&&this.paginator.firstPage(),this.cdr.markForCheck();}clearFilter(){this.range.reset({start:null,end:null}),this.applyFilter();}openEntry(i){return I(this,null,function*(){let t={itemId:i.itemId,title:i.title,entries:[],loading:true},n=this.dialog.open($,{data:t,width:"90vw",maxWidth:"1200px",autoF
1ocus:false});try{let a=yield this.firestoreService.getDataWithParams({collection:`history/${i.itemId}/log`,orderBy:[{field:"timestamp",direction:"desc"}],limit:500,includeDocumentId:!0});n.componentInstance.setEntries(a);}catch(a){n.componentInstance.setError(),this.notification.showError(a?.message??String(a),"Log-Eintr\xE4ge konnten nicht geladen werden");}})}relativeTime(i){if(!i)return "\u2014";let t=Date.now()-i,n=Math.floor(t/1e3);if(n<60)return "gerade eben";let a=Math.floor(n/60);if(a<60)return `vor ${a} Min.`;let f=Math.floor(a/60);if(f<24)return `vor ${f} Std.`;let h=Math.floor(f/24);if(h<30)return `vor ${h} Tag${h>1?"en":""}`;let P=Math.floor(h/30);if(P<12)return `vor ${P} Monat${P>1?"en":""}`;let Q=Math.floor(P/12);return `vor ${Q} Jahr${Q>1?"en":""}`}formatAbsoluteDate(i){if(!i)return "";let t=new Date(i),n=a=>a.toString().padStart(2,"0");return `${n(t.getDate())}.${n(t.getMonth()+1)}.${t.getFullYear()}, ${n(t.getHours())}:${n(t.getMinutes())}`}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=cE({type:e,selectors:[["app-provider-history-list"]],viewQuery:function(t,n){if(t&1&&Ap(st,5),t&2){let a;BD(a=$D())&&(n.paginator=a.first);}},decls:23,vars:7,consts:[["picker",""],[1,"provider-history-page"],["fxLayout","row","fxLayoutAlign","space-between center",1,"page-header"],[1,"main-h3"],["type","button",1,"my-hc-button","my-hc-button_small","my-hc-button_secondary",3,"click","disabled"],["fxLayout","row","fxLayoutAlign","start center",1,"filter-bar",3,"formGroup"],["appearance","outline",1,"filter-range"],[3,"rangePicker"],["matStartDate","","formControlName","start","placeholder","Von",3,"dateChange"],["matEndDate","","formControlName","end","placeholder","Bis",3,"dateChange"],["matSuffix","",3,"for"],["type","button","mat-icon-button","","aria-label","Filter zur\xFCcksetzen"],[1,"result-count"],["fxLayout","row","fxLayoutAlign","center center",1,"loader"],[1,"table-wrapper"],["type","button","mat-icon-button","","aria-label","Filter zur\xFCcksetzen",3,"click"],["diameter","48"],["mat-table","",1,"history-list-table",3,"dataSource"],["matColumnDef","title"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","lastUpdated"],["mat-cell","",3,"title",4,"matCellDef"],["matColumnDef","actions"],["mat-cell","","class","col-actions",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","entry-row",3,"click",4,"matRowDef","matRowDefColumns"],["class","mat-row no-data-row",4,"matNoDataRow"],["showFirstLastButtons","",3,"pageSize","pageSizeOptions"],["mat-header-cell",""],["mat-cell",""],[1,"entry-title"],[1,"entry-category"],[1,"entry-id"],["target","_blank",3,"click","routerLink"],["mat-cell","",3,"title"],["mat-cell","",1,"col-actions"],["mat-header-row",""],["mat-row","",1,"entry-row",3,"click"],[1,"mat-row","no-data-row"],[1,"mat-cell"]],template:function(t,n){if(t&1&&(xi(0,"div",1)(1,"header",2)(2,"h3",3),ow(3,"Provider History"),Rc(),xi(4,"button",4),_p("click",function(){return n.loadHistoryList()}),xi(5,"mat-icon"),ow(6,"refresh"),Rc(),ow(7," Aktualisieren "),Rc()(),xi(8,"div",5)(9,"mat-form-field",6)(10,"mat-label"),ow(11,"Datum-Bereich (letzte \xC4nderung)"),Rc(),xi(12,"mat-date-range-input",7)(13,"input",8),_p("dateChange",function(){return n.applyFilter()}),Rc(),BI(),xi(14,"input",9),_p("dateChange",function(){return n.applyFilter()}),Rc(),BI(),Rc(),mp(15,"mat-datepicker-toggle",10)(16,"mat-date-range-picker",null,0),Rc(),dD(18,ie,3,0,"button",11),xi(19,"span",12),ow(20),Rc()(),dD(21,ne,2,0,"div",13)(22,ge,15,6,"div",14),Rc()),t&2){let a=qD(17);lI(4),gp("disabled",n.loading),lI(4),gp("formGroup",n.range),lI(4),gp("rangePicker",a),lI(),$I(),lI(),$I(),lI(),gp("for",a),lI(3),fD(n.range.value.start||n.range.value.end?18:-1),lI(2),Fc("",n.dataSource.data.length," Eintr\xE4ge"),lI(),fD(n.loading?21:22);}},dependencies:[Gn,sa,$t,mi,tt,li,ui,Gn$1,jn,xt,ds,rs,yt,wt,rn,vt,J,Z,hi,Zt$1,ei,si,ii,Jt$1,li$1,oi,ri,ci,fi,ui$1,It,st,Wt,ke,q,pt,Nn,Wa,qa,On,Yn,Pn],styles:[".provider-history-page[_ngcontent-%COMP%]{padding:24px}.page-header[_ngcontent-%COMP%]{margin-bottom:16px}.page-header[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-right:6px;vertical-align:middle}.filter-bar[_ngcontent-%COMP%]{gap:12px;margin-bottom:8px}.filter-bar[_ngcontent-%COMP%]   .filter-range[_ngcontent-%COMP%]{min-width:320px}.filter-bar[_ngcontent-%COMP%]   .result-count[_ngcontent-%COMP%]{margin-left:auto;font-size:13px;color:#0000008c}.loader[_ngcontent-%COMP%]{padding:32px 0;min-height:80px}.table-wrapper[_ngcontent-%COMP%]{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:8px;overflow:hidden}.history-list-table[_ngcontent-%COMP%]{width:100%;background:transparent}.entry-row[_ngcontent-%COMP%]{cursor:pointer}.entry-row[_ngcontent-%COMP%]:hover{background-color:#00000008}.entry-title[_ngcontent-%COMP%]{font-weight:600;font-size:14px}.entry-category[_ngcontent-%COMP%]{font-weight:400;color:#0000008c;margin-left:4px}.entry-id[_ngcontent-%COMP%]{font-size:11px;color:#00000080}.entry-id[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit;text-decoration:none}.entry-id[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}.col-actions[_ngcontent-%COMP%]{width:55px;max-width:55px;text-align:right;color:#0000008c}.no-data-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:24px;text-align:center;color:#00000080}"]})};export{Vt as ProviderHistoryListComponent};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.