1"use strict";(self.webpackChunkaqar_web_client_ui=self.webpackChunkaqar_web_client_ui||[]).push([[942],{380(M,_,a){a.d(_,{M:()=>Ct});var d=a(467),u=a(177),g=a(9769),m=a(5157),s=a(7266),h=a(9079),t=a(5547),f=a(969),v=a(3044),p=a(283),b=a(5676),x=a(3704),c=a(8360),C=a(7078),E=a(4525),T=a(9091),R=a(2758),S=a(9994),L=a(8899),D=a(6136),O=a(3595),P=a(9494),k=a(9077),A=a(2973),B=a(2265),F=a(5503);const G=["imageSection"],j=["listingDetailsContainer"],$=["detailsMap"],U=["deleteElement"],X=["listingScoreModal"],N=["removeFavorite"],V=()=>({close:!1}),W=(n,l)=>({"opacity-0 grayscale":n,"bg-nav bg-opacity-10":l}),H=n=>({"shadow-[0px_4px_10px_rgba(255,165,0,0.7)]":n}),z=()=>({borderRadiusClasses:"rounded-lg"}),I=(n,l)=>({"opacity-100":n,"opacity-65":l}),K=()=>({borderRadiusClasses:"rounded-lg sm:rounded-t-lg"}),Y=()=>({close:!0});function J(n,l){if(1&n){const e=t.RV6();t.j41(0,"img",21),t.bIt("error",function(o){s.eBV(e);const r=t.XpG(2);return s.Njj(r.handleImageError(o))}),t.k0s()}if(2&n){const e=t.XpG().borderRadiusClasses,i=t.XpG();t.HbH("absolute inset-0 w-full h-full object-cover "+e),t.Y8G("src",i.backgroundImageUrl,t.B4B)("alt",i.imageAltText)("ngClass",t.l_i(5,W,i.card.listingStatus.id===i.LISTING_STATUS_ID.INACTIVE,i.card.media.length>0&&0===i.card.media[0].mediaType.id))}}function Q(n,l){if(1&n&&t.nrm(0,"img",22),2&n){const e=t.XpG().borderRadiusClasses,i=t.XpG();t.HbH("absolute inset-0 w-full h-full object-cover "+e),t.Y8G("src",i.overlayImageUrl,t.B4B)("alt",i.overlayImageAlt)}}function Z(n,l){if(1&n&&(t.nVh(0,J,1,8,"img",19),t.nVh(1,Q,1,4,"img",20)),2&n){const e=t.XpG();t.vxM(e.backgroundImageUrl&&e.imageRevealReady?0:-1),t.R7$(),t.vxM(e.shouldShowOverlay&&e.overlayImageUrl?1:-1)}}function q(n,l){1&n&&t.nrm(0,"div",25)}function tt(n,l){1&n&&t.eu8(0)}function et(n,l){1&n&&t.nrm(0,"ng-icon",29)}function it(n,l){1&n&&t.nrm(0,"ng-icon",30)}function nt(n,l){if(1&n&&t.nrm(0,"span",51),2&n){const e=l.$index,i=t.XpG(3);t.Y8G("ngClass",t.l_i(1,I,i.currentImage===e,i.currentImage!==e))}}function ot(n,l){if(1&n){const e=t.RV6();t.j41(0,"button",46),t.bIt("click",function(o){s.eBV(e);const r=t.XpG(2);return s.Njj(r.nextImg(o))}),t.nrm(1,"ng-icon",47),t.k0s(),t.j41(2,"button",48),t.bIt("click",function(o){s.eBV(e);const r=t.XpG(2);return s.Njj(r.prevImg(o))}),t.nrm(3,"ng-icon",49),t.k0s(),t.j41(4,"div",50),t.Z7z(5,nt,1,4,"span",51,t.fX1),t.k0s()}if(2&n){const e=t.XpG(2);t.R7$(5),t.Dyx(e.dotArray)}}function at(n,l){if(1&n&&(t.j41(0,"p",38),t.EFF(1),t.nI1(2,"number"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI(" ",t.bMT(2,1,e.card.notify)," \u062f\u0623 ")}}function rt(n,l){1&n&&(t.j41(0,"p",39),t.EFF(1," \u0633\u0639\u0631 \u0627\u0642\u0644 \u0645\u0646 \u0627\u0644\u062a\u062e\u0645\u064a\u0646 "),t.k0s())}function st(n,l){if(1&n){const e=t.RV6();t.j41(0,"div",6)(1,"a",23),t.bIt("click",function(o){s.eBV(e);const r=t.XpG();return s.Njj(r.expandDetails(o))})("mouseenter",function(){s.eBV(e);const o=t.XpG();return s.Njj(o.onCardMouseEnter())})("mouseleave",function(){s.eBV(e);const o=t.XpG();return s.Njj(o.onCardMouseLeave())}),t.j41(2,"div",24),t.nVh(3,q,1,0,"div",25),t.j41(4,"div",26,3),t.bIt("click",function(o){s.eBV(e);const r=t.XpG();return s.Njj(r.expandDetails(o))}),t.DNE(6,tt,1,0,"ng-container",27),t.j41(7,"button",28),t.bIt("click",function(o){s.eBV(e);const r=t.XpG();return s.Njj(r.updateFavorite(o))}),t.nVh(8,et,1,0,"ng-icon",29)(9,it,1,0,"ng-icon",30),t.k0s(),t.j41(10,"span",31),t.EFF(11),t.k0s(),t.nVh(12,ot,7,0),t.k0s(),t.j41(13,"div",32)(14,"div",33)(15,"div",34)(16,"div",35)(17,"div",36)(18,"p",37),t.EFF(19),t.nI1(20,"number"),t.k0s(),t.nVh(21,at,3,3,"p",38),t.k0s(),t.nVh(22,rt,2,0,"p",39),t.k0s(),t.j41(23,"button",40),t.bIt("click",function(o){s.eBV(e);const r=t.XpG();return s.Njj(r.openScoreInfoModal(o))}),t.j41(24,"div",41)(25,"span",42),t.EFF(26),t.k0s()()()(),t.j41(27,"p",43),t.EFF(28),t.k0s()(),t.j41(29,"p",44),t.nrm(30,"ng-icon",45),t.EFF(31),t.k0s()()()()()}if(2&n){let e;const i=t.XpG(),o=t.sdS(1);t.R7$(),t.Y8G("ngClass",t.eq3(17,H,i.isSelected())),t.BMQ("href",i.getNormalizedSlug(i.card.slug),t.B4B),t.R7$(2),t.vxM(i.isGrouped?3:-1),t.R7$(3),t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.lJ4(19,z)),t.R7$(),t.BMQ("aria-label",i.card.isFavoriteListing?"\u0625\u0632\u0627\u0644\u0629 \u0645\u0646 \u0627\u0644\u0645\u0641\u0636\u0644\u0629":"\u0625\u0636\u0627\u0641\u0629 \u0644\u0644\u0645\u0641\u0636\u0644\u0629"),t.R7$(),t.vxM(!0===(e=i.card.isFavoriteListing)?9:8),t.R7$(3),t.SpI(" ",i.card.type.name," "),t.R7$(),t.vxM(i.card.media.length>1&&i.card.listingStatus.id===i.LISTING_STATUS_ID.ACTIVE?12:-1),t.R7$(7),t.SpI("",t.bMT(20,15,i.card.price)," \u062f\u0623"),t.R7$(2),t.vxM(i.card.notify?21:-1),t.R7$(),t.vxM(i.card.price<i.card.assessmentPrice?22:-1),t.R7$(4),t.JRh(i.card.score?i.card.score:"D"),t.R7$(2),t.SpI(" ",i.card.cardDescription," "),t.R7$(3),t.SpI(" \xa0",i.card.address," ")}}function lt(n,l){1&n&&t.eu8(0)}function dt(n,l){1&n&&t.nrm(0,"ng-icon",29)}function ct(n,l){1&n&&t.nrm(0,"ng-icon",30)}function ut(n,l){if(1&n&&t.nrm(0,"span",51),2&n){const e=l.$index,i=t.XpG(3);t.Y8G("ngClass",t.l_i(1,I,i.currentImage===e,i.currentImage!==e))}}function gt(n,l){if(1&n){const e=t.RV6();t.j41(0,"button",46),t.bIt("click",function(o){s.eBV(e);const r=t.XpG(2);return s.Njj(r.nextImg(o))}),t.nrm(1,"ng-icon",47),t.k0s(),t.j41(2,"button",48),t.bIt("click",function(o){s.eBV(e);const r=t.XpG(2);return s.Njj(r.prevImg(o))}),t.nrm(3,"ng-icon",49),t.k0s(),t.j41(4,"div",50),t.Z7z(5,ut,1,4,"span",51,t.fX1),t.k0s()}if(2&n){const e=t.XpG(2);t.R7$(5),t.Dyx(e.dotArray)}}function mt(n,l){if(1&n&&(t.j41(0,"p",38),t.EFF(1),t.nI1(2,"number"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI(" ",t.bMT(2,1,e.card.notify)," \u062f\u0623 ")}}function pt(n,l){1&n&&(t.j41(0,"p",65),t.EFF(1," \u0633\u0639\u0631 \u0627\u0642\u0644 \u0645\u0646 \u0627\u0644\u062a\u062e\u0645\u064a\u0646 "),t.k0s())}function _t(n,l){if(1&n){const e=t.RV6();t.j41(0,"a",52),t.bIt("click",function(o){return s.eBV(e),t.XpG().expandDetails(o),s.Njj(o.stopPropagation())}),t.j41(1,"div",53,4),t.bIt("click",function(){s.eBV(e);const o=t.XpG();
1return s.Njj(o.deleteCard())}),t.nrm(3,"ng-icon",54),t.k0s(),t.j41(4,"div",55),t.bIt("touchstart",function(o){s.eBV(e);const r=t.XpG();return s.Njj(r.onTouchStart(o))})("touchmove",function(o){s.eBV(e);const r=t.XpG();return s.Njj(r.onTouchMove(o))})("touchend",function(){s.eBV(e);const o=t.XpG();return s.Njj(o.onTouchEnd())}),t.j41(5,"div",56)(6,"div",57)(7,"div",58)(8,"div",59,3),t.DNE(10,lt,1,0,"ng-container",27),t.j41(11,"button",60),t.bIt("click",function(o){s.eBV(e);const r=t.XpG();return s.Njj(r.updateFavorite(o))}),t.nVh(12,dt,1,0,"ng-icon",29)(13,ct,1,0,"ng-icon",30),t.k0s(),t.j41(14,"span",61),t.EFF(15),t.k0s(),t.nVh(16,gt,7,0),t.k0s()(),t.j41(17,"div",62)(18,"div",63)(19,"p",64),t.EFF(20),t.nI1(21,"number"),t.k0s(),t.nVh(22,mt,3,3,"p",38),t.nVh(23,pt,2,0,"p",65),t.k0s(),t.j41(24,"p",43),t.EFF(25),t.k0s(),t.j41(26,"p",44),t.nrm(27,"ng-icon",45),t.EFF(28),t.k0s()()()()()()}if(2&n){let e;const i=t.XpG(),o=t.sdS(1);t.BMQ("href",i.getNormalizedSlug(i.card.slug),t.B4B),t.R7$(4),t.xc7("transform","translateX("+i.translateX+"px)"),t.R7$(6),t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.lJ4(16,K)),t.R7$(),t.BMQ("aria-label",i.card.isFavoriteListing?"\u0625\u0632\u0627\u0644\u0629 \u0645\u0646 \u0627\u0644\u0645\u0641\u0636\u0644\u0629":"\u0625\u0636\u0627\u0641\u0629 \u0644\u0644\u0645\u0641\u0636\u0644\u0629"),t.R7$(),t.vxM(!0===(e=i.card.isFavoriteListing)?13:12),t.R7$(3),t.SpI(" ",i.card.type.name," "),t.R7$(),t.vxM(i.card.media.length>1&&i.card.listingStatus.id===i.LISTING_STATUS_ID.ACTIVE?16:-1),t.R7$(4),t.SpI("",t.bMT(21,14,i.card.price)," \u062f\u0623"),t.R7$(2),t.vxM(i.card.notify?22:-1),t.R7$(),t.vxM(i.card.price<i.card.assessmentPrice?23:-1),t.R7$(2),t.SpI(" ",i.card.cardDescription," "),t.R7$(3),t.SpI(" \xa0",i.card.address," ")}}function ht(n,l){if(1&n&&(t.j41(0,"app-modal",8,5),t.nrm(2,"app-scoring-details",66),t.k0s()),2&n){const e=t.XpG();t.Y8G("config",t.lJ4(2,Y)),t.R7$(2),t.Y8G("scoreClass",e.card.score)}}let Ct=(()=>{class n{constructor(e,i,o,r,w,y,vt,bt){this.listingWizardService=e,this.userService=i,this.route=o,this.mapService=r,this.cd=w,this.platformId=y,this.navigationStateService=vt,this.trackingService=bt,this.authModalService=(0,s.WQX)(x.H),this.isSelected=(0,m.hFB)(!1),this.card=c.on,this.isFavoriteCard=!1,this.isHovered=!1,this.enableHoverEvents=!0,this.isGrouped=!1,this.deferImageLoad=!1,this.imageRevealReady=!0,this.linkSource=null,this.likeUnlikeListing=new s.bkB,this.modalOpening=new s.bkB,this.user$=this.userService.getUser(),this.showListingDetails=!1,this.listingDetailsComponentRef=null,this.destroyRef=(0,s.WQX)(s.abz),this._dotCount=-1,this._dotArray=[],this._currentImage=0,this.LISTING_STATUS_ID=c.a1,this.LISTING_TYPES=C.p_,this.center={lat:0,lng:0},this.translateX=0,this.startX=0,this.deleteWidth=0,this.swipeLeft=!1,this.swipeRight=!1,this.swipeSlideLeft=!1,this.swipeSlideRight=!1,this.isBrowser=(0,u.UE)(this.platformId)}handleTouchStart(e,i){i&&(this.startX=e.touches[0].clientX)}handleTouchMove(e,i,o,r){i&&(e.touches[0].clientX-this.startX<-50?o():r())}handleTouchEnd(e,i,o,r){e?o():i&&r()}onTouchStart(e){this.handleTouchStart(e,this.isFavoriteCard)}onTouchMove(e){this.handleTouchMove(e,this.isFavoriteCard,()=>{this.swipeLeft=!0,this.translateX=e.touches[0].clientX-this.startX},()=>{this.swipeRight=!0})}onTouchEnd(){this.handleTouchEnd(this.swipeLeft,this.swipeRight,()=>{this.translateX=this.translateX-this.startX<-50?this.deleteWidth:0},()=>{this.translateX=0}),this.swipeLeft=!1,this.swipeRight=!1}onSlideStart(e){this.handleTouchStart(e,e.target.classList.contains("image-slide"))}onSlideMove(e){this.handleTouchMove(e,e.target.classList.contains("image-slide"),()=>this.swipeSlideLeft=!0,()=>this.swipeSlideRight=!0)}onSlideEnd(){this.handleTouchEnd(this.swipeSlideLeft,this.swipeSlideRight,()=>this.prevImg(),()=>this.nextImg()),this.swipeSlideLeft=!1,this.swipeSlideRight=!1}deleteCard(){this.removeFavoriteModal.openDialog()}ngOnChanges(e){e.card&&this.normalizeCardMedia()}ngOnInit(){this.user$.pipe((0,h.pQ)(this.destroyRef)).subscribe(e=>{this.user=e,this.cd.markForCheck()}),this.isBrowser&&this.deferImageLoad&&(this.imageRevealReady=!1,(0,O.Wv)(()=>{this.imageRevealReady=!0,this.cd.markForCheck()}))}normalizeCardMedia(){const e=this.card.media.filter(i=>i.mediaType.id===C.Z2.IMAGE||i.mediaType.id===C.Z2.SCREENSHOT);this.card={...this.card,media:0===e.length?[{...c.I5}]:[...e]}}ngAfterViewInit(){(0,u.Vy)(this.platformId)||(this.deleteWidth=this.deleteElement?.nativeElement?.offsetWidth||0,this.deleteWidth=this.deleteWidth>0?-.95*this.deleteWidth:0,this.isBrowser&&!this.documentClickHandler&&(this.documentClickHandler=e=>{"DIALOG"===e.target?.tagName&&this.listingDetailsComponentRef?.instance&&this.listingDetailsComponentRef.instance.closeDialog()},document.addEventListener("click",this.documentClickHandler,!0)))}ngOnDestroy(){this.documentClickHandler&&(document.removeEventListener("click",this.documentClickHandler,!0),this.documentClickHandler=void 0),this.listingDetailsComponentRef&&(this.listingDetailsComponentRef.destroy(),this.listingDetailsComponentRef=null)}prevImg(e){e?.stopPropagation(),this._currentImage-1>=0?this._currentImage--:this._currentImage=this.card.media.length-1}nextImg(e){e?.stopPropagation(),this._currentImage<this.card.media.length-1?this._currentImage++:this._currentImage=0}get currentImage(){return this._currentImage}get dotArray(){const e=this.card?.media?.length||0;return e!==this._dotCount&&(this._dotCount=e,this._dotArray=Array.from({length:e},(i,o)=>o)),this._dotArray}closeModal(){this.removeFavoriteModal.closeDialog()}updateFavorite(e){e.stopPropagation(),e.preventDefault(),this.trackingService.trackListViewCardFavorite(),this.user&&""===this.user.id?this.authModalService.openAuthModal():this.card.isFavoriteListing?this.isFavoriteCard?this.removeFavoriteModal.openDialog():this.updateFavoriteListing(
1):(this.updateFavoriteListing(),this.recordFavoriteInteraction())}updateFavoriteListing(){this.card.isFavoriteListing=!this.card.isFavoriteListing,this.cardDetails&&(this.cardDetails.isFavoriteListing=!this.cardDetails.isFavoriteListing),this.likeUnlikeListing.emit(this.card.id)}unlikeListing(){this.card.isFavoriteListing=!this.card.isFavoriteListing,this.cardDetails&&(this.cardDetails.isFavoriteListing=!this.cardDetails.isFavoriteListing),this.likeUnlikeListing.emit(this.card.id),(0,S.H)({title:"",text:"\u062a\u0645 \u0627\u0632\u0627\u0644\u0629 \u0627\u0644\u0639\u0642\u0627\u0631 \u0645\u0646 \u0627\u0644\u0645\u0641\u0636\u0644\u0629 \u0628\u0646\u062c\u0627\u062d",icon:"success",timerProgressBar:!0,timer:2200})}newIsFavorite(e){this.card.isFavoriteListing=e,this.likeUnlikeListing.emit(this.card.id)}onListingDetailsClosed(){this.listingDetailsComponentRef&&(this.listingDetailsComponentRef.destroy(),this.listingDetailsComponentRef=null)}getNormalizedSlug(e){return e?e.replaceAll("\u0645\u062d\u0627\u0641\u0638\u0629-\u0639\u0645\u0627\u0646","\u0645\u062d\u0627\u0641\u0638\u0629-\u0627\u0644\u0639\u0627\u0635\u0645\u0629"):""}expandDetails(e){e.preventDefault(),e.stopPropagation(),this.isFavoriteCard||window.open(this.getNormalizedSlug(this.card.slug),"_blank","noopener,noreferrer"),this.modalOpening.emit(this.card.id),this.trackingService.trackPropertyViewed(this.card.id,"card"),this.trackingService.trackListViewCardClick(),this.navigationStateService.setReturnRoute(window.location.pathname,this.route.snapshot.queryParams)}openListingDetailsModal(){var e=this;return(0,d.A)(function*(){if(e.listingDetailsContainer){e.listingDetailsComponentRef&&(e.listingDetailsComponentRef.destroy(),e.listingDetailsComponentRef=null);try{const i=yield Promise.all([a.e(2412),a.e(1975),a.e(9896),a.e(1953),a.e(8032),a.e(8068),a.e(6886),a.e(5062),a.e(8108)]).then(a.bind(a,8108)).then(n=>n.ListingDetailsComponent);e.listingDetailsComponentRef=e.listingDetailsContainer.createComponent(i),e.listingDetailsComponentRef.setInput("listingId",e.card.id),e.listingDetailsComponentRef.instance.likeUnlikeListing.subscribe(o=>{e.newIsFavorite(o)}),e.listingDetailsComponentRef.instance.dialogClosed.subscribe(()=>{e.onListingDetailsClosed()}),setTimeout(()=>{e.listingDetailsComponentRef?.instance&&e.listingDetailsComponentRef.instance.openDialog()},0)}catch(i){console.error("Error loading listing details component:",i)}}else console.error("Listing details container not found")})()}onCardMouseEnter(){this.enableHoverEvents&&this.mapService.emitCardHover(this.card.id,!0,this.card.parcelId,this.card.price)}onCardMouseLeave(){this.enableHoverEvents&&this.mapService.emitCardHover(this.card.id,!1,this.card.parcelId,this.card.price)}get backgroundImageUrl(){return(0,D.B)(this.card.media[this.currentImage])}getImageUrl(e){return(0,L.V)(e)}get imageAltText(){const i=this.card.address||"",o=this.card.price?`${this.card.price} \u062f\u0623`:"";return`${this.card.type?.name||"\u0639\u0642\u0627\u0631"} ${i?`- ${i}`:""} ${o?`- ${o}`:""}`.trim()||"\u0635\u0648\u0631\u0629 \u0627\u0644\u0639\u0642\u0627\u0631"}get overlayImageUrl(){return this.card.listingStatus.id===c.a1.SOLD?"../../../../../assets/img/sold.png":this.card.listingStatus.id===c.a1.INACTIVE?"../../../../../assets/img/inactive.png":null}get overlayImageAlt(){return this.card.listingStatus.id===c.a1.SOLD?"\u0639\u0642\u0627\u0631 \u0645\u0628\u0627\u0639":this.card.listingStatus.id===c.a1.INACTIVE?"\u0639\u0642\u0627\u0631 \u063a\u064a\u0631 \u0646\u0634\u0637":null}get shouldShowOverlay(){return this.card.listingStatus.id===c.a1.SOLD||this.card.listingStatus.id===c.a1.INACTIVE}handleImageError(e){const i=e.target;i&&(i.style.display="none")}openScoreInfoModal(e){e?.preventDefault(),e?.stopPropagation(),this.scoreInfoMore=!1,this.listingScoreModal.openDialog()}recordFavoriteInteraction(){this.listingWizardService.recordListingInteraction({listingId:this.card.id,type:C.Ic.FAVORITE}).subscribe({error:e=>{console.error("Error recording FAVORITE interaction from mobile card:",e)}})}static{this.\u0275fac=function(i){return new(i||n)(t.rXU(E.r),t.rXU(R.D),t.rXU(A.nX),t.rXU(B.u),t.rXU(m.gRc),t.rXU(s.Agw),t.rXU(F.n),t.rXU(T.b))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-mobile-card"]],viewQuery:function(i,o){if(1&i&&t.GBs(G,5)(j,5,t.c1b)($,5)(U,5)(X,5)(N,5),2&i){let r;t.mGM(r=t.lsd())&&(o.imageSection=r.first),t.mGM(r=t.lsd())&&(o.listingDetailsContainer=r.first),t.mGM(r=t.lsd())&&(o.detailsMap=r.first),t.mGM(r=t.lsd())&&(o.deleteElement=r.first),t.mGM(r=t.lsd())&&(o.listingScoreModal=r.first),t.mGM(r=t.lsd())&&(o.removeFavoriteModal=r.first)}},hostAttrs:["ngSkipHydration","true"],inputs:{isSelected:[1,"isSelected"],card:"card",is
1FavoriteCard:"isFavoriteCard",isHovered:"isHovered",enableHoverEvents:"enableHoverEvents",isGrouped:"isGrouped",deferImageLoad:"deferImageLoad",linkSource:"linkSource"},outputs:{likeUnlikeListing:"likeUnlikeListing",modalOpening:"modalOpening"},features:[t.Jv_([(0,v.EB)({heroHeart:p.PMb,heroChevronRight:p.Sbs,heroChevronLeft:p.PT0,heroMapPinSolid:b.jC,heroHeartSolid:b.uVb,heroTrash:p.dmW,heroXCircle:p.d1p})]),t.OA$],decls:22,vars:5,consts:[["cardImage",""],["removeFavorite",""],["listingDetailsContainer",""],["imageSection",""],["deleteElement",""],["listingScoreModal",""],[1,"size-full"],["target","_blank","rel","noopener noreferrer",1,"favorite-card-mobile","relative","overflow-hidden","sm:w-full","card-overflow-div","mx-auto","sm:m-0","bg-white","border-0","my-2","block"],[3,"config"],[1,"mobile-view-dialog","flex","flex-col","w-full","sm:w-96","h-auto","sm:h-108","justify-between","fixed","bottom-0","left-0","sm:relative","sm:bottom-auto","sm:left-auto","bg-white","text-text","rounded-t-lg","sm:rounded-lg","shadow-lg"],[1,"hr-line","sm:hidden"],[1,"text-center","mt-6","px-8","mb-8","sm:mb-0","sm:mt-8","text-lg"],[1,"flex","text-nav","justify-center","hidden","sm:flex"],["name","heroXCircle","size","94"],[1,"flex","flex-col","pb-6"],[1,"flex","justify-center"],[1,"filled-button","w-full",3,"click"],[1,"flex","justify-center","mt-4"],[1,"not-filled-button","w-full",3,"click"],["width","240","height","180","loading","lazy","fetchpriority","low","decoding","async",3,"src","alt","class","ngClass"],["width","240","height","180","loading","lazy","decoding","async",3,"src","alt","class"],["width","240","height","180","loading","lazy","fetchpriority","low","decoding","async",3,"error","src","alt","ngClass"],["width","240","height","180","loading","lazy","decoding","async",3,"src","alt"],["target","_blank","rel","noopener noreferrer",1,"relative","h-full","cursor-pointer","block",3,"click","mouseenter","mouseleave","ngClass"],[1,"card-holder","relative","p-2","flex","flex-row","gap-2","w-full","h-full","bg-white","text-text","rounded-xl","shadow-xl","border-2","border-dark","border-opacity-5","overflow-hidden"],[1,"absolute","right-0","top-0","h-full","w-2","bg-[#F28649]"],[1,"grayscal","image-slide","relative","flex","h-32","min-h-[8rem]","w-2/5","min-w-[40%]","shrink-0","cursor-pointer","justify-center","self-stretch","rounded-lg","bg-center","bg-no-repeat",3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",1,"absolute","w-8","h-8","bg-white","rounded-full","right-2","top-2",3,"click"],["size","14","name","heroHeart",1,"icon","like-icon"],["size","14","name","heroHeartSolid",1,"icon","like-icon"],[1,"absolute","px-2","py-1","bottom-2","right-2","text-center","backdrop-blur","bg-primary","bg-opacity-80","rounded-lg","text-sm","font-medium","text-[#F5F4F8]","md:text-white"],[1,"content-mobile","flex","min-h-0","min-w-0","flex-1","flex-col","overflow-hidden","h-32","max-h-32"],[1,"flex","flex-col","grow"],[1,"flex","justify-between","items-start"],[1,"flex","flex-col","w-full","pt-[0.4rem]"],[1,"flex","flex-row","flex-wrap","gap-2","max-w-40"],[1,"leading-5","text-lg","font-bold","text-link"],[1,"font-bold","text-sm","leading-5","text-label","line-through"],[1,"text-sm","font-semibold","text-orange","leading-5","mt-1"],["type","button",1,"badge-wrapper","self-start","shrink-0","absolute","top-0","left-3","h-auto",3,"click"],[1,"score-badge","h-10","bg-primary"],[1,"score-text"],[1,"block","mt-2","text-sm","font-normal","text-ellipsis","overflow-hidden","max-h-12","line-clamp-2"],[1,"text-sm","font-normal","truncate","mt-2"],["name","heroMapPinSolid"],["type","button","aria-label","\u0627\u0644\u0635\u0648\u0631\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629",1,"absolute","right-2","top-1/2",3,"click"],["size","28","name","heroChevronRight",1,"icon","arrow-icon"],["type","button","aria-label","\u0627\u0644\u0635\u0648\u0631\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",1,"absolute","left-2","top-1/2",3,"click"],["size","28","name","heroChevronLeft",1,"icon","arrow-icon"],["dir","ltr",1,"absolute","bottom-2","flex","gap-1","
1slider-dots"],[1,"rounded-full","bg-white","w-2","h-2","shadow-lg",3,"ngClass"],["target","_blank","rel","noopener noreferrer",1,"favorite-card-mobile","relative","overflow-hidden","sm:w-full","card-overflow-div","mx-auto","sm:m-0","bg-white","border-0","my-2","block",3,"click"],[1,"flex","items-center","bg-red-500","text-white","absolute","top-0","left-full","right-2","h-full","w-1/4","right-0","justify-center","delete-button","rounded-r-lg",3,"click"],["size","25","name","heroTrash"],[1,"flex","transition-transform","duration-300","swipe-item","w-full",3,"touchstart","touchmove","touchend"],[1,"card-class","w-full"],[1,"flex","flex-row","sm:flex-col","w-full","h-full","bg-white","text-text","sm:rounded-lg","sm:shadow-xl","border-0","sm:border-dark","sm:border-opacity-5","sm:border-2"],[1,"sm:flex-row","flex-col","w-[40%]","sm:w-full"],["role","group","aria-label","\u0635\u0648\u0631 \u0627\u0644\u0639\u0642\u0627\u0631",1,"flex","justify-center","mb-0","sm:mb-2","w-auto","w-full","h-24","main-image-class","sm:h-36","bg-center","bg-no-repeat","rounded-lg","sm:rounded-t-lg","relative","cursor-pointer"],["type","button",1,"absolute","w-8","h-8","bg-white","rounded-full","heart-icon","left-2","top-2",3,"click"],[1,"absolute","px-2","py-1","leading-7","text-center","bg-dark","bg-opacity-65","card-type-icon","rounded-lg","text-sm","font-medium","text-white"],[1,"sm:flex-row","py-2","flex-col","w-[60%]","sm:w-full","overflow-hidden"],[1,"block","sm:flex","justify-start","pr-4","gap-4"],[1,"leading-5","text-lg","font-bold"],[1,"text-sm","font-semibold","p-0","sm:pr-4","text-orange","leading-5"],[3,"scoreClass"]],template:function(i,o){1&i&&(t.DNE(0,Z,2,2,"ng-template",null,0,t.C5r),t.nVh(2,st,32,20,"div",6),t.nVh(3,_t,29,17,"a",7),t.j41(4,"app-modal",8,1)(6,"div",9),t.nrm(7,"hr",10),t.j41(8,"p",11),t.EFF(9," \u0647\u0644 \u062a\u0631\u064a\u062f \u062d\u0630\u0641 \u0627\u0644\u0639\u0642\u0627\u0631 \u0645\u0646 \u0627\u0644\u0645\u0641\u0636\u0644\u0629\u061f "),t.k0s(),t.j41(10,"div",12),t.nrm(11,"ng-icon",13),t.k0s(),t.j41(12,"div",14)(13,"div",15)(14,"button",16),t.bIt("click",function(){return o.unlikeListing()}),t.EFF(15,"\u0646\u0639\u0645"),t.k0s()(),t.j41(16,"div",17)(17,"button",18),t.bIt("click",function(){return o.closeModal()}),t.EFF(18," \u0644\u0627\u060c \u0634\u0643\u0631\u0627 "),t.k0s()()()()(),t.eu8(19,null,2),t.nVh(21,ht,3,3,"app-modal",8)),2&i&&(t.R7$(2),t.vxM(o.isFavoriteCard?-1:2),t.R7$(),t.vxM(o.isFavoriteCard?3:-1),t.R7$(),t.Y8G("config",t.lJ4(4,V)),t.R7$(17),t.vxM(o.card?21:-1))},dependencies:[g.MD,g.YU,g.T3,v.Uq,P.z,f.rJ,k.R,g.QX],styles:["[_nghost-%COMP%]{display:block;width:100%;--tw-text-opacity: 1;color:rgb(81 85 92 / var(--tw-text-opacity, 1))}.card-holder[_ngcontent-%COMP%] .content-height[_ngcontent-%COMP%]{display:flex;min-height:50px;align-items:center}.icon[_ngcontent-%COMP%]{height:100%!important;width:100%!important;padding-right:9px;padding-top:9px}.like-icon[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(251 42 42 / var(--tw-text-opacity, 1))}.arrow-icon[_ngcontent-%COMP%]{padding:0;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.icon-button[_ngcontent-%COMP%]{height:100%!important;padding-top:.5rem!important}.orange-button[_ngcontent-%COMP%]{height:4rem;width:75%;cursor:pointer;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(242 134 73 / var(--tw-bg-opacity, 1));padding-left:1.5rem;padding-right:1.5rem;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.nav-button[_ngcontent-%COMP%]{height:4rem;width:75%;cursor:pointer;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(72 118 150 / var(--tw-bg-opacity, 1));padding-left:1.5rem;padding-right:1.5rem;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))} .google-map-container-listing-details{display:block!important;width:100%!important;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1) !important;
1--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important} .google-map-container-listing-details .map-container{height:11rem!important;width:100%!important;border-radius:.5rem!important}.document-link[_ngcontent-%COMP%]{height:2.5rem;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(72 118 150 / var(--tw-bg-opacity, 1));padding-top:.25rem;padding-bottom:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.document-link.name[_ngcontent-%COMP%]{width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:center!important;line-height:2rem!important}@media(min-width:768px){.document-link.name[_ngcontent-%COMP%]{width:75%!important}}.review[_ngcontent-%COMP%]{width:100%;table-layout:fixed;padding-left:2rem;padding-right:2rem;font-size:.875rem;line-height:1.25rem}.review[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]{height:1.75rem}.review[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]:nth-child(odd){font-weight:600}.review[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]:nth-child(2n){font-weight:400}.media-button[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.5rem;z-index:10;display:flex;height:2.25rem;width:6rem;cursor:pointer;justify-content:space-evenly;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(72 118 150 / var(--tw-bg-opacity, 1));padding:.375rem 1.5rem;text-align:center;font-weight:400;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
1--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.listing-images[_ngcontent-%COMP%]{overflow:scroll;height:100vh;padding-bottom:4rem}.cards_item[_ngcontent-%COMP%]{display:flex;padding:.5rem}.hovered[_ngcontent-%COMP%]{transform:scale(1.02);transition:transform .2s ease-in-out}.card-class[_ngcontent-%COMP%]{padding:.5rem;height:18rem}@media(max-width:639px){.card-class[_ngcontent-%COMP%]{height:auto;border-radius:.5rem;border-width:2px;border-color:rgb(0 0 17 / var(--tw-border-opacity, 1));--tw-border-opacity: .05;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-left:.75rem;padding-right:.75rem;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.arrow-icon[_ngcontent-%COMP%], .slider-dots[_ngcontent-%COMP%]{display:none}.main-image-class[_ngcontent-%COMP%]{height:7rem}.delete-button[_ngcontent-%COMP%]{height:95%;margin-top:1%;background:#fb2a2a}.card-overflow-div[_ngcontent-%COMP%]{max-width:24rem}.favorite-card-mobile[_ngcontent-%COMP%] .heart-icon[_ngcontent-%COMP%]{right:.5rem;--tw-bg-opacity: 1;background-color:rgb(251 42 42 / var(--tw-bg-opacity, 1))}.favorite-card-mobile[_ngcontent-%COMP%] .like-icon[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}}@media(max-width:768px){.slider-dots[_ngcontent-%COMP%]{display:none!important}}.score-badge[_ngcontent-%COMP%]{width:35px;background-color:#487696;clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);display:flex;align-items:center;justify-content:center}.score-badge[_ngcontent-%COMP%] .score-text[_ngcontent-%COMP%]{position:relative;color:#fff;font-weight:700;font-size:1rem;text-transform:uppercase;padding:.5rem}.badge-wrapper[_ngcontent-%COMP%]{display:inline-block;filter:drop-shadow(0 4px 4px rgba(0,0,0,.3))}"]})}}return n})()},9035(M,_,a){a.r(_),a.d(_,{GET_BREADCRUMB_BY_SLUG:()=>b,GET_LISTING_BREADCRUMB:()=>x,GET_LISTING_COUNT:()=>c,GET_MAP_BOOTSTRAP_DATA:()=>f,GET_MAP_CARDS_BY_IDS:()=>p,GET_MAP_MARKER_DETAILS:()=>t,GET_PLACE_DETAILS_QUERY:()=>h,NEARBY_LISTINGS:()=>C,SEARCH_LISTINGS_AND_FAVORITE:()=>m,SEARCH_LISTINGS_QUERY:()=>g,SEARCH_PLACES_QUERY:()=>s});var d=a(4976),u=a(9958);const g=d.J1` 2 query searchListings($query: ListingOpenSearchInput!) { 3 searchListings(query: $query) { 4 searchResults { 5 id 6 media { 7 id 8 mediaType { 9 id 10 name 11 } 12 url 13 thumbnailUrl 14 isPrimary 15 } 16 price 17 notify 18 assessmentPrice 19 type { 20 id 21 name 22 } 23 address 24 slug 25 cardDescription 26 listingStatus { 27 id 28 } 29 lat 30 lng 31 description 32 score 33 date 34 listingDetails { 35 ... on Building { 36 buildingArea 37 numOfBathrooms 38 numOfRooms 39 numOfStreetsId { 40 id 41 name 42 } 43 mainLandRegulation { 44 id 45 name 46 } 47 secondLandRegulation { 48 id 49 name 50 } 51 subLandRegulation { 52 id 53 name 54 } 55 } 56 ... on Land { 57 isSharedDeed 58 area 59 mainLandRegulation { 60 id 61 name 62 } 63 secondLandRegulation { 64 id 65 name 66 } 67 subLandRegulation { 68 id 69 name 70 } 71 landNumOfStreetsId { 72 id 73 name 74 } 75 } 76 ... on Apartment {
77 area 78 bedrooms { 79 id 80 name 81 } 82 bathrooms { 83 id 84 name 85 } 86 numOfFloorsId { 87 id 88 name 89 } 90 condition { 91 id 92 name 93 } 94 } 95 } 96 } 97 centerLocation 98 } 99 } 100`,m=d.J1` 101 query searchListingsAndFavorite($query: ListingOpenSearchInput!) { 102 searchListings(query: $query) { 103 searchResults { 104 id 105 score 106 date 107 media { 108 id 109 mediaType { 110 id 111 name 112 } 113 url 114 thumbnailUrl 115 isPrimary 116 } 117 price 118 notify 119 assessmentPrice 120 type { 121 id 122 name 123 } 124 address 125 slug 126 cardDescription 127 listingStatus { 128 id 129 } 130 lat 131 lng 132 description 133 listingDetails { 134 ... on Building { 135 buildingArea 136 numOfBathrooms 137 numOfRooms 138 numOfStreetsId { 139 id 140 name 141 } 142 mainLandRegulation { 143 id 144 name 145 } 146 secondLandRegulation { 147 id 148 name 149 } 150 subLandRegulation { 151 id 152 name 153 } 154 } 155 ... on Land { 156 isSharedDeed 157 area 158 mainLandRegulation { 159 id 160 name 161 } 162 secondLandRegulation { 163 id 164 name 165 } 166 subLandRegulation { 167 id 168 name 169 } 170 } 171 ... on Apartment { 172 area 173 bedrooms { 174 id 175 name 176 } 177 bathrooms { 178 id 179 name 180 } 181 floorNumber { 182 id 183 name 184 } 185 condition { 186 id 187 name 188 } 189 } 190 } 191 } 192 centerLocation 193 } 194 ${u.g} 195 } 196`,s=d.J1` 197 query SearchPlaces($query: String!) { 198 searchPlaces(query: $query) { 199 placeId 200 name 201 vicinity 202 lat 203 lng 204 zoomLevel 205 } 206 } 207`,h=d.J1` 208 query GetPlaceDetails($placeId: String!) { 209 getPlaceDetails(placeId: $placeId) { 210 lat 211 lng 212 name 213 vicinity 214 zoomLevel 215 } 216 } 217`,t=d.J1` 218 query getMapMarkerDetails($query: ListingOpenSearchInput!, $maxResults: Int!) { 219 getMapMarkerDetails(query: $query, maxResults: $maxResults) { 220 markers { 221 id 222 lat 223 lng 224 price 225 listingStatus { 226 id 227 } 228 type { 229 id 230 name 231 } 232 parcelId 233 parcelCount 234 } 235 center { 236 lat 237 lng 238 } 239 totalCount 240 } 241 }
242`,f=d.J1` 243 query getMapBootstrapData( 244 $query: ListingOpenSearchInput! 245 $maxMarkers: Int! 246 $initialCardsLimit: Int! 247 $zoomLevel: Int 248 ) { 249 getMapBootstrapData( 250 query: $query 251 maxMarkers: $maxMarkers 252 initialCardsLimit: $initialCardsLimit 253 zoomLevel: $zoomLevel 254 ) { 255 markers { 256 id 257 lat 258 lng 259 price 260 listingStatus { 261 id 262 } 263 type { 264 id 265 name 266 } 267 parcelId 268 parcelCount 269 score 270 } 271 center { 272 lat 273 lng 274 } 275 totalCount 276 initialCards { 277 id 278 slug 279 price 280 notify 281 assessmentPrice 282 score 283 address 284 cardDescription 285 parcelId 286 type { 287 id 288 name 289 } 290 listingStatus { 291 id 292 } 293 media { 294 url 295 thumbnailUrl 296 isPrimary 297 mediaTypeId 298 } 299 } 300 } 301 } 302`,v=d.J1` 303 fragment MapBootstrapCardFields on MapBootstrapCard { 304 id 305 slug 306 price 307 notify 308 assessmentPrice 309 score 310 address 311 cardDescription 312 parcelId 313 type { 314 id 315 name 316 } 317 listingStatus { 318 id 319 } 320 media { 321 url 322 thumbnailUrl 323 isPrimary 324 mediaTypeId 325 } 326 } 327`,p=d.J1` 328 query getMapCardsByIds($listingIds: [String!]!) { 329 getMapCardsByIds(listingIds: $listingIds) { 330 ...MapBootstrapCardFields 331 } 332 } 333 ${v} 334`,b=d.J1` 335 query getBreadcrumbBySlug($slug: String!, $level: Int!, $type: Int) { 336 getBreadcrumbBySlug(slug: $slug, level: $level, type: $type) 337 } 338`,x=d.J1` 339query getListingBreadcrumb($listingId: String!) { 340 getListingBreadcrumb(listingId: $listingId) 341} 342`,c=d.J1` 343 query getListingCount($level: String!, $id: Int!) { 344 getListingCount(level: $level, id: $id) 345 } 346`,C=d.J1` 347 query getNearbyListings($input: NearbyListingsInput!) { 348 getNearbyListings(input: $input) { 349 id 350 price 351 lat 352 lng 353 score 354 355 type { 356 id 357 name 358 } 359 360 listingStatus { 361 id 362 } 363 } 364 } 365`},3595(M,_,a){a.d(_,{Wv:()=>s,hT:()=>g,n6:()=>m});let u=0;function g(){u=performance.now()}function m(){return u?Math.max(0,4e3-(performance.now()-u)):4e3}function s(h){const t=()=>{const f=m();f>0?setTimeout(t,f):"complete"===document.readyState?setTimeout(h,250):window.addEventListener("load",()=>setTimeout(h,250),{once:!0})};t()}}}]);
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.