PageSourceSearch

https://mexicoopensales.com/chunk-WS4L36FF.js

js mexicoopensales.com collected 2026-10-03 02:36:51 UTC 17,618 bytes, 1 lines download raw bytes

1import{a as Ne,b as xe,c as $e,d as we,e as Ge,f as Fe,g as ke,h as ze,i as Be}from"./chunk-2XN5S24U.js";import{b as Ee,c as Ae,e as Oe,f as F,g as Re}from"./chunk-HJFYVE36.js";import"./chunk-4ROYSU3V.js";import{f as be}from"./chunk-RRJZWFRD.js";import{a as Me,b as ve,d as Pe,e as Ce,f as he,g as ye}from"./chunk-56TMQXGL.js";import{a as Le}from"./chunk-NDT34TCW.js";import{c as De}from"./chunk-JENDZZIL.js";import{b as Z,k as Te,l as fe,m as Se}from"./chunk-VWWRZTTP.js";import"./chunk-JXGDJIAB.js";import{d as ue,g as Ie,i as ge}from"./chunk-IH6G46KT.js";import"./chunk-LFP2NUHU.js";import{$ as o,$a as M,$b as ce,$c as J,Ba as L,Ca as C,Ea as ae,F as p,Fb as de,H as x,I as $,Ia as _,Jb as me,K as te,Ma as re,Oa as A,R as Q,Tb as se,Xa as j,Xb as _e,Y as ie,Yc as G,Za as u,Zc as y,_a as h,_b as pe,ad as P,da as S,hb as le,ib as K,j as q,kb as W,mb as b,nb as w,ob as Y,pa as I,qa as g,rb as s,sa as ne,ta as oe,tb as c,ua as l,v as V,va as a,wa as r,x as ee,xa as m,ya as v,za as D}from"./chunk-5QN32QML.js";import"./chunk-X6YHEMIY.js";import"./chunk-USOD3V74.js";var Ue=(n,i)=>["/auctions",n,"item-details",i],He=()=>[];function Ve(n,i){n&1&&m(0,"img",9),n&2&&l("src",i,ie)}function Qe(n,i){if(n&1&&(a(0,"span",19),m(1,"lucide-icon",20),u(2),b(3,"date"),r(),a(4,"span",19),m(5,"lucide-icon",21),u(6),b(7,"date"),r()),n&2){let t=i;o(),l("size",14),o(),M(" ",Y(3,4,t,"shortDate")," "),o(3),l("size",14),o(),M(" ",Y(7,7,t,"shortTime")," ")}}var k=class n{tenantLogoPath=c(void 0);auctionId=c.required();auctionName=c.required();endDateTime=c(void 0);backLink=c.required();collectionQueryParams=c({auctionPage:1,itemsPage:1});currentIndex=c.required();totalCount=c.required();previousItemId=c(null);nextItemId=c(null);static \u0275fac=function(t){return new(t||n)};static \u0275cmp=S({type:n,selectors:[["app-item-details-auction-header"]],inputs:{tenantLogoPath:[1,"tenantLogoPath"],auctionId:[1,"auctionId"],auctionName:[1,"auctionName"],endDateTime:[1,"endDateTime"],backLink:[1,"backLink"],collectionQueryParams:[1,"collectionQueryParams"],currentIndex:[1,"currentIndex"],totalCount:[1,"totalCount"],previousItemId:[1,"previousItemId"],nextItemId:[1,"nextItemId"]},decls:31,vars:52,consts:()=>{let i;i=$localize`:@@shared.back:Back`;let t;t=$localize`:@@item-details.auction-header.item-position-prefix:Lot`;let e;e=$localize`:@@shared.of:of`;let d;d=$localize`:@@item-details.auction-header.previous:Previous lot`;let E;return E=$localize`:@@item-details.auction-header.next:Next lot`,[i,t,e,d,E,[1,"container","mx-auto","px-4","pt-4"],[1,"rounded-xl","border","border-[var(--accent)]/20","bg-[var(--accent)]/10","px-4","py-3","sm:px-5"],[1,"flex","flex-col","gap-3","sm:flex-row","sm:items-center","sm:justify-between"],[1,"flex","min-w-0","flex-1","items-start","gap-3","sm:items-center","sm:gap-4"],["alt","",1,"h-10","w-10","shrink-0","rounded-lg","bg-[var(--card)]","p-1","object-contain","sm:h-12","sm:w-12",3,"src"],[1,"min-w-0","flex-1"],[1,"truncate","font-display","text-sm","font-semibold","text-[var(--foreground)]","sm:text-lg"],[1,"mt-1","flex","flex-col","gap-1","text-xs","text-[var(--muted-foreground)]","sm:flex-row","sm:flex-wrap","sm:items-center","sm:gap-3","sm:text-sm"],[1,"inline-flex","items-center","gap-1","self-start","text-xs","font-medium","text-[var(--accent)]","hover:underline","sm:self-auto","sm:text-sm",3,"routerLink","queryParams"],["name","chevron-left",3,"size"],[1,"mt-2","flex","flex-wrap","items-center","gap-2","border-t","border-[var(--accent)]/20","pt-2","sm:ml-4","sm:border-l","sm:border-t-0","sm:pl-4","sm:pt-0"],[1,"text-xs","text-[var(--muted-foreground)]","sm:text-sm"],[1,"inline-flex","items-center","gap-1","rounded-md","px-2","py-1.5","text-xs","font-medium","transition-colors",3,"routerLink","queryParams"],["name","chevron-right",3,"size"],[1,"inline-flex","items-center","gap-1"],["name","calendar",3,"size"],["name","clock",3,"size"]]},template:function(t,e){if(t&1&&(a(0,"section",5)(1,"div",6)(2,"div",7)(3,"div",8),I(4,Ve,1,1,"img",9),b(5,"blobFilePath"),a(6,"div",10)(7,"h2",11),u(8),r(),a(9,"div",12),I(10,Qe,8,10),r()()(),a(11,"a",13),m(12,"lucide-icon",14),L(13),_(14,0),C(),r()(),a(15,"div",15)(16,"span",16),L(17),_(18,1),C(),u(19),L(20),_(21,2),C(),u(22),r(),a(23,"a",17),m(24,"lucide-icon",14),L(25),_(26,3),C(),r(),a(27,"a",17),L(28),_(29,4),C(),m(30,"lucide-icon",18),r()()()()),t&2){let d,E;o(4),g((d=w(5,42,e.tenantLogoPath()))?4:-1,d),o(4),M(" ",e.auctionName()," "),o(2),g((E=e.endDateTime())?10:-1,E),o(),l("routerLink",e.backLink())("queryParams",e.collectionQueryParams()),o(),l("size",14),o(7),M(" ",e.currentIndex()," "),o(3),M(" ",e.totalCount()," "),o(),j("bg-[var(--accent)]/10",!!e.previousItemId())("text-[var(--accent)]",!!e.previousItemId())("hover:bg-[var(--accent)]/20",!!e.previousItemId())("cursor-pointer",!!e.previousItemId())("bg-[var(--muted)]/50",!e.previousItemId())("text-[var(--muted-foreground)]",!e.previousItemId())("pointer-events-none",!e.previousItemId()),l("routerLink",e.previousItemId()?W(44,Ue,e.auctionId(),e.previousItemId()):K(47,He))("queryParams",e.collectionQueryParams()),o(),l("size",14),o(3),j("bg-[var(--accent)]/10",!!e.nextItemId())("text-[var(--accent)]",!!e.nextItemId())("hover:bg-[var(--accent)]/20",!!e.nextItemId())("cursor-pointer",!!e.nextItemId())("bg-[var(--muted)]/50",!e.nextItemId())("text-[var(--muted-foreground)]",!e.nextItemId())("pointer-events-none",!e.nextItemId()),l("routerLink",e.nextItemId()?W(48,Ue,e.auctionId(),e.nextItemId()):K(51,He))("queryParams",e.collectionQueryParams()),o(3),l("size",14)}},dependencies:[ce,y,G,de,Me],encapsulation:2,changeDetection:0})};var U=class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=S({type:n,selectors:[["app-item-details-dealroom-info"]],decls:36,vars:4,consts:()=>{let i;i=$localize`:@@item-details.dealroom-info.title: How the Dealroom works `;let t;t=$localize`:@@item-details.dealroom-info.confidential-bids.title:Confidential Bids`;let e;e=$localize`:@@item-details.dealroom-info.confidential-bids.description: Your bids are completely private. No other bidder can see your offers or those of others. `;let d;d=$localize`:@@item-details.dealroom-info.seller-sees-all-bids.title:Only the seller sees all bids`;let E;E=$localize`:@@item-details.dealroom-info.seller-sees-all-bids.description: The seller receives all bids and can negotiate individually with each interested party. `;let f;f=$localize`:@@item-details.dealroom-info.private-negotiations.title:Private Negotiations`;let O;O=$localize`:@@item-details.dealroom-info.private-negotiations.description: Communicate directly with the seller via the integrated chat. All messages remain confidential. `;let R;R=$localize`:@@item-details.dealroom-info.flexible-agreement.title:Flexible Agreement`;let N;return N=$localize`:@@item-details.dealroom-info.flexible-agreement.description: The seller can accept, reject, or counter bids — all in direct consultation with you. `,[i,t,e,d,E,f,O,R,N,[1,"space-y-4","rounded-2xl","bg-[var(--card)]","p-6","shadow-card"],[1,"font-display","text-xl","font-semibold","text-[var(--foreground)]","sm:text-2xl"],[1,"space-y-4"],[1,"flex","gap-3"],[1,"flex","h-9","w-9","shrink-0","items-center","justify-center","rounded-full","bg-[var(--accent)]/10","text-[var(--accent)]"],["name","lock",3,"size"],[1,"font-medium","text-[var(--foreground)]"],[1,"text-sm","text-[var(--muted-foreground)]"],["name","eye",3,"size"],["name","message-circle",3,"size"],["name","circle-check-big",3,"size"]]},template:function(t,e){t&1&&(a(0,"section",9)(1,"h2",10),_(2,0),r(),a(3,"ul",11)(4,"li",12)(5,"span",13),m(6,"lucide-icon",14),r(),a(7,"div")(8,"p",15),_(9,1),r(),a(10,"p",16),_(11,2),r()()(),a(12,"li",12)(13,"span",13),m(14,"lucide-icon",17),r(),a(15,"div")(16,"p",15),_(17,3),r(),a(18,"p",16),_(19,4),r()()(),a(20,"li",12)(21,"span",13),m(22,"lucide-icon",18),r(),a(23,"div")(24,"p",15),_(25,5),r(),a(26,"p",16),_(27,6),r()()(),a(28,"li",12)(29,"span",13),m(30,"lucide-icon",19),r(),a(31,"div")(32,"p",15),_(33,7),r(),a(34,"p",16),_(35,8),r()()()()()),t&2&&(o(6),l("size",18),o(8),l("size",18),o(8),l("size",18),o(8),l("size",18))},dependencies:[y,G],encapsulation:2,changeDetection:0})};var je=(n,i)=>i.definitionId;function Ke(n,i){if(n&1&&(v(0,"div",4)(1,"p",5),u(2),D(),v(3,"p",6),u(4),D()()),n&2){let t=i.$implicit;o(2),h(t.translatedFieldName),o(2),h(t.value)}}function We(n,i){if(n&1&&(v(0,"section",1)(1,"h2",2),_(2,0),D(),v(3,"div",3),ne(4,Ke,5,2,"div",4,je),D()()),n&2){let t=A();o(4),oe(t.fields())}}var H=class n{item=c(void 0);fields=s(()=>(this.item()?.customFields??[]).filter(i=>!!i.fieldName?.trim()&&!!i.value?.trim()).map(i=>new ze(i)));static \u0275fac=function(t){return new(t||n)};static \u0275cmp=S({type:n,selectors:[["app-item-details-information"]],inputs:{item:[1,"item"]},decls:1,vars:1,consts:()=>{let i;return i=$localize`:@@item-details.information.title:Information`,[i,[1,"w-full","rounded-2xl","bg-[var(--card)]","p-6","shadow-card"],[1,"mb-4","font-display","text-xl","font-semibold","text-[var(--foreground)]"],[1,"grid","grid-cols-2","gap-3","md:grid-cols-3","lg:grid-cols-4"],[1,"flex","flex-col"],[1,"text-xs","text-[var(--muted-foreground)]"],[1,"mt-0.5","break-words","text-sm","font-medium","text-[var(--foreground)]"]]},template:function(t,e){t&1&&I(0,We,6,0,"section",1),t&2&&g(e.fields().length?0:-1)},encapsulation:2,changeDetection:0})};function Ye(n,i){if(n&1&&(v(0,"p",6),u(1),D()),n&2){let t=A();o(),h(t.subtitle())}}var X=class n{title=c.required();
1subtitle=c("");static \u0275fac=function(t){return new(t||n)};static \u0275cmp=S({type:n,selectors:[["app-item-details-page-title"]],inputs:{title:[1,"title"],subtitle:[1,"subtitle"]},decls:8,vars:2,consts:[[1,"container","mx-auto","px-4","py-6"],[1,"max-w-7xl"],[1,"mb-2","flex","items-start","justify-between","gap-2"],[1,"min-w-0","flex-1"],[1,"font-display","text-lg","font-bold","text-[var(--foreground)]","sm:text-2xl","md:text-3xl"],[1,"break-words"],[1,"mt-1","text-xs","text-[var(--muted-foreground)]","sm:text-base"]],template:function(t,e){t&1&&(v(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4)(5,"span",5),u(6),D()(),I(7,Ye,2,1,"p",6),D()()()()),t&2&&(o(6),h(e.title()),o(),g(e.subtitle()?7:-1))},dependencies:[y],encapsulation:2,changeDetection:0})};function Je(n,i){if(n&1&&(a(0,"p",18),u(1),b(2,"formatCurrency"),r()),n&2){let t=A(2);o(),M(" ",w(2,1,t.highestBidAmount())," ")}}function Ze(n,i){if(n&1&&(a(0,"section",5)(1,"p",17),u(2),r(),I(3,Je,3,3,"p",18),r()),n&2){let t=A();o(2),M(" ",t.highestBidLabel()," "),o(),g(t.highestBidAmount()!==null?3:-1)}}function et(n,i){if(n&1){let t=ae();a(0,"lib-bidding-widget",19),re("signIn",function(){x(t);let d=A();return $(d.onSignIn())})("bidButtonUnlocked",function(){x(t);let d=A();return $(d.onBidButtonUnlocked())})("viewItemDocuments",function(){x(t);let d=A();return $(d.onViewItemDocuments())}),r()}if(n&2){let t=A();l("bidderId",t.userId())("language",t.widgetLanguage())}}function tt(n,i){if(n&1&&m(0,"app-item-details-previous-bids",7),n&2){let t=A();l("bids",t.allBids())}}function it(n,i){if(n&1&&m(0,"app-item-details-send-inquiry",15),n&2){let t=A();l("itemId",t.itemId())}}function nt(n,i){n&1&&m(0,"app-item-details-dealroom-info",16)}var Xe=class n{route=p(_e);router=p(pe);auctionsClient=p(ge);itemsClient=p(Ie);widgetClient=p(ue);authService=p(Te);analyticsService=p(De);currentTenantService=p(Se);languageService=p(fe);widgetService=p(F);signalRService=p(Le);title=p(se);appMetaService=p(he);viewportScroller=p(me);injector=p(te);hubSubscription;lastScrolledFragmentKey;auctionId=P(this.route.paramMap.pipe(q(i=>i.get("auctionId"))),{initialValue:this.route.snapshot.paramMap.get("auctionId")});userId=s(()=>this.authService.userProfile()?.id);itemId=P(this.route.paramMap.pipe(q(i=>i.get("itemId"))),{initialValue:this.route.snapshot.paramMap.get("itemId")});fragment=P(this.route.fragment,{initialValue:this.route.snapshot.fragment});widgetLanguage=this.languageService.widgetLanguage;queryParamMapSignal=P(this.route.queryParamMap,{initialValue:this.route.snapshot.queryParamMap});collectionQueryParams=s(()=>be(this.queryParamMapSignal()));item=P(J(this.itemId).pipe(V(i=>this.fetchAndUpdateItem(i))),{initialValue:void 0});widgetItem=s(()=>this.widgetService.item());isOutOfSale=this.widgetService.isOutOfSale;auction=P(J(this.auctionId).pipe(V(i=>this.auctionsClient.getById(i))),{initialValue:void 0});pageTitle=s(()=>this.item()?.name||$localize`:@@item-details.title:Item details`);pageSubtitle=s(()=>this.item()?.subtitle||"");pageDescription=s(()=>this.item()?.description||"");allBids=s(()=>this.widgetItem()?.bids??[]);backLink=s(()=>["/auctions",this.auctionId()]);tenantLogoPath=s(()=>this.currentTenantService.currentTenant()?.logoPath);auctionPlaceholderImage=s(()=>this.auction()?.imagePath??this.tenantLogoPath());itemMedias=s(()=>this.item()?.itemMedias??[]);pedigreeGenerations=s(()=>this.item()?.pedigreeGenerations??[]);isDealRoom=s(()=>this.widgetItem()?.isFreeBidding()??!1);currentItemIndex=s(()=>this.item()?.orderNumber||1);previousItemId=s(()=>this.item()?.previousItemId??null);nextItemId=s(()=>this.item()?.nextItemId??null);highestBidLabel=this.widgetService.highestBidLabel;
1highestBidAmount=this.widgetService.highestBidAmount;constructor(){this.hubSubscription=this.signalRService.createSubscription(),this.hubSubscription.onReconnect(()=>{this.fetchAndUpdateItem(this.itemId()).subscribe()}),this.bindDynamicPageTitle(),this.scrollToFragmentOnceLoaded()}onSignIn(){ve(this.authService,this.currentTenantService)}onBidButtonUnlocked(){this.widgetClient.auditBidButtonUnlocking(this.itemId()).subscribe(),this.analyticsService.trackEvent(new Oe({clientId:this.userId(),auctionId:this.auctionId(),lotId:this.itemId()}))}onViewItemDocuments(){Z(this.viewportScroller,this.injector,Re)}ngOnDestroy(){this.hubSubscription&&this.hubSubscription.unsubscribe()}fetchAndUpdateItem(i){return this.itemsClient.get(i).pipe(ee(t=>this.widgetService.updateItem(t)))}scrollToFragmentOnceLoaded(){Q(()=>{let i=this.item(),t=this.fragment();if(!i||!t)return;let d=`${this.itemId()}:${t}`;this.lastScrolledFragmentKey!==d&&(this.lastScrolledFragmentKey=d,Z(this.viewportScroller,this.injector,t))})}bindDynamicPageTitle(){Q(()=>{let i=$localize`:@@item-details.title:Item details`,t=this.auction()?.name,e=this.item()?.name,d=t&&e?[t,e]:[e||t||i];this.title.setTitle(Ce.compose(d)),this.appMetaService.refresh()})}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=S({type:n,selectors:[["app-item-details"]],features:[le([F,{provide:Ee,useExisting:F}])],decls:19,vars:28,consts:[[3,"tenantLogoPath","auctionId","auctionName","endDateTime","backLink","collectionQueryParams","currentIndex","totalCount","previousItemId","nextItemId"],[3,"title","subtitle"],[1,"container","mx-auto","px-4","pb-10"],[1,"grid","gap-4","sm:gap-6","lg:grid-cols-3","lg:gap-8"],[1,"order-1","space-y-4","lg:order-2","lg:space-y-6"],[1,"w-full","rounded-2xl","bg-[var(--card)]","p-6","text-center","shadow-card"],[3,"bidderId","language"],[3,"bids"],[1,"order-2","min-w-0","lg:order-1","lg:col-span-2","[&>*+*]:mt-4","lg:[&>*+*]:mt-8"],[1,"block",3,"item","liveItem","auctionImagePath"],[1,"block",3,"item"],[1,"block",3,"description"],[1,"block",3,"pedigreeGenerations"],[1,"block",3,"attachment"],[1,"block",3,"itemId","itemName","itemMedias"],[1,"block",3,"itemId"],[1,"block"],[1,"text-sm","leading-5","text-[var(--muted-foreground)]"],[1,"mt-2","font-display","text-[30px]","font-bold","leading-none","text-[var(--accent)]"],[3,"signIn","bidButtonUnlocked","viewItemDocuments","bidderId","language"]],template:function(t,e){if(t&1&&(m(0,"app-item-details-auction-header",0)(1,"app-item-details-page-title",1),a(2,"section",2)(3,"div",3)(4,"aside",4),I(5,Ze,4,2,"section",5),I(6,et,1,2,"lib-bidding-widget",6),I(7,tt,1,1,"app-item-details-previous-bids",7),r(),a(8,"div",8),m(9,"app-item-details-media-carousel",9)(10,"app-item-details-information",10)(11,"app-item-details-description",11)(12,"app-item-details-pedigree-embed",10)(13,"app-item-details-pedigree",12)(14,"app-item-details-attachment",13)(15,"app-item-details-documents",14),I(16,it,1,1,"app-item-details-send-inquiry",15),I(17,nt,1,0,"app-item-details-dealroom-info",16),r()()(),m(18,"app-contact-persons")),t&2){let d,E,f,O,R,N,T;l("tenantLogoPath",e.tenantLogoPath())("auctionId",e.auctionId())("auctionName",((d=e.auction())==null?null:d.name)||"")("endDateTime",((E=e.auction())==null?null:E.endDateTime)??((E=e.auction())==null?null:E.startDateTime))("backLink",e.backLink())("collectionQueryParams",e.collectionQueryParams())("currentIndex",e.currentItemIndex())("totalCount",((f=e.item())==null?null:f.totalItemsInAuction)||0)("previousItemId",e.previousItemId())("nextItemId",e.nextItemId()),o(),l("title",e.pageTitle())("subtitle",e.pageSubtitle()),o(4),g(e.item()&&!e.isDealRoom()?5:-1),o(),g(e.itemId()&&(!((O=e.widgetItem())!=null&&O.isClosed())||e.isDealRoom())?6:-1),o(),g(!((R=e.item())!=null&&R.hideSoldAmount)&&!e.isDealRoom()?7:-1),o(2),l("item",e.item())("liveItem",e.widgetItem())("auctionImagePath",e.auctionPlaceholderImage()),o(),l("item",e.item()),o(),l("description",e.pageDescription()),o(),l("item",e.item()),o(),l("pedigreeGenerations",e.pedigreeGenerations()),o(),l("attachment",(N=e.item())==null?null:N.attachment),o(),l("itemId",e.itemId())("itemName",e.pageTitle())("itemMedias",e.itemMedias()),o(),g((T=e.item())!=null&&T.auctionAllowsQuestions?16:-1),o(),g(e.isDealRoom()?17:-1)}},dependencies:[Ne,k,U,we,xe,H,X,Ge,Be,ke,Fe,$e,ye,Ae,Pe],encapsulation:2,changeDetection:0})};export{Xe as ItemDetailsComponent};

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.