PageSourceSearch

https://villume.com/chunk-WXKSBMV7.js

js villume.com collected 2026-10-04 05:33:59 UTC 36,125 bytes, 1 lines download raw bytes

1import{e as pe}from"./chunk-NUFJOU36.js";import"./chunk-3F2VGYJ5.js";import{a as de}from"./chunk-DPRUAMAY.js";import"./chunk-3YGGW2AU.js";import"./chunk-DHJMJSXD.js";import"./chunk-R2JOOKTD.js";import{o as le}from"./chunk-VIPPC764.js";import"./chunk-LKIWFJNO.js";import{c as ae,d as se}from"./chunk-4XSNUMFI.js";import{a as D}from"./chunk-FAALQ2GO.js";import{a as ce}from"./chunk-NNI5H3PS.js";import"./chunk-FISGOQRH.js";import{$c as I,Cb as V,Db as U,Dc as K,E as z,Eb as F,Ec as X,I as S,Kb as L,Na as H,Nc as ee,Pc as te,Q as d,Qa as h,Ra as u,U as b,Ua as $,V as x,Va as N,W as v,Wa as f,X as y,Xa as i,Xc as M,Ya as o,Z as R,Za as p,Zb as w,Zc as ie,ad as ne,c as Y,ca as B,eb as P,fa as A,gb as m,ha as j,hd as oe,ib as g,jd as he,la as G,mb as W,nb as q,ob as Q,qa as l,qd as re,rc as J,tb as E,ub as T,wb as s,xb as C,ya as k,yb as Z}from"./chunk-5JXA4GNO.js";import{f as me}from"./chunk-JSSFPNKJ.js";var O=me(he());var fe=()=>({width:"480px"}),_e=()=>({width:"440px"}),ve=()=>({width:"50px",height:"50px"}),be=(r,c)=>c.id;function xe(r,c){if(r&1){let e=P();i(0,"div",1)(1,"span",41),v(),i(2,"svg",42),p(3,"path",43),o()(),y(),i(4,"p",44)(5,"strong"),s(6,"Villume is in open beta"),o(),s(7," \u2014 everything is free to use while we keep improving it."),o(),i(8,"a",45),m("click",function(){b(e);let t=g();return x(t.sendFeedback())}),s(9,"Send feedback"),o()()}}function Ce(r,c){if(r&1&&(i(0,"span",4),s(1),o()),r&2){let e=g();l(),C(e.galleryCountLabel)}}function Me(r,c){if(r&1){let e=P();i(0,"button",46),m("click",function(){b(e);let t=g();return t.startCreating(),x(t.mainService.closeHeaderMessage())}),i(1,"span",47),v(),i(2,"svg",48),p(3,"path",49),o()(),y(),i(4,"span",50),s(5,"New gallery"),o(),i(6,"span",51),s(7,"Start a new exhibition"),o()()}}function ye(r,c){if(r&1&&(i(0,"div",55)(1,"div",65)(2,"span",66),s(3,"Don't miss:"),o(),i(4,"div",67)(5,"div",68)(6,"strong"),s(7),o(),i(8,"span"),s(9,"days"),o()(),i(10,"div",68)(11,"strong"),s(12),o(),i(13,"span"),s(14,"hours"),o()(),i(15,"div",68)(16,"strong"),s(17),o(),i(18,"span"),s(19,"minutes"),o()(),i(20,"div",68)(21,"strong"),s(22),o(),i(23,"span"),s(24,"seconds"),o()()()()()),r&2){let e=g().$implicit;l(7),C(e.time==null?null:e.time.days),l(5),C(e.time==null?null:e.time.hours),l(5),C(e.time==null?null:e.time.minutes),l(5),C(e.time==null?null:e.time.seconds)}}function Pe(r,c){if(r&1){let e=P();i(0,"button",69),m("click",function(){b(e);let t=g().$implicit,a=g();return a.openNewTab("/editor/"+t.id),x(a.mainService.closeHeaderMessage())}),v(),i(1,"svg",48),p(2,"path",70)(3,"path",71),o(),s(4," Edit "),o()}}function we(r,c){if(r&1){let e=P();i(0,"button",72),m("click",function(){b(e);let t=g().$implicit,a=g();return a.confirmDelete(t),x(a.mainService.closeHeaderMessage())}),v(),i(1,"svg",48),p(2,"path",33),o(),s(3," Delete "),o()}}function Oe(r,c){if(r&1){let e=P();i(0,"article",7)(1,"div",52)(2,"span",53),s(3),o(),p(4,"img",54),h(5,ye,25,4,"div",55),i(6,"div",56)(7,"button",57),m("click",function(){let t=b(e).$implicit,a=g();return a.openNewTab(a.viewerPath+"/"+t.share_string),x(a.mainService.closeHeaderMessage())}),v(),i(8,"svg",48),p(9,"path",58)(10,"circle",59),o(),s(11," View "),o(),h(12,Pe,5,0,"button",60),y(),i(13,"button",61),m("click",function(){let t=b(e).$implicit,a=g();return a.openShareLink(t),x(a.mainService.closeHeaderMessage())}),v(),i(14,"svg",48),p(15,"circle",15)(16,"circle",16)(17,"circle",17)(18,"path",18),o(),s(19," Share "),o(),h(20,we,4,0,"button",62),o()(),y(),i(21,"div",63)(22,"div",64),s(23),o()()()}if(r&2){let e=c.$implicit,n=g();H("data-title",e.name),l(2),E("live",e.published),l(),C(e.published?"Live":"Draft"),l(),f("src",n.env.staticAssets+"images/other/skeleton.svg?t="+n.mainService.appVersion,G)("lazyLoad",e.cover_image?e.cover_image:e.thumbnail)("alt",e.name),l(),u(e.show_countdown?5:-1),l(7),u(n.isInside()?12:-1),l(8),u(n.isInside()&&e.id!==n.mainService.exhibitIdTester?20:-1),l(3),Z(" ",e.name," ")}}function Se(r,c){r&1&&(i(0,"div",8),p(1,"p-progressSpinner",73),i(2,"span"),s(3,"Loading..."),o()()),r&2&&(l(),T(L(2,ve)))}function ke(r,c){r&1&&(i(0,"div",9)(1,"h3"),s(2,"No galleries found"),o(),i(3,"p"),s(4,"Create a new gallery to get started."),o()())}function Ee(r,c){if(r&1){let e=P();i(0,"div",10)(1,"button",74),m("click",function(){b(e);let t=g();return x(t.getExhibitions(t.exhibitions.length))}),s(2," Load more "),o()()}if(r&2){let e=g();l(),E("loading-button",e.loadingMore),f("disabled",e.loadingMore)}}function Te(r,c){r&1&&(i(0,"span",37),s(1,"To move it to Inactive Galleries instead, press \u201CUnpublish\u201D in the Editor."),o())}function Le(r,c){r&1&&s(0," Deleting\u2026 ")}function Ie(r,c){r&1&&s(0," Delete gallery ")}var ge=(()=>
1{class r{constructor(){this.alertMessageService=d(oe),this.mainService=d(I),this.editorService=d(re),this.profileService=d(D),this._contactService=d(de),this._router=d(te),this._platformId=d(j),this._el=d(A),this.document=d(R),this._intervals=[],this.isBrowser=!1,this.loading=!1,this.loadingMore=!1,this.isShare=!1,this.displayConfirmDelete=!1,this.viewerPath=M.viewer_path,this.exhibitions=[],this.env=M,this.onDelete=!1,this.isInside=w(!0),this.infoUser=w(),this.username=w(),this.profileLoading=w(!1),this.refetch=w(!1),this._revealListenersAttached=!1,this._revealTicking=!1,this._onRevealScroll=()=>{this._revealTicking||(this._revealTicking=!0,window.requestAnimationFrame(()=>{this._checkReveal(),this._revealTicking=!1}))};let e=this._platformId;this.isBrowser=J(e),B(()=>{(this.infoUser()||this.profileService.refetchExhibitions)&&(this.exhibitions=[],this.totalCount=void 0,this._intervals.forEach(n=>clearInterval(n)),this._intervals=[],this.getExhibitions(),this.profileService.refetchExhibitions=!1)})}ngAfterViewInit(){this._initReveal()}ngOnDestroy(){this._revealListenersAttached&&(window.removeEventListener("scroll",this._onRevealScroll),window.removeEventListener("resize",this._onRevealScroll),this._revealListenersAttached=!1),this._intervals.forEach(e=>clearInterval(e)),this._intervals=[]}get isGalleryLoading(){return(this.profileLoading()||this.loading)&&this.exhibitions.length===0}get galleryCountLabel(){if(this.isGalleryLoading||this.totalCount==null)return"";let e=this.totalCount;return`${e} ${e===1?"gallery":"galleries"}`}confirmDelete(e){this.selectedExhibition=e,this.displayConfirmDelete=!0}getExhibitions(e=0){let n={offset:e,username:this.username(),type:this.isInside()?"inside":"outside"};e===0?(this.loading=!0,this.totalCount=void 0):this.loadingMore=!0,this.profileService.getExhibtions(n).pipe(z(3)).subscribe(t=>{this.loadData(t,e),this.loading=!1,this.loadingMore=!1,this.isBrowser&&setTimeout(()=>this._checkReveal(),120)},t=>{this.loading=!1,this.loadingMore=!1,t.error?.statusCode===401?this.mainService.expiredSesionPopup=!0:this.alertMessageService.add({severity:"error",summary:"Error",detail:"Something went wrong. Failed to load exhibitions."})})}loadData(e,n){let t=e.data.exhibitions.map(a=>(a=this.setExhibitionImagesPath(a),a=this.setDisplayExhibitionTime(a),a));this.exhibitions=n===0?t:this.exhibitions.concat(t),this.totalCount=e.data.totalCount,this.profileService.totalCountExhibit=this.totalCount,this.isBrowser&&setTimeout(()=>window.dispatchEvent(new Event("resize")),100)}setDisplayExhibitionTime(e){return e.started&&(e.started_display=(0,O.default)(e.started,"YYYY-MM-DD").format("DD.MM.YYYY"),e.ended_display=(0,O.default)(e.ended,"YYYY-MM-DD").format("DD.MM.YYYY"),e.show_countdown=e.countdown_timer&&(0,O.default)((0,O.default)().format("YYYY-MM-DD")).isBefore(e.started)),e.show_countdown&&(e=this.countdown(e)),e}setExhibitionImagesPath(e){let n=M.exhibition_path;return e.thumbnail.includes(n)||(e.thumbnail=n+e.thumbnail),e.cover_image&&!e.cover_image.includes(M.image_path)&&(e.cover_image=this.mainService.convertPathImage(e.cover_image)),e}countdown(e){if(!this.isBrowser)return e;let n=new Date(e.started).getTime(),t=setInterval(()=>{let a=Math.floor((n-Date.now())/1e3);if(a<=0){e.time={days:0,hours:0,minutes:0,seconds:0},clearInterval(t);return}e.time={days:Math.floor(a/86400),hours:Math.floor(a%86400/3600),minutes:Math.floor(a%3600/60),seconds:Math.floor(a%60)}},1e3);return this._intervals.push(t),e}deleteExhibition(){this.onDelete=!0,this.editorService.deleteExhibition(this.selectedExhibition.id).pipe(z(3)).subscribe(()=>{this.exhibitions=this.exhibitions.filter(e=>e.id!==this.selectedExhibition.id),this.totalCount--,this.onDelete=!1,this.displayConfirmDelete=!1,this.alertMessageService.add({severity:"success",summary:"Success",detail:"Your exhibition has been successfully deleted"})},e=>{this.onDelete=!1,e.error?.statusCode===401?this.mainService.expiredSesionPopup=!0:this.alertMessageService.add({severity:"error",summary:"Failed",detail:"Something went wrong. The exhibition could not be deleted."})})}
1openNewTab(e){window.open(e)}copyText(e){let n=this.document.getElementById(e);n&&n.value&&navigator.clipboard.writeText(n.value).then(()=>{this.alertMessageService.add({severity:"success",detail:"The text has been copied."})}).catch(()=>{this.alertMessageService.add({severity:"error",detail:"Failed to copy text."})})}openShareLink(e){this.isShare=!0;let n=M.viewer_path+"/"+e.share_string;this.iframe=`<iframe width="560" height="315" src="${n}" title="${e.name}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>`,this.shareableLink=n}openLink(e){let n=/^https?:\/\//i.test(e)?e:`https://${e}`;window.open(n,"_blank")}startCreating(){this.profileService.startCreating(()=>{this._router.navigate([this.mainService.userInfo.username+"/create"])})}sendFeedback(){this._contactService.openFeedback(`Dashboard \u2014 My Galleries \u2014 ${this._router.url}`)}_checkReveal(){if(!this.isBrowser)return;let e=window.innerHeight||document.documentElement.clientHeight;this._el.nativeElement.querySelectorAll(".reveal:not(.in)").forEach(t=>{let a=t,_=a.getBoundingClientRect();_.top<e*.92&&_.bottom>0&&a.classList.add("in")})}_initReveal(){this.isBrowser&&(this._checkReveal(),requestAnimationFrame(()=>this._checkReveal()),setTimeout(()=>this._checkReveal(),120),!this._revealListenersAttached&&(this._revealListenersAttached=!0,window.addEventListener("scroll",this._onRevealScroll,{passive:!0}),window.addEventListener("resize",this._onRevealScroll,{passive:!0})))}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275cmp=k({type:r,selectors:[["app-profile-main"]],inputs:{isInside:[1,"isInside"],infoUser:[1,"infoUser"],username:[1,"username"],profileLoading:[1,"profileLoading"],refetch:[1,"refetch"]},decls:60,vars:36,consts:[[1,"profile-galleries"],[1,"beta-banner","reveal"],[1,"dash-head","reveal"],[1,"dash-title"],[1,"count"],["data-d","1",1,"gallery-board","reveal"],["type","button",1,"new-gallery"],[1,"gcard"],[1,"gallery-loading"],[1,"empty-state"],[1,"loadmore"],["header","Share your gallery","closeIcon","vi vi-x","styleClass","v-dialog profile-share-dialog","maskStyleClass","v-dialog-mask v-dialog-mask--blur",3,"visibleChange","visible","modal","draggable","resizable","closable","dismissableMask","baseZIndex"],[1,"share-dialog"],[1,"sd-icon"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true"],["cx","18","cy","5","r","3"],["cx","6","cy","12","r","3"],["cx","18","cy","19","r","3"],["d","m8.59 13.51 6.83 3.98M15.41 6.51 8.59 10.49"],["id","share-title"],["id","share-sub",1,"sd-sub"],[1,"sd-field"],["for","sharelink"],[1,"sd-input"],["type","text","id","sharelink","readonly","",3,"value"],["type","button",1,"btn","btn-ghost","btn-copy",3,"click"],["for","embedLink"],["type","text","id","embedLink","readonly","",3,"value"],[1,"sd-actions"],["type","button",1,"btn","btn-primary",3,"click"],["header","Delete this gallery?","role","alertdialog","closeIcon","vi vi-x","styleClass","v-dialog profile-delete-dialog","maskStyleClass","v-dialog-mask v-dialog-mask--blur",3,"visibleChange","visible","modal","draggable","resizable","closable","dismissableMask","closeOnEscape","baseZIndex"],[1,"confirm-dialog"],[1,"cd-icon"],["d","M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"],["d","M10 11v6M14 11v6"],["id","del-title"],["id","del-desc"],[1,"cd-hint"],[1,"cd-actions"],["type","button",1,"btn","btn-ghost",3,"click","disabled"],["type","button",1,"btn","btn-danger",3,"click","disabled"],["aria-hidden","true",1,"beta-banner-icon"],["viewBox","0 0 24 24","fill","currentColor"],["d","M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"],[1,"beta-banner-text"],["href","javascript:;",1,"beta-banner-link",3,"click"],["type","button",1,"new-gallery",3,"click"],[1,"ng-icon"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["d","M12 5v14M5 12h14"],[1,"ng-title"],[1,"ng-sub"],[1,"gcard-thumb"],[1,"gstatus"],[1,"gcard-image",3,"src","lazyLoad","alt"],[1,"gcard-countdown"],[1,"gcard-actions"],["type","button","title","View",1,"gact",3,"click"],["d","M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z"],["cx","12","cy","12","r","3"],["type","button","title","Edit",1,"gact"],["type","button","title","Share",1,"gact",3,"click"],["type","button","title","Delete",1,"gact","danger"],[1,"gcard-foot"],[1,"gcard-title"],[1,"gcard-countdown-inner"],[1,"gcard-countdown-label"],[1,"gcard-countdown-times"],[1,"gcard-countdown-time"],["type","button","title","Edit",1,"gact",3,"click"],["d","M12 20h9"],["d","M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4z"],["type","button","title","Delete",1,"gact","danger",3,"click"],["strokeWidth","5"],["type","button",1,"btn","btn-outline",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"div",0),h(1,xe,10,0,"div",1),i(2,"div",2)(3,"div",3)(4,"h1"),s(5),o(),h(6,Ce,2,1,"span",4),o()(),i(7,"div",5),h(8,Me,8,0,"button",6),$(9,Oe,24,11,"article",7,be),h(11,Se,4,3,"div",8),o(),h(12,ke,5,0,"div",9),h(13,Ee,3,3,"div",10),o(),i(14,"p-dialog",11),F("visibleChange",function(_){return U(t.isShare,_)||(t.isShare=_),_}),i(15,"div",12)(16,"span",13),v(),i(17,"svg",14),p(18,"circle",15)(19,"circle",16)(20,"circle",17)(21,"path",18),o()(),y(),i(22,"h2",19),s(23,"Share your gallery"),o(),i(24,"p",20),s(25,"Copy a public link or embed it anywhere."),o(),i(26,"div",21)(27,"label",22),s(28,"Shareable link"),o(),i(29,"div",23),p(30,"input",24),i(31,"button",25),m("click",function(){return t.copyText("sharelink")}),s(32,"Copy"),o()()(),i(33,"div",21)(34,"label",26),s(35,"Iframe embed"),o(),i(36,"div",23),p(37,"input",27),i(38,"button",25),m("click",function(){return t.copyText("embedLink")}),s(39,"Copy"),o()()(),i(40,"div",28)(41,"button",29),m("click",function(){return t.isShare=!1}
1),s(42,"Done"),o()()()(),i(43,"p-dialog",30),F("visibleChange",function(_){return U(t.displayConfirmDelete,_)||(t.displayConfirmDelete=_),_}),i(44,"div",31)(45,"span",32),v(),i(46,"svg",14),p(47,"path",33)(48,"path",34),o()(),y(),i(49,"h2",35),s(50,"Delete this gallery?"),o(),i(51,"p",36),s(52," This gallery will be deleted permanently. This can't be undone. "),h(53,Te,2,0,"span",37),o(),i(54,"div",38)(55,"button",39),m("click",function(){return t.displayConfirmDelete=!1}),s(56,"Cancel"),o(),i(57,"button",40),m("click",function(){return t.deleteExhibition()}),h(58,Le,1,0)(59,Ie,1,0),o()()()()),n&2&&(l(),u(t.isInside()&&t.mainService.beta?1:-1),l(4),C(t.isInside()?"My Galleries":"Galleries"),l(),u(t.galleryCountLabel?6:-1),l(),E("is-loading",t.isGalleryLoading),l(),u(t.isInside()&&!t.isGalleryLoading?8:-1),l(),N(t.exhibitions),l(2),u(t.isGalleryLoading?11:-1),l(),u(!t.isGalleryLoading&&t.exhibitions.length===0?12:-1),l(),u(t.exhibitions.length>0&&t.totalCount!==void 0&&t.exhibitions.length<t.totalCount?13:-1),l(),T(L(34,fe)),V("visible",t.isShare),f("modal",!0)("draggable",!1)("resizable",!1)("closable",!0)("dismissableMask",!0)("baseZIndex",1e4),l(16),f("value",t.shareableLink),l(7),f("value",t.iframe),l(6),T(L(35,_e)),V("visible",t.displayConfirmDelete),f("modal",!0)("draggable",!1)("resizable",!1)("closable",!t.onDelete)("dismissableMask",!t.onDelete)("closeOnEscape",!t.onDelete)("baseZIndex",1e4),l(10),u(t.selectedExhibition!=null&&t.selectedExhibition.published?53:-1),l(2),f("disabled",t.onDelete),l(2),f("disabled",t.onDelete),l(),u(t.onDelete?58:59))},dependencies:[se,ae,ce,le],styles:['@charset "UTF-8";[_nghost-%COMP%]   h1[_ngcontent-%COMP%], [_nghost-%COMP%]   h3[_ngcontent-%COMP%]{margin:0 0 15px;font-family:var(--font-sans);letter-spacing:-.025em!important;text-transform:none!important;color:var(--foreground);line-height:1.05;font-weight:600;text-wrap:balance}[_nghost-%COMP%]   h1[_ngcontent-%COMP%]{font-size:48px}[_nghost-%COMP%]   h3[_ngcontent-%COMP%]{font-size:30px;line-height:36px}[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   .beta-banner[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;padding:10px 16px;margin-bottom:clamp(16px,2.4vw,22px);background:var(--surface-tint);border:1px solid var(--border);border-radius:calc(var(--radius) - 2px)}[_nghost-%COMP%]   .beta-banner-icon[_ngcontent-%COMP%]{flex:0 0 auto;display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--primary);color:var(--primary-foreground)}[_nghost-%COMP%]   .beta-banner-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:14px;height:14px}[_nghost-%COMP%]   .beta-banner-text[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;margin:0;font-size:13.5px;line-height:1.5;color:var(--muted-foreground)}[_nghost-%COMP%]   .beta-banner-text[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:var(--foreground);font-weight:600}[_nghost-%COMP%]   .beta-banner-link[_ngcontent-%COMP%]{flex:0 0 auto;font-size:13.5px;font-weight:500;color:var(--primary);text-decoration:none;white-space:nowrap}[_nghost-%COMP%]   .beta-banner-link[_ngcontent-%COMP%]:hover{text-decoration:underline}@media(max-width:560px){[_nghost-%COMP%]   .beta-banner[_ngcontent-%COMP%]{flex-wrap:wrap}[_nghost-%COMP%]   .beta-banner-text[_ngcontent-%COMP%]{flex-basis:100%}}[_nghost-%COMP%]   .dash-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:clamp(20px,3vw,28px)}[_nghost-%COMP%]   .dash-title[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:12px}[_nghost-%COMP%]   .dash-title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:clamp(22px,2.4vw,30px);letter-spacing:-.02em;margin:0}[_nghost-%COMP%]   .dash-title[_ngcontent-%COMP%]   .count[_ngcontent-%COMP%]{font-family:var(--font-mono);font-size:13px;color:var(--muted-foreground)}[_nghost-%COMP%]   .gallery-board[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;position:relative}[_nghost-%COMP%]   .gallery-board.is-loading[_ngcontent-%COMP%]{min-height:200px}[_nghost-%COMP%]   .gallery-loading[_ngcontent-%COMP%]{grid-column:1/-1;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:16px;padding:48px 0;gap:10px}[_nghost-%COMP%]   .new-gallery[_ngcontent-%COMP%]{border:1.5px dashed color-mix(in oklch,var(--primary) 30%,var(--border));border-radius:14px;background:var(--surface-tint);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:28px 20px;text-align:center;cursor:pointer;transition:border-color .2s ease,background .2s ease}[_nghost-%COMP%]   .new-gallery[_ngcontent-%COMP%]:hover{border-color:color-mix(in oklch,var(--primary) 60%,var(--border));background:var(--accent)}[_nghost-%COMP%]   .new-gallery[_ngcontent-%COMP%]   .ng-icon[_ngcontent-%COMP%]{width:52px;height:52px;border-radius:14px;background:var(--card);border:1px solid var(--border);display:grid;place-items:center;color:var(--primary);margin-bottom:14px;transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease}[_nghost-%COMP%]   .new-gallery[_ngcontent-%COMP%]:hover   .ng-icon[_ngcontent-%COMP%]{transform:translateY(-2px);background:var(--primary);color:var(--primary-foreground);box-shadow:0 10px 24px var(--halo)}[_nghost-%COMP%]   .new-gallery[_ngcontent-%COMP%]   .ng-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:24px;height:24px}[_nghost-%COMP%]   .new-gallery[_ngcontent-%COMP%]   .ng-title[_ngcontent-%COMP%]{font-size:16px;font-weight:600;font-family:var(--font-sans);letter-spacing:-.01em;line-height:1.5;color:var(--foreground)}[_nghost-%COMP%]   .new-gallery[_ngcontent-%COMP%]   .ng-sub[_ngcontent-%COMP%]{font-size:13px;color:var(--muted-foreground);font-family:var(--font-sans);font-weight:400;letter-spacing:0;line-height:1.5}[_nghost-%COMP%]   .gcard[_ngcontent-%COMP%]{display:flex;flex-direction:column;border-radius:14px;overflow:hidden;background:var(--card);border:1px solid var(--border);
1transition:box-shadow .22s ease,border-color .22s ease}[_nghost-%COMP%]   .gcard[_ngcontent-%COMP%]:hover{box-shadow:0 22px 44px -30px hsl(var(--shadow-color)/.5);border-color:color-mix(in oklch,var(--primary) 24%,var(--border))}[_nghost-%COMP%]   .gcard-thumb[_ngcontent-%COMP%]{position:relative;aspect-ratio:16/11;overflow:hidden}[_nghost-%COMP%]   .gcard-image[_ngcontent-%COMP%]{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}[_nghost-%COMP%]   .gstatus[_ngcontent-%COMP%]{position:absolute;top:12px;left:12px;z-index:2;font-family:var(--font-mono);font-size:10px;letter-spacing:.06em;line-height:15px;text-transform:uppercase;padding:4px 9px;border-radius:100px;background:color-mix(in oklch,var(--background) 80%,transparent);border:1px solid var(--border);color:var(--foreground);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}[_nghost-%COMP%]   .gstatus.live[_ngcontent-%COMP%]{color:var(--primary);border-color:color-mix(in oklch,var(--primary) 40%,var(--border))}[_nghost-%COMP%]   .gcard-actions[_ngcontent-%COMP%]{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;justify-content:center;gap:2px;padding:8px;background:color-mix(in oklch,var(--background) 70%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid var(--border);transform:translateY(101%);transition:transform .22s ease}[_nghost-%COMP%]   .gcard[_ngcontent-%COMP%]:hover   .gcard-actions[_ngcontent-%COMP%], [_nghost-%COMP%]   .gcard[_ngcontent-%COMP%]:focus-within   .gcard-actions[_ngcontent-%COMP%]{transform:none}[_nghost-%COMP%]   .gact[_ngcontent-%COMP%]{display:grid;justify-items:center;gap:4px;padding:6px 12px;border-radius:8px;background:none;border:none;cursor:pointer;color:var(--muted-foreground);font-family:inherit;font-size:10.5px;transition:color .16s ease,background .16s ease}[_nghost-%COMP%]   .gact[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{width:18px;height:18px}[_nghost-%COMP%]   .gact[_ngcontent-%COMP%]:hover{background:var(--accent);color:var(--primary)}[_nghost-%COMP%]   .gact.danger[_ngcontent-%COMP%]:hover{color:var(--destructive)}[_nghost-%COMP%]   .gcard-foot[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:11px;padding:14px 15px 16px}[_nghost-%COMP%]   .gcard-title[_ngcontent-%COMP%]{font-size:14px;font-weight:500;line-height:1.35;color:var(--foreground);font-family:var(--font-sans);display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;background:none;border:none;padding:0;text-align:left;cursor:pointer}[_nghost-%COMP%]   .gcard-countdown[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;background:color-mix(in oklch,var(--background) 55%,transparent);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}[_nghost-%COMP%]   .gcard-countdown-inner[_ngcontent-%COMP%]{text-align:center;padding:12px}[_nghost-%COMP%]   .gcard-countdown-label[_ngcontent-%COMP%]{display:block;font-size:12px;font-weight:600;margin-bottom:8px;color:var(--foreground)}[_nghost-%COMP%]   .gcard-countdown-times[_ngcontent-%COMP%]{display:flex;gap:8px;justify-content:center}[_nghost-%COMP%]   .gcard-countdown-time[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;font-size:10px;color:var(--muted-foreground)}[_nghost-%COMP%]   .gcard-countdown-time[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-size:16px;color:var(--foreground);font-weight:600}[_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]{text-align:center;padding:clamp(48px,8vw,90px) 24px;border:1px dashed var(--border);border-radius:16px;background:var(--surface-tint);margin-top:8px}[_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:18px;font-weight:600;margin:0}[_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px;color:var(--muted-foreground);margin-top:8px}[_nghost-%COMP%]   .loadmore[_ngcontent-%COMP%]{text-align:center;margin-top:28px}[_nghost-%COMP%]   .loadmore[_ngcontent-%COMP%]   .btn.loading-button[_ngcontent-%COMP%]:after{border-right-color:var(--foreground);border-bottom-color:var(--foreground)}[_nghost-%COMP%]   .btn[_ngcontent-%COMP%]{--btn-h: 44px;position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:var(--btn-h);padding-inline:20px;border-radius:calc(var(--radius) - 2px);border:1px solid transparent;font-size:15px;font-weight:600;letter-spacing:-.01em;white-space:nowrap;cursor:pointer;transition:transform .16s cubic-bezier(.22,1,.36,1),background .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease,filter .2s ease;-webkit-user-select:none;user-select:none}[_nghost-%COMP%]   .btn[_ngcontent-%COMP%]:active{transform:translateY(1px) scale(.99)}[_nghost-%COMP%]   .btn-outline[_ngcontent-%COMP%]{background:transparent;color:var(--foreground);border-color:var(--border);box-shadow:0 1px 2px hsl(var(--shadow-color)/.05)}[_nghost-%COMP%]   .btn-outline[_ngcontent-%COMP%]:hover{background:var(--accent);border-color:color-mix(in oklch,var(--primary) 45%,var(--border));transform:translateY(-1px);box-shadow:0 5px 14px -5px hsl(var(--shadow-color)/.16)}[_nghost-%COMP%]   .btn-sm[_ngcontent-%COMP%]{--btn-h: 38px;padding-inline:14px;font-size:14px}[_nghost-%COMP%]   .reveal[_ngcontent-%COMP%]{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1)}[_nghost-%COMP%]   .reveal.in[_ngcontent-%COMP%]{opacity:1;transform:none}[_nghost-%COMP%]   .reveal[data-d="1"][_ngcontent-%COMP%]{transition-delay:.
108s}@media(prefers-reduced-motion:reduce){[_nghost-%COMP%]   .reveal[_ngcontent-%COMP%]{opacity:1;transform:none;transition:none}}@media(max-width:1140px){[_nghost-%COMP%]   .gallery-board[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:880px){[_nghost-%COMP%]   .gallery-board[_ngcontent-%COMP%]{grid-template-columns:repeat(3,minmax(0,1fr))}[_nghost-%COMP%]   .dash-head[_ngcontent-%COMP%]{align-items:stretch}}@media(max-width:720px){[_nghost-%COMP%]   .gallery-board[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){[_nghost-%COMP%]   .gallery-board[_ngcontent-%COMP%]{grid-template-columns:1fr}}[_nghost-%COMP%]     .profile-delete-dialog .btn, [_nghost-%COMP%]     .profile-share-dialog .btn{height:44px;padding:0 20px;border-radius:calc(var(--radius) - 2px);font-size:15px;font-weight:600}[_nghost-%COMP%]     .profile-delete-dialog .btn.btn-ghost, [_nghost-%COMP%]     .profile-share-dialog .btn.btn-ghost{background:transparent;color:var(--foreground);border-color:var(--border)}[_nghost-%COMP%]     .profile-delete-dialog .btn.btn-ghost:hover, [_nghost-%COMP%]     .profile-delete-dialog .btn.btn-ghost:focus, [_nghost-%COMP%]     .profile-share-dialog .btn.btn-ghost:hover, [_nghost-%COMP%]     .profile-share-dialog .btn.btn-ghost:focus{background:var(--accent);border-color:var(--border)}[_nghost-%COMP%]     .profile-delete-dialog .btn.btn-danger, [_nghost-%COMP%]     .profile-share-dialog .btn.btn-danger{background:var(--destructive);border-color:var(--destructive);color:#fff}[_nghost-%COMP%]     .profile-delete-dialog .btn.btn-danger:hover, [_nghost-%COMP%]     .profile-delete-dialog .btn.btn-danger:focus, [_nghost-%COMP%]     .profile-share-dialog .btn.btn-danger:hover, [_nghost-%COMP%]     .profile-share-dialog .btn.btn-danger:focus{filter:brightness(.94)}[_nghost-%COMP%]     .profile-delete-dialog .confirm-dialog{text-align:center}[_nghost-%COMP%]     .profile-delete-dialog .confirm-dialog .cd-icon{width:52px;height:52px;border-radius:50%;background:color-mix(in oklch,var(--destructive) 14%,transparent);color:var(--destructive);display:grid;place-items:center;margin:0 auto 18px}[_nghost-%COMP%]     .profile-delete-dialog .confirm-dialog .cd-icon svg{width:24px;height:24px}[_nghost-%COMP%]     .profile-delete-dialog .confirm-dialog h2{margin:0 0 15px;font-family:var(--font-sans);font-size:20px;font-weight:600;line-height:48px;letter-spacing:-.02em;text-transform:none;text-wrap:balance;color:var(--foreground)}[_nghost-%COMP%]     .profile-delete-dialog .confirm-dialog p{color:var(--muted-foreground);font-size:14.5px;margin-top:10px;line-height:1.55;font-weight:300}[_nghost-%COMP%]     .profile-delete-dialog .confirm-dialog p .cd-hint{display:block;margin-top:8px}[_nghost-%COMP%]     .profile-delete-dialog .confirm-dialog .cd-actions{display:flex;gap:10px;justify-content:center;margin-top:26px;flex-wrap:wrap}[_nghost-%COMP%]     .profile-delete-dialog .confirm-dialog .cd-actions .btn{min-width:124px}[_nghost-%COMP%]     .profile-share-dialog .share-dialog{text-align:center}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-icon{width:52px;height:52px;border-radius:50%;background:color-mix(in oklch,var(--primary) 14%,transparent);color:var(--primary);display:grid;place-items:center;margin:0 auto 18px}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-icon svg{width:24px;height:24px}[_nghost-%COMP%]     .profile-share-dialog .share-dialog h2{margin:0 0 15px;font-family:var(--font-sans);font-size:20px;font-weight:600;line-height:48px;letter-spacing:-.02em;text-transform:none;text-wrap:balance;color:var(--foreground)}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-sub{color:var(--muted-foreground);font-size:14.5px;margin-top:8px;font-weight:300}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-field{margin-top:20px;text-align:left}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-field label{display:block;font-size:13px;font-weight:500;color:var(--muted-foreground);margin-bottom:7px}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-field .sd-input{display:flex;gap:8px}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-field .sd-input input{flex:1;min-width:0;height:44px;padding:0 14px;background:var(--surface-tint, var(--muted));border:1px solid var(--border);border-radius:calc(var(--radius) - 2px);color:var(--foreground);font-size:14px;font-family:var(--font-mono)}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-field .sd-input input:focus{outline:none;border-color:color-mix(in oklch,var(--primary) 45%,var(--border))}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-field .sd-input .btn-copy{flex:0 0 auto;padding:0 16px}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-actions{display:flex;justify-content:center;margin-top:26px}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-actions .btn{min-width:124px}@media(max-width:640px){[_nghost-%COMP%]     .profile-delete-dialog .confirm-dialog .cd-actions{flex-direction:column-reverse}[_nghost-%COMP%]     .profile-delete-dialog .confirm-dialog .cd-actions .btn{width:100%}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-input{flex-direction:column}[_nghost-%COMP%]     .profile-share-dialog .share-dialog .sd-input .btn-copy{width:100%}}']})}}return r})();var De=["mainLayout"],ct=(()=>
1{class r{constructor(){this.mainService=d(I),this.layoutService=d(ne),this.route=d(ee),this.cookieService=d(ie),this.profileService=d(D),this._title=d(X),this._meta=d(K),this.loading=!0,this.isInside=!1,this._destroy$=new Y,this.mainService.userInfoPublicSubject.asObservable().pipe(S(this._destroy$)).subscribe(e=>{this._matchesRouteUsername(e?.username)&&(this._updateMetaTag(),this.infoUser=e,this.loading=!1)}),this.route.params.pipe(S(this._destroy$)).subscribe(e=>{let n=e.username;n!==this.username&&this._resetProfileForUsername(n),this.username=n,this._updateIsInside()})}ngOnInit(){this.mainService.isBrowser&&this.cookieService.getCookie("validateCreate")==="true"&&this.profileService.validateCreateAfterLogin(),this.mainService.isProfilePage=!0,this.username=this.route.snapshot.params.username,this.mainService.userInfoUpdated.pipe(S(this._destroy$)).subscribe(()=>{this._updateIsInside(),this._syncSupportToken()}),this._resetProfileForUsername(this.username),this._updateIsInside(),this._syncSupportToken()}_matchesRouteUsername(e){let n=this.route.snapshot.params.username;return!n||!e||e===n}_resetProfileForUsername(e){if(e===this.mainService.userInfo?.username&&this.mainService.userInfo){this.infoUser=this.mainService.userInfo,this.loading=!1;return}if(this.mainService.userInfoPublic?.username===e&&this.mainService.userInfoPublic){this.infoUser=this.mainService.userInfoPublic,this.loading=!1;return}this.infoUser=void 0,this.loading=!0}_syncSupportToken(){if(this.mainService.isBrowser&&this.mainService.userInfo?.user_type==="support"){let e=this.cookieService.getCookie("villume_token");e&&this.cookieService.setCookie("support_token",e)}}_updateIsInside(){this.isInside=this.username===this.mainService.userInfo?.username}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this.mainService.isProfilePage=!1}ngAfterViewInit(){this.mainService.isBrowser&&(this._setWidthLayout(),window.addEventListener("resize",()=>this._setWidthLayout()))}_updateMetaTag(){let e="Villume | "+this.username,n=this.infoUser?.about?this.infoUser?.about.substring(0,180):"",t=this.infoUser?.avatar?this.infoUser?.avatar:M.staticAssets+"images/other/default-avatar.png",a="https://villume.com/"+this.username;this._title.setTitle(e),this._meta.updateTag({name:"title",content:e}),this._meta.updateTag({name:"description",content:n}),this._meta.updateTag({property:"og:type",content:"website"}),this._meta.updateTag({property:"og:url",content:a}),this._meta.updateTag({property:"og:title",content:e}),this._meta.updateTag({property:"og:description",content:n}),this._meta.updateTag({property:"og:image",content:t}),this._meta.updateTag({property:"twitter:card",content:"summary_large_image"}),this._meta.updateTag({property:"twitter:url",content:a}),this._meta.updateTag({property:"twitter:title",content:e}),this._meta.updateTag({property:"twitter:description",content:n}),this._meta.updateTag({property:"twitter:image",content:t})}_setWidthLayout(){this.mainLayout&&document.documentElement.style.setProperty("--mainLayout",`${this.mainLayout.nativeElement.offsetWidth}px`)}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275cmp=k({type:r,selectors:[["app-profile"]],viewQuery:function(n,t){if(n&1&&W(De,5),n&2){let a;q(a=Q())&&(t.mainLayout=a.first)}},decls:4,vars:5,consts:[["mainLayout",""],["content","",1,"wrap-main-profile"],[3,"isInside","infoUser","username","profileLoading","refetch"]],template:function(n,t){n&1&&(i(0,"app-layouts")(1,"div",1,0),p(3,"app-profile-main",2),o()()),n&2&&(l(3),f("isInside",t.isInside)("infoUser",t.infoUser)("username",t.username)("profileLoading",t.loading)("refetch",t.profileService.refetchExhibitions))},dependencies:[pe,ge],styles:[".overlay-loading[_ngcontent-%COMP%]{width:100%;height:100vh;z-index:99;top:0;left:0;padding:30px;background-color:var(--background)}.wrap-main-profile[_ngcontent-%COMP%]{position:relative;width:100%;min-height:calc(var(--vh, 100vh) - var(--mainHeightHeader, 68px) - var(--mainHeightFooter, 0px))}"]})}}return r})();export{ct as ProfileComponent};

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.