PageSourceSearch

https://frontend-assets.propstack.de/vite/assets/BaseField.vue_vue_type_style_index_0_lang-CityMBcf.js

js propstack.de collected 2026-10-02 04:53:04 UTC 951,656 bytes, 12,908 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["https://frontend-assets.propstack.de/vite/assets/ClientRelations-HF3me9PE.js","https://frontend-assets.propstack.de/vite/assets/index-0i_LXRD6.js","https://frontend-assets.propstack.de/vite/assets/axios-CKhxuawg.js","https://frontend-assets.propstack.de/vite/assets/lodash-CGHiTOYJ.js","https://frontend-assets.propstack.de/vite/assets/index-CZLmRyvZ.js","https://frontend-assets.propstack.de/vite/assets/config-BSX4WDNJ.js","https://frontend-assets.propstack.de/vite/assets/filters-B2RvLzX5.js","https://frontend-assets.propstack.de/vite/assets/axios-CZHndzmg.css","https://frontend-assets.propstack.de/vite/assets/ClipboardCopy.vue_vue_type_script_setup_true_lang-Bkx1NG4N.js","https://frontend-assets.propstack.de/vite/assets/ClipboardCopy-BrMagHF5.css","https://frontend-assets.propstack.de/vite/assets/Spinner-Zs0RRzMi.js","https://frontend-assets.propstack.de/vite/assets/Spinner-BSQA2Gz5.css","https://frontend-assets.propstack.de/vite/assets/index-BWvdXomi.js","https://frontend-assets.propstack.de/vite/assets/with-case-CrLVFSQV.js","https://frontend-assets.propstack.de/vite/assets/booleanAttributeCoercion-DHObeXVu.js","https://frontend-assets.propstack.de/vite/assets/types-DDF6CoAf.js","https://frontend-assets.propstack.de/vite/assets/ClientRelations-DS6GHlNk.css"])))=>i.map(i=>d[i]);
2var Ua=e=>{throw TypeError(e)};var Vi=(e,t,n)=>t.has(e)||Ua("Cannot "+n);var M=(e,t,n)=>(Vi(e,t,"read from private field"),n?n.call(e):t.get(e)),Se=(e,t,n)=>t.has(e)?Ua("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ue=(e,t,n,i)=>(Vi(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),Ae=(e,t,n)=>(Vi(e,t,"access private method"),n);import{P as K,x as y,g as u,y as P,k as f,H as et,l as U,Y as Ms,u as E,ao as tc,i as Pt,c as F,an as Vs,r as la,w as ze,am as nc,ap as ic,ah as rc,t as da,D as ca,h as Kt,$ as ac,E as ii,b as ce,n as li,C as g,L as xe,F as ee,A as Te,f as w,I as Y,s as S,j as k,o as At,a1 as oc,e as I,U as Ls,V as Bs,aq as yi,Z as Ht,q as ae,N as un,v as Qe,_ as ln,d as Zn,K as sc,G as vt,z as Jn,J as vn,B as ua,p as qa,T as lc,S as dc,a5 as cc}from"./index-0i_LXRD6.js";import{c as Us,_ as te}from"./config-BSX4WDNJ.js";import{B as bi,E as vi,u as je,k as Ee,p as uc,a as yn,n as pn,c as pc,t as Nn,w as di,o as mc,x as xa,G as za,l as hc,D as fc}from"./ClipboardCopy.vue_vue_type_script_setup_true_lang-Bkx1NG4N.js";import{_ as Ii,l as Ne,c as ei,a as gc,h as cn}from"./lodash-CGHiTOYJ.js";import{a as ci,b as pa}from"./with-case-CrLVFSQV.js";import{a5 as yc,m as bc,g as rt,a as dn,c as ma,e as at,N as vc,d as ha}from"./axios-CKhxuawg.js";import{c as tt}from"./booleanAttributeCoercion-DHObeXVu.js";import{u as ot,i as Q}from"./index-CZLmRyvZ.js";import{f as Ci,g as qs,a as Ic,b as xs,d as Cc,i as zn,p as ui}from"./filters-B2RvLzX5.js";import{i as Gn}from"./types-DDF6CoAf.js";const Sc={key:0,class:"nice-card__header"},_c={class:"nice-card__container"},kc={key:0,class:"nice-card__image"},Tc={class:"nice-card__content"},wc={key:1,class:"nice-card__footer"},zs=K({__name:"NiceCard",props:{variant:{default:"plain"}},setup(e){return(t,n)=>(u(),y("div",{class:U(`nice-card nice-card--${e.variant}`)},[t.$slots.header?(u(),y("div",Sc,[et(t.$slots,"header")])):P("",!0),f("div",_c,[t.$slots.image?(u(),y("div",kc,[et(t.$slots,"image")])):P("",!0),f("div",Tc,[et(t.$slots,"content")])]),t.$slots.footer?(u(),y("div",wc,[et(t.$slots,"footer")])):P("",!0),et(t.$slots,"default")],2))}});var Fc=(e=>(e.Negative="negative",e.Positive="positive",e))(Fc||{}),Pc=(e=>(e.Lost="lost",e.Qualified="qualified",e.Unqualified="unqualified",e))(Pc||{}),Ac=(e=>(e.Asc="ASC",e.Desc="DESC",e))(Ac||{}),it=(e=>(e.Christies="CHRISTIES",e.Dash="DASH",e.Facebook="FACEBOOK",e.Feed="FEED",e.Fotocasa="FOTOCASA",e.Idealista="IDEALISTA",e.Idx="IDX",e.Instagram="INSTAGRAM",e.Is24="IS24",e.Mls="MLS",e.OnTheMarket="ON_THE_MARKET",e.Openimmo="OPENIMMO",e.Prian="PRIA
2N",e.PropertyFinder="PROPERTY_FINDER",e.Rightmove="RIGHTMOVE",e.Wsj="WSJ",e.Xml2U="XML2U",e.Zoopla="ZOOPLA",e))(it||{}),Gs=(e=>(e.Commercial="COMMERCIAL",e.Investment="INVESTMENT",e.Living="LIVING",e))(Gs||{}),$c=(e=>(e.Friday="FRIDAY",e.Monday="MONDAY",e.Saturday="SATURDAY",e.Sunday="SUNDAY",e.Thursday="THURSDAY",e.Tuesday="TUESDAY",e.Wednesday="WEDNESDAY",e))($c||{}),Rc=(e=>(e.All="ALL",e.Months_12="MONTHS_12",e.Months_18="MONTHS_18",e.Months_24="MONTHS_24",e))(Rc||{});class b extends String{constructor(t,n){super(t),this.value=t,this.__meta__=n}toString(){return this.value}}const Dc=new b(`
3    fragment SharedClientFormFields on Client {
4  id
5  salutation
6  academicTitle
7  firstName
8  lastName
9  teamId
10  homeCell
11  homePhone
12  officeCell
13  officePhone
14  intlHomeCell
15  intlHomePhone
16  emails
17  locale
18  messageSalutation
19  officeUrl
20  homeUrl
21  homeStreet
22  homeHouseNumber
23  homeZipCode
24  homeCity
25  homeCountry
26  propertyMailingWanted
27  company
28  position
29  officeStreet
30  officeHouseNumber
31  officeZipCode
32  officeCity
33  officeCountry
34  homeFax
35  officeFax
36  rating
37  dob
38  birthName
39  birthPlace
40  birthCountry
41  passType
42  identityNumber
43  issuingAuthority
44  taxIdentificationNumber
45  nationality
46  legalForm
47  registerNumber
48  conspicuity
49  matrimonialPropertyScheme
50  equity
51  handoverDate
52  rentDate
53  income
54  mvsigned
55  hvsigned
56  photoUrl
57  clientAddresses {
58    id
59    label
60    value
61    position
62    intl
63  }
64  married
65  matrimonialPropertyScheme
66  spousesConsent
67  bankName
68  bankAccountOwner
69  bankIban
70  bankBic
71  customFields
72  gdprStatus
73  acceptContact
74  itsmydataCreditScore
75  itsmydataValidity
76  itsmydataValidUntil
77  itsmydataProductType
78  itsmydataRequestStatus
79  itsmydataRequestedAt
80  itsmydataIncomeSources
81  itsmydataEmploymentType
82  itsmydataAverageIncome
83  itsmydataRentIncomeRatio
84  itsmydataHouseholdSize
85  itsmydataLandlordReference
86  itsmydataDaysUntilExpiry
87}
88    `,{fragmentName:"SharedClientFormFields"}),Nc=new b(`
89    fragment ClientFormFields on Client {
90  ...SharedClientFormFields
91  commercial
92  clientStatusId
93  clientSourceId
94  groupIds
95  brokerId
96  secondBrokerId
97  description
98  followupDate
99  warningNotice
100  locked
101  archived
102  newsletter
103  propertyMailingWanted
104  clientSyncBrokerIds
105  brokerIds
106  departmentIds
107  keepDataTill
108  clientReasonId
109  projectIds
110  accessBrokerIds
111  accessDepartmentIds
112  inquiryDepartmentId
113  mailchimpInterestIds
114  relationships {
115    id
116    name
117    internalName
118    relationshipCategoryId
119    transferClientData
120    client {
121      id
122      name
123      nonCommercialName
124      company
125    }
126    property {
127      id
128      name
129      isVariant
130      archived
131    }
132    project {
133      id
134      name
135    }
136  }
137  children {
138    ...SharedClientFormFields
139  }
140  updatedAt
141  tipster {
142    commission
143    commission_percentage: commissionPercentage
144  }
145}
146    fragment SharedClientFormFields on Client {
147  id
148  salutation
149  academicTitle
150  firstName
151  lastName
152  teamId
153  homeCell
154  homePhone
155  officeCell
156  officePhone
157  intlHomeCell
158  intlHomePhone
159  emails
160  locale
161  messageSalutation
162  officeUrl
163  homeUrl
164  homeStreet
165  homeHouseNumber
166  homeZipCode
167  homeCity
168  homeCountry
169  propertyMailingWanted
170  company
171  position
172  officeStreet
173  officeHouseNumber
174  officeZipCode
175  officeCity
176  officeCountry
177  homeFax
178  officeFax
179  rating
180  dob
181  birthName
182  birthPlace
183  birthCountry
184  passType
185  identityNumber
186  issuingAuthority
187  taxIdentificationNumber
188  nationality
189  legalForm
190  registerNumber
191  conspicuity
192  matrimonialPropertyScheme
193  equity
194  handoverDate
195  rentDate
196  income
197  mvsigned
198  hvsigned
199  photoUrl
200  clientAddresses {
201    id
202    label
203    value
204    position
205    intl
206  }
207  married
208  matrimonialPropertyScheme
209  spousesConsent
210  bankName
211  bankAccountOwner
212  bankIban
213  bankBic
214  customFields
215  gdprStatus
216  acceptContact
217  itsmydataCreditScore
218  itsmydataValidity
219  itsmydataValidUntil
220  itsmydataProductType
221  itsmydataRequestStatus
222  itsmydataRequestedAt
223  itsmydataIncomeSources
224  itsmydataEmploymentType
225  itsmydataAverageIncome
226  itsmydataRentIncomeRatio
227  itsmydataHouseholdSize
228  itsmydataLandlordReference
229  itsmydataDaysUntilExpiry
230}`,{fragmentName:"ClientFormFields"}),Oc=new b(`
231    fragment SharedClientQuery on Client {
232  id
233  name
234  nonCommercialName
235  firstName
236  lastName
237  email
238  itemId
239  brokerId
240  company
241  photoUrl
242  followupDate
243  phone
244  intlPhone
245  createdAt
246  creatorId
247  updatedAt
248  updaterId
249  lastContactAt
250  acceptContact
251  propertyMailingWanted
252  secondBrokerId
253  gdprStatus
254}
255    `,{fragmentName:"SharedClientQuery"}),Ec=new b(`
256    fragment FloorScanOrderFields on FloorScanOrder {
257  id
258  propertyId
259  orderRef
260  status
261  lastEvent
262  express
263  mkmPhase
264  manifestState
265  manifestAcceptedAt
266  scanCount
267  address
268  scans {
269    id
270    localScanRef
271    filename
272    displayName
273    areaType
274    usableSpaceType
275    floor
276    location
277    unit
278    captureByteSize
279    archiveByteSize
280    uploadState
281    createdAt
282  }
283  createdAt
284  updatedAt
285}
286    `,{fragmentName:"FloorScanOrderFields"}),Mc=new b(`
287    fragment DealFields on ClientProperty {
288  dealPipelineId
289  dealStageId
290  clientId
291  propertyId
292  projectId
293  brokerId
294  brokerIds
295  departmentIds
296  startDate
297  soldPrice
298  feeling
299  clientSourceId
300  note
301  updatedAt
302  customFields
303  teamId
304  departmentIds
305  is24UserProfileUrl
306  buyReason
307  homeOwner
308  employmentStatus
309  numberOfPersons
310  ownCapital
311  householdNetIncomeRange
312  maxBudget
313  searchAdvancePhase
314  financingStatus
315}
316    `,{fragmentName:"DealFields"}),Vc=new b(`
317    fragment FolderFields on Folder {
318  id
319  name
320  sendable
321  lpLiveDuration
322  password
323  ignoreLpBlocked
324  parentId
325  restricted
326  global
327  maxFileSize
328  maxFiles
329  allowedContentTypes
330  description
331  forUpload
332  isPlaceholder
333  documentTags
334  mandatory
335}
336    `,{fragmentName:"FolderFields"}),Lc=new b(`
337    fragment DocumentFields on Document {
338  id
339  url
340  title
341  tags
342  contentType
343  fileSize
344  createdAt
345  isPrivate
346  onLandingPage
347  isExposee
348  isFloorplan
349  aiTagClassificationPending
350  folderId
351  connectionIds
352  uploadedByClient {
353    name
354  }
355  documentExtractions {
356    id
357    categoryKey
358    status
359    confidenceScore
360    extractedData
361    finalData
362    category
363  }
364  bequest
365}
366    `,{fragmentName:"DocumentFields"}),Bc=new b(`
367    fragment ImageFields on Image {
368  id
369  title
370  titleDe
371  titleEn
372  titleEs
373  titleFr
374  titleRu
375  titleIt
376  titleHu
377  photoUrl
378  tags
379  bequest
380  token
381  photoUrlThumb: photoUrl(version: "thumb")
382  position
383  disableWatermarking
384  isPrivate
385  isFloorplan
386  isNotForExposee
387  connectionIds
388  aiOriginalImageId
389  aiOperation
390  aiEditOperation
391  aiRoomType
392  aiDesignStyle
393  aiTitleStatus
394  aiTitle
395  aiTitleGeneratedAt
396}
397    `,{fragmentName:"ImageFields"}),Uc=new b(`
398    fragment ProjectCounts on Project {
399  imagesCount(bequestable: true)
400  documentsCount(bequestable: true)
401  linksCount
402}
403    `,{fragmentName:"ProjectCounts"}),qc=new b(`
404    fragment LinkFields on Link {
405  id
406  url
407  title
408  updatedAt
409  isPrivate
410  onLandingPage
411  isEmbedable
412  pinned
413  tags
414  connectionIds
415  variableName
416}
417    `,{fragmentName:"LinkFields"}),xc=new b(`
418    fragment ShopTags on Shop {
419  imageTags
420  documentTags
421  linkTags
422  links {
423    ...LinkFields
424  }
425}
426    fragment LinkFields on Link {
427  id
428  url
429  title
430  updatedAt
431  isPrivate
432  onLandingPage
433  isEmbedable
434  pinned
435  tags
436  connectionIds
437  variableName
438}`,{fragmentName:"ShopTags"}),zc=new b(`
439    fragment MessageProperty on Property {
440  id
441  name
442  marketingType
443  marketingTypeLabel
444  marketingPrice
445  categoryLabel
446  rsTypeLabel
447  zipCode
448  city
449  region
450  country
451  numberOfRooms
452  livingSpace
453  plotArea
454  industrialArea
455  constructionYear
456  price
457  valuationPrice
458  valuationPriceFrom
459  valuationPriceTo
460  baseRent
461  currency
462  titleImageUrl
463  path
464}
465    `,{fragmentName:"MessageProperty"}),Gc=new b(`
466    fragment DealStagesFragment on DealStage {
467  id
468  name
469  publicName
470  title
471  chance
472  color
473  maxAllowance
474  excludedBrokerIds
475  nextPropertyStatusId
476  addPropertyGroupIds
477  subPropertyGroupIds
478  nextClientStatusId
479  addClientGroupIds
480  subClientGroupIds
481  nextClientReasonId
482  transferOfferPriceToProperty
483  viewonly
484  dealPipelineId
485  clientReasonIdExplicitlySet
486  translations {
487    id
488    locale
489    name
490    publicName
491  }
492  recipes {
493    id
494    actionType
495    actionOptions
496  }
497}
498    `,{fragmentName:"DealStagesFragment"}),jc=new b(`
499    fragment DealPipelinesFragment on DealPipeline {
500  id
501  name
502  translations {
503    name
504    id
505    locale
506  }
507  brokerIds
508  departmentIds
509  excludedClientStatusIds
510  excludedClientGroupIds
511  displayedKeyFigures
512  exclusiveDealStageIds
513  dealStages {
514    ...DealStagesFragment
515  }
516}
517    fragment DealStagesFragment on DealStage {
518  id
519  name
520  publicName
521  title
522  chance
523  color
524  maxAllowance
525  excludedBrokerIds
526  nextPropertyStatusId
527  addPropertyGroupIds
528  subPropertyGroupIds
529  nextClientStatusId
530  addClientGroupIds
531  subClientGroupIds
532  nextClientReasonId
533  transferOfferPriceToProperty
534  viewonly
535  dealPipelineId
536  clientReasonIdExplicitlySet
537  translations {
538    id
539    locale
540    name
541    publicName
542  }
543  recipes {
544    id
545    actionType
546    actionOptions
547  }
548}`,{fragmentName:"DealPipelinesFragment"}),Hc=new b(`
549    fragment ProjectFormFieldsFragment on Project {
550  street
551  houseNumber
552  zipCode
553  city
554  region
555  country
556  name
557  status
558  note
559  warningNotice
560  brokerId
561  readBrokerIds
562  writeBrokerIds
563  departmentIds
564  writeDepartmentIds
565  teamId
566  title
567  subHeadline
568  tagline
569  lpPropertyListColumns
570  forRent
571  showUnitsOnLandingPage
572  enableLinkingToUnitsLp
573  landingPageBlocked
574  logoUrl
575  scoutId
576  inquiryDepartmentId
577  lat
578  lng
579  locationId
580  hideAddress
581  cadastralDistrict
582  plotNumber
583  district
584  courtage
585  courtageNote
586  descriptionNote
587  locationNote
588  furnishingNote
589  longDescriptionNote
590  longLocationNote
591  longFurnishingNote
592  energyCertificateAvailability
593  energyCertificateCreationDate
594  energyCertificateStartDate
595  energyCertificateEndDate
596  buildingEnergyRatingType
597  energyEfficiencyClass
598  energyEfficiencyValue
599  thermalCharacteristicElectricity
600  thermalCharacteristicHeating
601  coEmission
602  energyConsumptionContainsWarmWater
603  heatingType
604  firingTypes
605  constructionYear
606  equipmentTechnologyConstructionYear
607  constructionYearUnknown
608  autHwb
609  autHwbClass
610  autFgee
611  autFgeeClass
612  customFields
613  translations {
614    locale
615    courtage
616    courtageNote
617    subHeadline
618    tagline
619    title
620    descriptionNote
621    locationNote
622    furnishingNote
623    longDescriptionNote
624    longLocationNote
625    longFurnishingNote
626  }
627  relationships {
628    id
629    name
630    internalName
631    relatedClientId
632    relatedClient {
633      id
634      name
635      email
636      phone
637      path
638    }
639  }
640  publishings {
641    id
642    portalId
643    publishDate
644    postUrl
645    scoutTicketUrl
646    externalId
647  }
648}
649    `,{fragmentName:"ProjectFormFieldsFragment"}),Wc=new b(`
650    fragment ValidPropertyFormFields on Property {
651  brokerId
652  brokerIds
653  departmentIds
654  projectId
655  teamId
656  groupIds
657  propertyStatusId
658  unitId
659  exposeeId
660  targetGroup
661  note
662  warningNotice
663  systemWarningNotice
664  archived
665  scoutContactId
666  scoutId
667  scoutGroupNumber
668  inquiryDepartmentId
669  lat
670  lng
671  locationId
672  hideAddress
673  cadastralDistrict
674  plotNumber
675  roadAccess
676  roadAccessType
677  district
678  courtage
679  internalBrokerage
680  courtageNote
681  commissionPassThrough
682  totalCommission
683  internalCommission
684  internalCommissionPercentage
685  externalCommission
686  externalCommissionPercentage
687  title
688  descriptionNote
689  shortNote
690  locationNote
691  furnishingNote
692  otherNote
693  longDescriptionNote
694  longLocationNote
695  longFurnishingNote
696  longOtherNote
697  distanceToPt
698  distanceToFm
699  distanceToMrs
700  distanceToAirport
701  distanceToPtLength
702  distanceToFmLength
703  distanceToMrsLength
704  distanceToAirportLength
705  livingSpace
706  totalFloorSpace
707  plotArea
708  numberOfRooms
709  numberOfBedRooms
710  numberOfBathRooms
711  floor
712  numberOfFloors
713  floorPosition
714  usableFloorSpace
715  netFloorSpace
716  cellarSpace
717  balconySpace
718  gardenSpace
719  minDivisible
720  buildingSpace
721  buildingPart
722  officeSpace
723  officeSpaceMin
724  officeSpaceTotal
725  officeRentPerSqmFrom
726  officeRentPerSqmTo
727  officeAdditionalCostsPerSqmFrom
728  officeAdditionalCostsPerSqmTo
729  retailSpace
730  retailSpaceMin
731  retailSpaceTotal
732  retailRentPerSqmFrom
733  retailRentPerSqmTo
734  retailAdditionalCostsPerSqmFrom
735  retailAdditionalCostsPerSqmTo
736  gastroSpace
737  gastroSpaceMin
738  gastroSpaceTotal
739  gastroRentPerSqmFrom
740  gastroRentPerSqmTo
741  gastroAdditionalCostsPerSqmFrom
742  gastroAdditionalCostsPerSqmTo
743  storageSpace
744  storageSpaceMin
745  storageSpaceTotal
746  storageRentPerSqmFrom
747  storageRentPerSqmTo
748  storageAdditionalCostsPerSqmFrom
749  storageAdditionalCostsPerSqmTo
750  mezzanineSpace
751  mezzanineSpaceMin
752  mezzanineSpaceTotal
753  mezzanineRentPerSqmFrom
754  mezzanineRentPerSqmTo
755  openSpace
756  openSpaceMin
757  openSpaceTotal
758  openRentPerSqmFrom
759  openRentPerSqmTo
760  serviceSpace
761  serviceSpaceMin
762  serviceSpaceTotal
763  serviceRentPerSqmFrom
764  serviceRentPerSqmTo
765  archiveSpace
766  archiveSpaceMin
767  archiveSpaceTotal
768  archiveSpaceRentPerSqmFrom
769  archiveSpaceRentPerSqmTo
770  numberOfBalconies
771  numberOfTerraces
772  cubature
773  numberSeats
774  lodgerFlat
775  price
776  parkingSpacePrice
777  priceOnInquiry
778  forBidding
779  baseRent
780  totalRent
781  heatingCosts
782  serviceCharge
783  heatingCostsInServiceCharge
784  rentSubsidy
785  otherCosts
786  maintenanceReserve
787  vat
788  plusVat
789  priceType
790  currency
791  areaUnit
792  rented
793  freeFrom
794  freeUntil
795  parkingSpacesTotal
796  numberOfParkingSpaces
797  numberOfEvCharging
798  parkingSpaceTypes
799  truckParkingSpacesTotal
800  numberOfTruckParkingSpaces
801  truckParkingSpacePrice
802  condition
803  interiorQuality
804  lastRefurbishment
805  tenancy
806  commercializationType
807  shortTermConstructible
808  utilizationTradeSite
809  recommendedUseTypes
810  siteDevelopmentType
811  siteConstructibleType
812  grz
813  gfz
814  bgf
815  bmz
816  buildingPermission
817  preliminaryEnquiry
818  demolition
819  constructionPhase
820  widthGarage
821  heightGarage
822  lengthGarage
823  pricePerSqm
824  customPricePerSqm
825  numberOfApartments
826  numberOfCommercials
827  numberOfUnits
828  rentalIncome
829  rentalIncomeTarget
830  rentalIncomeActual
831  priceMultiplierTarget
832  priceMultiplier
833  yieldTarget
834  yieldActual
835  investmentCategory
836  purchaseForm
837  industrialArea
838  additionalArea
839  tenantStructure
840  walt
841  numberOfSingleRooms
842  singleRoomsQuota
843  occupancyRate
844  numberOfVacancies
845  conservationAreas
846  locationClassificationType
847  shopWindowLength
848  goodsLift
849  goodsLiftLoad
850  floorLoad
851  supplyType
852  lanCables
853  hasCanteen
854  ramp
855  autoLift
856  hallHeight
857  connectedLoad
858  craneRunwayLoad
859  rentDurations
860  priceIntervalType
861  startRentalDate
862  endRentalDate
863  minRentalTime
864  maxRentalTime
865  maxNumberOfPersons
866  hasFurniture
867  gender
868  lift
869  barrierFree
870  cellar
871  guestToilet
872  builtInKitchen
873  balcony
874  loggia
875  garden
876  monument
877  summerResidencePractical
878  storeroom
879  chimney
880  swimmingPool
881  sauna
882  alarmSystem
883  winterGarden
884  airConditioning
885  bathroom
886  flooringType
887  outsideView
888  petsAllowed
889  nonSmoker
890  certificateOfEligibilityNeeded
891  flatShareSuitable
892  energyCertificateAvailability
893  energyCertificateCreationDate
894  energyCertificateStartDate
895  energyCertificateEndDate
896  buildingEnergyRatingType
897  energyEfficiencyClass
898  energyEfficiencyValue
899  thermalCharacteristicElectricity
900  thermalCharacteristicHeating
901  coEmission
902  co2EmissionRating
903  energyConsumptionContainsWarmWater
904  heatingType
905  firingTypes
906  constructionYear
907  energyCertificateConstructionYear
908  equipmentTechnologyConstructionYear
909  constructionYearUnknown
910  autHwb
911  autHwbClass
912  autFgee
913  autFgeeClass
914  autMainRent
915  autCadastralCommunity
916  autBuildingCertificates
917  primaryOutdoorOrientation
918  suitableForInvestment
919  windowShutter
920  bicycleStorage
921  laundryRoom
922  smartHome
923  conflictOfInterestType
924  dualAgency
925  valuationPriceFrom
926  valuationPriceTo
927  valuationPrice
928  soldPrice
929  realizedRent
930  soldDate
931  costBalcony
932  costLift
933  costOther
934  parkingSpaceNumber
935  apartmentNumber
936  teId
937  coOwnershipShare
938  localCourt
939  registerNumber
940  landRegistry
941  contractType
942  duration
943  durationFrom
944  durationUntil
945  deposit
946  renter
947  customLpAddress
948  areabutlerLinkWithAddress
949  areabutlerLinkWithoutAddress
950  listAllUnitsOnLandingPage
951  landingPageBlocked
952  openimmoFirstname
953  openimmoLastname
954  openimmoEmail
955  openimmoPhone
956  compensationCosts
957  recurringCosts
958  recurringCostsNet
959  recurringCostsVat
960  recurringCostsVatPercent
961  heatingCostsNet
962  heatingCostsVat
963  heatingCostsVatPercent
964  serviceChargeNet
965  serviceChargeVat
966  serviceChargeVatPercent
967  otherCostsNet
968  otherCostsVat
969  otherCostsVatPercent
970  priceNet
971  priceVat
972  priceVatPercent
973  baseRentNet
974  baseRentVat
975  baseRentVatPercent
976  totalRentNet
977  totalRentVat
978  totalRentVatPercent
979  otherRentNet
980  otherRentVat
981  financialContribution
982  constructionType
983  facebookPostDescription
984  instagramPostDescription
985  autoPortalExportConnectionIds
986  marketingStartDate
987  ukPropertyType
988  locked
989  newBuild
990  rentalContractDurationInMonths
991  minimumRentalDurationInMonths
992  rentalContractType
993  addressLine2
994  priceQualifier
995  tenureType
996  tenureUnexpiredYears
997  pricePerUnitPerAnnum
998  sharedOwnership
999  numberOfReceptionRooms
1000  accessibility
1001  councilTaxBand
1002  outsideSpaceTypes
1003  roomSize
1004  smokingAllowed
1005  flatShareSize
1006  minimumTermOfLease
1007  totalSpace
1008  numberOfMaleFlatMates
1009  numberOfFemaleFlatMates
1010  ageOfFlatMatesFrom
1011  ageOfFlatMatesTo
1012  numberOfRequestedFlatMates
1013  ageOfRequestedFrom
1014  ageOfRequestedTo
1015  oven
1016  refrigerator
1017  stove
1018  dishwasher
1019  bathHasWc
1020  bathHasShower
1021  bathHasTub
1022  washingMachine
1023  internetConnection
1024  tvConnection
1025  telephoneConnection
1026  parkingSituation
1027  trialLivingPossible
1028  careTypes
1029  careLevel
1030  opening
1031  roomType
1032  numberOfBeds
1033  numberOfLookedAfterApartments
1034  numberOfNursingPlaces
1035  livingSpaceFrom
1036  livingSpaceTo
1037  careOfDementia
1038  careOfArtificialRespiration
1039  careOfComaVigil
1040  careOfStroke
1041  careOfParkinson
1042  careOfAlzheimer
1043  careOfMultipleSclerosis
1044  therapyOfferingsAvailable
1045  ownFurniturePossible
1046  guestApartments
1047  restaurant
1048  cookingFacilities
1049  cleaningService
1050  shoppingFacilities
1051  security24Hours
1052  culturalProgram
1053  leisureActivities
1054  religiousOfferings
1055  facilityType
1056  minBaseRent
1057  minPurchasePrice
1058  roomAvailableFrom
1059  roomAvailableTo
1060  cookingPossibility
1061  commonRooms
1062  fitness
1063  ambulantNursingService
1064  emergencyCallInRoom
1065  receptionManned
1066  medicalAssistance
1067  homeHelp
1068  counseling
1069  parking
1070  publicTransportation
1071  loansAvailable
1072  staircase
1073  propertyLayout
1074  inventory
1075  deletionsFromLandRegister
1076  contractFees
1077  landRegistryFees
1078  propertyTransferTax
1079  developmentCosts
1080  maintenanceReserveAmount
1081  loggiaSpace
1082  numberOfLoggia
1083  numberOfToilets
1084  priceVatPercent
1085  marketingMarkerRadius
1086  marketingMarkerLat
1087  marketingMarkerLng
1088}
1089    `,{fragmentName:"ValidPropertyFormFields"}),Kc=new b(`
1090    fragment PropertyFormFields on Property {
1091  ...ValidPropertyFormFields
1092  marketingType
1093  objectType
1094  rsType
1095  rsCategory
1096  street
1097  houseNumber
1098  zipCode
1099  city
1100  region
1101  country
1102  buildingName
1103  subCommunity
1104  community
1105  customFields
1106  translations {
1107    locale
1108    courtage
1109    courtageNote
1110    customFields
1111    deposit
1112    freeFrom
1113    title
1114    descriptionNote
1115    shortNote
1116    locationNote
1117    furnishingNote
1118    otherNote
1119    longDescriptionNote
1120    longLocationNote
1121    longFurnishingNote
1122    longOtherNote
1123  }
1124  commissionSplits {
1125    id
1126    name
1127    brokerId
1128    clientId
1129    value
1130    valueType
1131    calculatedValue
1132    splitPosition
1133    date
1134    actor
1135    representing
1136    client {
1137      id
1138      name
1139    }
1140    broker {
1141      name
1142    }
1143  }
1144  relationships {
1145    id
1146    name
1147    internalName
1148    relatedClientId
1149    relatedClient {
1150      id
1151      name
1152      email
1153      path
1154      phone
1155      company
1156    }
1157    project {
1158      id
1159      name
1160    }
1161  }
1162  publishings {
1163    id
1164    portalId
1165    publishDate
1166    postUrl
1167    scoutTicketUrl
1168    externalId
1169  }
1170  localHeroBooking(active: true) {
1171    createdAt
1172    startsAt
1173    endsAt
1174  }
1175  receivedViaMls
1176  childrenCount
1177  aggregationFieldOverrides
1178  parentId
1179  forkId
1180  inheritanceFieldOverrides
1181  aggregatedRsTypes
1182  externalCommission
1183  internalCommission
1184  externalCommissionPercentage
1185  internalCommissionPercentage
1186  totalCommission
1187  newBuild
1188  rentalContractDurationInMonths
1189  minimumRentalDurationInMonths
1190  rentalContractType
1191  addressLine2
1192  priceQualifier
1193  tenureType
1194  tenureUnexpiredYears
1195  pricePerUnitPerAnnum
1196  sharedOwnership
1197  numberOfReceptionRooms
1198  accessibility
1199  councilTaxBand
1200  outsideSpaceTypes
1201}
1202    fragment ValidPropertyFormFields on Property {
1203  brokerId
1204  brokerIds
1205  departmentIds
1206  projectId
1207  teamId
1208  groupIds
1209  propertyStatusId
1210  unitId
1211  exposeeId
1212  targetGroup
1213  note
1214  warningNotice
1215  systemWarningNotice
1216  archived
1217  scoutContactId
1218  scoutId
1219  scoutGroupNumber
1220  inquiryDepartmentId
1221  lat
1222  lng
1223  locationId
1224  hideAddress
1225  cadastralDistrict
1226  plotNumber
1227  roadAccess
1228  roadAccessType
1229  district
1230  courtage
1231  internalBrokerage
1232  courtageNote
1233  commissionPassThrough
1234  totalCommission
1235  internalCommission
1236  internalCommissionPercentage
1237  externalCommission
1238  externalCommissionPercentage
1239  title
1240  descriptionNote
1241  shortNote
1242  locationNote
1243  furnishingNote
1244  otherNote
1245  longDescriptionNote
1246  longLocationNote
1247  longFurnishingNote
1248  longOtherNote
1249  distanceToPt
1250  distanceToFm
1251  distanceToMrs
1252  distanceToAirport
1253  distanceToPtLength
1254  distanceToFmLength
1255  distanceToMrsLength
1256  distanceToAirportLength
1257  livingSpace
1258  totalFloorSpace
1259  plotArea
1260  numberOfRooms
1261  numberOfBedRooms
1262  numberOfBathRooms
1263  floor
1264  numberOfFloors
1265  floorPosition
1266  usableFloorSpace
1267  netFloorSpace
1268  cellarSpace
1269  balconySpace
1270  gardenSpace
1271  minDivisible
1272  buildingSpace
1273  buildingPart
1274  officeSpace
1275  officeSpaceMin
1276  officeSpaceTotal
1277  officeRentPerSqmFrom
1278  officeRentPerSqmTo
1279  officeAdditionalCostsPerSqmFrom
1280  officeAdditionalCostsPerSqmTo
1281  retailSpace
1282  retailSpaceMin
1283  retailSpaceTotal
1284  retailRentPerSqmFrom
1285  retailRentPerSqmTo
1286  retailAdditionalCostsPerSqmFrom
1287  retailAdditionalCostsPerSqmTo
1288  gastroSpace
1289  gastroSpaceMin
1290  gastroSpaceTotal
1291  gastroRentPerSqmFrom
1292  gastroRentPerSqmTo
1293  gastroAdditionalCostsPerSqmFrom
1294  gastroAdditionalCostsPerSqmTo
1295  storageSpace
1296  storageSpaceMin
1297  storageSpaceTotal
1298  storageRentPerSqmFrom
1299  storageRentPerSqmTo
1300  storageAdditionalCostsPerSqmFrom
1301  storageAdditionalCostsPerSqmTo
1302  mezzanineSpace
1303  mezzanineSpaceMin
1304  mezzanineSpaceTotal
1305  mezzanineRentPerSqmFrom
1306  mezzanineRentPerSqmTo
1307  openSpace
1308  openSpaceMin
1309  openSpaceTotal
1310  openRentPerSqmFrom
1311  openRentPerSqmTo
1312  serviceSpace
1313  serviceSpaceMin
1314  serviceSpaceTotal
1315  serviceRentPerSqmFrom
1316  serviceRentPerSqmTo
1317  archiveSpace
1318  archiveSpaceMin
1319  archiveSpaceTotal
1320  archiveSpaceRentPerSqmFrom
1321  archiveSpaceRentPerSqmTo
1322  numberOfBalconies
1323  numberOfTerraces
1324  cubature
1325  numberSeats
1326  lodgerFlat
1327  price
1328  parkingSpacePrice
1329  priceOnInquiry
1330  forBidding
1331  baseRent
1332  totalRent
1333  heatingCosts
1334  serviceCharge
1335  heatingCostsInServiceCharge
1336  rentSubsidy
1337  otherCosts
1338  maintenanceReserve
1339  vat
1340  plusVat
1341  priceType
1342  currency
1343  areaUnit
1344  rented
1345  freeFrom
1346  freeUntil
1347  parkingSpacesTotal
1348  numberOfParkingSpaces
1349  numberOfEvCharging
1350  parkingSpaceTypes
1351  truckParkingSpacesTotal
1352  numberOfTruckParkingSpaces
1353  truckParkingSpacePrice
1354  condition
1355  interiorQuality
1356  lastRefurbishment
1357  tenancy
1358  commercializationType
1359  shortTermConstructible
1360  utilizationTradeSite
1361  recommendedUseTypes
1362  siteDevelopmentType
1363  siteConstructibleType
1364  grz
1365  gfz
1366  bgf
1367  bmz
1368  buildingPermission
1369  preliminaryEnquiry
1370  demolition
1371  constructionPhase
1372  widthGarage
1373  heightGarage
1374  lengthGarage
1375  pricePerSqm
1376  customPricePerSqm
1377  numberOfApartments
1378  numberOfCommercials
1379  numberOfUnits
1380  rentalIncome
1381  rentalIncomeTarget
1382  rentalIncomeActual
1383  priceMultiplierTarget
1384  priceMultiplier
1385  yieldTarget
1386  yieldActual
1387  investmentCategory
1388  purchaseForm
1389  industrialArea
1390  additionalArea
1391  tenantStructure
1392  walt
1393  numberOfSingleRooms
1394  singleRoomsQuota
1395  occupancyRate
1396  numberOfVacancies
1397  conservationAreas
1398  locationClassificationType
1399  shopWindowLength
1400  goodsLift
1401  goodsLiftLoad
1402  floorLoad
1403  supplyType
1404  lanCables
1405  hasCanteen
1406  ramp
1407  autoLift
1408  hallHeight
1409  connectedLoad
1410  craneRunwayLoad
1411  rentDurations
1412  priceIntervalType
1413  startRentalDate
1414  endRentalDate
1415  minRentalTime
1416  maxRentalTime
1417  maxNumberOfPersons
1418  hasFurniture
1419  gender
1420  lift
1421  barrierFree
1422  cellar
1423  guestToilet
1424  builtInKitchen
1425  balcony
1426  loggia
1427  garden
1428  monument
1429  summerResidencePractical
1430  storeroom
1431  chimney
1432  swimmingPool
1433  sauna
1434  alarmSystem
1435  winterGarden
1436  airConditioning
1437  bathroom
1438  flooringType
1439  outsideView
1440  petsAllowed
1441  nonSmoker
1442  certificateOfEligibilityNeeded
1443  flatShareSuitable
1444  energyCertificateAvailability
1445  energyCertificateCreationDate
1446  energyCertificateStartDate
1447  energyCertificateEndDate
1448  buildingEnergyRatingType
1449  energyEfficiencyClass
1450  energyEfficiencyValue
1451  thermalCharacteristicElectricity
1452  thermalCharacteristicHeating
1453  coEmission
1454  co2EmissionRating
1455  energyConsumptionContainsWarmWater
1456  heatingType
1457  firingTypes
1458  constructionYear
1459  energyCertificateConstructionYear
1460  equipmentTechnologyConstructionYear
1461  constructionYearUnknown
1462  autHwb
1463  autHwbClass
1464  autFgee
1465  autFgeeClass
1466  autMainRent
1467  autCadastralCommunity
1468  autBuildingCertificates
1469  primaryOutdoorOrientation
1470  suitableForInvestment
1471  windowShutter
1472  bicycleStorage
1473  laundryRoom
1474  smartHome
1475  conflictOfInterestType
1476  dualAgency
1477  valuationPriceFrom
1478  valuationPriceTo
1479  valuationPrice
1480  soldPrice
1481  realizedRent
1482  soldDate
1483  costBalcony
1484  costLift
1485  costOther
1486  parkingSpaceNumber
1487  apartmentNumber
1488  teId
1489  coOwnershipShare
1490  localCourt
1491  registerNumber
1492  landRegistry
1493  contractType
1494  duration
1495  durationFrom
1496  durationUntil
1497  deposit
1498  renter
1499  customLpAddress
1500  areabutlerLinkWithAddress
1501  areabutlerLinkWithoutAddress
1502  listAllUnitsOnLandingPage
1503  landingPageBlocked
1504  openimmoFirstname
1505  openimmoLastname
1506  openimmoEmail
1507  openimmoPhone
1508  compensationCosts
1509  recurringCosts
1510  recurringCostsNet
1511  recurringCostsVat
1512  recurringCostsVatPercent
1513  heatingCostsNet
1514  heatingCostsVat
1515  heatingCostsVatPercent
1516  serviceChargeNet
1517  serviceChargeVat
1518  serviceChargeVatPercent
1519  otherCostsNet
1520  otherCostsVat
1521  otherCostsVatPercent
1522  priceNet
1523  priceVat
1524  priceVatPercent
1525  baseRentNet
1526  baseRentVat
1527  baseRentVatPercent
1528  totalRentNet
1529  totalRentVat
1530  totalRentVatPercent
1531  otherRentNet
1532  otherRentVat
1533  financialContribution
1534  constructionType
1535  facebookPostDescription
1536  instagramPostDescription
1537  autoPortalExportConnectionIds
1538  marketingStartDate
1539  ukPropertyType
1540  locked
1541  newBuild
1542  rentalContractDurationInMonths
1543  minimumRentalDurationInMonths
1544  rentalContractType
1545  addressLine2
1546  priceQualifier
1547  tenureType
1548  tenureUnexpiredYears
1549  pricePerUnitPerAnnum
1550  sharedOwnership
1551  numberOfReceptionRooms
1552  accessibility
1553  councilTaxBand
1554  outsideSpaceTypes
1555  roomSize
1556  smokingAllowed
1557  flatShareSize
1558  minimumTermOfLease
1559  totalSpace
1560  numberOfMaleFlatMates
1561  numberOfFemaleFlatMates
1562  ageOfFlatMatesFrom
1563  ageOfFlatMatesTo
1564  numberOfRequestedFlatMates
1565  ageOfRequestedFrom
1566  ageOfRequestedTo
1567  oven
1568  refrigerator
1569  stove
1570  dishwasher
1571  bathHasWc
1572  bathHasShower
1573  bathHasTub
1574  washingMachine
1575  internetConnection
1576  tvConnection
1577  telephoneConnection
1578  parkingSituation
1579  trialLivingPossible
1580  careTypes
1581  careLevel
1582  opening
1583  roomType
1584  numberOfBeds
1585  numberOfLookedAfterApartments
1586  numberOfNursingPlaces
1587  livingSpaceFrom
1588  livingSpaceTo
1589  careOfDementia
1590  careOfArtificialRespiration
1591  careOfComaVigil
1592  careOfStroke
1593  careOfParkinson
1594  careOfAlzheimer
1595  careOfMultipleSclerosis
1596  therapyOfferingsAvailable
1597  ownFurniturePossible
1598  guestApartments
1599  restaurant
1600  cookingFacilities
1601  cleaningService
1602  shoppingFacilities
1603  security24Hours
1604  culturalProgram
1605  leisureActivities
1606  religiousOfferings
1607  facilityType
1608  minBaseRent
1609  minPurchasePrice
1610  roomAvailableFrom
1611  roomAvailableTo
1612  cookingPossibility
1613  commonRooms
1614  fitness
1615  ambulantNursingService
1616  emergencyCallInRoom
1617  receptionManned
1618  medicalAssistance
1619  homeHelp
1620  counseling
1621  parking
1622  publicTransportation
1623  loansAvailable
1624  staircase
1625  propertyLayout
1626  inventory
1627  deletionsFromLandRegister
1628  contractFees
1629  landRegistryFees
1630  propertyTransferTax
1631  developmentCosts
1632  maintenanceReserveAmount
1633  loggiaSpace
1634  numberOfLoggia
1635  numberOfToilets
1636  priceVatPercent
1637  marketingMarkerRadius
1638  marketingMarkerLat
1639  marketingMarkerLng
1640}`,{fragmentName:"PropertyFormFields"}),Yc=new b(`
1641    fragment TasksKanbanFields on ElasticTodo {
1642  id
1643  stageId
1644  title
1645  brokerId
1646  dueDate
1647  done
1648  reviewState
1649  reviewerIds
1650  priority
1651  commentsCount
1652  clients {
1653    id
1654    name
1655  }
1656  properties {
1657    id
1658    name
1659  }
1660}
1661    `,{fragmentName:"TasksKanbanFields"}),Qc=new b(`
1662    fragment DetailViewFieldsFragment on DetailViewField {
1663  id
1664  fieldName
1665  title
1666  hint
1667  containerFieldLabels
1668  containerFieldHints
1669  readBrokerIds
1670  writeBrokerIds
1671  readDepartmentIds
1672  writeDepartmentIds
1673  allowedMarketingType
1674  allowedRsTypes
1675  containerFieldNames
1676  propertyStatusIds
1677  requiredPropertyStatusIds
1678  perfectMatch
1679  taskCategoryIds
1680  taskTypes
1681  color
1682  translations {
1683    id
1684    locale
1685    title
1686    containerFieldLabels
1687    containerFieldHints
1688  }
1689  mandatory
1690  mandatoryOnLp
1691  characterLimit
1692  defaultValue
1693  dealPipelineIds
1694  dealStageIds
1695  countries
1696  clientGroupIds
1697  allowedPropertyType
1698  editable
1699}
1700    `,{fragmentName:"DetailViewFieldsFragment"}),Zc=new b(`
1701    fragment DetailViewGroupFragment on DetailViewGroup {
1702  name
1703  slot
1704  splitIntoTwoColumns
1705  readBrokerIds
1706  writeBrokerIds
1707  readDepartmentIds
1708  writeDepartmentIds
1709  allowedMarketingType
1710  allowedRsTypes
1711  propertyStatusIds
1712  taskCategoryIds
1713  taskTypes
1714  dealPipelineIds
1715  dealStageIds
1716  countries
1717  clientGroupIds
1718  allowedPropertyType
1719  managedByExtension
1720  detailViewFields {
1721    ...DetailViewFieldsFragment
1722  }
1723}
1724    fragment DetailViewFieldsFragment on DetailViewField {
1725  id
1726  fieldName
1727  title
1728  hint
1729  containerFieldLabels
1730  containerFieldHints
1731  readBrokerIds
1732  writeBrokerIds
1733  readDepartmentIds
1734  writeDepartmentIds
1735  allowedMarketingType
1736  allowedRsTypes
1737  containerFieldNames
1738  propertyStatusIds
1739  requiredPropertyStatusIds
1740  perfectMatch
1741  taskCategoryIds
1742  taskTypes
1743  color
1744  translations {
1745    id
1746    locale
1747    title
1748    containerFieldLabels
1749    containerFieldHints
1750  }
1751  mandatory
1752  mandatoryOnLp
1753  characterLimit
1754  defaultValue
1755  dealPipelineIds
1756  dealStageIds
1757  countries
1758  clientGroupIds
1759  allowedPropertyType
1760  editable
1761}
1761`,{fragmentName:"DetailViewGroupFragment"}),Jc=new b(`
1762    fragment InitialBroker on Broker {
1763  webcallUrl
1764  hideIntercom
1765  firstName
1766  id
1767  name
1768  avatarUrl(size: "small_thumb")
1769  color
1770  headerColor
1771  initials
1772  createdAt
1773  sharedInboxBrokerIds
1774  email
1775  position
1776  phone
1777  cell
1778  dob
1779  teamId
1780  admin
1781  superAdmin
1782  locale
1783  hideInDropdowns
1784  archived
1785  blocked
1786  connected
1787  senderEmail
1788  primarySenderBrokerId
1789  departmentIds
1790  oguloApiKeyConfigured
1791  oguloApiKeyLastError
1792  oguloUserMapped
1793  oguloBrokerAuthUrl
1794  oguloAuthenticatedAt
1795  rights
1796  clientsOpenInDetails
1797  smartViewsVisibility
1798  accessTeamIds
1799  sendingDepartmentIds
1800  propertySearchSortBy
1801  propertySearchOrder
1802  propertySearchPer
1803  defaultClientsFilter
1804  defaultClientsFilterForMobile
1805  defaultPropertiesFilter
1806  defaultPropertiesFilterForMobile
1807  defaultTodosFilter
1808  defaultTodosFilterForMobile
1809  defaultDealsFilter
1810  defaultDealsFilterForMobile
1811  defaultActivitiesFilter
1812  defaultActivitiesFilterForMobile
1813  defaultSuggestedClientsFilter
1814  defaultSuggestedClientsFilterForMobile
1815  defaultActivitiesClientsFilter
1816  defaultActivitiesClientsFilterForMobile
1817  defaultActivitiesPropertiesFilter
1818  defaultActivitiesPropertiesFilterForMobile
1819  defaultActivitiesProjectsFilter
1820  defaultActivitiesProjectsFilterForMobile
1821  defaultActivitiesDealsFilter
1822  defaultActivitiesDealsFilterForMobile
1823  defaultDealsClientsFilter
1824  defaultDealsClientsFilterForMobile
1825  defaultDealsPropertiesFilter
1826  defaultDealsPropertiesFilterForMobile
1827  defaultDealsProjectsFilter
1828  defaultDealsProjectsFilterForMobile
1829  clientSearchSortBy
1830  clientSearchOrder
1831  clientSearchPer
1832  suggestedClientSearchSortBy
1833  suggestedClientSearchOrder
1834  todoSearchSortBy
1835  todoSearchOrder
1836  customColumnsForProperties
1837  customColumnsForPropertyChildren
1838  customColumnsForClients
1839  customColumnsForDeals
1840  customColumnsForTodos
1841  customColumnsForActivities
1842  customColumnsForProjects
1843  intercomId
1844  intercomHash
1845  apolloUrl
1846  hideActivityLogs
1847  commentsOrder
1848  calendarVisibility
1849  sendingBrokerIds
1850  commissionBeneficiary
1851  sidebarPins {
1852    title
1853    modelId
1854    modelType
1855  }
1856  showInboxMultiselect
1857  followupActivityAssignee
1858  localHeroAutoPublish
1859  glid
1860  role
1861  canEditWorkflowBuilder
1862  canViewWorkflowBuilder
1863  notificationEnabled
1864  defaultEventRemindAt
1865  paperlessAuthenticated
1866  perfectMatchEnabled
1867  signature
1868  msftError
1869  uiTheme
1870  supportsNativeFolders
1871  customNavigationItems {
1872    id
1873    name
1874    url
1875    linkType
1876    visibleToBrokerIds
1877    visibleToDepartmentIds
1878    smartViewId
1879    smartViewFieldType
1880    smartViewTargetView
1881    translations {
1882      locale
1883      name
1884    }
1885  }
1886  propertyDetailViewGroups: detailViewGroups(entity: for_properties) {
1887    ...DetailViewGroupFragment
1888  }
1889}
1890    fragment DetailViewFieldsFragment on DetailViewField {
1891  id
1892  fieldName
1893  title
1894  hint
1895  containerFieldLabels
1896  containerFieldHints
1897  readBrokerIds
1898  writeBrokerIds
1899  readDepartmentIds
1900  writeDepartmentIds
1901  allowedMarketingType
1902  allowedRsTypes
1903  containerFieldNames
1904  propertyStatusIds
1905  requiredPropertyStatusIds
1906  perfectMatch
1907  taskCategoryIds
1908  taskTypes
1909  color
1910  translations {
1911    id
1912    locale
1913    title
1914    containerFieldLabels
1915    containerFieldHints
1916  }
1917  mandatory
1918  mandatoryOnLp
1919  characterLimit
1920  defaultValue
1921  dealPipelineIds
1922  dealStageIds
1923  countries
1924  clientGroupIds
1925  allowedPropertyType
1926  editable
1927}
1928fragment DetailViewGroupFragment on DetailViewGroup {
1929  name
1930  slot
1931  splitIntoTwoColumns
1932  readBrokerIds
1933  writeBrokerIds
1934  readDepartmentIds
1935  writeDepartmentIds
1936  allowedMarketingType
1937  allowedRsTypes
1938  propertyStatusIds
1939  taskCategoryIds
1940  taskTypes
1941  dealPipelineIds
1942  dealStageIds
1943  countries
1944  clientGroupIds
1945  allowedPropertyType
1946  managedByExtension
1947  detailViewFields {
1948    ...DetailViewFieldsFragment
1949  }
1950}`,{fragmentName:"InitialBroker"}),Xc=new b(`
1951    fragment InitialAllBrokers on Broker {
1952  id
1953  name
1954  email
1955  phone
1956  internalName
1957  active
1958  avatarUrl(size: "small_thumb")
1959  initials
1960  color
1961  admin
1962  superAdmin
1963  archived
1964  dob
1965  senderEmail
1966  availability
1967  role
1968  canSeeAllDealPipelines
1969}
1970    `,{fragmentName:"InitialAllBrokers"}),eu=new b(`
1971    fragment CustomOptionFieldsFragment on CustomOption {
1972  id
1973  name
1974  condition
1975  title
1976  groupId
1977}
1978    `,{fragmentName:"CustomOptionFieldsFragment"}
1978),tu=new b(`
1979    fragment CustomFieldFieldsFragment on CustomField {
1980  name
1981  prettyName
1982  title
1983  fieldType
1984  unit
1985  formula
1986  indexName
1987  entity
1988  exportToOpenimmo
1989  tagsSuperCategoryIds
1990  forSavedQueries
1991  translationAvailable
1992  permittedBrokerIds
1993  component
1994  customOptions {
1995    ...CustomOptionFieldsFragment
1996  }
1997}
1998    fragment CustomOptionFieldsFragment on CustomOption {
1999  id
2000  name
2001  condition
2002  title
2003  groupId
2004}`,{fragmentName:"CustomFieldFieldsFragment"}),nu=new b(`
2005    fragment CustomFieldGroupFieldsFragment on CustomFieldGroup {
2006  name
2007  customFields {
2008    ...CustomFieldFieldsFragment
2009  }
2010}
2011    fragment CustomOptionFieldsFragment on CustomOption {
2012  id
2013  name
2014  condition
2015  title
2016  groupId
2017}
2018fragment CustomFieldFieldsFragment on CustomField {
2019  name
2020  prettyName
2021  title
2022  fieldType
2023  unit
2024  formula
2025  indexName
2026  entity
2027  exportToOpenimmo
2028  tagsSuperCategoryIds
2029  forSavedQueries
2030  translationAvailable
2031  permittedBrokerIds
2032  component
2033  customOptions {
2034    ...CustomOptionFieldsFragment
2035  }
2036}`,{fragmentName:"CustomFieldGroupFieldsFragment"}),iu=new b(`
2037    fragment ManagedCustomFieldGroupFragment on CustomFieldGroup {
2038  ...CustomFieldGroupFieldsFragment
2039  managedByExtension
2040}
2041    fragment CustomOptionFieldsFragment on CustomOption {
2042  id
2043  name
2044  condition
2045  title
2046  groupId
2047}
2048fragment CustomFieldFieldsFragment on CustomField {
2049  name
2050  prettyName
2051  title
2052  fieldType
2053  unit
2054  formula
2055  indexName
2056  entity
2057  exportToOpenimmo
2058  tagsSuperCategoryIds
2059  forSavedQueries
2060  translationAvailable
2061  permittedBrokerIds
2062  component
2063  customOptions {
2064    ...CustomOptionFieldsFragment
2065  }
2066}
2067fragment CustomFieldGroupFieldsFragment on CustomFieldGroup {
2068  name
2069  customFields {
2070    ...CustomFieldFieldsFragment
2071  }
2072}`,{fragmentName:"ManagedCustomFieldGroupFragment"}),ru=new b(`
2073    fragment InitialShop on Shop {
2074  id
2075  propstackAiAutomaticTitleGenerationDisabled
2076  enableNativeOutlookFolders
2077  updatedAt
2078  realtimeSubscriptionNamespace
2079  availableLicenses
2080  messageDefaultFontFamily
2081  messageDefaultFontSize
2082  messageDefaultFontColor
2083  street
2084  houseNumber
2085  zipCode
2086  city
2087  brokers {
2088    ...InitialAllBrokers
2089  }
2090  departments {
2091    id
2092    name
2093    brokerIds
2094    useInInquiryDistribution
2095    teamId
2096  }
2097  messageTemplates {
2098    id
2099    name
2100  }
2101  messageCategories {
2102    id
2103    name
2104    displayName
2105    color
2106    hideInReports
2107  }
2108  eventCategories {
2109    id
2110    name
2111    displayName
2112    color
2113    hideInReports
2114    internal
2115    titleFormula
2116    roomResourceEmails
2117    body
2118    autosetEventLocation
2119    autosetEventStateTookPlace
2120    showAs
2121    eventTypeVariant
2122    icon
2123    autosetOwnerContact
2124    autosetInviteOwner
2125    syncInviteesWithLinkedClients
2126    disableAutoLinkInvitees
2127    defaultReminderMinutes
2128    defaultAssigneeStrategy
2129    defaultMassViewing
2130    confirmationSnippetId
2131    cancellationSnippetId
2132    defaultSlotStep
2133    defaultMaxParticipantsPerSlot
2134    defaultClientReminders
2135  }
2136  todoCategories {
2137    id
2138    name
2139    displayName
2140    color
2141    hideInReports
2142    internal
2143    titleFormula
2144    body
2145    taskPipelineId
2146    reviewerIds
2147    brokerId
2148    departmentId
2149  }
2150  noteCategories {
2151    id
2152    name
2153    displayName
2154    color
2155    hideInReports
2156    internal
2157    titleFormula
2158    body
2159    locked
2160  }
2161  letterCategories {
2162    id
2163    name
2164    displayName
2165    color
2166    hideInReports
2167    internal
2168    titleFormula
2169  }
2170  decisionCategories {
2171    id
2172    name
2173    displayName
2174    color
2175    hideInReports
2176    internal
2177    titleFormula
2178    body
2179  }
2180  activityGroups {
2181    id
2182    name
2183    superGroupId
2184  }
2185  projects {
2186    id
2187    name
2188    address
2189  }
2190  projectStatuses {
2191    id
2192    name
2193  }
2194  propertyStatuses {
2195    id
2196    name
2197    color
2198    infoText
2199    excludeFromSearchProfileMatching
2200    writeBrokerIds
2201    writeDepartmentIds
2202    translations {
2203      locale
2204      infoText
2205    }
2206  }
2207  propertyGroups {
2208    id
2209    name
2210    superGroupId
2211  }
2212  clientSources {
2213    id
2214    name
2215    inquiryDepartmentId
2216    inquiryDepartmentRules {
2217      rule
2218      inquiryDepartmentId
2219    }
2220  }
2221  clientStatuses {
2222    id
2223    name
2224    color
2225  }
2226  superGroups {
2227    id
2228    name
2229    entity
2230  }
2231  clientGroups {
2232    id
2233    name
2234    superGroupId
2235  }
2236  clientReasons {
2237    id
2238    name
2239  }
2240  dealPipelines {
2241    id
2242    name
2243    dealCockpitMapping
2244    brokerIds
2245    departmentIds
2246  }
2247  dealStages {
2248    id
2249    name
2250    color
2251    chance
2252    excludedBrokerIds
2253    dealPipelineId
2254  }
2255  taskPipelines {
2256    id
2257    name
2258  }
2259  taskStages {
2260    id
2261    name
2262    color
2263    dealPipelineId
2264  }
2265  cancelationReasons(onlyForBroker: true) {
2266    id
2267    name
2268    dealPipelineIds
2269  }
2270  connections: portals(withIs24SubTypes: true) {
2271    id
2272    name
2273    parentConnectionId
2274    format
2275    popularWebsite
2276    accessBrokerIds
2277    accessDepartmentIds
2278    accountUrl
2279    is24OtoaAccessBrokerIds
2280    is24OtoaAccessDepartmentIds
2281    is24PublishChannelId
2282    username
2283    host
2284  }
2285  salutations {
2286    id
2287    name
2288    internalName
2289  }
2290  letterTemplates(onlyAccessible: true) {
2291    id
2292    name
2293    category
2294    noteTypeId
2295    usesNumberRange
2296    pdfOutput
2297  }
2298  phoneNoteTypeId
2299  incomingPhoneNoteTypeId
2300  teams {
2301    id
2302    name
2303    mailSignature
2304    logoUrl
2305    website
2306    street
2307    zipCode
2308    city
2309    brokerIds
2310    departmentId
2311  }
2312  folders(forConnections: true) {
2313    id
2314    name
2315  }
2316  scoutContacts {
2317    id
2318    name
2319    portalName
2320  }
2321  scoutProjects {
2322    id
2323    name
2324  }
2325  textSnippets {
2326    id
2327    name
2328    category
2329    body
2330    role
2331  }
2332  clientDetailViewGroups: detailViewGroups(entity: for_clients) {
2333    ...DetailViewGroupFragment
2334  }
2335  detailViewGroupsForClientsCustomized
2336  childrenDetailViewGroups: detailViewGroups(entity: for_client_children) {
2337    ...DetailViewGroupFragment
2338  }
2339  clientMailboxDetailViewGroups: detailViewGroups(entity: for_client_mailbox) {
2340    ...DetailViewGroupFragment
2341  }
2342  projectDetailViewGroups: detailViewGroups(entity: for_projects) {
2343    ...DetailViewGroupFragment
2344  }
2345  dealDetailViewGroups: detailViewGroups(entity: for_deals) {
2346    ...DetailViewGroupFragment
2347  }
2348  taskDetailViewGroups: detailViewGroups(entity: for_tasks) {
2349    ...DetailViewGroupFragment
2350  }
2351  savedQueryDetailViewGroups: detailViewGroups(entity: for_saved_queries) {
2352    ...DetailViewGroupFragment
2353  }
2354  customFieldGroupsForProperties {
2355    ...CustomFieldGroupFieldsFragment
2356  }
2357  customFieldGroupsForClients: customFieldGroups(entity: for_clients) {
2358    ...CustomFieldGroupFieldsFragment
2359  }
2360  customFieldGroupsForProjects: customFieldGroups(entity: for_projects) {
2361    ...ManagedCustomFieldGroupFragment
2362  }
2363  customFieldGroupsForBrokers: customFieldGroups(entity: for_brokers) {
2364    ...ManagedCustomFieldGroupFragment
2365  }
2366  customFieldGroupsForTasks: customFieldGroups(entity: for_tasks) {
2367    ...ManagedCustomFieldGroupFragment
2368  }
2369  customFieldGroupsForDeals: customFieldGroups(entity: for_deals) {
2370    ...ManagedCustomFieldGroupFragment
2371  }
2372  externalReports(forBroker: true) {
2373    id
2374  }
2375  hideSectionHeadlines
2376  createSavedQueriesForInquiries
2377  createSavedQueriesFromMessage
2378  allowedRsTypesInSavedQueries
2379  forbiddenRsCategories
2380  roomResources {
2381    email
2382    name
2383  }
2384  webExposeeLiveDuration
2385  lpVisitRequestCreatesTask
2386  lpVisitRequestNoteTypeId
2387  supportedPropertyLocales
2388  requiredFieldsForProperty
2389  supportedClientLocales
2390  propertyOptionsMapping
2391  rights
2392  roles {
2393    id
2394    name
2395    description
2396    brokerIds
2397    rights
2398  }
2399  brokerRolesForMessageTracking
2400  relationshipPartnerNames {
2401    id
2402    name
2403  }
2404  projectRelationshipPartnerNames {
2405    id
2406    name
2407  }
2408  availableCalendars
2409  subscribedCalendarKeys
2410  cities
2411  countries {
2412    name
2413    alphaTwo
2414    alphaThree
2415    selectable
2416  }
2417  regions
2418  env
2419  immoscoutBaseUrl
2420  areaUnit
2421  addonsEnabled
2422  visibleColumnsInPropertyDeals
2423  color
2424  activeFeatures
2425  extensions {
2426    id
2427    enabled
2428  }
2429  showBrokerAvatarsInCrm
2430  limitPropertyImageTitleLength
2431  transferPropertyDealsOnBrokerChange
2432  transferPropertyDealContactsOnBrokerChange
2433  transferPropertyTasksOnBrokerChangeMode
2434  followupLastContactTimeframe
2435  followupGroups
2436  followupStatuses
2437  followupSources
2438  autocompleteEventLocations
2439  canSendSmsReminders
2440  requireEventCategory
2441  defaultEventCategoryId
2442  eventDefaultDuration
2443  usesNumberRange
2444  internationalCountry
2445  currency
2446  isoCurrency
2447  useStaticDropdownForCitySelect
2448  logoUrl
2449  darkLogoUrl
2450  faviconUrl
2451  defaultClientAttributes
2452  suggestedClientsColumns
2453  documentTags
2454  commissionSplitNames
2455  docusignTemplates {
2456    id
2457    name
2458  }
2459  intercomId
2460  homepage
2461  createdAt
2462  name
2463  sellsInternationally
2464  sprengnetterEmail
2465  phValuationMaxValuationsPerYear
2466  imogentEmail
2467  propnowTenant
2468  lystosUrl
2469  lystosLinkTitle
2470  lystosConfigured
2471  language
2472  selectableCurrencies
2473  selectedCurrencies
2474  exchangeRates
2475  franchiser
2476  franchisee
2477  franchiserName
2478  franchiserShop {
2479    blockActionsForMlsProperties
2480  }
2481  unitIdCounterSetByFranchiser
2482  contactAcceptanceRequestSnippetId
2483  excludeNotAccepted
2484  gdprCompliantMailSending
2485  allowBrokerCustomSignatures
2486  outOfOfficeEmailForwarding
2487  autoSavedQuerySettings
2488  allFieldsInSavedQueryForm
2489  upgrade
2490  watermarkOnPortals
2491  legacySearchServer
2492  emailReadTrackingDisabled
2493  taskReviewsEnabled
2494  demo
2495  offmarketEnabled
2496  outgoingCallUrl
2497  deeplConnected
2498  deeplPlan
2499  findriveTipsterKey
2500  findriveTipsterConnected
2501  findriveTipsterExposeWidget
2502  findriveTipsterToken
2503  findriveTipsterCompanyId
2504  dealsPageDefaultPipelineId
2505  purchasePropertyDefaultPipelineId
2506  rentalPropertyDefaultPipelineId
2507  messageTranslatorSelections
2508  recordAllPhoneCalls
2509  hiddenTabsInSidebar
2510  customCategories {
2511    id
2512    name
2513    objectType
2514    rsType
2515  }
2516  relationshipCategories {
2517    id
2518    labelA
2519    labelB
2520    hierarchy
2521    subcontactFormEnabled
2522    includeRelatedActivities
2523    includeRelatedEmailAddresses
2524    routeDealsToMainContact
2525    showMainContactLink
2526    includeRelatedInMainContactSearch
2527    deleteRelatedContactsWithMainContact
2528    translations {
2529      id
2530      locale
2531      labelA
2532      labelB
2533    }
2534  }
2535  paperlessRemoteTemplates {
2536    id
2537    name
2538  }
2539  paperlessTemplates {
2540    id
2541    name
2542  }
2543  tenantTeamActivitiesAssignment
2544  mailchimpInterestCategories
2545  mailchimpInterests
2546  allEnabledExtensions
2547  acsConnected
2548  acsSenderAddresses
2549  supportedLanguages {
2550    id
2551    name
2552    flag
2553  }
2554  customFormConfig {
2555    titleLengthLimit
2556  }
2557  perfectMatchSettingsOptions
2558  invoicePaymentTermMode
2559  invoiceHintCustomFieldName
2560  invoiceCostCenterCustomFieldName
2561  contentTypes {
2562    movie
2563    vcard
2564    image
2565    document
2566    classifyDocumentTags
2567  }
2568  fieldCalculationGroups {
2569    id
2570    active
2571    name
2572    baseFieldName
2573    fixedFieldName
2574    percentageFieldName
2575    targetFieldName
2576    formula
2577    allowManualOverride
2578    convertFixedPercentageFields
2579  }
2580  calculationFields {
2581    name
2582    label
2583  }
2584}
2585    fragment CustomOptionFieldsFragment on CustomOption {
2586  id
2587  name
2588  condition
2589  title
2590  groupId
2591}
2592fragment CustomFieldFieldsFragment on CustomField {
2593  name
2594  prettyName
2595  title
2596  fieldType
2597  unit
2598  formula
2599  indexName
2600  entity
2601  exportToOpenimmo
2602  tagsSuperCategoryIds
2603  forSavedQueries
2604  translationAvailable
2605  permittedBrokerIds
2606  component
2607  customOptions {
2608    ...CustomOptionFieldsFragment
2609  }
2610}
2611fragment CustomFieldGroupFieldsFragment on CustomFieldGroup {
2612  name
2613  customFields {
2614    ...CustomFieldFieldsFragment
2615  }
2616}
2617fragment ManagedCustomFieldGroupFragment on CustomFieldGroup {
2618  ...CustomFieldGroupFieldsFragment
2619  managedByExtension
2620}
2621fragment DetailViewFieldsFragment on DetailViewField {
2622  id
2623  fieldName
2624  title
2625  hint
2626  containerFieldLabels
2627  containerFieldHints
2628  readBrokerIds
2629  writeBrokerIds
2630  readDepartmentIds
2631  writeDepartmentIds
2632  allowedMarketingType
2633  allowedRsTypes
2634  containerFieldNames
2635  propertyStatusIds
2636  requiredPropertyStatusIds
2637  perfectMatch
2638  taskCategoryIds
2639  taskTypes
2640  color
2641  translations {
2642    id
2643    locale
2644    title
2645    containerFieldLabels
2646    containerFieldHints
2647  }
2648  mandatory
2649  mandatoryOnLp
2650  characterLimit
2651  defaultValue
2652  dealPipelineIds
2653  dealStageIds
2654  countries
2655  clientGroupIds
2656  allowedPropertyType
2657  editable
2658}
2659fragment DetailViewGroupFragment on DetailViewGroup {
2660  name
2661  slot
2662  splitIntoTwoColumns
2663  readBrokerIds
2664  writeBrokerIds
2665  readDepartmentIds
2666  writeDepartmentIds
2667  allowedMarketingType
2668  allowedRsTypes
2669  propertyStatusIds
2670  taskCategoryIds
2671  taskTypes
2672  dealPipelineIds
2673  dealStageIds
2674  countries
2675  clientGroupIds
2676  allowedPropertyType
2677  managedByExtension
2678  detailViewFields {
2679    ...DetailViewFieldsFragment
2680  }
2681}
2682fragment InitialAllBrokers on Broker {
2683  id
2684  name
2685  email
2686  phone
2687  internalName
2688  active
2689  avatarUrl(size: "small_thumb")
2690  initials
2691  color
2692  admin
2693  superAdmin
2694  archived
2695  dob
2696  senderEmail
2697  availability
2698  role
2699  canSeeAllDealPipelines
2700}`,{fragmentName:"InitialShop"}),au=new b(`
2701    fragment TaskFormFields on Task {
2702  id
2703  title
2704  taskStageId
2705  categoryId
2706  brokerId
2707  body
2708  brokerIds
2709  clientIds
2710  propertyIds
2711  projectIds
2712  groupIds
2713  noteAttachments {
2714    id
2715    name
2716    url
2717  }
2718  remindAtInMinutes
2719  createdAt
2720  startsAt
2721  endsAt
2722  allDay
2723  rrule
2724  private
2725  sendReminders
2726  roomResourceEmails
2727  isOnlineMeeting
2728  onlineMeetingUrl
2729  participantEmails
2730  massViewing
2731  slotStep
2732  maxParticipantsPerSlot
2733  viewingReplySnippetId
2734  location
2735  customFields
2736  bufferBefore
2737  bufferAfter
2738  departmentId
2739  viewingCancellationSnippetId
2740  originalDate
2741  previousActivityId
2742  previousActivityType
2743}
2744    `,{fragmentName:"TaskFormFields"}),ou=new b(`
2745    fragment TaskBuildFormFields on Task {
2746  title
2747  taskStageId
2748  categoryId
2749  brokerId
2750  body
2751  brokerIds
2752  clientIds
2753  propertyIds
2754  projectIds
2755  groupIds
2756  noteAttachments {
2757    id
2758    name
2759    url
2760  }
2761  remindAtInMinutes
2762  createdAt
2763  startsAt
2764  endsAt
2765  allDay
2766  rrule
2767  private
2768  sendReminders
2769  roomResourceEmails
2770  isOnlineMeeting
2771  onlineMeetingUrl
2772  participantEmails
2773  massViewing
2774  slotStep
2775  maxParticipantsPerSlot
2776  viewingReplySnippetId
2777  location
2778  customFields
2779  bufferBefore
2780  bufferAfter
2781  departmentId
2782  viewingCancellationSnippetId
2783  originalDate
2784  previousActivityId
2785  previousActivityType
2786}
2787    `,{fragmentName:"TaskBuildFormFields"}),su=new b(`
2788    fragment TaskDealFields on ClientProperty {
2789  id
2790  client {
2791    name
2792    id
2793  }
2794  property {
2795    name
2796    id
2797  }
2798  projectId
2799  dealPipelineId
2800  dealStageId
2801  reasonId
2802  dealStageChance
2803  dealStage {
2804    id
2805    name
2806    color
2807  }
2808}
2809    `,{fragmentName:"TaskDealFields"});new b(`
2810    fragment WorkflowBuilderViewerFollowupActivity on FollowupActivity {
2811  id
2812  activityType
2813  actionType
2814  payload {
2815    snippetId
2816    brokerId
2817    departmentId
2818    dueDate
2819    todoTypeId
2820    eventTypeId
2821    decisionTypeId
2822    cancelationReasonId
2823    messageCategoryId
2824    reviewerIds
2825  }
2826}
2827    `,{fragmentName:"WorkflowBuilderViewerFollowupActivity"});new b(`
2828    fragment WorkflowBuilderViewerDealStage on DealStage {
2829  id
2830  name
2831  publicName
2832  title
2833  chance
2834  color
2835  maxAllowance
2836  excludedBrokerIds
2837  nextPropertyStatusId
2838  addPropertyGroupIds
2839  subPropertyGroupIds
2840  nextClientStatusId
2841  addClientGroupIds
2842  subClientGroupIds
2843  nextClientReasonId
2844  transferOfferPriceToProperty
2845  viewonly
2846  dealPipelineId
2847  clientReasonIdExplicitlySet
2848  translations {
2849    id
2850    locale
2851    name
2852    publicName
2853  }
2854  recipes {
2855    id
2856    actionType
2857    actionOptions
2858  }
2859}
2860    `,{fragmentName:"WorkflowBuilderViewerDealStage"});const lu=new b(`
2861    query CommissionSplitBrokers {
2862  shop {
2863    commissionSplitBrokers {
2864      id
2865      name
2866    }
2867  }
2868}
2869    `),du=new b(`
2870    query chronicDate {
2871  chronicDate(prompt: "")
2872}
2873    `),cu=new b(`
2874    query BackofficeAssistantRecommendedPrompts($contextResourceType: String, $contextResourceId: ID, $currentPage: String) {
2875  backofficeAssistantRecommendedPrompts(
2876    contextResourceType: $contextResourceType
2877    contextResourceId: $contextResourceId
2878    currentPage: $currentPage
2879  ) {
2880    id
2881    label
2882    value
2883  }
2884}
2885    `),uu=new b(`
2886    query FindriveSnippetCategories {
2887  shop {
2888    snippetCategories {
2889      id
2890      name
2891      snippets(forCurrentBroker: true) {
2892        id
2893        name
2894        subject
2895      }
2896    }
2897  }
2898}
2899    `),pu=new b(`
2900    query InvestmentUnitsTable($id: ID!) {
2901  property(id: $id) {
2902    children {
2903      id
2904      propertyStatusId
2905      floor
2906      renter
2907      usableFloorSpace
2908      rentalIncome
2909      freeFrom
2910      archived
2911      propertyStatus {
2912        disableExposeLandingPage
2913      }
2914    }
2915  }
2916}
2917    `),mu=new b(`
2918    query RentalUnitsTable($id: ID!) {
2919  property(id: $id) {
2920    children {
2921      id
2922      propertyStatusId
2923      floor
2924      rsTypeLabel
2925      minDivisible
2926      usableFloorSpace
2927      price
2928      baseRent
2929      totalRent
2930      marketingType
2931      archived
2932      propertyStatus {
2933        disableExposeLandingPage
2934      }
2935    }
2936  }
2937}
2938    `),hu=new b(`
2939    mutation SetAggregationOverride($propertyId: ID!, $fieldName: String!) {
2940  setAggregationOverride(propertyId: $propertyId, fieldName: $fieldName) {
2941    id
2942    aggregationFieldOverrides
2943    updatedAt
2944  }
2945}
2946    `),fu=new b(`
2947    mutation ClearAggregationOverride($propertyId: ID!, $fieldName: String!) {
2948  clearAggregationOverride(propertyId: $propertyId, fieldName: $fieldName) {
2949    id
2950    aggregationFieldOverrides
2951    aggregationValue(fieldName: $fieldName)
2952    updatedAt
2953  }
2954}
2955    `),Ga=new b(`
2956    mutation RecalculatePropertyAggregations($propertyId: Int!) {
2957  recalculatePropertyAggregations(propertyId: $propertyId) {
2958    id
2959  }
2960}
2961    `),ja=new b(`
2962    mutation DetachPropertyFromParent($propertyId: Int!) {
2963  detachPropertyFromParent(propertyId: $propertyId) {
2964    id
2965  }
2966}
2967    `),gu=new b(`
2968    query InheritFieldsChildren($id: ID!) {
2969  property(id: $id) {
2970    children {
2971      id
2972      name
2973    }
2974  }
2975}
2976    `),Ha=new b(`
2977    mutation InheritParentFieldsToChildren($propertyId: Int!, $fieldKeys: [String!]!, $childIds: [Int!]) {
2978  inheritParentFieldsToChildren(
2979    propertyId: $propertyId
2980    fieldKeys: $fieldKeys
2981    childIds: $childIds
2982  ) {
2983    id
2984  }
2985}
2986    `),yu=new b(`
2987    mutation DeactivateFieldInheritance($propertyId: Int!, $fieldKey: String!) {
2988  deactivateFieldInheritance(propertyId: $propertyId, fieldKey: $fieldKey) {
2989    id
2990    inheritanceFieldOverrides
2991    updatedAt
2992  }
2993}
2994    `),bu=new b(`
2995    mutation ReactivateFieldInheritance($propertyId: Int!, $fieldKey: String!) {
2996  reactivateFieldInheritance(propertyId: $propertyId, fieldKey: $fieldKey) {
2997    id
2998    title
2999    inheritanceFieldOverrides
3000    updatedAt
3001    customFields
3002    relationships {
3003      id
3004      name
3005      internalName
3006      relatedClientId
3007      relationshipCategoryId
3008      relatedClient {
3009        id
3010        name
3011        email
3012        path
3013        phone
3014        company
3015      }
3016    }
3017  }
3018}
3019    `),vu=new b(`
3020    mutation DiscardProperties($input: DiscardPropertiesInput!) {
3021  discardProperties(input: $input) {
3022    ok
3023    errors
3024  }
3025}
3026    `),Iu=new b(`
3027    query FetchPropertyParent($propertyId: ID!) {
3028  property(id: $propertyId) {
3029    parentId
3030    parentProperty {
3031      id
3032      name
3033      titleImageUrl
3034      published
3035      marketingTypeLabel
3036      rsTypeLabel
3037      categoryLabel
3038    }
3039    childrenCount
3040  }
3041}
3042    `),Cu=new b(`
3043    query FetchPropertyForks($propertyId: ID!) {
3044  property(id: $propertyId) {
3045    forks {
3046      id
3047      name
3048      archived
3049      titleImageUrl
3050      published
3051      marketingTypeLabel
3052      rsTypeLabel
3053      categoryLabel
3054    }
3055    forked {
3056      id
3057      name
3058      titleImageUrl
3059      published
3060      marketingTypeLabel
3061      rsTypeLabel
3062      categoryLabel
3063    }
3064    forkId
3065  }
3066}
3067    `),Su=new b(`
3068    query AcademyProgress {
3069  academyProgress {
3070    completedCount
3071    totalCount
3072    percent
3073    allDone
3074    modules {
3075      key
3076      completedCount
3077      totalCount
3078      allDone
3079      lessons {
3080        id
3081        key
3082        videoUrl
3083        durationSeconds
3084        done
3085      }
3086    }
3087  }
3088}
3089    `),_u=new b(`
3090    mutation CompleteAcademyLesson($lessonId: ID!, $completed: Boolean!) {
3091  completeAcademyLesson(lessonId: $lessonId, completed: $completed) {
3092    lesson {
3093      id
3094      key
3095      done
3096    }
3097  }
3098}
3099    `),ku=new b(`
3100    mutation RotateApiKey($id: Int!) {
3101  rotateApiKey(id: $id) {
3102    apiKey {
3103      id
3104      name
3105      category
3106      permissions
3107    }
3108    key
3109  }
3110}
3111    `),Tu=new b(`
3112    mutation LaunchBackboneSession($propertyId: Int!, $consent: Boolean!) {
3113  launchBackboneSession(propertyId: $propertyId, consent: $consent) {
3114    iframeUrl
3115  }
3116}
3117    `),wu=new b(`
3118    query BackboneConsent {
3119  shop {
3120    backboneConsentCurrent
3121  }
3122}
3123    `),Fu=new b(`
3124    query BackboneOrders($propertyId: ID!) {
3125  property(id: $propertyId) {
3126    id
3127    backboneOrders {
3128      id
3129      externalOrderId
3130      status
3131      currentStep
3132      maxSteps
3133      placedAt
3134      lastEventAt
3135      createdAt
3136      backboneAssignments {
3137        id
3138        product
3139        status
3140        scheduledAt
3141        estimatedDeliveryAt
3142        actionRequired
3143      }
3144    }
3145  }
3146}
3147    `),Pu=new b(`
3148    mutation LaunchBackboneStatusCardSession($propertyId: Int!, $externalOrderId: String!, $consent: Boolean!) {
3149  launchBackboneStatusCardSession(
3150    propertyId: $propertyId
3151    externalOrderId: $externalOrderId
3152    consent: $consent
3153  ) {
3154    iframeUrl
3155  }
3156}
3157    `),Au=new b(`
3158    mutation CancelBackofficeAssistantRun($runUuid: String!) {
3159  cancelBackofficeAssistantRun(runUuid: $runUuid) {
3160    accepted
3161  }
3162}
3163    `),$u=new b(`
3164    mutation RequestItsmydataCreditCheck($clientId: Int!, $productType: String!) {
3165  requestItsmydataCreditCheck(clientId: $clientId, productType: $productType) {
3166    id
3167    itsmydataRequestStatus
3168    itsmydataProductType
3169    itsmydataRequestedAt
3170  }
3171}
3172    `),Ru=new b(`
3173    mutation UpgradeClient($id: Int!) {
3174  upgradeClient(id: $id) {
3175    id
3176  }
3177}
3178    `),Du=new b(`
3179    query DefaultClientColumns {
3180  shop {
3181    customColumnPresetForClients
3182  }
3183}
3184    `),Nu=new b(`
3185    query SuggestedClients($propertyId: Int!, $params: JSON!) {
3186  suggestedClients(propertyId: $propertyId, params: $params) {
3187    data {
3188      id
3189      itemId
3190      name
3191      salutation
3192      phone
3193      email
3194      dob
3195      locked
3196      keepDataTill
3197      gdprStatus
3198      clientReasonId
3199      lastContactAt
3200      createdAt
3201      brokerId
3202      secondBrokerId
3203      creatorId
3204      teamId
3205      relationship
3206      children {
3207        name
3208      }
3209      acceptContact
3210      followupDate
3211      propertyMailingWanted
3212      newsletter
3213      warningNotice
3214      perfectMatch
3215      matchedQueries
3216      clientSourceId
3217      clientStatusId
3218      groupIds
3219      homeAddress
3220      homeCity
3221      homeCountry
3222      homeUrl
3223      homePhone
3224      homeCell
3225      officeAddress
3226      company
3227      position
3228      officeCity
3229      officeCountry
3230      rating
3231      score
3232      deals {
3233        dealStageId
3234        propertyId
3235        startDate
3236      }
3237      customFields
3238      savedQueries {
3239        id
3240        active
3241        locationIds
3242        cities
3243        marketingType
3244        rsTypes
3245        rsTypeLabels
3246        categoryLabels
3247        price
3248        priceTo
3249        baseRent
3250        baseRentTo
3251        livingSpace
3252        livingSpaceTo
3253        plotArea
3254        plotAreaTo
3255        totalFloorSpace
3256        totalFloorSpaceTo
3257        netFloorSpace
3258        netFloorSpaceTo
3259        industrialArea
3260        numberOfRooms
3261        numberOfRoomsTo
3262        numberOfBedrooms
3263        numberOfBedroomsTo
3264        rented
3265        note
3266        publicNote
3267        updatedAt
3268        updaterId
3269        createdAt
3270        brokerId
3271        teamId
3272        recipientId
3273        toClientIds
3274        ccClientIds
3275        clientTouchedAt
3276        sortedOutPropertyIds
3277        creator {
3278          id
3279          name
3280          initials
3281        }
3282        fromTipster
3283      }
3284    }
3285    meta {
3286      totalCount
3287    }
3288  }
3289}
3290    `),Ou=new b(`
3291    query ClientForm($id: ID!) {
3292  client(id: $id) {
3293    ...ClientFormFields
3294  }
3295}
3296    fragment SharedClientFormFields on Client {
3297  id
3298  salutation
3299  academicTitle
3300  firstName
3301  lastName
3302  teamId
3303  homeCell
3304  homePhone
3305  officeCell
3306  officePhone
3307  intlHomeCell
3308  intlHomePhone
3309  emails
3310  locale
3311  messageSalutation
3312  officeUrl
3313  homeUrl
3314  homeStreet
3315  homeHouseNumber
3316  homeZipCode
3317  homeCity
3318  homeCountry
3319  propertyMailingWanted
3320  company
3321  position
3322  officeStreet
3323  officeHouseNumber
3324  officeZipCode
3325  officeCity
3326  officeCountry
3327  homeFax
3328  officeFax
3329  rating
3330  dob
3331  birthName
3332  birthPlace
3333  birthCountry
3334  passType
3335  identityNumber
3336  issuingAuthority
3337  taxIdentificationNumber
3338  nationality
3339  legalForm
3340  registerNumber
3341  conspicuity
3342  matrimonialPropertyScheme
3343  equity
3344  handoverDate
3345  rentDate
3346  income
3347  mvsigned
3348  hvsigned
3349  photoUrl
3350  clientAddresses {
3351    id
3352    label
3353    value
3354    position
3355    intl
3356  }
3357  married
3358  matrimonialPropertyScheme
3359  spousesConsent
3360  bankName
3361  bankAccountOwner
3362  bankIban
3363  bankBic
3364  customFields
3365  gdprStatus
3366  acceptContact
3367  itsmydataCreditScore
3368  itsmydataValidity
3369  itsmydataValidUntil
3370  itsmydataProductType
3371  itsmydataRequestStatus
3372  itsmydataRequestedAt
3373  itsmydataIncomeSources
3374  itsmydataEmploymentType
3375  itsmydataAverageIncome
3376  itsmydataRentIncomeRatio
3377  itsmydataHouseholdSize
3378  itsmydataLandlordReference
3379  itsmydataDaysUntilExpiry
3380}
3381fragment ClientFormFields on Client {
3382  ...SharedClientFormFields
3383  commercial
3384  clientStatusId
3385  clientSourceId
3386  groupIds
3387  brokerId
3388  secondBrokerId
3389  description
3390  followupDate
3391  warningNotice
3392  locked
3393  archived
3394  newsletter
3395  propertyMailingWanted
3396  clientSyncBrokerIds
3397  brokerIds
3398  departmentIds
3399  keepDataTill
3400  clientReasonId
3401  projectIds
3402  accessBrokerIds
3403  accessDepartmentIds
3404  inquiryDepartmentId
3405  mailchimpInterestIds
3406  relationships {
3407    id
3408    name
3409    internalName
3410    relationshipCategoryId
3411    transferClientData
3412    client {
3413      id
3414      name
3415      nonCommercialName
3416      company
3417    }
3418    property {
3419      id
3420      name
3421      isVariant
3422      archived
3423    }
3424    project {
3425      id
3426      name
3427    }
3428  }
3429  children {
3430    ...SharedClientFormFields
3431  }
3432  updatedAt
3433  tipster {
3434    commission
3435    commission_percentage: commissionPercentage
3436  }
3437}`),Eu=new b(`
3438    query Client($id: ID!) {
3439  client(id: $id) {
3440    ...SharedClientQuery
3441    parentId
3442    homeCell
3443    intlPhone
3444    clientAddresses {
3445      value
3446      label
3447      intl
3448    }
3449    relatedClients {
3450      id
3451      name
3452    }
3453    commercial
3454    clientStatusId
3455    score
3456    archived
3457    locked
3458    duplicateClientIds
3459    warningNotice
3460    contactSyncErrorMessage
3461    formattedClientData
3462    clientSyncBrokerIds
3463    validatedContactData
3464    invalidatedContactData
3465    savedQueriesCount
3466    dealsCount
3467    documentsCount
3468    oldCrmId
3469    dob
3470    brokerIds
3471    departmentIds
3472    children {
3473      ...SharedClientQuery
3474      tipster {
3475        id
3476      }
3477      wantsToBeTipster
3478    }
3479    relationships {
3480      id
3481      name
3482      internalName
3483      relationshipCategoryId
3484      client {
3485        id
3486        name
3487        nonCommercialName
3488        company
3489      }
3490    }
3491    tipster {
3492      id
3493    }
3494    wantsToBeTipster
3495  }
3496}
3497    fragment SharedClientQuery on Client {
3498  id
3499  name
3500  nonCommercialName
3501  firstName
3502  lastName
3503  email
3504  itemId
3505  brokerId
3506  company
3507  photoUrl
3508  followupDate
3509  phone
3510  intlPhone
3511  createdAt
3512  creatorId
3513  updatedAt
3514  updaterId
3515  lastContactAt
3516  acceptContact
3517  propertyMailingWanted
3518  secondBrokerId
3519  gdprStatus
3520}`),Mu=new b(`
3521    query SuggestedClientsSearchQuery($propertyId: Int!, $params: JSON!) {
3522  suggestedClientsQuery(propertyId: $propertyId, params: $params)
3523}
3524    `),Vu=new b(`
3525    query SuggestedClientsMailPlan($propertyId: Int!, $params: JSON!, $cursor: String) {
3526  suggestedClientsMailPlan(
3527    propertyId: $propertyId
3528    params: $params
3529    cursor: $cursor
3530  ) {
3531    entries {
3532      savedQueryId
3533      clientId
3534      clientName
3535      recipientId
3536      toClientIds
3537      ccClientIds
3538    }
3539    cursor
3540  }
3541}
3542    `),Lu=new b(`
3543    query DealsTable($params: DealSearchParams!) {
3544  searchDeals(params: $params) {
3545    data {
3546      id
3547      clientId
3548      propertyId
3549      projectId
3550      brokerId
3551      brokerIds
3552      departmentIds
3553      dealStageId
3554      lastDealStageId
3555      dealStageChance
3556      dealPipelineId
3557      dealStage {
3558        id
3559        name
3560        color
3561        chance
3562        dealPipelineId
3563      }
3564      reasonId
3565      clientSourceId
3566      teamId
3567      feeling
3568      soldPrice
3569      startDate
3570      createdAt
3571      updatedAt
3572      note
3573      financingStatus
3574      maxBudget
3575      ownCapital
3576      householdNetIncomeRange
3577      customFields
3578      client {
3579        id
3580        name
3581        firstName
3582        lastName
3583        primaryEmail
3584        emails
3585        phone
3586        homePhone
3587        homeCell
3588        shortAddress
3589        officeAddress
3590        company
3591        clientStatusId
3592        clientSourceId
3593        brokerId
3594        secondBrokerId
3595        brokerIds
3596        departmentIds
3597        groupIds
3598        lastContactAt
3599        rating
3600        score
3601        acceptContact
3602        gdprStatus
3603        archived
3604        locked
3605        deletedAt
3606        itsmydataCreditScore
3607        itsmydataRequestStatus
3608        itsmydataValidity
3609      }
3610      property {
3611        name
3612        brokerId
3613        propertyStatusId
3614        marketingStartDate
3615        durationFrom
3616        durationUntil
3617        archived
3618      }
3619    }
3620    meta {
3621      totalCount
3622    }
3623  }
3624}
3625    `),Bu=new b(`
3626    mutation AddCommercialPropertyViewGroups($groups: [CommercialDetailViewGroupAttributes!]!, $departmentId: Int) {
3627  addCommercialPropertyViewGroups(groups: $groups, departmentId: $departmentId) {
3628    detailViewGroups {
3629      id
3630      configurationKey
3631    }
3632  }
3633}
3634    `),Uu=new b(`
3635    mutation ConnectExtension($extensionId: String!) {
3636  connectExtension(input: {extensionId: $extensionId}) {
3637    shop {
3638      id
3639    }
3640  }
3641}
3642    `),qu=new b(`
3643    mutation DisconnectExtension($extensionId: String!) {
3644  disconnectExtension(input: {extensionId: $extensionId}) {
3645    shop {
3646      id
3647    }
3648  }
3649}
3650    `),xu=new b(`
3651    mutation CreateFloorScanOrder($propertyId: ID!, $idempotencyKey: String!, $express: Boolean!, $scans: [FloorScanInput!]!) {
3652  createFloorScanOrder(
3653    propertyId: $propertyId
3654    idempotencyKey: $idempotencyKey
3655    express: $express
3656    scans: $scans
3657  ) {
3658    floorScanOrder {
3659      ...FloorScanOrderFields
3660    }
3661  }
3662}
3663    fragment FloorScanOrderFields on FloorScanOrder {
3664  id
3665  propertyId
3666  orderRef
3667  status
3668  lastEvent
3669  express
3670  mkmPhase
3671  manifestState
3672  manifestAcceptedAt
3673  scanCount
3674  address
3675  scans {
3676    id
3677    localScanRef
3678    filename
3679    displayName
3680    areaType
3681    usableSpaceType
3682    floor
3683    location
3684    unit
3685    captureByteSize
3686    archiveByteSize
3687    uploadState
3688    createdAt
3689  }
3690  createdAt
3691  updatedAt
3692}
3692`),zu=new b(`
3693    mutation FinalizeFloorScanUpload($floorScanOrderId: ID!) {
3694  finalizeFloorScanUpload(floorScanOrderId: $floorScanOrderId) {
3695    floorScanOrder {
3696      ...FloorScanOrderFields
3697    }
3698  }
3699}
3700    fragment FloorScanOrderFields on FloorScanOrder {
3701  id
3702  propertyId
3703  orderRef
3704  status
3705  lastEvent
3706  express
3707  mkmPhase
3708  manifestState
3709  manifestAcceptedAt
3710  scanCount
3711  address
3712  scans {
3713    id
3714    localScanRef
3715    filename
3716    displayName
3717    areaType
3718    usableSpaceType
3719    floor
3720    location
3721    unit
3722    captureByteSize
3723    archiveByteSize
3724    uploadState
3725    createdAt
3726  }
3727  createdAt
3728  updatedAt
3729}`),Gu=new b(`
3730    query FloorScanOrder($id: ID!) {
3731  floorScanOrder(id: $id) {
3732    ...FloorScanOrderFields
3733  }
3734}
3735    fragment FloorScanOrderFields on FloorScanOrder {
3736  id
3737  propertyId
3738  orderRef
3739  status
3740  lastEvent
3741  express
3742  mkmPhase
3743  manifestState
3744  manifestAcceptedAt
3745  scanCount
3746  address
3747  scans {
3748    id
3749    localScanRef
3750    filename
3751    displayName
3752    areaType
3753    usableSpaceType
3754    floor
3755    location
3756    unit
3757    captureByteSize
3758    archiveByteSize
3759    uploadState
3760    createdAt
3761  }
3762  createdAt
3763  updatedAt
3764}`),ju=new b(`
3765    query FloorScanOrders($propertyId: ID!) {
3766  property(id: $propertyId) {
3767    id
3768    floorScanOrders {
3769      ...FloorScanOrderFields
3770    }
3771  }
3772}
3773    fragment FloorScanOrderFields on FloorScanOrder {
3774  id
3775  propertyId
3776  orderRef
3777  status
3778  lastEvent
3779  express
3780  mkmPhase
3781  manifestState
3782  manifestAcceptedAt
3783  scanCount
3784  address
3785  scans {
3786    id
3787    localScanRef
3788    filename
3789    displayName
3790    areaType
3791    usableSpaceType
3792    floor
3793    location
3794    unit
3795    captureByteSize
3796    archiveByteSize
3797    uploadState
3798    createdAt
3799  }
3800  createdAt
3801  updatedAt
3802}`),Hu=new b(`
3803    query FranchisePostalCodeLimits {
3804  franchisePostalCodeLimits {
3805    id
3806    country
3807    postalCodeFrom
3808    postalCodeTo
3809    displayRange
3810    franchiseeShopId
3811  }
3812}
3813    `),Wu=new b(`
3814    mutation ReplaceFranchisePostalCodeLimits($franchiseeShopId: Int!, $limits: [FranchisePostalCodeLimitAttributes!]!) {
3815  replaceFranchisePostalCodeLimits(
3816    franchiseeShopId: $franchiseeShopId
3817    limits: $limits
3818  ) {
3819    limits {
3820      id
3821      country
3822      postalCodeFrom
3823      postalCodeTo
3824      displayRange
3825      franchiseeShopId
3826    }
3827    overlaps {
3828      id
3829      displayRange
3830      franchiseeShop {
3831        id
3832        name
3833      }
3834    }
3835  }
3836}
3837    `),Ku=new b(`
3838    query FranchisePostalCodeLimitLookup($country: String!, $postalCode: String!) {
3839  franchisePostalCodeLimitLookup(country: $country, postalCode: $postalCode) {
3840    franchiseeShop {
3841      id
3842      name
3843    }
3844    limits {
3845      id
3846      displayRange
3847    }
3848  }
3849}
3850    `),Yu=new b(`
3851    query UpcomingEventsToday {
3852  broker {
3853    upcomingEventsToday {
3854      id
3855      title
3856      startsAt
3857      endsAt
3858      location
3859      bufferBefore
3860      bufferAfter
3861      originalDate
3862    }
3863  }
3864}
3865    `),Qu=new b(`
3866    query AutomationsAllRecipes {
3867  recipesConfig
3868  shop {
3869    automationFailureNotificationRecipients
3870  }
3871  recipes {
3872    id
3873    live
3874    title
3875    triggerType
3876    actionType
3877    changedAttribute
3878    conditions
3879    actionOptions
3880    nextRecipeIds
3881    webhookUrl
3882    createdAt
3883    updatedAt
3884    lastExecutedAt
3885    schedule
3886    scheduleType
3887    iterationKey
3888    viewonly
3889  }
3890}
3891    `),Zu=new b(`
3892    query AutomationsActionOptions {
3893  shop {
3894    brokers {
3895      id
3896      name
3897    }
3898    departments {
3899      id
3900      name
3901    }
3902    snippets {
3903      id
3904      name
3905    }
3906    cancelationReasons {
3907      id
3908      name
3909    }
3910    clientGroups {
3911      id
3912      name
3913    }
3914    propertyGroups {
3915      id
3916      name
3917    }
3918    clientStatuses {
3919      id
3920      name
3921    }
3922    clientReasons {
3923      id
3924      name
3925    }
3926    clientSources {
3927      id
3928      name
3929    }
3930    propertyStatuses {
3931      id
3932      name
3933    }
3934    noteCategories {
3935      id
3936      name
3937    }
3938    todoCategories {
3939      id
3940      name
3941    }
3942    eventCategories {
3943      id
3944      name
3945    }
3946    decisionCategories {
3947      id
3948      name
3949      decisionOptions {
3950        id
3951        name
3952      }
3953    }
3954    dealStages {
3955      id
3956      name
3957    }
3958    taskStages {
3959      id
3960      name
3961    }
3962    projectStatuses {
3963      id
3964      name
3965    }
3966    relationshipPartnerNames {
3967      name
3968    }
3969    superchatTemplates {
3970      id
3971      name
3972    }
3973    proppiSkills {
3974      id
3975      name: title
3976    }
3977  }
3978}
3979    `),Ju=new b(`
3980    query AutomationsRecipeEvents($recipeId: ID!, $per: Int!, $page: Int!) {
3981  recipe(id: $recipeId) {
3982    recipeEvents(per: $per, page: $page) {
3983      nodes {
3984        id
3985        createdAt
3986        error
3987        triggerResourceId
3988        triggerResourceType
3989        actionResourceId
3990        actionResourceType
3991      }
3992    }
3993  }
3994}
3995    `),Xu=new b(`
3996    query AdminBrokers($page: Int!, $per: Int!, $search: String!, $category: String!) {
3997  shop {
3998    allLicencesInUse
3999    brokers(page: $page, per: $per, search: $search, category: $category) {
4000      id
4001      name
4002      email
4003      avatarUrl(size: "small_thumb")
4004      internalName
4005      active
4006      archived
4007      blocked
4008      initials
4009      color
4010      admin
4011      superAdmin
4012      position
4013      phone
4014      cell
4015      availability
4016      role
4017      connected
4018      mfaEnabled
4019      hideInDropdowns
4020      getReminderEmails
4021      allowedIpAddresses
4022      teamId
4023      accessTeamIds
4024    }
4025    brokersCount(search: $search, category: $category)
4026  }
4027}
4028    `),ep=new b(`
4029    query AdminBrokersCount {
4030  shop {
4031    active: brokersCount(category: "active")
4032    technical: brokersCount(category: "technical")
4033    archived: brokersCount(category: "archived")
4034    licensed: brokersCount(category: "licensed")
4035    all: brokersCount
4036  }
4037}
4038    `),tp=new b(`
4039    query SearchClients($q: String!, $includeChildren: Boolean!) {
4040  searchClients(q: $q, includeChildren: $includeChildren) {
4041    data {
4042      id
4043      name
4044      email
4045      homePhone
4046      homeCell
4047      locked
4048      relationship
4049    }
4050  }
4051}
4052    `),np=new b(`
4053    query CommissionSplitClientsDialog($query: String!) {
4054  commissionSplitClients(query: $query) {
4055    id
4056    name
4057    email
4058    archived
4059    locked
4060  }
4061}
4062    `),ip=new b(`
4063    query InvoiceRecipientClients($q: String!, $includeChildren: Boolean!) {
4064  searchClients(q: $q, includeChildren: $includeChildren) {
4065    data {
4066      id
4067      name
4068      email
4069      emails
4070      address
4071      locked
4072    }
4073  }
4074}
4075    `),rp=new b(`
4076    query CommissionSplits($sortBy: String!, $order: Order, $per: Int, $page: Int, $byBroker: [Int!], $byClient: [Int!], $byName: [String!], $byActor: [String!], $bySplitPosition: [String!], $dateFrom: String, $dateTo: String) {
4077  commissionSplits(
4078    sortBy: $sortBy
4079    order: $order
4080    per: $per
4081    page: $page
4082    byBroker: $byBroker
4083    byClient: $byClient
4084    byName: $byName
4085    byActor: $byActor
4086    bySplitPosition: $bySplitPosition
4087    dateFrom: $dateFrom
4088    dateTo: $dateTo
4089  ) {
4090    totalCount
4091    totals {
4092      open
4093      paid
4094      defaulted
4095    }
4096    nodes {
4097      id
4098      name
4099      value
4100      valueType
4101      calculatedValue
4102      date
4103      actor
4104      splitPosition
4105      createdAt
4106      defaulted
4107      client {
4108        id
4109        name
4110      }
4111      broker {
4112        id
4113        name
4114      }
4115      property {
4116        id
4117        name
4118        totalCommission
4119        currency
4120      }
4121    }
4122  }
4123}
4124    `),ap=new b(`
4125    query CustomFormTemplates {
4126  customFormTemplates {
4127    id
4128    name
4129    imgUrl
4130  }
4131}
4132    `),op=new b(`
4133    query TipsterDataProcessingConsentTemplate($instanceId: Int) {
4134  template: tipsterDataProcessingConsentTemplate(instanceId: $instanceId) {
4135    name
4136    size
4137    updatedAt
4138    url
4139  }
4140}
4141    `),sp=new b(`
4142    mutation DeleteTipsterDataProcessingConsentTemplate($instanceId: Int) {
4143  deleteTipsterDataProcessingConsentTemplate(instanceId: $instanceId) {
4144    success
4145  }
4146}
4147    `),lp=new b(`
4148    query DealAlertFormDeal($id: Int!) {
4149  shop {
4150    clientProperty(id: $id) {
4151      id
4152      ...DealFields
4153      client {
4154        id
4155        name
4156        ...ClientFormFields
4157      }
4158      property {
4159        id
4160        name
4161        ...PropertyFormFields
4162      }
4163    }
4164  }
4165}
4166    fragment SharedClientFormFields on Client {
4167  id
4168  salutation
4169  academicTitle
4170  firstName
4171  lastName
4172  teamId
4173  homeCell
4174  homePhone
4175  officeCell
4176  officePhone
4177  intlHomeCell
4178  intlHomePhone
4179  emails
4180  locale
4181  messageSalutation
4182  officeUrl
4183  homeUrl
4184  homeStreet
4185  homeHouseNumber
4186  homeZipCode
4187  homeCity
4188  homeCountry
4189  propertyMailingWanted
4190  company
4191  position
4192  officeStreet
4193  officeHouseNumber
4194  officeZipCode
4195  officeCity
4196  officeCountry
4197  homeFax
4198  officeFax
4199  rating
4200  dob
4201  birthName
4202  birthPlace
4203  birthCountry
4204  passType
4205  identityNumber
4206  issuingAuthority
4207  taxIdentificationNumber
4208  nationality
4209  legalForm
4210  registerNumber
4211  conspicuity
4212  matrimonialPropertyScheme
4213  equity
4214  handoverDate
4215  rentDate
4216  income
4217  mvsigned
4218  hvsigned
4219  photoUrl
4220  clientAddresses {
4221    id
4222    label
4223    value
4224    position
4225    intl
4226  }
4227  married
4228  matrimonialPropertyScheme
4229  spousesConsent
4230  bankName
4231  bankAccountOwner
4232  bankIban
4233  bankBic
4234  customFields
4235  gdprStatus
4236  acceptContact
4237  itsmydataCreditScore
4238  itsmydataValidity
4239  itsmydataValidUntil
4240  itsmydataProductType
4241  itsmydataRequestStatus
4242  itsmydataRequestedAt
4243  itsmydataIncomeSources
4244  itsmydataEmploymentType
4245  itsmydataAverageIncome
4246  itsmydataRentIncomeRatio
4247  itsmydataHouseholdSize
4248  itsmydataLandlordReference
4249  itsmydataDaysUntilExpiry
4250}
4251fragment ClientFormFields on Client {
4252  ...SharedClientFormFields
4253  commercial
4254  clientStatusId
4255  clientSourceId
4256  groupIds
4257  brokerId
4258  secondBrokerId
4259  description
4260  followupDate
4261  warningNotice
4262  locked
4263  archived
4264  newsletter
4265  propertyMailingWanted
4266  clientSyncBrokerIds
4267  brokerIds
4268  departmentIds
4269  keepDataTill
4270  clientReasonId
4271  projectIds
4272  accessBrokerIds
4273  accessDepartmentIds
4274  inquiryDepartmentId
4275  mailchimpInterestIds
4276  relationships {
4277    id
4278    name
4279    internalName
4280    relationshipCategoryId
4281    transferClientData
4282    client {
4283      id
4284      name
4285      nonCommercialName
4286      company
4287    }
4288    property {
4289      id
4290      name
4291      isVariant
4292      archived
4293    }
4294    project {
4295      id
4296      name
4297    }
4298  }
4299  children {
4300    ...SharedClientFormFields
4301  }
4302  updatedAt
4303  tipster {
4304    commission
4305    commission_percentage: commissionPercentage
4306  }
4307}
4308fragment DealFields on ClientProperty {
4309  dealPipelineId
4310  dealStageId
4311  clientId
4312  propertyId
4313  projectId
4314  brokerId
4315  brokerIds
4316  departmentIds
4317  startDate
4318  soldPrice
4319  feeling
4320  clientSourceId
4321  note
4322  updatedAt
4323  customFields
4324  teamId
4325  departmentIds
4326  is24UserProfileUrl
4327  buyReason
4328  homeOwner
4329  employmentStatus
4330  numberOfPersons
4331  ownCapital
4332  householdNetIncomeRange
4333  maxBudget
4334  searchAdvancePhase
4335  financingStatus
4336}
4337fragment ValidPropertyFormFields on Property {
4338  brokerId
4339  brokerIds
4340  departmentIds
4341  projectId
4342  teamId
4343  groupIds
4344  propertyStatusId
4345  unitId
4346  exposeeId
4347  targetGroup
4348  note
4349  warningNotice
4350  systemWarningNotice
4351  archived
4352  scoutContactId
4353  scoutId
4354  scoutGroupNumber
4355  inquiryDepartmentId
4356  lat
4357  lng
4358  locationId
4359  hideAddress
4360  cadastralDistrict
4361  plotNumber
4362  roadAccess
4363  roadAccessType
4364  district
4365  courtage
4366  internalBrokerage
4367  courtageNote
4368  commissionPassThrough
4369  totalCommission
4370  internalCommission
4371  internalCommissionPercentage
4372  externalCommission
4373  externalCommissionPercentage
4374  title
4375  descriptionNote
4376  shortNote
4377  locationNote
4378  furnishingNote
4379  otherNote
4380  longDescriptionNote
4381  longLocationNote
4382  longFurnishingNote
4383  longOtherNote
4384  distanceToPt
4385  distanceToFm
4386  distanceToMrs
4387  distanceToAirport
4388  distanceToPtLength
4389  distanceToFmLength
4390  distanceToMrsLength
4391  distanceToAirportLength
4392  livingSpace
4393  totalFloorSpace
4394  plotArea
4395  numberOfRooms
4396  numberOfBedRooms
4397  numberOfBathRooms
4398  floor
4399  numberOfFloors
4400  floorPosition
4401  usableFloorSpace
4402  netFloorSpace
4403  cellarSpace
4404  balconySpace
4405  gardenSpace
4406  minDivisible
4407  buildingSpace
4408  buildingPart
4409  officeSpace
4410  officeSpaceMin
4411  officeSpaceTotal
4412  officeRentPerSqmFrom
4413  officeRentPerSqmTo
4414  officeAdditionalCostsPerSqmFrom
4415  officeAdditionalCostsPerSqmTo
4416  retailSpace
4417  retailSpaceMin
4418  retailSpaceTotal
4419  retailRentPerSqmFrom
4420  retailRentPerSqmTo
4421  retailAdditionalCostsPerSqmFrom
4422  retailAdditionalCostsPerSqmTo
4423  gastroSpace
4424  gastroSpaceMin
4425  gastroSpaceTotal
4426  gastroRentPerSqmFrom
4427  gastroRentPerSqmTo
4428  gastroAdditionalCostsPerSqmFrom
4429  gastroAdditionalCostsPerSqmTo
4430  storageSpace
4431  storageSpaceMin
4432  storageSpaceTotal
4433  storageRentPerSqmFrom
4434  storageRentPerSqmTo
4435  storageAdditionalCostsPerSqmFrom
4436  storageAdditionalCostsPerSqmTo
4437  mezzanineSpace
4438  mezzanineSpaceMin
4439  mezzanineSpaceTotal
4440  mezzanineRentPerSqmFrom
4441  mezzanineRentPerSqmTo
4442  openSpace
4443  openSpaceMin
4444  openSpaceTotal
4445  openRentPerSqmFrom
4446  openRentPerSqmTo
4447  serviceSpace
4448  serviceSpaceMin
4449  serviceSpaceTotal
4450  serviceRentPerSqmFrom
4451  serviceRentPerSqmTo
4452  archiveSpace
4453  archiveSpaceMin
4454  archiveSpaceTotal
4455  archiveSpaceRentPerSqmFrom
4456  archiveSpaceRentPerSqmTo
4457  numberOfBalconies
4458  numberOfTerraces
4459  cubature
4460  numberSeats
4461  lodgerFlat
4462  price
4463  parkingSpacePrice
4464  priceOnInquiry
4465  forBidding
4466  baseRent
4467  totalRent
4468  heatingCosts
4469  serviceCharge
4470  heatingCostsInServiceCharge
4471  rentSubsidy
4472  otherCosts
4473  maintenanceReserve
4474  vat
4475  plusVat
4476  priceType
4477  currency
4478  areaUnit
4479  rented
4480  freeFrom
4481  freeUntil
4482  parkingSpacesTotal
4483  numberOfParkingSpaces
4484  numberOfEvCharging
4485  parkingSpaceTypes
4486  truckParkingSpacesTotal
4487  numberOfTruckParkingSpaces
4488  truckParkingSpacePrice
4489  condition
4490  interiorQuality
4491  lastRefurbishment
4492  tenancy
4493  commercializationType
4494  shortTermConstructible
4495  utilizationTradeSite
4496  recommendedUseTypes
4497  siteDevelopmentType
4498  siteConstructibleType
4499  grz
4500  gfz
4501  bgf
4502  bmz
4503  buildingPermission
4504  preliminaryEnquiry
4505  demolition
4506  constructionPhase
4507  widthGarage
4508  heightGarage
4509  lengthGarage
4510  pricePerSqm
4511  customPricePerSqm
4512  numberOfApartments
4513  numberOfCommercials
4514  numberOfUnits
4515  rentalIncome
4516  rentalIncomeTarget
4517  rentalIncomeActual
4518  priceMultiplierTarget
4519  priceMultiplier
4520  yieldTarget
4521  yieldActual
4522  investmentCategory
4523  purchaseForm
4524  industrialArea
4525  additionalArea
4526  tenantStructure
4527  walt
4528  numberOfSingleRooms
4529  singleRoomsQuota
4530  occupancyRate
4531  numberOfVacancies
4532  conservationAreas
4533  locationClassificationType
4534  shopWindowLength
4535  goodsLift
4536  goodsLiftLoad
4537  floorLoad
4538  supplyType
4539  lanCables
4540  hasCanteen
4541  ramp
4542  autoLift
4543  hallHeight
4544  connectedLoad
4545  craneRunwayLoad
4546  rentDurations
4547  priceIntervalType
4548  startRentalDate
4549  endRentalDate
4550  minRentalTime
4551  maxRentalTime
4552  maxNumberOfPersons
4553  hasFurniture
4554  gender
4555  lift
4556  barrierFree
4557  cellar
4558  guestToilet
4559  builtInKitchen
4560  balcony
4561  loggia
4562  garden
4563  monument
4564  summerResidencePractical
4565  storeroom
4566  chimney
4567  swimmingPool
4568  sauna
4569  alarmSystem
4570  winterGarden
4571  airConditioning
4572  bathroom
4573  flooringType
4574  outsideView
4575  petsAllowed
4576  nonSmoker
4577  certificateOfEligibilityNeeded
4578  flatShareSuitable
4579  energyCertificateAvailability
4580  energyCertificateCreationDate
4581  energyCertificateStartDate
4582  energyCertificateEndDate
4583  buildingEnergyRatingType
4584  energyEfficiencyClass
4585  energyEfficiencyValue
4586  thermalCharacteristicElectricity
4587  thermalCharacteristicHeating
4588  coEmission
4589  co2EmissionRating
4590  energyConsumptionContainsWarmWater
4591  heatingType
4592  firingTypes
4593  constructionYear
4594  energyCertificateConstructionYear
4595  equipmentTechnologyConstructionYear
4596  constructionYearUnknown
4597  autHwb
4598  autHwbClass
4599  autFgee
4600  autFgeeClass
4601  autMainRent
4602  autCadastralCommunity
4603  autBuildingCertificates
4604  primaryOutdoorOrientation
4605  suitableForInvestment
4606  windowShutter
4607  bicycleStorage
4608  laundryRoom
4609  smartHome
4610  conflictOfInterestType
4611  dualAgency
4612  valuationPriceFrom
4613  valuationPriceTo
4614  valuationPrice
4615  soldPrice
4616  realizedRent
4617  soldDate
4618  costBalcony
4619  costLift
4620  costOther
4621  parkingSpaceNumber
4622  apartmentNumber
4623  teId
4624  coOwnershipShare
4625  localCourt
4626  registerNumber
4627  landRegistry
4628  contractType
4629  duration
4630  durationFrom
4631  durationUntil
4632  deposit
4633  renter
4634  customLpAddress
4635  areabutlerLinkWithAddress
4636  areabutlerLinkWithoutAddress
4637  listAllUnitsOnLandingPage
4638  landingPageBlocked
4639  openimmoFirstname
4640  openimmoLastname
4641  openimmoEmail
4642  openimmoPhone
4643  compensationCosts
4644  recurringCosts
4645  recurringCostsNet
4646  recurringCostsVat
4647  recurringCostsVatPercent
4648  heatingCostsNet
4649  heatingCostsVat
4650  heatingCostsVatPercent
4651  serviceChargeNet
4652  serviceChargeVat
4653  serviceChargeVatPercent
4654  otherCostsNet
4655  otherCostsVat
4656  otherCostsVatPercent
4657  priceNet
4658  priceVat
4659  priceVatPercent
4660  baseRentNet
4661  baseRentVat
4662  baseRentVatPercent
4663  totalRentNet
4664  totalRentVat
4665  totalRentVatPercent
4666  otherRentNet
4667  otherRentVat
4668  financialContribution
4669  constructionType
4670  facebookPostDescription
4671  instagramPostDescription
4672  autoPortalExportConnectionIds
4673  marketingStartDate
4674  ukPropertyType
4675  locked
4676  newBuild
4677  rentalContractDurationInMonths
4678  minimumRentalDurationInMonths
4679  rentalContractType
4680  addressLine2
4681  priceQualifier
4682  tenureType
4683  tenureUnexpiredYears
4684  pricePerUnitPerAnnum
4685  sharedOwnership
4686  numberOfReceptionRooms
4687  accessibility
4688  councilTaxBand
4689  outsideSpaceTypes
4690  roomSize
4691  smokingAllowed
4692  flatShareSize
4693  minimumTermOfLease
4694  totalSpace
4695  numberOfMaleFlatMates
4696  numberOfFemaleFlatMates
4697  ageOfFlatMatesFrom
4698  ageOfFlatMatesTo
4699  numberOfRequestedFlatMates
4700  ageOfRequestedFrom
4701  ageOfRequestedTo
4702  oven
4703  refrigerator
4704  stove
4705  dishwasher
4706  bathHasWc
4707  bathHasShower
4708  bathHasTub
4709  washingMachine
4710  internetConnection
4711  tvConnection
4712  telephoneConnection
4713  parkingSituation
4714  trialLivingPossible
4715  careTypes
4716  careLevel
4717  opening
4718  roomType
4719  numberOfBeds
4720  numberOfLookedAfterApartments
4721  numberOfNursingPlaces
4722  livingSpaceFrom
4723  livingSpaceTo
4724  careOfDementia
4725  careOfArtificialRespiration
4726  careOfComaVigil
4727  careOfStroke
4728  careOfParkinson
4729  careOfAlzheimer
4730  careOfMultipleSclerosis
4731  therapyOfferingsAvailable
4732  ownFurniturePossible
4733  guestApartments
4734  restaurant
4735  cookingFacilities
4736  cleaningService
4737  shoppingFacilities
4738  security24Hours
4739  culturalProgram
4740  leisureActivities
4741  religiousOfferings
4742  facilityType
4743  minBaseRent
4744  minPurchasePrice
4745  roomAvailableFrom
4746  roomAvailableTo
4747  cookingPossibility
4748  commonRooms
4749  fitness
4750  ambulantNursingService
4751  emergencyCallInRoom
4752  receptionManned
4753  medicalAssistance
4754  homeHelp
4755  counseling
4756  parking
4757  publicTransportation
4758  loansAvailable
4759  staircase
4760  propertyLayout
4761  inventory
4762  deletionsFromLandRegister
4763  contractFees
4764  landRegistryFees
4765  propertyTransferTax
4766  developmentCosts
4767  maintenanceReserveAmount
4768  loggiaSpace
4769  numberOfLoggia
4770  numberOfToilets
4771  priceVatPercent
4772  marketingMarkerRadius
4773  marketingMarkerLat
4774  marketingMarkerLng
4775}
4776fragment PropertyFormFields on Property {
4777  ...ValidPropertyFormFields
4778  marketingType
4779  objectType
4780  rsType
4781  rsCategory
4782  street
4783  houseNumber
4784  zipCode
4785  city
4786  region
4787  country
4788  buildingName
4789  subCommunity
4790  community
4791  customFields
4792  translations {
4793    locale
4794    courtage
4795    courtageNote
4796    customFields
4797    deposit
4798    freeFrom
4799    title
4800    descriptionNote
4801    shortNote
4802    locationNote
4803    furnishingNote
4804    otherNote
4805    longDescriptionNote
4806    longLocationNote
4807    longFurnishingNote
4808    longOtherNote
4809  }
4810  commissionSplits {
4811    id
4812    name
4813    brokerId
4814    clientId
4815    value
4816    valueType
4817    calculatedValue
4818    splitPosition
4819    date
4820    actor
4821    representing
4822    client {
4823      id
4824      name
4825    }
4826    broker {
4827      name
4828    }
4829  }
4830  relationships {
4831    id
4832    name
4833    internalName
4834    relatedClientId
4835    relatedClient {
4836      id
4837      name
4838      email
4839      path
4840      phone
4841      company
4842    }
4843    project {
4844      id
4845      name
4846    }
4847  }
4848  publishings {
4849    id
4850    portalId
4851    publishDate
4852    postUrl
4853    scoutTicketUrl
4854    externalId
4855  }
4856  localHeroBooking(active: true) {
4857    createdAt
4858    startsAt
4859    endsAt
4860  }
4861  receivedViaMls
4862  childrenCount
4863  aggregationFieldOverrides
4864  parentId
4865  forkId
4866  inheritanceFieldOverrides
4867  aggregatedRsTypes
4868  externalCommission
4869  internalCommission
4870  externalCommissionPercentage
4871  internalCommissionPercentage
4872  totalCommission
4873  newBuild
4874  rentalContractDurationInMonths
4875  minimumRentalDurationInMonths
4876  rentalContractType
4877  addressLine2
4878  priceQualifier
4879  tenureType
4880  tenureUnexpiredYears
4881  pricePerUnitPerAnnum
4882  sharedOwnership
4883  numberOfReceptionRooms
4884  accessibility
4885  councilTaxBand
4886  outsideSpaceTypes
4887}`),dp=new b(`
4888    query DealAlertDataQualityAssistants($ids: [Int!]!) {
4889  shop {
4890    dataQualityAssistants(ids: $ids) {
4891      id
4892      dealStageId
4893      name
4894      headline
4895      description
4896      requiredClientFields
4897      requiredPropertyFields
4898      requiredDealFields
4899    }
4900  }
4901}
4902    `),cp=new b(`
4903    query DealAlertsByClientPropertyId($id: ID!) {
4904  dealAlerts(clientPropertyId: $id) {
4905    id
4906    data
4907  }
4908}
4909    `),up=new b(`
4910    query DuplicatesMergePreview($mainClientId: ID!, $secondClientId: ID!) {
4911  duplicatesMergePreview(
4912    mainClientId: $mainClientId
4913    secondClientId: $secondClientId
4914  )
4915}
4916    `),pp=new b(`
4917    mutation DuplicatesMergeSubmit($mainClientId: ID!, $secondClientId: ID!, $deleteOtherClient: Boolean, $fieldResolutions: JSON, $dealResolutions: [JSON!], $updatedAtTokens: JSON) {
4918  duplicatesMergeSubmit(
4919    mainClientId: $mainClientId
4920    secondClientId: $secondClientId
4921    deleteOtherClient: $deleteOtherClient
4922    fieldResolutions: $fieldResolutions
4923    dealResolutions: $dealResolutions
4924    updatedAtTokens: $updatedAtTokens
4925  ) {
4926    ok
4927  }
4928}
4929    `),mp=new b(`
4930    mutation MarkClientPairAsNotDuplicate($firstClientId: ID!, $secondClientId: ID!) {
4931  markClientPairAsNotDuplicate(
4932    firstClientId: $firstClientId
4933    secondClientId: $secondClientId
4934  ) {
4935    ok
4936  }
4937}
4938    `),hp=new b(`
4939    query EA48PropertyAddress($id: ID!) {
4940  property(id: $id) {
4941    street
4942    houseNumber
4943    zipCode
4944    city
4945    region
4946    numberOfFloors
4947    cellar
4948    constructionYear
4949    energyCertificateConstructionYear
4950    equipmentTechnologyConstructionYear
4951    livingSpace
4952    heatingType
4953    firingTypes
4954    energyConsumptionContainsWarmWater
4955    documents {
4956      documentExtractions {
4957        categoryKey
4958        status
4959        confidenceScore
4960        finalData
4961        createdAt
4962      }
4963    }
4964  }
4965}
4966    `),fp=new b(`
4967    query ExtensionApiKey($category: String!) {
4968  shop {
4969    apiKeys(category: $category) {
4970      id
4971      name
4972      category
4973      permissions
4974      key
4975      logs {
4976        timestamp
4977        endpoint
4978        timeSpent
4979        httpMethod
4980        statusCode
4981        ipAddress
4982        referrer
4983        params
4984      }
4985    }
4986  }
4987}
4988    `),gp=new b(`
4989    query CustomFormFieldMapping {
4990  customFormFieldMapping {
4991    clientFields
4992    propertyFields
4993    projectFields
4994    clientPropertyFields
4995    taskFields
4996    entityLabels
4997  }
4998}
4999    `),yp=new b(`
5000    query CustomForm($id: ID!) {
5001  customForm(id: $id) {
5002    id
5003    formBuilderConfig
5004    title
5005  }
5006}
5007    `),bp=new b(`
5008    query CustomFormRelationshipMapping {
5009  customFormRelationshipMapping {
5010    internalName
5011    name
5012  }
5013}
5014    `),vp=new b(`
5015    query FormDetailCustomForm($formId: ID!) {
5016  customForm(id: $formId) {
5017    id
5018    title
5019    description
5020    formWidth
5021    liveDuration
5022    formColor
5023    active
5024    privacyPolicyText
5025    submitButtonText
5026    thankYouMessage
5027    brokerId
5028    snippetId
5029    sendSubmissionMessage
5030    translations {
5031      id
5032      locale
5033      expiredMessage
5034    }
5035  }
5036}
5037    `),Ip=new b(`
5038    query FormEntryDetail($id: ID!) {
5039  formEntry(id: $id) {
5040    id
5041    customForm {
5042      brokerId
5043      title
5044    }
5045    client {
5046      id
5047      name
5048      email
5049    }
5050    relatedClients {
5051      id
5052      name
5053      email
5054    }
5055    entryData
5056    createdAt
5057    project {
5058      id
5059      name
5060    }
5061    task {
5062      id
5063      title
5064    }
5065    clientProperty {
5066      id
5067    }
5068    property {
5069      id
5070      name
5071      address
5072      city
5073    }
5074    attachments {
5075      id
5076      clientId
5077      name
5078      submissionToken
5079      url
5080    }
5081    watcherBrokerIds
5082  }
5083}
5084    `),Cp=new b(`
5085    query CustomFormsOverviewQuery {
5086  shop {
5087    customForms {
5088      id
5089      title
5090      description
5091      active
5092      totalEntries
5093      lastEntryDate
5094    }
5095  }
5096}
5097    `),Sp=new b(`
5098    query FormResults($id: ID!, $per: Int!, $page: Int!, $sortBy: String!, $order: String!) {
5099  customForm(id: $id) {
5100    title
5101    brokerId
5102    formEntries(per: $per, page: $page, sortBy: $sortBy, order: $order) {
5103      data {
5104        id
5105        client {
5106          id
5107          name
5108          email
5109        }
5110        relatedClients {
5111          id
5112          name
5113          email
5114        }
5115        entryData
5116        createdAt
5117        project {
5118          id
5119          name
5120        }
5121        clientProperty {
5122          id
5123        }
5124        task {
5125          id
5126          title
5127        }
5128        property {
5129          id
5130          name
5131          address
5132          city
5133        }
5134        attachments {
5135          id
5136          clientId
5137          name
5138          submissionToken
5139          url
5140        }
5141      }
5142      meta {
5143        totalCount
5144      }
5145    }
5146  }
5147}
5148    `),_p=new b(`
5149    query IdealistaPreviewExternalData($publishingId: ID!) {
5150  publishing(id: $publishingId) {
5151    externalData
5152  }
5153}
5154    `),kp=new b(`
5155    mutation CreateSitePlan($input: CreateSitePlanInput!) {
5156  createSitePlan(input: $input) {
5157    image {
5158      id
5159      titleDe
5160      titleHu
5161      titleEn
5162      titleEs
5163      titleFr
5164      titleRu
5165      titleIt
5166      photoUrl
5167      tags
5168      bequest
5169      token
5170      photoUrlThumb: photoUrl(version: "thumb")
5171      position
5172      tags
5173      disableWatermarking
5174      isPrivate
5175      isFloorplan
5176      isNotForExposee
5177      connectionIds
5178    }
5179  }
5180}
5181    `),Tp=new b(`
5182    mutation SortImages($input: SortImagesInput!) {
5183  sortImages(input: $input) {
5184    ok
5185  }
5186}
5187    `),wp=new b(`
5188    query ImogentProperty($id: ID!) {
5189  property(id: $id) {
5190    street
5191    houseNumber
5192    zipCode
5193    city
5194    name
5195  }
5196}
5197    `),Fp=new b(`
5198    query IntegrationPageExtensions {
5199  shop {
5200    extensions {
5201      id
5202      enabled
5203      canEnable
5204      badgeText
5205      badgeColor
5206      introducedAt
5207    }
5208  }
5209}
5210    `),Pp=new b(`
5211    query LetterTemplateTranslations($id: ID!) {
5212  letterTemplate(id: $id) {
5213    translations {
5214      locale
5215      docUrl
5216    }
5217  }
5218}
5219    `),Ap=new b(`
5220    query MailAccountAccessRowBrokers {
5221  shop {
5222    brokers {
5223      id
5224      name
5225      internalName
5226      archived
5227      sharedInboxBrokerIds
5228      sendingBrokerIds
5229      sendingDepartmentIds
5230    }
5231  }
5232}
5233    `),$p=new b(`
5234    query BrokerSidebarPins {
5235  broker {
5236    sidebarPins {
5237      title
5238      modelId
5239      modelType
5240    }
5241  }
5242}
5243    `),Rp=new b(`
5244    query MessageCounters($brokerIds: [Int!]) {
5245  broker {
5246    messagesCounter(brokerIds: $brokerIds) {
5247      favoritesCount
5248      spamCount
5249      draftsCount
5250      assignedCount
5251      unreadInboxCount
5252      smartFolderCounts
5253    }
5254  }
5255}
5256    `),Dp=new b(`
5257    query GetOrderData {
5258  shop {
5259    name
5260    street
5261    houseNumber
5262    zipCode
5263    city
5264    vatId
5265    logoUrl
5266    email
5267    ceo
5268    vatId
5269  }
5270  broker {
5271    firstName
5272    lastName
5273    email
5274    phone
5275    salutation
5276  }
5277}
5278    `),Np=new b(`
5279    query MediaProperty($id: ID!) {
5280  resource: property(id: $id) {
5281    translatedLocales
5282    receivedViaMls
5283    folders {
5284      ...FolderFields
5285    }
5286    documents {
5287      ...DocumentFields
5288    }
5289    images(includeProjectImages: false) {
5290      ...ImageFields
5291    }
5292    links {
5293      ...LinkFields
5294    }
5295    project {
5296      ...ProjectCounts
5297    }
5298  }
5299  shop {
5300    ...ShopTags
5301  }
5302}
5303    fragment FolderFields on Folder {
5304  id
5305  name
5306  sendable
5307  lpLiveDuration
5308  password
5309  ignoreLpBlocked
5310  parentId
5311  restricted
5312  global
5313  maxFileSize
5314  maxFiles
5315  allowedContentTypes
5316  description
5317  forUpload
5318  isPlaceholder
5319  documentTags
5320  mandatory
5321}
5322fragment DocumentFields on Document {
5323  id
5324  url
5325  title
5326  tags
5327  contentType
5328  fileSize
5329  createdAt
5330  isPrivate
5331  onLandingPage
5332  isExposee
5333  isFloorplan
5334  aiTagClassificationPending
5335  folderId
5336  connectionIds
5337  uploadedByClient {
5338    name
5339  }
5340  documentExtractions {
5341    id
5342    categoryKey
5343    status
5344    confidenceScore
5345    extractedData
5346    finalData
5347    category
5348  }
5349  bequest
5350}
5351fragment ImageFields on Image {
5352  id
5353  title
5354  titleDe
5355  titleEn
5356  titleEs
5357  titleFr
5358  titleRu
5359  titleIt
5360  titleHu
5361  photoUrl
5362  tags
5363  bequest
5364  token
5365  photoUrlThumb: photoUrl(version: "thumb")
5366  position
5367  disableWatermarking
5368  isPrivate
5369  isFloorplan
5370  isNotForExposee
5371  connectionIds
5372  aiOriginalImageId
5373  aiOperation
5374  aiEditOperation
5375  aiRoomType
5376  aiDesignStyle
5377  aiTitleStatus
5378  aiTitle
5379  aiTitleGeneratedAt
5380}
5381fragment LinkFields on Link {
5382  id
5383  url
5384  title
5385  updatedAt
5386  isPrivate
5387  onLandingPage
5388  isEmbedable
5389  pinned
5390  tags
5391  connectionIds
5392  variableName
5393}
5394fragment ProjectCounts on Project {
5395  imagesCount(bequestable: true)
5396  documentsCount(bequestable: true)
5397  linksCount
5398}
5399fragment ShopTags on Shop {
5400  imageTags
5401  documentTags
5402  linkTags
5403  links {
5404    ...LinkFields
5405  }
5406}`),Op=new b(`
5407    query MediaProject($id: Int!) {
5408  resource: project(id: $id) {
5409    translatedLocales
5410    folders {
5411      ...FolderFields
5412    }
5413    documents {
5414      ...DocumentFields
5415    }
5416    images {
5417      ...ImageFields
5418    }
5419    links {
5420      ...LinkFields
5421    }
5422  }
5423  shop {
5424    ...ShopTags
5425  }
5426}
5427    fragment FolderFields on Folder {
5428  id
5429  name
5430  sendable
5431  lpLiveDuration
5432  password
5433  ignoreLpBlocked
5434  parentId
5435  restricted
5436  global
5437  maxFileSize
5438  maxFiles
5439  allowedContentTypes
5440  description
5441  forUpload
5442  isPlaceholder
5443  documentTags
5444  mandatory
5445}
5446fragment DocumentFields on Document {
5447  id
5448  url
5449  title
5450  tags
5451  contentType
5452  fileSize
5453  createdAt
5454  isPrivate
5455  onLandingPage
5456  isExposee
5457  isFloorplan
5458  aiTagClassificationPending
5459  folderId
5460  connectionIds
5461  uploadedByClient {
5462    name
5463  }
5464  documentExtractions {
5465    id
5466    categoryKey
5467    status
5468    confidenceScore
5469    extractedData
5470    finalData
5471    category
5472  }
5473  bequest
5474}
5475fragment ImageFields on Image {
5476  id
5477  title
5478  titleDe
5479  titleEn
5480  titleEs
5481  titleFr
5482  titleRu
5483  titleIt
5484  titleHu
5485  photoUrl
5486  tags
5487  bequest
5488  token
5489  photoUrlThumb: photoUrl(version: "thumb")
5490  position
5491  disableWatermarking
5492  isPrivate
5493  isFloorplan
5494  isNotForExposee
5495  connectionIds
5496  aiOriginalImageId
5497  aiOperation
5498  aiEditOperation
5499  aiRoomType
5500  aiDesignStyle
5501  aiTitleStatus
5502  aiTitle
5503  aiTitleGeneratedAt
5504}
5505fragment LinkFields on Link {
5506  id
5507  url
5508  title
5509  updatedAt
5510  isPrivate
5511  onLandingPage
5512  isEmbedable
5513  pinned
5514  tags
5515  connectionIds
5516  variableName
5517}
5518fragment ShopTags on Shop {
5519  imageTags
5520  documentTags
5521  linkTags
5522  links {
5523    ...LinkFields
5524  }
5525}`),Ep=new b(`
5526    query MediaClient($id: ID!) {
5527  resource: client(id: $id) {
5528    folders {
5529      ...FolderFields
5530    }
5531    documents {
5532      ...DocumentFields
5533    }
5534  }
5535  shop {
5536    ...ShopTags
5537  }
5538}
5539    fragment FolderFields on Folder {
5540  id
5541  name
5542  sendable
5543  lpLiveDuration
5544  password
5545  ignoreLpBlocked
5546  parentId
5547  restricted
5548  global
5549  maxFileSize
5550  maxFiles
5551  allowedContentTypes
5552  description
5553  forUpload
5554  isPlaceholder
5555  documentTags
5556  mandatory
5557}
5558fragment DocumentFields on Document {
5559  id
5560  url
5561  title
5562  tags
5563  contentType
5564  fileSize
5565  createdAt
5566  isPrivate
5567  onLandingPage
5568  isExposee
5569  isFloorplan
5570  aiTagClassificationPending
5571  folderId
5572  connectionIds
5573  uploadedByClient {
5574    name
5575  }
5576  documentExtractions {
5577    id
5578    categoryKey
5579    status
5580    confidenceScore
5581    extractedData
5582    finalData
5583    category
5584  }
5585  bequest
5586}
5587fragment LinkFields on Link {
5588  id
5589  url
5590  title
5591  updatedAt
5592  isPrivate
5593  onLandingPage
5594  isEmbedable
5595  pinned
5596  tags
5597  connectionIds
5598  variableName
5599}
5600fragment ShopTags on Shop {
5601  imageTags
5602  documentTags
5603  linkTags
5604  links {
5605    ...LinkFields
5606  }
5607}`),Mp=new b(`
5608    query MediaPropertyFolders($id: ID!) {
5609  resource: property(id: $id) {
5610    folders {
5611      ...FolderFields
5612    }
5613  }
5614}
5615    fragment FolderFields on Folder {
5616  id
5617  name
5618  sendable
5619  lpLiveDuration
5620  password
5621  ignoreLpBlocked
5622  parentId
5623  restricted
5624  global
5625  maxFileSize
5626  maxFiles
5627  allowedContentTypes
5628  description
5629  forUpload
5630  isPlaceholder
5631  documentTags
5632  mandatory
5633}`),Vp=new b(`
5634    query MediaProjectFolders($id: Int!) {
5635  resource: project(id: $id) {
5636    folders {
5637      ...FolderFields
5638    }
5639  }
5640}
5641    fragment FolderFields on Folder {
5642  id
5643  name
5644  sendable
5645  lpLiveDuration
5646  password
5647  ignoreLpBlocked
5648  parentId
5649  restricted
5650  global
5651  maxFileSize
5652  maxFiles
5653  allowedContentTypes
5654  description
5655  forUpload
5656  isPlaceholder
5657  documentTags
5658  mandatory
5659}`),Lp=new b(`
5660    query MediaClientFolders($id: ID!) {
5661  resource: client(id: $id) {
5662    folders {
5663      ...FolderFields
5664    }
5665  }
5666}
5667    fragment FolderFields on Folder {
5668  id
5669  name
5670  sendable
5671  lpLiveDuration
5672  password
5673  ignoreLpBlocked
5674  parentId
5675  restricted
5676  global
5677  maxFileSize
5678  maxFiles
5679  allowedContentTypes
5680  description
5681  forUpload
5682  isPlaceholder
5683  documentTags
5684  mandatory
5685}`),Bp=new b(`
5686    query MediaImage($imageId: Int!) {
5687  image(id: $imageId) {
5688    ...ImageFields
5689  }
5690}
5691    fragment ImageFields on Image {
5692  id
5693  title
5694  titleDe
5695  titleEn
5696  titleEs
5697  titleFr
5698  titleRu
5699  titleIt
5700  titleHu
5701  photoUrl
5702  tags
5703  bequest
5704  token
5705  photoUrlThumb: photoUrl(version: "thumb")
5706  position
5707  disableWatermarking
5708  isPrivate
5709  isFloorplan
5710  isNotForExposee
5711  connectionIds
5712  aiOriginalImageId
5713  aiOperation
5714  aiEditOperation
5715  aiRoomType
5716  aiDesignStyle
5717  aiTitleStatus
5718  aiTitle
5719  aiTitleGeneratedAt
5720}`),Up=new b(`
5721    query MessageMarkedAsRead($id: ID!, $markAsRead: Boolean!) {
5722  message(id: $id, markAsRead: $markAsRead) {
5723    id
5724    createdAt
5725    oldCrmExternalId
5726    sendAt
5727    from {
5728      name
5729      email
5730    }
5731    to {
5732      name
5733      email
5734    }
5735    cc {
5736      name
5737      email
5738    }
5739    bcc {
5740      name
5741      email
5742    }
5743    referencedClient {
5744      id
5745      name
5746      email
5747      path
5748    }
5749    subject
5750    body
5751    messageCategory {
5752      id
5753      name
5754      color
5755    }
5756    clientSource {
5757      id
5758      name
5759    }
5760    broker {
5761      id
5762      name
5763      color
5764    }
5765    brokerId
5766    sharedBrokerIds
5767    groupIds
5768    outgoing
5769    lpBlocked
5770    accessBrokerIds
5771    accessDepartmentIds
5772    archived
5773    read
5774    star
5775    spam
5776    deletedAt
5777    clients {
5778      id
5779      name
5780      path
5781      emails
5782      phone
5783      warningNotice
5784      intlPhone
5785      companyWithFallback
5786    }
5787    properties {
5788      ...MessageProperty
5789    }
5790    projects {
5791      id
5792      name
5793      path
5794    }
5795    messageAttachments {
5796      id
5797      name
5798      url
5799      contentType
5800    }
5801    fromImmoValuation
5802    icsEventData
5803    externalInviteEventId
5804    msMeetingMessageType
5805    inviteEvent {
5806      id
5807      title
5808      location
5809      startsAt
5810      endsAt
5811      previousStartsAt
5812      previousEndsAt
5813      allDay
5814      recurring
5815      originalDate
5816      rsvpStatus
5817      participants {
5818        name
5819        email
5820        status
5821      }
5822    }
5823    previousActivity {
5824      id
5825      name
5826      type
5827    }
5828    nextActivities {
5829      id
5830      name
5831      type
5832    }
5833    watcherBrokerIds
5834    possiblySpoofing
5835  }
5836}
5837    fragment MessageProperty on Property {
5838  id
5839  name
5840  marketingType
5841  marketingTypeLabel
5842  marketingPrice
5843  categoryLabel
5844  rsTypeLabel
5845  zipCode
5846  city
5847  region
5848  country
5849  numberOfRooms
5850  livingSpace
5851  plotArea
5852  industrialArea
5853  constructionYear
5854  price
5855  valuationPrice
5856  valuationPriceFrom
5857  valuationPriceTo
5858  baseRent
5859  currency
5860  titleImageUrl
5861  path
5862}`),qp=new b(`
5863    query MessageDetailClients($messageId: ID!) {
5864  message(id: $messageId) {
5865    clients {
5866      id
5867      name
5868      path
5869      emails
5870      companyWithFallback
5871    }
5872  }
5873}
5874    `),xp=new b(`
5875    mutation UpdateMessageLinks($messageId: Int!, $clientIds: [Int!] = [], $propertyIds: [Int!] = [], $projectIds: [Int!] = []) {
5876  updateMessageLinks(
5877    input: {messageId: $messageId, clientIds: $clientIds, propertyIds: $propertyIds, projectIds: $projectIds}
5878  ) {
5879    message {
5880      clients {
5881        id
5882        name
5883        path
5884        emails
5885        companyWithFallback
5886      }
5887      properties {
5888        ...MessageProperty
5889      }
5890      projects {
5891        id
5892        name
5893        path
5894      }
5895    }
5896  }
5897}
5898    fragment MessageProperty on Property {
5899  id
5900  name
5901  marketingType
5902  marketingTypeLabel
5903  marketingPrice
5904  categoryLabel
5905  rsTypeLabel
5906  zipCode
5907  city
5908  region
5909  country
5910  numberOfRooms
5911  livingSpace
5912  plotArea
5913  industrialArea
5914  constructionYear
5915  price
5916  valuationPrice
5917  valuationPriceFrom
5918  valuationPriceTo
5919  baseRent
5920  currency
5921  titleImageUrl
5922  path
5923}`),zp=new b(`
5924    query PortalFieldOverrides($id: Int!) {
5925  portal(id: $id) {
5926    id
5927    name
5928    apiDefinition
5929    fieldOverrides {
5930      field
5931      formula
5932      type
5933    }
5934  }
5935}
5936    `),Gp=new b(`
5937    query PipelinesDealStages {
5938  shop {
5939    dealPipelines {
5940      ...DealPipelinesFragment
5941    }
5942  }
5943}
5944    fragment DealStagesFragment on DealStage {
5945  id
5946  name
5947  publicName
5948  title
5949  chance
5950  color
5951  maxAllowance
5952  excludedBrokerIds
5953  nextPropertyStatusId
5954  addPropertyGroupIds
5955  subPropertyGroupIds
5956  nextClientStatusId
5957  addClientGroupIds
5958  subClientGroupIds
5959  nextClientReasonId
5960  transferOfferPriceToProperty
5961  viewonly
5962  dealPipelineId
5963  clientReasonIdExplicitlySet
5964  translations {
5965    id
5966    locale
5967    name
5968    publicName
5969  }
5970  recipes {
5971    id
5972    actionType
5973    actionOptions
5974  }
5975}
5976fragment DealPipelinesFragment on DealPipeline {
5977  id
5978  name
5979  translations {
5980    name
5981    id
5982    locale
5983  }
5984  brokerIds
5985  departmentIds
5986  excludedClientStatusIds
5987  excludedClientGroupIds
5988  displayedKeyFigures
5989  exclusiveDealStageIds
5990  dealStages {
5991    ...DealStagesFragment
5992  }
5993}`),jp=new b(`
5994    query Pipelines {
5995  shop {
5996    dealPipelines {
5997      ...DealPipelinesFragment
5998    }
5999  }
6000}
6001    fragment DealStagesFragment on DealStage {
6002  id
6003  name
6004  publicName
6005  title
6006  chance
6007  color
6008  maxAllowance
6009  excludedBrokerIds
6010  nextPropertyStatusId
6011  addPropertyGroupIds
6012  subPropertyGroupIds
6013  nextClientStatusId
6014  addClientGroupIds
6015  subClientGroupIds
6016  nextClientReasonId
6017  transferOfferPriceToProperty
6018  viewonly
6019  dealPipelineId
6020  clientReasonIdExplicitlySet
6021  translations {
6022    id
6023    locale
6024    name
6025    publicName
6026  }
6027  recipes {
6028    id
6029    actionType
6030    actionOptions
6031  }
6032}
6033fragment DealPipelinesFragment on DealPipeline {
6034  id
6035  name
6036  translations {
6037    name
6038    id
6039    locale
6040  }
6041  brokerIds
6042  departmentIds
6043  excludedClientStatusIds
6044  excludedClientGroupIds
6045  displayedKeyFigures
6046  exclusiveDealStageIds
6047  dealStages {
6048    ...DealStagesFragment
6049  }
6050}`),Hp=new b(`
6051    query SinglePipeline($id: Int!) {
6052  shop {
6053    dealPipeline(id: $id) {
6054      ...DealPipelinesFragment
6055    }
6056  }
6057}
6058    fragment DealStagesFragment on DealStage {
6059  id
6060  name
6061  publicName
6062  title
6063  chance
6064  color
6065  maxAllowance
6066  excludedBrokerIds
6067  nextPropertyStatusId
6068  addPropertyGroupIds
6069  subPropertyGroupIds
6070  nextClientStatusId
6071  addClientGroupIds
6072  subClientGroupIds
6073  nextClientReasonId
6074  transferOfferPriceToProperty
6075  viewonly
6076  dealPipelineId
6077  clientReasonIdExplicitlySet
6078  translations {
6079    id
6080    locale
6081    name
6082    publicName
6083  }
6084  recipes {
6085    id
6086    actionType
6087    actionOptions
6088  }
6089}
6090fragment DealPipelinesFragment on DealPipeline {
6091  id
6092  name
6093  translations {
6094    name
6095    id
6096    locale
6097  }
6098  brokerIds
6099  departmentIds
6100  excludedClientStatusIds
6101  excludedClientGroupIds
6102  displayedKeyFigures
6103  exclusiveDealStageIds
6104  dealStages {
6105    ...DealStagesFragment
6106  }
6107}`),Wp=new b(`
6108    query LocalHeroAvailable($id: Int!) {
6109  localHeroAvailable(propertyId: $id) {
6110    generally
6111    currentlyBooked
6112  }
6113}
6114    `),Kp=new b(`
6115    query Project($id: Int!) {
6116  project(id: $id) {
6117    id
6118    name
6119    brokerId
6120    warningNotice
6121    status
6122    createdAt
6123    updatedAt
6124    editableByCurrentBroker
6125    translatedLocales
6126    titleImageUrl
6127    propertiesCount
6128    forRent
6129    archived
6130    landingPagePublished
6131    slug
6132    lpCustomDomain
6133    lpFallbackBaseUrl
6134    lpShareUrl
6135    customColumnsForUnitsTable
6136    customColumnsForUnitsPrintTable
6137    links {
6138      id
6139      title
6140      url
6141      pinned
6142    }
6143    reportSettings
6144    oldCrmId
6145    writeDepartmentIds
6146    writeBrokerIds
6147  }
6148}
6149    `),Yp=new b(`
6150    query AllProjects($status: [ProjectStatusEnum!], $sortBy: String!, $order: Order!, $query: String, $per: Int!, $page: Int!, $archived: Boolean) {
6151  projects(
6152    status: $status
6153    sortBy: $sortBy
6154    order: $order
6155    q: $query
6156    per: $per
6157    page: $page
6158    archived: $archived
6159  ) {
6160    totalCount
6161    nodes {
6162      id
6163      name
6164      address
6165      propertiesCount
6166      writeBrokerIds
6167      readBrokerIds
6168      status
6169      archived
6170      forRent
6171      createdAt
6172      updatedAt
6173      titleImage {
6174        photoUrl(version: "thumb")
6175      }
6176      team {
6177        id
6178        name
6179      }
6180      owners {
6181        id
6182        lastName
6183      }
6184      location {
6185        id
6186        name
6187      }
6188    }
6189  }
6190}
6191    `),Qp=new b(`
6192    query ProjectForm($id: Int!) {
6193  project(id: $id) {
6194    id
6195    ...ProjectFormFieldsFragment
6196  }
6197}
6198    fragment ProjectFormFieldsFragment on Project {
6199  street
6200  houseNumber
6201  zipCode
6202  city
6203  region
6204  country
6205  name
6206  status
6207  note
6208  warningNotice
6209  brokerId
6210  readBrokerIds
6211  writeBrokerIds
6212  departmentIds
6213  writeDepartmentIds
6214  teamId
6215  title
6216  subHeadline
6217  tagline
6218  lpPropertyListColumns
6219  forRent
6220  showUnitsOnLandingPage
6221  enableLinkingToUnitsLp
6222  landingPageBlocked
6223  logoUrl
6224  scoutId
6225  inquiryDepartmentId
6226  lat
6227  lng
6228  locationId
6229  hideAddress
6230  cadastralDistrict
6231  plotNumber
6232  district
6233  courtage
6234  courtageNote
6235  descriptionNote
6236  locationNote
6237  furnishingNote
6238  longDescriptionNote
6239  longLocationNote
6240  longFurnishingNote
6241  energyCertificateAvailability
6242  energyCertificateCreationDate
6243  energyCertificateStartDate
6244  energyCertificateEndDate
6245  buildingEnergyRatingType
6246  energyEfficiencyClass
6247  energyEfficiencyValue
6248  thermalCharacteristicElectricity
6249  thermalCharacteristicHeating
6250  coEmission
6251  energyConsumptionContainsWarmWater
6252  heatingType
6253  firingTypes
6254  constructionYear
6255  equipmentTechnologyConstructionYear
6256  constructionYearUnknown
6257  autHwb
6258  autHwbClass
6259  autFgee
6260  autFgeeClass
6261  customFields
6262  translations {
6263    locale
6264    courtage
6265    courtageNote
6266    subHeadline
6267    tagline
6268    title
6269    descriptionNote
6270    locationNote
6271    furnishingNote
6272    longDescriptionNote
6273    longLocationNote
6274    longFurnishingNote
6275  }
6276  relationships {
6277    id
6278    name
6279    internalName
6280    relatedClientId
6281    relatedClient {
6282      id
6283      name
6284      email
6285      phone
6286      path
6287    }
6288  }
6289  publishings {
6290    id
6291    portalId
6292    publishDate
6293    postUrl
6294    scoutTicketUrl
6295    externalId
6296  }
6297}`),Zp=new b(`
6298    mutation BuildProject($input: BuildProjectInput!) {
6299  buildProject(input: $input) {
6300    project {
6301      ...ProjectFormFieldsFragment
6302    }
6303  }
6304}
6305    fragment ProjectFormFieldsFragment on Project {
6306  street
6307  houseNumber
6308  zipCode
6309  city
6310  region
6311  country
6312  name
6313  status
6314  note
6315  warningNotice
6316  brokerId
6317  readBrokerIds
6318  writeBrokerIds
6319  departmentIds
6320  writeDepartmentIds
6321  teamId
6322  title
6323  subHeadline
6324  tagline
6325  lpPropertyListColumns
6326  forRent
6327  showUnitsOnLandingPage
6328  enableLinkingToUnitsLp
6329  landingPageBlocked
6330  logoUrl
6331  scoutId
6332  inquiryDepartmentId
6333  lat
6334  lng
6335  locationId
6336  hideAddress
6337  cadastralDistrict
6338  plotNumber
6339  district
6340  courtage
6341  courtageNote
6342  descriptionNote
6343  locationNote
6344  furnishingNote
6345  longDescriptionNote
6346  longLocationNote
6347  longFurnishingNote
6348  energyCertificateAvailability
6349  energyCertificateCreationDate
6350  energyCertificateStartDate
6351  energyCertificateEndDate
6352  buildingEnergyRatingType
6353  energyEfficiencyClass
6354  energyEfficiencyValue
6355  thermalCharacteristicElectricity
6356  thermalCharacteristicHeating
6357  coEmission
6358  energyConsumptionContainsWarmWater
6359  heatingType
6360  firingTypes
6361  constructionYear
6362  equipmentTechnologyConstructionYear
6363  constructionYearUnknown
6364  autHwb
6365  autHwbClass
6366  autFgee
6367  autFgeeClass
6368  customFields
6369  translations {
6370    locale
6371    courtage
6372    courtageNote
6373    subHeadline
6374    tagline
6375    title
6376    descriptionNote
6377    locationNote
6378    furnishingNote
6379    longDescriptionNote
6380    longLocationNote
6381    longFurnishingNote
6382  }
6383  relationships {
6384    id
6385    name
6386    internalName
6387    relatedClientId
6388    relatedClient {
6389      id
6390      name
6391      email
6392      phone
6393      path
6394    }
6395  }
6396  publishings {
6397    id
6398    portalId
6399    publishDate
6400    postUrl
6401    scoutTicketUrl
6402    externalId
6403  }
6404}`),Jp=new b(`
6405    query AllProjectsList($status: [ProjectStatusEnum!], $sortBy: String, $order: Order, $q: String, $per: Int, $page: Int, $archived: Boolean) {
6406  projects(
6407    status: $status
6408    sortBy: $sortBy
6409    order: $order
6410    q: $q
6411    per: $per
6412    page: $page
6413    archived: $archived
6414  ) {
6415    totalCount
6416    nodes {
6417      id
6418      name
6419      address
6420      propertiesCount
6421      writeBrokerIds
6422      readBrokerIds
6423      status
6424      archived
6425      forRent
6426      createdAt
6427      updatedAt
6428      titleImage {
6429        photoUrl(version: "thumb")
6430      }
6431      team {
6432        id
6433        name
6434      }
6435      owners {
6436        id
6437        lastName
6438      }
6439      location {
6440        id
6441        name
6442      }
6443    }
6444  }
6445}
6446    `),Xp=new b(`
6447    query DefaultProjectColumns {
6448  shop {
6449    customColumnPresetForProjects
6450  }
6451}
6452    `),em=new b(`
6453    query DefaultPropertyColumns {
6454  shop {
6455    customColumnPresetForProperties
6456  }
6457}
6458    `),tm=new b(`
6459    query PropertyTrash($page: Int!, $per: Int!) {
6460  propertyTrash(page: $page, per: $per) {
6461    totalCount
6462    nodes {
6463      id
6464      titleImageUrl
6465      name
6466      address
6467      deletedAt
6468    }
6469  }
6470}
6471    `),nm=new b(`
6472    query Property($id: ID!, $includeInvoiceSummary: Boolean!) {
6473  property(id: $id) {
6474    id
6475    exposeeId
6476    unitId
6477    name
6478    groupIds
6479    brokerId
6480    brokerIds
6481    departmentIds
6482    creatorId
6483    updaterId
6484    createdAt
6485    updatedAt
6486    projectId
6487    propertyStatusId
6488    titleImageUrl
6489    warningNotice
6490    systemWarningNotice
6491    title
6492    descriptionNote
6493    locationNote
6494    furnishingNote
6495    otherNote
6496    is24ExportError
6497    otherExportError
6498    marketingPrice
6499    archived
6500    published
6501    links {
6502      id
6503      title
6504      url
6505      pinned
6506    }
6507    priceChanges {
6508      priceWas
6509      price
6510      brokerId
6511      createdAt
6512      goneUp
6513    }
6514    currency
6515    valuatable
6516    partnerShareUrl
6517    lpShareUrl
6518    oldCrmId
6519    marketingTypeLabel
6520    rsType
6521    rsTypeLabel
6522    categoryLabel
6523    translatedLocales
6524    marketingType
6525    livingSpace
6526    price
6527    baseRent
6528    numberOfRooms
6529    groupIds
6530    dealAggregations {
6531      dealStageId
6532      count
6533    }
6534    universalLink {
6535      title
6536      url
6537    }
6538    receivedViaMls
6539    originalMlsBroker {
6540      name
6541      email
6542      companyName
6543      salutation
6544      cell
6545      phone
6546    }
6547    originalMlsBrokerClientId
6548    durationUntil
6549    durationFrom
6550    marketingStartDate
6551    forked {
6552      id
6553      name
6554      archived
6555    }
6556    parentProperty {
6557      id
6558      name
6559      archived
6560    }
6561    childrenCount
6562    forks {
6563      id
6564      name
6565      published
6566      titleImageUrl
6567      archived
6568      createdAt
6569    }
6570    lat
6571    lng
6572    scoutId
6573    areaUnit
6574    locked
6575    numberOfFloors
6576    invoiceSummary @include(if: $includeInvoiceSummary)
6577  }
6578}
6579    `),im=new b(`
6580    query PropertyExport($resourceId: ID!) {
6581  property(id: $resourceId) {
6582    published
6583    scoutId
6584    is24ExportError
6585    otherExportError
6586  }
6587}
6588    `),rm=new b(`
6589    query UnitDetail($id: ID!) {
6590  property(id: $id) {
6591    id
6592    unitId
6593    name
6594    title
6595    floor
6596    floorLabel
6597    rsType
6598    rsTypeLabel
6599    rsCategory
6600    marketingType
6601    marketingTypeLabel
6602    propertyStatusId
6603    shortAddress
6604    address
6605    numberOfRooms
6606    propertySpaceValue
6607    propertySpaceMinValue
6608    propertyRentPerSqmFromValue
6609    propertyAdditionalCostsPerSqmFromValue
6610    baseRent
6611    price
6612    rented
6613  }
6614}
6615    `),am=new b(`
6616    query PropertyDocsModalClient($id: ID!) {
6617  client(id: $id) {
6618    name
6619    documents(sendable: true) {
6620      id
6621      url
6622      title
6623      tags
6624      contentType
6625      fileSize
6626      createdAt
6627      folderId
6628      isPrivate
6629      onLandingPage
6630      isExposee
6631      isFloorplan
6632    }
6633  }
6634}
6635    `),om=new b(`
6636    query PropertyDocsModalProject($id: Int!) {
6637  project(id: $id) {
6638    name
6639    documents(sendable: true) {
6640      id
6641      url
6642      title
6643      tags
6644      contentType
6645      fileSize
6646      createdAt
6647      folderId
6648      isPrivate
6649      onLandingPage
6650      isExposee
6651      isFloorplan
6652    }
6653  }
6654}
6655    `),sm=new b(`
6656    query PropertyDocsModalProperty($id: ID!) {
6657  property(id: $id) {
6658    name
6659    documents(sendable: true) {
6660      id
6661      url
6662      title
6663      tags
6664      contentType
6665      fileSize
6666      createdAt
6667      folderId
6668      isPrivate
6669      onLandingPage
6670      isExposee
6671      isFloorplan
6672    }
6673  }
6674}
6675    `),lm=new b(`
6676    query DealAlertDealStages($dealStageIds: [Int!]!) {
6677  shop {
6678    dealStages(ids: $dealStageIds) {
6679      id
6680      chance
6681    }
6682  }
6683}
6684    `),dm=new b(`
6685    query DealAlerts($dealAlertIds: [ID!]!) {
6686  dealAlerts(ids: $dealAlertIds) {
6687    id
6688    shopId
6689    clientPropertyId
6690    dataQualityAssistantId
6691    data
6692    createdAt
6693    updatedAt
6694  }
6695}
6696    `),cm=new b(`
6697    query PropertyForm($id: ID!) {
6698  property(id: $id) {
6699    id
6700    updatedAt
6701    ...PropertyFormFields
6702  }
6703}
6704    fragment ValidPropertyFormFields on Property {
6705  brokerId
6706  brokerIds
6707  departmentIds
6708  projectId
6709  teamId
6710  groupIds
6711  propertyStatusId
6712  unitId
6713  exposeeId
6714  targetGroup
6715  note
6716  warningNotice
6717  systemWarningNotice
6718  archived
6719  scoutContactId
6720  scoutId
6721  scoutGroupNumber
6722  inquiryDepartmentId
6723  lat
6724  lng
6725  locationId
6726  hideAddress
6727  cadastralDistrict
6728  plotNumber
6729  roadAccess
6730  roadAccessType
6731  district
6732  courtage
6733  internalBrokerage
6734  courtageNote
6735  commissionPassThrough
6736  totalCommission
6737  internalCommission
6738  internalCommissionPercentage
6739  externalCommission
6740  externalCommissionPercentage
6741  title
6742  descriptionNote
6743  shortNote
6744  locationNote
6745  furnishingNote
6746  otherNote
6747  longDescriptionNote
6748  longLocationNote
6749  longFurnishingNote
6750  longOtherNote
6751  distanceToPt
6752  distanceToFm
6753  distanceToMrs
6754  distanceToAirport
6755  distanceToPtLength
6756  distanceToFmLength
6757  distanceToMrsLength
6758  distanceToAirportLength
6759  livingSpace
6760  totalFloorSpace
6761  plotArea
6762  numberOfRooms
6763  numberOfBedRooms
6764  numberOfBathRooms
6765  floor
6766  numberOfFloors
6767  floorPosition
6768  usableFloorSpace
6769  netFloorSpace
6770  cellarSpace
6771  balconySpace
6772  gardenSpace
6773  minDivisible
6774  buildingSpace
6775  buildingPart
6776  officeSpace
6777  officeSpaceMin
6778  officeSpaceTotal
6779  officeRentPerSqmFrom
6780  officeRentPerSqmTo
6781  officeAdditionalCostsPerSqmFrom
6782  officeAdditionalCostsPerSqmTo
6783  retailSpace
6784  retailSpaceMin
6785  retailSpaceTotal
6786  retailRentPerSqmFrom
6787  retailRentPerSqmTo
6788  retailAdditionalCostsPerSqmFrom
6789  retailAdditionalCostsPerSqmTo
6790  gastroSpace
6791  gastroSpaceMin
6792  gastroSpaceTotal
6793  gastroRentPerSqmFrom
6794  gastroRentPerSqmTo
6795  gastroAdditionalCostsPerSqmFrom
6796  gastroAdditionalCostsPerSqmTo
6797  storageSpace
6798  storageSpaceMin
6799  storageSpaceTotal
6800  storageRentPerSqmFrom
6801  storageRentPerSqmTo
6802  storageAdditionalCostsPerSqmFrom
6803  storageAdditionalCostsPerSqmTo
6804  mezzanineSpace
6805  mezzanineSpaceMin
6806  mezzanineSpaceTotal
6807  mezzanineRentPerSqmFrom
6808  mezzanineRentPerSqmTo
6809  openSpace
6810  openSpaceMin
6811  openSpaceTotal
6812  openRentPerSqmFrom
6813  openRentPerSqmTo
6814  serviceSpace
6815  serviceSpaceMin
6816  serviceSpaceTotal
6817  serviceRentPerSqmFrom
6818  serviceRentPerSqmTo
6819  archiveSpace
6820  archiveSpaceMin
6821  archiveSpaceTotal
6822  archiveSpaceRentPerSqmFrom
6823  archiveSpaceRentPerSqmTo
6824  numberOfBalconies
6825  numberOfTerraces
6826  cubature
6827  numberSeats
6828  lodgerFlat
6829  price
6830  parkingSpacePrice
6831  priceOnInquiry
6832  forBidding
6833  baseRent
6834  totalRent
6835  heatingCosts
6836  serviceCharge
6837  heatingCostsInServiceCharge
6838  rentSubsidy
6839  otherCosts
6840  maintenanceReserve
6841  vat
6842  plusVat
6843  priceType
6844  currency
6845  areaUnit
6846  rented
6847  freeFrom
6848  freeUntil
6849  parkingSpacesTotal
6850  numberOfParkingSpaces
6851  numberOfEvCharging
6852  parkingSpaceTypes
6853  truckParkingSpacesTotal
6854  numberOfTruckParkingSpaces
6855  truckParkingSpacePrice
6856  condition
6857  interiorQuality
6858  lastRefurbishment
6859  tenancy
6860  commercializationType
6861  shortTermConstructible
6862  utilizationTradeSite
6863  recommendedUseTypes
6864  siteDevelopmentType
6865  siteConstructibleType
6866  grz
6867  gfz
6868  bgf
6869  bmz
6870  buildingPermission
6871  preliminaryEnquiry
6872  demolition
6873  constructionPhase
6874  widthGarage
6875  heightGarage
6876  lengthGarage
6877  pricePerSqm
6878  customPricePerSqm
6879  numberOfApartments
6880  numberOfCommercials
6881  numberOfUnits
6882  rentalIncome
6883  rentalIncomeTarget
6884  rentalIncomeActual
6885  priceMultiplierTarget
6886  priceMultiplier
6887  yieldTarget
6888  yieldActual
6889  investmentCategory
6890  purchaseForm
6891  industrialArea
6892  additionalArea
6893  tenantStructure
6894  walt
6895  numberOfSingleRooms
6896  singleRoomsQuota
6897  occupancyRate
6898  numberOfVacancies
6899  conservationAreas
6900  locationClassificationType
6901  shopWindowLength
6902  goodsLift
6903  goodsLiftLoad
6904  floorLoad
6905  supplyType
6906  lanCables
6907  hasCanteen
6908  ramp
6909  autoLift
6910  hallHeight
6911  connectedLoad
6912  craneRunwayLoad
6913  rentDurations
6914  priceIntervalType
6915  startRentalDate
6916  endRentalDate
6917  minRentalTime
6918  maxRentalTime
6919  maxNumberOfPersons
6920  hasFurniture
6921  gender
6922  lift
6923  barrierFree
6924  cellar
6925  guestToilet
6926  builtInKitchen
6927  balcony
6928  loggia
6929  garden
6930  monument
6931  summerResidencePractical
6932  storeroom
6933  chimney
6934  swimmingPool
6935  sauna
6936  alarmSystem
6937  winterGarden
6938  airConditioning
6939  bathroom
6940  flooringType
6941  outsideView
6942  petsAllowed
6943  nonSmoker
6944  certificateOfEligibilityNeeded
6945  flatShareSuitable
6946  energyCertificateAvailability
6947  energyCertificateCreationDate
6948  energyCertificateStartDate
6949  energyCertificateEndDate
6950  buildingEnergyRatingType
6951  energyEfficiencyClass
6952  energyEfficiencyValue
6953  thermalCharacteristicElectricity
6954  thermalCharacteristicHeating
6955  coEmission
6956  co2EmissionRating
6957  energyConsumptionContainsWarmWater
6958  heatingType
6959  firingTypes
6960  constructionYear
6961  energyCertificateConstructionYear
6962  equipmentTechnologyConstructionYear
6963  constructionYearUnknown
6964  autHwb
6965  autHwbClass
6966  autFgee
6967  autFgeeClass
6968  autMainRent
6969  autCadastralCommunity
6970  autBuildingCertificates
6971  primaryOutdoorOrientation
6972  suitableForInvestment
6973  windowShutter
6974  bicycleStorage
6975  laundryRoom
6976  smartHome
6977  conflictOfInterestType
6978  dualAgency
6979  valuationPriceFrom
6980  valuationPriceTo
6981  valuationPrice
6982  soldPrice
6983  realizedRent
6984  soldDate
6985  costBalcony
6986  costLift
6987  costOther
6988  parkingSpaceNumber
6989  apartmentNumber
6990  teId
6991  coOwnershipShare
6992  localCourt
6993  registerNumber
6994  landRegistry
6995  contractType
6996  duration
6997  durationFrom
6998  durationUntil
6999  deposit
7000  renter
7001  customLpAddress
7002  areabutlerLinkWithAddress
7003  areabutlerLinkWithoutAddress
7004  listAllUnitsOnLandingPage
7005  landingPageBlocked
7006  openimmoFirstname
7007  openimmoLastname
7008  openimmoEmail
7009  openimmoPhone
7010  compensationCosts
7011  recurringCosts
7012  recurringCostsNet
7013  recurringCostsVat
7014  recurringCostsVatPercent
7015  heatingCostsNet
7016  heatingCostsVat
7017  heatingCostsVatPercent
7018  serviceChargeNet
7019  serviceChargeVat
7020  serviceChargeVatPercent
7021  otherCostsNet
7022  otherCostsVat
7023  otherCostsVatPercent
7024  priceNet
7025  priceVat
7026  priceVatPercent
7027  baseRentNet
7028  baseRentVat
7029  baseRentVatPercent
7030  totalRentNet
7031  totalRentVat
7032  totalRentVatPercent
7033  otherRentNet
7034  otherRentVat
7035  financialContribution
7036  constructionType
7037  facebookPostDescription
7038  instagramPostDescription
7039  autoPortalExportConnectionIds
7040  marketingStartDate
7041  ukPropertyType
7042  locked
7043  newBuild
7044  rentalContractDurationInMonths
7045  minimumRentalDurationInMonths
7046  rentalContractType
7047  addressLine2
7048  priceQualifier
7049  tenureType
7050  tenureUnexpiredYears
7051  pricePerUnitPerAnnum
7052  sharedOwnership
7053  numberOfReceptionRooms
7054  accessibility
7055  councilTaxBand
7056  outsideSpaceTypes
7057  roomSize
7058  smokingAllowed
7059  flatShareSize
7060  minimumTermOfLease
7061  totalSpace
7062  numberOfMaleFlatMates
7063  numberOfFemaleFlatMates
7064  ageOfFlatMatesFrom
7065  ageOfFlatMatesTo
7066  numberOfRequestedFlatMates
7067  ageOfRequestedFrom
7068  ageOfRequestedTo
7069  oven
7070  refrigerator
7071  stove
7072  dishwasher
7073  bathHasWc
7074  bathHasShower
7075  bathHasTub
7076  washingMachine
7077  internetConnection
7078  tvConnection
7079  telephoneConnection
7080  parkingSituation
7081  trialLivingPossible
7082  careTypes
7083  careLevel
7084  opening
7085  roomType
7086  numberOfBeds
7087  numberOfLookedAfterApartments
7088  numberOfNursingPlaces
7089  livingSpaceFrom
7090  livingSpaceTo
7091  careOfDementia
7092  careOfArtificialRespiration
7093  careOfComaVigil
7094  careOfStroke
7095  careOfParkinson
7096  careOfAlzheimer
7097  careOfMultipleSclerosis
7098  therapyOfferingsAvailable
7099  ownFurniturePossible
7100  guestApartments
7101  restaurant
7102  cookingFacilities
7103  cleaningService
7104  shoppingFacilities
7105  security24Hours
7106  culturalProgram
7107  leisureActivities
7108  religiousOfferings
7109  facilityType
7110  minBaseRent
7111  minPurchasePrice
7112  roomAvailableFrom
7113  roomAvailableTo
7114  cookingPossibility
7115  commonRooms
7116  fitness
7117  ambulantNursingService
7118  emergencyCallInRoom
7119  receptionManned
7120  medicalAssistance
7121  homeHelp
7122  counseling
7123  parking
7124  publicTransportation
7125  loansAvailable
7126  staircase
7127  propertyLayout
7128  inventory
7129  deletionsFromLandRegister
7130  contractFees
7131  landRegistryFees
7132  propertyTransferTax
7133  developmentCosts
7134  maintenanceReserveAmount
7135  loggiaSpace
7136  numberOfLoggia
7137  numberOfToilets
7138  priceVatPercent
7139  marketingMarkerRadius
7140  marketingMarkerLat
7141  marketingMarkerLng
7142}
7143fragment PropertyFormFields on Property {
7144  ...ValidPropertyFormFields
7145  marketingType
7146  objectType
7147  rsType
7148  rsCategory
7149  street
7150  houseNumber
7151  zipCode
7152  city
7153  region
7154  country
7155  buildingName
7156  subCommunity
7157  community
7158  customFields
7159  translations {
7160    locale
7161    courtage
7162    courtageNote
7163    customFields
7164    deposit
7165    freeFrom
7166    title
7167    descriptionNote
7168    shortNote
7169    locationNote
7170    furnishingNote
7171    otherNote
7172    longDescriptionNote
7173    longLocationNote
7174    longFurnishingNote
7175    longOtherNote
7176  }
7177  commissionSplits {
7178    id
7179    name
7180    brokerId
7181    clientId
7182    value
7183    valueType
7184    calculatedValue
7185    splitPosition
7186    date
7187    actor
7188    representing
7189    client {
7190      id
7191      name
7192    }
7193    broker {
7194      name
7195    }
7196  }
7197  relationships {
7198    id
7199    name
7200    internalName
7201    relatedClientId
7202    relatedClient {
7203      id
7204      name
7205      email
7206      path
7207      phone
7208      company
7209    }
7210    project {
7211      id
7212      name
7213    }
7214  }
7215  publishings {
7216    id
7217    portalId
7218    publishDate
7219    postUrl
7220    scoutTicketUrl
7221    externalId
7222  }
7223  localHeroBooking(active: true) {
7224    createdAt
7225    startsAt
7226    endsAt
7227  }
7228  receivedViaMls
7229  childrenCount
7230  aggregationFieldOverrides
7231  parentId
7232  forkId
7233  inheritanceFieldOverrides
7234  aggregatedRsTypes
7235  externalCommission
7236  internalCommission
7237  externalCommissionPercentage
7238  internalCommissionPercentage
7239  totalCommission
7240  newBuild
7241  rentalContractDurationInMonths
7242  minimumRentalDurationInMonths
7243  rentalContractType
7244  addressLine2
7245  priceQualifier
7246  tenureType
7247  tenureUnexpiredYears
7248  pricePerUnitPerAnnum
7249  sharedOwnership
7250  numberOfReceptionRooms
7251  accessibility
7252  councilTaxBand
7253  outsideSpaceTypes
7254}`),um=new b(`
7255    query PropertyRelationships($id: ID!) {
7256  property(id: $id) {
7257    relationships {
7258      name
7259      internalName
7260      relatedClientId
7261      relatedClient {
7262        id
7263        name
7264        email
7265        phone
7266        company
7267      }
7268    }
7269  }
7270}
7271    `),pm=new b(`
7272    query PropertyFormExported($resourceId: ID!) {
7273  property(id: $resourceId) {
7274    publishings {
7275      id
7276      portalId
7277      publishDate
7278    }
7279    scoutId
7280    exposeeId
7281  }
7282}
7283    `),mm=new b(`
7284    mutation BuildPropertyFormProperty($copyPropertyId: Int, $sharedPropertyToken: String, $projectId: Int, $variant: Boolean, $child: Boolean, $childFloor: String, $copyCommissions: Boolean) {
7285  buildProperty(
7286    copyPropertyId: $copyPropertyId
7287    sharedPropertyToken: $sharedPropertyToken
7288    projectId: $projectId
7289    variant: $variant
7290    child: $child
7291    childFloor: $childFloor
7292    copyCommissions: $copyCommissions
7293  ) {
7294    ...PropertyFormFields
7295  }
7296}
7297    fragment ValidPropertyFormFields on Property {
7298  brokerId
7299  brokerIds
7300  departmentIds
7301  projectId
7302  teamId
7303  groupIds
7304  propertyStatusId
7305  unitId
7306  exposeeId
7307  targetGroup
7308  note
7309  warningNotice
7310  systemWarningNotice
7311  archived
7312  scoutContactId
7313  scoutId
7314  scoutGroupNumber
7315  inquiryDepartmentId
7316  lat
7317  lng
7318  locationId
7319  hideAddress
7320  cadastralDistrict
7321  plotNumber
7322  roadAccess
7323  roadAccessType
7324  district
7325  courtage
7326  internalBrokerage
7327  courtageNote
7328  commissionPassThrough
7329  totalCommission
7330  internalCommission
7331  internalCommissionPercentage
7332  externalCommission
7333  externalCommissionPercentage
7334  title
7335  descriptionNote
7336  shortNote
7337  locationNote
7338  furnishingNote
7339  otherNote
7340  longDescriptionNote
7341  longLocationNote
7342  longFurnishingNote
7343  longOtherNote
7344  distanceToPt
7345  distanceToFm
7346  distanceToMrs
7347  distanceToAirport
7348  distanceToPtLength
7349  distanceToFmLength
7350  distanceToMrsLength
7351  distanceToAirportLength
7352  livingSpace
7353  totalFloorSpace
7354  plotArea
7355  numberOfRooms
7356  numberOfBedRooms
7357  numberOfBathRooms
7358  floor
7359  numberOfFloors
7360  floorPosition
7361  usableFloorSpace
7362  netFloorSpace
7363  cellarSpace
7364  balconySpace
7365  gardenSpace
7366  minDivisible
7367  buildingSpace
7368  buildingPart
7369  officeSpace
7370  officeSpaceMin
7371  officeSpaceTotal
7372  officeRentPerSqmFrom
7373  officeRentPerSqmTo
7374  officeAdditionalCostsPerSqmFrom
7375  officeAdditionalCostsPerSqmTo
7376  retailSpace
7377  retailSpaceMin
7378  retailSpaceTotal
7379  retailRentPerSqmFrom
7380  retailRentPerSqmTo
7381  retailAdditionalCostsPerSqmFrom
7382  retailAdditionalCostsPerSqmTo
7383  gastroSpace
7384  gastroSpaceMin
7385  gastroSpaceTotal
7386  gastroRentPerSqmFrom
7387  gastroRentPerSqmTo
7388  gastroAdditionalCostsPerSqmFrom
7389  gastroAdditionalCostsPerSqmTo
7390  storageSpace
7391  storageSpaceMin
7392  storageSpaceTotal
7393  storageRentPerSqmFrom
7394  storageRentPerSqmTo
7395  storageAdditionalCostsPerSqmFrom
7396  storageAdditionalCostsPerSqmTo
7397  mezzanineSpace
7398  mezzanineSpaceMin
7399  mezzanineSpaceTotal
7400  mezzanineRentPerSqmFrom
7401  mezzanineRentPerSqmTo
7402  openSpace
7403  openSpaceMin
7404  openSpaceTotal
7405  openRentPerSqmFrom
7406  openRentPerSqmTo
7407  serviceSpace
7408  serviceSpaceMin
7409  serviceSpaceTotal
7410  serviceRentPerSqmFrom
7411  serviceRentPerSqmTo
7412  archiveSpace
7413  archiveSpaceMin
7414  archiveSpaceTotal
7415  archiveSpaceRentPerSqmFrom
7416  archiveSpaceRentPerSqmTo
7417  numberOfBalconies
7418  numberOfTerraces
7419  cubature
7420  numberSeats
7421  lodgerFlat
7422  price
7423  parkingSpacePrice
7424  priceOnInquiry
7425  forBidding
7426  baseRent
7427  totalRent
7428  heatingCosts
7429  serviceCharge
7430  heatingCostsInServiceCharge
7431  rentSubsidy
7432  otherCosts
7433  maintenanceReserve
7434  vat
7435  plusVat
7436  priceType
7437  currency
7438  areaUnit
7439  rented
7440  freeFrom
7441  freeUntil
7442  parkingSpacesTotal
7443  numberOfParkingSpaces
7444  numberOfEvCharging
7445  parkingSpaceTypes
7446  truckParkingSpacesTotal
7447  numberOfTruckParkingSpaces
7448  truckParkingSpacePrice
7449  condition
7450  interiorQuality
7451  lastRefurbishment
7452  tenancy
7453  commercializationType
7454  shortTermConstructible
7455  utilizationTradeSite
7456  recommendedUseTypes
7457  siteDevelopmentType
7458  siteConstructibleType
7459  grz
7460  gfz
7461  bgf
7462  bmz
7463  buildingPermission
7464  preliminaryEnquiry
7465  demolition
7466  constructionPhase
7467  widthGarage
7468  heightGarage
7469  lengthGarage
7470  pricePerSqm
7471  customPricePerSqm
7472  numberOfApartments
7473  numberOfCommercials
7474  numberOfUnits
7475  rentalIncome
7476  rentalIncomeTarget
7477  rentalIncomeActual
7478  priceMultiplierTarget
7479  priceMultiplier
7480  yieldTarget
7481  yieldActual
7482  investmentCategory
7483  purchaseForm
7484  industrialArea
7485  additionalArea
7486  tenantStructure
7487  walt
7488  numberOfSingleRooms
7489  singleRoomsQuota
7490  occupancyRate
7491  numberOfVacancies
7492  conservationAreas
7493  locationClassificationType
7494  shopWindowLength
7495  goodsLift
7496  goodsLiftLoad
7497  floorLoad
7498  supplyType
7499  lanCables
7500  hasCanteen
7501  ramp
7502  autoLift
7503  hallHeight
7504  connectedLoad
7505  craneRunwayLoad
7506  rentDurations
7507  priceIntervalType
7508  startRentalDate
7509  endRentalDate
7510  minRentalTime
7511  maxRentalTime
7512  maxNumberOfPersons
7513  hasFurniture
7514  gender
7515  lift
7516  barrierFree
7517  cellar
7518  guestToilet
7519  builtInKitchen
7520  balcony
7521  loggia
7522  garden
7523  monument
7524  summerResidencePractical
7525  storeroom
7526  chimney
7527  swimmingPool
7528  sauna
7529  alarmSystem
7530  winterGarden
7531  airConditioning
7532  bathroom
7533  flooringType
7534  outsideView
7535  petsAllowed
7536  nonSmoker
7537  certificateOfEligibilityNeeded
7538  flatShareSuitable
7539  energyCertificateAvailability
7540  energyCertificateCreationDate
7541  energyCertificateStartDate
7542  energyCertificateEndDate
7543  buildingEnergyRatingType
7544  energyEfficiencyClass
7545  energyEfficiencyValue
7546  thermalCharacteristicElectricity
7547  thermalCharacteristicHeating
7548  coEmission
7549  co2EmissionRating
7550  energyConsumptionContainsWarmWater
7551  heatingType
7552  firingTypes
7553  constructionYear
7554  energyCertificateConstructionYear
7555  equipmentTechnologyConstructionYear
7556  constructionYearUnknown
7557  autHwb
7558  autHwbClass
7559  autFgee
7560  autFgeeClass
7561  autMainRent
7562  autCadastralCommunity
7563  autBuildingCertificates
7564  primaryOutdoorOrientation
7565  suitableForInvestment
7566  windowShutter
7567  bicycleStorage
7568  laundryRoom
7569  smartHome
7570  conflictOfInterestType
7571  dualAgency
7572  valuationPriceFrom
7573  valuationPriceTo
7574  valuationPrice
7575  soldPrice
7576  realizedRent
7577  soldDate
7578  costBalcony
7579  costLift
7580  costOther
7581  parkingSpaceNumber
7582  apartmentNumber
7583  teId
7584  coOwnershipShare
7585  localCourt
7586  registerNumber
7587  landRegistry
7588  contractType
7589  duration
7590  durationFrom
7591  durationUntil
7592  deposit
7593  renter
7594  customLpAddress
7595  areabutlerLinkWithAddress
7596  areabutlerLinkWithoutAddress
7597  listAllUnitsOnLandingPage
7598  landingPageBlocked
7599  openimmoFirstname
7600  openimmoLastname
7601  openimmoEmail
7602  openimmoPhone
7603  compensationCosts
7604  recurringCosts
7605  recurringCostsNet
7606  recurringCostsVat
7607  recurringCostsVatPercent
7608  heatingCostsNet
7609  heatingCostsVat
7610  heatingCostsVatPercent
7611  serviceChargeNet
7612  serviceChargeVat
7613  serviceChargeVatPercent
7614  otherCostsNet
7615  otherCostsVat
7616  otherCostsVatPercent
7617  priceNet
7618  priceVat
7619  priceVatPercent
7620  baseRentNet
7621  baseRentVat
7622  baseRentVatPercent
7623  totalRentNet
7624  totalRentVat
7625  totalRentVatPercent
7626  otherRentNet
7627  otherRentVat
7628  financialContribution
7629  constructionType
7630  facebookPostDescription
7631  instagramPostDescription
7632  autoPortalExportConnectionIds
7633  marketingStartDate
7634  ukPropertyType
7635  locked
7636  newBuild
7637  rentalContractDurationInMonths
7638  minimumRentalDurationInMonths
7639  rentalContractType
7640  addressLine2
7641  priceQualifier
7642  tenureType
7643  tenureUnexpiredYears
7644  pricePerUnitPerAnnum
7645  sharedOwnership
7646  numberOfReceptionRooms
7647  accessibility
7648  councilTaxBand
7649  outsideSpaceTypes
7650  roomSize
7651  smokingAllowed
7652  flatShareSize
7653  minimumTermOfLease
7654  totalSpace
7655  numberOfMaleFlatMates
7656  numberOfFemaleFlatMates
7657  ageOfFlatMatesFrom
7658  ageOfFlatMatesTo
7659  numberOfRequestedFlatMates
7660  ageOfRequestedFrom
7661  ageOfRequestedTo
7662  oven
7663  refrigerator
7664  stove
7665  dishwasher
7666  bathHasWc
7667  bathHasShower
7668  bathHasTub
7669  washingMachine
7670  internetConnection
7671  tvConnection
7672  telephoneConnection
7673  parkingSituation
7674  trialLivingPossible
7675  careTypes
7676  careLevel
7677  opening
7678  roomType
7679  numberOfBeds
7680  numberOfLookedAfterApartments
7681  numberOfNursingPlaces
7682  livingSpaceFrom
7683  livingSpaceTo
7684  careOfDementia
7685  careOfArtificialRespiration
7686  careOfComaVigil
7687  careOfStroke
7688  careOfParkinson
7689  careOfAlzheimer
7690  careOfMultipleSclerosis
7691  therapyOfferingsAvailable
7692  ownFurniturePossible
7693  guestApartments
7694  restaurant
7695  cookingFacilities
7696  cleaningService
7697  shoppingFacilities
7698  security24Hours
7699  culturalProgram
7700  leisureActivities
7701  religiousOfferings
7702  facilityType
7703  minBaseRent
7704  minPurchasePrice
7705  roomAvailableFrom
7706  roomAvailableTo
7707  cookingPossibility
7708  commonRooms
7709  fitness
7710  ambulantNursingService
7711  emergencyCallInRoom
7712  receptionManned
7713  medicalAssistance
7714  homeHelp
7715  counseling
7716  parking
7717  publicTransportation
7718  loansAvailable
7719  staircase
7720  propertyLayout
7721  inventory
7722  deletionsFromLandRegister
7723  contractFees
7724  landRegistryFees
7725  propertyTransferTax
7726  developmentCosts
7727  maintenanceReserveAmount
7728  loggiaSpace
7729  numberOfLoggia
7730  numberOfToilets
7731  priceVatPercent
7732  marketingMarkerRadius
7733  marketingMarkerLat
7734  marketingMarkerLng
7735}
7736fragment PropertyFormFields on Property {
7737  ...ValidPropertyFormFields
7738  marketingType
7739  objectType
7740  rsType
7741  rsCategory
7742  street
7743  houseNumber
7744  zipCode
7745  city
7746  region
7747  country
7748  buildingName
7749  subCommunity
7750  community
7751  customFields
7752  translations {
7753    locale
7754    courtage
7755    courtageNote
7756    customFields
7757    deposit
7758    freeFrom
7759    title
7760    descriptionNote
7761    shortNote
7762    locationNote
7763    furnishingNote
7764    otherNote
7765    longDescriptionNote
7766    longLocationNote
7767    longFurnishingNote
7768    longOtherNote
7769  }
7770  commissionSplits {
7771    id
7772    name
7773    brokerId
7774    clientId
7775    value
7776    valueType
7777    calculatedValue
7778    splitPosition
7779    date
7780    actor
7781    representing
7782    client {
7783      id
7784      name
7785    }
7786    broker {
7787      name
7788    }
7789  }
7790  relationships {
7791    id
7792    name
7793    internalName
7794    relatedClientId
7795    relatedClient {
7796      id
7797      name
7798      email
7799      path
7800      phone
7801      company
7802    }
7803    project {
7804      id
7805      name
7806    }
7807  }
7808  publishings {
7809    id
7810    portalId
7811    publishDate
7812    postUrl
7813    scoutTicketUrl
7814    externalId
7815  }
7816  localHeroBooking(active: true) {
7817    createdAt
7818    startsAt
7819    endsAt
7820  }
7821  receivedViaMls
7822  childrenCount
7823  aggregationFieldOverrides
7824  parentId
7825  forkId
7826  inheritanceFieldOverrides
7827  aggregatedRsTypes
7828  externalCommission
7829  internalCommission
7830  externalCommissionPercentage
7831  internalCommissionPercentage
7832  totalCommission
7833  newBuild
7834  rentalContractDurationInMonths
7835  minimumRentalDurationInMonths
7836  rentalContractType
7837  addressLine2
7838  priceQualifier
7839  tenureType
7840  tenureUnexpiredYears
7841  pricePerUnitPerAnnum
7842  sharedOwnership
7843  numberOfReceptionRooms
7844  accessibility
7845  councilTaxBand
7846  outsideSpaceTypes
7847}`),hm=new b(`
7848    mutation CalculatePointOfInterestDistance($input: CalculatePointOfInterestDistanceInput!) {
7849  calculatePointOfInterestDistance(input: $input) {
7850    output
7851  }
7852}
7853    `),fm=new b(`
7854    mutation PropertyFormObjectPlatformPrefill($input: PrefillPropertyWithObjectPlatformInput!) {
7855  prefillPropertyWithObjectPlatform(input: $input) {
7856    query {
7857      zip
7858      city
7859      street
7860      houseNumber
7861      objectType
7862    }
7863    results {
7864      objectType
7865      mappedAttributes
7866      fields {
7867        attributeKey
7868        label
7869        value
7870      }
7871    }
7872  }
7873}
7874    `),gm=new b(`
7875    query PropertyMasterSavedQuery($id: ID!) {
7876  property(id: $id) {
7877    savedQueryAutomation
7878    masterSavedQuery {
7879      id
7880    }
7881  }
7882}
7883    `),ym=new b(`
7884    query PropertyTemplateSavedQuery($id: ID!) {
7885  property(id: $id) {
7886    suggestedSavedQuery {
7887      cities
7888      locationIds
7889      marketingType
7890      rsTypeCategories {
7891        rsType
7892        rsCategory
7893      }
7894      priceTo
7895      baseRentTo
7896      livingSpace
7897      numberOfRooms
7898      plotArea
7899    }
7900    masterSavedQuery {
7901      id
7902    }
7903  }
7904}
7905    `),bm=new b(`
7906    query PropertyInvoiceSummary($id: ID!) {
7907  property(id: $id) {
7908    invoiceSummary
7909  }
7910}
7911    `),vm=new b(`
7912    mutation UpdatePropertySavedQueryAutomation($id: Int!, $savedQueryAutomation: String) {
7913  updateProperty(
7914    id: $id
7915    attributes: {savedQueryAutomation: $savedQueryAutomation}
7916  ) {
7917    id
7918    savedQueryAutomation
7919  }
7920}
7921    `),Im=new b(`
7922    query PropertyPreview($id: ID!) {
7923  property(id: $id) {
7924    id
7925    name
7926    marketingType
7927    marketingTypeLabel
7928    marketingPrice
7929    categoryLabel
7930    rsTypeLabel
7931    zipCode
7932    city
7933    region
7934    country
7935    numberOfRooms
7936    livingSpace
7937    plotArea
7938    industrialArea
7939    constructionYear
7940    valuationPrice
7941    valuationPriceFrom
7942    valuationPriceTo
7943    currency
7944    titleImageUrl
7945    path
7946  }
7947}
7948    `),Cm=new b(`
7949    query PropvisionBrokers($page: Int, $per: Int, $search: String) {
7950  shop {
7951    brokers(page: $page, per: $per, search: $search) {
7952      id
7953      name
7954      email
7955      role
7956      archived
7957    }
7958    brokersCount(search: $search)
7959  }
7960}
7961    `),Sm=new b(`
7962    query PsWebsiteShopData {
7963  shop {
7964    name
7965    logoUrl
7966    homepage
7967    email
7968    phone
7969    street
7970    houseNumber
7971    zipCode
7972    city
7973    country
7974    vatId
7975    color
7976    ynfiniteWebsitePayload
7977    ynfiniteWebsiteOrderStatus
7978    ynfiniteWebsiteUrl
7979  }
7980  broker {
7981    firstName
7982    lastName
7983    email
7984  }
7985}
7986    `),_m=new b(`
7987    query TaskDetailsQuickView($id: ID!, $date: ISO8601DateTime) {
7988  task(id: $id, date: $date) {
7989    id
7990    createdAt
7991    title
7992    body
7993    oldCrmExternalId
7994    taskType
7995    taskStageId
7996    brokerId
7997    isEvent
7998    isReminder
7999    isNote
8000    priority
8001    category {
8002      id
8003      name
8004      color
8005      taskPipelineId
8006    }
8007    clientSource {
8008      id
8009      name
8010    }
8011    cancelationReason {
8012      id
8013      name
8014    }
8015    department {
8016      name
8017    }
8018    brokers {
8019      id
8020      name
8021    }
8022    reviewerIds
8023    reviewState
8024    lastDealStageName
8025    dealIds
8026    deals(limit: 6) {
8027      id
8028      client {
8029        name
8030        id
8031      }
8032      property {
8033        name
8034        id
8035      }
8036      projectId
8037      dealPipelineId
8038      dealStageId
8039      reasonId
8040      dealStageChance
8041      dealStage {
8042        id
8043        name
8044        color
8045      }
8046    }
8047    dealsCount
8048    isCampaign
8049    body
8050    creatorId
8051    synced
8052    syncErrorMessage
8053    canDelete
8054    canManage
8055    canUnsubscribe
8056    done
8057    dueDate
8058    bufferBefore
8059    bufferAfter
8060    todos {
8061      id
8062      title
8063      brokerId
8064      dueDate
8065      doneAt
8066      departmentId
8067    }
8068    private
8069    sendReminders
8070    location
8071    recurring
8072    roomResourceEmails
8073    participantEmails
8074    readOnly
8075    remindAtInMinutes
8076    startsAt
8077    endsAt
8078    allDay
8079    isOnlineMeeting
8080    onlineMeetingUrl
8081    massViewing
8082    massViewingUrl
8083    slotStep
8084    possibleSpots
8085    maxParticipantsPerSlot
8086    viewingReplySnippetId
8087    viewingCancellationSnippetId
8088    clientsRsvp {
8089      clientId
8090      attending
8091    }
8092    viewings {
8093      id
8094      viewingDate
8095      phone
8096      email
8097      name
8098      clientId
8099      firstName
8100      lastName
8101      salutation
8102      attendance
8103    }
8104    clientsStatus
8105    state
8106    rateable
8107    suggestedEvent
8108    allSuggestedEvents {
8109      id
8110      startsAt
8111    }
8112    groups {
8113      id
8114      name
8115    }
8116    clients(limit: 100) {
8117      id
8118      name
8119      path
8120      emails
8121      phone
8122      email
8123      intlPhone
8124    }
8125    clientTrackingEventsCounts(limit: 100) {
8126      clientId
8127      count
8128    }
8129    clientsCount
8130    properties {
8131      id
8132      name
8133      marketingType
8134      marketingTypeLabel
8135      marketingPrice
8136      categoryLabel
8137      rsTypeLabel
8138      zipCode
8139      city
8140      region
8141      country
8142      numberOfRooms
8143      livingSpace
8144      plotArea
8145      industrialArea
8146      constructionYear
8147      price
8148      valuationPrice
8149      valuationPriceFrom
8150      valuationPriceTo
8151      baseRent
8152      currency
8153      titleImageUrl
8154      path
8155    }
8156    projects {
8157      id
8158      name
8159      path
8160    }
8161    noteAttachments {
8162      id
8163      name
8164      url
8165    }
8166    canAccess
8167    confirmedByParticipant
8168    customFields
8169    accessBrokerIds
8170    accessDepartmentIds
8171    watcherBrokerIds
8172    originalDate
8173    docusignData
8174    seekerPayload
8175    seekerAdditionalInfo
8176    previousActivity {
8177      id
8178      name
8179      type
8180    }
8181    nextActivities {
8182      id
8183      name
8184      type
8185    }
8186    locked
8187    decisionOptions {
8188      id
8189      name
8190    }
8191    decisionOptionId
8192    departmentId
8193    conversationMessages {
8194      authorName
8195      direction
8196      content
8197      timestamp
8198    }
8199    appointmentPreparationSummary
8200    externalReference
8201  }
8202}
8203    `),km=new b(`
8204    query TaskDetails($id: ID!) {
8205  task(id: $id) {
8206    todos {
8207      id
8208      title
8209      brokerId
8210      dueDate
8211      doneAt
8212      departmentId
8213    }
8214  }
8215}
8216    `),Tm=new b(`
8217    query TaskViewings($taskId: ID!) {
8218  task(id: $taskId) {
8219    id
8220    possibleSpots
8221    maxParticipantsPerSlot
8222    viewings {
8223      id
8224      viewingDate
8225      phone
8226      email
8227      name
8228      clientId
8229      attendance
8230    }
8231  }
8232}
8233    `),wm=new b(`
8234    query TaskKanbanItem($pipelineId: Int!, $id: Int!) {
8235  tasks(pipelineId: $pipelineId, id: $id) {
8236    ...TasksKanbanFields
8237  }
8238}
8239    fragment TasksKanbanFields on ElasticTodo {
8240  id
8241  stageId
8242  title
8243  brokerId
8244  dueDate
8245  done
8246  reviewState
8247  reviewerIds
8248  priority
8249  commentsCount
8250  clients {
8251    id
8252    name
8253  }
8254  properties {
8255    id
8256    name
8257  }
8258}`),Fm=new b(`
8259    query TaskKanbanStageTasks($pipelineId: Int!, $stageId: Int!, $sortBy: String, $order: Order, $page: Int!, $per: Int!, $filterSet: JSON!) {
8260  tasks(
8261    pipelineId: $pipelineId
8262    stageId: $stageId
8263    sortBy: $sortBy
8264    order: $order
8265    page: $page
8266    per: $per
8267    filterSet: $filterSet
8268  ) {
8269    ...TasksKanbanFields
8270  }
8271}
8272    fragment TasksKanbanFields on ElasticTodo {
8273  id
8274  stageId
8275  title
8276  brokerId
8277  dueDate
8278  done
8279  reviewState
8280  reviewerIds
8281  priority
8282  commentsCount
8283  clients {
8284    id
8285    name
8286  }
8287  properties {
8288    id
8289    name
8290  }
8291}`),Pm=new b(`
8292    query TaskKanbanInitialData($pipelineId: Int!, $sortBy: String, $order: Order, $filterSet: JSON!) {
8293  taskStagesCounts(pipelineId: $pipelineId, filterSet: $filterSet)
8294  initialTasks(
8295    pipelineId: $pipelineId
8296    sortBy: $sortBy
8297    order: $order
8298    filterSet: $filterSet
8299  ) {
8300    ...TasksKanbanFields
8301  }
8302}
8303    fragment TasksKanbanFields on ElasticTodo {
8304  id
8305  stageId
8306  title
8307  brokerId
8308  dueDate
8309  done
8310  reviewState
8311  reviewerIds
8312  priority
8313  commentsCount
8314  clients {
8315    id
8316    name
8317  }
8318  properties {
8319    id
8320    name
8321  }
8322}`),Am=new b(`
8323    query DefaultTodoColumns {
8324  shop {
8325    customColumnPresetForTodos
8326  }
8327}
8328    `),$m=new b(`
8329    query TodoActivitiesForm($id: ID!) {
8330  task(id: $id) {
8331    category {
8332      todoActivities {
8333        id
8334        label
8335        activityType
8336        mandatory
8337        payload {
8338          snippetId
8339          brokerId
8340          departmentId
8341          noteTypeId
8342          todoTypeId
8343          dueDate
8344          eventTypeId
8345          propertyStatusId
8346          reservationReasonId
8347          reviewerIds
8348        }
8349      }
8350    }
8351    clients {
8352      name
8353    }
8354    properties {
8355      name
8356      propertyStatus {
8357        name
8358      }
8359    }
8360  }
8361  shop {
8362    noteCategories {
8363      id
8364      name
8365    }
8366    todoCategories {
8367      id
8368      name
8369    }
8370    eventCategories {
8371      id
8372      name
8373    }
8374    snippets {
8375      id
8376      name
8377    }
8378    cancelationReasons {
8379      id
8380      name
8381    }
8382    propertyStatuses {
8383      id
8384      name
8385    }
8386  }
8387}
8388    `),Rm=new b(`
8389    query DefaultProjectUnitColumns {
8390  shop {
8391    customColumnPresetForProjectUnits
8392  }
8393}
8394    `),Dm=new b(`
8395    query VariableSelectNew {
8396  shop {
8397    folders {
8398      id
8399      name
8400      sendable
8401    }
8402    bookingCalendars {
8403      id
8404      name
8405    }
8406  }
8407}
8408    `),Nm=new b(`
8409    query WorkflowBuilderWorkflowConfigurations {
8410  shop {
8411    workflowConfigurations {
8412      id
8413      name
8414      sharedReadOnly
8415      createdAt
8416      updatedAt
8417    }
8418  }
8419}
8420    `),Om=new b(`
8421    query WorkflowBuilderWorkflowConfiguration($id: Int!) {
8422  shop {
8423    workflowConfiguration(id: $id) {
8424      id
8425      name
8426      document
8427      sharedReadOnly
8428      lockVersion
8429      createdAt
8430      updatedAt
8431    }
8432  }
8433}
8434    `),Em=new b(`
8435    mutation WorkflowBuilderCreateWorkflowConfiguration($attributes: WorkflowConfigurationAttributes!) {
8436  createWorkflowConfiguration(attributes: $attributes) {
8437    id
8438    name
8439    document
8440    sharedReadOnly
8441    lockVersion
8442    createdAt
8443    updatedAt
8444  }
8445}
8446    `),Mm=new b(`
8447    mutation WorkflowBuilderUpdateWorkflowConfiguration($id: Int!, $attributes: WorkflowConfigurationAttributes!) {
8448  updateWorkflowConfiguration(id: $id, attributes: $attributes) {
8449    id
8450    name
8451    document
8452    sharedReadOnly
8453    lockVersion
8454    createdAt
8455    updatedAt
8456  }
8457}
8458    `),Vm=new b(`
8459    mutation WorkflowBuilderDestroyWorkflowConfiguration($id: Int!) {
8460  destroyWorkflowConfiguration(id: $id) {
8461    id
8462  }
8463}
8464    `),Lm=new b(`
8465    query WorkflowBuilderEmailCategories {
8466  shop {
8467    messageCategories {
8468      id
8469      name
8470      displayName
8471      color
8472      hideInReports
8473      nextDealStageId
8474      senders
8475      recipients
8476      keywords
8477      translations {
8478        id
8479        locale
8480        name
8481      }
8482      followupActivities {
8483        id
8484        activityType
8485        actionType
8486        payload {
8487          snippetId
8488          brokerId
8489          departmentId
8490          dueDate
8491          todoTypeId
8492          eventTypeId
8493          decisionTypeId
8494          messageCategoryId
8495          reviewerIds
8496        }
8497      }
8498    }
8499  }
8500}
8501    `),Bm=new b(`
8502    query WorkflowBuilderNoteCategories {
8503  shop {
8504    noteCategories {
8505      id
8506      name
8507      displayName
8508      titleFormula
8509      color
8510      body
8511      hideInReports
8512      hideInActivities
8513      internal
8514      locked
8515      nextPropertyStatusId
8516      nextClientStatusId
8517      nextDealStageId
8518      translations {
8519        id
8520        locale
8521        name
8522      }
8523      createdFollowupActivities {
8524        id
8525        activityType
8526        actionType
8527        payload {
8528          snippetId
8529          brokerId
8530          departmentId
8531          dueDate
8532          todoTypeId
8533          eventTypeId
8534          decisionTypeId
8535          messageCategoryId
8536          reviewerIds
8537        }
8538      }
8539    }
8540  }
8541}
8542    `),Um=new b(`
8543    query WorkflowBuilderTodoCategories {
8544  shop {
8545    todoCategories {
8546      id
8547      name
8548      displayName
8549      titleFormula
8550      color
8551      body
8552      hideInReports
8553      hideInActivities
8554      internal
8555      locked
8556      taskPipelineId
8557      brokerId
8558      departmentId
8559      reviewerIds
8560      nextPropertyStatusId
8561      nextClientStatusId
8562      nextDealStageId
8563      completedDealStageId
8564      translations {
8565        id
8566        locale
8567        name
8568      }
8569      todos {
8570        title
8571        brokerId
8572        departmentId
8573        dueDate
8574      }
8575      createdFollowupActivities {
8576        id
8577        activityType
8578        actionType
8579        payload {
8580          snippetId
8581          brokerId
8582          departmentId
8583          dueDate
8584          todoTypeId
8585          eventTypeId
8586          decisionTypeId
8587          messageCategoryId
8588          reviewerIds
8589        }
8590      }
8591      completedFollowupActivities {
8592        id
8593        activityType
8594        actionType
8595        payload {
8596          snippetId
8597          brokerId
8598          departmentId
8599          dueDate
8600          todoTypeId
8601          eventTypeId
8602          decisionTypeId
8603          messageCategoryId
8604          reviewerIds
8605        }
8606      }
8607      todoActivities {
8608        id
8609        label
8610        mandatory
8611        activityType
8612        payload {
8613          snippetId
8614          brokerId
8615          noteTypeId
8616          todoTypeId
8617          eventTypeId
8618          reservationReasonId
8619          propertyStatusId
8620          dueDate
8621          departmentId
8622          reviewerIds
8623        }
8624      }
8625    }
8626  }
8627}
8628    `),qm=new b(`
8629    query WorkflowBuilderEventCategories {
8630  shop {
8631    eventCategories {
8632      id
8633      name
8634      displayName
8635      titleFormula
8636      publicTitleFormula
8637      color
8638      body
8639      hideInReports
8640      hideInActivities
8641      internal
8642      roomResourceEmails
8643      autosetEventLocation
8644      autosetEventStateTookPlace
8645      showAs
8646      nextPropertyStatusId
8647      nextClientStatusId
8648      nextDealStageId
8649      completedDealStageId
8650      createdDealBrokerId
8651      completedDealBrokerId
8652      translations {
8653        id
8654        locale
8655        name
8656      }
8657      createdFollowupActivities {
8658        id
8659        activityType
8660        actionType
8661        payload {
8662          snippetId
8663          brokerId
8664          departmentId
8665          dueDate
8666          todoTypeId
8667          eventTypeId
8668          decisionTypeId
8669          messageCategoryId
8670          reviewerIds
8671        }
8672      }
8673      completedFollowupActivities {
8674        id
8675        activityType
8676        actionType
8677        payload {
8678          snippetId
8679          brokerId
8680          departmentId
8681          dueDate
8682          todoTypeId
8683          eventTypeId
8684          decisionTypeId
8685          messageCategoryId
8686          reviewerIds
8687        }
8688      }
8689    }
8690  }
8691}
8692    `),xm=new b(`
8693    query WorkflowBuilderDecisionCategories {
8694  shop {
8695    decisionCategories {
8696      id
8697      name
8698      displayName
8699      titleFormula
8700      color
8701      body
8702      hideInReports
8703      hideInActivities
8704      internal
8705      translations {
8706        id
8707        locale
8708        name
8709      }
8710      decisionOptions {
8711        id
8712        name
8713        dealStageId
8714        translations {
8715          id
8716          locale
8717          name
8718        }
8719        followupActivities {
8720          id
8721          activityType
8722          actionType
8723          payload {
8724            snippetId
8725            brokerId
8726            departmentId
8727            dueDate
8728            todoTypeId
8729            eventTypeId
8730            decisionTypeId
8731            cancelationReasonId
8732            messageCategoryId
8733            reviewerIds
8734          }
8735        }
8736      }
8737    }
8738  }
8739}
8740    `),zm=new b(`
8741    query WorkflowBuilderLetterCategories {
8742  shop {
8743    letterCategories {
8744      id
8745      name
8746      displayName
8747      titleFormula
8748      color
8749      body
8750      hideInReports
8751      hideInActivities
8752      internal
8753      nextPropertyStatusId
8754      nextClientStatusId
8755      nextDealStageId
8756      translations {
8757        id
8758        locale
8759        name
8760      }
8761      createdFollowupActivities {
8762        id
8763        activityType
8764        actionType
8765        payload {
8766          snippetId
8767          brokerId
8768          departmentId
8769          dueDate
8770          todoTypeId
8771          eventTypeId
8772          decisionTypeId
8773          messageCategoryId
8774          reviewerIds
8775        }
8776      }
8777    }
8778  }
8779}
8780    `),Gm=new b(`
8781    query WorkflowBuilderSnippetCategories {
8782  shop {
8783    snippetCategories {
8784      id
8785      name
8786    }
8787    snippets(onlyForBroker: true) {
8788      id
8789      name
8790      subject
8791      body
8792      brokerId
8793      snippetCategoryId
8794      messageCategoryId
8795      messageTemplateId
8796      cancellationPolicyOn
8797      skipAttachingIcsFile
8798      isPrivate
8799      brokerIds
8800      departmentIds
8801      messageAttachments {
8802        id
8803        name
8804        url
8805      }
8806    }
8807  }
8808}
8809    `),jm=new b(`
8810    query WorkflowBuilderAutomationCategories {
8811  recipesConfig
8812  recipes {
8813    id
8814    live
8815    title
8816    triggerType
8817    actionType
8818    changedAttribute
8819    conditions
8820    actionOptions
8821    nextRecipeIds
8822    webhookUrl
8823    createdAt
8824    updatedAt
8825    lastExecutedAt
8826    schedule
8827    scheduleType
8828    viewonly
8829  }
8830}
8831    `),Hm=new b(`
8832    query UseLastPublishedPortalPropertyForm($propertyId: ID!) {
8833  property(id: $propertyId) {
8834    publishings {
8835      portalId
8836      publishDate
8837      portal {
8838        format
8839        parentConnectionId
8840      }
8841    }
8842  }
8843}
8844    `),Wm=new b(`
8845    query PropertyMlsDealAggregations($propertyId: ID!) {
8846  property(id: $propertyId) {
8847    mlsDealAggregations {
8848      count
8849      shopId
8850      shopName
8851    }
8852  }
8853}
8854    `),Km=new b(`
8855    query UseOutlookFolderSettingsFolders {
8856  shop {
8857    outlookFolders {
8858      id
8859      brokerId
8860      name
8861      externalId
8862      specialUse
8863      parentId
8864    }
8865  }
8866}
8867    `),Ym=new b(`
8868    query UseRightsQuery {
8869  shop {
8870    rights
8871  }
8872}
8873    `),Qm=new b(`
8874    query SnippetCategories {
8875  shop {
8876    snippetCategories {
8877      id
8878      name
8879      snippets(forCurrentBroker: true) {
8880        id
8881        name
8882      }
8883    }
8884  }
8885}
8886    `),Zm=new b(`
8887    query Version {
8888  appVersion
8889  announcement {
8890    text
8891    color
8892    closable
8893    announcementId
8894  }
8895  shop {
8896    updatedAt
8897  }
8898}
8899    `),Jm=new b(`
8900    query Stats {
8901  broker {
8902    unreadMessagesCount
8903    unreadTrackingsCount
8904    unreadNotificationsCount
8905    lastVisited
8906    availability
8907  }
8908}
8909    `),Xm=new b(`
8910    query Broker {
8911  broker {
8912    ...InitialBroker
8913  }
8914}
8915    fragment DetailViewFieldsFragment on DetailViewField {
8916  id
8917  fieldName
8918  title
8919  hint
8920  containerFieldLabels
8921  containerFieldHints
8922  readBrokerIds
8923  writeBrokerIds
8924  readDepartmentIds
8925  writeDepartmentIds
8926  allowedMarketingType
8927  allowedRsTypes
8928  containerFieldNames
8929  propertyStatusIds
8930  requiredPropertyStatusIds
8931  perfectMatch
8932  taskCategoryIds
8933  taskTypes
8934  color
8935  translations {
8936    id
8937    locale
8938    title
8939    containerFieldLabels
8940    containerFieldHints
8941  }
8942  mandatory
8943  mandatoryOnLp
8944  characterLimit
8945  defaultValue
8946  dealPipelineIds
8947  dealStageIds
8948  countries
8949  clientGroupIds
8950  allowedPropertyType
8951  editable
8952}
8953fragment DetailViewGroupFragment on DetailViewGroup {
8954  name
8955  slot
8956  splitIntoTwoColumns
8957  readBrokerIds
8958  writeBrokerIds
8959  readDepartmentIds
8960  writeDepartmentIds
8961  allowedMarketingType
8962  allowedRsTypes
8963  propertyStatusIds
8964  taskCategoryIds
8965  taskTypes
8966  dealPipelineIds
8967  dealStageIds
8968  countries
8969  clientGroupIds
8970  allowedPropertyType
8971  managedByExtension
8972  detailViewFields {
8973    ...DetailViewFieldsFragment
8974  }
8975}
8976fragment InitialBroker on Broker {
8977  webcallUrl
8978  hideIntercom
8979  firstName
8980  id
8981  name
8982  avatarUrl(size: "small_thumb")
8983  color
8984  headerColor
8985  initials
8986  createdAt
8987  sharedInboxBrokerIds
8988  email
8989  position
8990  phone
8991  cell
8992  dob
8993  teamId
8994  admin
8995  superAdmin
8996  locale
8997  hideInDropdowns
8998  archived
8999  blocked
9000  connected
9001  senderEmail
9002  primarySenderBrokerId
9003  departmentIds
9004  oguloApiKeyConfigured
9005  oguloApiKeyLastError
9006  oguloUserMapped
9007  oguloBrokerAuthUrl
9008  oguloAuthenticatedAt
9009  rights
9010  clientsOpenInDetails
9011  smartViewsVisibility
9012  accessTeamIds
9013  sendingDepartmentIds
9014  propertySearchSortBy
9015  propertySearchOrder
9016  propertySearchPer
9017  defaultClientsFilter
9018  defaultClientsFilterForMobile
9019  defaultPropertiesFilter
9020  defaultPropertiesFilterForMobile
9021  defaultTodosFilter
9022  defaultTodosFilterForMobile
9023  defaultDealsFilter
9024  defaultDealsFilterForMobile
9025  defaultActivitiesFilter
9026  defaultActivitiesFilterForMobile
9027  defaultSuggestedClientsFilter
9028  defaultSuggestedClientsFilterForMobile
9029  defaultActivitiesClientsFilter
9030  defaultActivitiesClientsFilterForMobile
9031  defaultActivitiesPropertiesFilter
9032  defaultActivitiesPropertiesFilterForMobile
9033  defaultActivitiesProjectsFilter
9034  defaultActivitiesProjectsFilterForMobile
9035  defaultActivitiesDealsFilter
9036  defaultActivitiesDealsFilterForMobile
9037  defaultDealsClientsFilter
9038  defaultDealsClientsFilterForMobile
9039  defaultDealsPropertiesFilter
9040  defaultDealsPropertiesFilterForMobile
9041  defaultDealsProjectsFilter
9042  defaultDealsProjectsFilterForMobile
9043  clientSearchSortBy
9044  clientSearchOrder
9045  clientSearchPer
9046  suggestedClientSearchSortBy
9047  suggestedClientSearchOrder
9048  todoSearchSortBy
9049  todoSearchOrder
9050  customColumnsForProperties
9051  customColumnsForPropertyChildren
9052  customColumnsForClients
9053  customColumnsForDeals
9054  customColumnsForTodos
9055  customColumnsForActivities
9056  customColumnsForProjects
9057  intercomId
9058  intercomHash
9059  apolloUrl
9060  hideActivityLogs
9061  commentsOrder
9062  calendarVisibility
9063  sendingBrokerIds
9064  commissionBeneficiary
9065  sidebarPins {
9066    title
9067    modelId
9068    modelType
9069  }
9070  showInboxMultiselect
9071  followupActivityAssignee
9072  localHeroAutoPublish
9073  glid
9074  role
9075  canEditWorkflowBuilder
9076  canViewWorkflowBuilder
9077  notificationEnabled
9078  defaultEventRemindAt
9079  paperlessAuthenticated
9080  perfectMatchEnabled
9081  signature
9082  msftError
9083  uiTheme
9084  supportsNativeFolders
9085  customNavigationItems {
9086    id
9087    name
9088    url
9089    linkType
9090    visibleToBrokerIds
9091    visibleToDepartmentIds
9092    smartViewId
9093    smartViewFieldType
9094    smartViewTargetView
9095    translations {
9096      locale
9097      name
9098    }
9099  }
9100  propertyDetailViewGroups: detailViewGroups(entity: for_properties) {
9101    ...DetailViewGroupFragment
9102  }
9103}`),eh=new b(`
9104    query InitialData {
9105  appVersion
9106  announcement {
9107    text
9108    color
9109    closable
9110    announcementId
9111  }
9112  broker {
9113    ...InitialBroker
9114  }
9115  shop {
9116    ...InitialShop
9117  }
9118}
9119    fragment CustomOptionFieldsFragment on CustomOption {
9120  id
9121  name
9122  condition
9123  title
9124  groupId
9125}
9126fragment CustomFieldFieldsFragment on CustomField {
9127  name
9128  prettyName
9129  title
9130  fieldType
9131  unit
9132  formula
9133  indexName
9134  entity
9135  exportToOpenimmo
9136  tagsSuperCategoryIds
9137  forSavedQueries
9138  translationAvailable
9139  permittedBrokerIds
9140  component
9141  customOptions {
9142    ...CustomOptionFieldsFragment
9143  }
9144}
9145fragment CustomFieldGroupFieldsFragment on CustomFieldGroup {
9146  name
9147  customFields {
9148    ...CustomFieldFieldsFragment
9149  }
9150}
9151fragment ManagedCustomFieldGroupFragment on CustomFieldGroup {
9152  ...CustomFieldGroupFieldsFragment
9153  managedByExtension
9154}
9155fragment DetailViewFieldsFragment on DetailViewField {
9156  id
9157  fieldName
9158  title
9159  hint
9160  containerFieldLabels
9161  containerFieldHints
9162  readBrokerIds
9163  writeBrokerIds
9164  readDepartmentIds
9165  writeDepartmentIds
9166  allowedMarketingType
9167  allowedRsTypes
9168  containerFieldNames
9169  propertyStatusIds
9170  requiredPropertyStatusIds
9171  perfectMatch
9172  taskCategoryIds
9173  taskTypes
9174  color
9175  translations {
9176    id
9177    locale
9178    title
9179    containerFieldLabels
9180    containerFieldHints
9181  }
9182  mandatory
9183  mandatoryOnLp
9184  characterLimit
9185  defaultValue
9186  dealPipelineIds
9187  dealStageIds
9188  countries
9189  clientGroupIds
9190  allowedPropertyType
9191  editable
9192}
9193fragment DetailViewGroupFragment on DetailViewGroup {
9194  name
9195  slot
9196  splitIntoTwoColumns
9197  readBrokerIds
9198  writeBrokerIds
9199  readDepartmentIds
9200  writeDepartmentIds
9201  allowedMarketingType
9202  allowedRsTypes
9203  propertyStatusIds
9204  taskCategoryIds
9205  taskTypes
9206  dealPipelineIds
9207  dealStageIds
9208  countries
9209  clientGroupIds
9210  allowedPropertyType
9211  managedByExtension
9212  detailViewFields {
9213    ...DetailViewFieldsFragment
9214  }
9215}
9216fragment InitialBroker on Broker {
9217  webcallUrl
9218  hideIntercom
9219  firstName
9220  id
9221  name
9222  avatarUrl(size: "small_thumb")
9223  color
9224  headerColor
9225  initials
9226  createdAt
9227  sharedInboxBrokerIds
9228  email
9229  position
9230  phone
9231  cell
9232  dob
9233  teamId
9234  admin
9235  superAdmin
9236  locale
9237  hideInDropdowns
9238  archived
9239  blocked
9240  connected
9241  senderEmail
9242  primarySenderBrokerId
9243  departmentIds
9244  oguloApiKeyConfigured
9245  oguloApiKeyLastError
9246  oguloUserMapped
9247  oguloBrokerAuthUrl
9248  oguloAuthenticatedAt
9249  rights
9250  clientsOpenInDetails
9251  smartViewsVisibility
9252  accessTeamIds
9253  sendingDepartmentIds
9254  propertySearchSortBy
9255  propertySearchOrder
9256  propertySearchPer
9257  defaultClientsFilter
9258  defaultClientsFilterForMobile
9259  defaultPropertiesFilter
9260  defaultPropertiesFilterForMobile
9261  defaultTodosFilter
9262  defaultTodosFilterForMobile
9263  defaultDealsFilter
9264  defaultDealsFilterForMobile
9265  defaultActivitiesFilter
9266  defaultActivitiesFilterForMobile
9267  defaultSuggestedClientsFilter
9268  defaultSuggestedClientsFilterForMobile
9269  defaultActivitiesClientsFilter
9270  defaultActivitiesClientsFilterForMobile
9271  defaultActivitiesPropertiesFilter
9272  defaultActivitiesPropertiesFilterForMobile
9273  defaultActivitiesProjectsFilter
9274  defaultActivitiesProjectsFilterForMobile
9275  defaultActivitiesDealsFilter
9276  defaultActivitiesDealsFilterForMobile
9277  defaultDealsClientsFilter
9278  defaultDealsClientsFilterForMobile
9279  defaultDealsPropertiesFilter
9280  defaultDealsPropertiesFilterForMobile
9281  defaultDealsProjectsFilter
9282  defaultDealsProjectsFilterForMobile
9283  clientSearchSortBy
9284  clientSearchOrder
9285  clientSearchPer
9286  suggestedClientSearchSortBy
9287  suggestedClientSearchOrder
9288  todoSearchSortBy
9289  todoSearchOrder
9290  customColumnsForProperties
9291  customColumnsForPropertyChildren
9292  customColumnsForClients
9293  customColumnsForDeals
9294  customColumnsForTodos
9295  customColumnsForActivities
9296  customColumnsForProjects
9297  intercomId
9298  intercomHash
9299  apolloUrl
9300  hideActivityLogs
9301  commentsOrder
9302  calendarVisibility
9303  sendingBrokerIds
9304  commissionBeneficiary
9305  sidebarPins {
9306    title
9307    modelId
9308    modelType
9309  }
9310  showInboxMultiselect
9311  followupActivityAssignee
9312  localHeroAutoPublish
9313  glid
9314  role
9315  canEditWorkflowBuilder
9316  canViewWorkflowBuilder
9317  notificationEnabled
9318  defaultEventRemindAt
9319  paperlessAuthenticated
9320  perfectMatchEnabled
9321  signature
9322  msftError
9323  uiTheme
9324  supportsNativeFolders
9325  customNavigationItems {
9326    id
9327    name
9328    url
9329    linkType
9330    visibleToBrokerIds
9331    visibleToDepartmentIds
9332    smartViewId
9333    smartViewFieldType
9334    smartViewTargetView
9335    translations {
9336      locale
9337      name
9338    }
9339  }
9340  propertyDetailViewGroups: detailViewGroups(entity: for_properties) {
9341    ...DetailViewGroupFragment
9342  }
9343}
9344fragment InitialAllBrokers on Broker {
9345  id
9346  name
9347  email
9348  phone
9349  internalName
9350  active
9351  avatarUrl(size: "small_thumb")
9352  initials
9353  color
9354  admin
9355  superAdmin
9356  archived
9357  dob
9358  senderEmail
9359  availability
9360  role
9361  canSeeAllDealPipelines
9362}
9363fragment InitialShop on Shop {
9364  id
9365  propstackAiAutomaticTitleGenerationDisabled
9366  enableNativeOutlookFolders
9367  updatedAt
9368  realtimeSubscriptionNamespace
9369  availableLicenses
9370  messageDefaultFontFamily
9371  messageDefaultFontSize
9372  messageDefaultFontColor
9373  street
9374  houseNumber
9375  zipCode
9376  city
9377  brokers {
9378    ...InitialAllBrokers
9379  }
9380  departments {
9381    id
9382    name
9383    brokerIds
9384    useInInquiryDistribution
9385    teamId
9386  }
9387  messageTemplates {
9388    id
9389    name
9390  }
9391  messageCategories {
9392    id
9393    name
9394    displayName
9395    color
9396    hideInReports
9397  }
9398  eventCategories {
9399    id
9400    name
9401    displayName
9402    color
9403    hideInReports
9404    internal
9405    titleFormula
9406    roomResourceEmails
9407    body
9408    autosetEventLocation
9409    autosetEventStateTookPlace
9410    showAs
9411    eventTypeVariant
9412    icon
9413    autosetOwnerContact
9414    autosetInviteOwner
9415    syncInviteesWithLinkedClients
9416    disableAutoLinkInvitees
9417    defaultReminderMinutes
9418    defaultAssigneeStrategy
9419    defaultMassViewing
9420    confirmationSnippetId
9421    cancellationSnippetId
9422    defaultSlotStep
9423    defaultMaxParticipantsPerSlot
9424    defaultClientReminders
9425  }
9426  todoCategories {
9427    id
9428    name
9429    displayName
9430    color
9431    hideInReports
9432    internal
9433    titleFormula
9434    body
9435    taskPipelineId
9436    reviewerIds
9437    brokerId
9438    departmentId
9439  }
9440  noteCategories {
9441    id
9442    name
9443    displayName
9444    color
9445    hideInReports
9446    internal
9447    titleFormula
9448    body
9449    locked
9450  }
9451  letterCategories {
9452    id
9453    name
9454    displayName
9455    color
9456    hideInReports
9457    internal
9458    titleFormula
9459  }
9460  decisionCategories {
9461    id
9462    name
9463    displayName
9464    color
9465    hideInReports
9466    internal
9467    titleFormula
9468    body
9469  }
9470  activityGroups {
9471    id
9472    name
9473    superGroupId
9474  }
9475  projects {
9476    id
9477    name
9478    address
9479  }
9480  projectStatuses {
9481    id
9482    name
9483  }
9484  propertyStatuses {
9485    id
9486    name
9487    color
9488    infoText
9489    excludeFromSearchProfileMatching
9490    writeBrokerIds
9491    writeDepartmentIds
9492    translations {
9493      locale
9494      infoText
9495    }
9496  }
9497  propertyGroups {
9498    id
9499    name
9500    superGroupId
9501  }
9502  clientSources {
9503    id
9504    name
9505    inquiryDepartmentId
9506    inquiryDepartmentRules {
9507      rule
9508      inquiryDepartmentId
9509    }
9510  }
9511  clientStatuses {
9512    id
9513    name
9514    color
9515  }
9516  superGroups {
9517    id
9518    name
9519    entity
9520  }
9521  clientGroups {
9522    id
9523    name
9524    superGroupId
9525  }
9526  clientReasons {
9527    id
9528    name
9529  }
9530  dealPipelines {
9531    id
9532    name
9533    dealCockpitMapping
9534    brokerIds
9535    departmentIds
9536  }
9537  dealStages {
9538    id
9539    name
9540    color
9541    chance
9542    excludedBrokerIds
9543    dealPipelineId
9544  }
9545  taskPipelines {
9546    id
9547    name
9548  }
9549  taskStages {
9550    id
9551    name
9552    color
9553    dealPipelineId
9554  }
9555  cancelationReasons(onlyForBroker: true) {
9556    id
9557    name
9558    dealPipelineIds
9559  }
9560  connections: portals(withIs24SubTypes: true) {
9561    id
9562    name
9563    parentConnectionId
9564    format
9565    popularWebsite
9566    accessBrokerIds
9567    accessDepartmentIds
9568    accountUrl
9569    is24OtoaAccessBrokerIds
9570    is24OtoaAccessDepartmentIds
9571    is24PublishChannelId
9572    username
9573    host
9574  }
9575  salutations {
9576    id
9577    name
9578    internalName
9579  }
9580  letterTemplates(onlyAccessible: true) {
9581    id
9582    name
9583    category
9584    noteTypeId
9585    usesNumberRange
9586    pdfOutput
9587  }
9588  phoneNoteTypeId
9589  incomingPhoneNoteTypeId
9590  teams {
9591    id
9592    name
9593    mailSignature
9594    logoUrl
9595    website
9596    street
9597    zipCode
9598    city
9599    brokerIds
9600    departmentId
9601  }
9602  folders(forConnections: true) {
9603    id
9604    name
9605  }
9606  scoutContacts {
9607    id
9608    name
9609    portalName
9610  }
9611  scoutProjects {
9612    id
9613    name
9614  }
9615  textSnippets {
9616    id
9617    name
9618    category
9619    body
9620    role
9621  }
9622  clientDetailViewGroups: detailViewGroups(entity: for_clients) {
9623    ...DetailViewGroupFragment
9624  }
9625  detailViewGroupsForClientsCustomized
9626  childrenDetailViewGroups: detailViewGroups(entity: for_client_children) {
9627    ...DetailViewGroupFragment
9628  }
9629  clientMailboxDetailViewGroups: detailViewGroups(entity: for_client_mailbox) {
9630    ...DetailViewGroupFragment
9631  }
9632  projectDetailViewGroups: detailViewGroups(entity: for_projects) {
9633    ...DetailViewGroupFragment
9634  }
9635  dealDetailViewGroups: detailViewGroups(entity: for_deals) {
9636    ...DetailViewGroupFragment
9637  }
9638  taskDetailViewGroups: detailViewGroups(entity: for_tasks) {
9639    ...DetailViewGroupFragment
9640  }
9641  savedQueryDetailViewGroups: detailViewGroups(entity: for_saved_queries) {
9642    ...DetailViewGroupFragment
9643  }
9644  customFieldGroupsForProperties {
9645    ...CustomFieldGroupFieldsFragment
9646  }
9647  customFieldGroupsForClients: customFieldGroups(entity: for_clients) {
9648    ...CustomFieldGroupFieldsFragment
9649  }
9650  customFieldGroupsForProjects: customFieldGroups(entity: for_projects) {
9651    ...ManagedCustomFieldGroupFragment
9652  }
9653  customFieldGroupsForBrokers: customFieldGroups(entity: for_brokers) {
9654    ...ManagedCustomFieldGroupFragment
9655  }
9656  customFieldGroupsForTasks: customFieldGroups(entity: for_tasks) {
9657    ...ManagedCustomFieldGroupFragment
9658  }
9659  customFieldGroupsForDeals: customFieldGroups(entity: for_deals) {
9660    ...ManagedCustomFieldGroupFragment
9661  }
9662  externalReports(forBroker: true) {
9663    id
9664  }
9665  hideSectionHeadlines
9666  createSavedQueriesForInquiries
9667  createSavedQueriesFromMessage
9668  allowedRsTypesInSavedQueries
9669  forbiddenRsCategories
9670  roomResources {
9671    email
9672    name
9673  }
9674  webExposeeLiveDuration
9675  lpVisitRequestCreatesTask
9676  lpVisitRequestNoteTypeId
9677  supportedPropertyLocales
9678  requiredFieldsForProperty
9679  supportedClientLocales
9680  propertyOptionsMapping
9681  rights
9682  roles {
9683    id
9684    name
9685    description
9686    brokerIds
9687    rights
9688  }
9689  brokerRolesForMessageTracking
9690  relationshipPartnerNames {
9691    id
9692    name
9693  }
9694  projectRelationshipPartnerNames {
9695    id
9696    name
9697  }
9698  availableCalendars
9699  subscribedCalendarKeys
9700  cities
9701  countries {
9702    name
9703    alphaTwo
9704    alphaThree
9705    selectable
9706  }
9707  regions
9708  env
9709  immoscoutBaseUrl
9710  areaUnit
9711  addonsEnabled
9712  visibleColumnsInPropertyDeals
9713  color
9714  activeFeatures
9715  extensions {
9716    id
9717    enabled
9718  }
9719  showBrokerAvatarsInCrm
9720  limitPropertyImageTitleLength
9721  transferPropertyDealsOnBrokerChange
9722  transferPropertyDealContactsOnBrokerChange
9723  transferPropertyTasksOnBrokerChangeMode
9724  followupLastContactTimeframe
9725  followupGroups
9726  followupStatuses
9727  followupSources
9728  autocompleteEventLocations
9729  canSendSmsReminders
9730  requireEventCategory
9731  defaultEventCategoryId
9732  eventDefaultDuration
9733  usesNumberRange
9734  internationalCountry
9735  currency
9736  isoCurrency
9737  useStaticDropdownForCitySelect
9738  logoUrl
9739  darkLogoUrl
9740  faviconUrl
9741  defaultClientAttributes
9742  suggestedClientsColumns
9743  documentTags
9744  commissionSplitNames
9745  docusignTemplates {
9746    id
9747    name
9748  }
9749  intercomId
9750  homepage
9751  createdAt
9752  name
9753  sellsInternationally
9754  sprengnetterEmail
9755  phValuationMaxValuationsPerYear
9756  imogentEmail
9757  propnowTenant
9758  lystosUrl
9759  lystosLinkTitle
9760  lystosConfigured
9761  language
9762  selectableCurrencies
9763  selectedCurrencies
9764  exchangeRates
9765  franchiser
9766  franchisee
9767  franchiserName
9768  franchiserShop {
9769    blockActionsForMlsProperties
9770  }
9771  unitIdCounterSetByFranchiser
9772  contactAcceptanceRequestSnippetId
9773  excludeNotAccepted
9774  gdprCompliantMailSending
9775  allowBrokerCustomSignatures
9776  outOfOfficeEmailForwarding
9777  autoSavedQuerySettings
9778  allFieldsInSavedQueryForm
9779  upgrade
9780  watermarkOnPortals
9781  legacySearchServer
9782  emailReadTrackingDisabled
9783  taskReviewsEnabled
9784  demo
9785  offmarketEnabled
9786  outgoingCallUrl
9787  deeplConnected
9788  deeplPlan
9789  findriveTipsterKey
9790  findriveTipsterConnected
9791  findriveTipsterExposeWidget
9792  findriveTipsterToken
9793  findriveTipsterCompanyId
9794  dealsPageDefaultPipelineId
9795  purchasePropertyDefaultPipelineId
9796  rentalPropertyDefaultPipelineId
9797  messageTranslatorSelections
9798  recordAllPhoneCalls
9799  hiddenTabsInSidebar
9800  customCategories {
9801    id
9802    name
9803    objectType
9804    rsType
9805  }
9806  relationshipCategories {
9807    id
9808    labelA
9809    labelB
9810    hierarchy
9811    subcontactFormEnabled
9812    includeRelatedActivities
9813    includeRelatedEmailAddresses
9814    routeDealsToMainContact
9815    showMainContactLink
9816    includeRelatedInMainContactSearch
9817    deleteRelatedContactsWithMainContact
9818    translations {
9819      id
9820      locale
9821      labelA
9822      labelB
9823    }
9824  }
9825  paperlessRemoteTemplates {
9826    id
9827    name
9828  }
9829  paperlessTemplates {
9830    id
9831    name
9832  }
9833  tenantTeamActivitiesAssignment
9834  mailchimpInterestCategories
9835  mailchimpInterests
9836  allEnabledExtensions
9837  acsConnected
9838  acsSenderAddresses
9839  supportedLanguages {
9840    id
9841    name
9842    flag
9843  }
9844  customFormConfig {
9845    titleLengthLimit
9846  }
9847  perfectMatchSettingsOptions
9848  invoicePaymentTermMode
9849  invoiceHintCustomFieldName
9850  invoiceCostCenterCustomFieldName
9851  contentTypes {
9852    movie
9853    vcard
9854    image
9855    document
9856    classifyDocumentTags
9857  }
9858  fieldCalculationGroups {
9859    id
9860    active
9861    name
9862    baseFieldName
9863    fixedFieldName
9864    percentageFieldName
9865    targetFieldName
9866    formula
9867    allowManualOverride
9868    convertFixedPercentageFields
9869  }
9870  calculationFields {
9871    name
9872    label
9873  }
9874}`),th=new b(`
9875    mutation DisconnectDocusign {
9876  disconnectDocusign {
9877    ok
9878  }
9879}
9880    `),nh=new b(`
9881    mutation DisconnectOguloBroker {
9882  disconnectOguloBroker {
9883    broker {
9884      id
9885      oguloApiKeyConfigured
9886      oguloUserMapped
9887    }
9888  }
9889}
9890    `),ih=new b(`
9891    mutation ActivateOgulo($settings: OguloSettingsAttributes!, $teamId: Int) {
9892  activateOgulo(settings: $settings, teamId: $teamId) {
9893    shop {
9894      id
9895      oguloEnabled
9896      oguloWebhookConfigured
9897    }
9898  }
9899}
9900    `),rh=new b(`
9901    mutation DeactivateOgulo($teamId: Int) {
9902  deactivateOgulo(teamId: $teamId) {
9903    shop {
9904      id
9905      oguloEnabled
9906      oguloWebhookConfigured
9907    }
9908  }
9909}
9910    `),ah=new b(`
9911    mutation UpdateTeamOguloSettings($id: Int!, $attributes: TeamAttributes!) {
9912  updateTeam(id: $id, attributes: $attributes) {
9913    id
9914    oguloAutoCreate
9915    oguloAutoCreateStatusId
9916    oguloApiKeyConfigured
9917    oguloCompanyId
9918    oguloWebhookConfigured
9919  }
9920}
9921    `),oh=new b(`
9922    mutation UpdateShopOguloSettings($attributes: ShopAttributes!) {
9923  updateShop(attributes: $attributes) {
9924    id
9925    oguloAutoCreate
9926    oguloAutoCreateStatusId
9927    oguloApiKeyConfigured
9928    oguloWebhookConfigured
9929  }
9930}
9931    `),sh=new b(`
9932    mutation LogIntegrationConsentDecline($integrationId: String!, $consentVersion: String!) {
9933  logIntegrationConsentDecline(
9934    input: {integrationId: $integrationId, consentVersion: $consentVersion}
9935  ) {
9936    success
9937  }
9938}
9939    `),lh=new b(`
9940    query EA48ActionRequiredMessages($propertyId: String!) {
9941  messages(
9942    params: {property: $propertyId, onlyWithSender: "[email protected]", page: 1, per: 25, order: "desc"}
9943  ) {
9944    data {
9945      id
9946      flags
9947    }
9948  }
9949}
9950    `),dh=new b(`
9951    mutation ConfirmEA48Reorder($propertyId: Int!, $orderId: String!) {
9952  confirmEa48Reorder(input: {propertyId: $propertyId, orderId: $orderId}) {
9953    success
9954    documentAvailable
9955  }
9956}
9957    `),ch=new b(`
9958    mutation DestroyInvoice($id: Int!) {
9959  destroyInvoice(id: $id) {
9960    ok
9961  }
9962}
9963    `),uh=new b(`
9964    mutation InvoicePreview($propertyId: Int!) {
9965  invoicePreview(input: {propertyId: $propertyId}) {
9966    payload {
9967      propertyId
9968      propertyName
9969      currency
9970      realizedPrice
9971      realizedRent
9972      realizedCommissionableRent
9973      baseRent
9974      parkingSpacePrice
9975      soldPrice
9976      price
9977      notarizationDate
9978      invoiceDate
9979      paymentTermDays
9980      outputFormat
9981      customHint
9982      property {
9983        address
9984        marketingType
9985        marketingTypeLabel
9986      }
9987      commissionBlocks {
9988        role
9989        total
9990        basis
9991        percentage
9992      }
9993      recipients {
9994        clientId
9995        role
9996        name
9997        address
9998        emails
9999      }
10000      splits {
10001        clientId
10002        role
10003        mode
10004        value
10005        fractionNumerator
10006        fractionDenominator
10007        paymentTermDays
10008        description
10009        positions {
10010          id
10011          type
10012          description
10013          amount
10014          quantity
10015          vatPercent
10016        }
10017      }
10018      existingInvoice {
10019        provider
10020        status
10021        sourceInvoiceIds
10022      }
10023    }
10024  }
10025}
10026    `),ph=new b(`
10027    mutation DownloadInvoiceCsv($invoiceId: Int!) {
10028  downloadInvoiceCsv(invoiceId: $invoiceId) {
10029    csvContent
10030    errors
10031  }
10032}
10033    `),mh=new b(`
10034    mutation ConnectItsmydata {
10035  connectItsmydata {
10036    shop {
10037      itsmydataConnected
10038    }
10039  }
10040}
10041    `),hh=new b(`
10042    mutation DisconnectItsmydata {
10043  disconnectItsmydata {
10044    shop {
10045      itsmydataConnected
10046    }
10047  }
10048}
10049    `),fh=new b(`
10050    mutation ActivateItsmydataBroker {
10051  activateItsmydataBroker {
10052    broker {
10053      itsmydataClientId
10054    }
10055  }
10056}
10057    `),gh=new b(`
10058    mutation DisconnectItsmydataBroker {
10059  disconnectItsmydataBroker {
10060    broker {
10061      itsmydataClientId
10062    }
10063  }
10064}
10065    `),yh=new b(`
10066    query LocationsList {
10067  shop {
10068    locations {
10069      id
10070      name
10071      parentLocationId
10072    }
10073  }
10074}
10075    `),bh=new b(`
10076    query Mailboxes {
10077  broker {
10078    availableInboxes {
10079      id
10080      name
10081      internalName
10082      email
10083      smartFolders {
10084        id
10085        name
10086        color
10087      }
10088      mailboxFolders {
10089        id
10090        parentId
10091        label
10092        path
10093      }
10094    }
10095    availableOutboxes {
10096      id
10097      name
10098      internalName
10099      email
10100      signature
10101    }
10102  }
10103}
10104    `),vh=new b(`
10105    mutation TranslateMediaImageTitles($resourceId: Int!, $resourceType: String!, $targetLocale: String!) {
10106  translateImageTitles(
10107    resourceId: $resourceId
10108    resourceType: $resourceType
10109    targetLocale: $targetLocale
10110  ) {
10111    translatedCount
10112    skippedEmpty
10113    skippedExisting
10114    skippedTooLong
10115    skippedChanged
10116    failed
10117  }
10118}
10119    `),Ih=new b(`
10120    mutation BuildSearchProfileMessage($input: BuildMessageInput!) {
10121  buildMessage(input: $input) {
10122    message {
10123      id
10124      subject
10125      body
10126      brokerId
10127      accessBrokerIds
10128      accessDepartmentIds
10129      cancellationPolicyOn
10130      to {
10131        email
10132        name
10133        clientId
10134      }
10135      cc {
10136        email
10137        name
10138        clientId
10139      }
10140      bcc {
10141        email
10142      }
10143      referencedClient {
10144        id
10145      }
10146      eventId
10147      eventConfirmation
10148      viewingId
10149      repliedMessageId
10150      forwardedMessageId
10151      messageCategoryId
10152      messageTemplateId
10153      propertyIds
10154      projectIds
10155      messageAttachments {
10156        id
10157        name
10158        url
10159        fileSize
10160      }
10161      policyId
10162      sendAsPdf
10163      skipAttachingIcsFile
10164      campaignClientIds
10165      campaignClientFilter
10166      groupIds
10167      ignoreContactAcceptance
10168      signature
10169      withExistingDeals
10170    }
10171  }
10172}
10173    `),Ch=new b(`
10174    mutation UpsertMessageDraft($messageId: Int, $attributes: MessageAttributes!) {
10175  upsertMessageDraft(messageId: $messageId, attributes: $attributes) {
10176    id
10177  }
10178}
10179    `),Sh=new b(`
10180    mutation SendMessageDraft($messageId: Int!) {
10181  sendMessageDraft(messageId: $messageId) {
10182    id
10183  }
10184}
10185    `),_h=new b(`
10186    mutation UpsertSearchProfileMassMailDraft($messageId: Int, $attributes: MessageAttributes!, $payload: JSON!) {
10187  upsertSearchProfileMassMailDraft(
10188    messageId: $messageId
10189    attributes: $attributes
10190    payload: $payload
10191  ) {
10192    id
10193    searchProfileMassMail
10194  }
10195}
10196    `),kh=new b(`
10197    mutation PreviewSearchProfileMassMailDraft($messageId: Int!, $savedQueryId: Int!) {
10198  previewSearchProfileMassMailDraft(
10199    messageId: $messageId
10200    savedQueryId: $savedQueryId
10201  ) {
10202    body
10203    subject
10204  }
10205}
10206    `),Th=new b(`
10207    mutation SendSearchProfileMassMailDraft($messageId: Int!) {
10208  sendSearchProfileMassMailDraft(messageId: $messageId) {
10209    id
10210  }
10211}
10212    `),wh=new b(`
10213    mutation ValidateTaggedDocuments($propertyIds: [Int!]!, $tags: [String!]!) {
10214  validateTaggedDocuments(propertyIds: $propertyIds, tags: $tags) {
10215    missingDocuments
10216  }
10217}
10218    `),Fh=new b(`
10219    query MicrositesPlaceholders {
10220  shop {
10221    current: micrositePlaceholders
10222    de: micrositePlaceholders(locale: "de")
10223    en: micrositePlaceholders(locale: "en")
10224    es: micrositePlaceholders(locale: "es")
10225    hu: micrositePlaceholders(locale: "hu")
10226  }
10227}
10228    `),Ph=new b(`
10229    query OnboardingStatus {
10230  onboardingStatus {
10231    completedCount
10232    totalCount
10233    percent
10234    allDone
10235    items {
10236      key
10237      group
10238      done
10239      ctaPath
10240      blocked
10241      blockedBy
10242      skippable
10243      skipped
10244    }
10245  }
10246}
10247    `),Ah=new b(`
10248    query OnboardingIndex {
10249  onboardingIndex {
10250    score
10251    band
10252    setup
10253    depth
10254    activity
10255    value
10256  }
10257}
10258    `),$h=new b(`
10259    mutation SetOnboardingWebinarAttendance($key: String!, $attended: Boolean!) {
10260  setOnboardingWebinarAttendance(key: $key, attended: $attended) {
10261    onboardingStatus {
10262      completedCount
10263      totalCount
10264      percent
10265      allDone
10266      items {
10267        key
10268        group
10269        done
10270        ctaPath
10271        blocked
10272        blockedBy
10273        skippable
10274        skipped
10275      }
10276    }
10277  }
10278}
10279    `),Rh=new b(`
10280    mutation SkipOnboardingItem($key: String!, $skipped: Boolean!) {
10281  skipOnboardingItem(key: $key, skipped: $skipped) {
10282    onboardingStatus {
10283      completedCount
10284      totalCount
10285      percent
10286      allDone
10287      items {
10288        key
10289        group
10290        done
10291        ctaPath
10292        blocked
10293        blockedBy
10294        skippable
10295        skipped
10296      }
10297    }
10298  }
10299}
10300    `),Dh=new b(`
10301    query OnpreoIframeUrl {
10302  shop {
10303    onpreoIframeBaseUrl
10304  }
10305}
10306    `),Nh=new b(`
10307    query OnpreoShopApiKeys {
10308  shop {
10309    apiKeys {
10310      id
10311      category
10312    }
10313  }
10314}
10315    `),Oh=new b(`
10316    mutation ActivateOnpreo {
10317  activateOnpreo {
10318    mandateStatus
10319    provisioningError
10320  }
10321}
10322    `),Eh=new b(`
10323    mutation ArchiveProject($id: Int!) {
10324  archiveProject(id: $id) {
10325    id
10326    archived
10327  }
10328}
10329    `),Mh=new b(`
10330    mutation UnarchiveProject($id: Int!) {
10331  unarchiveProject(id: $id) {
10332    id
10333    archived
10334  }
10335}
10336    `),Vh=new b(`
10337    query PropertyUnitQuickview($id: ID!) {
10338  property(id: $id) {
10339    id
10340    updatedAt
10341    brokerId
10342    brokerIds
10343    departmentIds
10344    propertyStatusId
10345    unitId
10346    note
10347    warningNotice
10348    archived
10349    courtage
10350    marketingType
10351    objectType
10352    rsType
10353    rsCategory
10354    country
10355    rented
10356    freeFrom
10357    floor
10358    floorPosition
10359    buildingPart
10360    customFields
10361    relationships {
10362      id
10363      name
10364      internalName
10365      relatedClientId
10366      relatedClient {
10367        id
10368        name
10369        email
10370        path
10371        phone
10372        company
10373      }
10374      project {
10375        id
10376        name
10377      }
10378    }
10379    publishings {
10380      id
10381      publishDate
10382    }
10383    parentId
10384    forkId
10385    inheritanceFieldOverrides
10386    aggregatedRsTypes
10387    receivedViaMls
10388    childrenCount
10389    officeSpace
10390    officeSpaceMin
10391    officeSpaceTotal
10392    officeRentPerSqmFrom
10393    officeRentPerSqmTo
10394    officeAdditionalCostsPerSqmFrom
10395    officeAdditionalCostsPerSqmTo
10396    retailSpace
10397    retailSpaceMin
10398    retailSpaceTotal
10399    retailRentPerSqmFrom
10400    retailRentPerSqmTo
10401    retailAdditionalCostsPerSqmFrom
10402    retailAdditionalCostsPerSqmTo
10403    gastroSpace
10404    gastroSpaceMin
10405    gastroSpaceTotal
10406    gastroRentPerSqmFrom
10407    gastroRentPerSqmTo
10408    gastroAdditionalCostsPerSqmFrom
10409    gastroAdditionalCostsPerSqmTo
10410    storageSpace
10411    storageSpaceMin
10412    storageSpaceTotal
10413    storageRentPerSqmFrom
10414    storageRentPerSqmTo
10415    storageAdditionalCostsPerSqmFrom
10416    storageAdditionalCostsPerSqmTo
10417    mezzanineSpace
10418    mezzanineSpaceMin
10419    mezzanineSpaceTotal
10420    mezzanineRentPerSqmFrom
10421    mezzanineRentPerSqmTo
10422    openSpace
10423    openSpaceMin
10424    openSpaceTotal
10425    openRentPerSqmFrom
10426    openRentPerSqmTo
10427    serviceSpace
10428    serviceSpaceMin
10429    serviceSpaceTotal
10430    serviceRentPerSqmFrom
10431    serviceRentPerSqmTo
10432    archiveSpace
10433    archiveSpaceMin
10434    archiveSpaceTotal
10435    archiveSpaceRentPerSqmFrom
10436    archiveSpaceRentPerSqmTo
10437  }
10438}
10439    `),Lh=new b(`
10440    mutation UpdateProperty($id: Int!, $attributes: PropertyAttributes!, $locale: String, $skipVersion: Boolean = false) {
10441  updateProperty(
10442    id: $id
10443    attributes: $attributes
10444    locale: $locale
10445    skipVersion: $skipVersion
10446  ) {
10447    id
10448    updatedAt
10449  }
10450}
10451    `),Bh=new b(`
10452    mutation ArchiveProperty($id: Int!) {
10453  archiveProperty(id: $id) {
10454    id
10455    archived
10456  }
10457}
10458    `),Uh=new b(`
10459    mutation UnarchiveProperty($id: Int!) {
10460  unarchiveProperty(id: $id) {
10461    id
10462    archived
10463  }
10464}
10465    `),qh=new b(`
10466    mutation CopyProperties($ids: [Int!]!) {
10467  copyProperties(ids: $ids) {
10468    id
10469  }
10470}
10471    `),xh=new b(`
10472    mutation UpdatePropertiesStatus($ids: [Int!]!, $propertyStatusId: Int!) {
10473  updatePropertiesStatus(ids: $ids, propertyStatusId: $propertyStatusId) {
10474    id
10475    propertyStatusId
10476  }
10477}
10478    `),zh=new b(`
10479    mutation UpdatePropertiesBroker($ids: [Int!]!, $brokerId: Int!) {
10480  updatePropertiesBroker(ids: $ids, brokerId: $brokerId) {
10481    id
10482    brokerId
10483  }
10484}
10485    `),Gh=new b(`
10486    mutation UpdatePropertyRented($id: Int!, $rented: Boolean!) {
10487  updateProperty(id: $id, attributes: {rented: $rented}) {
10488    id
10489    rented
10490  }
10491}
10492    `),jh=new b(`
10493    mutation UpdatePropertyFreeFrom($id: Int!, $freeFrom: String!) {
10494  updateProperty(id: $id, attributes: {freeFrom: $freeFrom}) {
10495    id
10496    freeFrom
10497  }
10498}
10499    `),Hh=new b(`
10500    query ProppiPersonalization {
10501  shop {
10502    proppiPersonalization
10503  }
10504}
10505    `),Wh=new b(`
10506    mutation UpdateProppiPersonalization($attributes: ShopAttributes!) {
10507  updateShop(attributes: $attributes) {
10508    proppiPersonalization
10509  }
10510}
10511    `),Kh=new b(`
10512    query ProppiSkills {
10513  shop {
10514    proppiSkills {
10515      id
10516      title
10517      description
10518      visibility
10519      updatedAt
10520    }
10521  }
10522}
10523    `),Yh=new b(`
10524    query ProppiUsageMonthToDate {
10525  shop {
10526    proppiUsageMonthToDate {
10527      brokerId
10528      credits
10529    }
10530  }
10531}
10532    `),Qh=new b(`
10533    mutation CreateProppiSkill($attributes: ProppiSkillAttributes!) {
10534  createProppiSkill(attributes: $attributes) {
10535    id
10536    title
10537    description
10538    visibility
10539    updatedAt
10540  }
10541}
10542    `),Zh=new b(`
10543    mutation UpdateProppiSkill($id: Int!, $attributes: ProppiSkillAttributes!) {
10544  updateProppiSkill(id: $id, attributes: $attributes) {
10545    id
10546    title
10547    description
10548    visibility
10549    updatedAt
10550  }
10551}
10552    `),Jh=new b(`
10553    mutation DestroyProppiSkill($id: Int!) {
10554  destroyProppiSkill(id: $id) {
10555    id
10556  }
10557}
10558    `),Xh=new b(`
10559    query BackofficeAssistantChats($page: Int!, $per: Int!) {
10560  backofficeAssistantChats(page: $page, per: $per) {
10561    totalCount
10562    nodes {
10563      id
10564      title
10565      createdAt
10566      lastMessageContent
10567      lastMessageCreatedAt
10568    }
10569  }
10570}
10571    `),ef=new b(`
10572    query BackofficeAssistantChat($id: Int!) {
10573  backofficeAssistantChat(id: $id) {
10574    id
10575    title
10576    turns {
10577      userMessage {
10578        id
10579        content
10580      }
10581      assistantMessage {
10582        id
10583        content
10584        feedback
10585        createdAt
10586        elapsedSeconds
10587        status
10588        progressSteps {
10589          text
10590          source
10591        }
10592        toolCalls {
10593          id
10594          name
10595          label
10596          argumentsSummary
10597          status
10598          startedAt
10599          completedAt
10600          durationMs
10601        }
10602      }
10603    }
10604  }
10605}
10606    `),tf=new b(`
10607    mutation RenameBackofficeAssistantChat($id: Int!, $title: String!) {
10608  renameBackofficeAssistantChat(input: {id: $id, title: $title}) {
10609    chat {
10610      id
10611      title
10612    }
10613  }
10614}
10615    `),nf=new b(`
10616    mutation UpdateBackofficeAssistantMessageFeedback($messageId: Int!, $feedback: BackofficeAssistantMessageFeedback) {
10617  updateBackofficeAssistantMessageFeedback(
10618    messageId: $messageId
10619    feedback: $feedback
10620  ) {
10621    id
10622    feedback
10623  }
10624}
10625    `),rf=new b(`
10626    mutation TranscribeProppiAudio($audioBase64: String!, $mimeType: String!) {
10627  transcribeProppiAudio(audioBase64: $audioBase64, mimeType: $mimeType) {
10628    transcription
10629  }
10630}
10631    `),af=new b(`
10632    query PropvisionReelProperty($id: ID!) {
10633  resource: property(id: $id) {
10634    title
10635    broker {
10636      id
10637      name
10638      email
10639      phone
10640      cell
10641      avatarUrl
10642    }
10643  }
10644}
10645    `),of=new b(`
10646    query PropvisionReelProject($id: Int!) {
10647  resource: project(id: $id) {
10648    title
10649    broker {
10650      id
10651      name
10652      email
10653      phone
10654      cell
10655      avatarUrl
10656    }
10657  }
10658}
10659    `),sf=new b(`
10660    query SocialHubPortals {
10661  shop {
10662    portals {
10663      id
10664      name
10665      format
10666      is24CompanyName
10667    }
10668  }
10669}
10670    `),lf=new b(`
10671    query RealtorProfile($connectionId: Int!) {
10672  portal(id: $connectionId) {
10673    realtorProfile {
10674      profile {
10675        aboutUs {
10676          aboutUs
10677        }
10678        services {
10679          specializations
10680          customSpecializations
10681          operationAreas {
10682            geoId
10683            name
10684          }
10685          wholeGermany
10686          serviceDescriptions
10687        }
10688        contractAddress {
10689          company
10690          street
10691          houseNumber
10692          postcode
10693          city
10694          countryCode
10695        }
10696        companyLogo {
10697          logoId
10698          logoUrl
10699        }
10700        selectedBackgroundImage {
10701          selectedImageId
10702          selectedImageUrl
10703        }
10704        backgroundImages {
10705          uploadedImage {
10706            imageId
10707            url
10708            selected
10709          }
10710        }
10711        documents {
10712          documents {
10713            documentId
10714            fileName
10715            extension
10716            fileSize
10717            url
10718          }
10719        }
10720        openingHours {
10721          openingHours {
10722            dayOfWeek
10723            openingHour
10724            closingHour
10725          }
10726        }
10727        socialMedia {
10728          homepageUrl
10729          facebookUrl
10730          instagramUrl
10731          linkedInUrl
10732          xingUrl
10733        }
10734        showOnProfilePage {
10735          shownOnAgencyProfilePageContacts {
10736            contactId
10737            pictureUrl
10738          }
10739        }
10740        profilePageUrl
10741        testimonials {
10742          testimonials {
10743            testimonialId
10744            testimonial
10745            referrerName
10746            phone {
10747              countryCode
10748              areaCode
10749              subscriberNumber
10750            }
10751            priority
10752          }
10753        }
10754      }
10755    }
10756  }
10757}
10758    `),df=new b(`
10759    query ScoutContacts($connectionId: Int!) {
10760  shop {
10761    scoutContacts(connectionId: $connectionId) {
10762      id
10763      name
10764      position
10765      phoneNumber
10766    }
10767  }
10768}
10769    `),cf=new b(`
10770    query RealtorProfileRatings($connectionId: Int!, $timeRange: RealtorProfileRatingsTimeRange!) {
10771  portal(id: $connectionId) {
10772    realtorProfile {
10773      ratings(timeRange: $timeRange) {
10774        showEvaluations
10775        rating {
10776          timeRange
10777          overall {
10778            averageRating
10779            reviewCount
10780            recommendationPercentage
10781            distribution {
10782              stars
10783              count
10784            }
10785          }
10786          sellerLandlord {
10787            averageRating
10788            reviewCount
10789            recommendationPercentage
10790          }
10791          interestedParty {
10792            averageRating
10793            reviewCount
10794            recommendationPercentage
10795          }
10796        }
10797      }
10798    }
10799  }
10800}
10801    `),uf=new b(`
10802    query RealtorProfileReviews($connectionId: Int!, $page: Int!, $pageSize: Int!) {
10803  portal(id: $connectionId) {
10804    realtorProfile {
10805      reviews(page: $page, pageSize: $pageSize) {
10806        page
10807        pageSize
10808        totalPages
10809        totalCount
10810        sort {
10811          field
10812          direction
10813        }
10814        reviews {
10815          reviewId
10816          reviewType
10817          reviewerName
10818          reviewerInitials
10819          reviewDate
10820          averageRating
10821          recommendation
10822          comment
10823          property {
10824            objectId
10825            objectType
10826            objectTypeLabel
10827            title
10828            address
10829          }
10830          categoryRatings {
10831            key
10832            label
10833            rating
10834          }
10835        }
10836      }
10837    }
10838  }
10839}
10840    `),pf=new b(`
10841    mutation UpdateRealtorProfileAboutUs($input: UpdateRealtorProfileAboutUsInput!) {
10842  updateRealtorProfileAboutUs(input: $input) {
10843    aboutUs {
10844      aboutUs
10845    }
10846  }
10847}
10848    `),mf=new b(`
10849    mutation UpdateRealtorProfileServices($input: UpdateRealtorProfileServicesInput!) {
10850  updateRealtorProfileServices(input: $input) {
10851    services {
10852      specializations
10853      customSpecializations
10854      operationAreas {
10855        geoId
10856        name
10857      }
10858      wholeGermany
10859      serviceDescriptions
10860    }
10861  }
10862}
10863    `),hf=new b(`
10864    mutation UpdateRealtorProfileContractAddress($input: UpdateRealtorProfileContractAddressInput!) {
10865  updateRealtorProfileContractAddress(input: $input) {
10866    contractAddress {
10867      company
10868      street
10869      houseNumber
10870      postcode
10871      city
10872      countryCode
10873    }
10874  }
10875}
10876    `),ff=new b(`
10877    mutation UpdateRealtorProfileOpeningHours($input: UpdateRealtorProfileOpeningHoursInput!) {
10878  updateRealtorProfileOpeningHours(input: $input) {
10879    openingHours {
10880      openingHours {
10881        dayOfWeek
10882        openingHour
10883        closingHour
10884      }
10885    }
10886  }
10887}
10888    `),gf=new b(`
10889    mutation UpdateRealtorProfileSocialMedia($input: UpdateRealtorProfileSocialMediaInput!) {
10890  updateRealtorProfileSocialMedia(input: $input) {
10891    socialMedia {
10892      homepageUrl
10893      facebookUrl
10894      instagramUrl
10895      linkedInUrl
10896      xingUrl
10897    }
10898  }
10899}
10900    `),yf=new b(`
10901    mutation UpdateRealtorProfileShownContacts($input: UpdateRealtorProfileShownContactsInput!) {
10902  updateRealtorProfileShownContacts(input: $input) {
10903    showOnProfilePage {
10904      shownOnAgencyProfilePageContacts {
10905        contactId
10906        pictureUrl
10907      }
10908    }
10909  }
10910}
10911    `),bf=new b(`
10912    mutation UpdateRealtorProfileRatingsVisibility($input: UpdateRealtorProfileRatingsVisibilityInput!) {
10913  updateRealtorProfileRatingsVisibility(input: $input) {
10914    ratings {
10915      showEvaluations
10916    }
10917  }
10918}
10919    `),vf=new b(`
10920    mutation UpdateRealtorProfileTestimonials($input: UpdateRealtorProfileTestimonialsInput!) {
10921  updateRealtorProfileTestimonials(input: $input) {
10922    testimonials {
10923      testimonials {
10924        testimonialId
10925        testimonial
10926        referrerName
10927        phone {
10928          countryCode
10929          areaCode
10930          subscriberNumber
10931        }
10932        priority
10933      }
10934    }
10935  }
10936}
10937    `),If=new b(`
10938    mutation DeleteRealtorProfileDocument($input: DeleteRealtorProfileDocumentInput!) {
10939  deleteRealtorProfileDocument(input: $input) {
10940    success
10941  }
10942}
10943    `),Cf=new b(`
10944    mutation UploadRealtorProfileDocument($input: UploadRealtorProfileDocumentInput!) {
10945  uploadRealtorProfileDocument(input: $input) {
10946    document {
10947      documentId
10948      fileName
10949      extension
10950      fileSize
10951      url
10952    }
10953  }
10954}
10955    `),Sf=new b(`
10956    mutation UploadRealtorProfileBackgroundImage($input: UploadRealtorProfileBackgroundImageInput!) {
10957  uploadRealtorProfileBackgroundImage(input: $input) {
10958    uploadedBackgroundImage {
10959      uploadedImageId
10960      uploadedImageUrl
10961    }
10962  }
10963}
10964    `),_f=new b(`
10965    mutation SelectRealtorProfileBackgroundImage($input: SelectRealtorProfileBackgroundImageInput!) {
10966  selectRealtorProfileBackgroundImage(input: $input) {
10967    selectedBackgroundImage {
10968      selectedImageId
10969      selectedImageUrl
10970    }
10971  }
10972}
10973    `),kf=new b(`
10974    mutation UploadRealtorProfileCompanyLogo($input: UploadRealtorProfileCompanyLogoInput!) {
10975  uploadRealtorProfileCompanyLogo(input: $input) {
10976    companyLogo {
10977      logoId
10978      logoUrl
10979    }
10980  }
10981}
10982    `),Tf=new b(`
10983    query ScoutWaitingListProspects($propertyId: Int!, $connectionId: Int!) {
10984  scoutWaitingListProspects(propertyId: $propertyId, connectionId: $connectionId) {
10985    count
10986    prospects {
10987      ssoId
10988      firstName
10989      lastName
10990      email
10991      imageUrl
10992      isPlus
10993      moveInDate
10994      moveInDetailsType
10995      income
10996      numberOfAdults
10997      numberOfChildren
10998      hasPets
10999      subsidizedHousingPermission
11000      employmentStatus
11001      levelOfEmployment
11002      isContacted
11003      hasExistingConversation
11004      alreadyImported
11005      alreadyAvailableForProperty
11006      archivedInPropstack
11007      selectable
11008      unselectableReason
11009    }
11010  }
11011}
11012    `),wf=new b(`
11013    mutation ImportScoutWaitingListProspects($propertyId: Int!, $connectionId: Int!, $prospectSsoIds: [String!]!) {
11014  importScoutWaitingListProspects(
11015    propertyId: $propertyId
11016    connectionId: $connectionId
11017    prospectSsoIds: $prospectSsoIds
11018  ) {
11019    createdContactIds
11020    reusedContactIds
11021    searchProfileMassMailEntries {
11022      savedQueryId
11023      clientId
11024      clientName
11025      recipientId
11026      toClientIds
11027      ccClientIds
11028    }
11029    skipped {
11030      prospectSsoId
11031      reason
11032    }
11033    failures {
11034      prospectSsoId
11035      message
11036    }
11037  }
11038}
11039    `),Ff=new b(`
11040    query SearchFiltersList($forEntity: String, $workList: Boolean) {
11041  shop {
11042    searchFilters(forEntity: $forEntity, workList: $workList) {
11043      id
11044      name
11045      forEntity
11046      workList
11047      storageType
11048      brokerId
11049      brokerIds
11050      departmentIds
11051      isPublic
11052      mcExportable
11053      mcLastExportedAt
11054      widgetActive
11055      widgetUrl
11056    }
11057  }
11058}
11059    `),Pf=new b(`
11060    query SearchFilterDetail($ids: [Int!], $forEntity: String, $workList: Boolean) {
11061  shop {
11062    searchFilters(ids: $ids, forEntity: $forEntity, workList: $workList) {
11063      id
11064      name
11065      forEntity
11066      workList
11067      params
11068      esFilters
11069      storageType
11070      brokerId
11071      brokerIds
11072      departmentIds
11073      isPublic
11074      mcLastExportedAt
11075      mcExportable
11076      widgetActive
11077      widgetUrl
11078    }
11079  }
11080}
11081    `),Af=new b(`
11082    query WorkLists($forEntity: String!) {
11083  shop {
11084    searchFilters(forEntity: $forEntity, workList: true) {
11085      id
11086      currentCount
11087    }
11088  }
11089}
11090    `),$f=new b(`
11091    query SelectionLists($propertyId: Int!) {
11092  shop {
11093    searchFilters(
11094      forEntity: "for_suggested_clients"
11095      workList: true
11096      propertyId: $propertyId
11097    ) {
11098      id
11099      name
11100      forEntity
11101      workList
11102      params
11103      brokerId
11104      brokerIds
11105      departmentIds
11106      isPublic
11107      currentCount
11108      propertyId
11109      selectionListStatus
11110      createdAt
11111    }
11112  }
11113}
11114    `),Rf=new b(`
11115    mutation PrepareSprengnetterValuationHub($input: PrepareSprengnetterValuationHubInput!) {
11116  prepareSprengnetterValuationHub(input: $input) {
11117    accessToken
11118    assetUrls
11119    realEstate
11120    reportConfig {
11121      companyLogo
11122      profilePicture
11123      primaryColor
11124      contactInformation {
11125        companyName
11126        email
11127        phoneNumber
11128        name
11129        houseNumber
11130        street
11131        town
11132        postCode
11133        website
11134      }
11135    }
11136    images {
11137      url
11138      title
11139      isProfilePicture
11140    }
11141  }
11142}
11143    `),Df=new b(`
11144    mutation GenerateSsoToken($audience: String!) {
11145  generateSsoToken(audience: $audience) {
11146    token
11147  }
11148}
11149    `),Nf=new b(`
11150    query SuperchatTemplates {
11151  shop {
11152    superchatTemplates {
11153      id
11154      name
11155      mapping
11156      header
11157      buttons
11158    }
11159  }
11160}
11161    `),Of=new b(`
11162    mutation PrepareBulkSuperchatMessage($templateId: Int, $clientIds: [Int!]!, $propertyId: Int, $projectId: Int, $customVariables: JSON) {
11163  prepareBulkSuperchatMessage(
11164    templateId: $templateId
11165    clientIds: $clientIds
11166    propertyId: $propertyId
11167    projectId: $projectId
11168    customVariables: $customVariables
11169  ) {
11170    recipients {
11171      id
11172      name
11173      status
11174      reason
11175      retryable
11176      deliveryUnknown
11177    }
11178    preview
11179    header
11180    buttons
11181  }
11182}
11183    `),Ef=new b(`
11184    mutation SendBulkSuperchatMessages($templateId: Int!, $clientIds: [Int!]!, $propertyId: Int, $projectId: Int, $customVariables: JSON) {
11185  sendBulkSuperchatMessages(
11186    templateId: $templateId
11187    clientIds: $clientIds
11188    propertyId: $propertyId
11189    projectId: $projectId
11190    customVariables: $customVariables
11191  ) {
11192    recipients {
11193      id
11194      name
11195      status
11196      reason
11197      retryable
11198      deliveryUnknown
11199    }
11200    sentCount
11201    excludedCount
11202    failedCount
11203  }
11204}
11205    `),Mf=new b(`
11206    mutation CreateInquirySeeker($inquiryId: Int!) {
11207  createInquirySeeker(inquiryId: $inquiryId) {
11208    id
11209    name
11210    path
11211    emails
11212    phone
11213    email
11214  }
11215}
11216    `),Vf=new b(`
11217    query TaskDeals($id: ID!, $date: ISO8601DateTime) {
11218  task(id: $id, date: $date) {
11219    deals {
11220      ...TaskDealFields
11221    }
11222  }
11223}
11224    fragment TaskDealFields on ClientProperty {
11225  id
11226  client {
11227    name
11228    id
11229  }
11230  property {
11231    name
11232    id
11233  }
11234  projectId
11235  dealPipelineId
11236  dealStageId
11237  reasonId
11238  dealStageChance
11239  dealStage {
11240    id
11241    name
11242    color
11243  }
11244}`),Lf=new b(`
11245    query EditTask($id: ID!, $date: ISO8601DateTime) {
11246  task(id: $id, date: $date) {
11247    ...TaskFormFields
11248  }
11249}
11250    fragment TaskFormFields on Task {
11251  id
11252  title
11253  taskStageId
11254  categoryId
11255  brokerId
11256  body
11257  brokerIds
11258  clientIds
11259  propertyIds
11260  projectIds
11261  groupIds
11262  noteAttachments {
11263    id
11264    name
11265    url
11266  }
11267  remindAtInMinutes
11268  createdAt
11269  startsAt
11270  endsAt
11271  allDay
11272  rrule
11273  private
11274  sendReminders
11275  roomResourceEmails
11276  isOnlineMeeting
11277  onlineMeetingUrl
11278  participantEmails
11279  massViewing
11280  slotStep
11281  maxParticipantsPerSlot
11282  viewingReplySnippetId
11283  location
11284  customFields
11285  bufferBefore
11286  bufferAfter
11287  departmentId
11288  viewingCancellationSnippetId
11289  originalDate
11290  previousActivityId
11291  previousActivityType
11292}`),Bf=new b(`
11293    mutation BuildTask($input: BuildTaskInput!) {
11294  buildTask(input: $input) {
11295    task {
11296      ...TaskBuildFormFields
11297    }
11298  }
11299}
11300    fragment TaskBuildFormFields on Task {
11301  title
11302  taskStageId
11303  categoryId
11304  brokerId
11305  body
11306  brokerIds
11307  clientIds
11308  propertyIds
11309  projectIds
11310  groupIds
11311  noteAttachments {
11312    id
11313    name
11314    url
11315  }
11316  remindAtInMinutes
11317  createdAt
11318  startsAt
11319  endsAt
11320  allDay
11321  rrule
11322  private
11323  sendReminders
11324  roomResourceEmails
11325  isOnlineMeeting
11326  onlineMeetingUrl
11327  participantEmails
11328  massViewing
11329  slotStep
11330  maxParticipantsPerSlot
11331  viewingReplySnippetId
11332  location
11333  customFields
11334  bufferBefore
11335  bufferAfter
11336  departmentId
11337  viewingCancellationSnippetId
11338  originalDate
11339  previousActivityId
11340  previousActivityType
11341}`),Uf=new b(`
11342    mutation CreateTask($attributes: TaskAttributes!, $searchFilterId: Int, $massClientIds: [Int!], $massClientFilter: JSON) {
11343  createTask(
11344    attributes: $attributes
11345    searchFilterId: $searchFilterId
11346    massClientIds: $massClientIds
11347    massClientFilter: $massClientFilter
11348  ) {
11349    task {
11350      id
11351    }
11352    followupResourceType
11353  }
11354}
11355    `),qf=new b(`
11356    mutation UpdateTask($id: Int!, $attributes: TaskAttributes!) {
11357  updateTask(id: $id, attributes: $attributes) {
11358    id
11359  }
11360}
11361    `),xf=new b(`
11362    mutation UpdateAppointmentSchedule($appointmentId: Int!, $startsAt: ISO8601DateTime!, $endsAt: ISO8601DateTime!, $occurrenceStartsAt: ISO8601DateTime) {
11363  updateAppointmentSchedule(
11364    appointmentId: $appointmentId
11365    startsAt: $startsAt
11366    endsAt: $endsAt
11367    occurrenceStartsAt: $occurrenceStartsAt
11368  ) {
11369    id
11370  }
11371}
11372    `),zf=new b(`
11373    mutation UpdateAppointmentState($appointmentId: Int!, $state: String!, $occurrenceStartsAt: ISO8601DateTime) {
11374  updateAppointmentState(
11375    appointmentId: $appointmentId
11376    state: $state
11377    occurrenceStartsAt: $occurrenceStartsAt
11378  ) {
11379    followupResourceType
11380  }
11381}
11382    `),Gf=new b(`
11383    mutation ToggleReminderCompletion($reminderId: Int!, $done: Boolean, $decisionOptionId: Int) {
11384  toggleReminderCompletion(
11385    reminderId: $reminderId
11386    done: $done
11387    decisionOptionId: $decisionOptionId
11388  ) {
11389    reminder {
11390      id
11391    }
11392    followupResourceType
11393    showTodoActivitiesScreen
11394  }
11395}
11396    `),jf=new b(`
11397    query TaskClientTrackingEvents($taskId: ID!, $clientId: Int!, $first: Int!, $after: String) {
11398  task(id: $taskId) {
11399    clientTrackingEvents(clientId: $clientId, first: $first, after: $after) {
11400      nodes {
11401        id
11402        actionType
11403        clientId
11404        clientName
11405        content
11406        createdAt
11407        clientPropertyId
11408        propertyName
11409        projectName
11410        messageSubject
11411      }
11412      pageInfo {
11413        hasNextPage
11414        endCursor
11415      }
11416    }
11417  }
11418}
11419    `),Hf=new b(`
11420    query TaskAttentionCounts($attentionFilterSet: JSON!, $overdueFilterSet: JSON!) {
11421  broker {
11422    attentionCount: uncompletedTodos(filterSet: $attentionFilterSet)
11423    overdueCount: uncompletedTodos(filterSet: $overdueFilterSet)
11424  }
11425}
11426    `),Wf=new b(`
11427    query OpenUpgradeRequest {
11428  openUpgradeRequest {
11429    id
11430    plan
11431    seatCount
11432    status
11433    requestedAt
11434  }
11435}
11436    `),Kf=new b(`
11437    mutation RequestUpgrade($plan: String!) {
11438  requestUpgrade(plan: $plan) {
11439    upgradeRequest {
11440      id
11441      plan
11442      status
11443      seatCount
11444    }
11445  }
11446}
11447    `),Yf=new b(`
11448    query Webinars {
11449  webinars {
11450    id
11451    title
11452    introduction
11453    difficulty
11454    topics
11455    host
11456    chargeable
11457    imageSource
11458    startAt
11459    endAt
11460    seatsHint
11461    registrationUrl
11462  }
11463}
11464    `),Qf=new b(`
11465    query WorkflowBuilderViewerConfig {
11466  recipesConfig
11467}
11468    `),Zf=new b(`
11469    query WorkflowBuilderViewerNodeDetails($workflowId: Int!, $nodeId: String!) {
11470  shop {
11471    workflowConfiguration(id: $workflowId) {
11472      nodeDetails(nodeId: $nodeId) {
11473        nodeType
11474        recipe {
11475          id
11476          live
11477          title
11478          triggerType
11479          actionType
11480          changedAttribute
11481          conditions
11482          actionOptions
11483          nextRecipeIds
11484          webhookUrl
11485          createdAt
11486          updatedAt
11487          lastExecutedAt
11488          schedule
11489          scheduleType
11490          viewonly
11491        }
11492        messageCategory {
11493          id
11494          name
11495          displayName
11496          color
11497          hideInReports
11498          nextDealStageId
11499          senders
11500          recipients
11501          keywords
11502          translations {
11503            id
11504            locale
11505            name
11506          }
11507          followupActivities {
11508            ...WorkflowBuilderViewerFollowupActivity
11509          }
11510        }
11511        noteCategory {
11512          id
11513          name
11514          displayName
11515          titleFormula
11516          color
11517          body
11518          hideInReports
11519          hideInActivities
11520          internal
11521          locked
11522          nextPropertyStatusId
11523          nextClientStatusId
11524          nextDealStageId
11525          translations {
11526            id
11527            locale
11528            name
11529          }
11530          createdFollowupActivities {
11531            ...WorkflowBuilderViewerFollowupActivity
11532          }
11533        }
11534        todoCategory {
11535          id
11536          name
11537          displayName
11538          titleFormula
11539          color
11540          body
11541          hideInReports
11542          hideInActivities
11543          internal
11544          locked
11545          taskPipelineId
11546          brokerId
11547          departmentId
11548          reviewerIds
11549          nextPropertyStatusId
11550          nextClientStatusId
11551          nextDealStageId
11552          completedDealStageId
11553          translations {
11554            id
11555            locale
11556            name
11557          }
11558          todos {
11559            title
11560            brokerId
11561            departmentId
11562            dueDate
11563          }
11564          createdFollowupActivities {
11565            ...WorkflowBuilderViewerFollowupActivity
11566          }
11567          completedFollowupActivities {
11568            ...WorkflowBuilderViewerFollowupActivity
11569          }
11570          todoActivities {
11571            id
11572            label
11573            mandatory
11574            activityType
11575            payload {
11576              snippetId
11577              brokerId
11578              noteTypeId
11579              todoTypeId
11580              eventTypeId
11581              reservationReasonId
11582              propertyStatusId
11583              dueDate
11584              departmentId
11585              reviewerIds
11586            }
11587          }
11588        }
11589        eventCategory {
11590          id
11591          name
11592          displayName
11593          titleFormula
11594          publicTitleFormula
11595          color
11596          body
11597          hideInReports
11598          hideInActivities
11599          internal
11600          roomResourceEmails
11601          autosetEventLocation
11602          autosetEventStateTookPlace
11603          showAs
11604          nextPropertyStatusId
11605          nextClientStatusId
11606          nextDealStageId
11607          completedDealStageId
11608          createdDealBrokerId
11609          completedDealBrokerId
11610          translations {
11611            id
11612            locale
11613            name
11614          }
11615          createdFollowupActivities {
11616            ...WorkflowBuilderViewerFollowupActivity
11617          }
11618          completedFollowupActivities {
11619            ...WorkflowBuilderViewerFollowupActivity
11620          }
11621        }
11622        decisionCategory {
11623          id
11624          name
11625          displayName
11626          titleFormula
11627          color
11628          body
11629          hideInReports
11630          hideInActivities
11631          internal
11632          translations {
11633            id
11634            locale
11635            name
11636          }
11637          decisionOptions {
11638            id
11639            name
11640            dealStageId
11641            translations {
11642              id
11643              locale
11644              name
11645            }
11646            followupActivities {
11647              ...WorkflowBuilderViewerFollowupActivity
11648            }
11649          }
11650        }
11651        letterCategory {
11652          id
11653          name
11654          displayName
11655          titleFormula
11656          color
11657          body
11658          hideInReports
11659          hideInActivities
11660          internal
11661          nextPropertyStatusId
11662          nextClientStatusId
11663          nextDealStageId
11664          translations {
11665            id
11666            locale
11667            name
11668          }
11669          createdFollowupActivities {
11670            ...WorkflowBuilderViewerFollowupActivity
11671          }
11672        }
11673        snippet {
11674          id
11675          name
11676          subject
11677          body
11678          brokerId
11679          snippetCategoryId
11680          messageCategoryId
11681          messageTemplateId
11682          cancellationPolicyOn
11683          skipAttachingIcsFile
11684          isPrivate
11685          brokerIds
11686          departmentIds
11687          messageAttachments {
11688            id
11689            name
11690            url
11691          }
11692        }
11693        dealStage {
11694          ...WorkflowBuilderViewerDealStage
11695        }
11696        dealPipeline {
11697          id
11698          name
11699          translations {
11700            id
11701            locale
11702            name
11703          }
11704          brokerIds
11705          departmentIds
11706          excludedClientStatusIds
11707          excludedClientGroupIds
11708          displayedKeyFigures
11709          exclusiveDealStageIds
11710          dealStages {
11711            ...WorkflowBuilderViewerDealStage
11712          }
11713        }
11714      }
11715    }
11716  }
11717}
11718    fragment WorkflowBuilderViewerFollowupActivity on FollowupActivity {
11719  id
11720  activityType
11721  actionType
11722  payload {
11723    snippetId
11724    brokerId
11725    departmentId
11726    dueDate
11727    todoTypeId
11728    eventTypeId
11729    decisionTypeId
11730    cancelationReasonId
11731    messageCategoryId
11732    reviewerIds
11733  }
11734}
11735fragment WorkflowBuilderViewerDealStage on DealStage {
11736  id
11737  name
11738  publicName
11739  title
11740  chance
11741  color
11742  maxAllowance
11743  excludedBrokerIds
11744  nextPropertyStatusId
11745  addPropertyGroupIds
11746  subPropertyGroupIds
11747  nextClientStatusId
11748  addClientGroupIds
11749  subClientGroupIds
11750  nextClientReasonId
11751  transferOfferPriceToProperty
11752  viewonly
11753  dealPipelineId
11754  clientReasonIdExplicitlySet
11755  translations {
11756    id
11757    locale
11758    name
11759    publicName
11760  }
11761  recipes {
11762    id
11763    actionType
11764    actionOptions
11765  }
11766}`),Jf=new b(`
11767    query WorkflowBuilderRevisions($workflowId: Int!) {
11768  shop {
11769    workflowConfiguration(id: $workflowId) {
11770      id
11771      revisions {
11772        id
11773        revisionNumber
11774        source
11775        nodeCount
11776        edgeCount
11777        authorName
11778        createdAt
11779      }
11780    }
11781  }
11782}
11783    `),Xf=new b(`
11784    mutation WorkflowBuilderRestoreRevision($workflowId: Int!, $revisionId: Int!, $lockVersion: Int!) {
11785  restoreWorkflowConfigurationRevision(
11786    workflowConfigurationId: $workflowId
11787    revisionId: $revisionId
11788    lockVersion: $lockVersion
11789  ) {
11790    id
11791    lockVersion
11792    updatedAt
11793  }
11794}
11795    `),eg=new b(`
11796    mutation ExecuteAgent($input: ExecuteAgentInput!) {
11797  executeAgent(input: $input) {
11798    eligible
11799    agentRun {
11800      id
11801      uuid
11802      agentKey
11803      resourceType
11804      resourceId
11805      brokerId
11806      broker {
11807        id
11808        name
11809        initials
11810        color
11811        avatarUrl(size: "small_thumb")
11812      }
11813      targetField
11814      status
11815      executionMode
11816      workflowState
11817      proposals {
11818        id
11819        field
11820        value
11821        confidence
11822        label
11823        explanation
11824        metadata
11825      }
11826      errorCode
11827      errorMessage
11828      applied
11829      startedAt
11830      createdAt
11831    }
11832    prerequisites {
11833      code
11834      message
11835      fieldPath
11836      blocking
11837    }
11838    errors
11839  }
11840}
11841    `),tg=new b(`
11842    mutation ApplyAgentProposal($input: ApplyAgentProposalInput!) {
11843  applyAgentProposal(input: $input) {
11844    ok
11845    agentRun {
11846      id
11847      uuid
11848      agentKey
11849      resourceType
11850      resourceId
11851      brokerId
11852      broker {
11853        id
11854        name
11855        initials
11856        color
11857        avatarUrl(size: "small_thumb")
11858      }
11859      targetField
11860      status
11861      proposals {
11862        id
11863        field
11864        value
11865        confidence
11866        label
11867        explanation
11868        metadata
11869      }
11870      applied
11871      appliedProposalId
11872      appliedAt
11873    }
11874    appliedChanges
11875    errors
11876  }
11877}
11878    `),ng=new b(`
11879    mutation CancelAgentRun($input: CancelAgentRunInput!) {
11880  cancelAgentRun(input: $input) {
11881    ok
11882    agentRun {
11883      id
11884      uuid
11885      agentKey
11886      resourceType
11887      resourceId
11888      brokerId
11889      broker {
11890        id
11891        name
11892        initials
11893        color
11894        avatarUrl(size: "small_thumb")
11895      }
11896      targetField
11897      status
11898      executionMode
11899      workflowState
11900      proposals {
11901        id
11902        field
11903        value
11904        confidence
11905        label
11906        explanation
11907        metadata
11908      }
11909      resultMeta
11910      errorCode
11911      errorMessage
11912      applied
11913      appliedProposalId
11914      appliedAt
11915      startedAt
11916      completedAt
11917      createdAt
11918      updatedAt
11919    }
11920    errors
11921  }
11922}
11923    `),ig=new b(`
11924    query AvailableAgents($resourceType: AgentResource!, $resourceId: ID!, $includeIneligible: Boolean) {
11925  availableAgents(
11926    resourceType: $resourceType
11927    resourceId: $resourceId
11928    includeIneligible: $includeIneligible
11929  ) {
11930    key
11931    title
11932    description
11933    resourceType
11934    targetFields
11935    group {
11936      key
11937      title
11938      order
11939    }
11940    displayOrder
11941    eligible
11942    supportsSync
11943    supportsAsync
11944    optionSchema {
11945      key
11946      type
11947      label
11948      required
11949      defaultValue
11950      enumOptions
11951      maxLength
11952      helpText
11953    }
11954    prerequisites {
11955      code
11956      message
11957      fieldPath
11958      blocking
11959      resolverAgentKey
11960    }
11961  }
11962}
11963    `),rg=new b(`
11964    query AgentRuns($resourceType: AgentResource!, $resourceId: ID!, $agentKey: String, $targetField: String, $limit: Int) {
11965  agentRuns(
11966    resourceType: $resourceType
11967    resourceId: $resourceId
11968    agentKey: $agentKey
11969    targetField: $targetField
11970    limit: $limit
11971  ) {
11972    id
11973    uuid
11974    agentKey
11975    resourceType
11976    resourceId
11977    brokerId
11978    broker {
11979      id
11980      name
11981      initials
11982      color
11983      avatarUrl(size: "small_thumb")
11984    }
11985    targetField
11986    status
11987    executionMode
11988    workflowState
11989    proposals {
11990      id
11991      field
11992      value
11993      confidence
11994      label
11995      explanation
11996      metadata
11997    }
11998    resultMeta
11999    errorCode
12000    errorMessage
12001    applied
12002    appliedProposalId
12003    appliedAt
12004    startedAt
12005    completedAt
12006    createdAt
12007    updatedAt
12008  }
12009}
12010    `),ag=new b(`
12011    query AgentRun($uuid: ID!) {
12012  agentRun(uuid: $uuid) {
12013    id
12014    uuid
12015    agentKey
12016    resourceType
12017    resourceId
12018    brokerId
12019    broker {
12020      id
12021      name
12022      initials
12023      color
12024      avatarUrl(size: "small_thumb")
12025    }
12026    targetField
12027    status
12028    executionMode
12029    workflowState
12030    proposals {
12031      id
12032      field
12033      value
12034      confidence
12035      label
12036      explanation
12037      metadata
12038    }
12039    resultMeta
12040    errorCode
12041    errorMessage
12042    applied
12043    appliedProposalId
12044    appliedAt
12045    startedAt
12046    completedAt
12047    createdAt
12048    updatedAt
12049  }
12050}
12051    `),og=new b(`
12052    query JustOnShopApiKeys {
12053  shop {
12054    apiKeys {
12055      id
12056      name
12057      category
12058      permissions
12059      key
12060      logs {
12061        timestamp
12062        endpoint
12063        timeSpent
12064        httpMethod
12065        statusCode
12066        ipAddress
12067        referrer
12068        params
12069      }
12070    }
12071  }
12072}
12073    `),sg=new b(`
12074    query OnpreoShopApiKeysQuery {
12075  shop {
12076    apiKeys {
12077      id
12078      category
12079    }
12080  }
12081}
12082    `),lg={"\n      query CommissionSplitBrokers {\n        shop {\n          commissionSplitBrokers {\n            id\n            name\n          }\n        }\n      }\n    ":lu,'\n    query chronicDate {\n      chronicDate(prompt: "")\n    }\n  ':du,"\n  query BackofficeAssistantRecommendedPrompts(\n    $contextResourceType: String\n    $contextResourceId: ID\n    $currentPage: String\n  ) {\n    backofficeAssistantRecommendedPrompts(\n      contextResourceType: $contextResourceType\n      contextResourceId: $contextResourceId\n      currentPage: $currentPage\n    ) {\n      id\n      label\n      value\n    }\n  }\n":cu,"\n      query FindriveSnippetCategories {\n        shop {\n          snippetCategories {\n            id\n            name\n            snippets(forCurrentBroker: true) {\n              id\n              name\n              subject\n            }\n          }\n        }\n      }\n    ":uu,"\n      query InvestmentUnitsTable($id: ID!) {\n        property(id: $
12082id) {\n          children {\n            id\n            propertyStatusId\n            floor\n            renter\n            usableFloorSpace\n            rentalIncome\n            freeFrom\n            archived\n            propertyStatus {\n              disableExposeLandingPage\n            }\n          }\n        }\n      }\n    ":pu,"\n      query RentalUnitsTable($id: ID!) {\n        property(id: $id) {\n          children {\n            id\n            propertyStatusId\n            floor\n            rsTypeLabel\n            minDivisible\n            usableFloorSpace\n            price\n            baseRent\n            totalRent\n            marketingType\n            archived\n            propertyStatus {\n              disableExposeLandingPage\n            }\n          }\n        }\n      }\n    ":mu,"\n  mutation SetAggregationOverride($propertyId: ID!, $fieldName: String!) {\n    setAggregationOverride(propertyId: $propertyId, fieldName: $fieldName) {\n      id\n      aggregationFieldOverrides\n      updatedAt\n    }\n  }\n":hu,"\n  mutation ClearAggregationOverride($propertyId: ID!, $fieldName: String!) {\n    clearAggregationOverride(propertyId: $propertyId, fieldName: $fieldName) {\n      id\n      aggregationFieldOverrides\n      aggregationValue(fieldName: $fieldName)\n      updatedAt\n    }\n  }\n":fu,"\n        mutation RecalculatePropertyAggregations($propertyId: Int!) {\n          recalculatePropertyAggregations(propertyId: $propertyId) {\n            id\n          }\n        }\n      ":Ga,"\n            mutation DetachPropertyFromParent($propertyId: Int!) {\n              detachPropertyFromParent(propertyId: $propertyId) {\n                id\n              }\n            }\n          ":ja,"\n        query InheritFieldsChildren($id: ID!) {\n          property(id: $id) {\n            children {\n              id\n              name\n            }\n          }\n        }\n      ":gu,"\n        mutation InheritParentFieldsToChildren($propertyId: Int!, $fieldKeys: [String!]!, $childIds: [Int!]) {\n          inheritParentFieldsToChildren(propertyId: $propertyId, fieldKeys: $fieldKeys, childIds: $childIds) {\n            id\n          }\n        }\n      ":Ha,"\n  mutation DeactivateFieldInheritance($propertyId: Int!, $fieldKey: String!) {\n    deactivateFieldInheritance(propertyId: $propertyId, fieldKey: $fieldKey) {\n      id\n      inheritanceFieldOverrides\n      updatedAt\n    }\n  }\n":yu,"\n  mutation ReactivateFieldInheritance($propertyId: Int!, $fieldKey: String!) {\n    reactivateFieldInheritance(propertyId: $propertyId, fieldKey: $fieldKey) {\n      id\n      title\n      inheritanceFieldOverrides\n      updatedAt\n      customFields\n      relationships {\n        id\n        name\n        internalName\n        relatedClientId\n        relationshipCategoryId\n        relatedClient {\n          id\n          name\n          email\n          path\n          phone\n          company\n        }\n      }\n    }\n  }\n":bu,"\n  mutation DiscardProperties($input: DiscardPropertiesInput!) {\n    discardProperties(input: $input) {\n      ok\n      errors\n    }\n  }\n":vu,"\n        query FetchPropertyParent($propertyId: ID!) {\n          property(id: $propertyId) {\n            parentId\n            parentProperty {\n              id\n              name\n              titleImageUrl\n              published\n              marketingTypeLabel\n              rsTypeLabel\n              categoryLabel\n            }\n            childrenCount\n          }\n        }\n      ":Iu,"\n        query FetchPropertyForks($propertyId: ID!) {\n          property(id: $propertyId) {\n            forks {\n              id\n              name\n              archived\n              titleImageUrl\n              published\n              marketingTypeLabel\n              rsTypeLabel\n              categoryLabel\n            }\n            forked {\n              id\n              name\n              titleImageUrl\n              published\n              marketingTypeLabel\n              rsTypeLabel\n              categoryLabel\n            }\n            forkId\n          }\n        }\n      ":Cu,"\n  query AcademyProgress {\n    academyProgress {\n      completedCount\n      totalCount\n      percent\n      allDone\n      modules {\n        key\n        completedCount\n        totalCount\n        allDone\n        lessons {\n          id\n          key\n          videoUrl\n          durationSeconds\n          done\n        }\n      }\n    }\n  }\n":Su,"\n  mutation CompleteAcademyLesson($lessonId: ID!, $completed: Boolean!) {\n    completeAcademyLesson(lessonId: $lessonId, completed: $completed) {\n      lesson {\n        id\n        key\n        done\n      }\n    }\n  }\n":_u,"\n    mutation RotateApiKey($id: Int!) {\n      rotateApiKey(id: $
12082id) {\n        apiKey {\n          id\n          name\n          category\n          permissions\n        }\n        key\n      }\n    }\n  ":ku,"\n  mutation LaunchBackboneSession($propertyId: Int!, $consent: Boolean!) {\n    launchBackboneSession(propertyId: $propertyId, consent: $consent) {\n      iframeUrl\n    }\n  }\n":Tu,"\n  query BackboneConsent {\n    shop {\n      backboneConsentCurrent\n    }\n  }\n":wu,"\n  query BackboneOrders($propertyId: ID!) {\n    property(id: $propertyId) {\n      id\n      backboneOrders {\n        id\n        externalOrderId\n        status\n        currentStep\n        maxSteps\n        placedAt\n        lastEventAt\n        createdAt\n        backboneAssignments {\n          id\n          product\n          status\n          scheduledAt\n          estimatedDeliveryAt\n          actionRequired\n        }\n      }\n    }\n  }\n":Fu,"\n  mutation LaunchBackboneStatusCardSession($propertyId: Int!, $externalOrderId: String!, $consent: Boolean!) {\n    launchBackboneStatusCardSession(propertyId: $propertyId, externalOrderId: $externalOrderId, consent: $consent) {\n      iframeUrl\n    }\n  }\n":Pu,"\n  mutation CancelBackofficeAssistantRun($runUuid: String!) {\n    cancelBackofficeAssistantRun(runUuid: $runUuid) {\n      accepted\n    }\n  }\n":Au,"\n  mutation RequestItsmydataCreditCheck($clientId: Int!, $productType: String!) {\n    requestItsmydataCreditCheck(clientId: $clientId, productType: $productType) {\n      id\n      itsmydataRequestStatus\n      itsmydataProductType\n      itsmydataRequestedAt\n    }\n  }\n":$u,"\n  mutation UpgradeClient($id: Int!) {\n    upgradeClient(id: $id) {\n      id\n    }\n  }\n":Ru,"\n  query DefaultClientColumns {\n    shop {\n      customColumnPresetForClients\n    }\n  }\n":Du,"\n  query SuggestedClients($propertyId: Int!, $params: JSON!) {\n    suggestedClients(propertyId: $propertyId, params: $params) {\n      data {\n        id\n        itemId\n        name\n        salutation\n        phone\n        email\n        dob\n        locked\n        keepDataTill\n        gdprStatus\n        clientReasonId\n        lastContactAt\n        createdAt\n        brokerId\n        secondBrokerId\n        creatorId\n        teamId\n        relationship\n        children {\n          name\n        }\n        acceptContact\n        followupDate\n        propertyMailingWanted\n        newsletter\n        warningNotice\n        perfectMatch\n        matchedQueries\n        clientSourceId\n        clientStatusId\n        groupIds\n        homeAddress\n        homeCity\n        homeCountry\n        homeUrl\n        homePhone\n        homeCell\n        officeAddress\n        company\n        position\n        officeCity\n        officeCountry\n        rating\n        score\n        deals {\n          dealStageId\n          propertyId\n          startDate\n        }\n        customFields\n        savedQueries {\n          id\n          active\n          locationIds\n          cities\n          marketingType\n          rsTypes\n          rsTypeLabels\n          categoryLabels\n          price\n          priceTo\n          baseRent\n          baseRentTo\n          livingSpace\n          livingSpaceTo\n          plotArea\n          plotAreaTo\n          totalFloorSpace\n          totalFloorSpaceTo\n          netFloorSpace\n          netFloorSpaceTo\n          industrialArea\n          numberOfRooms\n          numberOfRoomsTo\n          numberOfBedrooms\n          numberOfBedroomsTo\n          rented\n          note\n          publicNote\n          updatedAt\n          updaterId\n          createdAt\n          brokerId\n          teamId\n          recipientId\n          toClientIds\n          ccClientIds\n          clientTouchedAt\n          sortedOutPropertyIds\n          creator {\n            id\n            name\n            initials\n          }\n          fromTipster\n        }\n      }\n      meta {\n        totalCount\n      }\n    }\n  }\n":Nu,"\n  query ClientForm($id: ID!) {\n    client(id: $id) {\n      ...ClientFormFields\n    }\n  }\n":Ou,"\n  query Client($id: ID!) {\n    client(id: $id) {\n      ...SharedCl
12082ientQuery\n      parentId\n      homeCell\n      intlPhone\n      clientAddresses {\n        value\n        label\n        intl\n      }\n      relatedClients {\n        id\n        name\n      }\n      commercial\n      clientStatusId\n      score\n      archived\n      locked\n      duplicateClientIds\n      warningNotice\n      contactSyncErrorMessage\n      formattedClientData\n      clientSyncBrokerIds\n      validatedContactData\n      invalidatedContactData\n      savedQueriesCount\n      dealsCount\n      documentsCount\n      oldCrmId\n      dob\n      brokerIds\n      departmentIds\n      children {\n        ...SharedClientQuery\n        tipster {\n          id\n        }\n        wantsToBeTipster\n      }\n      relationships {\n        id\n        name\n        internalName\n        relationshipCategoryId\n        client {\n          id\n          name\n          nonCommercialName\n          company\n        }\n      }\n      tipster {\n        id\n      }\n      wantsToBeTipster\n    }\n  }\n":Eu,"\n  query SuggestedClientsSearchQuery($propertyId: Int!, $params: JSON!) {\n    suggestedClientsQuery(propertyId: $propertyId, params: $params)\n  }\n":Mu,"\n  query SuggestedClientsMailPlan($propertyId: Int!, $params: JSON!, $cursor: String) {\n    suggestedClientsMailPlan(propertyId: $propertyId, params: $params, cursor: $cursor) {\n      entries {\n        savedQueryId\n        clientId\n        clientName\n        recipientId\n        toClientIds\n        ccClientIds\n      }\n      cursor\n    }\n  }\n":Vu,"\n  fragment SharedClientFormFields on Client {\n    id\n    salutation\n    academicTitle\n    firstName\n    lastName\n    teamId\n    homeCell\n    homePhone\n    officeCell\n    officePhone\n    intlHomeCell\n    intlHomePhone\n    emails\n    locale\n    messageSalutation\n    officeUrl\n    homeUrl\n    homeStreet\n    homeHouseNumber\n    homeZipCode\n    homeCity\n    homeCountry\n    propertyMailingWanted\n    company\n    position\n    officeStreet\n    officeHouseNumber\n    officeZipCode\n    officeCity\n    officeCountry\n    homeFax\n    officeFax\n    rating\n    dob\n    birthName\n    birthPlace\n    birthCountry\n    passType\n    identityNumber\n    issuingAuthority\n    taxIdentificationNumber\n    nationality\n    legalForm\n    registerNumber\n    conspicuity\n    matrimonialPropertyScheme\n    equity\n    handoverDate\n    rentDate\n    income\n    mvsigned\n    hvsigned\n    photoUrl\n    clientAddresses {\n      id\n      label\n      value\n      position\n      intl\n    }\n    married\n    matrimonialPropertyScheme\n    spousesConsent\n    bankName\n    bankAccountOwner\n    bankIban\n    bankBic\n    customFields\n    gdprStatus\n    acceptContact\n    itsmydataCreditScore\n    itsmydataValidity\n    itsmydataValidUntil\n    itsmydataProductType\n    itsmydataRequestStatus\n    itsmydataRequestedAt\n    itsmydataIncomeSources\n    itsmydataEmploymentType\n    itsmydataAverageIncome\n    itsmydataRentIncomeRatio\n    itsmydataHouseholdSize\n    itsmydataLandlordReference\n    itsmydataDaysUntilExpiry\n  }\n":Dc,"\n  fragment ClientFormFields on Client {\n    ...SharedClientFormFields\n    commercial\n    clientStatusId\n    clientSourceId\n    groupIds\n    brokerId\n    secondBrokerId\n    description\n    followupDate\n    warningNotice\n    locked\n    archived\n    newsletter\n    propertyMailingWanted\n    clientSyncBrokerIds\n    brokerIds\n    departmentIds\n    keepDataTill\n    clientReasonId\n    projectIds\n    accessBrokerIds\n    accessDepartmentIds\n    inquiryDepartmentId\n    mailchimpInterestIds\n    relationships {\n      id\n      name\n      internalName\n      relationshipCategoryId\n      transferClientData\n      client {\n        id\n        name\n        nonCommercialName\n        company\n      }\n      property {\n        id\n        name\n        isVariant\n        archived\n      }\n      project {\n        id\n        name\n      }\n    }\n    children {\n      ...SharedClientFormFields\n    }\n    updatedAt\n    tipster {\n      commission\n      commission_percentage: commissionPercentage\n    }\n  }
12082\n":Nc,"\n  fragment SharedClientQuery on Client {\n    id\n    name\n    nonCommercialName\n    firstName\n    lastName\n    email\n    itemId\n    brokerId\n    company\n    photoUrl\n    followupDate\n    phone\n    intlPhone\n    createdAt\n    creatorId\n    updatedAt\n    updaterId\n    lastContactAt\n    acceptContact\n    propertyMailingWanted\n    secondBrokerId\n    gdprStatus\n  }\n":Oc,"\n  query DealsTable($params: DealSearchParams!) {\n    searchDeals(params: $params) {\n      data {\n        id\n        clientId\n        propertyId\n        projectId\n        brokerId\n        brokerIds\n        departmentIds\n        dealStageId\n        lastDealStageId\n        dealStageChance\n        dealPipelineId\n        dealStage {\n          id\n          name\n          color\n          chance\n          dealPipelineId\n        }\n        reasonId\n        clientSourceId\n        teamId\n        feeling\n        soldPrice\n        startDate\n        createdAt\n        updatedAt\n        note\n        financingStatus\n        maxBudget\n        ownCapital\n        householdNetIncomeRange\n        customFields\n        client {\n          id\n          name\n          firstName\n          lastName\n          primaryEmail\n          emails\n          phone\n          homePhone\n          homeCell\n          shortAddress\n          officeAddress\n          company\n          clientStatusId\n          clientSourceId\n          brokerId\n          secondBrokerId\n          brokerIds\n          departmentIds\n          groupIds\n          lastContactAt\n          rating\n          score\n          acceptContact\n          gdprStatus\n          archived\n          locked\n          deletedAt\n          itsmydataCreditScore\n          itsmydataRequestStatus\n          itsmydataValidity\n        }\n        property {\n          name\n          brokerId\n          propertyStatusId\n          marketingStartDate\n          durationFrom\n          durationUntil\n          archived\n        }\n      }\n      meta {\n        totalCount\n      }\n    }\n  }\n":Lu,"\n  mutation AddCommercialPropertyViewGroups($groups: [CommercialDetailViewGroupAttributes!]!, $departmentId: Int) {\n    addCommercialPropertyViewGroups(groups: $groups, departmentId: $departmentId) {\n      detailViewGroups {\n        id\n        configurationKey\n      }\n    }\n  }\n":Bu,"\n  mutation ConnectExtension($extensionId: String!) {\n    connectExtension(input: { extensionId: $extensionId }) {\n      shop {\n        id\n      }\n    }\n  }\n":Uu,"\n  mutation DisconnectExtension($extensionId: String!) {\n    disconnectExtension(input: { extensionId: $extensionId }) {\n      shop {\n        id\n      }\n    }\n  }\n":qu,"\n  fragment FloorScanOrderFields on FloorScanOrder {\n    id\n    propertyId\n    orderRef\n    status\n    lastEvent\n    express\n    mkmPhase\n    manifestState\n    manifestAcceptedAt\n    scanCount\n    address\n    scans {\n      id\n      localScanRef\n      filename\n      displayName\n      areaType\n      usableSpaceType\n      floor\n      location\n      unit\n      captureByteSize\n      archiveByteSize\n      uploadState\n      createdAt\n    }\n    createdAt\n    updatedAt\n  }\n":Ec,"\n  mutation CreateFloorScanOrder(\n    $propertyId: ID!\n    $idempotencyKey: String!\n    $express: Boolean!\n    $scans: [FloorScanInput!]!\n  ) {\n    createFloorScanOrder(propertyId: $propertyId, idempotencyKey: $idempotencyKey, express: $express, scans: $scans) {\n      floorScanOrder {\n        ...FloorScanOrderFields\n      }\n    }\n  }\n":xu,"\n  mutation FinalizeFloorScanUpload($floorScanOrderId: ID!) {\n    finalizeFloorScanUpload(floorScanOrderId: $floorScanOrderId) {\n      floorScanOrder {\n        ...FloorScanOrderFields\n      }\n    }\n  }\n":zu,"\n  query FloorScanOrder($id: ID!) {\n    floorScanOrder(id: $id) {\n      ...FloorScanOrderFields\n    }\n  }\n":Gu,"\n  query FloorScanOrders($propertyId: ID!) {\n    property(id: $propertyId) {\n      id\n      floorScanOrders {\n        ...FloorScanOrderFields\n      }\n    }\n  }\n":ju,"\n  query FranchisePostalCodeLimits {\n    franchisePostalCodeLimits {\n      id\n      country\n      postalCodeFrom\n      postalCodeTo\n      displayRange\n      franchiseeShopId\n    }\n  }\n":Hu,"\n  mutation ReplaceFranchisePostalCodeLimits($franchiseeShopId: Int!, $limits: [FranchisePostalCodeLimitAttributes!]!) {\n    replaceFranchisePostalCodeLimits(franchiseeShopId: $franchiseeShopId, limits: $limits) {\n      limits {\
12082n        id\n        country\n        postalCodeFrom\n        postalCodeTo\n        displayRange\n        franchiseeShopId\n      }\n      overlaps {\n        id\n        displayRange\n        franchiseeShop {\n          id\n          name\n        }\n      }\n    }\n  }\n":Wu,"\n  query FranchisePostalCodeLimitLookup($country: String!, $postalCode: String!) {\n    franchisePostalCodeLimitLookup(country: $country, postalCode: $postalCode) {\n      franchiseeShop {\n        id\n        name\n      }\n      limits {\n        id\n        displayRange\n      }\n    }\n  }\n":Ku,"\n    query UpcomingEventsToday {\n      broker {\n        upcomingEventsToday {\n          id\n          title\n          startsAt\n          endsAt\n          location\n          bufferBefore\n          bufferAfter\n          originalDate\n        }\n      }\n    }\n  ":Yu,"\n  query AutomationsAllRecipes {\n    recipesConfig\n    shop {\n      automationFailureNotificationRecipients\n    }\n    recipes {\n      id\n      live\n      title\n      triggerType\n      actionType\n      changedAttribute\n      conditions\n      actionOptions\n      nextRecipeIds\n      webhookUrl\n      createdAt\n      updatedAt\n      lastExecutedAt\n      schedule\n      scheduleType\n      iterationKey\n      viewonly\n    }\n  }\n":Qu,"\n  query AutomationsActionOptions {\n    shop {\n      brokers {\n        id\n        name\n      }\n      departments {\n        id\n        name\n      }\n      snippets {\n        id\n        name\n      }\n      cancelationReasons {\n        id\n        name\n      }\n      clientGroups {\n        id\n        name\n      }\n      propertyGroups {\n        id\n        name\n      }\n      clientStatuses {\n        id\n        name\n      }\n      clientReasons {\n        id\n        name\n      }\n      clientSources {\n        id\n        name\n      }\n      propertyStatuses {\n        id\n        name\n      }\n      noteCategories {\n        id\n        name\n      }\n      todoCategories {\n        id\n        name\n      }\n      eventCategories {\n        id\n        name\n      }\n      decisionCategories {\n        id\n        name\n        decisionOptions {\n          id\n          name\n        }\n      }\n      dealStages {\n        id\n        name\n      }\n      taskStages {\n        id\n        name\n      }\n      projectStatuses {\n        id\n        name\n      }\n      relationshipPartnerNames {\n        name\n      }\n      superchatTemplates {\n        id\n        name\n      }\n      proppiSkills {\n        id\n        name: title\n      }\n    }\n  }\n":Zu,"\n  query AutomationsRecipeEvents($recipeId: ID!, $per: Int!, $page: Int!) {\n    recipe(id: $recipeId) {\n      recipeEvents(per: $per, page: $page) {\n        nodes {\n          id\n          createdAt\n          error\n          triggerResourceId\n          triggerResourceType\n          actionResourceId\n          actionResourceType\n        }\n      }\n    }\n  }\n":Ju,'\n  query AdminBrokers($page: Int!, $per: Int!, $search: String!, $category: String!) {\n    shop {\n      allLicencesInUse\n      brokers(page: $page, per: $per, search: $search, category: $category) {\n        id\n        name\n        email\n        avatarUrl(size: "small_thumb")\n        internalName\n        active\n        archived\n        blocked\n        initials\n        color\n        admin\n        superAdmin\n        position\n        phone\n        cell\n        availability\n        role\n        connected\n        mfaEnabled\n        hideInDropdowns\n        getReminderEmails\n        allowedIpAddresses\n        teamId\n        accessTeamIds\n      }\n      brokersCount(search: $search, category: $category)\n    }\n  }\n':Xu,'\n  query AdminBrokersCount {\n    shop {\n      active: brokersCount(category: "active")\n      technical: brokersCount(category: "technical")\n      archived: brokersCount(category: "archived")\n      licensed: brokersCount(category: "licensed")\n      all: brokersCount\n    }\n  }\n':ep,"\n  query SearchClients($q: String!, $includeChildren: Boolean!) {\n    searchClients(q: $q, includeChildren: $includeChildren) {\n      data {\n        id\n        name\n        email\n        homePhone\n        homeCell\n        locked\n        relationship\n      }\n    }\n  }\n":tp,"\n  query CommissionSplitClientsDialog($query: String!) {\n    commissionSplitClients(query: $query) {\n      id\n      name\n      email\n      archived\n      locked\n    }\n  }\n":np,"\n  query InvoiceRecipientClients($q: String!, $includeChildren: Boolean!) {\n    searchClients(q: $q, includeChildren: $includeChildren) {\n      data {\n        id\n        name\n        email\n        emails\n        address\n        locked\n      }\n    }\n  }\n":ip,"\n  query CommissionSplits(\n    $sortBy: String!\n    $order: Order\n    $per: Int\n    $page: Int\n    $byBroker: [Int!]\n    $byClient: [Int!]\n    $byName: [String!]\n    $byActor: [String!]\n    $bySplitPosition: [String!]\n    $dateFrom: String\n    $dateTo: String\n  ) {\n    commissionSplits(\n      sortBy: $sortBy\n      order: $order\n      per: $per\n      page: $page\n      byBroker: $byBroker\n      byClient: $byClient\n      byName: $byName\n      byActor: $byActor\n      bySplitPosition: $bySplitPosition\n      dateFrom: $dateFrom\n      dateTo: $dateTo\n    ) {\n      totalCount\n      totals {\n        open\n        paid\n        defaulted\n      }\n      nodes {\n        id\n        name\n        value\n        valueType\n        calculatedValue\n        date\n        actor\n        splitPosition\n        createdAt\n        defaulted\n        client {\n          id\n          name\n        }\n        broker {\n          id\n          name\n        }\n        property {\n          id\n          name\n          totalCommission\n          currency\n        }\n      }\n    }\n  }\n":rp,"\n    query CustomFormTemplates {\n      customFormTemplates {\n        id\n        name\n        imgUrl\n      }\n    }\n  ":ap,"\n  query TipsterDataProcessingConsentTemplate($instanceId: Int) {\n    template: tipsterDataProcessingConsentTemplate(instanceId: $instanceId) {\n      name\n      size\n      updatedAt\n      url\n    }\n  }\n":op,"\n  mutation DeleteTipsterDataProcessingConsentTemplate($instanceId: Int) {\n    deleteTipsterDataProcessingConsentTemplate(instanceId: $instanceId) {\n      success\n    }\n  }\n":sp,"\n  fragment DealFields on ClientProperty {\n    dealPipelineId\n    dealStageId\n    clientId\n    propertyId\n    projectId\n    brokerId\n    brokerIds\n    departmentIds\n    startDate\n    soldPrice\n    feeling\n    clientSourceId\n    note\n    updatedAt\n    customFields\n    teamId\n    departmentIds\n    is24UserProfileUrl\n    buyReason\n    homeOwner\n    employmentStatus\n    numberOfPersons\n    ownCapital\n    householdNetIncomeRange\n    maxBudget\n    searchAdvancePhase\n    financingStatus\n  }\n":Mc,"\n  query DealAlertFormDeal($id: Int!) {\n    shop {\n      clientProperty(id: $
12082id) {\n        id\n        ...DealFields\n        client {\n          id\n          name\n          ...ClientFormFields\n        }\n        property {\n          id\n          name\n          ...PropertyFormFields\n        }\n      }\n    }\n  }\n":lp,"\n  query DealAlertDataQualityAssistants($ids: [Int!]!) {\n    shop {\n      dataQualityAssistants(ids: $ids) {\n        id\n        dealStageId\n        name\n        headline\n        description\n        requiredClientFields\n        requiredPropertyFields\n        requiredDealFields\n      }\n    }\n  }\n":dp,"\n  query DealAlertsByClientPropertyId($id: ID!) {\n    dealAlerts(clientPropertyId: $id) {\n      id\n      data\n    }\n  }\n":cp,"\n  query DuplicatesMergePreview($mainClientId: ID!, $secondClientId: ID!) {\n    duplicatesMergePreview(mainClientId: $mainClientId, secondClientId: $secondClientId)\n  }\n":up,"\n  mutation DuplicatesMergeSubmit(\n    $mainClientId: ID!\n    $secondClientId: ID!\n    $deleteOtherClient: Boolean\n    $fieldResolutions: JSON\n    $dealResolutions: [JSON!]\n    $updatedAtTokens: JSON\n  ) {\n    duplicatesMergeSubmit(\n      mainClientId: $mainClientId\n      secondClientId: $secondClientId\n      deleteOtherClient: $deleteOtherClient\n      fieldResolutions: $fieldResolutions\n      dealResolutions: $dealResolutions\n      updatedAtTokens: $updatedAtTokens\n    ) {\n      ok\n    }\n  }\n":pp,"\n  mutation MarkClientPairAsNotDuplicate($firstClientId: ID!, $secondClientId: ID!) {\n    markClientPairAsNotDuplicate(firstClientId: $firstClientId, secondClientId: $secondClientId) {\n      ok\n    }\n  }\n":mp,"\n    query EA48PropertyAddress($id: ID!) {\n      property(id: $id) {\n        street\n        houseNumber\n        zipCode\n        city\n        region\n        numberOfFloors\n        cellar\n        constructionYear\n        energyCertificateConstructionYear\n        equipmentTechnologyConstructionYear\n        livingSpace\n        heatingType\n        firingTypes\n        energyConsumptionContainsWarmWater\n        documents {\n          documentExtractions {\n            categoryKey\n            status\n            confidenceScore\n            finalData\n            createdAt\n          }\n        }\n      }\n    }\n  ":hp,"\n    query ExtensionApiKey($category: String!) {\n      shop {\n        apiKeys(category: $category) {\n          id\n          name\n          category\n          permissions\n          key\n          logs {\n            timestamp\n            endpoint\n            timeSpent\n            httpMethod\n            statusCode\n            ipAddress\n            referrer\n            params\n          }\n        }\n      }\n    }\n  ":fp,"\n    query CustomFormFieldMapping {\n      customFormFieldMapping {\n        clientFields\n        propertyFields\n        projectFields\n        clientPropertyFields\n        taskFields\n        entityLabels\n      }\n    }\n  ":gp,"\n    query CustomForm($id: ID!) {\n      customForm(id: $id) {\n        id\n        formBuilderConfig\n        title\n      }\n    }\n  ":yp,"\n    query CustomFormRelationshipMapping {\n      customFormRelationshipMapping {\n        internalName\n        name\n      }\n    }\n  ":bp,"\n    query FormDetailCustomForm($formId: ID!) {\n      customForm(id: $formId) {\n        id\n        title\n        description\n        formWidth\n        liveDuration\n        formColor\n        active\n        privacyPolicyText\n        submitButtonText\n        thankYouMessage\n        brokerId\n        snippetId\n        sendSubmissionMessage\n        translations {\n          id\n          locale\n          expiredMessage\n        }\n      }\n    }\n  ":vp,"\n  query FormEntryDetail($id: ID!) {\n    formEntry(id: $id) {\n      id\n      customForm {\n        brokerId\n        title\n      }\n      client {\n        id\n        name\n        email\n      }\n      relatedClients {\n        id\n        name\n        email\n      }\n      entryData\n      createdAt\n      project {\n        id\n        name\n      }\n      task {\n        id\n        title\n      }\n      clientProperty {\n        id\n      }\n      property {\n        id\n        name\n        address\n        city\n      }\n      attachments {\n        id\n        clientId\n        name\n        submissionToken\n        url\n      }\n      watcherBrokerIds\n    }\n  }\n":Ip,"\n  query CustomFormsOverviewQuery {\n    shop {\n      customForms {\n        id\n        title\n        description\n        active\n        totalEntries\n        lastEntryD
12082ate\n      }\n    }\n  }\n":Cp,"\n  query FormResults($id: ID!, $per: Int!, $page: Int!, $sortBy: String!, $order: String!) {\n    customForm(id: $id) {\n      title\n      brokerId\n      formEntries(per: $per, page: $page, sortBy: $sortBy, order: $order) {\n        data {\n          id\n          client {\n            id\n            name\n            email\n          }\n          relatedClients {\n            id\n            name\n            email\n          }\n          entryData\n          createdAt\n          project {\n            id\n            name\n          }\n          clientProperty {\n            id\n          }\n          task {\n            id\n            title\n          }\n          property {\n            id\n            name\n            address\n            city\n          }\n          attachments {\n            id\n            clientId\n            name\n            submissionToken\n            url\n          }\n        }\n        meta {\n          totalCount\n        }\n      }\n    }\n  }\n":Sp,"\n    query IdealistaPreviewExternalData($publishingId: ID!) {\n      publishing(id: $publishingId) {\n        externalData\n      }\n    }\n  ":_p,'\n  mutation CreateSitePlan($input: CreateSitePlanInput!) {\n    createSitePlan(input: $input) {\n      image {\n        id\n        titleDe\n        titleHu\n        titleEn\n        titleEs\n        titleFr\n        titleRu\n        titleIt\n        photoUrl\n        tags\n        bequest\n        token\n        photoUrlThumb: photoUrl(version: "thumb")\n        position\n        tags\n        disableWatermarking\n        isPrivate\n        isFloorplan\n        isNotForExposee\n        connectionIds\n      }\n    }\n  }\n':kp,"\n  mutation SortImages($input: SortImagesInput!) {\n    sortImages(input: $input) {\n      ok\n    }\n  }\n":Tp,"\n    query ImogentProperty($id: ID!) {\n      property(id: $id) {\n        street\n        houseNumber\n        zipCode\n        city\n        name\n      }\n    }\n  ":wp,"\n  query IntegrationPageExtensions {\n    shop {\n      extensions {\n        id\n        enabled\n        canEnable\n        badgeText\n        badgeColor\n        introducedAt\n      }\n    }\n  }\n":Fp,"\n  query LetterTemplateTranslations($id: ID!) {\n    letterTemplate(id: $id) {\n      translations {\n        locale\n        docUrl\n      }\n    }\n  }\n":Pp,"\n  query MailAccountAccessRowBrokers {\n    shop {\n      brokers {\n        id\n        name\n        internalName\n        archived\n        sharedInboxBrokerIds\n        sendingBrokerIds\n        sendingDepartmentIds\n      }\n    }\n  }\n":Ap,"\n  query BrokerSidebarPins {\n    broker {\n      sidebarPins {\n        title\n        modelId\n        modelType\n      }\n    }\n  }\n":$p,"\n  query MessageCounters($brokerIds: [Int!]) {\n    broker {\n      messagesCounter(brokerIds: $brokerIds) {\n        favoritesCount\n        spamCount\n        draftsCount\n        assignedCount\n        unreadInboxCount\n        smartFolderCounts\n      }\n    }\n  }\n":Rp,"\n    query GetOrderData {\n      shop {\n        name\n        street\n        houseNumber\n        zipCode\n        city\n        vatId\n        logoUrl\n        email\n        ceo\n        vatId\n      }\n      broker {\n        firstName\n        lastName\n        email\n        phone\n        salutation\n      }\n    }\n  ":Dp,"\n    fragment FolderFields on Folder {\n      id\n      name\n      sendable\n      lpLiveDuration\n      password\n      ignoreLpBlocked\n      parentId\n      restricted\n      global\n      maxFileSize\n      maxFiles\n      allowedContentTypes\n      description\n      forUpload\n      isPlaceholder\n      documentTags\n      mandatory\n    }\n  ":Vc,"\n    fragment DocumentFields on Document {\n      id\n      url\n      title\n      tags\n      contentType\n      fileSize\n      createdAt\n      isPrivate\n      onLandingPage\n      isExposee\n      isFloorplan\n      aiTagClassificationPending\n      folderId\n      connectionIds\n      uploadedByClient {\n        name\n      }\n      documentExtractions {\n        id\n        categoryKey\n        status\n        confidenceScore\n        extractedData\n        finalData\n        category\n      }\n      bequest\n    }\n  ":Lc,'\n    fragment ImageFields on Image {\n      id\n      title\n      titleDe\n      titleEn\n      titleEs\n      titleFr\n      titleRu\n      titleIt\n      titleHu\n      photoUrl\n      tags\n      bequest\n      token\n      photoUrlThumb: photoUrl(version: "thumb")\n      position\n      disableWatermarking\n      isPrivate\n      isFloorplan\n      isNotForExposee\n      connectionIds\n      aiOriginalImageId\n      aiOperation\n      aiEditOperation\n      aiRoomType\n      aiDesignStyle\n      aiTitleStatus\n      aiTitle\n      aiTitleGeneratedAt\n    }\n  ':Bc,"\n    fragment LinkFields on Link {\n      id\n      url\n      title\n      updatedAt\n      isPrivate\n      onLandingPage\n      isEmbedable\n      pinned\n      tags\n      connectionIds\n      variableName\n    }\n  ":qc,"\n    fragment ProjectCounts on Project {\n      imagesCount(bequestable: true)\n      documentsCount(bequestable: true)\n      linksCount\n    }
12082\n  ":Uc,"\n    fragment ShopTags on Shop {\n      imageTags\n      documentTags\n      linkTags\n      links {\n        ...LinkFields\n      }\n    }\n  ":xc,"\n    query MediaProperty($id: ID!) {\n      resource: property(id: $id) {\n        translatedLocales\n        receivedViaMls\n        folders {\n          ...FolderFields\n        }\n        documents {\n          ...DocumentFields\n        }\n        images(includeProjectImages: false) {\n          ...ImageFields\n        }\n        links {\n          ...LinkFields\n        }\n        project {\n          ...ProjectCounts\n        }\n      }\n      shop {\n        ...ShopTags\n      }\n    }\n  ":Np,"\n    query MediaProject($id: Int!) {\n      resource: project(id: $id) {\n        translatedLocales\n        folders {\n          ...FolderFields\n        }\n        documents {\n          ...DocumentFields\n        }\n        images {\n          ...ImageFields\n        }\n        links {\n          ...LinkFields\n        }\n      }\n      shop {\n        ...ShopTags\n      }\n    }\n  ":Op,"\n    query MediaClient($id: ID!) {\n      resource: client(id: $id) {\n        folders {\n          ...FolderFields\n        }\n        documents {\n          ...DocumentFields\n        }\n      }\n      shop {\n        ...ShopTags\n      }\n    }\n  ":Ep,"\n    query MediaPropertyFolders($id: ID!) {\n      resource: property(id: $id) {\n        folders {\n          ...FolderFields\n        }\n      }\n    }\n  ":Mp,"\n    query MediaProjectFolders($id: Int!) {\n      resource: project(id: $id) {\n        folders {\n          ...FolderFields\n        }\n      }\n    }\n  ":Vp,"\n    query MediaClientFolders($id: ID!) {\n      resource: client(id: $id) {\n        folders {\n          ...FolderFields\n        }\n      }\n    }\n  ":Lp,"\n    query MediaImage($imageId: Int!) {\n      image(id: $imageId) {\n        ...ImageFields\n      }\n    }\n  ":Bp,"\n  fragment MessageProperty on Property {\n    id\n    name\n    marketingType\n    marketingTypeLabel\n    marketingPrice\n    categoryLabel\n    rsTypeLabel\n    zipCode\n    city\n    region\n    country\n    numberOfRooms\n    livingSpace\n    plotArea\n    industrialArea\n    constructionYear\n    price\n    valuationPrice\n    valuationPriceFrom\n    valuationPriceTo\n    baseRent\n    currency\n    titleImageUrl\n    path\n  }\n":zc,"\n  query MessageMarkedAsRead($id: ID!, $markAsRead: Boolean!) {\n    message(id: $id, markAsRead: $markAsRead) {\n      id\n      createdAt\n      oldCrmExternalId\n      sendAt\n      from {\n        name\n        email\n      }\n      to {\n        name\n        email\n      }\n      cc {\n        name\n        email\n      }\n      bcc {\n        name\n        email\n      }\n      referencedClient {\n        id\n        name\n        email\n        path\n      }\n      subject\n      body\n      messageCategory {\n        id\n        name\n        color\n      }\n      clientSource {\n        id\n        name\n      }\n      broker {\n        id\n        name\n        color\n      }\n      brokerId\n      sharedBrokerIds\n      groupIds\n      outgoing\n      lpBlocked\n      accessBrokerIds\n      accessDepartmentIds\n      archived\n      read\n      star\n      spam\n      deletedAt\n      clients {\
12082n        id\n        name\n        path\n        emails\n        phone\n        warningNotice\n        intlPhone\n        companyWithFallback\n      }\n      properties {\n        ...MessageProperty\n      }\n      projects {\n        id\n        name\n        path\n      }\n      messageAttachments {\n        id\n        name\n        url\n        contentType\n      }\n      fromImmoValuation\n      icsEventData\n      externalInviteEventId\n      msMeetingMessageType\n      inviteEvent {\n        id\n        title\n        location\n        startsAt\n        endsAt\n        previousStartsAt\n        previousEndsAt\n        allDay\n        recurring\n        originalDate\n        rsvpStatus\n        participants {\n          name\n          email\n          status\n        }\n      }\n      previousActivity {\n        id\n        name\n        type\n      }\n      nextActivities {\n        id\n        name\n        type\n      }\n      watcherBrokerIds\n      possiblySpoofing\n    }\n  }\n":Up,"\n  query MessageDetailClients($messageId: ID!) {\n    message(id: $messageId) {\n      clients {\
12082n        id\n        name\n        path\n        emails\n        companyWithFallback\n      }\n    }\n  }\n":qp,"\n  mutation UpdateMessageLinks(\n    $messageId: Int!\n    $clientIds: [Int!] = []\n    $propertyIds: [Int!] = []\n    $projectIds: [Int!] = []\n  ) {\n    updateMessageLinks(\n      input: { messageId: $messageId, clientIds: $clientIds, propertyIds: $propertyIds, projectIds: $projectIds }\n    ) {\n      message {\n        clients {\n          id\n          name\n          path\n          emails\n          companyWithFallback\n        }\n        properties {\n          ...MessageProperty\n        }\n        projects {\n          id\n          name\n          path\n        }\n      }\n    }\n  }\n":xp,"\n  query PortalFieldOverrides($id: Int!) {\n    portal(id: $id) {\n      id\n      name\n      apiDefinition\n      fieldOverrides {\n        field\n        formula\n        type\n      }\n    }\n  }\n":zp,"\n  fragment DealStagesFragment on DealStage {\n    id\n    name\n    publicName\n    title\n    chance\n    color\n    maxAllowance\n    excludedBrokerIds\n    nextPropertyStatusId\n    addPropertyGroupIds\n    subPropertyGroupIds\n    nextClientStatusId\n    addClientGroupIds\n    subClientGroupIds\n    nextClientReasonId\n    transferOfferPriceToProperty\n    viewonly\n    dealPipelineId\n    clientReasonIdExplicitlySet\n    translations {\n      id\n      locale\n      name\n      publicName\n    }\n    recipes {\n      id\n      actionType\n      actionOptions\n    }\n  }\n":Gc,"\n  fragment DealPipelinesFragment on DealPipeline {\n    id\n    name\n    translations {\n      name\n      id\n      locale\n    }\n    brokerIds\n    departmentIds\n    excludedClientStatusIds\n    excludedClientGroupIds\n    displayedKeyFigures\n    exclusiveDealStageIds\n    dealStages {\n      ...DealStagesFragment\n    }\n  }\n":jc,"\n    query PipelinesDealStages {\n      shop {\n        dealPipelines {\n          ...DealPipelinesFragment\n        }\n      }\n    }\n  ":Gp,"\n    query Pipelines {\n      shop {\n        dealPipelines {\n          ...DealPipelinesFragment\n        }\n      }\n    }\n  ":jp,"\n    query SinglePipeline($id: Int!) {\n      shop {\n        dealPipeline(id: $id) {\n          ...DealPipelinesFragment\n        }\n      }\n    }\n  ":Hp,"\n  query LocalHeroAvailable($id: Int!) {\n    localHeroAvailable(propertyId: $id) {\n      generally\n      currentlyBooked\n    }\n  }\n":Wp,"\n    query Project($id: Int!) {\n      project(id: $id) {\n        id\n        name\n        brokerId\n        warningNotice\n        status\n        createdAt\n        updatedAt\n        editableByCurrentBroker\n        translatedLocales\n        titleImageUrl\n        propertiesCount\n        forRent\n        archived\n        landingPagePublished\n        slug\n        lpCustomDomain\n        lpFallbackBaseUrl\n        lpShareUrl\n        customColumnsForUnitsTable\n        customColumnsForUnitsPrintTable\n        links {\n          id\n          title\n          url\n          pinned\n        }\n        reportSettings\n        oldCrmId\n        writeDepartmentIds\n        writeBrokerIds\n      }\n    }\n  ":Kp,'\n    query AllProjects(\n      $status: [ProjectStatusEnum!]\n      $sortBy: String!\n      $order: Order!\n      $query: String\n      $per: Int!\n      $page: Int!\n      $archived: Boolean\n    ) {\n      projects(\n        status: $status\n        sortBy: $sortBy\n        order: $order\n        q: $query\n        per: $per\n        page: $page\n        archived: $archived\n      ) {\n        totalCount\n        nodes {\n          id\n          name\n          address\n          propertiesCount\n          writeBrokerIds\n          readBrokerIds\n          status\n          archived\n          forRent\n          createdAt\n          updatedAt\n          titleImage {\n            photoUrl(version: "thumb")\n          }\n          team {\n            id\n            name\n          }\n          owners {\n            id\n            lastName\n          }\n          location {\n            id\n            name\n          }\n        }\n      }\n    }\n  ':Yp,"\n    fragment ProjectFormFieldsFragment on Project {\n      street\n      houseNumber\n      zipCode\n      city\n      region\n      country\n      name\n      status\n      note\n      warningNotice\n      brokerId\n      readBrokerIds\n      writeBrokerIds\n      departmentIds\n      writeDepartmentIds\n      teamId\n      title\n      subHeadline\n      tagline\n      lpPropertyListColumns\n      forRent\n      showUnitsOnLandingPage\n      enableLinkingToUnitsLp\n      landingPageBlocked\n      logoUrl\n      scoutId\n      inquiryDepartmentId\n      lat\n      lng\n      locationId\n      hideAddress\n      cadastralDistrict\n      plotNumber\n      district\n      courtage\n      courtageNote\n      descriptionNote\n      locationNote\n      furnishingNote\n      longDescriptionNote\n      longLocationNote\n      longFurnishingNote\n      energyCertificateAvailability\n      energyCertificateCreationDate\n      energyCertificateStartDate\n      energyCertificateEndDate\n      buildingEnergyRatingType\n      energyEfficiencyClass\n      energyEfficiencyValue\n      thermalCharacteristicElectricity\n      thermalCharacteristicHeating\n      coEmission\n      energyConsumptionContainsWarmWater\n      heatingType\n      firingTypes\n      constructionYear\n      equipmentTechnologyConstructionYear\n      constructionYearUnknown\n      autHwb\n      autHwbClass\n      autFgee\n      autFgeeClass\n      customFields\n      translations {\n        locale\n        courtage\n        courtageNote\n        subHeadline\n        tagline\n        title\n        descriptionNote\n        locationNote\n        furnishingNote\n        longDescriptionNote\n        longLocationNote\n        longFurnishingNote\n      }\n      relationships {\n        id\n        name\n        internalName\n        relatedClientId\n        relatedClient {\n          id\n          name\n          email\n          phone\n          path\n        }\n      }\n      publishings {\n        id\n        portalId\n        publishDate\n        postUrl\n        scoutTicketUrl\n        externalId\n      }\n    }\n  ":Hc,"\n    query ProjectForm($id: Int!) {\n      project(id: $id) {\n        id\n        ...ProjectFormFieldsFragment\n      }\n    }\n  ":Qp,"\n    mutation BuildProject($input: BuildProjectInput!) {\n      buildProject(input: $input) {\n        project {\n          ...ProjectFormFieldsFragment\n        }\n      }\n    }\n  ":Zp,'\n  query AllProjectsList(\n    $status: [ProjectStatusEnum!]\n    $sortBy: String\n    $order: Order\n    $q: String\n    $per: Int\n    $page: Int\n    $archived: Boolean\n  ) {\n    projects(\n      status: $status\n      sortBy: $sortBy\n      order: $order\n      q: $q\n      per: $per\n      page: $page\n      archived: $archived\n    ) {\n      totalCount\n      nodes {\n        id\n        name\n        address\n        propertiesCount\n        writeBrokerIds\n        readBrokerIds\n        status\n        archived\n        forRent\n        createdAt\n        updatedAt\n        titleImage {\n          photoUrl(version: "thumb")\n        }\n        team {\n          id\n          name\n        }\n        owners {\n          id\n          lastName\n        }\n        location {\n          id\n          name\n        }\n      }\n    }\n  }\n':Jp,"\n  query DefaultProjectColumns {\n    shop {\n      customColumnPresetForProjects\n    }\n  }\n":Xp,"\n  query DefaultPropertyColumns {\n    shop {\n      customColumnPresetForProperties\n    }\n  }\n":em,"\n  query PropertyTrash($page: Int!, $per: Int!) {\n    propertyTrash(page: $page, per: $per) {\n      totalCount\n      nodes {\n        id\n        titleImageUrl\n        name\n        address\n        deletedAt\n      }\n    }\n  }\n":tm,"\n  query Property($id: ID!, $includeInvoiceSummary: Boolean!) {\n    property(id: $
12082id) {\n      id\n      exposeeId\n      unitId\n      name\n      groupIds\n      brokerId\n      brokerIds\n      departmentIds\n      creatorId\n      updaterId\n      createdAt\n      updatedAt\n      projectId\n      propertyStatusId\n      titleImageUrl\n      warningNotice\n      systemWarningNotice\n      title\n      descriptionNote\n      locationNote\n      furnishingNote\n      otherNote\n      is24ExportError\n      otherExportError\n      marketingPrice\n      archived\n      published\n      links {\n        id\n        title\n        url\n        pinned\n      }\n      priceChanges {\n        priceWas\n        price\n        brokerId\n        createdAt\n        goneUp\n      }\n      currency\n      valuatable\n      partnerShareUrl\n      lpShareUrl\n      oldCrmId\n      marketingTypeLabel\n      rsType\n      rsTypeLabel\n      categoryLabel\n      translatedLocales\n      marketingType\n      livingSpace\n      price\n      baseRent\n      numberOfRooms\n      groupIds\n      dealAggregations {\n        dealStageId\n        count\n      }\n      universalLink {\n        title\n        url\n      }\n      receivedViaMls\n      originalMlsBroker {\n        name\n        email\n        companyName\n        salutation\n        cell\n        phone\n      }\n      originalMlsBrokerClientId\n      durationUntil\n      durationFrom\n      marketingStartDate\n      forked {\n        id\n        name\n        archived\n      }\n      parentProperty {\n        id\n        name\n        archived\n      }\n      childrenCount\n      forks {\n        id\n        name\n        published\n        titleImageUrl\n        archived\n        createdAt\n      }\n      lat\n      lng\n      scoutId\n      areaUnit\n      locked\n      numberOfFloors\n      invoiceSummary @include(if: $includeInvoiceSummary)\n    }\n  }\n":nm,"\n  query PropertyExport($resourceId: ID!) {\n    property(id: $resourceId) {\n      published\n      scoutId\n      is24ExportError\n      otherExportError\n    }\n  }\n":im,"\n  query UnitDetail($id: ID!) {\n    property(id: $id) {\n      id\n      unitId\n      name\n      title\n      floor\n      floorLabel\n      rsType\n      rsTypeLabel\n      rsCategory\n      marketingType\n      marketingTypeLabel\n      propertyStatusId\n      shortAddress\n      address\n      numberOfRooms\n      propertySpaceValue\n      propertySpaceMinValue\n      propertyRentPerSqmFromValue\n      propertyAdditionalCostsPerSqmFromValue\n      baseRent\n      price\n      rented\n    }\n  }\n":rm,"\n  query PropertyDocsModalClient($id: ID!) {\n    client(id: $id) {\n      name\n      documents(sendable: true) {\n        id\n        url\n        title\n        tags\n        contentType\n        fileSize\n        createdAt\n        folderId\n        isPrivate\n        onLandingPage\n        isExposee\n        isFloorplan\n      }\n    }\n  }\n":am,"\n    query PropertyDocsModalProject($id: Int!) {\n      project(id: $id) {\n        name\n        documents(sendable: true) {\n          id\n          url\n          title\n          tags\n          contentType\n          fileSize\n          createdAt\n          folderId\n          isPrivate\n          onLandingPage\n          isExposee\n          isFloorplan\n        }\n      }\n    }\n  ":om,"\n    query PropertyDocsModalProperty($id: ID!) {\n      property(id: $id) {\n        name\n        documents(sendable: true) {\n          id\n          url\n          title\n          tags\n          contentType\n          fileSize\n          createdAt\n          folderId\n          isPrivate\n          onLandingPage\n          isExposee\n          isFloorplan\n        }\n      }\n    }\n  ":sm,'\n  fragment ValidPropertyFormFields on Property {\n    brokerId\n    brokerIds\n    departmentIds\n    projectId\n    teamId\n    groupIds\n    propertyStatusId\n    unitId\n    exposeeId\n    targetGroup\n    note\n    warningNotice\n    systemWarningNotice\n    archived\n    scoutContactId\n    scoutId\n    scoutGroupNumber\n    inquiryDepartmentId\n    lat\n    lng\n    locationId\n    hideAddress\n    cadastralDistrict\n    plotNumber\n    roadAccess\n    roadAccessType\n    district\n    courtage\n    internalBrokerage\n    courtageNote\n    commissionPassThrough\n    totalCommission\n    internalCommission\n    internalCommissionPercentage\n    externalCommission\n    externalCommissionPercentage\n    title\n    descriptionNote\n    shortNote\n    locationNote\n    furnishingNote\n    otherNote\n    longDescriptionNote\n    longLocationNote\n    longFurnishingNote\n    longOtherNote\n    distanceToPt\n    distanceToFm\n    distanceToMrs\n    distanceToAirport\n    distanceToPtLength\n    distanceToFmLength\n    distanceToMrsLength\n    distanceToAirportLength\n    livingSpace\n    totalFloorSpace\n    plotArea\n    numberOfRooms\n    numberOfBedRooms\n    numberOfBathRooms\n    floor\n    numberOfFloors\n    floorPosition\n    usableFloorSpace\n    netFloorSpace\n    cellarSpace\n    balconySpace\n    gardenSpace\n    minDivisible\n    # Commercial object-specific area/price fields (CORE-4163). The form saves\n    # these via REST, but they were never selected here on reload, so the UI\n    # showed them blank after saving ("Felder werden nach dem Speichern\n    # gelöscht"). They map 1:1 to the fields configured in default-fields.ts.\n    buildingSpace\n    buildingPart\n    officeSpace\n    officeSpaceMin\n    officeSpaceTotal\n    officeRentPerSqmFrom\n    officeRentPerSqmTo\n    officeAdditionalCostsPerSqmFrom\n    officeAdditionalCostsPerSqmTo\n    retailSpace\n    retailSpaceMin\n    retailSpaceTotal\n    retailRentPerSqmFrom\n    retailRentPerSqmTo\n    retailAdditionalCostsPerSqmFrom\n    retailAdditionalCostsPerSqmTo\n    gastroSpace\n    gastroSpaceMin\n    gastroSpaceTotal\n    gastroRentPerSqmFrom\n    gastroRentPerSqmTo\n    gastroAdditionalCostsPerSqmFrom\n    gastroAdditionalCostsPerSqmTo\n    storageSpace\n    storageSpaceMin\n    storageSpaceTotal\n    storageRentPerSqmFrom\n    storageRentPerSqmTo\n    storageAdditionalCostsPerSqmFrom\n    storageAdditionalCostsPerSqmTo\n    mezzanineSpace\n    mezzanineSpaceMin\n    mezzanineSpaceTotal\n    mezzanineRentPerSqmFrom\n    mezzanineRentPerSqmTo\n    openSpace\n    openSpaceMin\n    openSpaceTotal\n    openRentPerSqmFrom\n    openRentPerSqmTo\n    serviceSpace\n    serviceSpaceMin\n    serviceSpaceTotal\n    serviceRentPerSqmFrom\n    serviceRentPerSqmTo\n    archiveSpace\n    archiveSpaceMin\n    archiveSpaceTotal\n    archiveSpaceRentPerSqmFrom\n    archiveSpaceRentPerSqmTo\n    numberOfBalconies\n    numberOfTerraces\n    cubature\n    numberSeats\n    lodgerFlat\n    price\n    parkingSpacePrice\n    priceOnInquiry\n    forBidding\n    baseRent\n    totalRent\n    heatingCosts\n    serviceCharge\n    heatingCostsInServiceCharge\n    rentSubsidy\n    otherCosts\n    maintenanceReserve\n    vat\n    plusVat\n    priceType\n    currency\n    areaUnit\n    rented\n    freeFrom\n    freeUntil\n    parkingSpacesTotal\n    numberOfParkingSpaces\n    numberOfEvCharging\n    parkingSpaceTypes\n    truckParkingSpacesTotal\n    numberOfTruckParkingSpaces\n    truckParkingSpacePrice\n    condition\n    interiorQuality\n    lastRefurbishment\n    tenancy\n    commercializationType\n    shortTermConstructible\n    utilizationTradeSite\n    recommendedUseTypes\n    siteDevelopmentType\n    siteConstructibleType\n    grz\n    gfz\n    bgf\n    bmz\n    buildingPermission\n    preliminaryEnquiry\n    demolition\n    constructionPhase\n    widthGarage\n    heightGarage\n    lengthGarage\n    pricePerSqm\n    customPricePerSqm\n    numberOfApartments\n    numberOfCommercials\n    numberOfUnits\n    rentalIncome\n    rentalIncomeTarget\n    rentalIncomeActual\n    priceMultiplierTarget\n    priceMultiplier\n    yieldTarget\n    yieldActual\n    investmentCategory\n    purchaseForm\n    industrialArea\n    additionalArea\n    tenantStructure\n    walt\n    numberOfSingleRooms\n    singleRoomsQuota\n    occupancyRate\n    numberOfVacancies\n    conservationAreas\n    locationClassificationType\n    shopWindowLength\n    goodsLift\n    goodsLiftLoad\n    floorLoad\n    supplyType\n    lanCables\n    hasCanteen\n    ramp\n    autoLift\n    hallHeight\n    connectedLoad\n    craneRunwayLoad\n    rentDurations\n    priceIntervalType\n    startRentalDate\n    endRentalDate\n    minRentalTime\n    maxRentalTime\n    maxNumberOfPersons\n    hasFurniture\n    gender\n    lift\n    barrierFree\n    cellar\n    guestToilet\n    builtInKitchen\n    balcony\n    loggia\n    garden\n    monument\n    summerResidencePractical\n    storeroom\n    chimney\n    swimmingPool\n    sauna\n    alarmSystem\n    winterGarden\n    airConditioning\n    bathroom\n    flooringType\n    outsideView\n    petsAllowed\n    nonSmoker\n    certificateOfEligibilityNeeded\n    flatShareSuitable\n    energyCertificateAvailability\n    energyCertificateCreationDate\n    energyCertificateStartDate\n    energyCertificateEndDate\n    buildingEnergyRatingType\n    energyEfficiencyClass\n    energyEfficiencyValue\n    thermalCharacteristicElectricity\n    thermalCharacteristicHeating\n    coEmission\n    co2EmissionRating\n    energyConsumptionContainsWarmWater\n    heatingType\n    firingTypes\n    constructionYear\n    energyCertificateConstructionYear\n    equipmentTechnologyConstructionYear\n    constructionYearUnknown\n    autHwb\n    autHwbClass\n    autFgee\n    autFgeeClass\n    autMainRent\n    autCadastralCommunity\n    autBuildingCertificates\n    primaryOutdoorOrientation\n    suitableForInvestment\n    windowShutter\n    bicycleStorage\n    laundryRoom\n    smartHome\n    conflictOfInterestType\n    dualAgency\n    valuationPriceFrom\n    valuationPriceTo\n    valuationPrice\n    soldPrice\n    realizedRent\n    soldDate\n    costBalcony\n    costLift\n    costOther\n    parkingSpaceNumber\n    apartmentNumber\n    teId\n    coOwnershipShare\n    localCourt\n    registerNumber\n    landRegistry\n    contractType\n    duration\n    durationFrom\n    durationUntil\n    deposit\n    renter\n    customLpAddress\n    areabutlerLinkWithAddress\n    areabutlerLinkWithoutAddress\n    listAllUnitsOnLandingPage\n    landingPageBlocked\n    openimmoFirstname\n    openimmoLastname\n    openimmoEmail\n    openimmoPhone\n    compensationCosts\n    recurringCosts\n    recurringCostsNet\n    recurringCostsVat\n    recurringCostsVatPercent\n    heatingCostsNet\n    heatingCostsVat\n    heatingCostsVatPercent\n    serviceChargeNet\n    serviceChargeVat\n    serviceChargeVatPercent\n    otherCostsNet\n    otherCostsVat\n    otherCostsVatPercent\n    priceNet\n    priceVat\n    priceVatPercent\n    baseRentNet\n    baseRentVat\n    baseRentVatPercent\n    totalRentNet\n    totalRentVat\n    totalRentVatPercent\n    otherRentNet\n    otherRentVat\n    financialContribution\n    constructionType\n    facebookPostDescription\n    instagramPostDescription\n    autoPortalExportConnectionIds\n    marketingStartDate\n    ukPropertyType\n    locked\n    newBuild\n    rentalContractDurationInMonths\n    minimumRentalDurationInMonths\n    rentalContractType\n    addressLine2\n    priceQualifier\n    tenureType\n    tenureUnexpiredYears\n    pricePerUnitPerAnnum\n    sharedOwnership\n    numberOfReceptionRooms\n    accessibility\n    councilTaxBand\n    outsideSpaceTypes\n    roomSize\n    smokingAllowed\n    flatShareSize\n    minimumTermOfLease\n    totalSpace\n    numberOfMaleFlatMates\n    numberOfFemaleFlatMates\n    ageOfFlatMatesFrom\n    ageOfFlatMatesTo\n    numberOfRequestedFlatMates\n    ageOfRequestedFrom\n    ageOfRequestedTo\n    oven\n    refrigerator\n    stove\n    dishwasher\n    bathHasWc\n    bathHasShower\n    bathHasTub\n    washingMachine\n    internetConnection\n    tvConnection\n    telephoneConnection\n    parkingSituation\n    trialLivingPossible\n    careTypes\n    careLevel\n    opening\n    roomType\n    numberOfBeds\n    numberOfLookedAfterApartments\n    numberOfNursingPlaces\n    livingSpaceFrom\n    livingSpaceTo\n    careOfDementia\n    careOfArtificialRespiration\n    careOfComaVigil\n    careOfStroke\n    careOfParkinson\n    careOfAlzhe
12082imer\n    careOfMultipleSclerosis\n    therapyOfferingsAvailable\n    ownFurniturePossible\n    guestApartments\n    restaurant\n    cookingFacilities\n    cleaningService\n    shoppingFacilities\n    security24Hours\n    culturalProgram\n    leisureActivities\n    religiousOfferings\n    facilityType\n    minBaseRent\n    minPurchasePrice\n    roomAvailableFrom\n    roomAvailableTo\n    cookingPossibility\n    commonRooms\n    fitness\n    ambulantNursingService\n    emergencyCallInRoom\n    receptionManned\n    medicalAssistance\n    homeHelp\n    counseling\n    parking\n    publicTransportation\n    loansAvailable\n    staircase\n    propertyLayout\n    inventory\n    deletionsFromLandRegister\n    contractFees\n    landRegistryFees\n    propertyTransferTax\n    developmentCosts\n    maintenanceReserveAmount\n    loggiaSpace\n    numberOfLoggia\n    numberOfToilets\n    priceVatPercent\n    marketingMarkerRadius\n    marketingMarkerLat\n    marketingMarkerLng\n  }\n':Wc,"\n  fragment PropertyFormFields on Property {\n    ...ValidPropertyFormFields\n    marketingType\n    objectType\n    rsType\n    rsCategory\n    street\n    houseNumber\n    zipCode\n    city\n    region\n    country\n    buildingName\n    subCommunity\n    community\n    customFields\n    translations {\n      locale\n      courtage\n      courtageNote\n      customFields\n      deposit\n      freeFrom\n      title\n      descriptionNote\n      shortNote\n      locationNote\n      furnishingNote\n      otherNote\n      longDescriptionNote\n      longLocationNote\n      longFurnishingNote\n      longOtherNote\n    }\n    commissionSplits {\n      id\n      name\n      brokerId\n      clientId\n      value\n      valueType\n      calculatedValue\n      splitPosition\n      date\n      actor\n      representing\n      client {\n        id\n        name\n      }\n      broker {\n        name\n      }\n    }\n    relationships {\n      id\n      name\n      internalName\n      relatedClientId\n      relatedClient {\n        id\n        name\n        email\n        path\n        phone\n        company\n      }\n      project {\n        id\n        name\n      }\n    }\n    publishings {\n      id\n      portalId\n      publishDate\n      postUrl\n      scoutTicketUrl\n      externalId\n    }\n    localHeroBooking(active: true) {\n      createdAt\n      startsAt\n      endsAt\n    }\n    receivedViaMls\n    childrenCount\n    aggregationFieldOverrides\n    parentId\n    forkId\n    inheritanceFieldOverrides\n    aggregatedRsTypes\n    externalCommission\n    internalCommission\n    externalCommissionPercentage\n    internalCommissionPercentage\n    totalCommission\n    newBuild\n    rentalContractDurationInMonths\n    minimumRentalDurationInMonths\n    rentalContractType\n    addressLine2\n    priceQualifier\n    tenureType\n    tenureUnexpiredYears\n    pricePerUnitPerAnnum\n    sharedOwnership\n    numberOfReceptionRooms\n    accessibility\n    councilTaxBand\n    outsideSpaceTypes\n  }\n":Kc,"\n  query DealAlertDealStages($dealStageIds: [Int!]!) {\n    shop {\n      dealStages(ids: $dealStageIds) {\n        id\n        chance\n      }\n    }\n  }\n":lm,"\n  query DealAlerts($dealAlertIds: [ID!]!) {\n    dealAlerts(ids: $dealAlertIds) {\n      id\n      shopId\n      clientPropertyId\n      dataQualityAssistantId\n      data\n      createdAt\n      updatedAt\n    }\n  }\n":dm,"\n  query PropertyForm($id: ID!) {\n    property(id: $id) {\n      id\n      updatedAt\n      ...PropertyFormFields\n    }\n  }\n":cm,"\n  query PropertyRelationships($id: ID!) {\n    property(id: $id) {\n      relationships {\n        name\n        internalName\n        relatedClientId\n        relatedClient {\n          id\n          name\n          email\n          phone\n          company\n        }\n      }\n    }\n  }\n":um,"\n  query PropertyFormExported($resourceId: ID!) {\n    property(id: $resourceId) {\n      publishings {\n        id\n        portalId\n        publishDate\n      }\n      scoutId\n      exposeeId\n    }\n  }\n":pm,"\n  mutation BuildPropertyFormProperty(\n    $copyPropertyId: Int\n    $sharedPropertyToken: String\n    $projectId: Int\n    $variant: Boolean\n    $child: Boolean\n    $childFloor: String\n    $copyCommissions: Boolean\n  ) {\n    buildProperty(\n      copyPropertyId: $copyPropertyId\n      sharedPropertyToken: $sharedPropertyToken\n      projectId: $projectId\n      variant: $variant\n      child: $child\n      childFloor: $childFloor\n      copyCommissions: $copyCommissions\n    ) {\n      ...PropertyFormFields\n    }\n  }\n":mm,"\n  mutation CalculatePointOfInterestDistance($input: CalculatePointOfInterestDistanceInput!) {\n    calculatePointOfInterestDistance(input: $input) {\n      output\n    }\n  }\n":hm,"\n  mutation PropertyFormObjectPlatformPrefill($input: PrefillPropertyWithObjectPlatformInput!) {\n    prefillPropertyWithObjectPlatform(input: $input) {\n      query {\n        zip\n        city\n        street\n        houseNumber\n        objectType\n      }\n      results {\n        objectType\n        mappedAttributes\n        fields {\n          attributeKey\n          label\n          value\n        }\n      }\n    }\n  }
12082\n":fm,"\n  query PropertyMasterSavedQuery($id: ID!) {\n    property(id: $id) {\n      savedQueryAutomation\n      masterSavedQuery {\n        id\n      }\n    }\n  }\n":gm,"\n  query PropertyTemplateSavedQuery($id: ID!) {\n    property(id: $id) {\n      suggestedSavedQuery {\n        cities\n        locationIds\n        marketingType\n        rsTypeCategories {\n          rsType\n          rsCategory\n        }\n        priceTo\n        baseRentTo\n        livingSpace\n        numberOfRooms\n        plotArea\n      }\n      masterSavedQuery {\n        id\n      }\n    }\n  }\n":ym,"\n  query PropertyInvoiceSummary($id: ID!) {\n    property(id: $id) {\n      invoiceSummary\n    }\n  }\n":bm,"\n  mutation UpdatePropertySavedQueryAutomation($id: Int!, $savedQueryAutomation: String) {\n    updateProperty(id: $id, attributes: { savedQueryAutomation: $savedQueryAutomation }) {\n      id\n      savedQueryAutomation\n    }\n  }\n":vm,"\n  query PropertyPreview($id: ID!) {\n    property(id: $id) {\n      id\n      name\n      marketingType\n      marketingTypeLabel\n      marketingPrice\n      categoryLabel\n      rsTypeLabel\n      zipCode\n      city\n      region\n      country\n      numberOfRooms\n      livingSpace\n      plotArea\n      industrialArea\n      constructionYear\n      valuationPrice\n      valuationPriceFrom\n      valuationPriceTo\n      currency\n      titleImageUrl\n      path\n    }\n  }\n":Im,"\n  query PropvisionBrokers($page: Int, $per: Int, $search: String) {\n    shop {\n      brokers(page: $page, per: $per, search: $search) {\n        id\n        name\n        email\n        role\n        archived\n      }\n      brokersCount(search: $search)\n    }\n  }\n":Cm,"\n  query PsWebsiteShopData {\n    shop {\n      name\n      logoUrl\n      homepage\n      email\n      phone\n      street\n      houseNumber\n      zipCode\n      city\n      country\n      vatId\n      color\n      ynfiniteWebsitePayload\n      ynfiniteWebsiteOrderStatus\n      ynfiniteWebsiteUrl\n    }\n    broker {\n      firstName\n      lastName\n      email\n    }\n  }\n":Sm,"\n  query TaskDetailsQuickView($id: ID!, $date: ISO8601DateTime) {\n    task(id: $id, date: $date) {\n      id\n      createdAt\n      title\n      body\n      oldCrmExternalId\n      taskType\n      taskStageId\n      brokerId\n      isEvent\n      isReminder\n      isNote\n      priority\n      category {\n        id\n        name\n        color\n        taskPipelineId\n      }\n      clientSource {\n        id\n        name\n      }\n      cancelationReason {\n        id\n        name\n      }\n      department {\n        name\n      }\n      brokers {\n        id\n        name\n      }\n      reviewerIds\n      reviewState\n      lastDealStageName\n      dealIds\n      deals(limit: 6) {\n        id\n        client {\n          name\n          id\n        }\n        property {\n          name\n          id\n        }\n        projectId\n        dealPipelineId\n        dealStageId\n        reasonId\n        dealStageChance\n        dealStage {\n          id\n          name\n          color\n        }\n      }\n      dealsCount\n      isCampaign\n      body\n      creatorId\n      synced\n      syncErrorMessage\n      canDelete\n      canManage\n      canUnsubscribe\n      done\n      dueDate\n      bufferBefore\n      bufferAfter\n      todos {\n        id\n        title\n        brokerId\n        dueDate\n        doneAt\n        departmentId\n      }\n      private\n      sendReminders\n      location\n      recurring\n      roomResourceEmails\n      participantEmails\n      readOnly\n      remindAtInMinutes\n      startsAt\n      endsAt\n      allDay\n      isOnlineMeeting\n      onlineMeetingUrl\n      massViewing\n      massViewingUrl\n      slotStep\n      possibleSpots\n      maxParticipantsPerSlot\n      viewingReplySnippetId\n      viewingCancellationSnippetId\n      clientsRsvp {\n        clientId\n        attending\n      }\n      viewings {\n        id\n        viewingDate\n        phone\n        email\n        name\n        clientId\n        firstName\n        lastName\n        salutation\n        attendance\n      }\n      clientsStatus\n      state\n      rateable\n      suggestedEvent\n      allSuggestedEvents {\n        id\n        startsAt\n      }\n      groups {\n        id\n        name\n      }\n      clients(limit: 100) {\n        id\n        name\n        path\n        emails\n        phone\n        email\n        intlPhone\n      }\n      clientTrackingEventsCounts(limit: 100) {\n        clientId\n        count\n      }\n      clientsCount\n      properties {\n        id\n        name\n        marketingType\n        marketingTypeLabel\n        marketingPrice\n        categoryLabel\n        rsTypeLabel\n        zipCode\n        city\n        region\n        country\n        numberOfRooms\n        livingSpace\n        plotArea\n        industrialArea\n        constructionYear\n        price\n        valuationPrice\n        valuationPriceFrom\n        valuationPriceTo\n        baseRent\n        currency\n        titleImageUrl\n        path\n      }\n      projects {\n        id\n        name\n        path\n      }\n      noteAttachments {\n        id\n        name\n        url\n      }\n      canAccess\n      confirmedByParticipant\n      customFields\n      accessBrokerIds\n      accessDepartmentIds\n      watcherBrokerIds\n      originalDate\n      docusignData\n      seekerPayload\n      seekerAdditionalInfo\n      previousActivity {\n        id\n        name\n        type\n      }\n      nextActivities {\n        id\n        name\n        type\n      }\n      locked\n      decisionOptions {\n        id\n        name\n      }\n      decisionOptionId\n      departmentId\n      conversationMessages {\n        authorName\n        direction\n        content\n        timestamp\n      }\n      appointmentPreparationSummary\n      externalReference\n    }\n  }
12082\n":_m,"\n  query TaskDetails($id: ID!) {\n    task(id: $id) {\n      todos {\n        id\n        title\n        brokerId\n        dueDate\n        doneAt\n        departmentId\n      }\n    }\n  }\n":km,"\n    query TaskViewings($taskId: ID!) {\n      task(id: $taskId) {\n        id\n        possibleSpots\n        maxParticipantsPerSlot\n        viewings {\n          id\n          viewingDate\n          phone\n          email\n          name\n          clientId\n          attendance\n        }\n      }\n    }\n  ":Tm,"\n  fragment TasksKanbanFields on ElasticTodo {\n    id\n    stageId\n    title\n    brokerId\n    dueDate\n    done\n    reviewState\n    reviewerIds\n    priority\n    commentsCount\n    clients {\n      id\n      name\n    }\n    properties {\n      id\n      name\n    }\n  }\n":Yc,"\n  query TaskKanbanItem($pipelineId: Int!, $id: Int!) {\n    tasks(pipelineId: $pipelineId, id: $id) {\n      ...TasksKanbanFields\n    }\n  }\n":wm,"\n  query TaskKanbanStageTasks(\n    $pipelineId: Int!\n    $stageId: Int!\n    $sortBy: String\n    $order: Order\n    $page: Int!\n    $per: Int!\n    $filterSet: JSON!\n  ) {\n    tasks(\n      pipelineId: $pipelineId\n      stageId: $stageId\n      sortBy: $sortBy\n      order: $order\n      page: $page\n      per: $per\n      filterSet: $filterSet\n    ) {\n      ...TasksKanbanFields\n    }\n  }\n":Fm,"\n  query TaskKanbanInitialData($pipelineId: Int!, $sortBy: String, $order: Order, $filterSet: JSON!) {\n    taskStagesCounts(pipelineId: $pipelineId, filterSet: $filterSet)\n    initialTasks(pipelineId: $pipelineId, sortBy: $sortBy, order: $order, filterSet: $filterSet) {\n      ...TasksKanbanFields\n    }\n  }\n":Pm,"\n  query DefaultTodoColumns {\n    shop {\n      customColumnPresetForTodos\n    }\n  }\n":Am,"\n    query TodoActivitiesForm($id: ID!) {\n      task(id: $id) {\n        category {\n          todoActivities {\n            id\n            label\n            activityType\n            mandatory\n            payload {\n              snippetId\n              brokerId\n              departmentId\n              noteTypeId\n              todoTypeId\n              dueDate\n              eventTypeId\n              propertyStatusId\n              reservationReasonId\n              reviewerIds\n            }\n          }\n        }
12082\n        clients {\n          name\n        }\n        properties {\n          name\n          propertyStatus {\n            name\n          }\n        }\n      }\n      shop {\n        noteCategories {\n          id\n          name\n        }\n        todoCategories {\n          id\n          name\n        }\n        eventCategories {\n          id\n          name\n        }\n        snippets {\n          id\n          name\n        }\n        cancelationReasons {\n          id\n          name\n        }\n        propertyStatuses {\n          id\n          name\n        }\n      }\n    }\n  ":$m,"\n  query DefaultProjectUnitColumns {\n    shop {\n      customColumnPresetForProjectUnits\n    }\n  }\n":Rm,"\n    query VariableSelectNew {\n      shop {\n        folders {\n          id\n          name\n          sendable\n        }\n        bookingCalendars {\n          id\n          name\n        }\n      }\n    }\n  ":Dm,"\n  query WorkflowBuilderWorkflowConfigurations {\n    shop {\n      workflowConfigurations {\n        id\n        name\n        sharedReadOnly\n        createdAt\n        updatedAt\n      }\n    }\n  }\n":Nm,"\n  query WorkflowBuilderWorkflowConfiguration($id: Int!) {\n    shop {\n      workflowConfiguration(id: $id) {\n        id\n        name\n        document\n        sharedReadOnly\n        lockVersion\n        createdAt\n        updatedAt\n      }\n    }\n  }\n":Om,"\n  mutation WorkflowBuilderCreateWorkflowConfiguration($attributes: WorkflowConfigurationAttributes!) {\n    createWorkflowConfiguration(attributes: $attributes) {\n      id\n      name\n      document\n      sharedReadOnly\n      lockVersion\n      createdAt\n      updatedAt\n    }\n  }\n":Em,"\n  mutation WorkflowBuilderUpdateWorkflowConfiguration($id: Int!, $attributes: WorkflowConfigurationAttributes!) {\n    updateWorkflowConfiguration(id: $id, attributes: $attributes) {\n      id\n      name\n      document\n      sharedReadOnly\n      lockVersion\n      createdAt\n      updatedAt\n    }\n  }\n":Mm,"\n  mutation WorkflowBuilderDestroyWorkflowConfiguration($id: Int!) {\n    destroyWorkflowConfiguration(id: $id) {\n      id\n    }\n  }\n":Vm,"\n  query WorkflowBuilderEmailCategories {\n    shop {\n      messageCategories {\n        id\n        name\n        displayName\n        color\n        hideInReports\n        nextDealStageId\n        senders\n        recipients\n        keywords\n        translations {\n          id\n          locale\n          name\n        }\n        followupActivities {\n          id\n          activityType\n          actionType\n          payload {\n            snippetId\n            brokerId\n            departmentId\n            dueDate\n            todoTypeId\n            eventTypeId\n            decisionTypeId\n            messageCategoryId\n            reviewerIds\n          }\n        }\n      }\n    }\n  }\n":Lm,"\n  query WorkflowBuilderNoteCategories {\n    shop {\n      noteCategories {\n        id\n        name\n        displayName\n        titleFormula\n        color\n        body\n        hideInReports\n        hideInActivities\n        internal\n        locked\n        nextPropertyStatusId\n        nextClientStatusId\n        nextDealStageId\n        translations {\n          id\n          locale\n          name\n        }\n        createdFollowupActivities {\n          id\n          activityType\n          actionType\n          payload {\n            snippetId\n            brokerId\n            departmentId\n            dueDate\n            todoTypeId\n            eventTypeId\n            decisionTypeId\n            messageCategoryId\n            reviewerIds\n          }\n        }\n      }\n    }\n  }\n":Bm,"\n  query WorkflowBuilderTodoCategories {\n    shop {\n      todoCategories {\n        id\n        name\n        displayName\n        titleFormula\n        color\n        body\n        hideInReports\n        hideInActivities\n        internal\n        locked\n        taskPipelineId\n        brokerId\n        departmentId\n        reviewerIds\n        nextPropertyStatusId\n        nextClientStatusId\n        nextDealStageId\n        completedDealStageId\n        translations {\n          id\n          locale\n          name\n        }\n        todos {\n          title\n          brokerId\n          departmentId\n          dueDate\n        }\n        createdFollowupActivities {\n          id\n          activityType\n          actionType\n          payload {\n            snippetId\n            brokerId\n            departmentId\n            dueDate\n            todoTypeId\n            eventTypeId\n            decisionTypeId\n            messageCategoryId\n            reviewerIds\n          }\n        }\n        completedFollowupActivities {\n          id\n          activityType\n          actionType\n          payload {\n            snippetId\n            brokerId\n            departmentId\n            dueDate\n            todoTypeId\n            eventTypeId\n            decisionTypeId\n            messageCategoryId\n            reviewerIds\n          }\n        }\n        todoActivities {\n          id\n          label\n          mandatory\n          activityType\n          payload {\n            snippetId\n            brokerId\n            noteTypeId\n            todoTypeId\n            eventTypeId\n            reservationReasonId\n            propertyStatusId\n            dueDate\n            departmentId\n            reviewerIds\n          }\n        }\n      }\n    }\n  }\n":Um,"\n  query WorkflowBuilderEventCategories {\n    shop {\n      eventCategories {\n        id\n        name\n        displayName\n        titleFormula\n        publicTitleFormula\n        color\n        body\n        hideInReports\n        hideInActivities\n        internal\n        roomResourceEmails\n        autosetEventLocation\n        autosetEventStateTookPlace\n        showAs\n        nextPropertyStatusId\n        nextClientStatusId\n        nextDealStageId\n        completedDealStageId\n        createdDealBrokerId\n        completedDealBrokerId\n        translations {\n          id\n          locale\n          name\n        }\n        createdFollowupActivities {\n          id\n          activityType\n          actionType\n          payload {\n            snippetId\n            brokerId\n            departmentId\n            dueDate\n            todoTypeId\n            eventTypeId\n            decisionTypeId\n            messageCategoryId\n            reviewerIds\n          }\n        }\n        completedFollowupActivities {\n          id\n          activityType\n          actionType\n          payload {\n            snippetId\n            brokerId\n            departmentId\n            dueDate\n            todoTypeId\n            eventTypeId\n            decisionTypeId\n            messageCategoryId\n            reviewerIds\n          }\n        }\n      }\n    }\n  }\n":qm,"\n  query WorkflowBuilderDecisionCategories {\n    shop {\n      decisionCategories {\n        id\n        name\n        displayName\n        titleFormula\n        color\n        body\n        hideInReports\n        hideInActivities\n        internal\n        translations {\n          id\n          locale\n          name\n        }\n        decisionOptions {\n          id\n          name\n          dealStageId\n          translations {\n            id\n            locale\n            name\n          }\n          followupActivities {\n            id\n            activityType\n            actionType\n            payload {\n              snippetId\n              brokerId\n              departmentId\n              dueDate\n              todoTypeId\n              eventTypeId\n              decisionTypeId\n              cancelationReasonId\n              messageCategoryId\n              reviewerIds\n            }\n          }\n        }\n      }\n    }\n  }\n":xm,"\n  query WorkflowBuilderLetterCategories {\n    shop {\n      letterCategories {\n        id\n        name\n        displayName\n        titleFormula\n        color\n        body\n        hideInReports\n        hideInActivities\n        internal\n        nextPropertyStatusId\n        nextClientStatusId\n        nextDealStageId\n        translations {\n          id\n          locale\n          name\n        }\n        createdFollowupActivities {\n          id\n          activityType\n          actionType\n          payload {\n            snippetId\n            brokerId\n            departmentId\n            dueDate\n            todoTypeId\n            eventTypeId\n            decisionTypeId\n            messageCategoryId\n            reviewerIds\n          }\n        }\n      }\n    }\n  }\n":zm,"\n  query WorkflowBuilderSnippetCategories {\n    shop {\n      snippetCategories {\n        id\n        name\n      }\n      snippets(onlyForBroker: true) {\n        id\n        name\n        subject\n        body\n        brokerId\n        snippetCategoryId\n        messageCategoryId\n        messageTemplateId\n        cancellationPolicyOn\n        skipAttachingIcsFile\n        isPrivate\n        brokerIds\n        departmentIds\n        messageAttachments {\n          id\n          name\n          url\n        }\n      }\n    }\n  }\n":Gm,"\n  query WorkflowBuilderAutomationCategories {\n    recipesConfig\n    recipes {\n      id\n      live\n      title\n      triggerType\n      actionType\n      changedAttribute\n      conditions\n      actionOptions\n      nextRecipeIds\n      webhookUrl\n      createdAt\n      updatedAt\n      lastExecutedAt\n      schedule\n      scheduleType\n      viewonly\n    }\n  }\n":jm,"\n  query UseLastPublishedPortalPropertyForm($propertyId: ID!) {\n    property(id: $propertyId) {\n      publishings {\n        portalId\n        publishDate\n        portal {\n          format\n          parentConnectionId\n        }\n      }\n    }\n  }\n":Hm,"\n  query PropertyMlsDealAggregations($propertyId: ID!) {\n    property(id: $propertyId) {\n      mlsDealAggregations {\n        count\n        shopId\n        shopName\n      }\n    }\n  }\n":Wm,"\n  query UseOutlookFolderSettingsFolders {\n    shop {\n      outlookFolders {\n        id\n        brokerId\n        name\n        externalId\n        specialUse\n        parentId\n      }\n    }\n  }\n":Km,"\n  query UseRightsQuery {\n    shop {\n      rights\n    }\n  }\n":Ym,"\n  query SnippetCategories {\n    shop {\n      snippetCategories {\n        id\n        name\n        snippets(forCurrentBroker: true) {\n          id\n          name\n        }\n      }\n    }\n  }\n":Qm,"\n  query Version {\n    appVersion\n    announcement {\n      text\n      color\n      closable\n      announcementId\n    }\n    shop {\n      updatedAt\n    }\n  }\n":Zm,"\n  query Stats {\n    broker {\n      unreadMessagesCount\n      unreadTrackingsCount\n      unreadNotificationsCount\n      lastVisited\n      availability\n    }\n  }\n":Jm,"\n  fragment CustomOptionFieldsFragment on CustomOption {\n    id\n    name\n    condition\n    title\n    groupId\n  }\n":eu,"\n  fragment CustomFieldFieldsFragment on CustomField {\n    name\n    prettyName\n    title\n    fieldType\n    unit\n    formula\n    indexName\n    entity\n    exportToOpenimmo\n    tagsSuperCategoryIds\n    forSavedQueries\n    translationAvailable\n    permittedBrokerIds\n    component\n    customOptions {\n      ...CustomOptionFieldsFragment\n    }\n  }\n":tu,"\n  fragment CustomFieldGroupFieldsFragment on CustomFieldGroup {\n    name\n    customFields {\n      ...CustomFieldFieldsFragment\n    }\n  }
12082\n":nu,"\n  fragment ManagedCustomFieldGroupFragment on CustomFieldGroup {\n    ...CustomFieldGroupFieldsFragment\n    managedByExtension\n  }\n":iu,"\n  fragment DetailViewFieldsFragment on DetailViewField {\n    id\n    fieldName\n    title\n    hint\n    containerFieldLabels\n    containerFieldHints\n    readBrokerIds\n    writeBrokerIds\n    readDepartmentIds\n    writeDepartmentIds\n    allowedMarketingType\n    allowedRsTypes\n    containerFieldNames\n    propertyStatusIds\n    requiredPropertyStatusIds\n    perfectMatch\n    taskCategoryIds\n    taskTypes\n    color\n    translations {\n      id\n      locale\n      title\n      containerFieldLabels\n      containerFieldHints\n    }\n    mandatory\n    mandatoryOnLp\n    characterLimit\n    defaultValue\n    dealPipelineIds\n    dealStageIds\n    countries\n    clientGroupIds\n    allowedPropertyType\n    editable\n  }\n":Qc,"\n  fragment DetailViewGroupFragment on DetailViewGroup {\n    name\n    slot\n    splitIntoTwoColumns\n    readBrokerIds\n    writeBrokerIds\n    readDepartmentIds\n    writeDepartmentIds\n    allowedMarketingType\n    allowedRsTypes\n    propertyStatusIds\n    taskCategoryIds\n    taskTypes\n    dealPipelineIds\n    dealStageIds\n    countries\n    clientGroupIds\n    allowedPropertyType\n    managedByExtension\n    detailViewFields {\n      ...DetailViewFieldsFragment\n    }\n  }\n":Zc,'\n  fragment InitialBroker on Broker {\n    webcallUrl\n    hideIntercom\n    firstName\n    id\n    name\n    avatarUrl(size: "small_thumb")\n    color\n    headerColor\n    initials\n    createdAt\n    sharedInboxBrokerIds\n    email\n    position\n    phone\n    cell\n    dob\n    teamId\n    admin\n    superAdmin\n    locale\n    hideInDropdowns\n    archived\n    blocked\n    connected\n    senderEmail\n    primarySenderBrokerId\n    departmentIds\n    oguloApiKeyConfigured\n    oguloApiKeyLastError\n    oguloUserMapped\n    oguloBrokerAuthUrl\n    oguloAuthenticatedAt\n    rights\n    clientsOpenInDetails\n    smartViewsVisibility\n    accessTeamIds\n    sendingDepartmentIds\n    propertySearchSortBy\n    propertySearchOrder\n    propertySearchPer\n    defaultClientsFilter\n    defaultClientsFilterForMobile\n    defaultPropertiesFilter\n    defaultPropertiesFilterForMobile\n    defaultTodosFilter\n    defaultTodosFilterForMobile\n    defaultDealsFilter\n    defaultDealsFilterForMobile\n    defaultActivitiesFilter\n    defaultActivitiesFilterForMobile\n    defaultSuggestedClientsFilter\n    defaultSuggestedClientsFilterForMobile\n    defaultActivitiesClientsFilter\n    defaultActivitiesClientsFilterForMobile\n    defaultActivitiesPropertiesFilter\n    defaultActivitiesPropertiesFilterForMobile\n    defaultActivitiesProjectsFilter\n    defaultActivitiesProjectsFilterForMobile\n    defaultActivitiesDealsFilter\n    defaultActivitiesDealsFilterForMobile\n    defaultDealsClientsFilter\n    defaultDealsClientsFilterForMobile\n    defaultDealsPropertiesFilter\n    defaultDealsPropertiesFilterForMobile\n    defaultDealsProjectsFilter\n    defaultDealsProjectsFilterForMobile\n    clientSearchSortBy\n    clientSearchOrder\n    clientSearchPer\n    suggestedClientSearchSortBy\n    suggestedClientSearchOrder\n    todoSearchSortBy\n    todoSearchOrder\n    customColumnsForProperties\n    customColumnsForPropertyChildren\n    customColumnsForClients\n    customColumnsForDeals\n    customColumnsForTodos\n    customColumnsForActivities\n    customColumnsForProjects\n    intercomId\n    intercomHash\n    apolloUrl\n    hideActivityLogs\n    commentsOrder\n    calendarVisibility\n    sendingBrokerIds\n    commissionBeneficiary\n    sidebarPins {\n      title\n      modelId\n      modelType\n    }\n    showInboxMultiselect\n    followupActivityAssignee\n    localHeroAutoPublish\n    glid\n    role\n    canEditWorkflowBuilder\n    canViewWorkflowBuilder\n    notificationEnabled\n    defaultEventRemindAt\n    paperlessAuthenticated\n    perfectMatchEnabled\n    signature\n    msftError\n    uiTheme\n    supportsNativeFolders\n    customNavigationItems {\n      id\n      name\n      url\n      linkType\n      visibleToBrokerIds\n      visibleToDepartmentIds\n      smartViewId\n      smartViewFieldType\n      smartViewTargetView\n      translations {\n        locale\n        name\n      }\n    }
12082\n    propertyDetailViewGroups: detailViewGroups(entity: for_properties) {\n      ...DetailViewGroupFragment\n    }\n  }\n':Jc,"\n  query Broker {\n    broker {\n      ...InitialBroker\n    }\n  }\n":Xm,'\n  fragment InitialAllBrokers on Broker {\n    id\n    name\n    email\n    phone\n    internalName\n    active\n    avatarUrl(size: "small_thumb")\n    initials\n    color\n    admin\n    superAdmin\n    archived\n    dob\n    senderEmail\n    availability\n    role\n    canSeeAllDealPipelines\n  }\n':Xc,"\n  fragment InitialShop on Shop {\n    id\n    propstackAiAutomaticTitleGenerationDisabled\n    enableNativeOutlookFolders\n    updatedAt\n    realtimeSubscriptionNamespace\n    availableLicenses\n    messageDefaultFontFamily\n    messageDefaultFontSize\n    messageDefaultFontColor\n    street\n    houseNumber\n    zipCode\n    city\n    brokers {\n      ...InitialAllBrokers\n    }\n    departments {\n      id\n      name\n      brokerIds\n      useInInquiryDistribution\n      teamId\n    }\n    messageTemplates {\n      id\n      name\n    }\n    messageCategories {\n      id\n      name\n      displayName\n      color\n      hideInReports\n    }\n    eventCategories {\n      id\n      name\n      displayName\n      color\n      hideInReports\n      internal\n      titleFormula\n      roomResourceEmails\n      body\n      autosetEventLocation\n      autosetEventStateTookPlace\n      showAs\n      eventTypeVariant\n      icon\n      autosetOwnerContact\n      autosetInviteOwner\n      syncInviteesWithLinkedClients\n      disableAutoLinkInvitees\n      defaultReminderMinutes\n      defaultAssigneeStrategy\n      defaultMassViewing\n      confirmationSnippetId\n      cancellationSnippetId\n      defaultSlotStep\n      defaultMaxParticipantsPerSlot\n      defaultClientReminders\n    }\n    todoCategories {\n      id\n      name\n      displayName\n      color\n      hideInReports\n      internal\n      titleFormula\n      body\n      taskPipelineId\n      reviewerIds\n      brokerId\n      departmentId\n    }\n    noteCategories {\n      id\n      name\n      displayName\n      color\n      hideInReports\n      internal\n      titleFormula\n      body\n      locked\n    }\n    letterCategories {\n      id\n      name\n      displayName\n      color\n      hideInReports\n      internal\n      titleFormula\n    }\n    decisionCategories {\n      id\n      name\n      displayName\n      color\n      hideInReports\n      internal\n      titleFormula\n      body\n    }\n    activityGroups {\n      id\n      name\n      superGroupId\n    }\n    projects {\n      id\n      name\n      address\n    }\n    projectStatuses {\n      id\n      name\n    }\n    propertyStatuses {\n      id\n      name\n      color\n      infoText\n      excludeFromSearchProfileMatching\n      writeBrokerIds\n      writeDepartmentIds\n      translations {\n        locale\n        infoText\n      }\n    }\n    propertyGroups {\n      id\n      name\n      superGroupId\n    }\n    clientSources {\n      id\n      name\n      inquiryDepartmentId\n      inquiryDepartmentRules {\n        rule\n        inquiryDepartmentId\n      }\n    }\n    clientStatuses {\n      id\n      name\n      color\n    }\n    superGroups {\n      id\n      name\n      entity\n    }\n    clientGroups {\n      id\n      name\n      superGroupId\n    }\n    clientReasons {\n      id\n      name\n    }\n    dealPipelines {\n      id\n      name\n      dealCockpitMapping\n      brokerIds\n      departmentIds\n    }\n    dealStages {\n      id\n      name\n      color\n      chance\n      excludedBrokerIds\n      dealPipelineId\n    }\n    taskPipelines {\n      id\n      name\n    }\n    taskStages {\n      id\n      name\n      color\n      dealPipelineId\n    }\n    cancelationReasons(onlyForBroker: true) {\n      id\n      name\n      dealPipelineIds\n    }\n    connections: portals(withIs24SubTypes: true) {\n      id\n      name\n      parentConnectionId\n      format\n      popularWebsite\n      accessBrokerIds\n      accessDepartmentIds\n      accountUrl\n      is24OtoaAccessBrokerIds\n      is24OtoaAccessDepartmentIds\n      is24PublishChannelId\n      username\n      host\n    }\n    salutations {\n      id\n      name\n      internalName\n    }\n    letterTemplates(onlyAccessible: true) {\n      id\n      name\n      category\n      noteTypeId\n      usesNumberRange\n      pdfOutput\n    }\n    phoneNoteTypeId\n    incomingPhoneNoteTypeId\n    teams {\n      id\n      name\n      mailSignature\n      logoUrl\n      website\n      street\n      zipCode\n      city\n      brokerIds\n      departmentId\n    }\n    folders(forConnections: true) {\n      id\n      name\n    }\n    scoutContacts {\n      id\n      name\n      portalName\n    }\n    scoutProjects {\n      id\n      name\n    }\n    textSnippets {\n      id\n      name\n      category\n      body\n      role\n    }
12082\n    clientDetailViewGroups: detailViewGroups(entity: for_clients) {\n      ...DetailViewGroupFragment\n    }\n    detailViewGroupsForClientsCustomized\n    childrenDetailViewGroups: detailViewGroups(entity: for_client_children) {\n      ...DetailViewGroupFragment\n    }\n    clientMailboxDetailViewGroups: detailViewGroups(entity: for_client_mailbox) {\n      ...DetailViewGroupFragment\n    }\n    projectDetailViewGroups: detailViewGroups(entity: for_projects) {\n      ...DetailViewGroupFragment\n    }\n    dealDetailViewGroups: detailViewGroups(entity: for_deals) {\n      ...DetailViewGroupFragment\n    }\n    taskDetailViewGroups: detailViewGroups(entity: for_tasks) {\n      ...DetailViewGroupFragment\n    }\n    savedQueryDetailViewGroups: detailViewGroups(entity: for_saved_queries) {\n      ...DetailViewGroupFragment\n    }\n    customFieldGroupsForProperties {\n      ...CustomFieldGroupFieldsFragment\n    }\n    customFieldGroupsForClients: customFieldGroups(entity: for_clients) {\n      ...CustomFieldGroupFieldsFragment\n    }\n    customFieldGroupsForProjects: customFieldGroups(entity: for_projects) {\n      ...ManagedCustomFieldGroupFragment\n    }\n    customFieldGroupsForBrokers: customFieldGroups(entity: for_brokers) {\n      ...ManagedCustomFieldGroupFragment\n    }\n    customFieldGroupsForTasks: customFieldGroups(entity: for_tasks) {\n      ...ManagedCustomFieldGroupFragment\n    }\n    customFieldGroupsForDeals: customFieldGroups(entity: for_deals) {\n      ...ManagedCustomFieldGroupFragment\n    }\n    externalReports(forBroker: true) {\n      id\n    }\n    hideSectionHeadlines\n    createSavedQueriesForInquiries\n    createSavedQueriesFromMessage\n    allowedRsTypesInSavedQueries\n    forbiddenRsCategories\n    roomResources {\n      email\n      name\n    }\n    webExposeeLiveDuration\n    lpVisitRequestCreatesTask\n    lpVisitRequestNoteTypeId\n    supportedPropertyLocales\n    requiredFieldsForProperty\n    supportedClientLocales\n    propertyOptionsMapping\n    rights\n    roles {\n      id\n      name\n      description\n      brokerIds\n      rights\n    }\n    brokerRolesForMessageTracking\n    relationshipPartnerNames {\n      id\n      name\n    }\n    projectRelationshipPartnerNames {\n      id\n      name\n    }\n    availableCalendars\n    subscribedCalendarKeys\n    cities\n    countries {\n      name\n      alphaTwo\n      alphaThree\n      selectable\n    }\n    regions\n    env\n    immoscoutBaseUrl\n    areaUnit\n    addonsEnabled\n    visibleColumnsInPropertyDeals\n    color\n    activeFeatures\n    extensions {\n      id\n      enabled\n    }\n    showBrokerAvatarsInCrm\n    limitPropertyImageTitleLength\n    transferPropertyDealsOnBrokerChange\n    transferPropertyDealContactsOnBrokerChange\n    transferPropertyTasksOnBrokerChangeMode\n    followupLastContactTimeframe\n    followupGroups\n    followupStatuses\n    followupSources\n    autocompleteEventLocations\n    canSendSmsReminders\n    requireEventCategory\n    defaultEventCategoryId\n    eventDefaultDuration\n    usesNumberRange\n    internationalCountry\n    currency\n    isoCurrency\n    useStaticDropdownForCitySelect\n    logoUrl\n    darkLogoUrl\n    faviconUrl\n    defaultClientAttributes\n    suggestedClientsColumns\n    documentTags\n    commissionSplitNames\n    docusignTemplates {\n      id\n      name\n    }\n    intercomId\n    homepage\n    createdAt\n    name\n    sellsInternationally\n    sprengnetterEmail\n    phValuationMaxValuationsPerYear\n    imogentEmail\n    propnowTenant\n    lystosUrl\n    lystosLinkTitle\n    lystosConfigured\n    language\n    selectableCurrencies\n    selectedCurrencies\n    exchangeRates\n    franchiser\n    franchisee\n    franchiserName\n    franchiserShop {\n      blockActionsForMlsProperties\n    }\n    unitIdCounterSetByFranchiser\n    contactAcceptanceRequestSnippetId\n    excludeNotAccepted\n    gdprCompliantMailSending\n    allowBrokerCustomSignatures\n    outOfOfficeEmailForwarding\n    autoSavedQuerySettings\n    allFieldsInSavedQueryForm\n    upgrade\n    watermarkOnPortals\n    legacySearchServer\n    emailReadTrackingDisabled\n    taskReviewsEnabled\n    demo\n    offmarketEnabled\n    outgoingCallUrl\n    deeplConnected\n    deeplPlan\n    findriveTipsterKey\n    findriveTipsterConnected\n    findriveTipsterExposeWidget\n    findriveTipsterToken\n    findriveTipsterCompanyId\n    dealsPageDefaultPipelineId\n    purchasePropertyDefaultPipelineId\n    rentalPropertyDefaultPipelineId\n    messageTranslatorSelections\n    recordAllPhoneCalls\n    hiddenTabsInSidebar\n    customCategories {\n      id\n      name\n      objectType\n      rsType\n    }\n    relationshipCategories {\n      id\n      labelA\n      labelB\n      hierarchy\n      subcontactFormEnabled\n      includeRelatedActivities\n      includeRelatedEmailAddresses\n      routeDealsToMainContact\n      showMainContactLink\n      includeRelatedInMainContactSearch\n      deleteRelatedContactsWithMainContact\n      translations {\n        id\n        locale\n        labelA\n        labelB\n      }\n    }\n    paperlessRemoteTemplates {\n      id\n      name\n    }\n    paperlessTemplates {\n      id\n      name\n    }\n    tenantTeamActivitiesAssignment\n    mailchimpInterestCategories\n    mailchimpInterests\n    allEnabledExtensions\n    acsConnected\n    acsSenderAddresses\n    supportedLanguages {\n      id\n      name\n      flag\n    }\n    customFormConfig {\n      titleLengthLimit\n    }\n    perfectMatchSettingsOptions\n    invoicePaymentTermMode\n    invoiceHintCustomFieldName\n    invoiceCostCenterCustomFieldName\n    contentTypes {\n      movie\n      vcard\n      image\n      document\n      classifyDocumentTags\n    }\n    fieldCalculationGroups {\n      id\n      active\n      name\n      baseFieldName\n      fixedFieldName\n      percentageFieldName\n      targetFieldName\n      formula\n      allowManualOverride\n      convertFixedPercentageFields\n    }\n    calculationFields {\n      name\n      label\n    }\n  }\n":ru,"\n  query InitialData {\n    appVersion\n    announcement {\n      text\n      color\n      closable\n      announcementId\n    }\n    broker {\n      ...InitialBroker\n    }\n    shop {\n      ...InitialShop\n    }\n  }\n":eh,"\n  mutation DisconnectDocusign {\n    disconnectDocusign {\n      ok\n    }\n  }\n":th,"\n  mutation DisconnectOguloBroker {\n    disconnectOguloBroker {\n      broker {\n        id\n        oguloApiKeyConfigured\n        oguloUserMapped\n      }\n    }\n  }\n":nh,"\n  mutation ActivateOgulo($settings: OguloSettingsAttributes!, $teamId: Int) {\n    activateOgulo(settings: $settings, teamId: $teamId) {\n      shop {\n        id\n        oguloEnabled\n        oguloWebhookConfigured\n      }\n    }\n  }\n":ih,"\n  mutation DeactivateOgulo($teamId: Int) {\n    deactivateOgulo(teamId: $teamId) {\n      shop {\n        id\n        oguloEnabled\n        oguloWebhookConfigured\n      }\n    }\n  }\n":rh,"\n  mutation UpdateTeamOguloSettings($id: Int!, $attributes: TeamAttributes!) {\n    updateTeam(id: $id, attributes: $attributes) {\n      id\n      oguloAutoCreate\n      oguloAutoCreateStatusId\n      oguloApiKeyConfigured\n      oguloCompanyId\n      oguloWebhookConfigured\n    }\n  }\n":ah,"\n  mutation UpdateShopOguloSettings($attributes: ShopAttributes!) {\n    updateShop(attributes: $attributes) {\n      id\n      oguloAutoCreate\n      oguloAutoCreateStatusId\n      oguloApiKeyConfigured\n      oguloWebhookConfigured\n    }\n  }\n":oh,"\n  mutation LogIntegrationConsentDecline($integrationId: String!, $consentVersion: String!) {\n    logIntegrationConsentDecline(\n      input: { integrationId: $integrationId, consentVersion: $consentVersion }\n    ) {\n      success\n    }\n  }\n":sh,'\n  query EA48ActionRequiredMessages($propertyId: String!) {\n    messages(\n      params: {\n        property: $propertyId\n        onlyWithSender: "[email protected]"\n        page: 1\n        per: 25\n        order: "desc"\n      }\n    ) {\n      data {\n        id\n        flags\n      }\n    }\n  }\n':lh,"\n  mutation ConfirmEA48Reorder($propertyId: Int!, $orderId: String!) {\n    confirmEa48Reorder(input: { propertyId: $propertyId, orderId: $orderId }) {\n      success\n      documentAvailable\n    }\n  }\n":dh,"\n  mutation DestroyInvoice($id: Int!) {\n    destroyInvoice(id: $id) {\n      ok\n    }\n  }\n":ch,"\n  mutation InvoicePreview($propertyId: Int!) {\n    invoicePreview(input: { propertyId: $propertyId }
12082) {\n      payload {\n        propertyId\n        propertyName\n        currency\n        realizedPrice\n        realizedRent\n        realizedCommissionableRent\n        baseRent\n        parkingSpacePrice\n        soldPrice\n        price\n        notarizationDate\n        invoiceDate\n        paymentTermDays\n        outputFormat\n        customHint\n        property {\n          address\n          marketingType\n          marketingTypeLabel\n        }\n        commissionBlocks {\n          role\n          total\n          basis\n          percentage\n        }\n        recipients {\n          clientId\n          role\n          name\n          address\n          emails\n        }\n        splits {\n          clientId\n          role\n          mode\n          value\n          fractionNumerator\n          fractionDenominator\n          paymentTermDays\n          description\n          positions {\n            id\n            type\n            description\n            amount\n            quantity\n            vatPercent\n          }\n        }\n        existingInvoice {\n          provider\n          status\n          sourceInvoiceIds\n        }\n      }\n    }\n  }\n":uh,"\n  mutation DownloadInvoiceCsv($invoiceId: Int!) {\n    downloadInvoiceCsv(invoiceId: $invoiceId) {\n      csvContent\n      errors\n    }\n  }\n":ph,"\n  mutation ConnectItsmydata {\n    connectItsmydata {\n      shop {\n        itsmydataConnected\n      }\n    }\n  }\n":mh,"\n  mutation DisconnectItsmydata {\n    disconnectItsmydata {\n      shop {\n        itsmydataConnected\n      }\n    }\n  }\n":hh,"\n  mutation ActivateItsmydataBroker {\n    activateItsmydataBroker {\n      broker {\n        itsmydataClientId\n      }\n    }\n  }\n":fh,"\n  mutation DisconnectItsmydataBroker {\n    disconnectItsmydataBroker {\n      broker {\n        itsmydataClientId\n      }\n    }\n  }\n":gh,"\n  query LocationsList {\n    shop {\n      locations {\n        id\n        name\n        parentLocationId\n      }\n    }\n  }\n":yh,"\n  query Mailboxes {\n    broker {\n      availableInboxes {\n        id\n        name\n        internalName\n        email\n        smartFolders {\n          id\n          name\n          color\n        }\n        mailboxFolders {\n          id\n          parentId\n          label\n          path\n        }\n      }\n      availableOutboxes {\n        id\n        name\n        internalName\n        email\n        signature\n      }\n    }\n  }\n":bh,"\n  mutation TranslateMediaImageTitles($resourceId: Int!, $resourceType: String!, $targetLocale: String!) {\n    translateImageTitles(resourceId: $resourceId, resourceType: $resourceType, targetLocale: $targetLocale) {\n      translatedCount\n      skippedEmpty\n      skippedExisting\n      skippedTooLong\n      skippedChanged\n      failed\n    }\n  }\n":vh,"\n  mutation BuildSearchProfileMessage($input: BuildMessageInput!) {\n    buildMessage(input: $input) {\n      message {\n        id\n        subject\n        body\n        brokerId\n        accessBrokerIds\n        accessDepartmentIds\n        cancellationPolicyOn\n        to {\n          email\n          name\n          clientId\n        }\n        cc {\n          email\n          name\n          clientId\n        }\n        bcc {\n          email\n        }\n        referencedClient {\n          id\n        }\n        eventId\n        eventConfirmation\n        viewingId\n        repliedMessageId\n        forwardedMessageId\n        messageCategoryId\n        messageTemplateId\n        propertyIds\n        projectIds\n        messageAttachments {\n          id\n          name\n          url\n          fileSize\n        }\n        policyId\n        sendAsPdf\n        skipAttachingIcsFile\n        campaignClientIds\n        campaignClientFilter\n        groupIds\n        ignoreContactAcceptance\n        signature\n        withExistingDeals\n      }\n    }\n  }\n":Ih,"\n  mutation UpsertMessageDraft($messageId: Int, $attributes: MessageAttributes!) {\n    upsertMessageDraft(messageId: $messageId, attributes: $attributes) {\n      id\n    }\n  }\n":Ch,"\n  mutation SendMessageDraft($messageId: Int!) {\n    sendMessageDraft(messageId: $messageId) {\n      id\n    }\n  }\n":Sh,"\n  mutation UpsertSearchProfileMassMailDraft($messageId: Int, $attributes: MessageAttributes!, $payload: JSON!) {\n    upsertSearchProfileMassMailDraft(messageId: $messageId, attributes: $attributes, payload: $payload) {\n      id\n      searchProfileMassMail\n    }\n  }\n":_h,"\n  mutation PreviewSearchProfileMassMailDraft($messageId: Int!, $savedQueryId: Int!) {\n    previewSearchProfileMassMailDraft(messageId: $messageId, savedQueryId: $savedQueryId) {\n      body\n      subject\n    }\n  }\n":kh,"\n  mutation SendSearchProfileMassMailDraft($messageId: Int!) {\n    sendSearchProfileMassMailDraft(messageId: $messageId) {\n      id\n    }\n  }\n":Th,"\n  mutation ValidateTaggedDocuments($propertyIds: [Int!]!, $tags: [String!]!) {\n    validateTaggedDocuments(propertyIds: $propertyIds, tags: $tags) {\n      missingDocuments\n    }\n  }\n":wh,'\n  query MicrositesPlaceholders {\n    shop {\n      current: micrositePlaceholders\n      de: micrositePlaceholders(locale: "de")\n      en: micrositePlaceholders(locale: "en")\n      es: micrositePlaceholders(locale: "es")\n      hu: micrositePlaceholders(locale: "hu")\n    }\n  }\n':Fh,"\n  query OnboardingStatus {\n    onboardingStatus {\n      completedCount\n      totalCount\n      percent\n      allDone\n      items {\n        key\n        group\n        done\n        ctaPath\n        blocked\n        blockedBy\n        skippable\n        skipped\n      }\n    }\n  }\n":Ph,"\n  query OnboardingIndex {\n    onboardingIndex {\n      score\n      band\n      setup\n      depth\n      activity\n      value\n    }\n  }\n":Ah,"\n  mutation SetOnboardingWebinarAttendance($key: String!, $attended: Boolean!) {\n    setOnboardingWebinarAttendance(key: $key, attended: $attended) {\n      onboardingStatus {\n        completedCount\n        totalCount\n        percent\n        allDone\n        items {\n          key\n          group\n          done\n          ctaPath\n          blocked\n          blockedBy\n          skippable\n          skipped\n        }\n      }\n    }\n  }
12082\n":$h,"\n  mutation SkipOnboardingItem($key: String!, $skipped: Boolean!) {\n    skipOnboardingItem(key: $key, skipped: $skipped) {\n      onboardingStatus {\n        completedCount\n        totalCount\n        percent\n        allDone\n        items {\n          key\n          group\n          done\n          ctaPath\n          blocked\n          blockedBy\n          skippable\n          skipped\n        }\n      }\n    }\n  }\n":Rh,"\n  query OnpreoIframeUrl {\n    shop {\n      onpreoIframeBaseUrl\n    }\n  }\n":Dh,"\n  query OnpreoShopApiKeys {\n    shop {\n      apiKeys {\n        id\n        category\n      }\n    }\n  }\n":Nh,"\n  mutation ActivateOnpreo {\n    activateOnpreo {\n      mandateStatus\n      provisioningError\n    }\n  }\n":Oh,"\n  mutation ArchiveProject($id: Int!) {\n    archiveProject(id: $id) {\n      id\n      archived\n    }\n  }\n":Eh,"\n  mutation UnarchiveProject($id: Int!) {\n    unarchiveProject(id: $id) {\n      id\n      archived\n    }\n  }\n":Mh,"\n  query PropertyUnitQuickview($id: ID!) {\n    property(id: $id) {\n      id\n      updatedAt\n      brokerId\n      brokerIds\n      departmentIds\n      propertyStatusId\n      unitId\n      note\n      warningNotice\n      archived\n      courtage\n      marketingType\n      objectType\n      rsType\n      rsCategory\n      country\n      rented\n      freeFrom\n      floor\n      floorPosition\n      buildingPart\n      customFields\n      relationships {\n        id\n        name\n        internalName\n        relatedClientId\n        relatedClient {\n          id\n          name\n          email\n          path\n          phone\n          company\n        }\n        project {\n          id\n          name\n        }\n      }\n      publishings {\n        id\n        publishDate\n      }\n      parentId\n      forkId\n      inheritanceFieldOverrides\n      aggregatedRsTypes\n      receivedViaMls\n      childrenCount\n      officeSpace\n      officeSpaceMin\n      officeSpaceTotal\n      officeRentPerSqmFrom\n      officeRentPerSqmTo\n      officeAdditionalCostsPerSqmFrom\n      officeAdditionalCostsPerSqmTo\n      retailSpace\n      retailSpaceMin\n      retailSpaceTotal\n      retailRentPerSqmFrom\n      retailRentPerSqmTo\n      retailAdditionalCostsPerSqmFrom\n      retailAdditionalCostsPerSqmTo\n      gastroSpace\n      gastroSpaceMin\n      gastroSpaceTotal\n      gastroRentPerSqmFrom\n      gastroRentPerSqmTo\n      gastroAdditionalCostsPerSqmFrom\n      gastroAdditionalCostsPerSqmTo\n      storageSpace\n      storageSpaceMin\n      storageSpaceTotal\n      storageRentPerSqmFrom\n      storageRentPerSqmTo\n      storageAdditionalCostsPerSqmFrom\n      storageAdditionalCostsPerSqmTo\n      mezzanineSpace\n      mezzanineSpaceMin\n      mezzanineSpaceTotal\n      mezzanineRentPerSqmFrom\n      mezzanineRentPerSqmTo\n      openSpace\n      openSpaceMin\n      openSpaceTotal\n      openRentPerSqmFrom\n      openRentPerSqmTo\n      serviceSpace\n      serviceSpaceMin\n      serviceSpaceTotal\n      serviceRentPerSqmFrom\n      serviceRentPerSqmTo\n      archiveSpace\n      archiveSpaceMin\n      archiveSpaceTotal\n      archiveSpaceRentPerSqmFrom\n      archiveSpaceRentPerSqmTo\n    }\n  }\n":Vh,"\n  mutation UpdateProperty($id: Int!, $attributes: PropertyAttributes!, $locale: String, $skipVersion: Boolean = false) {\n    updateProperty(id: $id, attributes: $attributes, locale: $locale, skipVersion: $skipVersion) {\n      id\n      updatedAt\n    }\n  }\n":Lh,"\n  mutation ArchiveProperty($id: Int!) {\n    archiveProperty(id: $id) {\n      id\n      archived\n    }\n  }\n":Bh,"\n  mutation UnarchiveProperty($id: Int!) {\n    unarchiveProperty(id: $id) {\n      id\n      archived\n    }\n  }\n":Uh,"\n  mutation CopyProperties($ids: [Int!]!) {\n    copyProperties(ids: $ids) {\
12082n      id\n    }\n  }\n":qh,"\n  mutation UpdatePropertiesStatus($ids: [Int!]!, $propertyStatusId: Int!) {\n    updatePropertiesStatus(ids: $ids, propertyStatusId: $propertyStatusId) {\n      id\n      propertyStatusId\n    }\n  }\n":xh,"\n  mutation UpdatePropertiesBroker($ids: [Int!]!, $brokerId: Int!) {\n    updatePropertiesBroker(ids: $ids, brokerId: $brokerId) {\n      id\n      brokerId\n    }\n  }\n":zh,"\n  mutation UpdatePropertyRented($id: Int!, $rented: Boolean!) {\n    updateProperty(id: $id, attributes: { rented: $rented }) {\n      id\n      rented\n    }\n  }\n":Gh,"\n  mutation UpdatePropertyFreeFrom($id: Int!, $freeFrom: String!) {\n    updateProperty(id: $id, attributes: { freeFrom: $freeFrom }) {\n      id\n      freeFrom\n    }\n  }\n":jh,"\n  mutation RecalculatePropertyAggregations($propertyId: Int!) {\n    recalculatePropertyAggregations(propertyId: $propertyId) {\n      id\n    }\n  }\n":Ga,"\n  mutation DetachPropertyFromParent($propertyId: Int!) {\n    detachPropertyFromParent(propertyId: $propertyId) {\n      id\n    }\n  }\n":ja,"\n  mutation InheritParentFieldsToChildren($propertyId: Int!, $fieldKeys: [String!]!, $childIds: [Int!]) {\n    inheritParentFieldsToChildren(propertyId: $propertyId, fieldKeys: $fieldKeys, childIds: $childIds) {\n      id\n    }\n  }\n":Ha,"\n  query ProppiPersonalization {\n    shop {\n      proppiPersonalization\n    }\n  }\n":Hh,"\n  mutation UpdateProppiPersonalization($attributes: ShopAttributes!) {\n    updateShop(attributes: $attributes) {\n      proppiPersonalization\n    }\n  }\n":Wh,"\n  query ProppiSkills {\n    shop {\n      proppiSkills {\n        id\n        title\n        description\n        visibility\n        updatedAt\n      }\n    }\n  }\n":Kh,"\n  query ProppiUsageMonthToDate {\n    shop {\n      proppiUsageMonthToDate {\n        brokerId\n        credits\n      }\n    }\n  }\n":Yh,"\n  mutation CreateProppiSkill($attributes: ProppiSkillAttributes!) {\n    createProppiSkill(attributes: $attributes) {\n      id\n      title\n      description\n      visibility\n      updatedAt\n    }\n  }\n":Qh,"\n  mutation UpdateProppiSkill($id: Int!, $attributes: ProppiSkillAttributes!) {\n    updateProppiSkill(id: $id, attributes: $attributes) {\n      id\n      title\n      description\n      visibility\n      updatedAt\n    }\n  }\n":Zh,"\n  mutation DestroyProppiSkill($id: Int!) {\n    destroyProppiSkill(id: $id) {\n      id\n    }\n  }\n":Jh,"\n  query BackofficeAssistantChats($page: Int!, $per: Int!) {\n    backofficeAssistantChats(page: $page, per: $per) {\n      totalCount\n      nodes {\n        id\n        title\n        createdAt\n        lastMessageContent\n        lastMessageCreatedAt\n      }\n    }\n  }\n":Xh,"\n  query BackofficeAssistantChat($id: Int!) {\n    backofficeAssistantChat(id: $id) {\n      id\n      title\n      turns {\n        userMessage {\n          id\n          content\n        }\n        assistantMessage {\n          id\n          content\n          feedback\n          createdAt\n          elapsedSeconds\n          status\n          progressSteps {\n            text\n            source\n          }\n          toolCalls {\n            id\n            name\n            label\n            argumentsSummary\n            status\n            startedAt\n            completedAt\n            durationMs\n          }\n        }\n      }\n    }\n  }\n":ef,"\n  mutation RenameBackofficeAssistantChat($id: Int!, $title: String!) {\n    renameBackofficeAssistantChat(input: { id: $id, title: $title }) {\n      chat {\n        id\n        title\n      }\n    }\n  }\n":tf,"\n  mutation UpdateBackofficeAssistantMessageFeedback($messageId: Int!, $feedback: BackofficeAssistantMessageFeedback) {\n    updateBackofficeAssistantMessageFeedback(messageId: $messageId, feedback: $feedback) {\n      id\n      feedback\n    }\n  }\n":nf,"\n  mutation TranscribeProppiAudio($audioBase64: String!, $mimeType: String!) {\n    transcribeProppiAudio(audioBase64: $audioBase64, mimeType: $mimeType) {\n      transcription\n    }\n  }\n":rf,"\n  query PropvisionReelProperty($id: ID!) {\n    resource: property(id: $
12082id) {\n      title\n      broker {\n        id\n        name\n        email\n        phone\n        cell\n        avatarUrl\n      }\n    }\n  }\n":af,"\n  query PropvisionReelProject($id: Int!) {\n    resource: project(id: $id) {\n      title\n      broker {\n        id\n        name\n        email\n        phone\n        cell\n        avatarUrl\n      }\n    }\n  }\n":of,"\n  query SocialHubPortals {\n    shop {\n      portals {\n        id\n        name\n        format\n        is24CompanyName\n      }\n    }\n  }\n":sf,"\n  query RealtorProfile($connectionId: Int!) {\n    portal(id: $connectionId) {\n      realtorProfile {\n        profile {\n          aboutUs { aboutUs }\n          services {\n            specializations\n            customSpecializations\n            operationAreas { geoId name }\n            wholeGermany\n            serviceDescriptions\n          }\n          contractAddress { company street houseNumber postcode city countryCode }\n          companyLogo { logoId logoUrl }\n          selectedBackgroundImage { selectedImageId selectedImageUrl }\n          backgroundImages { uploadedImage { imageId url selected } }\n          documents { documents { documentId fileName extension fileSize url } }\n          openingHours { openingHours { dayOfWeek openingHour closingHour } }\n          socialMedia { homepageUrl facebookUrl instagramUrl linkedInUrl xingUrl }\n          showOnProfilePage { shownOnAgencyProfilePageContacts { contactId pictureUrl } }\n          profilePageUrl\n          testimonials {\n            testimonials {\n              testimonialId\n              testimonial\n              referrerName\n              phone { countryCode areaCode subscriberNumber }\n              priority\n            }\n          }\n        }\n      }\n    }\n  }\n":lf,"\n  query ScoutContacts($connectionId: Int!) {\n    shop {\n      scoutContacts(connectionId: $connectionId) {\n        id\n        name\n        position\n        phoneNumber\n      }\n    }\n  }\n":df,"\n  query RealtorProfileRatings($connectionId: Int!, $timeRange: RealtorProfileRatingsTimeRange!) {\n    portal(id: $connectionId) {\n      realtorProfile {\n        ratings(timeRange: $timeRange) {\n          showEvaluations\n          rating {\n            timeRange\n            overall {\n              averageRating\n              reviewCount\n              recommendationPercentage\n              distribution { stars count }\n            }\n            sellerLandlord { averageRating reviewCount recommendationPercentage }\n            interestedParty { averageRating reviewCount recommendationPercentage }\n          }\n        }\n      }\n    }\n  }\n":cf,"\n  query RealtorProfileReviews($connectionId: Int!, $page: Int!, $pageSize: Int!) {\n    portal(id: $connectionId) {\n      realtorProfile {\n        reviews(page: $page, pageSize: $pageSize) {\n          page\n          pageSize\n          totalPages\n          totalCount\n          sort { field direction }\n          reviews {\n            reviewId\n            reviewType\n            reviewerName\n            reviewerInitials\n            reviewDate\n            averageRating\n            recommendation\n            comment\n            property { objectId objectType objectTypeLabel title address }\n            categoryRatings { key label rating }\n          }\n        }\n      }\n    }\n  }\n":uf,"\n  mutation UpdateRealtorProfileAboutUs($input: UpdateRealtorProfileAboutUsInput!) {\n    updateRealtorProfileAboutUs(input: $input) {\n      aboutUs {\n        aboutUs\n      }\n    }\n  }\n":pf,"\n  mutation UpdateRealtorProfileServices($input: UpdateRealtorProfileServicesInput!) {\n    updateRealtorProfileServices(input: $input) {\n      services {\n        specializations\n        customSpecializations\n        operationAreas {\n          geoId\n          name\n        }\n        wholeGermany\n        serviceDescriptions\n      }\n    }\n  }\n":mf,"\n  mutation UpdateRealtorProfileContractAddress($input: UpdateRealtorProfileContractAddressInput!) {\n    updateRealtorProfileContractAddress(input: $input) {\n      contractAddress {\n        company\n        street\n        houseNumber\n        postcode\n        city\n        countryCode\n      }\n    }\n  }
12082\n":hf,"\n  mutation UpdateRealtorProfileOpeningHours($input: UpdateRealtorProfileOpeningHoursInput!) {\n    updateRealtorProfileOpeningHours(input: $input) {\n      openingHours {\n        openingHours {\n          dayOfWeek\n          openingHour\n          closingHour\n        }\n      }\n    }\n  }\n":ff,"\n  mutation UpdateRealtorProfileSocialMedia($input: UpdateRealtorProfileSocialMediaInput!) {\n    updateRealtorProfileSocialMedia(input: $input) {\n      socialMedia {\n        homepageUrl\n        facebookUrl\n        instagramUrl\n        linkedInUrl\n        xingUrl\n      }\n    }\n  }\n":gf,"\n  mutation UpdateRealtorProfileShownContacts($input: UpdateRealtorProfileShownContactsInput!) {\n    updateRealtorProfileShownContacts(input: $input) {\n      showOnProfilePage {\n        shownOnAgencyProfilePageContacts {\n          contactId\n          pictureUrl\n        }\n      }\n    }\n  }\n":yf,"\n  mutation UpdateRealtorProfileRatingsVisibility($input: UpdateRealtorProfileRatingsVisibilityInput!) {\n    updateRealtorProfileRatingsVisibility(input: $input) {\n      ratings {\n        showEvaluations\n      }\n    }\n  }\n":bf,"\n  mutation UpdateRealtorProfileTestimonials($input: UpdateRealtorProfileTestimonialsInput!) {\n    updateRealtorProfileTestimonials(input: $input) {\n      testimonials {\n        testimonials {\n          testimonialId\n          testimonial\n          referrerName\n          phone {\n            countryCode\n            areaCode\n            subscriberNumber\n          }\n          priority\n        }\n      }\n    }\n  }\n":vf,"\n  mutation DeleteRealtorProfileDocument($input: DeleteRealtorProfileDocumentInput!) {\n    deleteRealtorProfileDocument(input: $input) {\n      success\n    }\n  }\n":If,"\n  mutation UploadRealtorProfileDocument($input: UploadRealtorProfileDocumentInput!) {\n    uploadRealtorProfileDocument(input: $input) {\n      document {\n        documentId\n        fileName\n        extension\n        fileSize\n        url\n      }\n    }\n  }\n":Cf,"\n  mutation UploadRealtorProfileBackgroundImage($input: UploadRealtorProfileBackgroundImageInput!) {\n    uploadRealtorProfileBackgroundImage(input: $input) {\n      uploadedBackgroundImage {\n        uploadedImageId\n        uploadedImageUrl\n      }\n    }\n  }\n":Sf,"\n  mutation SelectRealtorProfileBackgroundImage($input: SelectRealtorProfileBackgroundImageInput!) {\n    selectRealtorProfileBackgroundImage(input: $input) {\n      selectedBackgroundImage {\n        selectedImageId\n        selectedImageUrl\n      }\n    }\n  }\n":_f,"\n  mutation UploadRealtorProfileCompanyLogo($input: UploadRealtorProfileCompanyLogoInput!) {\n    uploadRealtorProfileCompanyLogo(input: $input) {\n      companyLogo {\n        logoId\n        logoUrl\n      }\n    }\n  }\n":kf,"\n  query ScoutWaitingListProspects($propertyId: Int!, $connectionId: Int!) {\n    scoutWaitingListProspects(propertyId: $propertyId, connectionId: $connectionId) {\n      count\n      prospects {\n        ssoId\n        firstName\n        lastName\n        email\n        imageUrl\n        isPlus\n        moveInDate\n        moveInDetailsType\n        income\n        numberOfAdults\n        numberOfChildren\n        hasPets\n        subsidizedHousingPermission\n        employmentStatus\n        levelOfEmployment\n        isContacted\n        hasExistingConversation\n        alreadyImported\n        alreadyAvailableForProperty\n        archivedInPropstack\n        selectable\n        unselectableReason\n      }\n    }\n  }\n":Tf,"\n  mutation ImportScoutWaitingListProspects($propertyId: Int!, $connectionId: Int!, $prospectSsoIds: [String!]!) {\n    importScoutWaitingListProspects(\n      propertyId: $propertyId\n      connectionId: $connectionId\n      prospectSsoIds: $prospectSsoIds\n    ) {\n      createdContactIds\n      reusedContactIds\n      searchProfileMassMailEntries {\n        savedQueryId\n        clientId\n        clientName\n        recipientId\n        toClientIds\n        ccClientIds\n      }\n      skipped {\n        prospectSsoId\n        reason\n      }\n      failures {\n        prospectSsoId\n        message\n      }\n    }\n  }\n":wf,"\n  query SearchFiltersList($forEntity: String, $workList: Boolean) {\n    shop {\n      searchFilters(forEntity: $forEntity, workList: $workList) {\n        id\n        name\n        forEntity\n        workList\n        storageType\n        brokerId\n        brokerIds\n        departmentIds\n        isPublic\n        mcExportable\n        mcLastExportedAt\n        widgetActive\n        widgetUrl\n      }\n    }\n  }\n":Ff,"\n  query SearchFilterDetail($ids: [Int!], $forEntity: String, $workList: Boolean) {\n    shop {\n      searchFilters(ids: $ids, forEntity: $forEntity, workList: $workList) {\n        id\n        name\n        forEntity\n        workList\n        params\n        esFilters\n        storageType\n        brokerId\n        brokerIds\n        departmentIds\n        isPublic\n        mcLastExportedAt\n        mcExportable\n        widgetActive\n        widgetUrl\n      }\n    }\n  }\n":Pf,"\n  query WorkLists($forEntity: String!) {\n    shop {\n      searchFilters(forEntity: $forEntity, workList: true) {\n        id\n        currentCount\n      }\n    }\n  }\n":Af,'\n  query SelectionLists($propertyId: Int!) {\n    shop {\n      searchFilters(forEntity: "for_suggested_clients", workList: true, propertyId: $propertyId) {\n        id\n        name\n        forEntity\n        workList\n        params\n        brokerId\n        brokerIds\n        departmentIds\n        isPublic\n        currentCount\n        propertyId\n        selectionListStatus\n        createdAt\n      }\n    }\n  }\n':$f,"\n  mutation PrepareSprengnetterValuationHub($input: PrepareSprengnetterValuationHubInput!) {\n    prepareSprengnetterValuationHub(input: $input) {\n      accessToken\n      assetUrls\n      realEstate\n      reportConfig {\n        companyLogo\n        profilePicture\n        primaryColor\n        contactInformation {\n          companyName\n          email\n          phoneNumber\n          name\n          houseNumber\n          street\n          town\n          postCode\n          website\n        }\n      }\n      images {\n        url\n        title\n        isProfilePicture\n      }\n    }\n  }\n":Rf,"\n  mutation GenerateSsoToken($audience: String!) {\n    generateSsoToken(audience: $audie
12082nce) {\n      token\n    }\n  }\n":Df,"\n  query SuperchatTemplates {\n    shop {\n      superchatTemplates {\n        id\n        name\n        mapping\n        header\n        buttons\n      }\n    }\n  }\n":Nf,"\n  mutation PrepareBulkSuperchatMessage(\n    $templateId: Int\n    $clientIds: [Int!]!\n    $propertyId: Int\n    $projectId: Int\n    $customVariables: JSON\n  ) {\n    prepareBulkSuperchatMessage(\n      templateId: $templateId\n      clientIds: $clientIds\n      propertyId: $propertyId\n      projectId: $projectId\n      customVariables: $customVariables\n    ) {\n      recipients {\n        id\n        name\n        status\n        reason\n        retryable\n        deliveryUnknown\n      }\n      preview\n      header\n      buttons\n    }\n  }\n":Of,"\n  mutation SendBulkSuperchatMessages(\n    $templateId: Int!\n    $clientIds: [Int!]!\n    $propertyId: Int\n    $projectId: Int\n    $customVariables: JSON\n  ) {\n    sendBulkSuperchatMessages(\n      templateId: $templateId\n      clientIds: $clientIds\n      propertyId: $propertyId\n      projectId: $projectId\n      customVariables: $customVariables\n    ) {\n      recipients {\n        id\n        name\n        status\n        reason\n        retryable\n        deliveryUnknown\n      }\n      sentCount\n      excludedCount\n      failedCount\n    }\n  }\n":Ef,"\n  mutation CreateInquirySeeker($inquiryId: Int!) {\n    createInquirySeeker(inquiryId: $inquiryId) {\n      id\n      name\n      path\n      emails\n      phone\n      email\n    }\n  }\n":Mf,"\n  fragment TaskFormFields on Task {\n    id\n    title\n    taskStageId\n    categoryId\n    brokerId\n    body\n    brokerIds\n    clientIds\n    propertyIds\n    projectIds\n    groupIds\n    noteAttachments {\n      id\n      name\n      url\n    }\n    remindAtInMinutes\n    createdAt\n    startsAt\n    endsAt\n    allDay\n    rrule\n    private\n    sendReminders\n    roomResourceEmails\n    isOnlineMeeting\n    onlineMeetingUrl\n    participantEmails\n    massViewing\n    slotStep\n    maxParticipantsPerSlot\n    viewingReplySnippetId\n    location\n    customFields\n    bufferBefore\n    bufferAfter\n    departmentId\n    viewingCancellationSnippetId\n    originalDate\n    previousActivityId\n    previousActivityType\n  }\n":au,"\n  fragment TaskBuildFormFields on Task {\n    title\n    taskStageId\n    categoryId\n    brokerId\n    body\n    brokerIds\n    clientIds\n    propertyIds\n    projectIds\n    groupIds\n    noteAttachments {\n      id\n      name\n      url\n    }\n    remindAtInMinutes\n    createdAt\n    startsAt\n    endsAt\n    allDay\n    rrule\n    private\n    sendReminders\n    roomResourceEmails\n    isOnlineMeeting\n    onlineMeetingUrl\n    participantEmails\n    massViewing\n    slotStep\n    maxParticipantsPerSlot\n    viewingReplySnippetId\n    location\n    customFields\n    bufferBefore\n    bufferAfter\n    departmentId\n    viewingCancellationSnippetId\n    originalDate\n    previousActivityId\n    previousActivityType\n  }\n":ou,"\n  fragment TaskDealFields on ClientProperty {\n    id\n    client {\n      name\n      id\n    }\n    property {\n      name\n      id\n    }\n    projectId\n    dealPipelineId\n    dealStageId\n    reasonId\n    dealStageChance\n    dealStage {\n      id\n      name\n      color\n    }\n  }\n":su,"\n  query TaskDeals($id: ID!, $date: ISO8601DateTime) {\n    task(id: $id, date: $date) {\n      deals {\n        ...TaskDealFields\n      }\n    }\n  }\n":Vf,"\n  query EditTask($id: ID!, $date: ISO8601DateTime) {\n    task(id: $id, date: $date) {\n      ...TaskFormFields\n    }\n  }\n":Lf,"\n  mutation BuildTask($input: BuildTaskInput!) {\n    buildTask(input: $input) {\n      task {\n        ...TaskBuildFormFields\n      }\n    }\n  }\n":Bf,"\n  mutation CreateTask(\n    $attributes: TaskAttributes!\n    $searchFilterId: Int\n    $massClientIds: [Int!]\n    $massClientFilter: JSON\n  ) {\n    createTask(\n      attributes: $attributes\n      searchFilterId: $searchFilterId\n      massClientIds: $massClientIds\n      massClientFilter: $massClientFilter\n    ) {\n      task {\n        id\n      }\n      followupResourceType\n    }\n  }\n":Uf,"\n  mutation UpdateTask($id: Int!, $attributes: TaskAttributes!) {\n    updateTask(id: $id, attributes: $attributes) {\n      id\n    }\n  }\n":qf,"\n  mutation UpdateAppointmentSchedule(\n    $appointmentId: Int!\n    $startsAt: ISO8601DateTime!\n    $endsAt: ISO8601DateTime!\n    $occurrenceStartsAt: ISO8601DateTime\n  ) {\n    updateAppointmentSchedule(\n      appointmentId: $appointmentId\n      startsAt: $startsAt\n      endsAt: $endsAt\n      occurrenceStartsAt: $occurrenceStartsAt\n    ) {\n      id\n    }\n  }\n":xf,"\n  mutation UpdateAppointmentState($appointmentId: Int!, $state: String!, $occurrenceStartsAt: ISO8601DateTime) {\n    updateAppointmentState(appointmentId: $appointmentId, state: $state, occurrenceStartsAt: $occurrenceStartsAt) {\n      followupResourceType\n    }\n  }\n":zf,"\n  mutation ToggleReminderCompletion($reminderId: Int!, $done: Boolean, $decisionOptionId: Int) {\n    toggleReminderCompletion(reminderId: $reminderId, done: $done, decisionOptionId: $decisionOptionId) {\n      reminder {\n        id\n      }\n      followupResourceType\n      showTodoActivitiesScreen\n    }\n  }\n":Gf,"\n  query TaskClientTrackingEvents($taskId: ID!, $clientId: Int!, $first: Int!, $after: String) {\n    task(id: $taskId) {\n      clientTrackingEvents(clientId: $clientId, first: $first, after: $after) {\n        nodes {\n          id\n          actionType\n          clientId\n          clientName\n          content\n          createdAt\n          clientPropertyId\n          propertyName\n          projectName\n          messageSubject\n        }\n        pageInfo {\n          hasNextPage\n          endCursor\n        }\n      }\n    }\n  }\n":jf,"\n  query TaskAttentionCounts($attentionFilterSet: JSON!, $overdueFilterSet: JSON!) {\n    broker {\n      attentionCount: uncompletedTodos(filterSet: $attentionFilterSet)\n      overdueCount: uncompletedTodos(filterSet: $overdueFilterSet)\n    }\n  }\n":Hf,"\n  query OpenUpgradeRequest {\n    openUpgradeRequest {\n      id\n      plan\n      seatCount\n      status\n      requestedAt\n    }\n  }\n":Wf,"\n  mutation RequestUpgrade($plan: String!) {\n    requestUpgrade(plan: $plan) {\n      upgradeRequest {\n        id\n        plan\n        status\n        seatCount\n      }\n    }\n  }\n":Kf,"\n  query Webinars {\n    webinars {\n      id\n      title\n      introduction\n      difficulty\n      topics\n      host\n      chargeable\n      imageSource\n      startAt\n      endAt\n      seatsHint\n      registrationUrl\n    }\n  }\n":Yf,"\n  query WorkflowBuilderViewerConfig {\n    recipesConfig\n  }\n":Qf,"\n  query WorkflowBuilderViewerNodeDetails($workflowId: Int!, $nodeId: String!) {\n    shop {\n      workflowConfiguration(id: $workflowId) {\n        nodeDetails(nodeId: $nodeId) {\n          nodeType\n          recipe {\n            id\n            live\n            title\n            triggerType\n            actionType\n            changedAttribute\n            conditions\n            actionOptions\n            nextRecipeIds\n            webhookUrl\n            createdAt\n            updatedAt\n            lastExecutedAt\n            schedule\n            scheduleType\n            viewonly\n          }\n          messageCategory {\n            id\n            name\n            displayName\n            color\n            hideInReports\n            nextDealStageId\n            senders\n            recipients\n            keywords\n            translations {\n              id\n              locale\n              name\n            }\n            followupActivities {\n              ...WorkflowBuilderViewerFollowupActivity\n            }\n          }\n          noteCategory {\n            id\n            name\n            displayName\n            titleFormula\n            color\n            body\n            hideInReports\n            hideInActivities\n            internal\n            locked\n            nextPropertyStatusId\n            nextClientStatusId\n            nextDealStageId\n            translations {\n              id\n              locale\n              name\n            }\n            createdFollowupActivities {\n              ...WorkflowBuilderViewerFollowupActivity\n            }\n          }\n          todoCategory {\n            id\n            name\n            displayName\n            titleFormula\n            color\n            body\n            hideInReports\n            hideInActivities\n            internal\n            locked\n            taskPipelineId\n            brokerId\n            departmentId\n            reviewerIds\n            nextPropertyStatusId\n            nextClientStatusId\n            nextDealStageId\n            completedDealStageId\n            translations {\n              id\n              locale\n              name\n            }\n            todos {\n              title\n              brokerId\n              departmentId\n              dueDate\n            }\n            createdFollowupActivities {\n              ...WorkflowBuilderViewerFollowupActivity\n            }\n            completedFollowupActivities {\n              ...WorkflowBuilderViewerFollowupActivity\n            }\n            todoActivities {\n              id\n              label\n              mandatory\n              activityType\n              payload {\n                snippetId\n                brokerId\n                noteTypeId\n                todoTypeId\n                eventTypeId\n                reservationReasonId\n                propertyStatusId\n                dueDate\n                departmentId\n                reviewerIds\n              }\n            }\n          }\n          eventCategory {\n            id\n            name\n            displayName\n            titleFormula\n            publicTitleFormula\n            color\n            body\n            hideInReports\n            hideInActivities\n            internal\n            roomResourceEmails\n            autosetEventLocation\n            autosetEventStateTookPlace\n            showAs\n            nextPropertyStatusId\n            nextClientStatusId\n            nextDealStageId\n            completedDealStageId\n            createdDealBrokerId\n            completedDealBrokerId\n            translations {\n              id\n              locale\n              name\n            }\n            createdFollowupActivities {\n              ...WorkflowBuilderViewerFollowupActivity\n            }\n            completedFollowupActivities {\n              ...WorkflowBuilderViewerFollowupActivity\n            }\n          }\n          decisionCategory {\n            id\n            name\n            displayName\n            titleFormula\n            color\n            body\n            hideInReports\n            hideInActivities\n            internal\n            translations {\n              id\n              locale\n              name\n            }\n            decisionOptions {\n              id\n              name\n              dealStageId\n              translations {\n                id\n                locale\n                name\n              }\n              followupActivities {\n                ...WorkflowBuilderViewerFollowupActivity\n              }\n            }\n          }\n          letterCategory {\n            id\n            name\n            displayName\n            titleFormula\n            color\n            body\n            hideInReports\n            hideInActivities\n            internal\n            nextPropertyStatusId\n            nextClientStatusId\n            nextDealStageId\n            translations {\n              id\n              locale\n              name\n            }\n            createdFollowupActivities {\n              ...WorkflowBuilderViewerFollowupActivity\n            }\n          }\n          snippet {\n            id\n            name\n            subject\n            body\n            brokerId\n            snippetCategoryId\n            messageCategoryId\n            messageTemplateId\n            cancellationPolicyOn\n            skipAttachingIcsFile\n            isPrivate\n            brokerIds\n            departmentIds\n            messageAttachments {\n              id\n              name\n              url\n            }\n          }\n          dealStage {\n            ...WorkflowBuilderViewerDealStage\n          }\n          dealPipeline {\n            id\n            name\n            translations {\n              id\n              locale\n              name\n            }\n            brokerIds\n            departmentIds\n            excludedClientStatusIds\n            excludedClientGroupIds\n            displayedKeyFigures\n            exclusiveDealStageIds\n            dealStages {\n              ...WorkflowBuilderViewerDealStage\n            }\n          }\n        }\n      }\n    }\n  }\n\n  fragment WorkflowBuilderViewerFollowupActivity on FollowupActivity {\n    id\n    activityType\n    actionType\n    payload {\n      snippetId\n      brokerId\n      departmentId\n      dueDate\n      todoTypeId\n      eventTypeId\n      decisionTypeId\n      cancelationReasonId\n      messageCategoryId\n      reviewerIds\n    }\n  }\n\n  fragment WorkflowBuilderViewerDealStage on DealStage {\n    id\n    name\n    publicName\n    title\n    chance\n    color\n    maxAllowance\n    excludedBrokerIds\n    nextPropertyStatusId\n    addPropertyGroupIds\n    subPropertyGroupIds\n    nextClientStatusId\n    addClientGroupIds\n    subClientGroupIds\n    nextClientReasonId\n    transferOfferPriceToProperty\n    viewonly\n    dealPipelineId\n    clientReasonIdExplicitlySet\n    translations {\n      id\n      locale\n      name\n      publicName\n    }\n    recipes {\n      id\n      actionType\n      actionOptions\n    }\n  }\n":Zf,"\n  query WorkflowBuilderRevisions($workflowId: Int!) {\n    shop {\n      workflowConfiguration(id: $workflowId) {\n        id\n        revisions {\n          id\n          revisionNumber\n          source\n          nodeCount\n          edgeCount\n          authorName\n          createdAt\n        }\n      }\n    }\n  }\n":Jf,"\n  mutation WorkflowBuilderRestoreRevision($workflowId: Int!, $revisionId: Int!, $lockVersion: Int!) {\n    restoreWorkflowConfigurationRevision(\n      workflowConfigurationId: $workflowId\n      revisionId: $revisionId\n      lockVersion: $lockVersion\n    ) {\n      id\n      lockVersion\n      updatedAt\n    }\n  }\n":Xf,'\n  mutation ExecuteAgent($input: ExecuteAgentInput!) {\n    executeAgent(input: $input) {\n      eligible\n      agentRun {\n        id\n        uuid\n        agentKe
12082y\n        resourceType\n        resourceId\n        brokerId\n        broker {\n          id\n          name\n          initials\n          color\n          avatarUrl(size: "small_thumb")\n        }\n        targetField\n        status\n        executionMode\n        workflowState\n        proposals {\n          id\n          field\n          value\n          confidence\n          label\n          explanation\n          metadata\n        }\n        errorCode\n        errorMessage\n        applied\n        startedAt\n        createdAt\n      }\n      prerequisites {\n        code\n        message\n        fieldPath\n        blocking\n      }\n      errors\n    }\n  }\n':eg,'\n  mutation ApplyAgentProposal($input: ApplyAgentProposalInput!) {\n    applyAgentProposal(input: $input) {\n      ok\n      agentRun {\n        id\n        uuid\n        agentKey\n        resourceType\n        resourceId\n        brokerId\n        broker {\n          id\n          name\n          initials\n          color\n          avatarUrl(size: "small_thumb")\n        }\n        targetField\n        status\n        proposals {\n          id\n          field\n          value\n          confidence\n          label\n          explanation\n          metadata\n        }\n        applied\n        appliedProposalId\n        appliedAt\n      }\n      appliedChanges\n      errors\n    }\n  }\n':tg,'\n  mutation CancelAgentRun($input: CancelAgentRunInput!) {\n    cancelAgentRun(input: $input) {\n      ok\n      agentRun {\n        id\n        uuid\n        agentKey\n        resourceType\n        resourceId\n        brokerId\n        broker {\n          id\n          name\n          initials\n          color\n          avatarUrl(size: "small_thumb")\n        }\n        targetField\n        status\n        executionMode\n        workflowState\n        proposals {\n          id\n          field\n          value\n          confidence\n          label\n          explanation\n          metadata\n        }\n        resultMeta\n        errorCode\n        errorMessage\n        applied\n        appliedProposalId\n        appliedAt\n        startedAt\n        completedAt\n        createdAt\n        updatedAt\n      }\n      errors\n    }\n  }\n':ng,"\n  query AvailableAgents($resourceType: AgentResource!, $resourceId: ID!, $includeIneligible: Boolean) {\n    availableAgents(resourceType: $resourceType, resourceId: $resourceId, includeIneligible: $includeIneligible) {\n      key\n      title\n      description\n      resourceType\n      targetFields\n      group {\n        key\n        title\n        order\n      }\n      displayOrder\n      eligible\n      supportsSync\n      supportsAsync\n      optionSchema {\n        key\n        type\n        label\n        required\n        defaultValue\n        enumOptions\n        maxLength\n        helpText\n      }\n      prerequisites {\n        code\n        message\n        fieldPath\n        blocking\n        resolverAgentKey\n      }\n    }\n  }\n":ig,'\n  query AgentRuns(\n    $resourceType: AgentResource!\n    $resourceId: ID!\n    $agentKey: String\n    $targetField: String\n    $limit: Int\n  ) {\n    agentRuns(\n      resourceType: $resourceType\n      resourceId: $resourceId\n      agentKey: $agentKey\n      targetField: $targetField\n      limit: $limit\n    ) {\n      id\n      uuid\n      agentKey\n      resourceType\n      resourceId\n      brokerId\n      broker {\n        id\n        name\n        initials\n        color\n        avatarUrl(size: "small_thumb")\n      }\n      targetField\n      status\n      executionMode\n      workflowState\n      proposals {\n        id\n        field\n        value\n        confidence\n        label\n        explanation\n        metadata\n      }\n      resultMeta\n      errorCode\n      errorMessage\n      applied\n      appliedProposalId\n      appliedAt\n      startedAt\n      completedAt\n      createdAt\n      updatedAt\n    }\n  }\n':rg,'\n  query AgentRun($uuid: ID!) {\n    agentRun(uuid: $uuid) {\n      id\n      uuid\n      agentKey\n      resourceType\n      resourceId\n      brokerId\n      broker {\n        id\n        name\n        initials\n        color\n        avatarUrl(size: "small_thumb")\n      }\n      targetField\n      status\n      executionMode\n      workflowState\n      proposals {\n        id\n        field\n        value\n        confidence\n        label\n        explanation\n        metadata\n      }\n      resultMeta\n      errorCode\n      errorMessage\n      applied\n      appliedProposalId\n      appliedAt\n      startedAt\n      completedAt\n      createdAt\n      updatedAt\n    }\n  }\n':ag,"\n  query JustOnShopApiKeys {\n    shop {\n      apiKeys {\n        id\n        name\n        category\n        permissions\n        key\n        logs {\n          timestamp\n          endpoint\n          timeSpent\n          httpMethod\n          statusCode\n          ipAddress\n          referrer\n          params\n        }\n      }\n    }\n  }\n":og,"\n    query OnpreoShopApiKeysQuery {\n      shop {\n        apiKeys {\n          id\n          category\n        }\n      }\n    }\n  ":sg};function $e(e){return lg[e]??{}}class dg extends bi{constructor(){super(vi.integrationsService)}async getCurrentOrderByEntityId(t,n){return this.invokeApiWithErrorHandling(`/integrations/${t}/orders/current/entities/${n}`,"GET")}async getOrders(t,n){return this.invokeApiWithErrorHandling(`/integrations/${t}/orders`,"GET",void 0,{queryParams:n})}async setOrderContext(t,n){return this.invokeApiWithErrorHandling(`/orders/${t}/context`,"PUT",n)}async setOrderStep(t,n){return this.invokeApiWithErrorHandling(`/orders/${t}/step`,"PUT",{step:n})}async deleteOrder(t){return this.invokeApiWithErrorHandling(`/orders/${t}`,"DELETE")}async cancelEA48Order(t){return this.invokeApiWithErrorHandling(`/integrations/integration-ea48-ps/orders/${t}/cancel-pending-order`,"POST",{})}async dispatchOrder(t,n){return this.invokeApiWithErrorHandling(`/integrations/${t}/orders`,"POST",n)}async getOrderSessionJobPreview(t,n,i){return this.invokeApiWithErrorHandling(`/integrations/${t}/orders/${n}/image-edit-session/job-status`,"GET",void 0,{queryParams:{jobId:i}})}async updateOrderSession(t,n,i){return this.invokeApiWithErrorHandling(`/integrations/${t}/orders/${n}/image-edit-session/action`,"POST",i)}async previewOrder(t,n){return this.invokeApiWithErrorHandling(`/integrations/${t}/orders/reels/preview`,"POST",n)}}const cg=new dg;class ug extends bi{constructor(){super(vi.integrationsService)}async updateConfiguration(t,n){return this.invokeApiWithErrorHandling(`/integrations/${t}/configuration`,"PUT",n)}async getIntegrations(){return this.invokeApiWithErrorHandling("/integrations","GET")}async getIntegration(t){return this.invokeApiWithErrorHandling(`/integrations/${t}`,"GET")}async saveConsent(t,n){return this.invokeApiWithErrorHandling(`/integrations/${t}/consent`,"PUT",n)}async deleteConsent(t){return this.invokeApiWithErrorHandling(`/integrations/${t}/consent`,"DELETE")}async getAllUsersQuota(t,n){return this.invokeApiWithErrorHandling(`/integrations/${t}/contingent/details/users`,"GET",void 0,n?{queryParams:n}:void 0)}async saveQuotaAssignments(t,n){return this.invokeApiWithErrorHandling(`/integrations/${t}/contingent/details/users`,"PUT",n)}async saveQuotaAssignment(t,n,i){return this.invokeApiWithErrorHandling(`/integrations/${t}/contingent/details/users/${n}`,"PUT",i)}}const pg=new ug;class mg extends bi{constructor(){super(vi.is24CustomerService)}async getMemberships(){return this.invokeApiWithErrorHandling("/is24-memberships/type","GET")}async getOAuth2AccessToken(t){return this.invokeApiWithErrorHandling(`/oauth2/portal/${t}`,"GET")}}const hg=new mg;class fg extends bi{constructor(){super(vi.nylasService)}async connectAccount(t){return this.invokeApiWithErrorHandling("/auth","GET",void 0,{queryParams:t})}}const gg=new fg;class yg{constructor(){this.integrations=pg,this.orders=cg,this.is24CustomerService=hg,this.nylasService=gg}}const bg=new yg;var fa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},vg={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},Vt,sa,$s,Ig=($s=class{constructor(){Se(this,Vt,vg);Se(this,sa,!1)}setTimeoutProvider(e){ue(this,Vt,e)}setTimeout(e,t){return M(this,Vt).setTimeout(e,t)}clearTimeout(e){M(this,Vt).clearTimeout(e)}setInterval(e,t){return M(this,Vt).setInterval(e,t)}clearInterval(e){M(this,Vt).clearInterval(e)}},Vt=new WeakMap,sa=new WeakMap,$s),Zt=new Ig;function Cg(e){setTimeout(e,0)}var An=typeof window>"u"||"Deno"in globalThis;function Or(){}function AP(e,t){return typeof e=="function"?e(t):e}function Er(e){return typeof e=="number"&&e>=0&&e!==1/0}function js(e,t){return Math.max(e+(t||0)-Date.now(),0)}function In(e,t){return typeof e=="function"?e(t):e}function lt(e,t){return typeof e=="function"?e(t):e}function $P(e,t){const{type:n="all",exact:i,fetchStatus:r,predicate:a,queryKey:o,stale:s}=e;if(o){if(i){if(t.queryHash!==Sg(o,t.options))return!1}else if(!ga(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||r&&r!==t.state.fetchStatus||a&&!a(t))}function RP(e,t){const{exact:n,status:i,predicate:r,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Mr(t.options.mutationKey)!==Mr(a))return!1}else if(!ga(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||r&&!r(t))}function Sg(e,t){return((t==null?void 0:t.queryKeyHashFn)||Mr)(e)}function Mr(e){return JSON.stringify(e,(t,n)=>Lr(n)?Object.keys(n).sort().reduce((i,r)=>(i[r]=n[r],i),{}):n)}function ga(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ga(e[n],t[n])):!1}var _g=Object.prototype.hasOwnProperty;function Hs(e,t,n=0){if(e===t)return e;if(n>500)return t;const i=Wa(e)&&Wa(t);if(!i&&!(Lr(e)&&Lr(t)))return t;const a=(i?e:Object.keys(e)).length,o=i?t:Object.keys(t),s=o.length,l=i?new Array(s):{};let d=0;for(let c=0;c<s;c++){const m=i?c:o[c],p=e[m],h=t[m];if(p===h){l[m]=p,(i?c<a:_g.call(e,m))&&d++;continue}if(p===null||h===null||typeof p!="object"||typeof h!="object"){l[m]=h;continue}const T=Hs(p,h,n+1);l[m]=T,T===p&&d++}return a===s&&d===a?e:l}function Vr(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Wa(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Lr(e){if(!Ka(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Ka(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ka(e){return Object.prototype.toString.call(e)==="[object Object]"}function kg(e){return new Promise(t=>{Zt.setTimeout(t,e)})}function Br(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Hs(e,t):t}function DP(e){return e}function NP(e,t,n=0){const i=[...e,t];return n&&i.length>n?i.slice(1):i}function OP(e,t,n=0){const i=[t,...e];return n&&i.length>n?i.slice(0,-1):i}var Ws=Symbol();function Tg(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Ws?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Ya(e,t){return typeof e=="function"?e(...t):!!e}function EP(e,t,n){let i=!1,r;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??(r=t()),i||(i=!0,r.aborted?n():r.addEventListener("abort",n,{once:!0})),r)}),e}var Xt,Lt,Cn,Rs,wg=(Rs=class extends fa{constructor(){super();Se(this,Xt);Se(this,Lt);Se(this,Cn);ue(this,Cn,t=>{if(!An&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){M(this,Lt)||this.setEventListener(M(this,Cn))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,Lt))==null||t.call(this),ue(this,Lt,void 0))}setEventListener(t){var n;ue(this,Cn,t),(n=M(this,Lt))==null||n.call(this),ue(this,Lt,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){M(this,Xt)!==t&&(ue(this,Xt,t),this.onFocus())}onFocus(){const t=this.isFocused();
12082this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof M(this,Xt)=="boolean"?M(this,Xt):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Xt=new WeakMap,Lt=new WeakMap,Cn=new WeakMap,Rs),Ks=new wg;function Ur(){let e,t;const n=new Promise((r,a)=>{e=r,t=a});n.status="pending",n.catch(()=>{});function i(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{i({status:"fulfilled",value:r}),e(r)},n.reject=r=>{i({status:"rejected",reason:r}),t(r)},n}var Fg=Cg;function Pg(){let e=[],t=0,n=s=>{s()},i=s=>{s()},r=Fg;const a=s=>{t?e.push(s):r(()=>{n(s)})},o=()=>{const s=e;e=[],s.length&&r(()=>{i(()=>{s.forEach(l=>{n(l)})})})};return{batch:s=>{let l;t++;try{l=s()}finally{t--,t||o()}return l},batchCalls:s=>(...l)=>{a(()=>{s(...l)})},schedule:a,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{i=s},setScheduler:s=>{r=s}}}var Ys=Pg(),Sn,Bt,_n,Ds,Ag=(Ds=class extends fa{constructor(){super();Se(this,Sn,!0);Se(this,Bt);Se(this,_n);ue(this,_n,t=>{if(!An&&window.addEventListener){const n=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",i)}}})}onSubscribe(){M(this,Bt)||this.setEventListener(M(this,_n))}onUnsubscribe(){var t;this.hasListeners()||((t=M(this,Bt))==null||t.call(this),ue(this,Bt,void 0))}setEventListener(t){var n;ue(this,_n,t),(n=M(this,Bt))==null||n.call(this),ue(this,Bt,t(this.setOnline.bind(this)))}setOnline(t){M(this,Sn)!==t&&(ue(this,Sn,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return M(this,Sn)}},Sn=new WeakMap,Bt=new WeakMap,_n=new WeakMap,Ds),Qs=new Ag;function $g(e){return Math.min(1e3*2**e,3e4)}function Zs(e){return(e??"online")==="online"?Qs.isOnline():!0}var qr=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Rg(e){let t=!1,n=0,i;const r=Ur(),a=()=>r.status!=="pending",o=C=>{var A;if(!a()){const v=new qr(C);p(v),(A=e.onCancel)==null||A.call(e,v)}},s=()=>{t=!0},l=()=>{t=!1},d=()=>Ks.isFocused()&&(e.networkMode==="always"||Qs.isOnline())&&e.canRun(),c=()=>Zs(e.networkMode)&&e.canRun(),m=C=>{a()||(i==null||i(),r.resolve(C))},p=C=>{a()||(i==null||i(),r.reject(C))},h=()=>new Promise(C=>{var A;i=v=>{(a()||d())&&C(v)},(A=e.onPause)==null||A.call(e)}).then(()=>{var C;i=void 0,a()||(C=e.onContinue)==null||C.call(e)}),T=()=>{if(a())return;let C;const A=n===0?e.initialPromise:void 0;try{C=A??e.fn()}catch(v){C=Promise.reject(v)}Promise.resolve(C).then(m).catch(v=>{var B;if(a())return;const R=e.retry??(An?0:3),D=e.retryDelay??$g,O=typeof D=="function"?D(n,v):D,N=R===!0||typeof R=="number"&&n<R||typeof R=="function"&&R(n,v);if(t||!N){p(v);return}n++,(B=e.onFail)==null||B.call(e,n,v),kg(O).then(()=>d()?void 0:h()).then(()=>{t?p(v):T()})})};return{promise:r,status:()=>r.status,cancel:o,continue:()=>(i==null||i(),r),cancelRetry:s,continueRetry:l,canStart:c,start:()=>(c()?T():h().then(T),r)}}var en,Ns,Dg=(Ns=class{constructor(){Se(this,en)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Er(this.gcTime)&&ue(this,en,Zt.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(An?1/0:300*1e3))}clearGcTimeout(){M(this,en)&&(Zt.clearTimeout(M(this,en)),ue(this,en,void 0))}},en=new WeakMap,Ns),tn,kn,st,nn,qe,Kn,rn,ht,Tt,Os,MP=(Os=class extends Dg{constructor(t){super();Se(this,ht);Se(this,tn);Se(this,kn);Se(this,st);Se(this,nn);Se(this,qe);Se(this,Kn);Se(this,rn);ue(this,rn,!1),ue(this,Kn,t.defaultOptions),this.setOptions(t.options),this.observers=[],ue(this,nn,t.client),ue(this,st,M(this,nn).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ue(this,tn,Za(this.options)),this.state=t.state??M(this,tn),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=M(this,qe))==null?void 0:t.promise}setOptions(t){if(this.options={...M(this,Kn),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Za(this.options);n.data!==void 0&&(this.setState(Qa(n.data,n.dataUpdatedAt)),ue(this,tn,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&M(this,st).remove(this)}setData(t,n){const i=Br(this.state.data,t,this.options);return Ae(this,ht,Tt).call(this,{data:i,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),i}setState(t,n){Ae(this,ht,Tt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var i,r;const n=(i=M(this,qe))==null?void 0:i.promise;return(r=M(this,qe))==null||r.cancel(t),n?n.then(Or).catch(Or):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(M(this,tn))}isActive(){return this.observers.some(t=>lt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ws||this.state.dataUpdateCount+this.state.errorUpdate
12082Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>In(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!js(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=M(this,qe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=M(this,qe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),M(this,st).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(M(this,qe)&&(M(this,rn)?M(this,qe).cancel({revert:!0}):M(this,qe).cancelRetry()),this.scheduleGc()),M(this,st).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ae(this,ht,Tt).call(this,{type:"invalidate"})}async fetch(t,n){var l,d,c,m,p,h,T,C,A,v,R,D;if(this.state.fetchStatus!=="idle"&&((l=M(this,qe))==null?void 0:l.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(M(this,qe))return M(this,qe).continueRetry(),M(this,qe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const O=this.observers.find(N=>N.options.queryFn);O&&this.setOptions(O.options)}const i=new AbortController,r=O=>{Object.defineProperty(O,"signal",{enumerable:!0,get:()=>(ue(this,rn,!0),i.signal)})},a=()=>{const O=Tg(this.options,n),B=(()=>{const q={client:M(this,nn),queryKey:this.queryKey,meta:this.meta};return r(q),q})();return ue(this,rn,!1),this.options.persister?this.options.persister(O,B,this):O(B)},s=(()=>{const O={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:M(this,nn),state:this.state,fetchFn:a};return r(O),O})();(d=this.options.behavior)==null||d.onFetch(s,this),ue(this,kn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=s.fetchOptions)==null?void 0:c.meta))&&Ae(this,ht,Tt).call(this,{type:"fetch",meta:(m=s.fetchOptions)==null?void 0:m.meta}),ue(this,qe,Rg({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,onCancel:O=>{O instanceof qr&&O.revert&&this.setState({...M(this,kn),fetchStatus:"idle"}),i.abort()},onFail:(O,N)=>{Ae(this,ht,Tt).call(this,{type:"failed",failureCount:O,error:N})},onPause:()=>{Ae(this,ht,Tt).call(this,{type:"pause"})},onContinue:()=>{Ae(this,ht,Tt).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0}));try{const O=await M(this,qe).start();if(O===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(O),(h=(p=M(this,st).config).onSuccess)==null||h.call(p,O,this),(C=(T=M(this,st).config).onSettled)==null||C.call(T,O,this.state.error,this),O}catch(O){if(O instanceof qr){if(O.silent)return M(this,qe).promise;if(O.revert){if(this.state.data===void 0)throw O;return this.state.data}}throw Ae(this,ht,Tt).call(this,{type:"error",error:O}),(v=(A=M(this,st).config).onError)==null||v.call(A,O,this),(D=(R=M(this,st).config).onSettled)==null||D.call(R,this.state.data,O,this),O}finally{this.scheduleGc()}}},tn=new WeakMap,kn=new WeakMap,st=new WeakMap,nn=new WeakMap,qe=new WeakMap,Kn=new WeakMap,rn=new WeakMap,ht=new WeakSet,Tt=function(t){const n=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...Js(i.data,this.options),fetchMeta:t.meta??null};case"success":const r={...i,...Qa(t.data,t.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ue(this,kn,t.manual?r:void 0),r;case"error":const a=t.error;
vendor: 4,237 bytes, line 12082
12082return{...i,error:a,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=n(this.state),Ys.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),M(this,st).notify({query:this,type:"updated",action:t})})},Os);function Js(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Zs(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Qa(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Za(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,i=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Xe,Ie,Yn,Ke,an,Tn,wt,Ut,Qn,wn,Fn,on,sn,qt,Pn,Fe,Bn,xr,zr,Gr,jr,Hr,Wr,Kr,Xs,Es,Ng=(Es=class extends fa{constructor(t,n){super();Se(this,Fe);Se(this,Xe);Se(this,Ie);Se(this,Yn);Se(this,Ke);Se(this,an);Se(this,Tn);Se(this,wt);Se(this,Ut);Se(this,Qn);Se(this,wn);Se(this,Fn);Se(this,on);Se(this,sn);Se(this,qt);Se(this,Pn,new Set);this.options=n,ue(this,Xe,t),ue(this,Ut,null),ue(this,wt,Ur()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(M(this,Ie).addObserver(this),Ja(M(this,Ie),this.options)?Ae(this,Fe,Bn).call(this):this.updateResult(),Ae(this,Fe,jr).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Yr(M(this,Ie),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Yr(M(this,Ie),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ae(this,Fe,Hr).call(this),Ae(this,Fe,Wr).call(this),M(this,Ie).removeObserver(this)}setOptions(t){const n=this.options,i=M(this,Ie);if(this.options=M(this,Xe).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof lt(this.options.enabled,M(this,Ie))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ae(this,Fe,Kr).call(this),M(this,Ie).setOptions(this.options),n._defaulted&&!Vr(this.options,n)&&M(this,Xe).getQueryCache().notify({type:"observerOptionsUpdated",query:M(this,Ie),observer:this});const r=this.hasListeners();r&&Xa(M(this,Ie),i,this.options,n)&&Ae(this,Fe,Bn).call(this),this.updateResult(),r&&(M(this,Ie)!==i||lt(this.options.enabled,M(this,Ie))!==lt(n.enabled,M(this,Ie))||In(this.options.staleTime,M(this,Ie))!==In(n.staleTime,M(this,Ie)))&&Ae(this,Fe,xr).call(this);const a=Ae(this,Fe,zr).call(this);r&&(M(this,Ie)!==i||lt(this.options.enabled,M(this,Ie))!==lt(n.enabled,M(this,Ie))||a!==M(this,qt))&&Ae(this,Fe,Gr).call(this,a)}getOptimisticResult(t){const n=M(this,Xe).getQueryCache().build(M(this,Xe),t),i=this.createResult(n,t);return Eg(this,i)&&(ue(this,Ke,i),ue(this,Tn,this.options),ue(this,an,M(this,Ie).state)),i}getCurrentResult(){return M(this,Ke)}trackResult(t,n){return new Proxy(t,{get:(i,r)=>(this.trackProp(r),n==null||n(r),r==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&M(this,wt).status==="pending"&&M(this,wt).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(i,r))})}trackProp(t){M(this,Pn).add(t)}getCurrentQuery(){return M(this,Ie)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=M(this,Xe).defaultQueryOptions(t),i=M(this,Xe).getQueryCache().build(M(this,Xe),n);return i.fetch().then(()=>this.createResult(i,n))}fetch(t){return Ae(this,Fe,Bn).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),M(this,Ke)))}createResult(t,n){var oe;const i=M(this,Ie),r=this.options,a=M(this,Ke),o=M(this,an),s=M(this,Tn),d=t!==i?t.state:M(this,Yn),{state:c}=t;let m={...c},p=!1,h;
12082if(n._optimisticResults){const G=this.hasListeners(),x=!G&&Ja(t,n),L=G&&Xa(t,i,n,r);(x||L)&&(m={...m,...Js(c.data,t.options)}),n._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:T,errorUpdatedAt:C,status:A}=m;h=m.data;let v=!1;if(n.placeholderData!==void 0&&h===void 0&&A==="pending"){let G;a!=null&&a.isPlaceholderData&&n.placeholderData===(s==null?void 0:s.placeholderData)?(G=a.data,v=!0):G=typeof n.placeholderData=="function"?n.placeholderData((oe=M(this,Fn))==null?void 0:oe.state.data,M(this,Fn)):n.placeholderData,G!==void 0&&(A="success",h=Br(a==null?void 0:a.data,G,n),p=!0)}if(n.select&&h!==void 0&&!v)if(a&&h===(o==null?void 0:o.data)&&n.select===M(this,Qn))h=M(this,wn);else try{ue(this,Qn,n.select),h=n.select(h),h=Br(a==null?void 0:a.data,h,n),ue(this,wn,h),ue(this,Ut,null)}catch(G){ue(this,Ut,G)}M(this,Ut)&&(T=M(this,Ut),h=M(this,wn),C=Date.now(),A="error");const R=m.fetchStatus==="fetching",D=A==="pending",O=A==="error",N=D&&R,B=h!==void 0,se={status:A,fetchStatus:m.fetchStatus,isPending:D,isSuccess:A==="success",isError:O,isInitialLoading:N,isLoading:N,data:h,dataUpdatedAt:m.dataUpdatedAt,error:T,errorUpdatedAt:C,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:m.dataUpdateCount>0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>d.dataUpdateCount||m.errorUpdateCount>d.errorUpdateCount,isFetching:R,isRefetching:R&&!D,isLoadingError:O&&!B,isPaused:m.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:O&&B,isStale:ya(t,n),refetch:this.refetch,promise:M(this,wt),isEnabled:lt(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const G=se.data!==void 0,x=se.status==="error"&&!G,L=H=>{x?H.reject(se.error):G&&H.resolve(se.data)},J=()=>{const H=ue(this,wt,se.promise=Ur());L(H)},ne=M(this,wt);switch(ne.status){case"pending":t.queryHash===i.queryHash&&L(ne);break;case"fulfilled":(x||se.data!==ne.value)&&J();break;case"rejected":(!x||se.error!==ne.reason)&&J();break}}return se}updateResult(){const t=M(this,Ke),n=this.createResult(M(this,Ie),this.options);if(ue(this,an,M(this,Ie).state),ue(this,Tn,this.options),M(this,an).data!==void 0&&ue(this,Fn,M(this,Ie)),Vr(n,t))return;ue(this,Ke,n);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:r}=this.options,a=typeof r=="function"?r():r;if(a==="all"||!a&&!M(this,Pn).size)return!0;const o=new Set(a??M(this,Pn));return this.options.throwOnError&&o.add("error"),Object.keys(M(this,Ke)).some(s=>{const l=s;return M(this,Ke)[l]!==t[l]&&o.has(l)})};Ae(this,Fe,Xs).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ae(this,Fe,jr).call(this)}},Xe=new WeakMap,Ie=new WeakMap,Yn=new WeakMap,Ke=new WeakMap,an=new WeakMap,Tn=new WeakMap,wt=new WeakMap,Ut=new WeakMap,Qn=new WeakMap,wn=new WeakMap,Fn=new WeakMap,on=new WeakMap,sn=new WeakMap,qt=new WeakMap,Pn=new WeakMap,Fe=new WeakSet,Bn=function(t){Ae(this,Fe,Kr).call(this);let n=M(this,Ie).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Or)),n},xr=function(){Ae(this,Fe,Hr).call(this);const t=In(this.options.staleTime,M(this,Ie));if(An||M(this,Ke).isStale||!Er(t))return;const i=js(M(this,Ke).dataUpdatedAt,t)+1;ue(this,on,Zt.setTimeout(()=>{M(this,Ke).isStale||this.updateResult()},i))},zr=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(M(this,Ie)):this.options.refetchInterval)??!1},Gr=function(t){Ae(this,Fe,Wr).call(this),ue(this,qt,t),!(An||lt(this.options.enabled,M(this,Ie))===!1||!Er(M(this,qt))||M(this,qt)===0)&&ue(this,sn,Zt.setInterval(()=>{(this.options.refetchIntervalInBackground||Ks.isFocused())&&Ae(this,Fe,Bn).call(this)},M(this,qt)))},jr=function(){Ae(this,Fe,xr).call(this),Ae(this,Fe,Gr).call(this,Ae(this,Fe,zr).call(this))},Hr=function(){M(this,on)&&(Zt.clearTimeout(M(this,on)),ue(this,on,void 0))},Wr=function(){M(this,sn)&&(Zt.clearInterval(M(this,sn)),ue(this,sn,void 0))},Kr=function(){const t=M(this,Xe).getQueryCache().build(M(this,Xe),this.options);if(t===M(this,Ie))return;const n=M(this,Ie);ue(this,Ie,t),ue(this,Yn,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},Xs=function(t){Ys.batch(()=>
12082{t.listeners&&this.listeners.forEach(n=>{n(M(this,Ke))}),M(this,Xe).getQueryCache().notify({query:M(this,Ie),type:"observerResultsUpdated"})})},Es);function Og(e,t){return lt(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Ja(e,t){return Og(e,t)||e.state.data!==void 0&&Yr(e,t,t.refetchOnMount)}function Yr(e,t,n){if(lt(t.enabled,e)!==!1&&In(t.staleTime,e)!=="static"){const i=typeof n=="function"?n(e):n;return i==="always"||i!==!1&&ya(e,t)}return!1}function Xa(e,t,n,i){return(e!==t||lt(i.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&ya(e,n)}function ya(e,t){return lt(t.enabled,e)!==!1&&e.isStaleByTime(In(t.staleTime,e))}function Eg(e,t){return!Vr(e.getCurrentResult(),t)}var Mg="VUE_QUERY_CLIENT";function Vg(e){const t=e?`:${e}`:"";return`${Mg}${t}`}function eo(e,t){Object.keys(e).forEach(n=>{e[n]=t[n]})}function Qr(e,t,n="",i=0){if(t){const r=t(e,n,i);if(r===void 0&&Ms(e)||r!==void 0)return r}if(Array.isArray(e))return e.map((r,a)=>Qr(r,t,String(a),i+1));if(typeof e=="object"&&Bg(e)){const r=Object.entries(e).map(([a,o])=>[a,Qr(o,t,a,i+1)]);return Object.fromEntries(r)}return e}function Lg(e,t){return Qr(e,t)}function ri(e,t=!1){return Lg(e,(n,i,r)=>{if(r===1&&i==="queryKey")return ri(n,!0);if(t&&Ug(n))return ri(n(),t);if(Ms(n))return ri(E(n),t)})}function Bg(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function Ug(e){return typeof e=="function"}function el(e=""){if(!tc())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=Vg(e),n=Pt(t);if(!n)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return n}function qg(e,t,n){const i=el(),r=F(()=>{var A;let h=t;typeof h=="function"&&(h=h());const T=ri(h);typeof T.enabled=="function"&&(T.enabled=T.enabled());const C=i.defaultQueryOptions(T);return C._optimisticResults=(A=i.isRestoring)!=null&&A.value?"isRestoring":"optimistic",C}),a=new e(i,r.value),o=r.value.shallow?Vs(a.getCurrentResult()):la(a.getCurrentResult());let s=()=>{};i.isRestoring&&ze(i.isRestoring,h=>{h||(s(),s=a.subscribe(T=>{eo(o,T)}))},{immediate:!0});const l=()=>{a.setOptions(r.value),eo(o,a.getCurrentResult())};ze(r,l),nc(()=>{s()});const d=(...h)=>(l(),o.refetch(...h)),c=()=>new Promise((h,T)=>{let C=()=>{};const A=()=>{if(r.value.enabled!==!1){a.setOptions(r.value);const v=a.getOptimisticResult(r.value);v.isStale?(C(),a.fetchOptimistic(r.value).then(h,R=>{Ya(r.value.throwOnError,[R,a.getCurrentQuery()])?T(R):h(a.getCurrentResult())})):(C(),h(v))}};A(),C=ze(r,A)});ze(()=>o.error,h=>{if(o.isError&&!o.isFetching&&Ya(r.value.throwOnError,[h,a.getCurrentQuery()]))throw h});const m=r.value.shallow?ic(o):rc(o),p=da(m);for(const h in o)typeof o[h]=="function"&&(p[h]=o[h]);return p.suspense=c,p.refetch=d,p}function tl(e,t){return qg(Ng,e)}const Si=()=>{const e=ca();if(!e)throw new Error("useDB must be called within a composition API component");return e.proxy.$db},xg="/leads/:onpreoPath(.*)*",zg=e=>e.extensionEnabled("ps_onpreo"),Gg=e=>e.startsWith("/leads")||/^\/contacts\/clients\/[^/]+\/leads(?:\/|$)/.test(e)||/^\/portfolio\/properties\/[^/]+\/leads(?:\/|$)/.test(e),VP=(e,t,n)=>{var a;if(!t.startsWith("/leads")||n==="/"||!n.startsWith("/")||n.startsWith("/leads/"))return;const i=`/leads${n}`,r=(a=e.resolve(i).matched.at(-1))==null?void 0:a.path;return r&&r!==xg?i:void 0},LP=(e,t)=>{if(e!=="/leads"&&!e.startsWith("/leads/"))return t;const n=t.match(/^\/contacts\/clients\/(\d+)(?:\/conversation)?([?#].*)?$/);if(n)return`/leads/contacts/clients/${n[1]}/leads${n[2]||""}`;const i=t.match(/^\/portfolio\/properties\/(\d+)([?#].*)?$/);return i?`/leads/portfolio/properties/${i[1]}/leads${i[2]||""}`:t},nl=(e,t)=>!!(e.featureActive("self_serve_onboarding")||t&&e.featureActive("self_serve_onboarding_backdoor")),jg=(e,t)=>{var n;return nl(e,t)&&!!((n=e.broker)!=null&&n.admin)},ba=()=>document.cookie.split(";").map(e=>e.trim().split("=")).reduce((e,[t,n])=>({...e,[t]:n}),{}),Hg=()=>!!ba().auth_token,pi=()=>ba().backdoor==="true"&&!window.override_backdoor,Wg=e=>`/admin/${e}`,ye=(...e)=>e.map(t=>Wg(t)),il=e=>(e.broker.admin||e.hasRight("rightToEditImmoValuationSettings"))&&e.shopData.activeFeatures.includes("immo_valuation"),rl=e=>e.broker.admin||e.hasRight("rightToEditShowcaseScreens"),al=[[ye("locations"),e=>e.broker.admin],[ye("newsletter"),e=>e.broker.admin||e.hasRight("rightToSeeMarketing")],[ye("super_groups"),e=>e.broker.admin||e.hasRight("rightToEditGroups")],[ye("settings/pipelines"),e=>e.broker.admin||e.hasRight("rightToEditPipelines")],[ye("shopwindows"),rl],[ye("settings/variables","letter_templates"),e=>e.broker.admin||e.hasRight("rightToEditLetterTemplates")],[ye("franchise"),e=>e.shopData.franchiser],[ye("settings/shop"),e=>e.broker.admin||e.hasRight("rightToEditShopData")],[ye("shop/micro_sites"),e=>e.broker.admin||e.hasRight("rightToEditLandingpages")],[ye("settings/gdpr"),e=>e.broker.admin||e.hasRight("rightToEditGdprData")],[ye("connections"),e=>e.broker.admin||e.hasRight("rightToEditPortals")],[ye("extensions"),e=>e.broker.admin||e.hasRight("rightToEditExtensions")],[ye("mail_accounts"),e=>e.broker.admin||e.hasRight("rightToEditBrokers")],[ye("settings/deals","custom_fields"),e=>e.broker.admin],[ye("settings/projects"),e=>e.broker.admin||e.hasRight("rightToEditProjectSettings")||e.hasRight("rightToEditLandingpages")||e.hasRight("rightToEditSettings")],[ye("settings/properties"),e=>e.broker.admin||e.hasRight("rightToEditPropertySettings")],[ye("settings/contacts"),e=>e.broker.admin||e.hasRight("rightToEditContactsSettings")],[ye("mailgun","messagebird","rights","proppi","settings/lead_inquiries","settings/data_quality_assistants","settings/reports"),e=>e.broker.admin],[ye("settings/tasks"),e=>e.broker.admin||e.hasRight("rightToEditTasksSettings")],[ye("automations"),e=>e.broker.admin||e.hasRight("rightToEditRecipes")],[ye("settings/media"),e=>e.hasRight("rightToEditMediaSettings")],[ye("settings/api_keys"),e=>e.hasRight("rightToEditApiKeys")],[ye("settings/teams"),e=>e.hasRight("rightToEditTeams")],[ye("settings/pdf_exposees"),e=>e.hasRight("rightToEditPdfExposeeSettings")],[ye("settings/property_report"),e=>e.hasRight("rightToEditPropertyReportSettings")],[ye("settings/events"),e=>e.broker.admin||e.hasRight("rightToEditEventSettings")||e.hasRight("rightToChangeTasks")],[ye("departments"),e=>e.hasRight("rightToEditDepartments")],[ye("settings/saved_queries"),e=>e.hasRight("rightToEditSavedQuerySettings")],[ye("custom_forms"),e=>e.hasRight("rightToEditCustomForms")&&e.shopData.activeFeatures.includes("form_builder")],[ye("shop/lead_score"),e=>e.hasRight("rightToEditLeadScoreSettings")],[ye("settings/","settings"),e=>e.broker.admin||e.hasRight("rightToEditSettings"),!0],[ye("shop/immo_valuation"),il],[ye("shop/tipster_portal"),e=>e.broker.admin&&e.shopData.activeFeatures.includes("tipster_portal")],[ye("shop/valuations","shop/valuations/sprengnetter"),e=>(e.broker.admin||e.hasRight("rightToUseExtensions"))&&(e.shopData.activeFeatures.includes("ph_valuation")||e.shopData.activeFeatures.includes("sn_valuation"))],[ye("shop/extensions/propnow"),e=>e.broker.admin||e.hasRight("rightToUseExtensions")],[ye("shop/valuations/sprengnetter"),e=>e.shopData.activeFeatures.includes("sn_valuation")],[ye("settings/task_pipelines"),e=>e.hasRight("rightToEditTaskPipelinesSettings")||e.shopData.activeFeatures.includes("task_pipelines")],[ye("settings/sample_contracts"),e=>e.shopData.activeFeatures.includes("sample_contracts")]],Kg=(e,t)=>
12082{if(e==="/")return!0;if(/^\/portfolio\/properties\/[^/]+\/propnow(?:\/|$)/.test(e))return t.broker.admin||t.hasRight("rightToUseExtensions");const n=e.match(/^\/portfolio\/properties\/[^/]+\/(sprengnetter|pricehubble)(?:\/|$)/);if(n){const r=n[1]==="sprengnetter"?"sn_valuation":"ph_valuation";return(t.broker.admin||t.hasRight("rightToUseExtensions"))&&t.shopData.activeFeatures.includes(r)}return e==="/upgrade"||e.startsWith("/upgrade/")?!!(t.featureActive("self_serve_onboarding")&&t.broker.admin):["/onboarding","/webinars","/mobile-app"].some(r=>e===r||e.startsWith(r+"/"))?e==="/onboarding"||e==="/webinars"?nl(t,pi()):jg(t,pi()):Gg(e)&&!zg(t)?!1:e==="/admin/automations/workflows"||e.startsWith("/admin/automations/workflows/")?!!t.broker.canViewWorkflowBuilder:al.reduce((r,[a,o,s=!1])=>r&&a.every(l=>(s?e===l:e.startsWith(l))?o(t):!0),!0)},BP=Object.freeze(Object.defineProperty({__proto__:null,adminPermissionTree:al,canAccessImmoValuation:il,canManageShopwindows:rl,getCookies:ba,isAuthenticated:Hg,isBackdoor:pi,routeGuard:Kg},Symbol.toStringTag,{value:"Module"})),ol=yc(()=>{const[e,t]=bc(!1),n=F(()=>pi()),i=F(()=>rt(n)&&!rt(e));return{toggleBackdoorOverride:()=>{window.override_backdoor=t()},isBackdoor:i}}),Zr={all:()=>["global","shop"],locations:()=>[...Zr.all(),"locations"],locationsList:()=>[...Zr.locations(),"list"]},ai={all:()=>["global","broker"],mailboxes:{all:()=>[...ai.all(),"mailboxes"]},searchFilters:{all:()=>[...ai.all(),"searchFilters"],metadata:()=>[...ai.searchFilters.all(),"metadata"]}},Wt={all:()=>["searchFilters"],lists:()=>[...Wt.all(),"list"],list:e=>[...Wt.lists(),e],selectionLists:e=>[...Wt.lists(),"selectionLists",e],details:()=>[...Wt.all(),"detail"],detail:(e,t)=>t?[...Wt.details(),String(e),t]:[...Wt.details(),String(e)]},Je={global:{shop:Zr,broker:ai},searchFilters:Wt,deals:{all:()=>["deals"],list:e=>[...Je.deals.all(),"list",e]},tasks:{attentionCounts:e=>["tasks","attentionCounts",e]},clients:{all:()=>["clients"],lists:()=>[...Je.clients.all(),"list"],list:e=>[...Je.clients.lists(),e],suggestedLists:()=>[...Je.clients.all(),"suggestedList"],suggestedList:e=>[...Je.clients.suggestedLists(),e],followupsLists:()=>[...Je.clients.all(),"followupsList"],followupsList:e=>[...Je.clients.followupsLists(),e],details:()=>[...Je.clients.all(),"detail"],detail:e=>[...Je.clients.details(),e],defaultColumns:()=>[...Je.clients.all(),"defaultColumns"]},client:{all:()=>["client"],form:e=>[...Je.client.all(),"form",String(e)]}},UP="shop-data",qP=10,xP=2147483647,to=-1,zP="720px",GP="*STANDARD*",mi={EUR:"€",USD:"$",GBP:"£",CHF:"CHF",HUF:"Ft",AED:"AED",CZK:"Kč",euro:"€",chf:"CHF",huf:"Ft",aed:"AED",czk:"Kč"};var Li,no;function Yg(){if(no)return Li;no=1;function e(t,n,i){var r,a,o,s,l;n==null&&(n=100);function d(){var m=Date.now()-s;m<n&&m>=0?r=setTimeout(d,n-m):(r=null,i||(l=t.apply(o,a),o=a=null))}var c=function(){o=this,a=arguments,s=Date.now();var m=i&&!r;return r||(r=setTimeout(d,n)),m&&(l=t.apply(o,a),o=a=null),l};return c.clear=function(){r&&(clearTimeout(r),r=null)},c.flush=function(){r&&(l=t.apply(o,a),o=a=null,clearTimeout(r),r=null)},c}return e.debounce=e,Li=e,Li}var Xn=Yg();const sl=()=>{const{db:e}=je(),t=location.hostname.startsWith("staging."),n=location.hostname.startsWith("development."),{isBackdoor:i}=ol(),r=F(()=>{var c;return["development","local"].includes(((c=e.shopData)==null?void 0:c.env)??"")}),a=F(()=>{var c;return((c=e.shopData)==null?void 0:c.env)==="test"}),o=F(()=>{var c;return((c=e.shopData)==null?void 0:c.env)==="production"&&t}),s=F(()=>{var c;return((c=e.shopData)==null?void 0:c.env)==="production"&&!t&&!n}),l=F(()=>i.value||r.value),d=F(()=>{var c;return s.value&&!i.value&&!e.broker.hideIntercom&&(!((c=e.shopData)!=null&&c.activeFeatures.includes("disable_intercom"))||e.broker.admin)});return{isBackdoor:i,isDevelopment:r,isStaging:o,isDevBackdoor:l,isProduction:s,isIntercomActive:d,isTest:a}};/*!
12083 * vue-router v4.6.4
12084 * (c) 2025 Eduardo San Martin Morote
12085 * @license MIT
12086 */const fn=typeof document<"u";function ll(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}
vendor: 23,203 bytes, lines 12086-12090
12086function Qg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ll(e.default)}const we=Object.assign;function Bi(e,t){const n={};for(const i in t){const r=t[i];n[i]=gt(r)?r.map(e):e(r)}return n}const jn=()=>{},gt=Array.isArray;function io(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}const dl=/#/g,Zg=/&/g,Jg=/\//g,Xg=/=/g,ey=/\?/g,cl=/\+/g,ty=/%5B/g,ny=/%5D/g,ul=/%5E/g,iy=/%60/g,pl=/%7B/g,ry=/%7C/g,ml=/%7D/g,ay=/%20/g;function va(e){return e==null?"":encodeURI(""+e).replace(ry,"|").replace(ty,"[").replace(ny,"]")}function oy(e){return va(e).replace(pl,"{").replace(ml,"}").replace(ul,"^")}function Jr(e){return va(e).replace(cl,"%2B").replace(ay,"+").replace(dl,"%23").replace(Zg,"%26").replace(iy,"`").replace(pl,"{").replace(ml,"}").replace(ul,"^")}function sy(e){return Jr(e).replace(Xg,"%3D")}function ly(e){return va(e).replace(dl,"%23").replace(ey,"%3F")}function dy(e){return ly(e).replace(Jg,"%2F")}function Hn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const cy=/\/$/,uy=e=>e.replace(cy,"");function Ui(e,t,n="/"){let i,r={},a="",o="";const s=t.indexOf("#");let l=t.indexOf("?");return l=s>=0&&l>s?-1:l,l>=0&&(i=t.slice(0,l),a=t.slice(l,s>0?s:t.length),r=e(a.slice(1))),s>=0&&(i=i||t.slice(0,s),o=t.slice(s,t.length)),i=fy(i??t,n),{fullPath:i+a+o,path:i,query:r,hash:Hn(o)}}function py(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ro(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function my(e,t,n){const i=t.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&$n(t.matched[i],n.matched[r])&&hl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function $n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!hy(e[n],t[n]))return!1;return!0}function hy(e,t){return gt(e)?ao(e,t):gt(t)?ao(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function ao(e,t){return gt(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function fy(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/"),r=i[i.length-1];(r===".."||r===".")&&i.push("");let a=n.length-1,o,s;for(o=0;o<i.length;o++)if(s=i[o],s!==".")if(s==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+i.slice(o).join("/")}const Ot={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Xr=(function(e){return e.pop="pop",e.push="push",e})({}),qi=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function gy(e){if(!e)if(fn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),uy(e)}const yy=/^[^#]+#/;function by(e,t){return e.replace(yy,"#")+t}function vy(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const _i=()=>({left:window.scrollX,top:window.scrollY});function Iy(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=vy(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function oo(e,t){return(history.state?history.state.position-t:-1)+e}const ea=new Map;function Cy(e,t){ea.set(e,t)}function Sy(e){const t=ea.get(e);return ea.delete(e),t}function _y(e){return typeof e=="string"||e&&typeof e=="object"}function fl(e){return typeof e=="string"||typeof e=="symbol"}let Be=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const gl=Symbol("");Be.MATCHER_NOT_FOUND+"",Be.NAVIGATION_GUARD_REDIRECT+"",Be.NAVIGATION_ABORTED+"",Be.NAVIGATION_CANCELLED+"",Be.NAVIGATION_DUPLICATED+"";function Rn(e,t){return we(new Error,{type:e,[gl]:!0},t)}function St(e,t){return e instanceof Error&&gl in e&&(t==null||!!(e.type&t))}const ky=["params","query","hash"];function Ty(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of ky)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function wy(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<n.length;++i){const r=n[i].replace(cl," "),a=r.indexOf("="),o=Hn(a<0?r:r.slice(0,a)),s=a<0?null:Hn(r.slice(a+1));if(o in t){let l=t[o];gt(l)||(l=t[o]=[l]),l.push(s)}else t[o]=s}return t}function so(e){let t="";for(let n in e){const i=e[n];if(n=sy(n),i==null){i!==void 0&&(t+=(t.length?"&":"")+n);continue}(gt(i)?i.map(r=>r&&Jr(r)):[i&&Jr(i)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Fy(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=gt(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return t}const Py=Symbol(""),lo=Symbol(""),ki=Symbol(""),Ia=Symbol(""),ta=Symbol("");function Mn(){let e=[];function t(i){return e.push(i),()=>{const r=e.indexOf(i);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Mt(e,t,n,i,r,a=o=>o()){const o=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const d=p=>{p===!1?l(Rn(Be.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?l(p):_y(p)?l(Rn(Be.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(o&&i.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),s())},c=a(()=>e.call(i&&i.instances[r],t,n,d));let m=Promise.resolve(c);e.length<3&&(m=m.then(d)),m.catch(p=>l(p))})}function xi(e,t,n,i,r=a=>a()){const a=[];for(const o of e)for(const s in o.components){let l=o.components[s];if(!(t!=="beforeRouteEnter"&&!o.instances[s]))if(ll(l)){const d=(l.__vccOpts||l)[t];d&&a.push(Mt(d,n,i,o,s,r))}else{let d=l();a.push(()=>d.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${s}" at "${o.path}"`);const m=Qg(c)?c.default:c;o.mods[s]=c,o.components[s]=m;const p=(m.__vccOpts||m)[t];return p&&Mt(p,n,i,o,s,r)()}))}}return a}function Ay(e,t){const n=[],i=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){const s=t.matched[o];s&&(e.matched.find(d=>$n(d,s))?i.push(s):n.push(s));const l=e.matched[o];l&&(t.matched.find(d=>$n(d,l))||r.push(l))}return[n,i,r]}/*!
12087 * vue-router v4.6.4
12088 * (c) 2025 Eduardo San Martin Morote
12089 * @license MIT
12090 */let $y=()=>location.protocol+"//"+location.host;function yl(e,t){const{pathname:n,search:i,hash:r}=t,a=e.indexOf("#");if(a>-1){let o=r.includes(e.slice(a))?e.slice(a).length:1,s=r.slice(o);return s[0]!=="/"&&(s="/"+s),ro(s,"")}return ro(n,e)+i+r}function Ry(e,t,n,i){let r=[],a=[],o=null;const s=({state:p})=>{const h=yl(e,location),T=n.value,C=t.value;let A=0;if(p){if(n.value=h,t.value=p,o&&o===T){o=null;return}A=C?p.position-C.position:0}else i(h);r.forEach(v=>{v(n.value,T,{delta:A,type:Xr.pop,direction:A?A>0?qi.forward:qi.back:qi.unknown})})};function l(){o=n.value}function d(p){r.push(p);const h=()=>{const T=r.indexOf(p);T>-1&&r.splice(T,1)};return a.push(h),h}function c(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(we({},p.state,{scroll:_i()}),"")}}function m(){for(const p of a)p();a=[],window.removeEventListener("popstate",s),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",s),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:d,destroy:m}}function co(e,t,n,i=!1,r=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:r?_i():null}}function Dy(e){const{history:t,location:n}=window,i={value:yl(e,n)},r={value:t.state};r.value||a(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,d,c){const m=e.indexOf("#"),p=m>-1?(n.host&&document.querySelector("base")?e:e.slice(m))+l:$y()+e+l;try{t[c?"replaceState":"pushState"](d,"",p),r.value=d}catch(h){console.error(h),n[c?"replace":"assign"](p)}}function o(l,d){a(l,we({},t.state,co(r.value.back,l,r.value.forward,!0),d,{position:r.value.position}),!0),i.value=l}function s(l,d){const c=we({},r.value,t.state,{forward:l,scroll:_i()});a(c.current,c,!0),a(l,we({},co(i.value,l,null),{position:c.position+1},d),!1),i.value=l}return{location:i,state:r,push:s,replace:o}}function jP(e){e=gy(e);const t=Dy(e),n=Ry(e,t.state,t.location,t.replace);function i(a,o=!0){o||n.pauseListeners(),history.go(a)}const r=we({location:"",base:e,go:i,createHref:by.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Jt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Ue=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Ue||{});const Ny={type:Jt.Static,value:""},Oy=/[a-zA-Z0-9_]/;function Ey(e){if(!e)return[[]];if(e==="/")return[[Ny]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${d}": ${h}`)}let n=Ue.Static,i=n;const r=[];let a;function o(){a&&r.push(a),a=[]}let s=0,l,d="",c="";function m(){d&&(n===Ue.Static?a.push({type:Jt.Static,value:d}):n===Ue.Param||n===Ue.ParamRegExp||n===Ue.ParamRegExpEnd?(a.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Jt.Param,value:d,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),d="")}function p(){d+=l}for(;s<e.length;){if(l=e[s++],l==="\\"&&n!==Ue.ParamRegExp){i=n,n=Ue.EscapeNext;continue}switch(n){case Ue.Static:l==="/"?(d&&m(),o()):l===":"?(m(),n=Ue.Param):p();break;case Ue.EscapeNext:p(),n=i;break;case Ue.Param:l==="("?n=Ue.ParamRegExp:Oy.test(l)?p():(m(),n=Ue.Static,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case Ue.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=Ue.ParamRegExpEnd:c+=l;break;case Ue.ParamRegExpEnd:m(),n=Ue.Static,l!=="*"&&l!=="?"&&l!=="+"&&s--,c="";break;default:t("Unknown state");break}}return n===Ue.ParamRegExp&&t(`Unfinished custom RegExp for param "${d}"`),m(),o(),r}const uo="[^/]+?",My={sensitive:!1,strict:!1,start:!0,end:!0};var Ye=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Ye||{});const Vy=/[.+*?^${}()[\]/\\]/g;function Ly(e,t){const n=we({},My,t),i=[];let r=n.start?"^":"";const a=[];for(const d of e){const c=d.length?[]:[Ye.Root];n.strict&&!d.length&&(r+="/");for(let m=0;m<d.length;m++){const p=d[m];let h=Ye.Segment+(n.sensitive?Ye.BonusCaseSensitive:0);if(p.type===Jt.Static)m||(r+="/"),r+=p.value.replace(Vy,"\\$&"),h+=Ye.Static;else if(p.type===Jt.Param){const{value:T,repeatable:C,optional:A,regexp:v}=p;a.push({name:T,repeatable:C,optional:A});const R=v||uo;if(R!==uo){h+=Ye.BonusCustomRegExp;try{`${R}`}catch(O){throw new Error(`Invalid custom RegExp for param "${T}" (${R}): `+O.message)}}let D=C?`((?:${R})(?:/(?:${R}))*)`:`(${R})`;m||(D=A&&d.length<2?`(?:/${D})`:"/"+D),A&&(D+="?"),r+=D,h+=Ye.Dynamic,A&&(h+=Ye.BonusOptional),C&&(h+=Ye.BonusRepeatable),R===".*"&&(h+=Ye.BonusWildcard)}c.push(h)}i.push(c)}if(n.strict&&n.end){const d=i.length-1;i[d][i[d].length-1]+=Ye.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function s(d){const c=d.match(o),m={};if(!c)return null;for(let p=1;p<c.length;p++){const h=c[p]||"",T=a[p-1];m[T.name]=h&&T.repeatable?h.split("/"):h}return m}function l(d){let c="",m=!1;for(const p of e){(!m||!c.endsWith("/"))&&(c+="/"),m=!1;for(const h of p)if(h.type===Jt.Static)c+=h.value;else if(h.type===Jt.Param){const{value:T,repeatable:C,optional:A}=h,v=T in d?d[T]:"";if(gt(v)&&!C)throw new Error(`Provided param "${T}" is an array but it is not repeatable (* or + modifiers)`);const R=gt(v)?v.join("/"):v;if(!R)if(A)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):m=!0);else throw new Error(`Missing required param "${T}"`);c+=R}}return c||"/"}return{re:o,score:i,keys:a,parse:s,stringify:l}}function By(e,t){let n=0;for(;n<e.length&&n<t.length;){const i=t[n]-e[n];if(i)return i;n++}return e.length<t.length?e.length===1&&e[0]===Ye.Static+Ye.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ye.Static+Ye.Segment?1:-1:0}function bl(e,t){let n=0;const i=e.score,r=t.score;for(;n<i.length&&n<r.length;){const a=By(i[n],r[n]);if(a)return a;n++}if(Math.abs(r.length-i.length)===1){if(po(i))return 1;if(po(r))return-1}return r.length-i.length}function po(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Uy={strict:!1,end:!0,sensitive:!1};function qy(e,t,n){const i=Ly(Ey(e.path),n),r=we(i,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function xy(e,t){const n=[],i=new Map;t=io(Uy,t);function r(m){return i.get(m)}function a(m,p,h){const T=!h,C=ho(m);C.aliasOf=h&&h.record;const A=io(t,m),v=[C];if("alias"in m){const O=typeof m.alias=="string"?[m.alias]:m.alias;for(const N of O)v.push(ho(we({},C,{components:h?h.record.components:C.components,path:N,aliasOf:h?h.record:C})))}let R,D;for(const O of v){const{path:N}=O;if(p&&N[0]!=="/"){const B=p.record.path,q=B[B.length-1]==="/"?"":"/";O.path=p.record.path+(N&&q+N)}if(R=qy(O,p,A),h?h.alias.push(R):(D=D||R,D!==R&&D.alias.push(R),T&&m.name&&!fo(R)&&o(m.name)),vl(R)&&l(R),C.children){const B=C.children;for(let q=0;q<B.length;q++)a(B[q],R,h&&h.children[q])}h=h||R}return D?()=>{o(D)}:jn}function o(m){if(fl(m)){const p=i.get(m);p&&(i.delete(m),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(m);p>-1&&(n.splice(p,1),m.record.name&&i.delete(m.record.name),m.children.forEach(o),m.alias.forEach(o))}}function s(){return n}function l(m){const p=jy(m,n);n.splice(p,0,m),m.record.name&&!fo(m)&&i.set(m.record.name,m)}function d(m,p){let h,T={},C,A;if("name"in m&&m.name){if(h=i.get(m.name),!h)throw Rn(Be.MATCHER_NOT_FOUND,{location:m});A=h.record.name,T=we(mo(p.params,h.keys.filter(D=>!D.optional).concat(h.parent?h.parent.keys.filter(D=>D.optional):[]).map(D=>D.name)),m.params&&mo(m.params,h.keys.map(D=>D.name))),C=h.stringify(T)}else if(m.path!=null)C=m.path,h=n.find(D=>D.re.test(C)),h&&(T=h.parse(C),A=h.record.name);else{if(h=p.name?i.get(p.name):n.find(D=>D.re.test(p.path)),!h)throw Rn(Be.MATCHER_NOT_FOUND,{location:m,currentLocation:p});A=h.record.name,T=we({},p.params,m.params),C=h.stringify(T)}const v=[];let R=h;for(;R;)v.unshift(R.record),R=R.parent;return{name:A,path:C,params:T,matched:v,meta:Gy(v)}}e.forEach(m=>a(m));function c(){n.length=0,i.clear()}return{addRoute:a,resolve:d,removeRoute:o,clearRoutes:c,getRoutes:s,getRecordMatcher:r}}function mo(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function ho(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:zy(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function zy(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="object"?n[i]:n;return t}function fo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Gy(e){return e.reduce((t,n)=>we(t,n.meta),{})}function jy(e,t){let n=0,i=t.length;for(;n!==i;){const a=n+i>>1;bl(e,t[a])<0?i=a:n=a+1}const r=Hy(e);return r&&(i=t.lastIndexOf(r,i-1)),i}function Hy(e){let t=e;for(;t=t.parent;)if(vl(t)&&bl(e,t)===0)return t}function vl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function go(e){const t=Pt(ki),n=Pt(Ia),i=F(()=>{const l=E(e.to);return t.resolve(l)}),r=F(()=>{const{matched:l}=i.value,{length:d}=l,c=l[d-1],m=n.matched;if(!c||!m.length)return-1;const p=m.findIndex($n.bind(null,c));if(p>-1)return p;const h=yo(l[d-2]);return d>1&&yo(c)===h&&m[m.length-1].path!==h?m.findIndex($n.bind(null,l[d-2])):p}),a=F(()=>r.value>-1&&Zy(n.params,i.value.params)),o=F(()=>r.value>-1&&r.value===n.matched.length-1&&hl(n.params,i.value.params));function s(l={}){if(Qy(l)){const d=t[E(e.replace)?"replace":"push"](E(e.to)).catch(jn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:i,href:F(()=>i.value.href),isActive:a,isExactActive:o,navigate:s}}function Wy(e){return e.length===1?e[0]:e}const Ky=K({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:go,setup(e,{slots:t}){const n=la(go(e)),{options:i}=Pt(ki),r=F(()=>({[bo(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[bo(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&Wy(t.default(n));return e.custom?a:Kt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},a)}}}),Yy=Ky;function Qy(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Zy(e,t){for(const n in t){const i=t[n],r=e[n];if(typeof i=="string"){if(i!==r)return!1}else if(!gt(r)||r.length!==i.length||i.some((a,o)=>a.valueOf()!==r[o].valueOf()))return!1}return!0}function yo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const bo=(e,t,n)=>e??t??n,Jy=K({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=Pt(ta),r=F(()=>e.route||i.value),a=Pt(lo,0),o=F(()=>{let d=E(a);const{matched:c}=r.value;let m;for(;(m=c[d])&&!m.components;)d++;return d}),s=F(()=>r.value.matched[o.value]);ii(lo,F(()=>o.value+1)),ii(Py,s),ii(ta,r);const l=ce();return ze(()=>[l.value,s.value,e.name],([d,c,m],[p,h,T])=>{c&&(c.instances[m]=d,h&&h!==c&&d&&d===p&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),d&&c&&(!h||!$n(c,h)||!p)&&(c.enterCallbacks[m]||[]).forEach(C=>C(d))},{flush:"post"}),()=>{const d=r.value,c=e.name,m=s.value,p=m&&m.components[c];if(!p)return vo(n.default,{Component:p,route:d});const h=m.props[c],T=h?h===!0?d.params:typeof h=="function"?h(d):h:null,A=Kt(p,we({},T,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(m.instances[c]=null)},ref:l}));return vo(n.default,{Component:A,route:d})||A}}});function vo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Xy=Jy;function HP(e){const t=xy(e.routes,e),n=e.parseQuery||wy,i=e.stringifyQuery||so,r=e.history,a=Mn(),o=Mn(),s=Mn(),l=ac(Ot);let d=Ot;fn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Bi.bind(null,V=>""+V),m=Bi.bind(null,dy),p=Bi.bind(null,Hn);function h(V,X){let Z,le;return fl(V)?(Z=t.getRecordMatcher(V),le=X):le=V,t.addRoute(le,Z)}function T(V){const X=t.getRecordMatcher(V);X&&t.removeRoute(X)}function C(){return t.getRoutes().map(V=>V.record)}function A(V){return!!t.getRecordMatcher(V)}function v(V,X){if(X=we({},X||l.value),typeof V=="string"){const me=Ui(n,V,X.path),Me=t.resolve({path:me.path},X),Nt=r.createHref(me.fullPath);return we(me,Me,{params:p(Me.params),hash:Hn(me.hash),redirectedFrom:void 0,href:Nt})}let Z;if(V.path!=null)Z=we({},V,{path:Ui(n,V.path,X.path).path});else{const me=we({},V.params);for(const Me in me)me[Me]==null&&delete me[Me];Z=we({},V,{params:m(me)}),X.params=m(X.params)}const le=t.resolve(Z,X),ve=V.hash||"";le.params=c(p(le.params));const Oe=py(i,we({},V,{hash:oy(ve),path:le.path})),be=r.createHref(Oe);return we({fullPath:Oe,hash:ve,query:i===so?Fy(V.query):V.query||{}},le,{redirectedFrom:void 0,href:be})}function R(V){return typeof V=="string"?Ui(n,V,l.value.path):we({},V)}function D(V,X){if(d!==V)return Rn(Be.NAVIGATION_CANCELLED,{from:X,to:V})}function O(V){return q(V)}function N(V){return O(we(R(V),{replace:!0}))}function B(V,X){const Z=V.matched[V.matched.length-1];if(Z&&Z.redirect){const{redirect:le}=Z;let ve=typeof le=="function"?le(V,X):le;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=R(ve):{path:ve},ve.params={}),we({query:V.query,hash:V.hash,params:ve.path!=null?{}:V.params},ve)}}function q(V,X){const Z=d=v(V),le=l.value,ve=V.state,Oe=V.force,be=V.replace===!0,me=B(Z,le);if(me)return q(we(R(me),{state:typeof me=="object"?we({},ve,me.state):ve,force:Oe,replace:be}),X||Z);const Me=Z;Me.redirectedFrom=X;let Nt;return!Oe&&my(i,le,Z)&&(Nt=Rn(Be.NAVIGATION_DUPLICATED,{to:Me,from:le}),yt(le,le,!0,!1)),(Nt?Promise.resolve(Nt):G(Me,le)).catch(We=>St(We)?St(We,Be.NAVIGATION_GUARD_REDIRECT)?We:De(We):ge(We,Me,le)).then(We=>{if(We){if(St(We,Be.NAVIGATION_GUARD_REDIRECT))return q(we({replace:be},R(We.to),{state:typeof We.to=="object"?we({},ve,We.to.state):ve,force:Oe}),X||Me)}else We=L(Me,le,!0,be,ve);return x(Me,le,We),We})}function se(V,X){const Z=D(V,X);return Z?Promise.reject(Z):Promise.resolve()}function oe(V){const X=ct.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(V):V()}function G(V,X){let Z;const[le,ve,Oe]=Ay(V,X);Z=xi(le.reverse(),"beforeRouteLeave",V,X);for(const me of le)me.leaveGuards.forEach(Me=>{Z.push(Mt(Me,V,X))});const be=se.bind(null,V,X);return Z.push(be),Dt(Z).then(()=>{Z=[];for(const me of a.list())Z.push(Mt(me,V,X));return Z.push(be),Dt(Z)}).then(()=>{Z=xi(ve,"beforeRouteUpdate",V,X);for(const me of ve)me.updateGuards.forEach(Me=>{Z.push(Mt(Me,V,X))});return Z.push(be),Dt(Z)}).then(()=>{Z=[];for(const me of Oe)if(me.beforeEnter)if(gt(me.beforeEnter))for(const Me of me.beforeEnter)Z.push(Mt(Me,V,X));else Z.push(Mt(me.beforeEnter,V,X));return Z.push(be),Dt(Z)}).then(()=>(V.matched.forEach(me=>me.enterCallbacks={}),Z=xi(Oe,"beforeRouteEnter",V,X,oe),Z.push(be),Dt(Z))).then(()=>{Z=[];for(const me of o.list())Z.push(Mt(me,V,X));return Z.push(be),Dt(Z)}).catch(me=>St(me,Be.NAVIGATION_CANCELLED)?me:Promise.reject(me))}
12090function x(V,X,Z){s.list().forEach(le=>oe(()=>le(V,X,Z)))}function L(V,X,Z,le,ve){const Oe=D(V,X);if(Oe)return Oe;const be=X===Ot,me=fn?history.state:{};Z&&(le||be?r.replace(V.fullPath,we({scroll:be&&me&&me.scroll},ve)):r.push(V.fullPath,ve)),l.value=V,yt(V,X,Z,be),De()}let J;function ne(){J||(J=r.listen((V,X,Z)=>{if(!He.listening)return;const le=v(V),ve=B(le,He.currentRoute.value);if(ve){q(we(ve,{replace:!0,force:!0}),le).catch(jn);return}d=le;const Oe=l.value;fn&&Cy(oo(Oe.fullPath,Z.delta),_i()),G(le,Oe).catch(be=>St(be,Be.NAVIGATION_ABORTED|Be.NAVIGATION_CANCELLED)?be:St(be,Be.NAVIGATION_GUARD_REDIRECT)?(q(we(R(be.to),{force:!0}),le).then(me=>{St(me,Be.NAVIGATION_ABORTED|Be.NAVIGATION_DUPLICATED)&&!Z.delta&&Z.type===Xr.pop&&r.go(-1,!1)}).catch(jn),Promise.reject()):(Z.delta&&r.go(-Z.delta,!1),ge(be,le,Oe))).then(be=>{be=be||L(le,Oe,!1),be&&(Z.delta&&!St(be,Be.NAVIGATION_CANCELLED)?r.go(-Z.delta,!1):Z.type===Xr.pop&&St(be,Be.NAVIGATION_ABORTED|Be.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),x(le,Oe,be)}).catch(jn)}))}let H=Mn(),ie=Mn(),pe;function ge(V,X,Z){De(V);const le=ie.list();return le.length?le.forEach(ve=>ve(V,X,Z)):console.error(V),Promise.reject(V)}function ke(){return pe&&l.value!==Ot?Promise.resolve():new Promise((V,X)=>{H.add([V,X])})}function De(V){return pe||(pe=!V,ne(),H.list().forEach(([X,Z])=>V?Z(V):X()),H.reset()),V}function yt(V,X,Z,le){const{scrollBehavior:ve}=e;if(!fn||!ve)return Promise.resolve();const Oe=!Z&&Sy(oo(V.fullPath,0))||(le||!Z)&&history.state&&history.state.scroll||null;return li().then(()=>ve(V,X,Oe)).then(be=>be&&Iy(be)).catch(be=>ge(be,V,X))}const It=V=>r.go(V);let nt;const ct=new Set,He={currentRoute:l,listening:!0,addRoute:h,removeRoute:T,clearRoutes:t.clearRoutes,hasRoute:A,getRoutes:C,resolve:v,options:e,push:O,replace:N,go:It,back:()=>It(-1),forward:()=>It(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:ie.add,isReady:ke,install(V){V.component("RouterLink",Yy),V.component("RouterView",Xy),V.config.globalProperties.$router=He,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>E(l)}),fn&&!nt&&l.value===Ot&&(nt=!0,O(r.location).catch(le=>{}));const X={};for(const le in Ot)Object.defineProperty(X,le,{get:()=>l.value[le],enumerable:!0});V.provide(ki,He),V.provide(Ia,Vs(X)),V.provide(ta,l);const Z=V.unmount;ct.add(V),V.unmount=function(){ct.delete(V),ct.size<1&&(d=Ot,J&&J(),J=null,l.value=Ot,nt=!1,pe=!1),Z()}}};function Dt(V){return V.reduce((X,Z)=>X.then(()=>oe(Z)),Promise.resolve())}return He}function Il(){return Pt(ki)}function eb(e){return Pt(Ia)}const $t=()=>{const{db:e}=je(),t="EUR",n="€",i=l=>{var d;return l||((d=e.shopData)==null?void 0:d.isoCurrency)||t},r=l=>{var c;const d=i(l);return mi[d]||((c=e.shopData)==null?void 0:c.currency)||n},a=F(()=>{var l;return((l=e.shopData)==null?void 0:l.isoCurrency)||t}),o=F(()=>{var l;return mi[a.value]||((l=e.shopData)==null?void 0:l.currency)||n});return{getCurrencyCode:i,getCurrencySymbol:r,getDisplayCurrency:l=>r(l),shopCurrencyCode:a,shopCurrencySymbol:o}};function Ca(e,t=50,n=!1){let i;return function(){const r=n&&!i,a=()=>e.apply(this,arguments);clearTimeout(i),i=setTimeout(a,t),r&&a()}}const tb="https://frontend-assets.propstack.de/vite/assets/image-Bvrz8CWa.png",nb=["src"],ib={key:1,class:"property-image__fallback"},Cl=K({__name:"PropertyImage",props:{url:{},size:{default:"default"},showFallback:{type:Boolean,default:!0},fallbackIcon:{default:"house"}},setup(e){const t=ce(e.showFallback),n=F(()=>!e.showFallback&&(t.value||!e.url)),i=F(()=>t.value?!e.fallbackIcon&&t.value?{"background-image":`url(${tb})`}:{}:{"background-image":`url('${e.url}')`}),r=()=>{t.value=!0},a=()=>{t.value=!1};return ze(()=>e.url,o=>{t.value=!!o}),(o,s)=>(u(),y("div",{class:U(["property-image",[`property-image--${e.size}`,{"is-hidden":n.value}]]),style:xe(i.value)},[e.url?(u(),y("img",{key:0,src:e.url,onError:r,onLoad:a,style:{display:"none"}},null,40,nb)):P("",!0),t.value&&e.showFallback?(u(),y("div",ib,[g(E(dn),{name:e.fallbackIcon,size:e.size},null,8,["name","size"])])):P("",!0),et(o.$slots,"default")],6))}}),rb=e=>{var r,a,o;const{db:t}=je(),n=e==null?void 0:e.categoryLabel,i=Number(n)?(o=(a=(r=t.shopData)==null?void 0:r.customCategories)==null?void 0:a.find(s=>s.id==n))==null?void 0:o.name:n;return[e==null?void 0:e.marketingTypeLabel,e==null?void 0:e.rsTypeLabel,i].filter(
12090Boolean)},ab={class:"property-labels"},ob=K({__name:"PropertyLabels",props:{resource:{}},setup(e){const t=F(()=>rb(e.resource)),{isNeoTheme:n}=Ee();return(i,r)=>(u(),y("div",ab,[(u(!0),y(ee,null,Te(t.value,(a,o)=>(u(),y("div",{class:"property-label",key:o},[!E(n)&&o>0?(u(),w(E(uc),{key:0,name:"chevron-right",size:"xsmall"})):P("",!0),E(n)&&o>0?(u(),w(E(dn),{key:1,name:"arrow-right",size:"xsmall"})):P("",!0),Y(" "+S(a),1)]))),128))]))}}),sb={class:"branded-cta-card"},lb={class:"card-content"},db={key:0,class:"branded-label"},cb={class:"card-actions"},Sl=K({__name:"BrandedCTACard",props:{label:{},text:{},ctaText:{},ctaLink:{}},setup(e){return(t,n)=>(u(),y("div",sb,[f("div",lb,[f("span",null,[e.label?(u(),y("span",db,S(e.label),1)):P("",!0),et(t.$slots,"default",{},()=>[Y(S(e.text),1)])])]),f("div",cb,[et(t.$slots,"actions",{},()=>[e.ctaText&&e.ctaLink?(u(),w(E(yn),{key:0,type:"primary",href:e.ctaLink,target:"_blank",rel:"noopener"},{default:k(()=>[Y(S(e.ctaText),1)]),_:1},8,["href"])):P("",!0)])])]))}});function ub(e,t,n,i){function r(a){return a instanceof n?a:new n(function(o){o(a)})}return new(n||(n=Promise))(function(a,o){function s(c){try{d(i.next(c))}catch(m){o(m)}}function l(c){try{d(i.throw(c))}catch(m){o(m)}}function d(c){c.done?a(c.value):r(c.value).then(s,l)}d((i=i.apply(e,[])).next())})}function pb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zi,Io;function mb(){return Io||(Io=1,zi=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var i,r,a;if(Array.isArray(t)){if(i=t.length,i!=n.length)return!1;for(r=i;r--!==0;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),i=a.length,i!==Object.keys(n).length)return!1;for(r=i;r--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[r]))return!1;for(r=i;r--!==0;){var o=a[r];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}),zi}var hb=mb(),fb=pb(hb);const Co="__googleMapsScriptId";var bn;(function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"})(bn||(bn={}));class Yt{constructor({apiKey:t,authReferrerPolicy:n,channel:i,client:r,id:a=Co,language:o,libraries:s=[],mapIds:l,nonce:d,region:c,retries:m=3,url:p="https://maps.googleapis.com/maps/api/js",version:h}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=n,this.channel=i,this.client=r,this.id=a||Co,this.language=o,this.libraries=s,this.mapIds=l,this.nonce=d,this.region=c,this.retries=m,this.url=p,this.version=h,Yt.instance){if(!fb(this.options,Yt.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Yt.instance.options)}`);return Yt.instance}Yt.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?bn.FAILURE:this.done?bn.SUCCESS:this.loading?bn.LOADING:bn.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`&region=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((t,n)=>{this.loadCallback(i=>{i?n(i.error):t(window.google)})})}importLibrary(t){return this.execute(),google.maps.importLibrary(t)}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){var t,n;if(document.getElementById(this.id)){this.callback();return}const i={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};
12090Object.keys(i).forEach(a=>!i[a]&&delete i[a]),!((n=(t=window==null?void 0:window.google)===null||t===void 0?void 0:t.maps)===null||n===void 0)&&n.importLibrary||(a=>{let o,s,l,d="The Google Maps JavaScript API",c="google",m="importLibrary",p="__ib__",h=document,T=window;T=T[c]||(T[c]={});const C=T.maps||(T.maps={}),A=new Set,v=new URLSearchParams,R=()=>o||(o=new Promise((D,O)=>ub(this,void 0,void 0,function*(){var N;yield s=h.createElement("script"),s.id=this.id,v.set("libraries",[...A]+"");for(l in a)v.set(l.replace(/[A-Z]/g,B=>"_"+B[0].toLowerCase()),a[l]);v.set("callback",c+".maps."+p),s.src=this.url+"?"+v,C[p]=D,s.onerror=()=>o=O(Error(d+" could not load.")),s.nonce=this.nonce||((N=h.querySelector("script[nonce]"))===null||N===void 0?void 0:N.nonce)||"",h.head.append(s)})));C[m]?console.warn(d+" only loads once. Ignoring:",a):C[m]=(D,...O)=>A.add(D)&&R().then(()=>C[m](D,...O))})(i);const r=this.libraries.map(a=>this.importLibrary(a));r.length||r.push(this.importLibrary("core")),Promise.all(r).then(()=>this.callback(),a=>{const o=new ErrorEvent("error",{error:a});this.loadErrorCallback(o)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const n=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${n} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},n)}else this.onerrorEvent=t,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(t=>{t(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading=!0,this.setScript()}}}const gb={apiKey:Us.GMAPS_KEY,version:"3.63",language:"de-DE"};let So=null;const yb=()=>(So||(So=new Yt(gb)),So),bb=()=>{var e,t,n;return(n=(t=(e=window.google)==null?void 0:e.maps)==null?void 0:t.importLibrary)==null?void 0:n.bind(window.google.maps)},Un=async e=>{const t=bb();return t?await t(e):await yb().importLibrary(e)},vb=async()=>{const e=await Un("core"),t=await Un("maps"),n=await Un("places"),i=await Un("drawing");return{core:e,maps:t,places:n,drawing:i}},Ib=["id","displayName","formattedAddress","location","addressComponents"],Cb=1,Sb=180,_b={"(cities)":["locality","administrative_area_level_3"],"(regions)":["locality","sublocality","postal_code","country","administrative_area_level_1","administrative_area_level_2"]},kb=e=>{if(e)return Array.isArray(e)?e:[e]},Tb=e=>{var t;return{place_id:e.id,name:e.displayName,formatted_address:e.formattedAddress,geometry:{location:e.location},address_components:((t=e.addressComponents)==null?void 0:t.map(n=>({long_name:n.longText||"",short_name:n.shortText||n.longText||"",types:n.types})))||[]}},_o=e=>{var t,n;return((n=(t=e.placePrediction)==null?void 0:t.text)==null?void 0:n.text)||""},wb=e=>e?e.flatMap(t=>_b[t]||[]):[],Fb=(e,t)=>{var r;const n=wb(t);if(!n.length)return!0;const i=((r=e.placePrediction)==null?void 0:r.types)||[];return n.some(a=>i.includes(a))},Pb=()=>{const e=document.createElement("div");return e.className="ps-google-autocomplete",e.setAttribute("role","listbox"),document.body.appendChild(e),e},_l=(e,t)=>{const n=t.getBoundingClientRect();e.style.left=`${n.left+window.scrollX}px`,e.style.top=`${n.bottom+window.scrollY}px`,e.style.width=`${n.width}px`},Vn=e=>{e.innerHTML="",e.style.display="none"},Ab=(e,t)=>{_l(e,t),e.style.display="block"},Ti=async({input:e,options:t={},fields:n=Ib,onPlaceSelected:i})=>{const r=await Un("places"),a=Pb();let o=null,s=0,l=new r.AutocompleteSessionToken,d=!1;const c=async()=>{var R;const T=e.value.trim();if(T.length<Cb){Vn(a);return}const C=++s;let A=[];try{A=(await r.AutocompleteSuggestion.fetchAutocompleteSuggestions({input:T,includedReg
12090ionCodes:kb((R=t.componentRestrictions)==null?void 0:R.country),language:"de",sessionToken:l})).suggestions}catch{Vn(a);return}if(C!==s)return;const v=A.filter(D=>Fb(D,t.types)).slice(0,5);if(!v.length){Vn(a);return}a.innerHTML="",v.forEach(D=>{var B,q;const O=D.placePrediction;if(!O)return;const N=document.createElement("button");N.type="button",N.className="ps-google-autocomplete__item",N.setAttribute("role","option"),N.innerHTML=`
12091        <span class="ps-google-autocomplete__pin" aria-hidden="true"></span>
12092        <span class="ps-google-autocomplete__content">
12093          <span class="ps-google-autocomplete__main"></span>
12094          <span class="ps-google-autocomplete__secondary"></span>
12095        </span>
12096      `,N.querySelector(".ps-google-autocomplete__main").textContent=((B=O.mainText)==null?void 0:B.text)||_o(D),N.querySelector(".ps-google-autocomplete__secondary").textContent=((q=O.secondaryText)==null?void 0:q.text)||"",N.addEventListener("mousedown",se=>{se.preventDefault()}),N.addEventListener("click",async()=>{const se=O.toPlace();await se.fetchFields({fields:n});const oe=Tb(se);e.value=oe.formatted_address||oe.name||_o(D),d=!0,e.dispatchEvent(new Event("input",{bubbles:!0})),i(oe),l=new r.AutocompleteSessionToken,Vn(a)}),a.appendChild(N)}),Ab(a,e)},m=()=>{if(d){d=!1;return}o&&window.clearTimeout(o),o=window.setTimeout(c,Sb)},p=()=>{window.setTimeout(()=>Vn(a),150)},h=()=>{a.style.display==="block"&&_l(a,e)};return e.addEventListener("input",m),e.addEventListener("focus",m),e.addEventListener("blur",p),window.addEventListener("resize",h),window.addEventListener("scroll",h,!0),{remove:()=>{o&&window.clearTimeout(o),e.removeEventListener("input",m),e.removeEventListener("focus",m),e.removeEventListener("blur",p),window.removeEventListener("resize",h),window.removeEventListener("scroll",h,!0),a.remove()}}},$b=["swiss","austria","spain","germany","portugal","hungary","emirates","czechia","great_britain"],Rb={swiss:"ch",austria:"at",spain:"es",germany:"de",portugal:"pt",hungary:"hu",emirates:"ae",czechia:"cz",great_britain:"gb"},Db=new Set($b);function Sa(e){return(e==null?void 0:e.trim().toLowerCase())||null}function Nb(e){const t=Sa(e);return t?Db.has(t):!1}function Ob(e,t){const n=Sa(e);return n?n===t:!1}function _a(e){const t=Sa(e);return t?Nb(t)&&Rb[t]||t:null}const Eb={class:"w-100"},Mb=K({__name:"CitySelectAsync",props:{modelValue:{},placeholder:{default:"client.queries.form.cityPh"},disabled:{type:Boolean,default:!1},sellsInternationally:{type:Boolean,default:!1},internationalCountry:{default:null}},emits:["update:modelValue"],setup(e,{emit:t}){const n=t,i=ce(!1),r=ce(""),a=ce(null),o=c=>{const m=e.modelValue.indexOf(c);if(m>=0){const p=[...e.modelValue];p.splice(m,1),n("update:modelValue",p)}},s=()=>{let c=r.value,m=e.modelValue;m||(m=[]),c&&!m.includes(c)&&m.push(c),i.value=!1,r.value="",n("update:modelValue",m)},l=F(()=>e.sellsInternationally?null:e.internationalCountry?_a(e.internationalCountry):"de");let d=null;return At(async()=>{const c=a.value.$refs.input.$refs.input;d=await Ti({input:c,options:{types:["(cities)"],componentRestrictions:l.value?{country:l.value}:void 0},onPlaceSelected:m=>{m.place_id&&(r.value=m.name||c.value,s())}})}),oc(()=>{d==null||d.remove()}),(c,m)=>{const p=I("nice-input"),h=I("nice-tag");return u(),y("div",Eb,[g(p,{ref_key:"newCityInput",ref:a,modelValue:r.value,"onUpdate:modelValue":m[0]||(m[0]=T=>r.value=T),placeholder:c.$t(e.placeholder),class:"mb-2",disabled:e.disabled},null,8,["modelValue","placeholder","disabled"]),(u(!0),y(ee,null,Te(e.modelValue,T=>(u(),w(h,{key:T,closable:"",type:"info",class:"mr-2 mb-1",onClose:C=>o(T)},{default:k(()=>[Y(S(T),1)]),_:2},1032,["onClose"]))),128))])}}}),kl={__name:"CitySelect",setup(e){return(t,n)=>(u(),w(yi,null,{default:k(()=>[g(Mb,Ls(Bs(t.$attrs)),null,16)]),_:1}))}},WP=Object.freeze(Object.defineProperty({__proto__:null,default:kl},Symbol.toStringTag,{value:"Module"})),dt=(e,t=[])=>{t=Array.isArray(t)?t:[];const n=e.map(s=>s.name),i=Ii.keyBy(e,s=>s.name),r=t.filter(s=>n.includes(s.name)).map(({name:s,width:l,visible:d,sort:c})=>{const m=i[s];return{...m,name:s,width:l??m.width,visible:d??m.visible,sort:c??m.sort}}),a=t.map(s=>s.name),o=e.filter(s=>!a.includes(s.name)).map(s=>({...s}));return[...r,...o]};function KP(e){const{brokerColumnName:t,customColumns:n,customColumnChoices:i,storeColumns:r,fetchDefaultColumns:a,onColumnLayoutChange:o}=e,{db:s}=je();let l=null,d=!0;const c={value:!1},p=la({currentResizing:null,data:(()=>{var oe;const N=(n==null?void 0:n.value)||s.broker[t]||[],B=(i==null?void 0:i.value)||[],q=(((oe=n==null?void 0:n.value)==null?void 0:oe.length)??0)>0,se=N.length>0;return d=!q,c.value=se,dt(B,N)})(),dialogVisible:!1}),h=F(()=>p.data.filter(N=>N.visible)),T=F(()=>!!(a!=null&&a.value)),C=()=>!!(n!=null&&n.value),A=Xn.debounce(N=>{r!=null&&r.value?r.value(N):C()||s.updateBroker({[t]:N})},1e3);function v(N){N.visible&&li(()=>{$(`.js-resizable[data-column='${N.name}'] .js-column-resize-grip`).on("mousedown",B=>{p.currentResizing=N;const q=$(`.js-resizable[data-column='${N.name}']`).get(0);q&&(l=q.offsetWidth-B.pageX)})})}function R(){$(".js-resizable").each(function(){const N=this;$(this).find(".js-column-resize-grip").on("mousedown",function(B){p.currentResizing=p.data.find(q=>
12096q.name===$(N).data("column"))??null,l=N.offsetWidth-B.pageX})}),$(document).on("mousemove",N=>{p.currentResizing&&l&&(p.currentResizing.width=l+N.pageX)}),$(document).on("mouseup",()=>p.currentResizing=null)}function D(){const N=(i==null?void 0:i.value)||[];a!=null&&a.value?a.value().then(B=>{!B||B.length===0?p.data=dt(N):p.data=dt(N,B)}):p.data=dt(N)}let O=!1;return ze(()=>p.data,N=>{O||(A(N),d?(o==null||o(null),d=!1):o==null||o(N))},{deep:!0}),n&&ze(n,N=>{const B=(i==null?void 0:i.value)||[],q=dt(B,N||s.broker[t]||[]);Ii.isEqual(q,p.data)||(O=!0,p.data=q,d=!N,li(()=>{O=!1}))},{deep:!0}),At(()=>{R(),a!=null&&a.value&&!c.value&&a.value().then(N=>{if(!N||N.length===0)return;const B=(i==null?void 0:i.value)||[];p.data=dt(B,N)})}),{columns:p,userColumns:h,canResetColumns:T,loadedSavedColumns:{value:c.value},columnVisibleChanged:v,resetColumns:D,handleColumnResizing:R}}function Vb(e,t={}){const{alternativeColumnsSource:n=null}=t;return{startOffset:null,emits:["update-column-layout"],watch:{"columns.data":{handler:function(i){this.storeColumnsDebounced(i),this.pristine?(this.$emit("update-column-layout",null),this.pristine=!1):this.$emit("update-column-layout",i)},deep:!0},customColumns:{handler:function(i){this.hasAlternativeColumnsSource()||(this.columns.data=dt(this.customColumnChoices,i||this.$db.broker[e]||[]),this.pristine=!i)},deep:!0}},data(i){var p;const r=this.getAlternativeColumnsSource(),a=this.hasAlternativeColumnsSource(),o=a?r:i.customColumns||this.$db.broker[e]||[],s=i.customColumnChoices||this.customColumnChoices||[],l=((p=i.customColumns)==null?void 0:p.length)>0,d=o.length>0,c=!l&&!a,m=dt(s,o);return{columns:{currentResizing:null,pristine:c,data:m,dialogVisible:!1},loadedSavedColumns:d}},methods:{getAlternativeColumnsSource(){return n?Ii.get(this,n)||[]:[]},hasAlternativeColumnsSource(){return this.getAlternativeColumnsSource().length>0},shouldSkipBrokerUpdateCheck(){return this.customColumns||this.hasAlternativeColumnsSource()},storeColumnsDebounced:Xn.debounce(function(i){this.storeColumns?this.storeColumns(i):this.shouldSkipBrokerUpdateCheck()||this.$db.updateBroker({[e]:i})},1e3),onColumnSortUpdate(i){this.columns.data.splice(i.newIndex,0,this.columns.data.splice(i.oldIndex,1)[0])},columnVisibleChanged(i){i.visible&&this.$nextTick(()=>{$(`.js-resizable[data-column='${i.name}'] .js-column-resize-grip`).on("mousedown",r=>{this.columns.currentResizing=i,this.$options.startOffset=$(`.js-resizable[data-column='${i.name}']`).get(0).offsetWidth-r.pageX})})},handleColumnResizing(){const i=this;$(".js-resizable").each(function(){const r=this;$(this).find(".js-column-resize-grip").on("mousedown",function(a){i.columns.currentResizing=i.columns.data.find(o=>
12096o.name===$(r).data("column")),i.$options.startOffset=r.offsetWidth-a.pageX})}),$(document).on("mousemove",r=>{this.columns.currentResizing&&this.$options.startOffset&&(this.columns.currentResizing.width=this.$options.startOffset+r.pageX)}),$(document).on("mouseup",r=>this.columns.currentResizing=null)},resetColumns(){this.fetchDefaultColumns?this.fetchDefaultColumns().then(i=>{!i||i.length===0?this.columns.data=dt(this.customColumnChoices):this.columns.data=dt(this.customColumnChoices,i)}):this.columns.data=dt(this.customColumnChoices)}},computed:{userColumns(){return this.columns.data.filter(i=>i.visible)}},mounted(){this.handleColumnResizing(),this.fetchDefaultColumns&&!this.loadedSavedColumns&&this.fetchDefaultColumns().then(i=>{!i||i.length===0||(this.columns.data=dt(this.customColumnChoices,i))})}}}const Lb=K({__name:"CommissionInput",props:{commission:{default:null},commissionPercentage:{default:null},currency:{},disabled:{type:Boolean,default:!1}},emits:["update:commission","update:commissionPercentage"],setup(e,{emit:t}){const n=t,i=F({get(){return e.commission},set(o){n("update:commission",o),n("update:commissionPercentage",null)}}),r=F({get(){return e.commissionPercentage},set(o){n("update:commission",null),n("update:commissionPercentage",o)}}),a=ce(i.value!=null?"fixed":"percentage");return(o,s)=>{const l=I("nice-input"),d=I("currency-input"),c=I("nice-radio-group");return u(),y(ee,null,[a.value==="percentage"?(u(),w(l,{key:0,size:"small",type:"number",modelValue:r.value,"onUpdate:modelValue":s[0]||(s[0]=m=>r.value=m),disabled:e.disabled},null,8,["modelValue","disabled"])):(u(),w(d,{key:1,modelValue:i.value,"onUpdate:modelValue":s[1]||(s[1]=m=>i.value=m),currency:e.currency,disabled:e.disabled},null,8,["modelValue","currency","disabled"])),g(c,{modelValue:a.value,"onUpdate:modelValue":s[2]||(s[2]=m=>a.value=m),class:"ml-2 whitespace-nowrap flex-nowrap",disabled:e.disabled,options:[{id:"percentage",name:"%"},{id:"fixed",name:e.currency}]},null,8,["modelValue","disabled","options"])],64)}}}),Bb=K({__name:"CommissionSplitBrokerSelect",props:{modelValue:{default:null},fixedPosition:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{emit:t}){const{graphql:n,axios:i}=je();let r;const a=t,o=ce([]),s=()=>{n(`
12097      query CommissionSplitBrokers {
12098        shop {
12099          commissionSplitBrokers {
12100            id
12101            name
12102          }
12103        }
12104      }
12105    `).then(({shop:l})=>{o.value=l.commissionSplitBrokers,r=o.value}).catch(i.handleError)};return At(()=>{r?o.value=r:s()}),(l,d)=>{const c=I("nice-select");return u(),w(c,{"model-value":e.modelValue,options:o.value,multiple:e.multiple,fixedPosition:e.fixedPosition,placeholder:l.$t("brokerDropdownSearch.search"),"onUpdate:modelValue":d[0]||(d[0]=m=>a("update:modelValue",m)),onChange:d[1]||(d[1]=m=>a("change",m))},null,8,["model-value","options","multiple","fixedPosition","placeholder"])}}}),Tl=e=>{const t=e.map(({id:i,name:r,parentLocationId:a})=>({value:i,label:r,parentLocationId:a})),n={};return t.forEach(i=>n[i.value]=i),t.forEach(i=>{if(!i.parentLocationId||i.parentLocationId===i.value)return;const r=n[i.parentLocationId];if(r)return(r.children||(r.children=[])).push(i)}),t.filter(i=>!i.parentLocationId)};function Ub(e){const t={};e.forEach(i=>t[i.id]=i);const n=e.map(i=>{const r=[i.name],a=new Set([i.id]);let o=i.parentLocationId;for(;o&&!a.has(o);){const s=t[o];if(!s)break;r.unshift(s.name),a.add(o),o=s.parentLocationId}return{id:i.id,name:r.join(" → "),parentLocationId:i.parentLocationId}});return Ne.orderBy(n,"name","asc")}function YP(e){return e.map(t=>({...t,name:t.name.split(" → ").pop()||t.name}))}function qb(e,t){return(t||[]).map(n=>Number(n)).filter(n=>Number.isFinite(n)).map(n=>e.get(n)).filter(n=>!!n)}const xb=$e(`
12106  query LocationsList {
12107    shop {
12108      locations {
12109        id
12110        name
12111        parentLocationId
12112      }
12113    }
12114  }
12115`),zb=200,Gb=100,_t={source:void 0,flat:[],tree:[],locationById:new Map,nestedTree:[],nestedLocationById:new Map};function Dn(e){if(_t.source===e)return _t;const t=Ub(e),n=Tl(e),i=new Map,r=e.map(({id:a,name:o,parentLocationId:s})=>{const l={id:a,name:o,parentId:s};return i.set(a,l),l});return r.forEach(a=>{if(!a.parentId||a.parentId===a.id)return;const o=i.get(a.parentId);o&&(o.children||(o.children=[])).push(a)}),_t.source=e,_t.flat=t,_t.tree=n,_t.locationById=new Map(t.map(a=>[a.id,a])),_t.nestedTree=r.filter(a=>!a.parentId),_t.nestedLocationById=i,_t}async function jb(){var t,n,i;const e=await pn(xb,{});if((t=e.errors)!=null&&t.length)throw new Error(e.errors.map(r=>r.message).join(", "));return((i=(n=e.data)==null?void 0:n.shop)==null?void 0:i.locations)??[]}const Hb=()=>({queryKey:Je.global.shop.locationsList(),queryFn:jb,staleTime:1/0});function Wb(e){return(Array.isArray(e)?e:e==null?[]:[e]).map(n=>Number(n)).filter(n=>Number.isFinite(n))}function wi(){const e=tl(Hb());return{...e,locations:F(()=>e.data.value??[])}}function QP(){const e=el(),t=Je.global.shop.locationsList(),n=r=>{e.setQueryData(t,a=>r(a??[]))},i=()=>
12115{e.invalidateQueries({queryKey:Je.global.shop.locations()})};return{set(r){e.setQueryData(t,r),i()},add(r){n(a=>[...a,r]),i()},replace(r){n(a=>a.map(o=>o.id===r.id?r:o)),i()},remove(r){n(a=>a.filter(o=>o.id!==r)),i()},applySort(r){const a=new Map(r.map(o=>[o.id,o]));n(o=>o.map(s=>({...s,...a.get(s.id)}))),i()}}}function Kb(){const e=wi(),t=F(()=>Dn(e.locations.value).flat),n=F(()=>Dn(e.locations.value).locationById);return{...e,groupedLocations:t,locationById:n}}function Yb(){const e=wi(),t=F(()=>Dn(e.locations.value).tree);return{...e,locationTree:t}}function ZP(){const e=wi(),t=F(()=>Dn(e.locations.value).nestedTree),n=F(()=>Dn(e.locations.value).nestedLocationById);return{...e,nestedLocations:t,nestedLocationById:n}}function JP(){const e=wi(),t=F(()=>Dn(e.locations.value).locationById);return{...e,locationById:t}}function Qb(e,t){const{groupedLocations:n,locationById:i}=Kb(),r=ce(""),a=Gb,o=zb,s=F(()=>n.value.length>o),l=F(()=>qb(i.value,Wb(Ht(e)))),d=F(()=>{if(!s.value)return n.value;if(!r.value.trim())return[];const h=r.value.trim().toLowerCase();return n.value.map(T=>{var v;const C=((v=T.name)==null?void 0:v.toLowerCase())||"",A=C.startsWith(h)?0:C.includes(` ${h}`)?1:C.includes(h)?2:3;return{item:T,priority:A}}).filter(({priority:T})=>T<3).sort((T,C)=>T.priority-C.priority).map(({item:T})=>T).slice(0,a)}),c=F(()=>{const h=s.value?[...l.value,...d.value]:n.value,T=new Set;return h.filter(C=>T.has(C.id)?!1:(T.add(C.id),!0))}),m=()=>{s.value&&(r.value="")},p=Xn.debounce(h=>{r.value=h});return{options:n,selectedOptions:l,totalOptions:c,async:s,preselect:m,remoteMethod:p}}const Zb=["groupedLocations"];function Jb(e){return Zb.includes(e)}function Xb(e,t){switch(e){case"groupedLocations":return Qb(t)}}const Gi=e=>(e==null?void 0:e.trim())||"",e1=(e,t,n)=>{var o,s;const i=(e==null?void 0:e.translations)||[],r=Gi((o=i.find(({locale:l})=>l===t))==null?void 0:o.infoText);if(r)return r;const a=Gi((s=i.find(({locale:l})=>l===n))==null?void 0:s.infoText);return a||Gi(e==null?void 0:e.infoText)||null},t1=["de","en"],n1=e=>{const{supportedClientLocales:t}=e.shopData??{};return[...new Set([...t||[],...t1])]};var W=(e=>(e.address="address",e.boolean="boolean",e.broker="broker",e.children="children",e.date="date",e.datetime="datetime",e.dropdown="dropdown",e.emails="emails",e.findriveTipsterBanner="findriveTipsterBanner",e.link="link",e.multiselect="multiselect",e.name="name",e.number="number",e.phone="phone",e.phones="phones",e.photo="photo",e.range="range",e.relationship="relationship",e.richtext="richtext",e.slider="slider",e.string="string",e.tags="tags",e.text="text",e.yesNo="yesno",e.countryselect="countryselect",e.investmentUnitsTable="investmentunitstable",e.rentalUnitsTable="rentalunitstable",e))(W||{}),oi=(e=>(e.owner="owner",e.partner="partner",e.associate="associate",e))(oi||{}),mt=(e=>(e[e.MessageOpened=1]="MessageOpened",e[e.PropertyLiked=2]="PropertyLiked",e[e.FileDownloaded=3]="FileDownloaded",e[e.LinkClicked=4]="LinkClicked",e[e.PolicyVisited=5]="PolicyVisited",e[e.LandingPageVisited=6]="LandingPageVisited",e[e.ExposeDownloaded=7]="ExposeDownloaded",e[e.FileUploaded=8]="FileUploaded",e[e.FileDeleted=9]="FileDeleted",e[e.CustomFormVisited=10]="CustomFormVisited",e[e.OguloTourViewed=11]="OguloTourViewed",e))(mt||{}),Ve={};const i1=[["AF","AFG","004","ISO 3166-2:AF"],["AX","ALA","248","ISO 3166-2:AX"],["AL","ALB","008","ISO 3166-2:AL"],["DZ","DZA","012","ISO 3166-2:DZ"],["AD","AND","020","ISO 3166-2:AD"],["AO","AGO","024","ISO 3166-2:AO"],["AG","ATG","028","ISO 3166-2:AG"],["AR","ARG","032","ISO 3166-2:AR"],["AM","ARM","051","ISO 3166-2:AM"],["AU","AUS","036","ISO 3166-2:AU"],["AT","AUT","040","ISO 3166-2:AT"],["AZ","AZE","031","ISO 3166-2:AZ"],["BS","BHS","044","ISO 3166-2:BS"],["BH","BHR","048","ISO 3166-2:BH"],["BD","BGD","050","ISO 3166-2:BD"],["BB","BRB","052","ISO 3166-2:BB"],["BY","BLR","112","ISO 3166-2:BY"],["BE","BEL","056","ISO 3166-2:BE"],["BZ","BLZ","084","ISO 3166-2:BZ"],["BJ","BEN","204","ISO 3166-2:BJ"],["BM","BMU","060","ISO 3166-2:BM"],["BT","BTN","064","ISO 3166-2:BT"],["BO","BOL","068","ISO 3166-2:
12115BO"],["BQ","BES","535","ISO 3166-2:BQ"],["BA","BIH","070","ISO 3166-2:BA"],["BW","BWA","072","ISO 3166-2:BW"],["BV","BVT","074","ISO 3166-2:BV"],["BR","BRA","076","ISO 3166-2:BR"],["IO","IOT","086","ISO 3166-2:IO"],["BN","BRN","096","ISO 3166-2:BN"],["BG","BGR","100","ISO 3166-2:BG"],["BF","BFA","854","ISO 3166-2:BF"],["BI","BDI","108","ISO 3166-2:BI"],["KH","KHM","116","ISO 3166-2:KH"],["CM","CMR","120","ISO 3166-2:CM"],["CA","CAN","124","ISO 3166-2:CA"],["CV","CPV","132","ISO 3166-2:CV"],["KY","CYM","136","ISO 3166-2:KY"],["CF","CAF","140","ISO 3166-2:CF"],["TD","TCD","148","ISO 3166-2:TD"],["CL","CHL","152","ISO 3166-2:CL"],["CN","CHN","156","ISO 3166-2:CN"],["CX","CXR","162","ISO 3166-2:CX"],["CC","CCK","166","ISO 3166-2:CC"],["CO","COL","170","ISO 3166-2:CO"],["KM","COM","174","ISO 3166-2:KM"],["CG","COG","178","ISO 3166-2:CG"],["CD","COD","180","ISO 3166-2:CD"],["CK","COK","184","ISO 3166-2:CK"],["CR","CRI","188","ISO 3166-2:CR"],["CI","CIV","384","ISO 3166-2:CI"],["HR","HRV","191","ISO 3166-2:HR"],["CU","CUB","192","ISO 3166-2:CU"],["CW","CUW","531","ISO 3166-2:CW"],["CY","CYP","196","ISO 3166-2:CY"],["CZ","CZE","203","ISO 3166-2:CZ"],["DK","DNK","208","ISO 3166-2:DK"],["DJ","DJI","262","ISO 3166-2:DJ"],["DM","DMA","212","ISO 3166-2:DM"],["DO","DOM","214","ISO 3166-2:DO"],["EC","ECU","218","ISO 3166-2:EC"],["EG","EGY","818","ISO 3166-2:EG"],["SV","SLV","222","ISO 3166-2:SV"],["GQ","GNQ","226","ISO 3166-2:GQ"],["ER","ERI","232","ISO 3166-2:ER"],["EE","EST","233","ISO 3166-2:EE"],["ET","ETH","231","ISO 3166-2:ET"],["FK","FLK","238","ISO 3166-2:FK"],["FO","FRO","234","ISO 3166-2:FO"],["FJ","FJI","242","ISO 3166-2:FJ"],["FI","FIN","246","ISO 3166-2:FI"],["FR","FRA","250","ISO 3166-2:FR"],["GF","GUF","254","ISO 3166-2:GF"],["PF","PYF","258","ISO 3166-2:PF"],["TF","ATF","260","ISO 3166-2:TF"],["GA","GAB","266","ISO 3166-2:GA"],["GM","GMB","270","ISO 3166-2:GM"],["GE","GEO","268","ISO 3166-2:GE"],["DE","DEU","276","ISO 3166-2:DE"],["GH","GHA","288","ISO 3166-2:GH"],["GI","GIB","292","ISO 3166-2:GI"],["GR","GRC","300","ISO 3166-2:GR"],["GL","GRL","304","ISO 3166-2:GL"],["GD","GRD","308","ISO 3166-2:GD"],["GP","GLP","312","ISO 3166-2:GP"],["GU","GUM","316","ISO 3166-2:GU"],["GT","GTM","320","ISO 3166-2:GT"],["GG","GGY","831","ISO 3166-2:GG"],["GN","GIN","324","ISO 3166-2:GN"],["GW","GNB","624","ISO 3166-2:GW"],["GY","GUY","328","ISO 3166-2:GY"],["HT","HTI","332","ISO 3166-2:HT"],["HM","HMD","334","ISO 3166-2:HM"],["VA","VAT","336","ISO 3166-2:VA"],["HN","HND","340","ISO 3166-2:HN"],["HK","HKG","344","ISO 3166-2:HK"],["HU","HUN","348","ISO 3166-2:HU"],["IS","ISL","352","ISO 3166-2:IS"],["IN","IND","356","ISO 3166-2:IN"],["ID","IDN","360","ISO 3166-2:ID"],["IR","IRN","364","ISO 3166-2:IR"],["IQ","IRQ","368","ISO 3166-2:IQ"],["IE","IRL","372","ISO 3166-2:IE"],["IM","IMN","833","ISO 3166-2:IM"],["IL","ISR","376","ISO 3166-2:IL"],["IT","ITA","380","ISO 3166-2:IT"],["JM","JAM","388","ISO 3166-2:JM"],["JP","JPN","392","ISO 3166-2:JP"],["JE","JEY","832","ISO 3166-2:JE"],["JO","JOR","400","ISO 3166-2:JO"],["KZ","KAZ","398","ISO 3166-2:KZ"],["KE","KEN","404","ISO 3166-2:KE"],["KI","KIR","296","ISO 3166-2:KI"],["KP","PRK","408","ISO 3166-2:KP"],["KR","KOR","410","ISO 3166-2:KR"],["KW","KWT","414","ISO 3166-2:KW"],["KG","KGZ","417","ISO 3166-2:KG"],["LA","LAO","418","ISO 3166-2:LA"],["LV","LVA","428","ISO 3166-2:LV"],["LB","LBN","422","ISO 3166-2:LB"],["LS","LSO","426","ISO 3166-2:LS"],["LR","LBR","430","ISO 3166-2:LR"],["LY","LBY","434","ISO 3166-2:LY"],["LI","LIE","438","ISO 3166-2:LI"],["LT","LTU","440","ISO 3166-2:LT"],["LU","LUX","442","ISO 3166-2:LU"],["MO","MAC","446","ISO 3166-2:MO"],["MK","MKD","807","ISO 3166-2:MK"],["MG","MDG","450","ISO 3166-2:MG"],["MW","MWI","454","ISO 3166-2:MW"],["MY","MYS","458","ISO 3166-2:MY"],["MV","MDV","462","ISO 3166-2:MV"],["ML","MLI","466","ISO 3166-2:ML"],["MT","MLT","470","ISO 3166-2:MT"],["MH","MHL","584","ISO 3166-2:MH"],["MQ","MTQ","474","ISO 3166-2:MQ"],["MR","MRT","478","ISO 3166-2:MR"],["MU","MUS","480","ISO 3166-2:MU"],["YT","MYT","175","ISO 3166-2:YT"],["MX","MEX","484","ISO 3166-2:MX"],["FM","FSM","583","ISO 3166-2:FM"],["MD","MDA","498","ISO 3166-2:MD"],["MC","MCO","492","ISO 3166-2:MC"],["MN","MNG","496","ISO 3166-2:MN"],["ME","MNE","499","ISO 3166-2:ME"],["MS","MSR","500","ISO 3166-2:MS"],["MA","MAR","504","ISO 3166-2:MA"],["MZ","MOZ","508","ISO 3166-2:MZ"],["MM","MMR","104","ISO 3166-2:MM"],["NA","NAM","516","ISO 3166-2:NA"],["NR","NRU","520","ISO 3166-2:NR"],["NP","NPL","524","ISO 3166-2:NP"],["NL","NLD","528","ISO 3166-2:NL"],["NC","NCL","540","ISO 3166-2:NC"],["NZ","NZL","554","ISO 3166-2:NZ"],["NI","NIC","558","ISO 3166-2:NI"],["NE","NER","562","ISO 3166-2:NE"],["NG","NGA","566","ISO 3166-2:NG"],["NU","NIU","570","ISO 3166-2:NU"],["NF","NFK","574","ISO 3166-2:NF"],["MP","MNP","580","ISO 3166-2:MP"],["NO","NOR","578","ISO 3166-2:NO"],["OM","OMN","512","ISO 3166-2:OM"],["PK","PAK","586","ISO 3166-2:PK"],["PW","PLW","585","ISO 3166-2:PW"],["PS","PSE","275","ISO 3166-2:PS"],["PA","PAN","591","ISO 3166-2:PA"],["PG","PNG","598","ISO 3166-2:PG"],["PY","PRY","600","ISO 3166-2:PY"],["PE","PER","604","ISO 3166-2:PE"],["PH","PHL","608","ISO 3166-2:PH"],["PN","PCN","612","ISO 3166-2:PN"],["PL","POL","616","ISO 3166-2:PL"],["PT","PRT","620","ISO 3166-2:PT"],["PR","PRI","630","ISO 3166-2:PR"],["QA","QAT","634","ISO 3166-2:QA"],["RE","REU","638","ISO 3166-2:RE"],["RO","ROU","642","ISO 3166-2:RO"],["RU","RUS","643","ISO 3166-2:RU"],["RW","RWA","646","ISO 3166-2:RW"],["BL","BLM","652","ISO 3166-2:
12115BL"],["SH","SHN","654","ISO 3166-2:SH"],["KN","KNA","659","ISO 3166-2:KN"],["LC","LCA","662","ISO 3166-2:LC"],["MF","MAF","663","ISO 3166-2:MF"],["PM","SPM","666","ISO 3166-2:PM"],["VC","VCT","670","ISO 3166-2:VC"],["WS","WSM","882","ISO 3166-2:WS"],["SM","SMR","674","ISO 3166-2:SM"],["ST","STP","678","ISO 3166-2:ST"],["SA","SAU","682","ISO 3166-2:SA"],["SN","SEN","686","ISO 3166-2:SN"],["RS","SRB","688","ISO 3166-2:RS"],["SC","SYC","690","ISO 3166-2:SC"],["SL","SLE","694","ISO 3166-2:SL"],["SG","SGP","702","ISO 3166-2:SG"],["SX","SXM","534","ISO 3166-2:SX"],["SK","SVK","703","ISO 3166-2:SK"],["SI","SVN","705","ISO 3166-2:SI"],["SB","SLB","090","ISO 3166-2:SB"],["SO","SOM","706","ISO 3166-2:SO"],["ZA","ZAF","710","ISO 3166-2:ZA"],["GS","SGS","239","ISO 3166-2:GS"],["SS","SSD","728","ISO 3166-2:SS"],["ES","ESP","724","ISO 3166-2:ES"],["LK","LKA","144","ISO 3166-2:LK"],["SD","SDN","729","ISO 3166-2:SD"],["SR","SUR","740","ISO 3166-2:SR"],["SJ","SJM","744","ISO 3166-2:SJ"],["SZ","SWZ","748","ISO 3166-2:SZ"],["SE","SWE","752","ISO 3166-2:SE"],["CH","CHE","756","ISO 3166-2:CH"],["SY","SYR","760","ISO 3166-2:SY"],["TW","TWN","158","ISO 3166-2:TW"],["TJ","TJK","762","ISO 3166-2:TJ"],["TZ","TZA","834","ISO 3166-2:TZ"],["TH","THA","764","ISO 3166-2:TH"],["TL","TLS","626","ISO 3166-2:TL"],["TG","TGO","768","ISO 3166-2:TG"],["TK","TKL","772","ISO 3166-2:TK"],["TO","TON","776","ISO 3166-2:TO"],["TT","TTO","780","ISO 3166-2:TT"],["TN","TUN","788","ISO 3166-2:TN"],["TR","TUR","792","ISO 3166-2:TR"],["TM","TKM","795","ISO 3166-2:TM"],["TC","TCA","796","ISO 3166-2:TC"],["TV","TUV","798","ISO 3166-2:TV"],["UG","UGA","800","ISO 3166-2:UG"],["UA","UKR","804","ISO 3166-2:UA"],["AE","ARE","784","ISO 3166-2:AE"],["GB","GBR","826","ISO 3166-2:GB"],["US","USA","840","ISO 3166-2:US"],["UM","UMI","581","ISO 3166-2:UM"],["UY","URY","858","ISO 3166-2:UY"],["UZ","UZB","860","ISO 3166-2:UZ"],["VU","VUT","548","ISO 3166-2:VU"],["VE","VEN","862","ISO 3166-2:VE"],["VN","VNM","704","ISO 3166-2:VN"],["VG","VGB","092","ISO 3166-2:VG"],["VI","VIR","850","ISO 3166-2:VI"],["WF","WLF","876","ISO 3166-2:WF"],["EH","ESH","732","ISO 3166-2:EH"],["YE","YEM","887","ISO 3166-2:YE"],["ZM","ZMB","894","ISO 3166-2:ZM"],["ZW","ZWE","716","ISO 3166-2:ZW"],["XK","XKX","","ISO 3166-2:XK"]];var Ln={},ko;function wl(){if(ko)return Ln;ko=1,Ln.remove=a;for(var e=[{base:" ",chars:" "},{base:"0",chars:"߀"},{base:"A",chars:"ⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",chars:"Ꜳ"},{base:"AE",chars:"ÆǼǢ"},{base:"AO",chars:"Ꜵ"},{base:"AU",chars:"Ꜷ"},{base:"AV",chars:"ꜸꜺ"},{base:"AY",chars:"Ꜽ"},{base:"B",chars:"ⒷBḂḄḆɃƁ"},{base:"C",chars:"ⒸCꜾḈĆCĈĊČÇƇȻ"},{base:"D",chars:"ⒹDḊĎḌḐḒḎĐƊƉᴅꝹ"},{base:"Dh",chars:"Ð"},{base:"DZ",chars:"DZDŽ"},{base:"Dz",chars:"DzDž"},{base:"E",chars:"ɛⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎᴇ"},{base:"F",chars:"ꝼⒻFḞƑꝻ"},{base:"G",chars:"ⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾɢ"},{base:"H",chars:"ⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",chars:"ⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",chars:"ⒿJĴɈȷ"},{base:"K",chars:"ⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",chars:"ⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",chars:"LJ"},{base:"Lj",chars:"Lj"},{base:"M",chars:"ⓂMḾṀṂⱮƜϻ"},{base:"N",chars:"ꞤȠⓃNǸŃÑṄŇṆŅṊṈƝꞐᴎ"},{base:"NJ",chars:"NJ"},{base:"Nj",chars:"Nj"},{base:"O",chars:"ⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OE",chars:"Œ"},{base:"OI",chars:"Æ¢"},{base:"OO",chars:"Ꝏ"},{base:"OU",chars:"È¢"},{base:"P",chars:"ⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",chars:"ⓆQꝖꝘɊ"},{base:"R",chars:"ⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",chars:"ⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",chars:"ⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"Th",chars:"Þ"},{base:"TZ",chars:"Ꜩ"},{base:"U",chars:"ⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲá¹
12115¶á¹´É„"},{base:"V",chars:"ⓋVṼṾƲꝞɅ"},{base:"VY",chars:"Ꝡ"},{base:"W",chars:"ⓌWẀẂŴẆẄẈⱲ"},{base:"X",chars:"ⓍXẊẌ"},{base:"Y",chars:"ⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",chars:"ⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",chars:"ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐɑ"},{base:"aa",chars:"ꜳ"},{base:"ae",chars:"æǽǣ"},{base:"ao",chars:"ꜵ"},{base:"au",chars:"ꜷ"},{base:"av",chars:"ꜹꜻ"},{base:"ay",chars:"ꜽ"},{base:"b",chars:"ⓑbḃḅḇƀƃɓƂ"},{base:"c",chars:"cⓒćĉċčçḉƈȼꜿↄ"},{base:"d",chars:"ⓓdḋďḍḑḓḏđƌɖɗƋᏧԁꞪ"},{base:"dh",chars:"ð"},{base:"dz",chars:"dzdž"},{base:"e",chars:"ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇǝ"},{base:"f",chars:"ⓕfḟƒ"},{base:"ff",chars:"ff"},{base:"fi",chars:"fi"},{base:"fl",chars:"fl"},{base:"ffi",chars:"ffi"},{base:"ffl",chars:"ffl"},{base:"g",chars:"ⓖgǵĝḡğġǧģǥɠꞡꝿᵹ"},{base:"h",chars:"ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",chars:"ƕ"},{base:"i",chars:"ⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",chars:"ⓙjĵǰɉ"},{base:"k",chars:"ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",chars:"ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇɭ"},{base:"lj",chars:"lj"},{base:"m",chars:"ⓜmḿṁṃɱɯ"},{base:"n",chars:"ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥлԉ"},{base:"nj",chars:"nj"},{base:"o",chars:"ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿꝋꝍɵɔᴑ"},{base:"oe",chars:"œ"},{base:"oi",chars:"Æ£"},{base:"oo",chars:"ꝏ"},{base:"ou",chars:"È£"},{base:"p",chars:"ⓟpṕṗƥᵽꝑꝓꝕρ"},{base:"q",chars:"ⓠqɋꝗꝙ"},{base:"r",chars:"ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",chars:"ⓢsśṥŝṡšṧṣṩșşȿꞩꞅẛʂ"},{base:"ss",chars:"ß"},{base:"t",chars:"ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"th",chars:"þ"},{base:"tz",chars:"ꜩ"},{base:"u",chars:"ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",chars:"ⓥvṽṿʋꝟʌ"},{base:"vy",chars:"ꝡ"},{base:"w",chars:"ⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",chars:"ⓧxẋẍ"},{base:"y",chars:"ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",chars:"ⓩzźẑżžẓẕƶȥɀⱬꝣ"}],t={},n=0;n<e.length;n+=1)for(var i=e[n].chars,r=0;r<i.length;r+=1)t[i[r]]=e[n].base;
12115function a(o){return o.replace(/[^\u0000-\u007e]/g,function(s){return t[s]||s})}return Ln.replacementList=e,Ln.diacriticsMap=t,Ln}var To;function r1(){if(To)return Ve;To=1;var e=i1,t=wl().remove,n={},i={},r={},a={},o={};e.forEach(function(v){var R=v;i[R[0]]=R[1],r[R[1]]=R[0],a[R[2]]=R[0],o[R[0]]=R[2]});function s(v){return("000"+(v||"")).slice(-3)}function l(v){if(!v.locale)throw new TypeError("Missing localeData.locale");if(!v.nationalities)throw new TypeError("Missing localeData.nationalities");n[v.locale]=v.nationalities}Ve.registerLocale=l;function d(v){return r[v]}Ve.alpha3ToAlpha2=d;function c(v){return i[v]}Ve.alpha2ToAlpha3=c;function m(v){return o[d(v)]}Ve.alpha3ToNumeric=m;function p(v){return o[v]}Ve.alpha2ToNumeric=p;function h(v){var R=s(v);return c(a[R])}Ve.numericToAlpha3=h;function T(v){var R=s(v);return a[R]}Ve.numericToAlpha2=T;function C(v){if(typeof v=="string"){if(/^[0-9]*$/.test(v))return h(v);if(v.length===2)return c(v.toUpperCase());if(v.length===3)return v.toUpperCase()}if(typeof v=="number")return h(v)}Ve.toAlpha3=C;function A(v){if(typeof v=="string"){if(/^[0-9]*$/.test(v))return T(v);if(v.length===2)return v.toUpperCase();if(v.length===3)return d(v.toUpperCase())}if(typeof v=="number")return T(v)}return Ve.toAlpha2=A,Ve.getName=function(v,R){try{var D=n[R.toLowerCase()];return D[A(v)]}catch{return}},Ve.getNames=function(v){var R=n[v.toLowerCase()];return R===void 0?{}:R},Ve.getAlpha2Code=function(v,R){try{var D,O=n[R.toLowerCase()];for(D in O)if(O.hasOwnProperty(D)&&O[D].toLowerCase()===v.toLowerCase())return D;return}catch{return}},Ve.getSimpleAlpha2Code=function(v,R){try{var D,O=n[R.toLowerCase()];for(D in O)if(O.hasOwnProperty(D)&&t(O[D].toLowerCase())===t(v.toLowerCase()))return D;return}catch{return}},Ve.getAlpha2Codes=function(){return i},Ve.getAlpha3Code=function(v,R){var D=this.getAlpha2Code(v,R);if(D)return this.toAlpha3(D)},Ve.getSimpleAlpha3Code=function(v,R){var D=this.getSimpleAlpha2Code(v,R);if(D)return this.toAlpha3(D)},Ve.getAlpha3Codes=function(){return r},Ve.getNumericCodes=function(){return a},Ve.langs=function(){return Object.keys(n)},Ve.isValid=function(v){if(!v)return!1;var R=v.toString().toUpperCase();return r.hasOwnProperty(R)||i.hasOwnProperty(R)||a.hasOwnProperty(R)},Ve}var hi=r1();const Fl="de",Pl={AF:"Afghanisch",AL:"Albanisch",DZ:"Algerisch",AD:"Andorranisch",AO:"Angolanisch",AG:"Antiguanisch",AR:"Argentinisch",AM:"Armenisch",AU:"Australisch",AT:"Österreichisch",AZ:"Aserbaidschanisch",BS:"Bahamaisch",BH:"Bahrainisch",BD:"Bangladeschisch",BB:"Barbadisch",BY:"Weißrussisch",BE:"Belgisch",BZ:"Belizisch",BJ:"Beninisch",BM:"Bermudisch",BT:"Bhutanisch",BO:"Bolivisch",BA:"Bosnisch",BW:"Botsuanisch",BV:"Bouvet insel",BR:"Brasilianisch",IO:"Britisches Territorium im Indischen Ozean",BN:"Bruneiisch",BG:"Bulgarisch",BF:"Burkinisch",BI:"Burundisch",KH:"Kambodschanisch",CM:"Kamerunisch",CA:"Kanadisch",CV:"Kapverdisch",KY:"Kaimaninseln",CF:"Zentralafrikanisch",TD:"Tschadisch",CL:"Chilenisch",CN:"Chinesisch",CX:"Weihnachtsinsel",CC:"Kokosinseln",CO:"Kolumbianisch",KM:"Komorisch",CG:"Kongolesisch (Republik Kongo)",CD:"Kongolesisch (Demokratische Republik Kongo)",CK:"Cookinseln",CR:"Costa-Ricanisch",CI:"Ivorisch",HR:"Kroatisch",CU:"Kubanisch",CY:"Zyprisch",CZ:"Tschechisch",DK:"Dänisch",DJ:"Dschibutisch",DM:"Dominicanisch (Dominica)",DO:"Dominikanisch (Dominikanische Republik)",EC:"Ecuadorianisch",EG:"Ägyptisch",SV:"Salvadorianisch",GQ:"Äquatorial-Guineisch",ER:"Eritreisch",EE:"Estnisch",ET:"Äthiopisch",FK:"Falklandinseln",FO:"Färöer",FJ:"Fidschianisch",FI:"Finnisch",FR:"Französisch",GF:"Französisch-Guayana",PF:"Französisch-Polynesien",TF:"Französische Süd- und Antarktisgebiete",GA:"Gabunisch",GM:"Gambisch",GE:"Georgisch",DE:"Deutsch",GH:"Ghanaisch",GI:"Gibraltar",GR:"Griechisch",GL:"Grönländisch",GD:"Grenadisch",GP:"Guadeloupe",GU:"Guamisch",GT:"Guatemaltekisch",GN:"Guineisch",GW:"Guinea-Bissauisch",GY:"Guyanisch",HT:"Haitianisch",HM:"Heard und McDonaldinseln",VA:"Vatikanisch",HN:"Honduranisch",HK:"Hongkong",HU:"Ungarisch",IS:"Isländisch",IN:"Indisch",ID:"Indonesisch",IR:"Iranisch",IQ:"Irakisch",IE:"Irisch",IL:"Israelisch",IT:"Italienisch",JM:"Jamaikanisch",JP:"Japanisch",JO:"Jordanisch",KZ:"Kasachisch",KE:"Kenianisch",KI:"Kiribatisch",KP:"Nordkoreanisch",KR:"Südkoreanisch",KW:"Kuwaitisch",KG:"Kirgisisch",LA:"Laotisch",LV:"Lettisch",LB:"Libanesisch",LS:"Lesothisch",LR:"Liberianisch",LY:"Libysch",LI:"Liechtensteinisch",LT:"Litauisch",LU:"Luxemburgisch",MO:"Macau",MG:"Mad
12115agassisch",MW:"Malawisch",MY:"Malaysisch",MV:"Maledivisch",ML:"Malisch",MT:"Maltesisch",MH:"Marshallisch",MQ:"Martinique",MR:"Mauretanisch",MU:"Mauritisch",YT:"Mayotte",MX:"Mexikanisch",FM:"Mikronesisch",MD:"Moldawisch",MC:"Monegassisch",MN:"Mongolisch",MS:"Montserrat",MA:"Marokkanisch",MZ:"Mosambikanisch",MM:"Myanmarisch",NA:"Namibisch",NR:"Nauruisch",NP:"Nepalesisch",NL:"Niederländisch",NC:"Neukaledonien",NZ:"Neuseelandneuseeländisch",NI:"Nicaraguanisch",NE:"Nigerianisch (Niger)",NG:"Nigerianisch (Nigeria)",NU:"Niueanisch",NF:"Norfolkinsel",MK:"Mazedonisch",MP:"Nördliche Marianen",NO:"Norwegisch",OM:"Omanisch",PK:"Pakistanisch",PW:"Palauisch",PS:"Gazastreifen",PA:"Panamaisch",PG:"Papua-Neuguienisch",PY:"Paraguayisch",PE:"Peruanisch",PH:"Philippinisch",PN:"Pitcairninseln",PL:"Polnisch",PT:"Portugiesisch",PR:"Puerto-Ricanisch",QA:"Katarisch",RE:"Réunion",RO:"Rumänisch",RU:"Russisch",RW:"Ruandisch",SH:"St.Helena",KN:"St. Kitts und Nevis",LC:"Lucianisch",PM:"St. Pierre und Miquelon",VC:"Vincentisch",WS:"Samoanisch",SM:"San-Marinesisch",ST:"São-Toméisch",SA:"Saudi-Arabisch",SN:"Senegalesisch",SC:"Seychellisch",SL:"Sierra-Leonisch",SG:"Singapurisch",SK:"Slowakisch",SI:"Slowenisch",SB:"Salomonisch",SO:"Somalisch",ZA:"Südafrikanisch",GS:"Südgeorgien und die Südlichen Sandwichinseln",ES:"Spanisch",LK:"Sri-Lankisch",SD:"Sudanesisch",SR:"Surinamisch",SJ:"Jan Mayen",SZ:"Swasiländisch",SE:"Schwedisch",CH:"Schweizerisch",SY:"Syrisch",TW:"Taiwanesisch",TJ:"Tadschikisch",TZ:"Tansanisch",TH:"Thailändisch",TL:"Timoresisch",TG:"Togolesisch",TK:"Tokelau",TO:"Tongaisch",TT:"Trinidad und Tobago",TN:"Tunesisch",TR:"Türkisch",TM:"Turkmenisch",TC:"Turks- und Caicosinseln",TV:"Tuvaluisch",UG:"Ugandisch",UA:"Ukrainisch",AE:"Vereinigte Arabische Emirate",GB:"Britisch",US:"Amerikanisch",UM:"United States Minor Outlying Islands",UY:"Uruguayisch",UZ:"Usbekisch",VU:"Vanuatisch",VE:"Venezolanisch",VN:"Vietnamesisch",VG:"Britische Jungferninseln",VI:"Amerikanische Jungferninseln",WF:"Wallis und Futuna",EH:"Westsahara",YE:"Jemenitisch",ZM:"Sambisch",ZW:"Simbabwisch",AX:"Åland Insel",BQ:"Bonaire, Sint Eustatius und Saba",CW:"Curaçao",GG:"Guernsey",IM:"Man (Isle of Man)",JE:"Jersey",ME:"Montenegrinisch",BL:"St. Barthélemy",MF:"Saint-Martin",RS:"Serbisch",SX:"Sint Maarten",SS:"Südsudanesisch",XK:"Kosovo"},a1={locale:Fl,nationalities:Pl},o1=Object.freeze(Object.defineProperty({__proto__:null,default:a1,locale:Fl,nationalities:Pl},Symbol.toStringTag,{value:"Module"}));hi.registerLocale(o1);const s1=hi.getNames("de");Object.fromEntries(Object.entries(hi.getNames("de")).map(([e,t])=>[hi.alpha2ToAlpha3(e),t]));const l1={brokerId:{dbOptions:"activeBrokers",type:W.dropdown,group:"supervisor",filterable:!0,filterName:"responsible_broker",readonly:({db:e,record:t})=>t&&![t.brokerId,t.secondBrokerId].includes(e.broker.id)&&!e.hasRight("rightToChangeBroker")},teamId:{dbOptions:"teams",type:W.dropdown,notForLp:!0,group:"general",filterable:!0},name:{label:"name",type:W.name,cantHaveRights:!0},commercial:{type:W.boolean},emails:{type:W.emails,group:"client",filterable:!0},homeCell:{type:W.phone,group:"client",filterable:!0},homePhone:{type:W.phone,group:"client",filterable:!0},photoUrl:{type:W.photo},locked:{type:W.boolean,group:"general",filterable:!0},archived:{type:W.boolean,group:"general",filterable:!0},newsletter:{type:W.dropdown,options:[{id:null,name:"null",translate:!0},{id:!0,name:"newsletterTrue",translate:!0},{id:!1,name:"newsletterFalse",translate:!0}],group:"general",filterable:!0},propertyMailingWanted:{type:W.boolean,group:"general",filterable:!0},clientSyncBrokerIds:{type:W.multiselect,dbOptions:"activeBrokers",group:"general",filterable:!0,filterName:"contact_sync_broker_ids"},brokerIds:{type:W.multiselect,dbOptions:"brokers",group:"supervisor",filterable:!0},departmentIds:{type:W.multiselect,dbOptions:"departments",group:"supervisor",filterable:({db:e})=>e.hasRight("rightToSeeAllClients")&&e.broker.departmentIds&&e.broker.departmentIds.length},homeAddress:{type:W.address,prefix:"home_"},homeUrl:{type:W.link},messageSalutation:{},locale:{type:W.dropdown,options:({db:e,t})=>n1(e).map(n=>({id:n,name:t(`locales.${n}`)})),group:"general",filterable:!0},warningNotice:{type:W.string},company:{type:W.string,group:"company",filterable:!0},position:{type:W.string,group:"company",filterable:!0},officeAddress:{type:W.address,prefix:"office_"},officeUrl:{type:W.link},officePhone:{type:W.phone},officeCell:{type:W.phone},homeFax:{type:W.string},officeFax:{type:W.string},secondBrokerId:{dbOptions:"activeBrokers",type:W.dropdown,group:"supervisor",filterable:!0,filterName:"second_broker",readonly:({db:e,record:t})=>t&&![t.brokerId,t.secondBrokerId].includes(e.broker.id)&&!e.hasRight("rightToChangeBroker")},clientSourceId:{dbOptions:"clientSources",type:W.dropdown,group:"general",filterable:!0,filterName:"source_id"},clientStatusId:{dbOptions:"clientStatuses",type:W.dropdown,group:"general",filterable:!0,filterName:"status_id",readonly:({db:e,record:t})=>t&&![t.brokerId,t.secondBrokerId].includes(e.broker.id)&&!e.hasRight("rightToChangeClientStatus")},groupIds:{options:({db:e})=>{const t=e.get("superGroups");return e.get("clientGroups").map(n=>{const i=t.find(r=>r.id==n.superGroupId);return{id:n.id,name:i?`${i.name}: ${n.name}`:n.name}}).sort((n,i)=>n.name>i.name?1:-1)},type:W.multiselect,group:"general",filterable:!0},mailchimpInterestIds:{options:({db:e})=>e.get("mailchimpInterests").map(t=>({id:t.identifier,name:t.name})).sort((t,n)=>t.name>n.name?1:-1),type:W.multiselect,group:"general",filterable:!0},description:{type:W.text,group:"general",filterable:!0},followupDate:{type:W.date,group:"general",filterable:!0},inquiryDepartmentId:{type:W.dropdown,group:"general",filterable:!0,dbOptions:"departmentsForUseInInquiryDistribution"},keepDataTill:{type:W.date,group:"gdpr",filterable:!0},clientReasonId:{type:W.dropdown,dbOptions:"clientReasons",group:"gdpr",filterable:!0},gdprStatus:{type:W.dropdown,options:[{id:0,name:"null",translate:!0},{id:1,name:"gdprStatus1",translate:!0},{id:2,name:"gdprStatus2",translate:!0},{id:3,name:"gdprStatus3",translate:!0}],group:"gdpr",filterable:!0},acceptContact:{type:W.boolean,group:"general",filterable:!0},rating:{type:W.dropdown,component:"RatingField",maxValue:3,group:"general",filterable:!0,options:[{id:0,name:"☆☆☆"},{id:1,name:"★☆☆"},{id:2,name:"★★☆"},{id:3,name:"★★★"}]},equity:{type:W.string},handoverDate:{type:W.string},income:{type:W.string},rentDate:{type:W.string},mvsigned:{type:W.boolean},hvsigned:{type:W.boolean},dob:{type:W.date,group:"gwg",filterable:!0}
12115,age:{component:"client-age"},birthName:{type:W.string},birthPlace:{type:W.string},birthCountry:{type:W.countryselect,group:"gwg",filterable:!0},passType:{type:W.dropdown,options:[{id:"ID_CARD",name:"passType1",translate:!0},{id:"PASSPORT",name:"passType2",translate:!0},{id:"OTHER",name:"passType3",translate:!0}]},identityNumber:{type:W.string},issuingAuthority:{type:W.string},taxIdentificationNumber:{type:W.string},nationality:{type:W.dropdown,options:Ne.sortBy(Object.entries(s1).map(([e,t])=>({id:e,name:t})),"name"),group:"gwg",filterable:!0},legalForm:{type:W.string},registerNumber:{type:W.string},conspicuity:{type:W.text},projectIds:{type:W.multiselect,dbOptions:"projects"},ownerships:{type:W.relationship,scope:oi.owner},partnerships:{type:W.relationship,scope:oi.partner},associates:{type:W.relationship,scope:oi.associate},children:{type:W.children,group:"general",filterable:!0,filterName:"children_name"},phoneNumbers:{type:W.phones},accessBrokerIds:{type:W.multiselect,dbOptions:"brokers"},accessDepartmentIds:{type:W.multiselect,dbOptions:"departments"},married:{type:W.boolean},matrimonialPropertyScheme:{type:W.string},spousesConsent:{type:W.boolean},bankName:{type:W.string},bankAccountOwner:{type:W.string},bankIban:{type:W.string},bankBic:{type:W.string},tipsterCommission:{component:"client-tipster-commission"}},d1=["ownerships","partnerships","associates","client_sync_broker_ids","translations","portals","logo_url"],ji={String:"string",Text:"text",Number:"number",Slider:"slider",Dropdown:"dropdown",Multiselect:"multiselect",Tags:"multiselect",TagsByCategory:"multiselect",Boolean:"boolean",Date:"date",DateTime:"datetime",CountrySelect:"countryselect",Broker:"broker"},c1={Number:"range",Dropdown:"multiselect",Multiselect:"multiselect",Boolean:"yesno"},u1={Number:"number",Dropdown:"dropdown",Multiselect:"multiselect",Boolean:"boolean"},p1=["client","property","project"],m1=e=>!!e&&p1.includes(e),h1=(e,t,n)=>!m1(t)||n===!0||typeof n=="function"&&n(e);function f1(e,t,n,i){return Ne.flatten(e.map(r=>r.customFields)).reduce((r,a)=>(r[n=="saved_query"?`cf_${a.name}`:ci(`cf_${a.name}`)]={label:a.title||a.prettyName,type:t[a.fieldType],unit:a.unit,formula:a.formula,isCustomField:!0,suppressCustomFieldIndicator:h1(a,n,i),options:b1(a),dbOptions:y1(a.fieldType),component:a.component},r),{})}function g1(e){switch(e){case"saved_query":return Ne.merge(ji,c1);case"client":return Ne.merge(ji,u1);default:return ji}}function y1(e){switch(e){case"Broker":return"brokers";case"Tags":return"superGroups";case"TagsByCategory":return"superGroups";default:return null}}function b1(e){switch(e.fieldType){case"Tags":return k1(e);case"TagsByCategory":return T1(e);default:return e.customOptions.map(t=>({condition:t.condition,id:t.id,name:t.title||t.name}))}}const v1={string:"string-field",date:"date-field",datetime:"datetime-field",dropdown:"dropdown",broker:"dropdown",multiselect:"list",emails:"email-list",number:"number-field",slider:"slider-field",boolean:"boolean-field",findriveTipsterBanner:"findrive-tipster-banner",address:"address-fields",relationship:"relationship-field",children:"children-field",name:"name-fields",link:"link-field",phone:"phone-field",photo:"photo-field",phones:"phone-numbers-field",text:"text-field",rating:"rating-field",richtext:"richtext-field",range:"range-field",yesno:"yes-no-field",tags:"list",countryselect:"dropdown",investmentunitstable:"investment-units-table",rentalunitstable:"rental-units-table"},I1={container:{label:"",component:"container"}},fi=(e,...t)=>Ne.isFunction(e)?e(...t):e,XP=(e,t)=>({...e,title:fi(e.title,t),hint:fi(e.hint,t)}),C1=e=>"detailViewGroups"in e;function S1(e,t,n,i,r,a,o,s,l,d,c,m){const p=C1(e)?e:{formFields:e,detailViewGroups:t||[],isCreateView:!!n,db:i,customFieldGroups:r||[],additionalParams:a,theme:o,record:s,submitAttempt:l,entity:d,expandFieldNamesForReadonly:c,shouldSuppressCustomFieldIndicator:m},h=Ne.merge(p.formFields,f1(p.customFieldGroups,g1(p.entity),p.entity,p.shouldSuppressCustomFieldIndicator),I1);return p.detailViewGroups.filter(T=>{const{readBrokerIds:C=[],readDepartmentIds:A=[]}=T,v=C.length>0||A.length>0,R=C.includes(p.db.broker.id),D=p.db.broker.departmentIds,O=Ne.intersection(A,D).length>0;return!v||R||O}).map(T=>
12115({...T,fields:T.detailViewFields.filter(C=>{var B,q,se,oe,G,x;if(p.isCreateView&&d1.includes(C.fieldName))return!1;const A=((B=C.readBrokerIds)==null?void 0:B.length)>0||((q=C.writeBrokerIds)==null?void 0:q.length)>0||((se=C.readDepartmentIds)==null?void 0:se.length)>0||((oe=C.writeDepartmentIds)==null?void 0:oe.length)>0,v=((G=C.readBrokerIds)==null?void 0:G.includes(to))||((x=C.readBrokerIds)==null?void 0:x.includes(p.db.broker.id)),R=p.db.broker.departmentIds,D=Ne.intersection(C.readDepartmentIds,R).length>0;if(A&&!v&&!D)return!1;const O=p.entity=="saved_query"?C.fieldName:ci(C.fieldName);return!!h[O]}).map(C=>{var q,se,oe,G,x,L;const A=((q=C.readBrokerIds)==null?void 0:q.length)>0||((se=C.writeBrokerIds)==null?void 0:se.length)>0||((oe=C.readDepartmentIds)==null?void 0:oe.length)>0||((G=C.writeDepartmentIds)==null?void 0:G.length)>0,v=((x=C.writeBrokerIds)==null?void 0:x.includes(to))||((L=C.writeBrokerIds)==null?void 0:L.includes(p.db.broker.id)),R=Ne.intersection(C.writeDepartmentIds,p.db.broker.departmentIds).length>0,D=p.entity=="saved_query"?C.fieldName:ci(C.fieldName),O=h[D],N=(typeof O.readonly=="function"?O.readonly({db:p.db,record:p.record}):O.readonly===!0)||A&&!v&&!R,B={...h,...p.expandFieldNamesForReadonly};return{fieldName:C.fieldName,hint:fi(C.hint??O.hint,p.db.shopData),theme:p.theme||"default",readonly:!C.editable&&p.expandFieldNamesForReadonly?p.record[pa(D)]||p.record[B[D]]:N,color:C.color,mandatory:C.mandatory,submitAttempt:p.submitAttempt,componentName:O.component||v1[(O.type||"string").toLowerCase()],detailViewField:C,formField:{...O,label:fi(C.title||O.label,p.db.shopData),additionalParams:p.additionalParams}}})}))}const _e=e=>e.map(t=>({...typeof t=="string"?{fieldName:t}:t,readBrokerIds:[],writeBrokerIds:[],readDepartmentIds:[],writeDepartmentIds:[]})),_1=(e,t,n)=>{const i=t[n].map(r=>({name:r.name,slot:"right",readBrokerIds:[],writeBrokerIds:[],readDepartmentIds:[],writeDepartmentIds:[],allowedMarketingType:null,allowedRsTypes:[],countries:[],clientGroupIds:[],detailViewFields:_e(r.customFields.map(a=>`cf_${a.name}`))}));return e.filter(r=>{var a;return((a=r.filter)==null?void 0:a.call(r,t))??!0}).map(r=>({...r,dealPipelineIds:typeof r.dealPipelineIds=="function"?r.dealPipelineIds(t):r.dealPipelineIds,detailViewFields:r.detailViewFields.filter(a=>{var o;return((o=a.filter)==null?void 0:o.call(a,t))??!0}).map(a=>({...a,dealPipelineIds:typeof a.dealPipelineIds=="function"?a.dealPipelineIds(t):a.dealPipelineIds}))})).concat(i)};function eA(e,t){const n=Ne.omitBy(e,(r,a)=>a=="skipDirty"||t.includes(a)||Ne.startsWith(a,"cf_")),i=Ne.pickBy(e,(r,a)=>Ne.startsWith(a,"cf_"));return n.partial_custom_fields=Ne.mapKeys(i,(r,a)=>a.replace("cf_","")),n}function k1(e){return({db:t})=>{const n=t.get("superGroups");return e.customOptions.map(i=>{const r=n.find(a=>a.id==i.groupId);return{id:i.id,name:r?`${r.name}: ${i.name}`:i.name}}).sort((i,r)=>i.name>r.name?1:-1)}}function T1(e){return({db:t})=>{let n=[];switch(e.entity){case"for_properties":n=t.get("propertyGroups");break;case"for_clients":n=t.get("clientGroups");break;case"for_tasks":n=t.get("activityGroups");break}return n.filter(i=>(e.tagsSuperCategoryIds||[]).includes(i.superGroupId)).map(i=>({id:i.id,name:i.name})).sort((i,r)=>i.name>r.name?1:-1)}}const tA=e=>({...Ne.mapKeys(e,(t,n)=>pa(n)),...Ne.mapKeys(e.customFields,(t,n)=>`cf_${n}`)}),w1="https://frontend-assets.propstack.de/vite/assets/mailchimp-vUMwuBcj.png",F1="data:image/svg+xml,%3csvg%20width='1000'%20height='295'%20viewBox='0%200%201000%20295'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M820.28%20182.338C820.28%20137.755%20848.604%20106.4%20888.892%20106.4C929.18%20106.4%20957.956%20137.737%20957.956%20182.338C957.956%20226.939%20929.187%20256.5%20888.892%20256.5C848.598%20256.5%20820.28%20225.588%20820.28%20182.338ZM778.224%20182.338C778.224%20248.12%20824.262%20294.479%20888.886%20294.479C953.51%20294.479%201000%20248.12%201000%20182.338C1000%20116.556%20953.962%2068.4399%20888.886%2068.4399C823.81%2068.4399%20778.224%20115.686%20778.224%20182.338ZM563.521%2071.0853L650.292%20291.821H691.025L777.791%2071.0853H733.966L671.104%20241.498H670.214L607.352%2071.0853H563.521ZM394.856%20174.383C397.508%20133.76%20424.515%20106.4%20461.261%20106.4C493.128%20106.4%20517.037%20126.712%20520.58%20157.179H447.089C420.973%20157.179%20406.801%20160.269%20396.191%20174.402H394.856V174.39V174.383ZM352.805%20181.006C352.805%20246.788%20399.289%20294.46%20463.468%20294.46C506.854%20294.46%20544.916%20272.391%20561.295%20237.502L525.885%20219.835C513.494%20242.792%20489.585%20256.482%20463.468%20256.482C432.028%20256.482%20403.704%20232.637%20403.704%20209.679C403.704%20197.766%20411.673%20192.457%20423.18%20192.457H563.502V180.544C563.502%20114.317%20521.007%2068.4029%20459.925%2068.4029C398.844%2068.4029%20352.799%20115.649%20352.799%20180.988M232.399%20291.796H272.242V156.285C272.242%20127.149%20290.382%20106.394%20315.627%20106.394C326.256%20106.394%20337.311%20109.927%20342.635%20114.774C346.623%20104.174%20352.818%2093.5923%20362.111%2082.9924C351.482%2074.1684%20333.342%2068.4153%20315.627%2068.4153C266.937%2068.4153%20232.399%20104.618%20232.399%20156.267V291.809V291.796ZM39.843%20145.698V37.9598H105.358C127.486%2037.9598%20142.103%2050.7611%20142.103%2070.185C142.103%2092.2542%20123.072%20109.033%2084.1191%20121.834C57.5571%20130.214%2045.6116%20137.281%2041.1785%20145.679L39.843%20145.692V145.698ZM39.843%20253.861V208.835C39.843%20188.967%2056.6668%20169.543%2080.1311%20162.032C100.943%20154.966%20118.193%20147.899%20132.81%20140.407C152.286%20151.895%20164.232%20171.744%20164.232%20192.5C164.232%20227.814%20130.584%20253.861%2084.9909%20253.861H39.843ZM0%20291.821H88.5337C155.829%20291.821%20206.282%20249.884%20206.282%20194.257C206.282%20163.79%20190.794%20136.43%20163.341%20118.763C177.513%20104.63%20184.153%2088.2955%20184.153%2068.4276C184.153%2027.3784%20154.493%200%20109.791%200H0V291.821Z'%20fill='%230B996E'/%3e%3c/svg%3e",P1="https://frontend-assets.propstack.de/vite/assets/smtp-mailings-trrqHzlY.png",A1="https://frontend-assets.propstack.de/vite/assets/mailgun-DpVSX6iE.png",$1="data:image/svg+xml,%3csvg%20width='150'%20height='150'%20viewBox='0%200%2096%2096'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3clinearGradient%20id='e399c19f-b68f-429d-b176-18c2117ff73c'%20x1='-1032.172'%20x2='-1059.213'%20y1='145.312'%20y2='65.426'%20gradientTransform='matrix(1%200%200%20-1%201075%20158)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23114a8b'/%3e%3cstop%20offset='1'%20stop-color='%230669bc'/%3e%3c/linearGradient%3e%3clinearGradient%20id='ac2a6fc2-ca48-4327-9a3c-d4dcc3256e15'%20x1='-1023.725'%20x2='-1029.98'%20y1='108.083'%20y2='105.968'%20gradientTransform='matrix(1%200%200%20-1%201075%20158)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-opacity='.3'/%3e%3cstop%20offset='.071'%20stop-opacity='.2'/%3e%3cstop%20offset='.321'%20stop-opacity='.1'/%3e%3cstop%20offset='.623'%20stop-opacity='.05'/%3e%3cstop%20offset='1'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='a7fee970-a784-4bb1-af8d-63d18e5f7db9'%20x1='-1027.165'%20x2='-997.482'%20y1='147.642'%20y2='68.561'%2
121150gradientTransform='matrix(1%200%200%20-1%201075%20158)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%233ccbf4'/%3e%3cstop%20offset='1'%20stop-color='%232892df'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20fill='url(%23e399c19f-b68f-429d-b176-18c2117ff73c)'%20d='M33.338%206.544h26.038l-27.03%2080.087a4.152%204.152%200%200%201-3.933%202.824H8.149a4.145%204.145%200%200%201-3.928-5.47L29.404%209.368a4.152%204.152%200%200%201%203.934-2.825z'/%3e%3cpath%20fill='%230078d4'%20d='M71.175%2060.261h-41.29a1.911%201.911%200%200%200-1.305%203.309l26.532%2024.764a4.171%204.171%200%200%200%202.846%201.121h23.38z'/%3e%3cpath%20fill='url(%23ac2a6fc2-ca48-4327-9a3c-d4dcc3256e15)'%20d='M33.338%206.544a4.118%204.118%200%200%200-3.943%202.879L4.252%2083.917a4.14%204.14%200%200%200%203.908%205.538h20.787a4.443%204.443%200%200%200%203.41-2.9l5.014-14.777%2017.91%2016.705a4.237%204.237%200%200%200%202.666.972H81.24L71.024%2060.261l-29.781.007L59.47%206.544z'/%3e%3cpath%20fill='url(%23a7fee970-a784-4bb1-af8d-63d18e5f7db9)'%20d='M66.595%209.364a4.145%204.145%200%200%200-3.928-2.82H33.648a4.146%204.146%200%200%201%203.928%202.82l25.184%2074.62a4.146%204.146%200%200%201-3.928%205.472h29.02a4.146%204.146%200%200%200%203.927-5.472z'/%3e%3c/svg%3e",R1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2023.0.6,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%201410.2%20530.1'%20style='enable-background:new%200%200%201410.2%20530.1;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23373737;}%20.st1{fill:%23009ADE;}%20.st2{fill:%23FFFFFF;}%20%3c/style%3e%3cg%3e%3crect%20x='-0.7'%20y='-0.3'%20class='st0'%20width='1411.5'%20height='530.6'/%3e%3cpath%20class='st1'%20d='M294.9,226.8c10.1-0.8,19.6-3,28.3-6.7c8.8-3.7,16-9.1,21.6-16.1c5.6-7,8.5-16.4,8.5-28.1%20c0-17.6-5.8-31-17.5-40.4c-11.6-9.4-25.1-14.1-40.2-14.1c-21,0-36.8,6.9-47.5,20.7c-10.7,13.8-15.8,31.3-15.4,52.3h-79.1%20c0.8-21,4.6-40.2,11.4-57.5c6.8-17.3,16.4-32.1,28.7-44.5c12.3-12.4,27-21.9,44.1-28.7c17.1-6.8,36.2-10.2,57.3-10.2%20c16.4,0,32.7,2.4,49.1,7.3c16.4,4.9,31.1,12.2,44.1,21.9c13.1,9.7,23.7,21.6,31.8,35.6c8.2,14,12.3,30.2,12.3,48.5%20c0,19.9-4.8,37.4-14.3,52.6c-9.5,15.2-23.7,25.5-42.7,31v1.2c22.5,5.1,40.2,16,53,32.7c12.8,16.8,19.2,36.8,19.2,60.2%20c0,21.4-4.2,40.5-12.6,57.3c-8.4,16.8-19.6,30.8-33.6,42.1c-14,11.3-30.2,19.9-48.5,25.7c-18.3,5.8-37.4,8.8-57.3,8.8%20c-23,0-44-3.3-62.9-9.9c-18.9-6.7-35-16.3-48.2-29c-13.3-12.7-23.5-28.2-30.7-46.5c-7.2-18.3-10.6-39.3-10.2-63.1h79.1%20c0.4,10.9,2.1,21.3,5.3,31.2c3.1,9.9,7.6,18.5,13.5,25.7c5.9,7.2,13.2,13,22,17.2c8.8,4.3,19.2,6.4,31.3,6.4%20c18.8,0,34.6-5.7,47.5-17.2c12.9-11.5,19.3-27.1,19.3-46.9c0-15.5-3.1-27.4-9.3-35.6c-6.2-8.2-14-14.1-23.3-17.8%20c-9.3-3.7-19.6-5.8-30.7-6.4c-11.1-0.6-21.7-0.9-31.8-0.9v-58.8C275.2,227.6,284.8,227.6,294.9,226.8'/%3e%3cpath%20class='st2'%20d='M688.2,106.5c46.2,0,92,18.7,125.6,51.3l9,8.7V96.3l-2.2-1.6c-38.4-27-80.8-40-129.5-40%20c-124.8,0-226.3,95.5-226.3,212.9c0,115.6,101.5,209.7,226.3,209.7c45.5,0,91.5-14.2,129.5-40l2.3-1.6v-70l-8.9,8.4%20c-34.8,32.7-80.2,51.4-124.6,51.4c-90.4,0-166.8-73.1-166.8-159.5C522.6,179.5,598.4,106.5,688.2,106.5'/%3e%3cpolygon%20class='st1'%20points='823.5,185.9%20823.5,349%20894.9,264.1%20'/%3e%3cpolygon%20class='st2'%20points='1255.6,474.5%201087.7,269.5%201255.6,65%201166.5,65%201043.4,215.3%20920.3,65%20831.3,65%20999.1,269.5%20831.2,474.5%20919.4,474.5%201043.4,323.4%201167.4,474.5%20'/%3e%3cpath%20class='st2'%20d='M1266.8,451.4c0-12.8,10.2-22.9,23.1-22.9c12.9,0,23.1,10.2,23.1,22.9c0,12.8-10.2,22.9-23.1,22.9%20C1277,474.3,1266.8,464.2,1266.8,451.4%20M1309.4,451.4c0-10.8-9-19.4-19.5-19.4c-10.5,0-19.5,8.6-19.5,19.4c0,10.8,9,19.4,19.5,19.4%20C1300.4,470.8,1309.4,462.2,1309.4,451.4%20M1300.8,463.8h-4.2l-7.5-11.6h-4.2v11.6h-3.5v-25.1h10.9c4.5,0,8.9,1.2,8.9,6.6%20c0,4.9-3.5,6.8-7.9,6.9L1300.8,463.8z%20M1289,448.7c3.1,0,8.6,0.6,8.6-3.4c0-2.6-3.4-3.1-6.1-3.1h-6.7v6.5H1289z'/%3e%3c/g%3e%3c/svg%3e",D1="https://frontend-assets.propstack.de/vite/assets/messagebird-CZtdswK1.png",N1="https://frontend-assets.propstack.de/vite/assets/easybill-Bt8uSaEZ.svg",O1="https://frontend-assets.propstack.de/vite/assets/invoicing-P6wPEaWo.png",E1="https://frontend-assets.propstack.de/vite/assets/docusign-BJpHe7Lo.png",M1="data:image/svg+xml,%3csvg%20id='Ebene_1'%20data-name='Ebene%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201000%20225'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%2300acff;}.cls-2{fill:%230083f6;}.cls-3{fill:%2308233b;}%3c/style%3e%3c/defs%3e%3cpolygon%20class='cls-1'%20points='142.94%203.23%20142.94%2079.06%2086.62%20104.17%201.57%2066.24%20142.94%203.23'/%3e%3cpolygon%20class='cls-2'%20points='142.94%20146.06%20142.94%20221.88%201.39%20158.79%201.39%2082.97%2062.42%20110.18%20142.94%20146.06'/%3e%3cpath%20class='cls-3'%20d='M257.67,53.93h44.64q21,0,33.57,11.07t12.58,29.37q0,19.3-13.5,30.88t-35.84,11.58H282v31.22H257.67ZM282,114.85h19.46q10.25,0,16.62-5.62t6.38-14.86a16.12,16.12,0,0,0-6.3-13.25q-6.29-5-16.7-5H282Z'/%3e%3cpath%20class='cls-3'%20d='M443.29,87.66v80.39H420v-4.7a41.24,41.24,0,0,1-22.83,6.38,38,38,0,0,1-28.36-12.17Q357,145.39,357,127.94q0-17.62,11.75-29.79A38,38,0,0,1,397.13,86,41.24,41.24,0,0,1,420,92.36v-4.7ZM401,149.92q11.92,0,19-9.23V115q-6.88-9.4-19-9.4a19.17,19.17,0,0,0-14.93,6.54,22.81,22.81,0,0,0-5.88,15.78,22.24,22.24,0,0,0,5.88,15.52A19.27,19.27,0,0,0,401,149.92Z'/%3e%3cpath%20class='cls-3'%20d='M509.91,86a37.73,37.73,0,0,1,28.28,12.17q11.65,12.16,11.66,29.79,0,17.46-11.66,29.62a37.73,37.73,0,0,1-28.28,12.17,41.21,41.21,0,0,1-22.82-6.38v43.47H463.76V87.66h23.33v4.7A41.21,41.21,0,0,1,509.91,86Zm-3.86,63.94a19.35,19.35,0,0,0,14.85-6.46,22.09,22.09,0,0,0,6-15.52,22.71,22.71,0,0,0-6-15.69,19.14,19.14,0,0,0-14.85-6.63q-12.07,0-19,9.4v25.67Q494.14,149.93,506.05,149.92Z'/%3e%3cpath%20class='cls-3'%20d='M644.67,126.26a74.88,74.88,0,0,1-.5,10.07H585.6q4.18,14.26,20.14,14.26,9.72,0,13.59-6h24.33A31.5,31.5,0,0,1,630,163q-10.5,6.88-24.76,6.88-19.12,0-31.13-11.91t-12-30q0-18.3,11.83-30.13T604.9,86Q622,86,633.34,97.23T644.67,126.26Zm-40.44-21.15q-15.11,0-19,14.94h36.25a17.19,17.19,0,0,0-5.54-11Q611.44,105.12,604.23,105.11Z'/%3e%3cpath%20class='cls-3'%20d='M683.1,87.66v9.06q11.25-10.39,28.2-10.4v22.15q-18.3.68-28.2,11.58v48H659.78V87.66Z'/%3e%3cpath%20class='cls-3'%20d='M741,48.89V168.05H725.56V48.89Z'/%3e%3cpath%20class='cls-3'%20d='M834.81,128.11a49.21,49.21,0,0,1-.33,6.71l-.34-.17v.17H770.7a27,27,0,0,0,8.56,15.94q6.88,6.21,17.79,6.21,13.94,0,19.13-9.73H832.8a30.24,30.24,0,0,1-13.18,16.61q-9.81,6.21-23.07,6.21-18.13,0-29.62-11.75T755.43,129q0-17.79,11.5-29.54t29.62-11.75q16.61,0,27.35,11.33T834.81,128.11Zm-38.93-27.19q-10.41,0-17,6.21a26.91,26.91,0,0,0-8.14,16.11h48.51Q818,113,811.82,107T795.88,100.92Z'/%3e%3cpath%20class='cls-3'%20d='M846.22,142.54l14.44.17q3,15.27,22.48,15.27,8.4,0,13.51-3.11t5.12-8.3q0-8.4-11.58-10.24l-17.45-3q-23.32-3.85-23.33-21.82a20.74,20.74,0,0,1,8.9-17.62q8.88-6.54,23.32-6.55a44.1,44.1,0,0,1,23.16,6.05q10.08,6,11.25,19.46l-14.27.17a13.4,13.4,0,0,0-6.21-10.15q-5.37-3.43-13.76-3.44-8.06,0-12.59,3t-4.53,7.72q0,8.22,13.26,10.57l15.1,2.52q23.51,4,23.5,22.15a2
121151.45,21.45,0,0,1-9.4,18.46q-9.39,6.72-24.5,6.72-15.27,0-25.09-6.89T846.22,142.54Z'/%3e%3cpath%20class='cls-3'%20d='M927.78,142.54l14.44.17q3,15.27,22.49,15.27,8.38,0,13.51-3.11t5.11-8.3q0-8.4-11.58-10.24l-17.45-3Q931,129.46,931,111.49a20.77,20.77,0,0,1,8.9-17.62q8.89-6.54,23.33-6.55a44.15,44.15,0,0,1,23.16,6.05q10.07,6,11.24,19.46l-14.27.17a13.4,13.4,0,0,0-6.21-10.15q-5.37-3.43-13.76-3.44-8.05,0-12.58,3t-4.53,7.72q0,8.22,13.25,10.57l15.11,2.52q23.49,4,23.49,22.15a21.46,21.46,0,0,1-9.39,18.46q-9.4,6.72-24.51,6.72-15.27,0-25.09-6.89T927.78,142.54Z'/%3e%3c/svg%3e",V1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2025.2.3,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20892.2%20171.8'%20style='enable-background:new%200%200%20892.2%20171.8;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23299CD8;}%20.st1{fill:%236AB32E;}%20.st2{fill:%23222529;}%20.st3{fill:%23010202;}%20.st4{fill:%23FFFFFF;}%20%3c/style%3e%3cg%3e%3cpath%20id='Pfad_2507_26_'%20class='st3'%20d='M73.7,147.4C33,147.4,0,114.4,0,73.7C0,33,33,0,73.7,0c40.7,0,73.7,33,73.7,73.7%20C147.3,114.4,114.4,147.3,73.7,147.4z%20M73.7,42.2c-17.4,0-31.5,14.1-31.5,31.5s14.1,31.5,31.5,31.5s31.5-14.1,31.5-31.5%20C105.2,56.3,91.1,42.2,73.7,42.2L73.7,42.2z'/%3e%3crect%20id='Rechteck_118_25_'%20y='73.7'%20class='st3'%20width='42.2'%20height='98.2'/%3e%3cpath%20id='Pfad_2508_25_'%20class='st3'%20d='M196.6,122.8V24.6h37.6c21.4,0,31.2,16.4,31.2,32.8c0,16.5-9.8,32.7-31.2,32.7h-15.6v32.8%20L196.6,122.8z%20M218.6,45.4v24.1h14.5c7.3,0,9.9-6.3,9.9-12.1s-2.6-12-9.9-12H218.6z'/%3e%3cpath%20id='Pfad_2509_25_'%20class='st3'%20d='M287.3,122.8V24.6h22.3V102h32.7v20.8H287.3z'/%3e%3cpath%20id='Pfad_2510_25_'%20class='st3'%20d='M424.1,100.1h-28.6l-7.6,22.5h-23.6l33.4-98h24l33.3,98h-23.3L424.1,100.1z%20M401.5,79.6h17%20l-8.8-32.3L401.5,79.6z'/%3e%3cpath%20id='Pfad_2511_25_'%20class='st3'%20d='M550.3,100.7c-7.8,13.4-22,21.6-37.5,21.8c-24.8,0-44.9-22-44.9-48.8%20c0-27.1,20.1-48.9,44.9-48.9c15.5,0.2,29.8,8.5,37.6,21.8c1.5-1.2-17.8,13.4-17.8,13.4c-4-7.3-11.5-11.9-19.8-12%20c-13.1,0-23.3,11.5-23.3,25.7s10.2,25.6,23.3,25.6c8.3-0.1,15.9-4.6,20-11.9L550.3,100.7z'/%3e%3cpath%20id='Pfad_2512_25_'%20class='st3'%20d='M574.7,122.8V24.6h59v20.8h-37v18.8h32.5v20.4h-32.5V102h36.9v20.8H574.7z'/%3e%3cpath%20id='Pfad_2513_25_'%20class='st3'%20d='M658.9,45.5V24.8h68.9v20.8h-23.5v77.3h-22V45.5H658.9z'/%3e%3cpath%20id='Pfad_2514_25_'%20class='st3'%20d='M753,122.8V24.6h59v20.8h-37v18.8h32.5v20.4H775V102h37v20.8H753z'/%3e%3cpath%20id='Pfad_2515_25_'%20class='st3'%20d='M837.2,122.8V24.6h22.3V102h32.7v20.8H837.2z'/%3e%3c/g%3e%3c/svg%3e",L1="https://frontend-assets.propstack.de/vite/assets/bottimmo-DUcYw0-Z.png",B1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Ebene_2'%20data-name='Ebene%202'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20824.82%20202.3'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20%231f497d;%20fill-rule:%20evenodd;%20}%20%3c/style%3e%3c/defs%3e%3cg%20id='blau'%3e%3cpath%20class='cls-1'%20d='m686.3.77l-5.22-.41c-46.53-3.7-90.43,22.23-92.27,23.33l-2.73,1.63v22.23h11.34v-15.82c9.56-5.14,42.78-21.45,77.54-20.5v36.32h11.34V.77h0Zm-5.22,201.17l5.22-.41v-45.88h-11.34v35.42c-34.73.96-67.98-15.37-77.54-20.51v-14.92h-11.34v21.33l2.73,1.64c1.72,1.03,40.1,23.69,83.06,23.69,3.05,0,6.13-.11,9.21-.36Zm5.23-133.13h-100.25v10.63h18.83v54.97h11.33v-54.97h39.28v54.97h11.33v-54.97h19.47s0-10.63,0-10.63Zm114.45,10.34h-17.98v19.03h17.97c7.02,0,10.39-3.88,10.39-9.51s-3.36-9.52-10.38-9.52Zm10.76,55.26l-13.48-25.87h-15.26v25.87h-11.33v-65.6h29.21c14.7,0,21.91,8.41,21.91,19.87,0,8.68-4.21,15.7-13.01,18.48l15.26,27.26h-13.3Zm-62.72,0h-46.71v-65.6h46.71v10.35h-35.39v16.82h33.79v10.35h-33.79v17.74h35.39v10.34Zm-178.52,0h-46.71v-65.6h46.71v10.35h-35.39v16.82h33.79v10.35h-33.79v17.74h35.39v10.34Zm-113.18,0h-11.14v-65.6h11.51l32.3,47.21v-47.21h11.14v65.6h-11.61l-32.2-47.12v47.12Zm-33.8.05h-10.2v-9.43c-4.12,6.38-11.98,10.53-22.28,10.53-19,0-32.58-13.77-32.58-34s13.86-34.09,33.23-34.09c16.1,0,28.55,9.14,31.65,24.11h-12.27c-2.43-8.59-9.83-13.4-19.38-13.4-13.29,0-21.25,9.24-21.25,23.38s8.15,23.93,21.25,23.93c11.33,0,19.47-5.91,20.88-16.73h-17.79v-10.16h28.74v35.86Zm-127.48-.05h-11.14v-65.6h11.51l32.3,47.21v-47.21h11.14v65.6h-11.61l-32.21-47.12v47.12h0Zm-33.79,0h-46.72v-65.6h46.72v10.35h-35.39v16.82h33.79v10.35h-33.79v17.74h35.39v10.34h0Zm-92.28-55.25h-17.97v19.03h17.97c7.02,0,10.39-3.88,10.39-9.52s-3.36-9.51-10.39-9.51Zm10.77,55.25l-13.48-25.87h-15.26v25.87h-11.32v-65.6h29.21c14.7,0,21.91,8.41,21.91,19.86,0,8.68-4.21,15.71-13.01,18.48l15.26,27.25s-13.31.01-13.31.01Zm-81.82-36.21c7.39,0,10.76-3.7,10.76-9.43s-3.37-9.61-10.76-9.61h-16.29v19.03h16.29Zm-16.29,36.21h-11.33v-65.6h27.52c15.82,0,22.28,8.78,22.28,19.95s-6.83,19.77-22.28,19.77h-16.19v25.88Zm-42.62-17.87c0-15.99-37.17-3.42-37.17-29.66,0-10.44,8.99-19.4,23.78-19.4,15.64,0,23.87,9.43,24.15,21.71h-11.14c-.1-6.47-4.49-11.
1211564-13.01-11.64-7.77,0-12.55,3.23-12.55,9.05,0,14.42,37.45,3.23,37.45,29.47,0,11.92-10.48,19.68-26.4,19.68-17.7,0-24.53-11.08-24.9-21.8h11.24c.47,7.03,5.24,11.74,14.23,11.74,9.08-.01,14.32-3.24,14.32-9.15Z'/%3e%3c/g%3e%3c/svg%3e",U1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='a'%20xmlns='http://www.w3.org/2000/svg'%20width='129.6186mm'%20height='30.6937mm'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20367.4228%2087.0059'%3e%3cdefs%3e%3cstyle%3e.c{fill:%2329235c;}.d{fill:url(%23b);}%3c/style%3e%3clinearGradient%20id='b'%20x1='1.2782'%20y1='88.9814'%20x2='62.6115'%20y2='24.9814'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23f39200'/%3e%3cstop%20offset='.4721'%20stop-color='%23e6342b'/%3e%3cstop%20offset='1'%20stop-color='%23951b81'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20class='d'%20d='m70.7444,17.9579L40.6793,1.0396c-2.0536-1.394-4.7083-1.3825-6.7377.0126L2.6527,18.0547C1.0225,19.1759.0495,21.0258.0495,23.0038v10.0849h12.0066v-6.3401l25.2881-13.4897,24.0371,13.4424v48.2979h-3.2562L21.8215,39.5229c-1.1336-1.1344-2.6415-1.7597-4.2463-1.7597H6.0033c-3.3101,0-6.0033,2.6929-6.0033,6.0027v43.2399h12.0066v-37.2366h3.099l36.3051,35.4797c1.1166,1.1163,2.6632,1.7569,4.2436,1.7569h11.7302c3.3096,0,6.0019-2.6929,6.0019-6.0033V22.9329c0-1.9945-.9876-3.8543-2.642-4.975Z'/%3e%3cpath%20class='c'%20d='m109.4601,30.7766h-15.399v35.0447h3.1421v-11.9511h12.2569c7.8993,0,11.4971-5.9853,11.4971-11.5463s-3.5978-11.5473-11.4971-11.5473Zm0,20.1984h-12.2569v-17.2541h12.2569c5.7662,0,8.3922,4.4722,8.3922,8.627,0,2.2649-.7458,4.3748-2.0997,5.9389-1.5214,1.759-3.6976,2.6882-6.2925,2.6882Z'/%3e%3cpath%20class='c'%20d='m152.9981,49.4435c1.9094-1.9261,2.9467-4.6486,2.9202-7.6654-.0483-5.2984-3.6976-11.0015-11.596-11.0015h-15.4487v35.0447h3.1421v-13.0872h9.0902l11.9511,13.0872h4.1534l-12.2054-13.2432c3.3027-.1049,6.0581-1.1826,7.9931-3.1347Zm-20.9823-15.7225h12.3066c2.4385,0,4.5075.7899,5.983,2.2835,1.4402,1.4573,2.2505,3.5431,2.2241,5.7235-.0524,5.1675-3.0725,8.0125-8.5036,8.0125h-12.01v-16.0195Z'/%3e%3cpath%20class='c'%20d='m179.5295,30.2336c-12.2068,0-17.6704,9.0485-17.6704,18.0162,0,8.7486,5.5295,18.1638,17.6704,18.1638,12.0731,0,17.6235-9.3641,17.6709-18.0644.0278-5.278-1.7618-9.999-5.0385-13.2933-3.1384-3.1542-7.5067-4.8222-12.6324-4.8222Zm0,33.2355c-9.9498,0-14.5316-7.865-14.578-15.172-.0269-4.476,1.4504-8.4423,4.1599-11.1686,2.5694-2.5842,6.1719-3.9506,10.4181-3.9506,10.1043,0,14.6272,7.5948,14.6272,15.121,0,7.3062-4.5771,15.1702-14.6272,15.1702Z'/%3e%3cpath%20class='c'%20d='m220.9098,30.7766h-15.399v35.0447h3.1421v-11.9511h12.2569c7.8993,0,11.4971-5.9853,11.4971-11.5463s-3.5978-11.5473-11.4971-11.5473Zm0,20.1984h-12.2569v-17.2541h12.2569c5.7662,0,8.3922,4.4722,8.3922,8.627,0,2.2649-.7458,4.3748-2.0997,5.9389-1.5214,1.759-3.6976,2.6882-6.2925,2.6882Z'/%3e%3cpath%20class='c'%20d='m262.4879,30.965h6.5185v34.6186h-4.0494v.0492l-18.1735-23.3591v23.3099h-6.519V31.0142h5.284l16.9394,21.433v-21.4822Z'/%3e%3cpath%20class='c'%20d='m311.918,48.4967c-.0984,8.938-5.5801,17.8769-17.7289,17.8769s-17.779-8.7412-17.779-17.8277,5.8275-18.2232,17.779-18.2232c11.9014,0,17.8277,9.1366,17.7289,18.174Zm-29.0877.1476c.1481,5.6799,3.2103,11.7543,11.3588,11.7543s11.2103-6.1245,11.3092-11.8035c.0984-5.8275-3.1606-12.3465-11.3092-12.3465s-11.5069,6.5682-11.3588,12.3957Z'/%3e%3cpath%20class='c'%20d='m354.978,65.5837h-5.5309l-4.2968-10.865-3.6545-10.9142-3.6053,11.0135-4.1975,10.7657h-5.5314l-12.6918-34.5694h7.3089l8.1485,24.939,8.3954-24.939h4.2472l8.6424,24.939,7.9016-24.939h7.3089l-12.4449,34.5694Z'/%3e%3c/svg%3e",q1="https://frontend-assets.propstack.de/vite/assets/deepl-BsDyxgM1.png",x1="https://frontend-assets.propstack.de/vite/assets/sipgate-kCbJGvZo.svg",z1="https://frontend-assets.propstack.de/vite/assets/taskreview-gmOXLLeY.png",G1="data:image/svg+xml,%3csvg%20width='310'%20height='97'%20viewBox='0%200%20310%2097'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M151.273%2055.7203H131.577V76.4582H123.073V27.5208H154.164V34.3774H131.577V48.9309H151.273V55.7203Z'%20fill='black'/%3e%3cpath%20d='M178.296%2047.5529C177.221%2047.3736%20176.111%2047.284%20174.969%2047.284C171.227%2047.284%20168.706%2048.7181%20167.406%2051.5862V76.4582H159.239V40.0913H167.036L167.238%2044.1582C169.21%2040.9988%20171.944%2039.4191%20175.439%2039.4191C176.604%2039.4191%20177.568%2039.5759%20178.33%2039.8896L178.296%2047.5529Z'%20fill='black'/%3e%3cpath%20d='M196.782%2064.7616L204.176%2040.0913H212.882L198.429%2081.9704C196.211%2088.0876%20192.446%2091.1461%20187.136%2091.1461C185.948%2091.1461%20184.637%2090.9445%20183.203%2090.5412V84.2223L184.749%2084.3231C186.811%2084.3231%20188.357%2083.9422%20189.388%2083.1804
12115C190.441%2082.4409%20191.27%2081.1861%20191.875%2079.416L193.051%2076.2902L180.279%2040.0913H189.085L196.782%2064.7616Z'%20fill='black'/%3e%3cpath%20d='M225.284%2040.0913L225.519%2043.8893C228.074%2040.9092%20231.569%2039.4191%20236.006%2039.4191C240.868%2039.4191%20244.196%2041.2789%20245.988%2044.9985C248.632%2041.2789%20252.352%2039.4191%20257.147%2039.4191C261.158%2039.4191%20264.138%2040.5282%20266.088%2042.7465C268.059%2044.9649%20269.068%2048.2363%20269.113%2052.5609V76.4582H260.945V52.7962C260.945%2050.4882%20260.441%2048.7965%20259.433%2047.7209C258.424%2046.6454%20256.755%2046.1076%20254.425%2046.1076C252.565%2046.1076%20251.041%2046.6118%20249.854%2047.6201C248.688%2048.606%20247.871%2049.9057%20247.4%2051.519L247.434%2076.4582H239.266V52.5273C239.154%2048.2475%20236.969%2046.1076%20232.712%2046.1076C229.441%2046.1076%20227.121%2047.4409%20225.755%2050.1073V76.4582H217.587V40.0913H225.284Z'%20fill='black'/%3e%3cpath%20d='M275.969%2057.9386C275.969%2054.3759%20276.675%2051.1717%20278.087%2048.3259C279.498%2045.4578%20281.481%2043.2619%20284.036%2041.7382C286.59%2040.1921%20289.526%2039.4191%20292.842%2039.4191C297.749%2039.4191%20301.726%2040.9988%20304.774%2044.1582C307.843%2047.3176%20309.502%2051.5078%20309.748%2056.7287L309.782%2058.6445C309.782%2062.2296%20309.087%2065.4339%20307.698%2068.2572C306.331%2071.0805%20304.359%2073.2652%20301.782%2074.8113C299.228%2076.3574%20296.27%2077.1304%20292.909%2077.1304C287.778%2077.1304%20283.666%2075.4275%20280.574%2072.0216C277.504%2068.5933%20275.969%2064.0334%20275.969%2058.342V57.9386ZM284.137%2058.6445C284.137%2062.3865%20284.91%2065.3218%20286.456%2067.4505C288.002%2069.5568%20290.153%2070.6099%20292.909%2070.6099C295.665%2070.6099%20297.805%2069.5344%20299.329%2067.3833C300.875%2065.2322%20301.648%2062.084%20301.648%2057.9386C301.648%2054.2639%20300.852%2051.3509%20299.261%2049.1998C297.693%2047.0487%20295.553%2045.9732%20292.842%2045.9732C290.175%2045.9732%20288.058%2047.0375%20286.489%2049.1662C284.921%2051.2725%20284.137%2054.4319%20284.137%2058.6445Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M50.3262%207.84568C48.558%206.36996%2045.9833%206.38444%2044.2318%207.87995L8.40501%2038.4705C7.35387%2039.368%206.74853%2040.6809%206.74853%2042.0631V85.2313C6.74853%2087.8403%208.86352%2089.9553%2011.4725%2089.9553H17.5462C20.1551%2089.9553%2022.2701%2087.8403%2022.2701%2085.2313V53.5132C22.2701%2047.1772%2027.4066%2042.0407%2033.7426%2042.0407H70.1847V48.7893H33.7426C31.1337%2048.7893%2029.0187%2050.9043%2029.0187%2053.5132V85.2313C29.0187%2091.5674%2023.8823%2096.7038%2017.5462%2096.7038H11.4725C5.13641%2096.7038%200%2091.5674%200%2085.2313V42.0631C0%2038.7063%201.47011%2035.518%204.02289%2033.3383L39.8497%202.74773C44.1033%20-0.884215%2050.3561%20-0.919381%2054.6503%202.66451L91.3702%2033.3104C93.982%2035.4902%2095.4917%2038.7166%2095.4917%2042.1184V85.2313C95.4917%2091.5674%2090.3553%2096.7038%2084.0192%2096.7038H56.6876V89.9553H84.0192C86.6282%2089.9553%2088.7431%2087.8403%2088.7431%2085.2313V42.1184C88.7431%2040.7177%2088.1215%2039.3891%2087.0461%2038.4916L50.3262%207.84568Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M59.3871%2071.0595H36.4421V64.3109H59.3871V71.0595Z'%20fill='%2300DBA0'/%3e%3c/svg%3e",j1="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='259'%20height='70'%20fill='none'%3e%3cpath%20fill='%23201515'%20d='m60.654%2047.966-.037-.115%2022.968-21.027V16.693H46.737v10.131h22.01l.036.097-22.744%2021.045v10.131h37.916v-10.13H60.654ZM106.577%2015.729c-4.25%200-7.714.64-10.391%201.923a13.637%2013.637%200%200%200-6.03%205.284%2019.238%2019.238%200%200%200-2.53%207.643l11.18%201.572c.405-2.383%201.214-4.071%202.427-5.066a7.408%207.408%200%200%201%204.805-1.486c2.269%200%203.915.606%204.938%201.82%201.014%201.213%201.529%202.893%201.529%205.108v1.104h-10.75c-5.472%200-9.403%201.213-11.794%203.64-2.39%202.426-3.583%205.63-3.579%209.61%200%204.076%201.193%207.11%203.58%209.1%202.386%201.989%205.387%202.978%209.002%202.966%204.485%200%207.936-1.543%2010.35-4.63a17.21%2017.21%200%200%200%202.991-6.375h.406l1.541%2010.131h10.131V32.417c0-5.302-1.397-9.409-4.192-12.32-2.794-2.913-7.333-4.369-13.614-4.369Zm3.544%2031.624c-1.608%201.341-3.713%202.008-6.334%202.008-2.16%200-3.66-.378-4.501-1.134a3.706%203.706%200%200%201-1.268-2.881%203.786%203.786%200%200%201%201.05-2.797%203.899%203.899%200%200%201%202.881-1.05h10.574v.698a6.439%206.439%200%200%201-2.402%205.157ZM185.643%2016.693h-11.969v41.41h11.969v-41.41ZM256.312%2016.693c-3.381%200-6.046%201.193-7.995%203.58-1.399%201.714-2.463%204.248-3.191%207.6h-.352l-1.565-11.18h-10.222v41.404h11.97V36.864c0-2.677.626-4.73%201.88-6.157%201.254-1.428%203.567-2.142%206.94-2.142h4.543V16.693h-2.008ZM221.108%2018.046c-2.794-1.662-6.319-2.491-10.573-2.487-6.698%200-11.94%201.906-15.725%205.72-3.786%203.814-5.678%209.072-5.678%2015.774a25.134%2025.134%200%200%200%202.578%2011.702%2018.584%2018.584%200%200%200%207.34%207.735c3.171%201.832%206.942%202.75%2011.315%202.754%203.781%200%206.94-.582%209.475-1.747a15.234%2015.234%200%200%200%206.031-4.763%2020.766%2020.766%200%200%200%203.275-6.77l-10.312-2.887a9.562%209.562%200%200%201-2.427%204.198c-1.165%201.164-3.117%201.747-5.854%201.747-3.256%200-5.683-.932-7.28-2.797-1.16-1.347-1.887-3.27-2.208-5.763h28.239c.116-1.165.176-2.142.176-2.93v-2.579a23%2023%200%200%200-2.092-10.046%2015.73%2015.73%200%200%200-6.28-6.861Zm-10.919%207.383c4.853%200%207.604%202.388%208.256%207.165h-17.168a9.85%209.85%200%200%201%201.923-4.375c1.573-1.864%203.903-2.794%206.989-2.79ZM179.789.004a6.72%206.72%200%200%200-4.896%201.88%206.502%206.502%200%200%200-1.923%204.854%206.5
1211576%206.576%200%200%200%201.926%204.891%206.576%206.576%200%200%200%204.893%201.921%206.475%206.475%200%200%200%204.853-1.923%206.665%206.665%200%200%200%201.875-4.89%206.428%206.428%200%200%200-1.876-4.846A6.437%206.437%200%200%200%20179.795.01l-.006-.006ZM155.062%2015.559c-4.077%200-7.353%201.28-9.828%203.84-1.833%201.896-3.177%204.728-4.034%208.493h-.382l-1.566-11.18H129.03V70h11.969V48.051h.437a22.323%2022.323%200%200%200%201.529%204.247%2012.047%2012.047%200%200%200%204.763%205.326%2013.984%2013.984%200%200%200%207.073%201.705c5.011%200%208.826-1.952%2011.447-5.854%202.621-3.903%203.932-9.349%203.932-16.338%200-6.75-1.269-12.034-3.804-15.852-2.536-3.817-6.307-5.726-11.314-5.726Zm1.213%2030.005c-1.396%202.022-3.579%203.033-6.552%203.033a7.723%207.723%200%200%201-6.418-2.93c-1.55-1.945-2.322-4.609-2.317-7.99v-.788c0-3.434.772-6.063%202.317-7.887%201.544-1.824%203.685-2.726%206.418-2.706%203.026%200%205.223.96%206.595%202.882%201.371%201.921%202.056%204.6%202.056%208.038.009%203.555-.687%206.338-2.087%208.348h-.012Z'/%3e%3cpath%20fill='%23FF4F00'%20d='M41.41%2047.966H0V58.11h41.41V47.966Z'/%3e%3c/svg%3e",H1="https://frontend-assets.propstack.de/vite/assets/propstack-promissionsplit-DKMJpnDa.png",W1="https://frontend-assets.propstack.de/vite/assets/wp-import-propstack-B8eUq_t-.svg",K1="https://frontend-assets.propstack.de/vite/assets/wp-immomakler-Dv1Mxxru.svg",Y1="https://frontend-assets.propstack.de/vite/assets/scout-localhero-BcGbHaJv.png",Q1="https://frontend-assets.propstack.de/vite/assets/scout-offmarket-2pfwKLsM.png",Z1="https://frontend-assets.propstack.de/vite/assets/scout-is-listed-only-BOfoRVY9.svg",J1="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Horizontal'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20731.34%20209.76'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23fffffd;}.cls-1,.cls-2,.cls-3{stroke-width:0px;}.cls-2{fill:%231d1d1b;}.cls-3{fill:%23c21950;}%3c/style%3e%3c/defs%3e%3cpath%20class='cls-2'%20d='M224.98,124.77h-30.29l-5.1,14.99h-12.49l24.49-69.97h16.99l24.29,69.97h-12.79l-5.1-14.99ZM221.18,113.67l-10.9-31.99h-1l-10.9,31.99h22.79Z'/%3e%3cpath%20class='cls-2'%20d='M249.47,87.38h11.7v7.7h.8c2-4.4,7.1-9,13.79-9h3.9v11.79h-5.2c-8.6,0-13.2,6.1-13.2,15.99v25.89h-11.79v-52.38Z'/%3e%3cpath%20class='cls-2'%20d='M284.05,113.67c0-16.49,12.09-27.59,26.19-27.59,15.99,0,25.69,11.6,25.69,27.19v3.3h-39.68c.1,8.8,5.8,14.39,14.39,14.39,5.8,0,11.3-3,13.2-8.8l10.79,2.6c-3.4,10.9-12.99,16.29-23.89,16.29-15.99,0-26.69-11.4-26.69-27.39ZM323.94,107.98c-.6-7.1-6.5-11.6-13.69-11.6s-13.2,5.3-13.89,11.6h27.59Z'/%3e%3cpath%20class='cls-2'%20d='M343.42,113.57c0-15.89,10.4-27.49,24.39-27.49,8.8,0,13.59,4.5,15.89,7.7h.9v-6.4h11.79v40.08c0,1.4.8,2.3,2.4,2.3h2.3v10h-8.9c-4.7,0-7.1-3.2-7.5-6.6h-.9c-2,3.2-6.6,7.9-15.69,7.9-14.09,0-24.69-11.6-24.69-27.49ZM384.81,113.67c0-10.4-6.7-16.29-14.69-16.29-8.4,0-14.69,6.6-14.69,16.29s6.5,15.99,14.79,15.99c8.9,0,14.59-7.1,14.59-15.99Z'/%3e%3cpath%20class='cls-2'%20d='M415.59,132.87h6.6v-56.18h-6.6v-6.9h29.19c13.29,0,21.19,7.7,21.19,17.89,0,6.9-3.3,12.09-8.9,15.09v.6c4.7,1.6,11.3,6.6,11.3,16.49,0,12.6-9.8,19.89-21.59,19.89h-31.19v-6.9ZM444.48,100.08c7.9,0,13.2-4.7,13.2-11.79s-5.4-11.3-12.9-11.3h-14.49v23.09h14.19ZM445.38,132.67c8.3,0,14.59-4,14.59-12.99s-7.4-12.79-15.49-12.79h-14.19v25.79h15.09Z'/%3e%3cpath%20class='cls-2'%20d='M476.36,120.47v-32.69h7.9v32.39c0,8.3,6.1,13.69,13.39,13.69,8.2,0,14.59-6.3,14.59-14.89v-31.19h7.9v51.98h-7.9v-7.6h-.6c-2.2,4.7-7.8,8.9-15.89,8.9-12.09,0-19.39-9.1-19.39-20.59Z'/%3e%3cpath%20class='cls-2'%20d='M536.93,124.97v-30.49h-9.8v-6.7h10.3v-15.09h7.4v15.09h15.99v6.7h-15.99v30.39c0,5.6,2.3,8,7.8,8h7.5v6.9h-7.4c-9.5,0-15.79-4.3-15.79-14.79Z'/%3e%3cpath%20class='cls-2'%20d='M567.81,132.97h10.5v-61.38h-10.5v-6.8h18.39v68.17h10.5v6.8h-28.89v-6.8Z'/%3e%3cpath%20class='cls-2'%20d='M599.2,113.97c0-16.59,11.4-27.49,25.19-27.49,15.69,0,24.69,11,24.69,26.59v2.9h-41.78c.1,11.6,6.9,18.09,17.69,18.09,7.3,0,13.99-4.2,15.69-11.4l7.7,1.8c-2.9,9.7-11.5,16.59-23.49,16.59-15.79,0-25.69-11.1-25.69-27.09ZM640.98,109.57c-.5-10.79-8-15.99-16.59-15.99s-16.29,6.2-16.89,15.99h33.49Z'/%3e%3cpath%20class='cls-2'%20d='M658.07,87.78h7.8v8.7h.6c1.5-4.4,6.6-10,14.19-10h3.4v7.9h-4.7c-9.5,0-13.39,7.7-13.39,17.59v27.79h-7.9v-51.98Z'/%3e%3cpath%20class='cls-1'%20d='M141.01,75.98c-4.97-7.87-9.66-15.31-9.66-34.57l-.54-3.76c-2.69-14.14-15.21-24.77-29.9-24.77-11.13,0-21.27,6.06-26.73,15.92l-2.07-.5c-9.66-2.3-19.97.69-27.03,7.96l-3.56,3.83,13.63,6.33c5.94,2.76,10.07,8.04,11.34,14.48l.75,3.83c.29,4.97-1.37,9.93-4.77,13.74h0c-3.03,3.61-5.56,7.63-7.5,11.98-2.76,6.21-4.29,13.09-4.29,20.32,0,41.29,45.79,82,47.74,83.7l2.49,2.19,2.49-2.19c1.95-1.71,47.75-42.41,47.75-83.7,0-18.76-5.15-26.91-10.12-34.8'/%3e%3cpath%20class='cls-3'%20d='M100.89,157.21c-8.98-9.19-26.82-29.9-26.82-49.34,0-14.79,12.03-26.82,26.82-26.82s26.82,12.03,26.82,26.82c0,19.44-17.84,40.15-26.82,49.34,6.96,0-2.55,0-2.55,0h2.55M76.2,32.47c-.06.13-.12.25-.17.37l-5.03-1.2c-8.49-2.03-17.42.57-23.49,6.83-.04.04-.08.08-.12.12l.07.03,8.93,4.15c7.36,3.42,12.11,10,13.55,17.3,6.29-2.47,10.75-8.54,10.86-15.68,0-.08.01-.17.01-.25,0-.08-.01-.15-.01-.23.14-10.99,9.08-19.86,20.1-19.86s20.12,9.01,20.12,20.12-8.66,19.74-19.47,20.09c-.21,0-.43-.02-.64-.02-25.86,0-46.82,20.96-46.82,46.82,0,40.36,46.82,81.49,46.82,81.49,0,0,46.82-41.13,46.82-81.49,0-36.46-19.93-29.83-19.93-69.89h-.08c-1-13.94-12.61-24.95-26.81-24.95-11.08,0-20.57,6.71-24.7,16.27'/%3e%3cpath%20class='cls-3'%20d='M89.31,107.55c0,6.4,5.18,11.58,11.58,11.58s11.58-5.18,11.58-11.58-5.19-11.58-11.58-11.58-11.58,5.18-11.58,11.58'/%3e%3cpath%20class='cls-3'%20d='M96.6,43.34c0,2.57,2.09,4.66,4.66,4.66s4.66-2.09,4.66-4.66-2.09-4.66-4.66-4.66-4.66,2.09-4.66,4.66'/%3e%3c/svg%3e",X1="https://frontend-assets.propstack.de/vite/assets/ogulo-wy4mGz50.png",ev="https://frontend-assets.propstack.de/vite/assets/sven-johns-ChjA1KcE.svg",tv="https://frontend-assets.propstack.de/vite/assets/justhome-logo-Db9u9YE7.svg",nv="https://frontend-assets.propstack.de/vite/assets/BaufiTeam_Logo-gswF-C3Q.svg",iv="data:image/svg+xml,%3csvg%20width='100'%20height='12'%20viewBox='0%200%20100%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2011.8115V0.158203H3.38633C5.27134%200.158203%207.28307%200.939664%207.28307%203.13092C7.30243%203.67478%207.16338%204.21687%206.88002%204.69208C6.65473%205.06873%206.34848%205.39082%205.98063%205.63547C7.23731%206.27789%207.8498%207.25647%207.8498%208.61875C7.8498%2010.6182%206.4048%2011.8115%203.9865%2011.8115H0ZM4.01994%2010.2838C5.49838%2010.2838%206.21824%209.71702%206.21824%208.54835C6.21824%207.26879%205.48782%206.61934%204.04458%206.61934H1.62452V10.2838H4.01994ZM3.38633%205.1321C4.04458%205.1321%205.57582%204.95433%205.57582%203.29989C5.57582%202.16114%204.90525%201.65424%203.40217%201.65424H1.62452V5.1321H3.38633Z'%20fill='%23252A2E'/%3e%3cpath%20d='M12.535%200.159421L13.4221%202.60941L18.2746%202.60941L19.1616%200.159422L20.9375%200.159422L16.474%2011.8145L15.2314%2011.8145L10.7345%200.159421L12.535%200.159421ZM13.9853%204.12657L15.8615%209.2571L17.7043%204.12657L13.9853%204.12657Z'%20fill='%23252A2E'/%3e%3cpath%20d='M29.0137%2011.9982C24.9973%2011.9982%2023.5664%208.9076%2023.5664%206.01584C23.5664%204.31212%2024.017%202.85128%2024.8688%201.78821C25.8087%200.617776%2027.2044%200%2028.9064%200C31.1751%200%2032.9246%201.11059%2033.831%203.1276L33.9049%203.29305L32.3684%203.93723L32.305%203.7665C31.7489%202.27574%2030.633%201.52068%2028.9873%201.52068C26.613%201.52068%2025.1962%203.20681%2025.1962%206.03168C25.1962%2010.0393%2027.824%2010.4723
12115%2028.9539%2010.4723C29.9659%2010.4723%2031.7453%2010.1854%2032.2839%208.26518L32.3385%208.07333L33.8785%208.72103L33.8152%208.8812C33.0126%2010.9211%2031.3511%2012%2029.0102%2012L29.0137%2011.9982Z'%20fill='%23252A2E'/%3e%3cpath%20d='M46.2609%2011.8132L40.0972%205.4401V11.8132H38.4375L38.441%200.158203H40.099V3.38085L42.7302%206.03148L46.6234%200.158203H48.6211L43.8531%207.15967L48.4328%2011.8132H46.2609Z'%20fill='%23252A2E'/%3e%3cpath%20d='M52.5135%2011.8132V0.158203H55.9016C57.7848%200.158203%2059.7965%200.939664%2059.7965%203.13092C59.8159%203.67478%2059.6769%204.21687%2059.3935%204.69208C59.1682%205.06873%2058.862%205.39082%2058.4941%205.63547C59.7561%206.28141%2060.3703%207.25999%2060.3703%208.62051C60.3703%2010.6199%2058.9253%2011.8132%2056.507%2011.8132H52.5117H52.5135ZM56.5334%2010.2838C58.0119%2010.2838%2058.7317%209.71702%2058.7317%208.54835C58.7317%207.26879%2058.0013%206.61934%2056.5598%206.61934H54.1398V10.2838H56.5352H56.5334ZM55.9016%205.1321C56.5598%205.1321%2058.0893%204.95433%2058.0893%203.29989C58.0893%202.16994%2057.3994%201.64544%2055.9156%201.64544H54.138V5.1321H55.9016Z'%20fill='%23252A2E'/%3e%3cpath%20d='M69.6877%2011.9824C66.4228%2011.9824%2064.3125%209.63098%2064.3125%205.9912C64.3125%202.35142%2066.4228%200%2069.6877%200C72.9526%200%2075.0857%202.35142%2075.0857%205.9912C75.0857%209.63098%2072.9666%2011.9824%2069.6877%2011.9824ZM69.6877%201.51892C66.9226%201.51892%2065.937%203.82986%2065.937%205.9912C65.937%208.15254%2066.9226%2010.4547%2069.6877%2010.4547C70.5765%2010.4547%2073.4806%2010.1326%2073.4806%205.9912C73.4806%203.82986%2072.4844%201.51892%2069.6877%201.51892Z'%20fill='%23252A2E'/%3e%3cpath%20d='M85.8044%2011.8132V2.42162L81.0963%2011.8132H78.9297V0.158203H80.5806V9.56037L85.2553%200.158203H87.4448V11.8132H85.8044Z'%20fill='%23252A2E'/%3e%3cpath%20d='M91.8438%2011.8132V0.158203H99.7112V1.67008H93.5017V5.28522H98.898V6.7003H93.5017V10.3647H99.7112V11.8132H91.8438Z'%20fill='%23252A2E'/%3e%3c/svg%3e",rv="https://frontend-assets.propstack.de/vite/assets/propstack-website-x1-4SpO9.png",av="https://frontend-assets.propstack.de/vite/assets/superchat-C5SvCtqO.png",ov="https://frontend-assets.propstack.de/vite/assets/juston-DjM4BzaJ.png",sv="https://frontend-assets.propstack.de/vite/assets/fincrm-JeWef5sV.svg",wo="https://frontend-assets.propstack.de/vite/assets/onpreo-BfXoYhV1.png",lv="data:image/svg+xml,%3csvg%20width='129'%20height='40'%20viewBox='0%200%20129%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.59031%2025.7438V0H0V30.3586H20.7716V25.7438H5.59031Z'%20fill='%23000000'/%3e%3cpath%20d='M35.7287%207.56641L29.2537%2025.1398H29.1589L21.8453%207.56641H15.8369L25.8023%2030.3589H27.5474C26.5484%2034.2587%2024.22%2035.8018%2021.7967%2035.8018C20.8175%2035.7802%2019.8459%2035.6255%2018.9092%2035.342V39.4007C20.141%2039.8065%2021.4318%2040.009%2022.73%2040.0001C27.2946%2040.0001%2029.5356%2037.6482%2032.0926%2030.8186L40.8426%207.56641H35.7287Z'%20fill='%23000000'/%3e%3cpath%20d='M60.6484%2018.9618C59.0199%2018.0398%2057.1557%2017.7172%2053.8963%2017.3922C51.1011%2017.1154%2048.9112%2016.8867%2047.7931%2016.516C46.4417%2016.0562%2046.2084%2015.1318%2046.2084%2014.164C46.2084%2012.2382%2048.2598%2010.9334%2051.8911%2010.9334C55.7119%2010.9334%2057.3428%2012.3634%2057.389%2015.3171H62.0922C62.0922%2010.1486%2058.9324%207.19727%2051.7501%207.19727C45.5084%207.19727%2041.0361%209.96568%2041.0361%2014.5324C41.0361%2016.2873%2041.7823%2017.9459%2043.0389%2018.8655C44.4365%2019.879%2046.8598%2020.3412%2050.4449%2020.6638C53.0067%2020.9045%2055.1966%2021.126%2056.3147%2021.54C57.53%2021.9565%2057.8533%2022.7437%2057.8533%2023.6176C57.8533%2025.6927%2055.989%2026.9878%2051.7501%2026.9878C47.2778%2026.9878%2045.7417%2025.3725%2045.7417%2022.7437H41.0361C41.0361%2027.2189%2043.8775%2030.7239%2051.7963%2030.7239C59.156%2030.7239%2063.0693%2028.0013%2063.0693%2023.3889C63.0644%2021.5449%2062.187%2019.7923%2060.6484%2018.9618Z'%20fill='%23000000'/%3e%3cpath%20d='M93.0231%207.19727C85.7095%207.19727%2081.0039%2011.7182%2081.0039%2019.0075C81.0039%2026.2512%2085.7095%2030.7264%2093.0231%2030.7264C100.383%2030.7264%2
121150105.086%2026.2512%20105.086%2019.0075C105.086%2011.7182%20100.383%207.19727%2093.0231%207.19727ZM93.0231%2026.4823C88.7817%2026.4823%2086.2175%2023.6224%2086.2175%2019.0075C86.2175%2014.3494%2088.7793%2011.4414%2093.0231%2011.4414C97.2668%2011.4414%2099.87%2014.3494%2099.87%2019.0075C99.87%2023.6224%2097.262%2026.4943%2093.0231%2026.4943V26.4823Z'%20fill='%23000000'/%3e%3cpath%20d='M126.326%2018.9618C124.695%2018.0398%20122.834%2017.7172%20119.572%2017.3922C116.779%2017.1058%20114.592%2016.8867%20113.469%2016.516C112.12%2016.0562%20111.886%2015.1318%20111.886%2014.164C111.886%2012.2382%20113.935%2010.9334%20117.569%2010.9334C121.39%2010.9334%20123.018%2012.3634%20123.065%2015.3171H127.77C127.77%2010.1486%20124.61%207.19727%20117.43%207.19727C111.186%207.19727%20106.717%209.96568%20106.717%2014.5324C106.717%2016.2873%20107.46%2017.9459%20108.719%2018.8655C110.117%2019.879%20112.538%2020.3412%20116.125%2020.6638C118.687%2020.9045%20120.877%2021.126%20121.995%2021.54C123.21%2021.9565%20123.531%2022.7437%20123.531%2023.6176C123.531%2025.6927%20121.669%2026.9878%20117.43%2026.9878C112.958%2026.9878%20111.42%2025.3725%20111.42%2022.7437H106.717C106.717%2027.2189%20109.558%2030.7239%20117.477%2030.7239C124.836%2030.7239%20128.75%2028.0013%20128.75%2023.3889C128.75%2021.5449%20127.862%2019.7923%20126.326%2018.9618Z'%20fill='%23000000'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M80.3527%207.56576V11.7641H72.4266V11.7859H67.2154V11.7641H63.5696V7.56576H66.5057C67.3904%207.56576%2067.7161%207.10596%2067.8571%205.81324L68.1002%202.39966H72.4339V7.56576H80.3527ZM67.2154%2015.5377V22.2383C67.2154%2027.2672%2069.6849%2030.6351%2075.9655%2030.6351C77.3827%2030.6523%2078.795%2030.4658%2080.1582%2030.0814V25.9745C79.0296%2026.2455%2077.8729%2026.3853%2076.7117%2026.391C73.5519%2026.391%2072.4266%2024.9129%2072.4266%2021.9615V12.2484L67.2154%2015.5377Z'%20fill='%23000000'/%3e%3c/svg%3e",dv="https://frontend-assets.propstack.de/vite/assets/itsmydata-CJ185rmP.png",he=e=>Object.values(e)[0],Fo={easybill:"invoicing",invoicing:"invoicing",onpreo:"onpreo",ps_onpreo:"onpreo"},nA=(e,t)=>{const n=Fo[e];return n?Object.entries(Fo).some(([i,r])=>i!==e&&r===n&&t(i)):!1},Fi={sprengnetter_documents:{settings:{route:"sprengnetter-documents",link:"https://www.sprengnetter.de"},views:[{type:"iFrame",route:"portfolio/properties/:id",url:"/extensions/sso/sprengnetter_documents",query:"PLZ={zipCode}&ORT={city}&STR={street}&HNR={houseNumber}"}]},areabutler:{settings:void 0,views:[{type:"iFrame",route:"portfolio/properties/:id",url:"/extensions/sso/areabutler"},{type:"propertyWriter",url:"/extensions/sso/areabutler"}]},justhome:{settings:{route:"extensions/justhome"},views:[{route:"portfolio/properties/:id",type:"sso_iframe",url:"/extensions/justhome"}]},findrive_tipster:{settings:{route:"extensions/findrive_tipster"},views:[{route:"portfolio/properties/:id",type:"sso_iframe",url:"/extensions/findrive_tipster"}]},backbone:{settings:{route:"backbone"},views:[]}},iA=Object.entries(Fi).reduce((e,[t,{views:n}])=>(n.forEach(i=>e[i.route]=(e[i.route]??[]).concat([t])),e),{}),rA=Object.entries(Fi).reduce((e,[t,{views:n}])=>(n.forEach(i=>{i.type==="iFrame"&&(e[i.route]=Object.assign(e[i.route]??{},{[t]:i}))}),e),{}),Al=Object.entries(Fi).reduce((e,[t,{views:n}])=>(n.forEach(i=>{i.type!=="iFrame"&&(e[i.type]=Object.assign(e[i.type]??{},{[t]:i}))}),e),{}),aA=Object.entries(Fi).reduce((e,[t,{settings:n}])=>(n&&(e[t]=n),e),{}),fe={mailchimp:he(Object.assign({"/assets/images/mailchimp.png":w1})),brevo:he(Object.assign({"/assets/images/brevo.svg":F1})),smtp_mailings:he(Object.assign({"/assets/images/smtp-mailings.png":P1})),mailgun:he(Object.assign({"/assets/images/mailgun.png":A1})),azure_communication_services:he(Object.assign({"/assets/images/azure-communication-services.svg":$1})),three_cx:he(Object.assign({"/assets/images/3cx.svg":R1})),messagebird:he(Object.assign({"/assets/images/messagebird.png":D1})),easybill:he(Object.assign({"/assets/images/extension/easybill.svg":N1})),invoicing:he(Object.assign({"/assets/images/extension/invoicing.png":O1})),docusign:he(Object.assign({"/assets/images/docusign.png":E1})),paperless:he(Object.assign({"/assets/images/extension/paperless.svg":M1})),placetel:he(Object.assign({"/assets/images/placetel.svg":V1})),bottimmo:he(Object.assign({"/assets/images/bottimmo.png":L1})),sprengnetter_documents:he(Object.assign({"/assets/images/sprengnetter.svg":B1})),propnow:he(Object.assign({"/assets/images/propnow.svg":U1})),deepl:he(Object.assign({"/assets/images/deepl.png":q1})),sipgate:he(Object.assign({"/assets/images/sipgate.svg":x1})),task_review:he(Object.assign({"/assets/images/taskreview.png":z1}
12115)),frymo:he(Object.assign({"/assets/images/frymo.svg":G1})),zapier:he(Object.assign({"/assets/images/zapier.svg":j1})),commissionsplit:he(Object.assign({"/assets/images/propstack-promissionsplit.png":H1})),wpimport:he(Object.assign({"/assets/images/wp-import-propstack.svg":W1})),wp_immomakler:he(Object.assign({"/assets/images/extension/wp-immomakler.svg":K1})),local_hero:he(Object.assign({"/assets/images/extension/scout-localhero.png":Y1})),offmarket:he(Object.assign({"/assets/images/extension/scout-offmarket.png":Q1})),is24_listed_only:he(Object.assign({"/assets/images/extension/scout-is-listed-only.svg":Z1})),areabutler:he(Object.assign({"/assets/images/extension/areabutler.svg":J1})),ogulo:he(Object.assign({"/assets/images/extension/ogulo.png":X1})),sample_contracts:he(Object.assign({"/assets/images/extension/sven-johns.svg":ev})),justhome:he(Object.assign({"/assets/images/extension/justhome/justhome-logo.svg":tv})),findrive_tipster:he(Object.assign({"/assets/images/extension/BaufiTeam_Logo.svg":nv})),backbone:he(Object.assign({"/assets/images/extension/backbone.svg":iv})),ps_website:he(Object.assign({"/assets/images/propstack-website.png":rv})),superchat:he(Object.assign({"/assets/images/superchat.png":av})),juston:he(Object.assign({"/assets/images/juston.png":ov})),fincrm:he(Object.assign({"/assets/images/extension/fincrm.svg":sv})),onpreo:he(Object.assign({"/assets/images/extension/onpreo.png":wo})),ps_onpreo:he(Object.assign({"/assets/images/extension/onpreo.png":wo})),lystos:he(Object.assign({"/assets/images/extension/lystos.svg":lv})),itsmydata:he(Object.assign({"/assets/images/extension/itsmydata.png":dv}))},oA=["email_communication","telephony","portals_marketing","documents_contracts","automation_finance","crm_data"],sA=e=>{const t={name:e("integrations.integration-easybill.name"),description:e("integrations.integration-easybill.description"),summary:e("integrations.integration-easybill.summary"),consentText:e("integrations.integration-easybill.consentText"),consentVersion:"1",imageUrl:fe.easybill,categoryId:"automation_finance"};return{mailchimp:{name:e("integrations.mailchimp.name"),summary:e("integrations.mailchimp.summary"),imageUrl:fe.mailchimp,categoryId:"email_communication"},brevo:{name:e("integrations.brevo.name"),summary:e("integrations.brevo.summary"),imageUrl:fe.brevo,categoryId:"email_communication"},smtp_mailings:{name:e("integrations.smtp_mailings.name"),summary:e("integrations.smtp_mailings.summary"),imageUrl:fe.smtp_mailings,categoryId:"email_communication"},mailgun:{name:e("integrations.mailgun.name"),summary:e("integrations.mailgun.summary"),imageUrl:fe.mailgun,categoryId:"email_communication"}
12115,azure_communication_services:{name:e("integrations.azure_communication_services.name"),summary:e("integrations.azure_communication_services.summary"),imageUrl:fe.azure_communication_services,categoryId:"email_communication"},three_cx:{name:e("integrations.three_cx.name"),summary:e("integrations.three_cx.summary"),imageUrl:fe.three_cx,categoryId:"telephony"},messagebird:{name:e("integrations.messagebird.name"),summary:e("integrations.messagebird.summary"),imageUrl:fe.messagebird,categoryId:"email_communication"},docusign:{name:e("integrations.docusign.name"),summary:e("integrations.docusign.summary"),imageUrl:fe.docusign,categoryId:"documents_contracts"},easybill:t,paperless:{name:e("integrations.paperless.name"),summary:e("integrations.paperless.summary"),imageUrl:fe.paperless,categoryId:"documents_contracts"},placetel:{name:e("integrations.placetel.name"),summary:e("integrations.placetel.summary"),imageUrl:fe.placetel,categoryId:"telephony"},bottimmo:{name:e("integrations.bottimmo.name"),summary:e("integrations.bottimmo.summary"),imageUrl:fe.bottimmo,categoryId:"automation_finance"},sprengnetter_documents:{name:e("integrations.sprengnetter_documents.name"),summary:e("integrations.sprengnetter_documents.summary"),imageUrl:fe.sprengnetter_documents,categoryId:"portals_marketing"},propnow:{name:e("integrations.propnow.name"),summary:e("integrations.propnow.summary"),imageUrl:fe.propnow,categoryId:"portals_marketing"},deepl:{name:e("integrations.deepl.name"),summary:e("integrations.deepl.summary"),imageUrl:fe.deepl,categoryId:"documents_contracts"},sipgate:{name:e("integrations.sipgate.name"),summary:e("integrations.sipgate.summary"),imageUrl:fe.sipgate,categoryId:"telephony"},task_review:{name:e("integrations.task_review.name"),summary:e("integrations.task_review.summary"),imageUrl:fe.task_review,categoryId:"automation_finance"},frymo:{name:e("integrations.frymo.name"),summary:e("integrations.frymo.summary"),imageUrl:fe.frymo,categoryId:"portals_marketing"},zapier:{name:e("integrations.zapier.name"),summary:e("integrations.zapier.summary"),imageUrl:fe.zapier,categoryId:"automation_finance"},commissionsplit:{name:e("integrations.commissionsplit.name"),summary:e("integrations.commissionsplit.summary"),imageUrl:fe.commissionsplit,categoryId:"automation_finance"},invoicing:{name:e("integrations.invoicing.name"),summary:e("integrations.invoicing.summary"),imageUrl:fe.invoicing,categoryId:"automation_finance"},wpimport:{name:e("integrations.wpimport.name"),summary:e("integrations.wpimport.summary"),imageUrl:fe.wpimport,categoryId:"portals_marketing"},wp_immomakler:{name:e("integrations.wp_immomakler.name"),summary:e("integrations.wp_immomakler.summary"),imageUrl:fe.wp_immomakler,categoryId:"portals_marketing"},local_hero:{name:e("integrations.local_hero.name"),summary:e("integrations.local_hero.summary"),imageUrl:fe.local_hero,categoryId:"portals_marketing"},offmarket:{name:e("integrations.offmarket.name"),summary:e("integrations.offmarket.summary"),imageUrl:fe.offmarket,categoryId:"portals_marketing"},is24_listed_only:{name:e("integrations.is24_listed_only.name"),summary:e("integrations.is24_listed_only.summary"),imageUrl:fe.is24_listed_only,categoryId:"portals_marketing"},areabutler:{name:e("integrations.areabutler.name"),summary:e("integrations.areabutler.summary"),imageUrl:fe.areabutler,categoryId:"portals_marketing"},ogulo:{name:e("integrations.ogulo.name"),summary:e("integrations.ogulo.summary"),imageUrl:fe.ogulo,categoryId:"portals_marketing",featured:!0},sample_contracts:{name:e("integrations.sample_contracts.name"),summary:e("integrations.sample_contracts.summary"),imageUrl:fe.sample_contracts,categoryId:"documents_contracts"},justhome:{name:e("integrations.justhome.name"),summary:e("integrations.justhome.summary"),imageUrl:fe.justhome,categoryId:"automation_finance"},findrive_tipster:{name:e("integrations.findriveTipster.name"),summary:e("integrations.findriveTipster.summary"),imageUrl:fe.findrive_tipster,categoryId:"automation_finance",featured:!0},superchat:{name:e("integrations.superchat.name"),summary:e("integrations.superchat.summary"),imageUrl:fe.superchat,categoryId:"email_communication"},juston:{name:e("integrations.juston.name"),summary:e("integrations.juston.summary"),imageUrl:fe.juston,categoryId:"automation_finance"},ps_website:{name:e("integrations.ps_website.name"),summary:e("integrations.ps_website.summary"),imageUrl:fe.ps_website,categoryId:"portals_marketing"},fincrm:{name:e("integrations.fincrm.name"),summary:e("integrations.fincrm.summary"),imageUrl:fe.fincrm,categoryId:"automation_finance"},onpreo:{name:e("integrations.onpreo.name"),summary:e("integrations.onpreo.summary"),imageUrl:fe.onpreo,categoryId:"crm_data"},ps_onpreo:{name:"onpreo Propstack Edition",summary:"Planbare Ob
12115jektakquise direkt in Propstack – mit Leadquellen, automatisierten Follow-ups und klarer Pipeline.",imageUrl:fe.ps_onpreo,categoryId:"crm_data"},lystos:{name:e("integrations.lystos.name"),summary:e("integrations.lystos.summary"),imageUrl:fe.lystos,categoryId:"automation_finance"},itsmydata:{name:e("integrations.itsmydata.name"),summary:e("integrations.itsmydata.summary"),imageUrl:fe.itsmydata,categoryId:"documents_contracts"},backbone:{name:"Backbone",summary:e("integrations.backbone.summary"),imageUrl:fe.backbone,categoryId:"portals_marketing"}}},Et={integrations:{all:()=>["integrations"],extensionMetadata:()=>[...Et.integrations.all(),"extension-metadata"],quota:e=>[...Et.integrations.all(),"quota",e]},memberships:{all:()=>["memberships"],byMembership:e=>[...Et.memberships.all(),e]},orders:{all:()=>["orders"],byIntegration:e=>[...Et.orders.all(),e],byIntegrationWithParams:(e,t)=>[...Et.orders.byIntegration(e),t],byIntegrationByEntityId:(e,t)=>[...Et.orders.byIntegration(e),t]},oauth2:{all:()=>["oauth2"],byPortalId:e=>[...Et.oauth2.all(),e??"__UNKNOWN__"]}};var Po=$l;function $l(){var e=[].slice.call(arguments),t=!1;typeof e[0]=="boolean"&&(t=e.shift());var n=e[0];if(Ao(n))throw new Error("extendee must be an object");for(var i=e.slice(1),r=i.length,a=0;a<r;a++){var o=i[a];for(var s in o)if(Object.prototype.hasOwnProperty.call(o,s)){var l=o[s];if(t&&cv(l)){var d=Array.isArray(l)?[]:{};n[s]=$l(!0,Object.prototype.hasOwnProperty.call(n,s)&&!Ao(n[s])?n[s]:d,l)}else n[s]=l}}return n}function cv(e){return Array.isArray(e)||{}.toString.call(e)=="[object Object]"}function Ao(e){return!e||typeof e!="object"&&typeof e!="function"}function uv(e){return e&&e.__esModule?e.default:e}class $o{on(t,n){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(n),this}emit(t,...n){this._callbacks=this._callbacks||{};let i=this._callbacks[t];if(i)for(let r of i)r.apply(this,n);return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+t,{args:n})),this}makeEvent(t,n){let i={bubbles:!0,cancelable:!0,detail:n};if(typeof window.CustomEvent=="function")return new CustomEvent(t,i);var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,i.bubbles,i.cancelable,i.detail),r}off(t,n){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;let i=this._callbacks[t];if(!i)return this;if(arguments.length===1)return delete this._callbacks[t],this;for(let r=0;r<i.length;r++)if(i[r]===n){i.splice(r,1);break}return this}}var Rl={};Rl=`<div class="dz-preview dz-file-preview">
12116  <div class="dz-image"><img data-dz-thumbnail=""></div>
12117  <div class="dz-details">
12118    <div class="dz-size"><span data-dz-size=""></span></div>
12119    <div class="dz-filename"><span data-dz-name=""></span></div>
12120  </div>
12121  <div class="dz-progress">
12122    <span class="dz-upload" data-dz-uploadprogress=""></span>
12123  </div>
12124  <div class="dz-error-message"><span data-dz-errormessage=""></span></div>
12125  <div class="dz-success-mark">
12126    <svg width="54" height="54" viewBox="0 0 54 54" fill="white" xmlns="http://www.w3.org/2000/svg">
12127      <path d="M10.2071 29.7929L14.2929 25.7071C14.6834 25.3166 15.3166 25.3166 15.7071 25.7071L21.2929 31.2929C21.6834 31.6834 22.3166 31.6834 22.7071 31.2929L38.2929 15.7071C38.6834 15.3166 39.3166 15.3166 39.7071 15.7071L43.7929 19.7929C44.1834 20.1834 44.1834 20.8166 43.7929 21.2071L22.7071 42.2929C22.3166 42.6834 21.6834 42.6834 21.2929 42.2929L10.2071 31.2071C9.81658 30.8166 9.81658 30.1834 10.2071 29.7929Z"></path>
12128    </svg>
12129  </div>
12130  <div class="dz-error-mark">
12131    <svg width="54" height="54" viewBox="0 0 54 54" fill="white" xmlns="http://www.w3.org/2000/svg">
12132      <path d="M26.2929 20.2929L19.2071 13.2071C18.8166 12.8166 18.1834 12.8166 17.7929 13.2071L13.2071 17.7929C12.8166 18.1834 12.8166 18.8166 13.2071 19.2071L20.2929 26.2929C20.6834 26.6834 20.6834 27.3166 20.2929 27.7071L13.2071 34.7929C12.8166 35.1834 12.8166 35.8166 13.2071 36.2071L17.7929 40.7929C18.1834 41.1834 18.8166 41.1834 19.2071 40.7929L26.2929 33.7071C26.6834 33.3166 27.3166 33.3166 27.7071 33.7071L34.7929 40.7929C35.1834 41.1834 35.8166 41.1834 36.2071 40.7929L40.7929 36.2071C41.1834 35.8166 41.1834 35.1834 40.7929 34.7929L33.7071 27.7071C33.3166 27.3166 33.3166 26.6834 33.7071 26.2929L40.7929 19.2071C41.1834 18.8166 41.1834 18.1834 40.7929 17.7929L36.2071 13.2071C35.8166 12.8166 35.1834 12.8166 34.7929 13.2071L27.7071 20.2929C27.3166 20.6834 26.6834 20.6834 26.2929 20.2929Z"></path>
12133    </svg>
12134  </div>
12135</div>
12136`;let pv={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,
vendor: 5,733 bytes, line 12136
12136chunkSize:2097152,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,defaultHeaders:!0,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init(){},params(e,t,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept(e,t){return t()},chunksUploaded:function(e,t){t()},binaryBody:!1,fallback(){let e;this.element.className=`${this.element.className} dz-browser-not-supported`;for(let n of this.element.getElementsByTagName("div"))if(/(^| )dz-message($| )/.test(n.className)){e=n,n.className="dz-message";break}e||(e=j.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(e));let t=e.getElementsByTagName("span")[0];return t&&(t.textContent!=null?t.textContent=this.options.dictFallbackMessage:t.innerText!=null&&(t.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize(e,t,n,i){let r={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},a=e.width/e.height;t==null&&n==null?(t=r.srcWidth,n=r.srcHeight):t==null?t=n*a:n==null&&(n=t/a),t=Math.min(t,r.srcWidth),n=Math.min(n,r.srcHeight);let o=t/n;if(r.srcWidth>t||r.srcHeight>n)if(i==="crop")a>o?(r.srcHeight=e.height,r.srcWidth=r.srcHeight*o):(r.srcWidth=e.width,r.srcHeight=r.srcWidth/o);else if(i==="contain")a>o?n=t/a:t=n*a;else throw new Error(`Unknown resizeMethod '${i}'`);return r.srcX=(e.width-r.srcWidth)/2,r.srcY=(e.height-r.srcHeight)/2,r.trgWidth=t,r.trgHeight=n,r},transformFile(e,t){return(this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)?this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t):t(e)},previewTemplate:uv(Rl),drop(e){return this.element.classList.remove("dz-drag-hover")},dragstart(e){},dragend(e){return this.element.classList.remove("dz-drag-hover")},dragenter(e){return this.element.classList.add("dz-drag-hover")},dragover(e){return this.element.classList.add("dz-drag-hover")},dragleave(e){return this.element.classList.remove("dz-drag-hover")},paste(e){},reset(){return this.element.classList.remove("dz-started")},addedfile(e){if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){e.previewElement=j.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement);for(var t of e.previewElement.querySelectorAll("[data-dz-name]"))t.textContent=e.name;for(t of e.previewElement.querySelectorAll("[data-dz-size]"))t.innerHTML=this.filesize(e.size);this.options.addRemoveLinks&&(e._removeLink=j.createElement(`<a class="dz-remove" href="javascript:undefined;" data-dz-remove>${this.options.dictRemoveFile}</a>`),e.previewElement.appendChild(e._removeLink));let n=i=>(i.preventDefault(),i.stopPropagation(),e.status===j.UPLOADING?j.confirm(this.options.dictCancelUploadConfirmation,()=>this.removeFile(e)):this.options.dictRemoveFileConfirmation?j.confirm(this.options.dictRemoveFileConfirmation,()=>this.removeFile(e)):this.removeFile(e));for(let i of e.previewElement.querySelectorAll("[data-dz-remove]"))i.addEventListener("click",n)}},removedfile(e){return e.previewElement!=null&&e.previewElement.parentNode!=null&&e.previewElement.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");for(let n of e.previewElement.querySelectorAll("[data-dz-thumbnail]"))n.alt=e.name,n.src=t;return setTimeout(()=>e.previewElement.classList.add("dz-image-preview"),1)}},error(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error"),typeof t!="string"&&t.error&&(t=t.error);for(let n of e.previewElement.querySelectorAll("[data-dz-errormessage]"))n.textContent=t}},errormultiple(){},processing(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple(){},uploadprogress(e,t,n){if(e.previewElement)for(let i of e.previewElement.querySelectorAll("[data-dz-uploadprogress]"))i.nodeName==="PROGRESS"?i.value=t:i.style.width=`${t}%`},totaluploadprogress(){},sending(){},sendingmultiple(){},success(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple(){}
12136,canceled(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple(){},complete(e){if(e._removeLink&&(e._removeLink.innerHTML=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple(){},maxfilesexceeded(){},maxfilesreached(){},queuecomplete(){},addedfiles(){}};var mv=pv;class j extends $o{static initClass(){this.prototype.Emitter=$o,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}getAcceptedFiles(){return this.files.filter(t=>t.accepted).map(t=>t)}getRejectedFiles(){return this.files.filter(t=>!t.accepted).map(t=>t)}getFilesWithStatus(t){return this.files.filter(n=>n.status===t).map(n=>n)}getQueuedFiles(){return this.getFilesWithStatus(j.QUEUED)}getUploadingFiles(){return this.getFilesWithStatus(j.UPLOADING)}getAddedFiles(){return this.getFilesWithStatus(j.ADDED)}getActiveFiles(){return this.files.filter(t=>t.status===j.UPLOADING||t.status===j.QUEUED).map(t=>t)}init(){if(this.element.tagName==="form"&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(j.createElement(`<div class="dz-default dz-message"><button class="dz-button" type="button">${this.options.dictDefaultMessage}</button></div>`)),this.clickableElements.length){let i=()=>{this.hiddenFileInput&&this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=document.createElement("input"),this.hiddenFileInput.setAttribute("type","file"),(this.options.maxFiles===null||this.options.maxFiles>1)&&this.hiddenFileInput.setAttribute("multiple","multiple"),this.hiddenFileInput.className="dz-hidden-input",this.options.acceptedFiles!==null&&this.hiddenFileInput.setAttribute("accept",this.options.acceptedFiles),this.options.capture!==null&&this.hiddenFileInput.setAttribute("capture",this.options.capture),this.hiddenFileInput.setAttribute("tabindex","-1"),this.hiddenFileInput.style.visibility="hidden",this.hiddenFileInput.style.position="absolute",this.hiddenFileInput.style.top="0",this.hiddenFileInput.style.left="0",this.hiddenFileInput.style.height="0",this.hiddenFileInput.style.width="0",j.getElement(this.options.hiddenInputContainer,"hiddenInputContainer").appendChild(this.hiddenFileInput),this.hiddenFileInput.addEventListener("change",()=>{let{files:r}=this.hiddenFileInput;if(r.length)for(let a of r)this.addFile(a);this.emit("addedfiles",r),i()})};i()}this.URL=window.URL!==null?window.URL:window.webkitURL;for(let i of this.events)this.on(i,this.options[i]);this.on("uploadprogress",()=>this.updateTotalUploadProgress()),this.on("removedfile",()=>this.updateTotalUploadProgress()),this.on("canceled",i=>
12136this.emit("complete",i)),this.on("complete",i=>{if(this.getAddedFiles().length===0&&this.getUploadingFiles().length===0&&this.getQueuedFiles().length===0)return setTimeout(()=>this.emit("queuecomplete"),0)});const t=function(i){if(i.dataTransfer.types){for(var r=0;r<i.dataTransfer.types.length;r++)if(i.dataTransfer.types[r]==="Files")return!0}return!1};let n=function(i){if(t(i))return i.stopPropagation(),i.preventDefault?i.preventDefault():i.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:i=>this.emit("dragstart",i),dragenter:i=>(n(i),this.emit("dragenter",i)),dragover:i=>{let r;try{r=i.dataTransfer.effectAllowed}catch{}return i.dataTransfer.dropEffect=r==="move"||r==="linkMove"?"move":"copy",n(i),this.emit("dragover",i)},dragleave:i=>this.emit("dragleave",i),drop:i=>(n(i),this.drop(i)),dragend:i=>this.emit("dragend",i)}}],this.clickableElements.forEach(i=>this.listeners.push({element:i,events:{click:r=>((i!==this.element||r.target===this.element||j.elementInside(r.target,this.element.querySelector(".dz-message")))&&this.hiddenFileInput.click(),!0)}})),this.enable(),this.options.init.call(this)}destroy(){return this.disable(),this.removeAllFiles(!0),this.hiddenFileInput!=null&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,j.instances.splice(j.instances.indexOf(this),1)}updateTotalUploadProgress(){let t,n=0,i=0;if(this.getActiveFiles().length){for(let a of this.getActiveFiles())n+=a.upload.bytesSent,i+=a.upload.total;t=100*n/i}else t=100;return this.emit("totaluploadprogress",t,i,n)}_getParamName(t){return typeof this.options.paramName=="function"?this.options.paramName(t):`${this.options.paramName}${this.options.uploadMultiple?`[${t}]`:""}`}_renameFile(t){return typeof this.options.renameFile!="function"?t.name:this.options.renameFile(t)}getFallbackForm(){let t,n;if(t=this.getExistingFallback())return t;let i='<div class="dz-fallback">';this.options.dictFallbackText&&(i+=`<p>${this.options.dictFallbackText}</p>`),i+=`<input type="file" name="${this._getParamName(0)}" ${this.options.uploadMultiple?'multiple="multiple"':void 0} /><input type="submit" value="Upload!"></div>`;let r=j.createElement(i);return this.element.tagName!=="FORM"?(n=j.createElement(`<form action="${this.options.url}" enctype="multipart/form-data" method="${this.options.method}"></form>`),n.appendChild(r)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),n??r}getExistingFallback(){let t=function(i){for(let r of i)if(/(^| )fallback($| )/.test(r.className))return r};for(let i of["div","form"]){var n;if(n=t(this.element.getElementsByTagName(i)))return n}}setupEventListeners(){return this.listeners.map(t=>(()=>{let n=[];for(let i in t.events){let r=t.events[i];n.push(t.element.addEventListener(i,r,!1))}return n})())}removeEventListeners(){return this.listeners.map(t=>(()=>{let n=[];for(let i in t.events){let r=t.events[i];n.push(t.element.removeEventListener(i,r,!1))}return n})())}disable(){return this.clickableElements.forEach(t=>t.classList.remove("dz-clickable")),this.removeEventListeners(),this.disabled=!0,this.files.map(t=>this.cancelUpload(t))}enable(){return delete this.disabled,this.clickableElements.forEach(t=>t.classList.add("dz-clickable")),this.setupEventListeners()}filesize(t){let n=0,i="b";if(t>0){let r=["tb","gb","mb","kb","b"];for(let a=0;a<r.length;a++){let o=r[a],s=Math.pow(this.options.filesizeBase,4-a)/10;if(t>=s){n=t/Math.pow(this.options.filesizeBase,4-a),i=o;break}}n=Math.round(10*n)/10}return`<strong>${n}</strong> ${this.options.dictFileSizeUnits[i]}`}_updateMaxFilesReachedClass(){return this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}drop(t){if(!t.dataTransfer)return;this.emit("drop",t);let n=[];for(let i=0;i<t.dataTransfer.files.length;i++)n[i]=t.dataTransfer.files[i];if(n.length){let{items:i}=t.dataTransfer;i&&i.length&&i[0].webkitGetAsEntry!=null?this._addFilesFromItems(i):this.handleFiles(n)}
12136this.emit("addedfiles",n)}paste(t){if(bv(t!=null?t.clipboardData:void 0,i=>i.items)==null)return;this.emit("paste",t);let{items:n}=t.clipboardData;if(n.length)return this._addFilesFromItems(n)}handleFiles(t){for(let n of t)this.addFile(n)}_addFilesFromItems(t){return(()=>{let n=[];for(let r of t){var i;r.webkitGetAsEntry!=null&&(i=r.webkitGetAsEntry())?i.isFile?n.push(this.addFile(r.getAsFile())):i.isDirectory?n.push(this._addFilesFromDirectory(i,i.name)):n.push(void 0):r.getAsFile!=null&&(r.kind==null||r.kind==="file")?n.push(this.addFile(r.getAsFile())):n.push(void 0)}return n})()}_addFilesFromDirectory(t,n){let i=t.createReader(),r=o=>vv(console,"log",s=>s.log(o));var a=()=>i.readEntries(o=>{if(o.length>0){for(let s of o)s.isFile?s.file(l=>{if(!(this.options.ignoreHiddenFiles&&l.name.substring(0,1)==="."))return l.fullPath=`${n}/${l.name}`,this.addFile(l)}):s.isDirectory&&this._addFilesFromDirectory(s,`${n}/${s.name}`);a()}return null},r);return a()}accept(t,n){this.options.maxFilesize&&t.size>this.options.maxFilesize*1048576?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):j.isValidFile(t,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,n):n(this.options.dictInvalidFileType)}addFile(t){t.upload={uuid:j.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t)},this.files.push(t),t.status=j.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,n=>{n?(t.accepted=!1,this._errorProcessing([t],n)):(t.accepted=!0,this.options.autoQueue&&this.enqueueFile(t)),this._updateMaxFilesReachedClass()})}enqueueFiles(t){for(let n of t)this.enqueueFile(n);return null}enqueueFile(t){if(t.status===j.ADDED&&t.accepted===!0){if(t.status=j.QUEUED,this.options.autoProcessQueue)return setTimeout(()=>this.processQueue(),0)}else throw new Error("This file can't be queued because it has already been processed or was rejected.")}_enqueueThumbnail(t){if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=this.options.maxThumbnailFilesize*1048576)return this._thumbnailQueue.push(t),setTimeout(()=>this._processThumbnailQueue(),0)}_processThumbnailQueue(){if(this._processingThumbnail||this._thumbnailQueue.length===0)return;this._processingThumbnail=!0;let t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,n=>(this.emit("thumbnail",t,n),this._processingThumbnail=!1,this._processThumbnailQueue()))}removeFile(t){if(t.status===j.UPLOADING&&this.cancelUpload(t),this.files=hv(this.files,t),this.emit("removedfile",t),this.files.length===0)return this.emit("reset")}removeAllFiles(t){t==null&&(t=!1);for(let n of this.files.slice())(n.status!==j.UPLOADING||t)&&this.removeFile(n);return null}resizeImage(t,n,i,r,a){return this.createThumbnail(t,n,i,r,!0,(o,s)=>{if(s==null)return a(t);{let{resizeMimeType:l}=this.options;l==null&&(l=t.type);let d=s.toDataURL(l,this.options.resizeQuality);return(l==="image/jpeg"||l==="image/jpg")&&(d=Dl.restore(t.dataURL,d)),a(j.dataURItoBlob(d))}})}createThumbnail(t,n,i,r,a,o){let s=new FileReader;s.onload=()=>{if(t.dataURL=s.result,t.type==="image/svg+xml"){o!=null&&o(s.result);return}this.createThumbnailFromUrl(t,n,i,r,a,o)},s.readAsDataURL(t)}displayExistingFile(t,n,i,r,a=!0){if(this.emit("addedfile",t),this.emit("complete",t),!a)this.emit("thumbnail",t,n),i&&i();else{let o=s=>{this.emit("thumbnail",t,s),i&&i()};t.dataURL=n,this.createThumbnailFromUrl(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,o,r)}}createThumbnailFromUrl(t,n,i,r,a,o,s){let l=document.createElement("img");return s&&(l.crossOrigin=s),a=getComputedStyle(document.body).imageOrientation=="from-image"?!1:a,l.onload=()=>{let d=c=>c(1);return typeof EXIF<"u"&&EXIF!==null&&a&&(d=c=>EXIF.getData(l,function(){return c(EXIF.getTag(this,"Orientation"))})),d(c=>{t.width=l.width,t.height=l.height;let m=this.options.resize.call(this,t,n,i,r),p=document.createElement("canvas"),h=p.getContext("2d");switch(p.width=m.trgWidth,p.height=m.trgHeight,c>4&&(p.width=m.trgHeight,p.height=m.trgWidth),c){case 2:h.translate(p.width,0),h.scale(-1,1);break;case 3:h.translate(p.width,p.height),h.rotate(Math.PI);break;case 4:h.translate(0,p.height),h.scale(1,-1);break;case 5:h.rotate(.5*Math.PI),h.scale(1,-1);break;case 6:h.rotate(.5*Math.PI),h.translate(0,-p.width);break;case 7:h.rotate(.5*Math.PI),h.translate(p.height,-p.width),h.scale(-1,1);break;case 8:h.rotate(-.5*Math.PI),h.translate(-p.height,0);break}yv(h,l,m.srcX!=null?m.srcX:0,m.srcY!=null?m.srcY:0,m.srcWidth,m.srcHeight,m.trgX!=null?m.trgX:0,m.trgY!=null?m.trgY:0,m.trgWidth,m.trgHeight);let T=p.toDataURL("image/png");if(o!=null)return o(T,p)})},o!=null&&(l.onerror=o),l.src=t.dataURL}processQueue(){let{parallelUploads:t}=this.options,n=this.getUploadingFiles().length,i=n;if(n>=t)return;let r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;i<t;){if(!r.length)return;this.processFile(r.shift()),i++}}}processFile(t){return this.processFiles([t])}processFiles(t){for(let n of t)n.processing=!0,n.status=j.UPLOADING,this.emit
12136("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}_getFilesWithXhr(t){return this.files.filter(n=>n.xhr===t).map(n=>n)}cancelUpload(t){if(t.status===j.UPLOADING){let n=this._getFilesWithXhr(t.xhr);for(let i of n)i.status=j.CANCELED;typeof t.xhr<"u"&&t.xhr.abort();for(let i of n)this.emit("canceled",i);this.options.uploadMultiple&&this.emit("canceledmultiple",n)}else(t.status===j.ADDED||t.status===j.QUEUED)&&(t.status=j.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}resolveOption(t,...n){return typeof t=="function"?t.apply(this,n):t}uploadFile(t){return this.uploadFiles([t])}uploadFiles(t){this._transformFiles(t,n=>{if(this.options.chunking){let i=n[0];t[0].upload.chunked=this.options.chunking&&(this.options.forceChunking||i.size>this.options.chunkSize),t[0].upload.totalChunkCount=Math.ceil(i.size/this.options.chunkSize)}if(t[0].upload.chunked){let i=t[0],r=n[0];i.upload.chunks=[];let a=()=>{let o=0;for(;i.upload.chunks[o]!==void 0;)o++;if(o>=i.upload.totalChunkCount)return;let s=o*this.options.chunkSize,l=Math.min(s+this.options.chunkSize,r.size),d={name:this._getParamName(0),data:r.webkitSlice?r.webkitSlice(s,l):r.slice(s,l),filename:i.upload.filename,chunkIndex:o};i.upload.chunks[o]={file:i,index:o,dataBlock:d,status:j.UPLOADING,progress:0,retries:0},this._uploadData(t,[d])};if(i.upload.finishedChunkUpload=(o,s)=>{let l=!0;o.status=j.SUCCESS,o.dataBlock=null,o.response=o.xhr.responseText,o.responseHeaders=o.xhr.getAllResponseHeaders(),o.xhr=null;for(let d=0;d<i.upload.totalChunkCount;d++){if(i.upload.chunks[d]===void 0)return a();i.upload.chunks[d].status!==j.SUCCESS&&(l=!1)}l&&this.options.chunksUploaded(i,()=>{this._finished(t,s,null)})},this.options.parallelChunkUploads)for(let o=0;o<i.upload.totalChunkCount;o++)a();else a()}else{let i=[];for(let r=0;r<t.length;r++)i[r]={name:this._getParamName(r),data:n[r],filename:t[r].upload.filename};this._uploadData(t,i)}})}_getChunk(t,n){for(let i=0;i<t.upload.totalChunkCount;i++)if(t.upload.chunks[i]!==void 0&&t.upload.chunks[i].xhr===n)return t.upload.chunks[i]}_uploadData(t,n){let i=new XMLHttpRequest;for(let d of t)d.xhr=i;t[0].upload.chunked&&(t[0].upload.chunks[n[0].chunkIndex].xhr=i);let r=this.resolveOption(this.options.method,t,n),a=this.resolveOption(this.options.url,t,n);i.open(r,a,!0),this.resolveOption(this.options.timeout,t)&&(i.timeout=this.resolveOption(this.options.timeout,t)),i.withCredentials=!!this.options.withCredentials,i.onload=d=>{this._finishedUploading(t,i,d)},i.ontimeout=()=>{this._handleUploadError(t,i,`Request timedout after ${this.options.timeout/1e3} seconds`)},i.onerror=()=>{this._handleUploadError(t,i)};let s=i.upload!=null?i.upload:i;s.onprogress=d=>this._updateFilesUploadProgress(t,i,d);let l=this.options.defaultHeaders?{Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"}:{};this.options.binaryBody&&(l["Content-Type"]=t[0].type),this.options.headers&&Po(l,this.options.headers);for(let d in l){let c=l[d];c&&i.setRequestHeader(d,c)}if(this.options.binaryBody){for(let d of t)this.emit("sending",d,i);this.options.uploadMultiple&&this.emit("sendingmultiple",t,i),this.submitRequest(i,null,t)}else{let d=new FormData;if(this.options.params){let c=this.options.params;typeof c=="function"&&(c=c.call(this,t,i,t[0].upload.chunked?this._getChunk(t[0],i):null));for(let m in c){let p=c[m];if(Array.isArray(p))for(let h=0;h<p.length;h++)d.append(m,p[h]);else d.append(m,p)}}for(let c of t)this.emit("sending",c,i,d);this.options.uploadMultiple&&this.emit("sendingmultiple",t,i,d),this._addFormElementData(d);for(let c=0;c<n.length;c++){let m=n[c];d.append(m.name,m.data,m.filename)}this.submitRequest(i,d,t)}}_transformFiles(t,n){let i=[],r=0;for(let a=0;a<t.length;a++)this.options.transformFile.call(this,t[a],o=>{i[a]=o,++r===t.length&&n(i)})}_addFormElementData(t){if(this.element.tagName==="FORM")for(let n of this.element.querySelectorAll("input, textarea, select, button")){let i=n.getAttribute("name"),r=n.getAttribute("type");if(r&&(r=r.toLowerCase()),!(typeof i>"u"||i===null))if(n.tagName==="SELECT"&&n.hasAttribute("multiple"))for(let a of n.options)a.selected&&t.append(i,a.value);else(!r||r!=="checkbox"&&r!=="radio"||n.checked)&&t.append(i,n.value)}}_updateFilesUploadProgress(t,n,i){if(t[0].upload.chunked){let r=t[0],a=this._getChunk(r,n);i?(a.progress=100*i.loaded/i.total,a.total=i.total,a.bytesSent=i.loaded):(a.progress=100,a.bytesSent=a.total),r.upload.progress=0,r.upload.total=0,r.upload.b
12136ytesSent=0;for(let o=0;o<r.upload.totalChunkCount;o++)r.upload.chunks[o]&&typeof r.upload.chunks[o].progress<"u"&&(r.upload.progress+=r.upload.chunks[o].progress,r.upload.total+=r.upload.chunks[o].total,r.upload.bytesSent+=r.upload.chunks[o].bytesSent);r.upload.progress=r.upload.progress/r.upload.totalChunkCount,this.emit("uploadprogress",r,r.upload.progress,r.upload.bytesSent)}else for(let r of t)r.upload.total&&r.upload.bytesSent&&r.upload.bytesSent==r.upload.total||(i?(r.upload.progress=100*i.loaded/i.total,r.upload.total=i.total,r.upload.bytesSent=i.loaded):(r.upload.progress=100,r.upload.bytesSent=r.upload.total),this.emit("uploadprogress",r,r.upload.progress,r.upload.bytesSent))}_finishedUploading(t,n,i){let r;if(t[0].status!==j.CANCELED&&n.readyState===4){if(n.responseType!=="arraybuffer"&&n.responseType!=="blob"&&(r=n.responseText,n.getResponseHeader("content-type")&&~n.getResponseHeader("content-type").indexOf("application/json")))try{r=JSON.parse(r)}catch(a){i=a,r="Invalid JSON response from server."}this._updateFilesUploadProgress(t,n),200<=n.status&&n.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],n),r):this._finished(t,r,i):this._handleUploadError(t,n,r)}}_handleUploadError(t,n,i){if(t[0].status!==j.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){let r=this._getChunk(t[0],n);if(r.retries++<this.options.retryChunksLimit){this._uploadData(t,[r.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(t,i||this.options.dictResponseError.replace("{{statusCode}}",n.status),n)}}submitRequest(t,n,i){if(t.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}if(this.options.binaryBody)if(i[0].upload.chunked){const r=this._getChunk(i[0],t);t.send(r.dataBlock.data)}else t.send(i[0]);else t.send(n)}_finished(t,n,i){for(let r of t)r.status=j.SUCCESS,this.emit("success",r,n,i),this.emit("complete",r);
12136if(this.options.uploadMultiple&&(this.emit("successmultiple",t,n,i),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}_errorProcessing(t,n,i){for(let r of t)r.status=j.ERROR,this.emit("error",r,n,i),this.emit("complete",r);if(this.options.uploadMultiple&&(this.emit("errormultiple",t,n,i),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}static uuidv4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){let n=Math.random()*16|0;return(t==="x"?n:n&3|8).toString(16)})}constructor(t,n){super();let i,r;if(this.element=t,this.clickableElements=[],this.listeners=[],this.files=[],typeof this.element=="string"&&(this.element=document.querySelector(this.element)),!this.element||this.element.nodeType==null)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");j.instances.push(this),this.element.dropzone=this;let a=(r=j.optionsForElement(this.element))!=null?r:{};if(this.options=Po(!0,{},mv,a,n??{}),this.options.previewTemplate=this.options.previewTemplate.replace(/\n*/g,""),this.options.forceFallback||!j.isBrowserSupported())return this.options.fallback.call(this);if(this.options.url==null&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(this.options.uploadMultiple&&this.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");if(this.options.binaryBody&&this.options.uploadMultiple)throw new Error("You cannot set both: binaryBody and uploadMultiple.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.renameFilename!=null&&(this.options.renameFile=o=>this.options.renameFilename.call(this,o.name,o)),typeof this.options.method=="string"&&(this.options.method=this.options.method.toUpperCase()),(i=this.getExistingFallback())&&i.parentNode&&i.parentNode.removeChild(i),this.options.previewsContainer!==!1&&(this.options.previewsContainer?this.previewsContainer=j.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(this.options.clickable===!0?this.clickableElements=[this.element]:this.clickableElements=j.getElements(this.options.clickable,"clickable")),this.init()}}j.initClass();j.options={};j.optionsForElement=function(e){if(e.getAttribute("id"))return j.options[fv(e.getAttribute("id"))]};j.instances=[];j.forElement=function(e){if(typeof e=="string"&&(e=document.querySelector(e)),(e!=null?e.dropzone:void 0)==null)throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone};j.discover=function(){let e;if(document.querySelectorAll)e=document.querySelectorAll(".dropzone");else{e=[];let t=n=>(()=>{let i=[];for(let r of n)/(^| )dropzone($| )/.test(r.className)?i.push(e.push(r)):i.push(void 0);return i})();t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))}return(()=>{let t=[];for(let n of e)j.optionsForElement(n)!==!1?t.push(new j(n)):t.push(void 0);return t})()};j.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i];j.isBrowserSupported=function(){let e=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))e=!1;else{j.blacklistedBrowsers!==void 0&&(j.blockedBrowsers=j.blacklistedBrowsers);for(let t of j.blockedBrowsers)if(t.test(navigator.userAgent)){e=!1;continue}}else e=!1;return e};j.dataURItoBlob=function(e){let t=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";
12136")[0],i=new ArrayBuffer(t.length),r=new Uint8Array(i);for(let a=0,o=t.length,s=0<=o;s?a<=o:a>=o;s?a++:a--)r[a]=t.charCodeAt(a);return new Blob([i],{type:n})};const hv=(e,t)=>e.filter(n=>n!==t).map(n=>n),fv=e=>e.replace(/[\-_](\w)/g,t=>t.charAt(1).toUpperCase());j.createElement=function(e){let t=document.createElement("div");return t.innerHTML=e,t.childNodes[0]};j.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1};j.getElement=function(e,t){let n;if(typeof e=="string"?n=document.querySelector(e):e.nodeType!=null&&(n=e),n==null)throw new Error(`Invalid \`${t}\` option provided. Please provide a CSS selector or a plain HTML element.`);return n};j.getElements=function(e,t){let n,i;if(e instanceof Array){i=[];try{for(n of e)i.push(this.getElement(n,t))}catch{i=null}}else if(typeof e=="string"){i=[];for(n of document.querySelectorAll(e))i.push(n)}else e.nodeType!=null&&(i=[e]);if(i==null||!i.length)throw new Error(`Invalid \`${t}\` option provided. Please provide a CSS selector, a plain HTML element or a list of those.`);return i};j.confirm=function(e,t,n){if(window.confirm(e))return t();if(n!=null)return n()};j.isValidFile=function(e,t){if(!t)return!0;t=t.split(",");let n=e.type,i=n.replace(/\/.*$/,"");for(let r of t)if(r=r.trim(),r.charAt(0)==="."){if(e.name.toLowerCase().indexOf(r.toLowerCase(),e.name.length-r.length)!==-1)return!0}else if(/\/\*$/.test(r)){if(i===r.replace(/\/.*$/,""))return!0}else if(n===r)return!0;return!1};typeof jQuery<"u"&&jQuery!==null&&(jQuery.fn.dropzone=function(e){return this.each(function(){return new j(this,e)})});j.ADDED="added";j.QUEUED="queued";j.ACCEPTED=j.QUEUED;j.UPLOADING="uploading";j.PROCESSING=j.UPLOADING;j.CANCELED="canceled";j.ERROR="error";j.SUCCESS="success";let gv=function(e){e.naturalWidth;let t=e.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=t;let i=n.getContext("2d");i.drawImage(e,0,0);let{data:r}=i.getImageData(1,0,1,t),a=0,o=t,s=t;for(;s>a;)r[(s-1)*4+3]===0?o=s:a=s,s=o+a>>1;let l=s/t;return l===0?1:l};var yv=function(e,t,n,i,r,a,o,s,l,d){let c=gv(t);return e.drawImage(t,n,i,r,a,o,s,l,d/c)};class Dl{static initClass(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}static encode64(t){let n="",i,r,a="",o,s,l,d="",c=0;for(;i=t[c++],r=t[c++],a=t[c++],o=i>>2,s=(i&3)<<4|r>>4,l=(r&15)<<2|a>>6,d=a&63,isNaN(r)?l=d=64:isNaN(a)&&(d=64),n=n+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(l)+this.KEY_STR.charAt(d),i=r=a="",o=s=l=d="",c<t.length;);return n}static restore(t,n){if(!t.match("data:image/jpeg;base64,"))return n;let i=this.decode64(t.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(i),a=this.exifManipulation(n,r);return`data:image/jpeg;base64,${this.encode64(a)}`}static exifManipulation(t,n){let i=this.getExifArray(n),r=this.insertExif(t,i);return new Uint8Array(r)}static getExifArray(t){let n,i=0;for(;i<t.length;){if(n=t[i],n[0]===255&n[1]===225)return n;i++}return[]}static insertExif(t,n){let i=t.replace("data:image/jpeg;base64,",""),r=this.decode64(i),a=r.indexOf(255,3),o=r.slice(0,a),s=r.slice(a),l=o;return l=l.concat(n),l=l.concat(s),l}static slice2Segments(t){let n=0,i=[];for(;;){var r;if(t[n]===255&t[n+1]===218)break;if(t[n]===255&t[n+1]===216)n+=2;else{r=t[n+2]*256+t[n+3];let a=n+r+2,o=t.slice(n,a);i.push(o),n=a}if(n>t.length)break}return i}static decode64(t){let n,i,r="",a,o,s,l="",d=0,c=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t)&&console.warn(`There were invalid base64 characters in the input text.
12137Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
12138Expect errors in decoding.`),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");a=this.KEY_STR.indexOf(t.charAt(d++)),o=this.KEY_STR.indexOf(t.charAt(d++)),s=this.KEY_STR.indexOf(t.charAt(d++)),l=this.KEY_STR.indexOf(t.charAt(d++)),n=a<<2|o>>4,i=(o&15)<<4|s>>2,r=(s&3)<<6|l,c.push(n),s!==64&&c.push(i),l!==64&&c.push(r),n=i=r="",a=o=s=l="",d<t.length;);return c}}Dl.initClass();function bv(e,t){return typeof e<"u"&&e!==null?t(e):void 0}function vv(e,t,n){if(typeof e<"u"&&e!==null&&typeof e[t]=="function")return n(e,t)}class Iv extends j{constructor(...t){t.length===2&&(t[1].url=[Us.BASE_URL,t[1].url].filter(
12138Boolean).join(""),t[1].withCredentials=!0);const[n,i]=t;super(n,i)}}const Cv={props:{title:{type:String,required:!1},url:{type:String,default:"dummy"},acceptedFiles:{type:String,required:!1},onSend:{type:Function,required:!1},onAdded:Function,dropzoneRef:{required:!1},clientOnly:{type:Boolean,default:!1},buttonSize:{type:String,default:"default"}},components:{NiceButton:yn},setup(){const{isNeoTheme:e}=Ee();return{isNeoTheme:e}},mounted(){this.dropzoneRef instanceof HTMLElement?this.$nextTick(()=>{this.initializeDropzone()}):!this.dropzoneRef&&this.$refs.dropzone&&this.initializeDropzone()},beforeUnmount(){this.dropzoneInstance&&(this.dropzoneInstance.destroy(),this.dropzoneInstance=null)},data(){return{uploading:!1,dropzoneInstance:null}},watch:{dropzoneRef:{handler(e){e instanceof HTMLElement&&this.$nextTick(()=>{this.dropzoneInstance&&(this.dropzoneInstance.destroy(),this.dropzoneInstance=null),this.initializeDropzone()})},immediate:!0,deep:!0}},methods:{open(){this.$refs.uploadButton.click()},initializeDropzone(){const e=this;this.dropzoneInstance&&(this.dropzoneInstance.destroy(),this.dropzoneInstance=null);const t=this.dropzoneRef||this.$refs.dropzone;if(!(!t||!(t instanceof HTMLElement)))try{this.dropzoneInstance=new Iv(t,{url:this.url,maxFilesize:1e3,paramName:"file",withCredentials:!0,previewsContainer:!1,clickable:this.$refs.uploadButton,createImageThumbnails:!1,acceptedFiles:this.acceptedFiles,timeout:1e6,autoProcessQueue:!this.clientOnly,init(){this.on("addedfile",n=>{var i;e.uploading=!0,(i=e.onAdded)==null||i.call(e,n)}),this.on("sending",(n,i,r)=>{var a;r.append("filename",n.name),(a=e.onSend)==null||a.call(e,r)}),this.on("success",function(n,i){e.uploading=!1,e.$emit("success",i)}),this.on("error",function(n,i,r){e.uploading=!1,ma.handleError(i)})}})}catch(n){console.error("Error creating Dropzone instance:",n)}}}},Sv={ref:"uploadButton",class:"hidden",type:"button"};function _v(e,t,n,i,r,a){const o=I("NiceButton");return u(),y("div",{ref:n.dropzoneRef?"":"dropzone",onClick:t[0]||(t[0]=ae(()=>{},["stop"])),class:"upload-button-dropzone"},[f("button",Sv,null,512),et(e.$slots,"default",Ls(Bs({open:a.open,uploading:r.uploading})),()=>[g(o,{type:"default",size:n.buttonSize,loading:r.uploading,onClick:a.open,icon:"upload",iconSet:"neo"},{default:k(()=>[Y(S(n.title),1)]),_:1},8,["size","loading","onClick"])])],512)}const si=te(Cv,[["render",_v]]),lA=Object.freeze(Object.defineProperty({__proto__:null,default:si},Symbol.toStringTag,{value:"Module"})),kv=[{slot:"left",name:"",detailViewFields:_e(["name","emails","phone_numbers","position"])},{slot:"left",name:"",detailViewFields:_e(["dob","birth_name","birth_place","tax_identification_number","nationality"])}],dA=[{slot:"left",name:"",detailViewFields:_e(["name","company","emails","home_cell","home_phone","home_address"])},{slot:"left",name:"",detailViewFields:_e(["broker_id","client_status_id","client_source_id","locale","group_ids","description"])}],cA=e=>e.shopData.clientDetailViewGroups||[],Tv={key:0},wv=["infinite-scroll-disabled"],Fv={class:"participant-tracking-events__content"},Pv={key:2,class:"participant-tracking-events__empty","data-test":"participant-tracking-events-empty"},Av={key:3,class:"participant-tracking-events__empty","data-test":"participant-tracking-events-error"},$v={key:4,class:"participant-tracking-events__empty"},Nl=K({__name:"ParticipantTrackingEvents",props:{events:{default:()=>[]},participantClientId:{},showHeader:{type:Boolean,default:!0},loading:{type:Boolean},noMore:{type:Boolean},error:{type:Boolean}},emits:["load-more","retry"],setup(e,{emit:t}){const n=e,{t:i}=ot(),r=t,a=p=>p.propertyName||p.projectName||p.content||p.messageSubject||i("header.trackings.logs.noSubject"),o=(p,h)=>(T,C)=>i(p,{name:h(T,C)}),s={[mt.FileDownloaded]:o("inbox.messageParticipant.actions.fileDownloaded",p=>p.content),[mt.ExposeDownloaded]:o("inbox.messageParticipant.actions.exposeDownloaded",(p,h)=>h),[mt.PropertyLiked]:p=>{const h=p.projectName?` (${p.projectName})`:"";return i("inbox.messageParticipant.actions.propertyLiked",{name:p.propertyName}
12138)+h},[mt.LinkClicked]:o("inbox.messageParticipant.actions.linkClicked",p=>p.content),[mt.PolicyVisited]:o("inbox.messageParticipant.actions.policyVisited",(p,h)=>h),[mt.LandingPageVisited]:o("inbox.messageParticipant.actions.lpVisited",(p,h)=>h),[mt.FileUploaded]:o("inbox.messageParticipant.actions.fileUploaded",p=>p.content),[mt.FileDeleted]:o("inbox.messageParticipant.actions.fileDeleted",p=>p.content),[mt.CustomFormVisited]:o("inbox.messageParticipant.actions.customFormVisited",p=>p.content),[mt.OguloTourViewed]:o("inbox.messageParticipant.actions.oguloTourViewed",(p,h)=>h)},l=o("inbox.messageParticipant.actions.messageOpened",p=>p.content||p.messageSubject||i("header.trackings.logs.noSubject")),d=F(()=>n.events.map(p=>{const h=a(p),T=s[p.actionType]||l;return c(p,T(p,h))})),c=(p,h)=>({...p,actorName:p.clientName||i("header.trackings.noName"),content:h,isChildEvent:!!(n.participantClientId&&p.clientId&&p.clientId!==n.participantClientId)}),m=()=>r("load-more");return(p,h)=>{const T=I("fa-icon"),C=un("infinite-scroll");return u(),y("section",{class:U(["participant-tracking-events",{"participant-tracking-events--compact":!n.showHeader}]),"data-test":"participant-tracking-events"},[n.showHeader?(u(),y("h4",Tv,S(p.$t("inbox.messageParticipant.events")),1)):P("",!0),d.value.length?Qe((u(),y("ul",{key:1,"infinite-scroll-disabled":n.loading||n.noMore||n.error,"infinite-scroll-distance":24,class:"participant-tracking-events__list"},[(u(!0),y(ee,null,Te(d.value,A=>(u(),y("li",{key:A.id,class:"participant-tracking-events__item"},[A.isChildEvent?(u(),w(T,{key:0,name:"level-up-alt",class:"participant-tracking-events__child-icon"})):P("",!0),f("div",Fv,[f("span",null,[f("strong",null,S(A.actorName),1),Y(" "+S(A.content),1)]),f("time",null,S(p.$customFilters.date(A.createdAt)),1)])]))),128))],8,wv)),[[C,m]]):!n.loading&&!n.error?(u(),y("p",Pv,S(p.$t("inbox.messageParticipant.noEvents")),1)):P("",!0),n.error?(u(),y("p",Av,[Y(S(p.$t("task.task_tracking.events_load_failed"))+" ",1),f("button",{type:"button",class:"participant-tracking-events__retry",onClick:h[0]||(h[0]=A=>r("retry"))},S(p.$t("task.task_tracking.retry")),1)])):P("",!0),n.loading?(u(),y("div",$v,"...")):P("",!0)],2)}}}),Rv={class:"text-center",ref:"sectionRef"},Dv={key:0,class:"flex flex-col"},Nv=["title"],Ov={key:0,class:"participant-preview__company"},Ev={key:1,class:"flex flex-col"},Mv={class:"text-sm"},Vv=["title"],Lv={class:"mt-2"},Bv={key:2,class:"mt-1"},Uv=["href","data-client-id"],qv={class:"participant-preview-card__nav"},xv=["disabled"],zv=K({__name:"ParticipantPreviewCard",props:{participant:{},editable:{type:Boolean},trackingEvents:{},trackingEventsCount:{},trackingEventsLoading:{type:Boolean},trackingEventsNoMore:{type:Boolean},trackingEventsError:{type:Boolean},popupMode:{}},emits:["create-client","select-client","assign-client","load-tracking-events","load-more-tracking-events","retry-tracking-events"],setup(e,{emit:t}){const n=t,i=ce(!1),r=F(()=>!!(e.trackingEventsCount&&e.trackingEventsCount>0)),a=()=>{i.value=!i.value,i.value&&n("load-tracking-events")},o=F(()=>e.popupMode==="mailbox"),s=F(()=>{var d;return e.participant.displayName||((d=e.participant.client)==null?void 0:d.name)||e.participant.name||e.participant.email}),l=F(()=>{var d;return e.participant.displayCompanyName||((d=e.participant.client)==null?void 0:d.companyWithFallback)});return(d,c)=>{var v,R,D,O;
12138const m=I("copy-to-clipboard"),p=I("fa-icon"),h=I("nice-tooltip"),T=I("whatsapp-button"),C=I("router-link"),A=un("redacted");return u(),y("section",Rv,[o.value?(u(),y("p",Dv,[f("strong",{title:s.value},S(s.value),9,Nv),l.value?(u(),y("span",Ov,S(l.value),1)):P("",!0)])):(u(),y("p",Ev,[f("span",Mv,S(e.participant.company),1),f("strong",{title:e.participant.name},S(e.participant.name),9,Vv)])),Qe((u(),y("p",Lv,[f("a",{onClick:c[0]||(c[0]=ae(N=>n("select-client"),["prevent"]))},S(e.participant.email),1),g(m,{appendTo:d.$refs.sectionRef,text:e.participant.email,class:"copy-button"},null,8,["appendTo","text"]),!e.participant.client&&e.participant.email||e.editable?(u(),w(h,{key:0,content:d.$t("inbox.messageParticipant.assignClient"),"append-to":d.$refs.sectionRef},{default:k(()=>[f("a",{href:"#",onClick:c[1]||(c[1]=ae(N=>n("assign-client"),["prevent"])),class:"ml-1 fs-12"},[g(p,{name:"plus"})])]),_:1},8,["content","append-to"])):P("",!0)])),[[A]]),(v=e.participant.client)!=null&&v.phone?Qe((u(),y("p",Bv,[f("a",{href:d.$customFilters.phonify(e.participant.client.phone),class:"link","data-client-id":e.participant.client.id},S(e.participant.client.phone),9,Uv)])),[[A]]):P("",!0),(R=e.participant.client)!=null&&R.phone?(u(),w(T,{key:3,phone:(D=e.participant.client)==null?void 0:D.intlPhone,class:"ml-1"},null,8,["phone"])):P("",!0),f("div",qv,[f("span",null,[!e.participant.client||!e.participant.client.path?(u(),y("a",{key:0,href:"#",onClick:c[2]||(c[2]=ae(N=>n("create-client"),["prevent"]))},[g(p,{name:"plus",class:"mr-1"}),Y(" "+S(d.$t("inbox.messageParticipant.createClient")),1)])):(u(),w(C,{key:1,to:e.participant.client.path},{default:k(()=>[Y(S(d.$t("inbox.messageParticipant.link"))+" ",1),g(p,{name:"arrow-right"})]),_:1},8,["to"]))]),e.trackingEventsCount!==void 0?(u(),w(h,{key:0,disabled:r.value,content:d.$t("inbox.messageParticipant.noVisibleActivity"),"append-to":d.$refs.sectionRef},{default:k(()=>[f("button",{type:"button",class:"participant-preview-card__events-toggle",disabled:!r.value,onClick:a},[Y(S(d.$t("inbox.messageParticipant.events"))+" ",1),g(p,{name:i.value?"chevron-up":"chevron-down",class:"ml-1"},null,8,["name"])],8,xv)]),_:1},8,["disabled","content","append-to"])):P("",!0)]),i.value?(u(),w(Nl,{key:4,events:e.trackingEvents||[],"participant-client-id":((O=e.participant.client)==null?void 0:O.id)||e.participant.id,"show-header":!1,loading:e.trackingEventsLoading,"no-more":e.trackingEventsNoMore,error:e.trackingEventsError,onLoadMore:c[3]||(c[3]=N=>n("load-more-tracking-events")),onRetry:c[4]||(c[4]=N=>n("retry-tracking-events"))},null,8,["events","participant-client-id","loading","no-more","error"])):P("",!0)],512)}}}),Gv=["title"],jv={key:0,class:"participant-preview__company"},Hv=["title"],Wv={class:"text-sm text-light"},Kv={key:0,class:"participant-preview__actions"},Yv={key:0,class:"participant-preview__action-row"},Qv={class:"flex items-center gap-2"},Zv={key:1,class:"participant-preview__action-row"},Jv={class:"flex items-center gap-2"},Xv=["href","data-client-id"],e2={key:2,class:"participant-preview__action-row"},t2=["disabled"],n2=K({__name:"ParticipantPreviewCard.Neo",props:{participant:{},editable:{type:Boolean},popupMode:{},trackingEvents:{},trackingEventsCount:{},trackingEventsLoading:{type:Boolean},trackingEventsNoMore:{type:Boolean},trackingEventsError:{type:Boolean}},emits:["create-client","select-client","assign-client","load-tracking-events","load-more-tracking-events","retry-tracking-events"],setup(e,{emit:t}){const n=t,i=F(()=>e.popupMode==="mailbox"),r=F(()=>{var m;return e.participant.displayName||((m=e.participant.client)==null?void 0:m.name)||e.participant.name||e.participant.email}),a=F(()=>{var m;return e.participant.displayCompanyName||((m=e.participant.client)==null?void 0:m.companyWithFallback)}),o=ce(!1),s=F(()=>!e.participant.client&&e.participant.email||e.editable),l=F(()=>{var m;return!!(e.participant.email||(m=e.participant.client)!=null&&m.phone||s.value)}),d=F(()=>!!(e.trackingEventsCount&&e.trackingEventsCount>0)),c=()=>{o.value=!o.value,o.value&&n("load-tracking-events")};return(m,p)=>
12138{const h=I("copy-to-clipboard"),T=I("whatsapp-button"),C=I("nice-tooltip"),A=I("router-link"),v=un("redacted");return u(),w(E(zs),{ref:"sectionRef",class:"participant-preview participant-preview--neo"},{header:k(()=>{var R,D,O;return[i.value?(u(),y("div",{key:0,title:r.value,class:"flex flex-col"},[f("span",null,S(r.value),1),a.value?(u(),y("span",jv,S(a.value),1)):P("",!0)],8,Gv)):(u(),y("div",{key:1,title:e.participant.name||((R=e.participant.client)==null?void 0:R.name),class:"flex flex-col"},[f("span",Wv,S(e.participant.company||((D=e.participant.client)==null?void 0:D.company)),1),f("span",null,S(e.participant.name||((O=e.participant.client)==null?void 0:O.name)),1)],8,Hv))]}),content:k(()=>{var R,D,O,N,B;return[l.value?Qe((u(),y("div",Kv,[e.participant.email?(u(),y("div",Yv,[f("div",Qv,[g(E(dn),{name:"mail",size:"default",color:"var(--ps-icon-color-light)"}),f("a",{class:"participant-preview__action-link",onClick:p[0]||(p[0]=ae(q=>n("select-client"),["prevent"]))},S(e.participant.email),1)]),g(h,{appendTo:m.$refs.sectionRef,text:e.participant.email},{default:k(({copy:q})=>[g(E(yn),{class:"participant-preview__copy",size:"small",iconSize:"default",icon:"clipboard",iconSet:"neo",iconOnly:"",type:"info",onClick:q},null,8,["onClick"])]),_:1},8,["appendTo","text"])])):P("",!0),(R=e.participant.client)!=null&&R.phone?(u(),y("div",Zv,[f("div",Jv,[g(E(dn),{name:"phone",size:"default",color:"var(--ps-icon-color-light)"}),f("a",{class:"participant-preview__action-link",href:m.$customFilters.phonify(e.participant.client.phone),"data-client-id":e.participant.client.id},S(e.participant.client.phone),9,Xv)]),(D=e.participant.client)!=null&&D.phone?(u(),w(T,{key:0,phone:(O=e.participant.client)==null?void 0:O.intlPhone},{default:k(({click:q})=>[g(E(yn),{size:"small",icon:"whatsapp",iconSet:"fa",iconPrefix:"fab",iconSize:"default",iconOnly:"",type:"info",onClick:q},null,8,["onClick"])]),_:1},8,["phone"])):P("",!0)])):P("",!0),s.value?(u(),y("div",e2,[g(C,{content:m.$t("inbox.messageParticipant.assignClient"),placement:"right"},{default:k(()=>[g(E(yn),{size:"small",type:"info",icon:"plus",iconSet:"neo",onClick:p[1]||(p[1]=ae(q=>n("assign-client"),["prevent"]))},{default:k(()=>[Y(S(m.$t("inbox.messageParticipant.assigning")),1)]),_:1})]),_:1},8,["content"])])):P("",!0)])),[[v]]):P("",!0),f("div",{class:U(["participant-preview__nav",{"participant-preview__nav--flush":!l.value}])},[(N=e.participant.client)!=null&&N.path?(u(),w(A,{key:0,class:"participant-preview__contact-link text-link",to:e.participant.client.path},{default:k(()=>[Y(S(m.$t("inbox.messageParticipant.link")),1)]),_:1},8,["to"])):(u(),w(E(yn),{key:1,type:"info",size:"small",icon:"plus",onClick:p[2]||(p[2]=ae(q=>n("create-client"),["prevent"])),title:m.$t("inbox.messageParticipant.createClient")},{default:k(()=>[Y(S(m.$t("inbox.messageParticipant.createClient")),1)]),_:1},8,["title"])),e.trackingEventsCount!==void 0?(u(),w(C,{key:2,disabled:d.value,content:m.$t("inbox.messageParticipant.noVisibleActivity")},{default:k(()=>[f("button",{type:"button",class:"participant-preview__events-toggle",disabled:!d.value,onClick:c},[Y(S(m.$t("inbox.messageParticipant.events"))+" ",1),g(E(dn),{name:o.value?"chevron-up":"chevron-down",size:"small"},null,8,["name"])],8,t2)]),_:1},8,["disabled","content"])):P("",!0)],2),o.value?(u(),w(Nl,{key:1,events:e.trackingEvents||[],"participant-client-id":((B=e.participant.client)==null?void 0:B.id)||e.participant.id,"show-header":!1,loading:e.trackingEventsLoading,"no-more":e.trackingEventsNoMore,error:e.trackingEventsError,onLoadMore:p[3]||(p[3]=q=>n("load-more-tracking-events")),onRetry:p[4]||(p[4]=q=>n("retry-tracking-events"))},null,8,["events","participant-client-id","loading","no-more","error"])):P("",!0)]}),_:1},512)}}}),i2={emits:["update","clientCreated","load-tracking-events","load-more-tracking-events","retry-tracking-events"],components:{ParticipantPreviewCard:zv,ParticipantPreviewCardNeo:n2},setup(){const{isNeoTheme:e}=Ee();return{isNeoTheme:e}},props:{messageId:{type:Number,required:!1},participant:{type:Object},taskId:{type:Number,default:void 0},editable:{type:Boolean,default:!1},popupMode:{type:String,default:null},resource:{type:Object,default:null},trackingEvents:{type:Array,default:void 0},trackingEventsCount:{type:Number,default:void 0},trackingEventsLoading:{type:Boolean,default:!1},trackingEventsNoMore:{type:Boolean,default:!1},trackingEventsError:{type:Boolean,default:!1}},data(){return{assignDialogVisible:!1,assigning:!1,clientId:null}},methods:{updateClientRsvp(e){const t={taskId:this.resource.id,clientId:this.participant.client.id,attending:e};this.$api.mutation("updateTaskClientRsvp",t,"clientId attending").then(n=>{this.$emit("update")}).catch(n=>{App.alert(this.$t("inbox.messageParticipant.attendance.error"))})},createClient(){this.$axios.get(`/services/contacts/new?${$.param(this.newContactPayload)}`).then(({data:e})=>{this.$emit("open-client-form",e)})},openAssignClientDialog(){this.assignDialogVisible=!0,this.$nextTick(()=>{this.$refs.clientSelect.focus()})},assignClient(){this.assigning=!0,this.messageId?this.$axios.post(`/services/messages/${this.messageId}/assign_client_with_email`,{client_id:this.clientId,email:this.participant.email}).then(e=>{App.flashy(this.$t("inbox.messageParticipant.success")),this.assignDialogVisible=!1,this.$emit("clientCreated")}).finally(e=>{this.assigning=!1}):this.resource&&this.$api.mutation("assignClient",{clientId:this.clientId,resourceId:this.resource.id,resourceType:this.resource.type}).then(e=>{App.flashy(this.$t("inbox.messageParticipant.success")),this.assignDialogVisible=!1,this.$emit("clientCreated")}).finally(e=>{this.assigning=!1})},quickviewMailForClient(e){at.$emit("quick-view",{key:"client",type:"mail",mode:"edit",params:{source:{taskId:this.taskId,clientIds:[e.client?e.client.id:e.id],email:e.client?e.client.email:e.email}}})}},computed:{hasNoPermissions(){return!this.$db.hasRight("rightToSeeAllClients")},participantName(){var e;return this.popupMode==="mailbox"?this.participant.displayName||((e=this.participant.client)==null?void 0:e.name)||this.participant.name||this.participant.email||this.$t("inbox.messageParticipant.unknown"):this.participant.client?this.participant.client.name:this.participant.name||this.participant.email||this.$t("inbox.messageParticipant.unknown")},newContactPayload(){return{message_id:this.messageId,email:this.participant.email,first_name:this.participant.name?this.participant.name.split(" ")[0]:"",last_name:this.participant.name?this.participant.name.split(" ")[1]:"",phone:this.participant.phone}},rsvp(){var e,t,n;return(n=(t=(e=this.resource)==null?void 0:e.clientsRsvp)==null?void 0:t.find(i=>i.clientId==this.participant.id))==null?void 0:n.attending},rsvpColor(){return this.rsvp==null?"bg-neutral":this.rsvp?"bg-success":"bg-danger"},isRegularEvent(){var e,t,n,i,r;return((e=this.resource)==null?void 0:e.isEvent)&&((n=(t=this.resource)==null?void 0:t.clients)==null?void 0:n.length)>1&&((r=(i=this.resource)==null?void 0:i.viewings)==null?void 0:r.length)==0}}},r2={class:"message-participant"},a2={class:"cursor-pointer z-1 inline-block rsvp-indicator"},o2={class:"flex items-center"},s2={class:"flex items-center"},l2={class:"flex items-center"},d2={key:1,class:"message-participant-link"},c2={key:0,class:"text-light text-sm font-normal"},u2={key:1,class:"message-participant-company"},p2={key:2,class:"message-participant__warning"};function m2(e,t,n,i,r,a){var D;const o=I("dropdown-item"),s=I("dropdown-section"),l=I("dropdown"),d=I("router-link"),c=I("ParticipantPreviewCardNeo"),m=I("ParticipantPreviewCard"),p=I("client-select"),h=I("form-row"),T=I("form-section"),C=I("form-dialog"),A=I("nice-popover"),v=I("fa-icon"),R=I("nice-tooltip");return u(),y("div",r2,[a.isRegularEvent?(u(),w(l,{key:0,class:"message-participant__rsvp",width:"220"},{reference:k(()=>[f("span",a2,[f("div",{class:U(`rounded-full opacity-50 w-[8px] h-[8px] ${a.rsvpColor}`)},null,2)])]),default:k(()=>[g(s,{style:{"max-height":"250px"}},{default:k(()=>[a.rsvp!=!0?(u(),w(o,{onClick:t[0]||(t[0]=O=>a.updateClientRsvp(!0)),key:"positive",title:"positive",style:{padding:"0 10px"},class:"flex justify-between"},{default:k(()=>[f("div",o2,[t[13]||(t[13]=f("div",{class:"rounded-full opacity-50 w-[8px] h-[8px] mr-[10px] bg-success"},null,-1)),Y(" "+S(e.$t("inbox.messageParticipant.attendance.true")),1)])]),_:1})):P("",!0),a.rsvp!=!1?(u(),w(o,{onClick:t[1]||(t[1]=O=>a.updateClientRsvp(!1)),key:"negative",title:"negative",style:{padding:"0 10px"},class:"flex justify-between"},{default:k(()=>[f("div",s2,[t[14]||(t[14]=f("div",{class:"rounded-full opacity-50 w-[8px] h-[8px] mr-[10px] bg-danger"},null,-1)),Y(" "+S(e.$t("inbox.messageParticipant.attendance.false")),1)])]),_:1})):P("",!0),a.rsvp!=null?(u(),w(o,{onClick:t[2]||(t[2]=O=>a.updateClientRsvp(null)),key:"null",title:"null",style:{padding:"0 10px"},class:"flex justify-between"},{default:k(()=>[f("div",l2,[t[15]||(t[15]=f("div",{class:"rounded-full opacity-50 w-[8px] h-[8px] mr-[10px] bg-neutral"},null,-1)),Y(" "+S(e.$t("inbox.messageParticipant.attendance.null")),1)])]),_:1})):P("",!0)]),_:1})]),_:1})):P("",!0),g(A,{trigger:"hover",width:i.isNeoTheme?286:320,"popper-class":"message-participant__popper preview-popover",transition:"none",placement:"bottom-start","show-arrow":!1,"show-after":500,offset:0,"popper-options":{modifiers:[{name:"offset",options:{offset:[20,0]}}]},disabled:a.hasNoPermissions},{reference:k(()=>{var O,N;return[(O=n.participant.client)!=null&&O.path||n.participant.path?(u(),w(d,{key:0,to:((N=n.participant.client)==null?void 0:N.path)||n.participant.path,class:"message-participant-link 
12138is-known-entity"},{default:k(()=>[Y(S(a.participantName),1)]),_:1},8,["to"])):(u(),y("span",d2,[Y(S(a.participantName)+" ",1),a.participantName!=n.participant.email&&n.participant.sender?(u(),y("span",c2," <"+S(n.participant.email)+"> ",1)):P("",!0)]))]}),default:k(()=>[i.isNeoTheme?(u(),w(c,{key:0,participant:n.participant,editable:n.editable,"popup-mode":n.popupMode,"tracking-events":n.trackingEvents,"tracking-events-count":n.trackingEventsCount,"tracking-events-loading":n.trackingEventsLoading,"tracking-events-no-more":n.trackingEventsNoMore,"tracking-events-error":n.trackingEventsError,onSelectClient:t[3]||(t[3]=O=>a.quickviewMailForClient(n.participant)),onAssignClient:a.openAssignClientDialog,onCreateClient:a.createClient,onLoadTrackingEvents:t[4]||(t[4]=O=>{var N;return e.$emit("load-tracking-events",((N=n.participant.client)==null?void 0:N.id)||n.participant.id)}),onLoadMoreTrackingEvents:t[5]||(t[5]=O=>{var N;return e.$emit("load-more-tracking-events",((N=n.participant.client)==null?void 0:N.id)||n.participant.id)}),onRetryTrackingEvents:t[6]||(t[6]=O=>{var N;return e.$emit("retry-tracking-events",((N=n.participant.client)==null?void 0:N.id)||n.participant.id)})},null,8,["participant","editable","popup-mode","tracking-events","tracking-events-count","tracking-events-loading","tracking-events-no-more","tracking-events-error","onAssignClient","onCreateClient"])):(u(),w(m,{key:1,participant:n.participant,editable:n.editable,"popup-mode":n.popupMode,"tracking-events":n.trackingEvents,"tracking-events-count":n.trackingEventsCount,"tracking-events-loading":n.trackingEventsLoading,"tracking-events-no-more":n.trackingEventsNoMore,"tracking-events-error":n.trackingEventsError,onSelectClient:t[7]||(t[7]=O=>a.quickviewMailForClient(n.participant)),onAssignClient:a.openAssignClientDialog,onCreateClient:a.createClient,onLoadTrackingEvents:t[8]||(t[8]=O=>{var N;return e.$emit("load-tracking-events",((N=n.participant.client)==null?void 0:N.id)||n.participant.id)}),onLoadMoreTrackingEvents:t[9]||(t[9]=O=>{var N;return e.$emit("load-more-tracking-events",((N=n.participant.client)==null?void 0:N.id)||n.participant.id)}),onRetryTrackingEvents:t[10]||(t[10]=O=>{var N;return e.$emit("retry-tracking-events",((N=n.participant.client)==null?void 0:N.id)||n.participant.id)})},null,8,["participant","editable","popup-mode","tracking-events","tracking-events-count","tracking-events-loading","tracking-events-no-more","tracking-events-error","onAssignClient","onCreateClient"])),g(C,{title:e.$t("inbox.messageParticipant.assigning"),visible:r.assignDialogVisible,"onUpdate:visible":t[12]||(t[12]=O=>r.assignDialogVisible=O),saving:r.assigning,onSubmit:a.assignClient,submitButtonTitle:e.$t("inbox.messageParticipant.assigning"),"append-to-body":""},{default:k(()=>[g(T,null,{default:k(()=>[g(h,{title:e.$t("inbox.messageParticipant.linkedClient")},{default:k(()=>[g(p,{ref:"clientSelect",modelValue:r.clientId,"onUpdate:modelValue":t[11]||(t[11]=O=>r.clientId=O),"include-children":""},null,8,["modelValue"])]),_:1},8,["title"])]),_:1})]),_:1},8,["title","visible","saving","onSubmit","submitButtonTitle"])]),_:1},8,["width","disabled"]),n.popupMode==="mailbox"&&n.participant.displayCompanyName?(u(),y("span",u2," ("+S(e.$customFilters.truncate(n.participant.displayCompanyName,17))+") ",1)):P("",!0),(D=n.participant.client)!=null&&D.warningNotice?(u(),y("span",p2,[g(R,{content:n.participant.client.warningNotice},{default:k(()=>[g(v,{name:"exclamation-triangle",class:"text-danger"})]),_:1},8,["content"])])):P("",!0)])}const Ol=te(i2,[["render",m2]]),uA=Object.freeze(Object.defineProperty({__proto__:null,default:Ol},Symbol.toStringTag,{value:"Module"}));var Le={};const h2=
vendor: 8,729 bytes, line 12138
12138[["AF","AFG","004","ISO 3166-2:AF"],["AL","ALB","008","ISO 3166-2:AL"],["DZ","DZA","012","ISO 3166-2:DZ"],["AS","ASM","016","ISO 3166-2:AS"],["AD","AND","020","ISO 3166-2:AD"],["AO","AGO","024","ISO 3166-2:AO"],["AI","AIA","660","ISO 3166-2:AI"],["AQ","ATA","010","ISO 3166-2:AQ"],["AG","ATG","028","ISO 3166-2:AG"],["AR","ARG","032","ISO 3166-2:AR"],["AM","ARM","051","ISO 3166-2:AM"],["AW","ABW","533","ISO 3166-2:AW"],["AU","AUS","036","ISO 3166-2:AU"],["AT","AUT","040","ISO 3166-2:AT"],["AZ","AZE","031","ISO 3166-2:AZ"],["BS","BHS","044","ISO 3166-2:BS"],["BH","BHR","048","ISO 3166-2:BH"],["BD","BGD","050","ISO 3166-2:BD"],["BB","BRB","052","ISO 3166-2:BB"],["BY","BLR","112","ISO 3166-2:BY"],["BE","BEL","056","ISO 3166-2:BE"],["BZ","BLZ","084","ISO 3166-2:BZ"],["BJ","BEN","204","ISO 3166-2:BJ"],["BM","BMU","060","ISO 3166-2:BM"],["BT","BTN","064","ISO 3166-2:BT"],["BO","BOL","068","ISO 3166-2:BO"],["BA","BIH","070","ISO 3166-2:BA"],["BW","BWA","072","ISO 3166-2:BW"],["BV","BVT","074","ISO 3166-2:BV"],["BR","BRA","076","ISO 3166-2:BR"],["IO","IOT","086","ISO 3166-2:IO"],["BN","BRN","096","ISO 3166-2:BN"],["BG","BGR","100","ISO 3166-2:BG"],["BF","BFA","854","ISO 3166-2:BF"],["BI","BDI","108","ISO 3166-2:BI"],["KH","KHM","116","ISO 3166-2:KH"],["CM","CMR","120","ISO 3166-2:CM"],["CA","CAN","124","ISO 3166-2:CA"],["CV","CPV","132","ISO 3166-2:CV"],["KY","CYM","136","ISO 3166-2:KY"],["CF","CAF","140","ISO 3166-2:CF"],["TD","TCD","148","ISO 3166-2:TD"],["CL","CHL","152","ISO 3166-2:CL"],["CN","CHN","156","ISO 3166-2:CN"],["CX","CXR","162","ISO 3166-2:CX"],["CC","CCK","166","ISO 3166-2:CC"],["CO","COL","170","ISO 3166-2:CO"],["KM","COM","174","ISO 3166-2:KM"],["CG","COG","178","ISO 3166-2:CG"],["CD","COD","180","ISO 3166-2:CD"],["CK","COK","184","ISO 3166-2:CK"],["CR","CRI","188","ISO 3166-2:CR"],["CI","CIV","384","ISO 3166-2:CI"],["HR","HRV","191","ISO 3166-2:HR"],["CU","CUB","192","ISO 3166-2:CU"],["CY","CYP","196","ISO 3166-2:CY"],["CZ","CZE","203","ISO 3166-2:CZ"],["DK","DNK","208","ISO 3166-2:DK"],["DJ","DJI","262","ISO 3166-2:DJ"],["DM","DMA","212","ISO 3166-2:DM"],["DO","DOM","214","ISO 3166-2:DO"],["EC","ECU","218","ISO 3166-2:EC"],["EG","EGY","818","ISO 3166-2:EG"],["SV","SLV","222","ISO 3166-2:SV"],["GQ","GNQ","226","ISO 3166-2:GQ"],["ER","ERI","232","ISO 3166-2:ER"],["EE","EST","233","ISO 3166-2:EE"],["ET","ETH","231","ISO 3166-2:ET"],["FK","FLK","238","ISO 3166-2:FK"],["FO","FRO","234","ISO 3166-2:FO"],["FJ","FJI","242","ISO 3166-2:FJ"],["FI","FIN","246","ISO 3166-2:FI"],["FR","FRA","250","ISO 3166-2:FR"],["GF","GUF","254","ISO 3166-2:GF"],["PF","PYF","258","ISO 3166-2:PF"],["TF","ATF","260","ISO 3166-2:TF"],["GA","GAB","266","ISO 3166-2:GA"],["GM","GMB","270","ISO 3166-2:GM"],["GE","GEO","268","ISO 3166-2:GE"],["DE","DEU","276","ISO 3166-2:DE"],["GH","GHA","288","ISO 3166-2:GH"],["GI","GIB","292","ISO 3166-2:GI"],["GR","GRC","300","ISO 3166-2:GR"],["GL","GRL","304","ISO 3166-2:GL"],["GD","GRD","308","ISO 3166-2:GD"],["GP","GLP","312","ISO 3166-2:GP"],["GU","GUM","316","ISO 3166-2:GU"],["GT","GTM","320","ISO 3166-2:GT"],["GN","GIN","324","ISO 3166-2:GN"],["GW","GNB","624","ISO 3166-2:GW"],["GY","GUY","328","ISO 3166-2:GY"],["HT","HTI","332","ISO 3166-2:HT"],["HM","HMD","334","ISO 3166-2:HM"],["VA","VAT","336","ISO 3166-2:VA"],["HN","HND","340","ISO 3166-2:HN"],["HK","HKG","344","ISO 3166-2:HK"],["HU","HUN","348","ISO 3166-2:HU"],["IS","ISL","352","ISO 3166-2:IS"],["IN","IND","356","ISO 3166-2:IN"],["ID","IDN","360","ISO 3166-2:ID"],["IR","IRN","364","ISO 3166-2:IR"],["IQ","IRQ","368","ISO 3166-2:IQ"],["IE","IRL","372","ISO 3166-2:IE"],["IL","ISR","376","ISO 3166-2:IL"],["IT","ITA","380","ISO 3166-2:IT"],["JM","JAM","388","ISO 3166-2:JM"],["JP","JPN","392","ISO 3166-2:JP"],["JO","JOR","400","ISO 3166-2:JO"],["KZ","KAZ","398","ISO 3166-2:KZ"],["KE","KEN","404","ISO 3166-2:KE"],["KI","KIR","296","ISO 3166-2:KI"],["KP","PRK","408","ISO 3166-2:KP"],["KR","KOR","410","ISO 3166-2:KR"],["KW","KWT","414","ISO 3166-2:KW"],["KG","KGZ","417","ISO 3166-2:KG"],["LA","LAO","418","ISO 3166-2:LA"],["LV","LVA","428","ISO 3166-2:LV"],["LB","LBN","422","ISO 3166-2:LB"],["LS","LSO","426","ISO 3166-2:LS"],["LR","LBR","430","ISO 3166-2:LR"],["LY","LBY","434","ISO 3166-2:LY"],["LI","LIE","438","ISO 3166-2:LI"],["LT","LTU","440","ISO 3166-2:LT"],["LU","LUX","442","ISO 3166-2:LU"],["MO","MAC","446","ISO 3166-2:MO"],["MG","MDG","450","ISO 3166-2:MG"],["MW","MWI","454","ISO 3166-2:MW"],["MY","MYS","458","ISO 3166-2:MY"],["MV","MDV","462","ISO 3166-2:MV"],["ML","MLI","466","ISO 3166-2:ML"],["MT","MLT","470","ISO 3166-2:MT"],["MH","MHL","584","ISO 3166-2:MH"],["MQ","MTQ","474","ISO 3166-2:MQ"],["MR","MRT","478","ISO 3166-2:MR"],["MU","MUS","480","ISO 3166-2:MU"],["YT","MYT","175","ISO 3166-2:YT"],["MX","MEX","484","ISO 3166-2:MX"],["FM","FSM","583","ISO 3166-2:FM"],["MD","MDA","498","ISO 3166-2:MD"],["MC","MCO","492","ISO 3166-2:MC"],["MN","MNG","496","ISO 3166-2:MN"],["MS","MSR","500","ISO 3166-2:MS"],["MA","MAR","504","ISO 3166-2:MA"],["MZ","MOZ","508","ISO 3166-2:MZ"],["MM","MMR","104","ISO 3166-2:MM"],["NA","NAM","516","ISO 3166-2:NA"],["NR","NRU","520","ISO 3166-2:NR"],["NP","NPL","524","ISO 3166-2:NP"],["NL","NLD","528","ISO 3166-2:NL"],["NC","NCL","540","ISO 3166-2:NC"],["NZ","NZL","554","ISO 3166-2:NZ"],["NI","NIC","558","ISO 3166-2:NI"],["NE","NER","562","ISO 3166-2:NE"],["NG","NGA","566","ISO 3166-2:NG"],["NU","NIU","570","ISO 3166-2:NU"],["NF","NFK","574","ISO 3166-2:NF"],["MP","MNP","580","ISO 3166-2:MP"],["MK","MKD","807","ISO 3166-2:MK"],["NO","NOR","578","ISO 3166-2:NO"],["OM","OMN","512","ISO 3166-2:OM"],["PK","PAK","586","ISO 3166-2:PK"],["PW","PLW","585","ISO 3166-2:PW"],["PS","PSE","275","ISO 3166-2:PS"],["PA","PAN","591","ISO 3166-2:PA"],["PG","PNG","598","ISO 3166-2:PG"],["PY","PRY","600","ISO 3166-2:PY"],["PE","PER","604","ISO 3166-2:PE"],["PH","PHL","608","ISO 3166-2:PH"],["PN","PCN","612","ISO 3166-2:PN"],["PL","POL","616","ISO 3166-2:PL"],["PT","PRT","620","ISO 3166-2:PT"],["PR","PRI","630","ISO 3166-2:PR"],["QA","QAT","634","ISO 3166-2:QA"],["RE","REU","638","ISO 3166-2:RE"],["RO","ROU","642","ISO 3166-2:RO"],["RU","RUS","643","ISO 3166-2:RU"],["RW","RWA","646","ISO 3166-2:RW"],["SH","SHN","654","ISO 3166-2:SH"],["KN","KNA","659","ISO 3166-2:KN"],["LC","LCA","662","ISO 3166-2:LC"],["PM","SPM","666","ISO 3166-2:PM"],["VC","VCT","670","ISO 3166-2:VC"],["WS","WSM","882","ISO 3166-2:WS"],["SM","SMR","674","ISO 3166-2:SM"],["ST","STP","678","ISO 3166-2:ST"],["SA","SAU","682","ISO 3166-2:SA"],["SN","SEN","686","ISO 3166-2:SN"],["SC","SYC","690","ISO 3166-2:SC"],["SL","SLE","694","ISO 3166-2:SL"],["SG","SGP","702","ISO 3166-2:SG"],["SK","SVK","703","ISO 3166-2:SK"],["SI","SVN","705","ISO 3166-2:SI"],["SB","SLB","090","ISO 3166-2:SB"],["SO","SOM","706","ISO 3166-2:SO"],["ZA","ZAF","710","ISO 3166-2:ZA"],["GS","SGS","239","ISO 3166-2:GS"],["ES","ESP","724","ISO 3166-2:ES"],["LK","LKA","144","ISO 3166-2:LK"],["SD","SDN","729","ISO 3166-2:SD"],["SR","SUR","740","ISO 3166-2:SR"],["SJ","SJM","744","ISO 3166-2:SJ"],["SZ","SWZ","748","ISO 3166-2:SZ"],["SE","SWE","752","ISO 3166-2:SE"],["CH","CHE","756","ISO 3166-2:CH"],["SY","SYR","760","ISO 3166-2:SY"],["TW","TWN","158","ISO 3166-2:TW"],["TJ","TJK","762","ISO 3166-2:TJ"],["TZ","TZA","834","ISO 3166-2:TZ"],["TH","THA","764","ISO 3166-2:TH"],["TL","TLS","626","ISO 3166-2:TL"],["TG","TGO","768","ISO 3166-2:TG"],["TK","TKL","772","ISO 3166-2:TK"],["TO","TON","776","ISO 3166-2:TO"],["TT","TTO","780","ISO 3166-2:TT"],["TN","TUN","788","ISO 3166-2:TN"],["TR","TUR","792","ISO 3166-2:TR"],["TM","TKM","795","ISO 3166-2:TM"],["TC","TCA","796","ISO 3166-2:TC"],["TV","TUV","798","ISO 3166-2:TV"],["UG","UGA","800","ISO 3166-2:UG"],["UA","UKR","804","ISO 3166-2:UA"],["AE","ARE","784","ISO 3166-2:AE"],["GB","GBR","826","ISO 3166-2:GB"],["US","USA","840","ISO 3166-2:US"],["UM","UMI","581","ISO 3166-2:UM"],["UY","URY","858","ISO 3166-2:UY"],["UZ","UZB","860","ISO 3166-2:UZ"],["VU","VUT","548","ISO 3166-2:VU"],["VE","VEN","862","ISO 3166-2:VE"],["VN","VNM","704","ISO 3166-2:VN"],["VG","VGB","092","ISO 3166-2:VG"],["VI","VIR","850","ISO 3166-2:VI"],["WF","WLF","876","ISO 3166-2:WF"],["EH","ESH","732","ISO 3166-2:EH"],["YE","YEM","887","ISO 3166-2:YE"],["ZM","ZMB","894","ISO 3166-2:ZM"],["ZW","ZWE","716","ISO 3166-2:ZW"],["AX","ALA","248","ISO 3166-2:AX"],["BQ","BES","535","ISO 3166-2:BQ"],["CW","CUW","531","ISO 3166-2:CW"],["GG","GGY","831","ISO 3166-2:GG"],["IM","IMN","833","ISO 3166-2:IM"],["JE","JEY","832","ISO 3166-2:JE"],["ME","MNE","499","ISO 3166-2:ME"],["BL","BLM","652","ISO 3166-2:BL"],["MF","MAF","663","ISO 3166-2:MF"],["RS","SRB","688","ISO 3166-2:RS"],["SX","SXM","534","ISO 3166-2:SX"],["SS","SSD","728","ISO 3166-2:SS"],["XK","XKX","
12138","ISO 3166-2:XK"]];var Ro;function f2(){if(Ro)return Le;Ro=1;var e=h2,t=wl().remove,n={},i={},r={},a={},o={};e.forEach(function(v){var R=v;i[R[0]]=R[1],r[R[1]]=R[0],a[R[2]]=R[0],o[R[0]]=R[2]});function s(v){return("000"+(v||"")).slice(-3)}function l(v){if(!v.locale)throw new TypeError("Missing localeData.locale");if(!v.countries)throw new TypeError("Missing localeData.countries");n[v.locale]=v.countries}Le.registerLocale=l;function d(v){return r[v]}Le.alpha3ToAlpha2=d;function c(v){return i[v]}Le.alpha2ToAlpha3=c;function m(v){return o[d(v)]}Le.alpha3ToNumeric=m;function p(v){return o[v]}Le.alpha2ToNumeric=p;function h(v){var R=s(v);return c(a[R])}Le.numericToAlpha3=h;function T(v){var R=s(v);return a[R]}Le.numericToAlpha2=T;function C(v){if(typeof v=="string"){if(/^[0-9]*$/.test(v))return h(v);if(v.length===2)return c(v.toUpperCase());if(v.length===3)return v.toUpperCase()}if(typeof v=="number")return h(v)}Le.toAlpha3=C;function A(v){if(typeof v=="string"){if(/^[0-9]*$/.test(v))return T(v);if(v.length===2)return v.toUpperCase();if(v.length===3)return d(v.toUpperCase())}if(typeof v=="number")return T(v)}return Le.toAlpha2=A,Le.getName=function(v,R){try{var D=n[R.toLowerCase()];return D[A(v)]}catch{return}},Le.getNames=function(v){var R=n[v.toLowerCase()];return R===void 0?{}:R},Le.getAlpha2Code=function(v,R){try{var D,O=n[R.toLowerCase()];for(D in O)if(O.hasOwnProperty(D)&&O[D].toLowerCase()===v.toLowerCase())return D;return}catch{return}},Le.getSimpleAlpha2Code=function(v,R){try{var D,O=n[R.toLowerCase()];for(D in O)if(O.hasOwnProperty(D)&&t(O[D].toLowerCase())===t(v.toLowerCase()))return D;return}catch{return}},Le.getAlpha2Codes=function(){return i},Le.getAlpha3Code=function(v,R){var D=this.getAlpha2Code(v,R);if(D)return this.toAlpha3(D)},Le.getSimpleAlpha3Code=function(v,R){var D=this.getSimpleAlpha2Code(v,R);if(D)return this.toAlpha3(D)},Le.getAlpha3Codes=function(){return r},Le.getNumericCodes=function(){return a},Le.langs=function(){return Object.keys(n)},Le.isValid=function(v){if(!v)return!1;var R=v.toString().toUpperCase();return r.hasOwnProperty(R)||i.hasOwnProperty(R)||a.hasOwnProperty(R)},Le}var na=f2();const g2={class:"flex text-black p-3"},y2={class:"text-left"},b2=["title"],v2={key:0},I2={key:0,class:"text-sm"},C2={class:"mt-1 text-sm flex flex-col"},S2={key:0},_2={key:1},k2={key:2},T2={key:3},w2={key:4},F2={class:"mt-1 text-sm"},P2={key:0},A2={key:1},$2={key:2},R2=K({__name:"PropertyPreviewCard",props:{property:{},currency:{},country:{}},setup(e){return(t,n)=>{const i=I("router-link");return u(),w(i,{to:e.property.path,class:"card-hover"},{default:k(()=>[f("main",g2,[g(Cl,{url:e.property.titleImageUrl,class:"mr-3"},null,8,["url"]),f("section",y2,[f("p",null,[f("strong",{title:e.property.name,class:"header-underline"},[Y(S(e.property.marketingTypeLabel+" › "+e.property.rsTypeLabel)+" ",1),e.property.categoryLabel?(u(),y("span",v2,S(" › "+e.property.categoryLabel),1)):P("",!0)],8,b2),n[0]||(n[0]=f("br",null,null,-1)),f("strong",null,S(e.property.zipCode+" "+e.property.city),1),n[1]||(n[1]=f("br",null,null,-1)),e.property.region||e.country?(u(),y("span",I2,S(e.property.region?`${e.property.region}, `:"")+S(e.country),1)):P("",!0)]),f("p",C2,[e.property.numberOfRooms?(u(),y("span",S2,S(t.$t("inbox.propertyCard.numberOfRooms",{rooms:e.property.numberOfRooms})),1)):P("",!0),e.property.livingSpace?(u(),y("span",_2,S(t.$t("inbox.propertyCard.livingSpace",{space:e.property.livingSpace})),1)):P("",!0),e.property.plotArea?(u(),y("span",k2,S(t.$t("inbox.propertyCard.plotArea",{space:e.property.plotArea})),1)):P("",!0),e.property.industrialArea?(u(),y("span",T2,S(t.$t("inbox.propertyCard.industrialArea",{space:e.property.industrialArea})),1)):P("",!0),e.property.constructionYear?(u(),y("span",w2,S(t.$t("inbox.propertyCard.constructionYear",{year:e.property.constructionYear})),1)):P("",!0)]),f("p",F2,[e.property.marketingPrice?(u(),y("span",P2,S(t.$t(e.property.marketingType=="BUY"?"inbox.propertyCard.price":"inbox.propertyCard.baseRent"))+" "+S(t.$customFilters.numberToCurrency(e.property.marketingPrice,e.currency)),1)):e.property.valuationPrice?(u(),y("span",A2,S(t.$t("inbox.propertyCard.valuationPrice",{price:t.$customFilters.numberToCurrency(e.property.valuationPrice,e.currency)})),1)):e.property.valuationPriceFrom||e.property.valuationPriceTo?(u(),y("span",$2,S(t.$t("inbox.propertyCard.valuationPrice",{price:t.$customFilters.numberToCurrency(e.property.valuationPriceFrom,e.currency)+" - "+t.$customFilters.numberToCurrency(e.property.valuationPriceTo,e.currency)})),1)):P("",!0)])])])]),_:1},8,["to"])}}}),D2=["title"],N2={class:"mb-1"},O2={key:0,class:"text-sm"},E2={class:"text-sm"},M2={key:0,class:"grid grid-cols-2 gap-4"},V2={class:"font-semibold"},L2={key:1,class:"grid grid-cols-2 gap-4"},B2={class:"font-semibold"},U2={key:2,class:"grid grid-cols-2 gap-4"},q2={class:"font-semibold"},x2={key:3,class:"grid grid-cols-2 gap-4"},z2={class:"font-semibold"},G2={key:4,class:"grid grid-cols-2 gap-4"},j2={class:"font-semibold"},H2={key:5,class:"grid grid-cols-2 gap-4"},W2={class:"font-semibold"},K2={key:6,class:"grid grid-cols-2 gap-4"},Y2={class:"font-semibold"},Q2={key:7,class:"grid grid-cols-2 gap-4"},Z2={class:"font-semibold"},J2=K({__name:"PropertyPreviewCard.Neo",props:{property:{},currency:{},country:{}},setup(e){return(t,n)=>{const i=I("router-link");return u(),w(E(zs),{class:"property-preview"},{header:k(()=>[f("div",null,S(e.property.name),1),f("div",{title:e.property.name,class:"subtitle"},[g(ob,{resource:e.property},null,8,["resource"])],8,D2)]),image:k(()=>[g(Cl,{url:e.property.titleImageUrl}
12138,null,8,["url"])]),content:k(()=>[f("div",N2,[f("div",null,S(e.property.zipCode+" "+e.property.city),1),e.property.region||e.country?(u(),y("span",O2,S(e.property.region?`${e.property.region}, `:"")+S(e.country),1)):P("",!0)]),f("div",E2,[e.property.numberOfRooms?(u(),y("div",M2,[f("span",null,S(t.$t("inbox.propertyCard.labels.rooms")),1),f("span",V2,S(e.property.numberOfRooms),1)])):P("",!0),e.property.livingSpace?(u(),y("div",L2,[f("span",null,S(t.$t("inbox.propertyCard.labels.livingSpace")),1),f("span",B2,S(e.property.livingSpace),1)])):P("",!0),e.property.plotArea?(u(),y("div",U2,[f("span",null,S(t.$t("inbox.propertyCard.labels.plotArea")),1),f("span",q2,S(t.$t("inbox.propertyCard.labels.sqm",{space:e.property.plotArea})),1)])):P("",!0),e.property.industrialArea?(u(),y("div",x2,[f("span",null,S(t.$t("inbox.propertyCard.labels.industrialArea")),1),f("span",z2,S(t.$t("inbox.propertyCard.labels.sqm",{space:e.property.industrialArea})),1)])):P("",!0),e.property.constructionYear?(u(),y("div",G2,[f("span",null,S(t.$t("inbox.propertyCard.labels.constructionYear")),1),f("span",j2,S(e.property.constructionYear),1)])):P("",!0),e.property.marketingPrice?(u(),y("div",H2,[f("span",null,S(t.$t(e.property.marketingType=="BUY"?"inbox.propertyCard.price":"inbox.propertyCard.baseRent")),1),f("span",W2,S(t.$customFilters.numberToCurrency(e.property.marketingPrice,e.currency)),1)])):e.property.valuationPrice?(u(),y("div",K2,[f("span",null,S(t.$t("inbox.propertyCard.labels.valuationPrice")),1),f("span",Y2,S(t.$customFilters.numberToCurrency(e.property.valuationPrice,e.currency)),1)])):e.property.valuationPriceFrom||e.property.valuationPriceTo?(u(),y("div",Q2,[f("span",null,S(t.$t("inbox.propertyCard.labels.valuationPrice")),1),f("span",Z2,S(t.$customFilters.numberToCurrency(e.property.valuationPriceFrom,e.currency)+" - "+t.$customFilters.numberToCurrency(e.property.valuationPriceTo,e.currency)),1)])):P("",!0)])]),footer:k(()=>[g(i,{class:"text-link",to:e.property.path},{default:k(()=>[Y(S(t.$t("inbox.propertyCard.link")),1)]),_:1},8,["to"])]),_:1})}}}),El=te(J2,[["__scopeId","data-v-bf0bcfd9"]]),pA=Object.freeze(Object.defineProperty({__proto__:null,default:El},Symbol.toStringTag,{value:"Module"})),X2=$e(`
12139  query PropertyPreview($id: ID!) {
12140    property(id: $id) {
12141      id
12142      name
12143      marketingType
12144      marketingTypeLabel
12145      marketingPrice
12146      categoryLabel
12147      rsTypeLabel
12148      zipCode
12149      city
12150      region
12151      country
12152      numberOfRooms
12153      livingSpace
12154      plotArea
12155      industrialArea
12156      constructionYear
12157      valuationPrice
12158      valuationPriceFrom
12159      valuationPriceTo
12160      currency
12161      titleImageUrl
12162      path
12163    }
12164  }
12165`),Hi=new Map,Wi=new Map,e0=["id","name","marketingType","marketingTypeLabel","marketingPrice","categoryLabel","rsTypeLabel","zipCode","city","region","country","numberOfRooms","livingSpace","plotArea","industrialArea","constructionYear","valuationPrice","valuationPriceFrom","valuationPriceTo","currency","titleImageUrl","path"],t0=e=>e?e0.every(t=>Object.prototype.hasOwnProperty.call(e,t)):!1,n0={components:{PropertyPreviewCard:R2,PropertyPreviewCardNeo:El},props:{property:{type:Object}},setup(){const{isNeoTheme:e}=Ee();return{isNeoTheme:e}},data(){return{isLoading:!1,loadedProperty:null}},watch:{"property.id":{immediate:!0,handler(e){if(!e){this.loadedProperty=null;return}this.loadedProperty=Hi.get(String(e))||null}}},computed:{previewProperty(){const e={...this.loadedProperty||{},...this.property||{}};return!e.path&&e.id&&(e.path=`/portfolio/properties/${e.id}`),e},propertyPath(){return this.previewProperty.path||null},shouldLoadPreviewData(){var e;return!!((e=this.property)!=null&&e.id)&&!t0(this.previewProperty)},currency(){return this.previewProperty.currency?this.previewProperty.currency:this.$db.shopData.currency},country(){if(!this.previewProperty.country)return null;const e=na.getNames(this.$db.broker.locale),t=na.alpha3ToAlpha2(this.previewProperty.country);return e[t]}},methods:{async loadPreviewData(){if(!this.shouldLoadPreviewData||this.isLoading)return;const e=String(this.property.id),t=Hi.get(e);if(t){this.loadedProperty=t;return}this.isLoading=!0;try{let n=Wi.get(e);n||(n=this.$graphql(X2,{id:e}).then(r=>r==null?void 0:r.property),Wi.set(e,n));const i=await n;i&&(Hi.set(e,i),this.loadedProperty=i)}finally{this.isLoading=!1,Wi.delete(e)}}}},i0={key:1},r0={key:0,class:"property-preview-loading"};function a0(e,t,n,i,r,a){const o=I("router-link"),s=I("spinner"),l=I("PropertyPreviewCardNeo"),d=I("PropertyPreviewCard"),c=I("nice-popover");return u(),y("span",null,[g(c,{trigger:"hover",width:"320px","popper-class":"preview-popover",transition:"none","show-arrow":!1,"show-after":500,offset:0,placement:"bottom-start","popper-options":{modifiers:[{name:"offset",options:{offset:[20,0]}}]},onShow:a.loadPreviewData},{reference:k(()=>[a.propertyPath?(u(),w(o,{key:0,to:a.propertyPath},{default:k(()=>[Y(S(a.previewProperty.name),1)]),_:1},8,["to"])):(u(),y("span",i0,S(a.previewProperty.name),1))]),default:k(()=>[r.isLoading?(u(),y("div",r0,[g(s,{centered:""})])):i.isNeoTheme?(u(),w(l,{key:1,property:a.previewProperty,currency:a.currency,country:a.country},null,8,["property","currency","country"])):(u(),w(d,{key:2,property:a.previewProperty,currency:a.currency,country:a.country},null,8,["property","currency","country"]))]),_:1},8,["onShow"])])}const Ml=te(n0,[["render",a0],["__scopeId","data-v-112189bc"]]),mA=Object.freeze(Object.defineProperty({__proto__:null,default:Ml},Symbol.toStringTag,{value:"Module"})),o0="ps-confirm-dialog",s0="ps-confirm-dialog__danger-button",Vl=e=>{let t=!1;const n=!!e.confirmationCheckboxText,i=[o0,n&&"integration-consent-dialog"].filter(
12165Boolean).join(" "),r=n?()=>Kt("div",{class:"max-h-[calc(100vh-240px)] space-y-4 overflow-y-auto pr-1 text-left"},[Kt("div",{class:"[&_li]:mb-1 [&_p]:mb-3 [&_ul]:mb-3 [&_ul]:list-disc [&_ul]:pl-5",...e.dangerouslyUseHTMLString?{innerHTML:e.message||""}:{textContent:e.message||""}}),Kt("label",{class:"flex items-start gap-2 cursor-pointer"},[Kt("input",{"aria-label":e.confirmationCheckboxText,class:"mt-1",type:"checkbox",onChange:o=>{t=o.target.checked}}),Kt("span",{class:"flex-1"},e.confirmationCheckboxText)])]):e.message||"",a=n?(o,s,l)=>{var d;if(o==="confirm"&&!t){(d=document.querySelector(".integration-consent-dialog input[type='checkbox']"))==null||d.focus();return}l()}:void 0;
12165return vc.confirm(r,e.title,{confirmButtonText:e.confirmButtonText||Q.global.t("common.confirm").toString(),cancelButtonText:e.cancelButtonText||Q.global.t("common.cancel").toString(),type:e.type||"warning",confirmButtonClass:e.danger?s0:void 0,customClass:i,...n?{beforeClose:a,customStyle:{maxWidth:"720px",width:"calc(100vw - 32px)"}}:e.dangerouslyUseHTMLString?{dangerouslyUseHTMLString:!0}:{}})},hA=()=>({confirmDialog:Vl}),Pi=()=>{const e=ca();if(!e)throw new Error("useNotifications must be called within a composition API component");const t=e.proxy;return{showError:(n,i)=>t.$flashy(n,"error",!0,i),showSuccess:(n,i)=>t.$flashy(n,"success",!0,i),showMessage:(n,i,r,a)=>t.$flashy(n,i??"info",a,r),showNotification:(n,i,r)=>t.$notification(n,i,r),showConfirm:(n,i,r,a,o,s,l)=>Vl({title:n,message:i,confirmButtonText:r,cancelButtonText:a,danger:o}).then(()=>s()).catch(()=>(l??(()=>{}))())}};var Ki,Do;function l0(){if(Do)return Ki;Do=1;var e=typeof ei=="object"&&ei&&ei.Object===Object&&ei;return Ki=e,Ki}var Yi,No;function ka(){if(No)return Yi;No=1;var e=l0(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Yi=n,Yi}var Qi,Oo;function Ll(){if(Oo)return Qi;Oo=1;var e=ka(),t=e.Symbol;return Qi=t,Qi}var Zi,Eo;function d0(){if(Eo)return Zi;Eo=1;var e=Ll(),t=Object.prototype,n=t.hasOwnProperty,i=t.toString,r=e?e.toStringTag:void 0;function a(o){var s=n.call(o,r),l=o[r];try{o[r]=void 0;var d=!0}catch{}var c=i.call(o);return d&&(s?o[r]=l:delete o[r]),c}return Zi=a,Zi}var Ji,Mo;function c0(){if(Mo)return Ji;Mo=1;var e=Object.prototype,t=e.toString;function n(i){return t.call(i)}return Ji=n,Ji}var Xi,Vo;function u0(){if(Vo)return Xi;Vo=1;var e=Ll(),t=d0(),n=c0(),i="[object Null]",r="[object Undefined]",a=e?e.toStringTag:void 0;function o(s){return s==null?s===void 0?r:i:a&&a in Object(s)?t(s):n(s)}return Xi=o,Xi}var er,Lo;function Bl(){if(Lo)return er;Lo=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return er=e,er}var tr,Bo;function p0(){if(Bo)return tr;Bo=1;var e=u0(),t=Bl(),n="[object AsyncFunction]",i="[object Function]",r="[object GeneratorFunction]",a="[object Proxy]";function o(s){if(!t(s))return!1;var l=e(s);return l==i||l==r||l==n||l==a}return tr=o,tr}var nr,Uo;function m0(){if(Uo)return nr;Uo=1;var e=ka(),t=e["__core-js_shared__"];return nr=t,nr}var ir,qo;function h0(){if(qo)return ir;qo=1;var e=m0(),t=(function(){var i=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})();function n(i){return!!t&&t in i}return ir=n,ir}var rr,xo;function f0(){if(xo)return rr;xo=1;var e=Function.prototype,t=e.toString;function n(i){if(i!=null){try{return t.call(i)}catch{}try{return i+""}catch{}}return""}return rr=n,rr}var ar,zo;function g0(){if(zo)return ar;zo=1;var e=p0(),t=h0(),n=Bl(),i=f0(),r=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,s=Object.prototype,l=o.toString,d=s.hasOwnProperty,c=RegExp("^"+l.call(d).replace(r,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m(p){if(!n(p)||t(p))return!1;var h=e(p)?c:a;return h.test(i(p))}return ar=m,ar}var or,Go;function y0(){if(Go)return or;Go=1;function e(t,n){return t==null?void 0:t[n]}return or=e,or}var sr,jo;function Ul(){if(jo)return sr;jo=1;var e=g0(),t=y0();function n(i,r){var a=t(i,r);return e(a)?a:void 0}return sr=n,sr}var lr,Ho;function Ai(){if(Ho)return lr;Ho=1;var e=Ul(),t=e(Object,"create");return lr=t,lr}var dr,Wo;function b0(){if(Wo)return dr;Wo=1;var e=Ai();function t(){this.__data__=e?e(null):{},this.size=0}return dr=t,dr}var cr,Ko;function v0(){if(Ko)return cr;Ko=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return cr=e,cr}var ur,Yo;function I0(){if(Yo)return ur;Yo=1;var e=Ai(),t="__lodash_hash_undefined__",n=Object.prototype,i=n.hasOwnProperty;function r(a){var o=this.__data__;if(e){var s=o[a];return s===t?void 0:s}return i.call(o,a)?o[a]:void 0}return ur=r,ur}var pr,Qo;function C0(){if(Qo)return pr;Qo=1;var e=Ai(),t=Object.prototype,n=t.hasOwnProperty;function i(r){var a=this.__data__;return e?a[r]!==void 0:n.call(a,r)}return pr=i,pr}var mr,Zo;function S0(){if(Zo)return mr;Zo=1;var e=Ai(),t="__lodash_hash_undefined__";function n(i,r){var a=this.__data__;return this.size+=this.has(i)?0:1,a[i]=e&&r===void 0?t:r,this}return mr=n,mr}var hr,Jo;function _0(){if(Jo)return hr;Jo=1;
12165var e=b0(),t=v0(),n=I0(),i=C0(),r=S0();function a(o){var s=-1,l=o==null?0:o.length;for(this.clear();++s<l;){var d=o[s];this.set(d[0],d[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=i,a.prototype.set=r,hr=a,hr}var fr,Xo;function k0(){if(Xo)return fr;Xo=1;function e(){this.__data__=[],this.size=0}return fr=e,fr}var gr,es;function T0(){if(es)return gr;es=1;function e(t,n){return t===n||t!==t&&n!==n}return gr=e,gr}var yr,ts;function $i(){if(ts)return yr;ts=1;var e=T0();function t(n,i){for(var r=n.length;r--;)if(e(n[r][0],i))return r;return-1}return yr=t,yr}var br,ns;function w0(){if(ns)return br;ns=1;var e=$i(),t=Array.prototype,n=t.splice;function i(r){var a=this.__data__,o=e(a,r);if(o<0)return!1;var s=a.length-1;return o==s?a.pop():n.call(a,o,1),--this.size,!0}return br=i,br}var vr,is;function F0(){if(is)return vr;is=1;var e=$i();function t(n){var i=this.__data__,r=e(i,n);return r<0?void 0:i[r][1]}return vr=t,vr}var Ir,rs;function P0(){if(rs)return Ir;rs=1;var e=$i();function t(n){return e(this.__data__,n)>-1}return Ir=t,Ir}var Cr,as;function A0(){if(as)return Cr;as=1;var e=$i();function t(n,i){var r=this.__data__,a=e(r,n);return a<0?(++this.size,r.push([n,i])):r[a][1]=i,this}return Cr=t,Cr}var Sr,os;function $0(){if(os)return Sr;os=1;var e=k0(),t=w0(),n=F0(),i=P0(),r=A0();function a(o){var s=-1,l=o==null?0:o.length;for(this.clear();++s<l;){var d=o[s];this.set(d[0],d[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=i,a.prototype.set=r,Sr=a,Sr}var _r,ss;function R0(){if(ss)return _r;ss=1;var e=Ul(),t=ka(),n=e(t,"Map");return _r=n,_r}var kr,ls;function D0(){if(ls)return kr;ls=1;var e=_0(),t=$0(),n=R0();function i(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return kr=i,kr}var Tr,ds;function N0(){if(ds)return Tr;ds=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return Tr=e,Tr}var wr,cs;function Ri(){if(cs)return wr;cs=1;var e=N0();function t(n,i){var r=n.__data__;return e(i)?r[typeof i=="string"?"string":"hash"]:r.map}return wr=t,wr}var Fr,us;function O0(){if(us)return Fr;us=1;var e=Ri();function t(n){var i=e(this,n).delete(n);return this.size-=i?1:0,i}return Fr=t,Fr}var Pr,ps;function E0(){if(ps)return Pr;ps=1;var e=Ri();function t(n){return e(this,n).get(n)}return Pr=t,Pr}var Ar,ms;function M0(){if(ms)return Ar;ms=1;var e=Ri();function t(n){return e(this,n).has(n)}return Ar=t,Ar}var $r,hs;function V0(){if(hs)return $r;hs=1;var e=Ri();function t(n,i){var r=e(this,n),a=r.size;return r.set(n,i),this.size+=r.size==a?0:1,this}return $r=t,$r}var Rr,fs;function L0(){if(fs)return Rr;fs=1;var e=D0(),t=O0(),n=E0(),i=M0(),r=V0();function a(o){var s=-1,l=o==null?0:o.length;for(this.clear();++s<l;){var d=o[s];this.set(d[0],d[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=i,a.prototype.set=r,Rr=a,Rr}var Dr,gs;function B0(){if(gs)return Dr;gs=1;var e=L0(),t="Expected a function";function n(i,r){if(typeof i!="function"||r!=null&&typeof r!="function")throw new TypeError(t);var a=function(){var o=arguments,s=r?r.apply(this,o):o[0],l=a.cache;if(l.has(s))return l.get(s);var d=i.apply(this,o);return a.cache=l.set(s,d)||l,d};return a.cache=new(n.Cache||e),a}return n.Cache=e,Dr=n,Dr}var U0=B0();const ql=gc(U0),q0=(e,t)=>{const n=new Set;return e.forEach(i=>{const r=t[i];r&&(r.children&&r.children.length>0?Wn(r,t).forEach(o=>n.add(o)):n.add(i))}),Array.from(n)},x0=e=>{const t={},n=i=>{i.forEach(r=>{t[r.value]=r,r.children&&n(r.children)})};return e&&e.length>0&&n(e),t},Wn=ql((e,t)=>{const n=[],i=t[e.value];return i?(!i.children||i.children.length===0?n.push(i.value):i.children.forEach(r=>{n.push(...Wn(r,t))}),Ii.uniq(n)):[e.value]},(e,t)=>e.value),z0=e=>{const t=[],n=(i,r)=>{i.forEach(a=>{t.push({...a,depth:r}),a.children&&n(a.children,r+1)})};return n(e,0),t.sort((i,r)=>r.depth-i.depth)},G0=(e,t,n)=>{const i=new Set(e);return z0(t).forEach(a=>{if(a.children&&a.children.length>0){const o=a.children.map(l=>l.value);o.every(l=>{const d=n[l];return d?i.has(l)?!0:d.children&&d.children.length>0?Wn(d,n).every(m=>i.has(m)):!1:!1}
12165)&&a.children.length&&(o.forEach(l=>{const d=n[l];d&&Wn(d,n).forEach(c=>i.delete(c)),i.delete(l)}),i.add(a.value))}}),Array.from(i)},xl=ql((e,t)=>{if(!e||!t[e.value])return 0;const n=t[e.value];if(n._leafCount!==void 0)return n._leafCount;if(!n.children||n.children.length===0)return 1;const i=n.children.reduce((r,a)=>r+xl(a,t),0);return n._leafCount=i,i},(e,t)=>e.value),j0={key:0,class:"nice-cascader__child-count"},H0=K({__name:"LocationSelect",props:{placeholder:{},locations:{},modelValue:{},maxIndividualNodes:{default:500}},emits:["update:modelValue"],setup(e,{emit:t}){const n=ce(null),i=e,r=t,{t:a}=ot(),o=ce([]),s=ce(""),l=F(()=>x0(i.locations)),d=()=>{const p=i.modelValue||[];o.value=q0(p,l.value)},c=(p,h)=>(s.value=h,p.text.toLowerCase().includes(h.toLowerCase())),m=p=>{const h=G0(p,i.locations,l.value);if(h.length>i.maxIndividualNodes){App.warn(a("locationSelect.tooManyLocations",{selected:h.length,allowed:i.maxIndividualNodes})),console.warn(`LocationSelect: Too many locations selected (${h.length}). Maximum allowed is ${i.maxIndividualNodes}.`),d();return}s.value.trim()!==""&&(n.value.cascader.togglePopperVisible(!1),s.value=""),r("update:modelValue",h)};return ze(()=>i.modelValue,()=>{d()},{deep:!0,immediate:!0}),ze(()=>i.locations,()=>{var p,h,T,C;(h=(p=Wn.cache).clear)==null||h.call(p),(C=(T=xl.cache).clear)==null||C.call(T),d()},{deep:!0}),(p,h)=>(u(),w(E(pc),{ref_key:"cascaderRef",ref:n,props:{multiple:!0,emitPath:!1,checkStrictly:!1},modelValue:o.value,"onUpdate:modelValue":[h[0]||(h[0]=T=>o.value=T),m],options:i.locations,placeholder:i.placeholder,"show-all-levels":!0,"collapse-tags":!0,clearable:"",filterable:"","filter-method":c},{default:k(({node:T,data:C})=>[f("span",null,S(C.label),1),T.isLeaf?P("",!0):(u(),y("span",j0,"("+S(C.children.length)+")",1))]),_:1},8,["modelValue","options","placeholder"]))}}),ia={LIVING:["APARTMENT","HOUSE","TRADE_SITE","GARAGE","SHORT_TERM_ACCOMODATION"],RENT_LIVING:["FLAT_SHARE_ROOM","ASSISTED_LIVING","SENIOR_CARE"],COMMERCIAL:["OFFICE","GASTRONOMY","INDUSTRY","STORE","TRADE_SITE","SPECIAL_PURPOSE"],INVESTMENT:["INVESTMENT"]},zl=["TRADE_SITE","FLAT_SHARE_ROOM","ASSISTED_LIVING","SENIOR_CARE"],W0={APARTMENT:"apartment_type",HOUSE:"building_type",GARAGE:"garage_type",SHORT_TERM_ACCOMODATION:"short_term_accomodation_type",OFFICE:"office_type",GASTRONOMY:"gastronomy_type",INDUSTRY:"industry_type",STORE:"store_type",SPECIAL_PURPOSE:"special_purpose_type",INVESTMENT:"investment_type"};function Di(e){return Array.isArray(e)?e:!e||typeof e!="object"?[]:Object.keys(e).map(t=>({id:t,name:String(e[t])}))}function K0(e){return!!e&&!zl.includes(e)}function Y0(e){return!!e&&ia.RENT_LIVING.includes(e)}function Q0(e){return Di(e.shopData.propertyOptionsMapping.marketing_type)}function Z0(e,t){const n=Di(e.shopData.propertyOptionsMapping.object_type);return t==="RENT"?n.filter(i=>i.id!=="INVESTMENT"):n}function J0(e,t,n){if(!t)return[];let i=ia[t]||[];return n==="RENT"&&t==="LIVING"&&(i=[...i,...ia.RENT_LIVING]),Di(e.shopData.propertyOptionsMapping.rs_type).filter(r=>i.includes(String(r.id)))}function X0(e,t){const n=t?W0[t]:null;if(!n)return[];const i=Di(e.shopData.propertyOptionsMapping[n]),r=(e.shopData.customCategories||[]).filter(a=>a.rsType===t).map(a=>({id:String(a.id),name:a.name}));return[...i,...r]}function fA(e,t){return t!=null&&t.rs_type&&(t.object_type&&(e.object_type=t.object_type),e.rs_type=t.rs_type,K0(t.rs_type)&&t.rs_category!==void 0&&t.rs_category!==null&&t.rs_category!==""?e.rs_category=t.rs_category:delete e.rs_category),e}const Nr="IS24",ys=({id:e,name:t})=>({value:String(e),label:t}),eI=(e,t)=>{const n=[...e],i=t?String(t):null,r=[...new Set(n.map(({portalName:s})=>s||Nr))],a=r.length===1?r[0]:Nr;i&&!n.some(({id:s})=>String(s)===i)&&n.push({id:i,name:i,portalName:a});const o=Object.entries(n.reduce((s,l)=>{const d=l.portalName||Nr;return s[d]||(s[d]=[]),s[d].push(l),s},{})).sort(([s],[l])=>s.localeCompare(l)).map(([s,l])=>{const d=i?l.find(({id:m,name:p})=>String(m)===i&&p===i):null,c=l.filter(m=>m!==d).sort((m,p)=>m.name.localeCompare(p.name)).map(ys);return d&&c.push(ys(d)),{label:s,children:c}});return o.length===1?o[0].children||[]:o},Gl=e=>Array.isArray(e)?!!e.length:!!e,tI=e=>{const t=e.geometry;return t&&Array.isArray(t.values)&&t.values.length>0?!0:Array.isArray(e.polygon)&&e.polygon.length>0||e.lng!==void 0&&e.lng!==null&&e.lat!==void 0&&e.lat!==null&&e.radius!==void 0&&e.radius!==null},ft=(e,t)=>{const n=typeof t=="function"?!t(e):!t;return e.mandatory&&!e.readonly&&n&&e.submitAttempt},nI=(e,t)=>{const n=e.formField.alternateFieldNames||[];return[e.fieldName,...n].some(r=>Gl(t[r]))},Ge=(e,t)=>
12165{if(e.fieldName==="geometry")return ft(e,tI(t));if(e.formField.type===W.range){const n=e.formField.unit==="currency"?t[`${e.fieldName}_to`]:t[e.fieldName];return ft(e,Gl(n))}if(e.formField.type===W.yesNo){const n=t[e.fieldName];return ft(e,n!=null&&n!=="")}return ft(e,nI(e,t))},gA=[],yA=[{value:"exposee_id.number",fieldName:"exposee_id"},{value:"construction_year"},{value:"unit_id.raw",fieldName:"unit_id"},{value:"floor"},{value:"created_at"},{value:"property_space_value",fieldName:"space"},{value:"district.keyword",fieldName:"district"},{value:"plot_area"},{value:"base_rent"},{value:"price"},{value:"city.raw",fieldName:"city"},{value:"object_price",fieldName:"prop_price"},{value:"price_per_sqm",fieldName:"custom_price_per_sqm"},{value:"property_status_position",fieldName:"property_status_id"},{value:"status_updated_at"},{value:"street_number.raw",fieldName:"street"},{value:"sold_date"},{value:"total_rent"},{value:"number_of_rooms"},{value:"reserved_client_properties.deal_stage_chance",fieldName:"highest_stage"},{value:"updated_at"},{value:"duration_until"},{value:"marketing_start_date"}],bA=e=>{const t=Ne.keyBy(e.connections.map(n=>({...n,children:[]})),n=>n.id);return Object.values(t).forEach(n=>{var i;return n.parentConnectionId&&((i=t[n.parentConnectionId])==null?void 0:i.children.push(n.id))}),{connections:t,dealStages:Ne.keyBy(e.dealStages,n=>n.id),brokers:Ne.keyBy(e.brokers||[],n=>n.id),propertyStatuses:Ne.keyBy(e.propertyStatuses,n=>n.id),propertyGroups:Ne.keyBy(e.propertyGroups,n=>n.id),teams:Ne.keyBy(e.teams,n=>n.id),projects:Ne.keyBy(e.projects,n=>n.id)}},vA=(e,t)=>e.no_access?{id:e.id,no_access:!0,name:e.name,path:`/portfolio/properties/${e.id}`,broker:t.brokers[e.broker_id],status:t.propertyStatuses[e.property_status_id],property_status_id:e.property_status_id,team:null,project:null,get_price:null,groups:[],publishings:[],city:e.city,marketing_type:e.marketing_type}:{...e,path:`/portfolio/properties/${e.id}`,...iI(e,t),broker:t.brokers[e.broker_id],status:t.propertyStatuses[e.property_status_id],team:t.teams[e.team_id],project:t.projects[e.project_id],get_price:e.marketing_type==="RENT"?e.base_rent:e.price,clients:(e.reserved_client_properties||[]).map(n=>{var i;return{id:n.id,clientId:n.client_id,clientName:n.client_name,brokerId:n.broker_id,brokerName:((i=t.brokers[n.broker_id])==null?void 0:i.name)||"",dealStageId:n.deal_stage_id,dealStage:qn(n,t),date:n.date,dateFormatted:n.date?cn(n.date).format("l"):""}}).filter(n=>n.dealStage),groups:e.property_group_ids.map(n=>{var i;return(i=t.propertyGroups[n])==null?void 0:i.name}).filter(Boolean),publishings:e.publishings.map(n=>{var r,a;const i=t.connections[n];if(i&&!((r=i.name)!=null&&r.endsWith("– Homepage"))&&((a=i.children)==null?void 0:a.length)<=0)return i}).filter(Boolean)},qn=(e,t)=>e?t.dealStages[e.deal_stage_id]:void 0,iI=(e,t)=>({highest_deal_stage:qn(e.highest_deal,t),highest_aquisition_deal_stage:qn(e.highest_aquisition_deal,t),highest_purchase_deal_stage:qn(e.highest_purchase_deal,t),highest_rental_deal_stage:qn(e.highest_rental_deal,t)}),rI="customColumnsForProperties",IA=Vb(rI),CA=["strasse","hausnummer","plz","ort","land_iso","notiz","geolage","etagenlage","flurstueck","gemarkung","Art","wohnungstyp","objekttitel","einheitennummer","auftragsnummer","geschoss","geschosszahl","zimmer","wohnflaeche","kaufpreis","status","badezimmeranzahl","schlafzimmeranzahl","qualitaet_ausstattung","letzte_modernisierung","zustand","balkon","fahrstuhl","barrierefrei","ebk","keller","garten","gaestewc","stellplatznummer","stellplatzanzahl","stellplatzpreis","stellplatztyp","baujahr","provisionsbetrag","provisionshinweis","energietraeger","frei_ab","heizungsart","nutzflaeche","hausgeld","mieteinnahmen","nettomiete_ist","nettomiete_soll","vermietet","denkmalschutz","ferienwohnung_geeignet","kaltmiete","warmmiete","nebenkosten","heizkosten","heizkosten_in_nebenkosten","haustiere_erlaubt","kaution","wg_geeignet","wohnberechtigungsschein_erforderlich","energieausweis","energieerstellungsdatum","energieausweistyp","energieeffizienzklasse","energieverbrauchskennwert","energieverbrauch_fuer_warmwasser_enthalten","ausstattung","sonstiges","objektbeschreibung","lage","objekttitel_en","objektbeschreibung_en","lage_en","ausstattung_en","sonstiges_en","grundstuecksflaeche","typ","nutzfläche","balkonflaeche","abstellraum","bodenbelag","balkonanzahl","empfohlene_nutzung"],Ft={"zh-CN":"Chinesisch",de:"Deutsch",en:"Englisch",fr:"Französisch",it:"Italienisch",ru:"Russisch",es:"Spanisch",hu:"Ungarisch"},aI={emits:["click"],props:{propertyStatusId:{}},computed:{status(){return this.$db.get("propertyStatuses").find(e=>e.id==this.propertyStatusId)}}};function oI(e,t,n,i,r,a){const o=I("nice-label");return a.status?(u(),w(o,{key:0,label:a.status.name,color:a.status.color,clickable:"",onClick:t[0]||(t[0]=s=>e.$emit("click"))},null,8,["label","color"])):P("",!0)}const Ta=te(aI,[["render",oI]]),SA=Object.freeze(Object.defineProperty({__proto__:null,default:Ta},Symbol.toStringTag,{value:"Module"})),jl=()=>{var s;const{db:e}=je(),{isBackdoor:t}=ol(),n=F(()=>{var l;return!!(t.value&&((l=e.broker)!=null&&l.perfectMatchEnabled))}),i=((s=e.shopData)==null?void 0:s.perfectMatchSettingsOptions)||[],r=i.find(l=>l.id==="HARD"),a=i.find(l=>l.id==="SOFT");return{perfectMatchEnabled:n,perfectMatchSettingsOptions:i,perfectMatchSettingsDefaultValue:r,perfectMatchSettingsHard:r,perfectMatchSettingsSoft:a}},sI=e=>
12165new Set((Array.isArray(e)?e:[e]).filter(t=>!!t)),Hl=(e,t)=>{const n=sI(t),i=new Set,r=(e??[]).flatMap(a=>{var s;i.add(a.alphaThree);const o=a.selectable!==!1;return!o&&!n.has(a.alphaThree)?[]:[{id:a.alphaThree,name:((s=a.name)==null?void 0:s.trim())||a.alphaThree,...!o&&{disabled:!0}}]});return n.forEach(a=>{i.has(a)||r.push({id:a,name:a,disabled:!0})}),r},lI=/^[\w+.-]+@[a-zA-Z\d-]+(\.[a-zA-Z\d-]+)*\.[a-zA-Z]+$/,dI=e=>lI.test(String(e).toLowerCase()),cI=e=>cn.unix(e).toDate(),_A=e=>cI(uI(e)),uI=e=>Math.floor(+e/1e3),pI="L LT",Wl="YYYY-MM-DD",Kl="DD.MM.YYYY",mI=[Kl,"D.M.YYYY",Wl,"YYYY-M-D","YYYY/MM/DD","YYYY/M/D","YYYY.MM.DD","YYYY.M.D"],kA=(e,t)=>cn(e).format(t??pI),Yl=(e,t=mI)=>{if(!e)return null;const n=e instanceof Date?cn(e):typeof e=="string"?cn(e,t,!0):null;return n!=null&&n.isValid()?n:null},bs=(e,t)=>{const n=Yl(e);return n?n.format(t):e},hI=$e(`
12166  mutation RequestItsmydataCreditCheck($clientId: Int!, $productType: String!) {
12167    requestItsmydataCreditCheck(clientId: $clientId, productType: $productType) {
12168      id
12169      itsmydataRequestStatus
12170      itsmydataProductType
12171      itsmydataRequestedAt
12172    }
12173  }
12174`),fI=$e(`
12175  mutation UpgradeClient($id: Int!) {
12176    upgradeClient(id: $id) {
12177      id
12178    }
12179  }
12180`),TA=$e(`
12181  query DefaultClientColumns {
12182    shop {
12183      customColumnPresetForClients
12184    }
12185  }
12186`),wA=$e(`
12187  query SuggestedClients($propertyId: Int!, $params: JSON!) {
12188    suggestedClients(propertyId: $propertyId, params: $params) {
12189      data {
12190        id
12191        itemId
12192        name
12193        salutation
12194        phone
12195        email
12196        dob
12197        locked
12198        keepDataTill
12199        gdprStatus
12200        clientReasonId
12201        lastContactAt
12202        createdAt
12203        brokerId
12204        secondBrokerId
12205        creatorId
12206        teamId
12207        relationship
12208        children {
12209          name
12210        }
12211        acceptContact
12212        followupDate
12213        propertyMailingWanted
12214        newsletter
12215        warningNotice
12216        perfectMatch
12217        matchedQueries
12218        clientSourceId
12219        clientStatusId
12220        groupIds
12221        homeAddress
12222        homeCity
12223        homeCountry
12224        homeUrl
12225        homePhone
12226        homeCell
12227        officeAddress
12228        company
12229        position
12230        officeCity
12231        officeCountry
12232        rating
12233        score
12234        deals {
12235          dealStageId
12236          propertyId
12237          startDate
12238        }
12239        customFields
12240        savedQueries {
12241          id
12242          active
12243          locationIds
12244          cities
12245          marketingType
12246          rsTypes
12247          rsTypeLabels
12248          categoryLabels
12249          price
12250          priceTo
12251          baseRent
12252          baseRentTo
12253          livingSpace
12254          livingSpaceTo
12255          plotArea
12256          plotAreaTo
12257          totalFloorSpace
12258          totalFloorSpaceTo
12259          netFloorSpace
12260          netFloorSpaceTo
12261          industrialArea
12262          numberOfRooms
12263          numberOfRoomsTo
12264          numberOfBedrooms
12265          numberOfBedroomsTo
12266          rented
12267          note
12268          publicNote
12269          updatedAt
12270          updaterId
12271          createdAt
12272          brokerId
12273          teamId
12274          recipientId
12275          toClientIds
12276          ccClientIds
12277          clientTouchedAt
12278          sortedOutPropertyIds
12279          creator {
12280            id
12281            name
12282            initials
12283          }
12284          fromTipster
12285        }
12286      }
12287      meta {
12288        totalCount
12289      }
12290    }
12291  }
12292`),FA=$e(`
12293  query ClientForm($id: ID!) {
12294    client(id: $id) {
12295      ...ClientFormFields
12296    }
12297  }
12298`),PA=$e(`
12299  query Client($id: ID!) {
12300    client(id: $id) {
12301      ...SharedClientQuery
12302      parentId
12303      homeCell
12304      intlPhone
12305      clientAddresses {
12306        value
12307        label
12308        intl
12309      }
12310      relatedClients {
12311        id
12312        name
12313      }
12314      commercial
12315      clientStatusId
12316      score
12317      archived
12318      locked
12319      duplicateClientIds
12320      warningNotice
12321      contactSyncErrorMessage
12322      formattedClientData
12323      clientSyncBrokerIds
12324      validatedContactData
12325      invalidatedContactData
12326      savedQueriesCount
12327      dealsCount
12328      documentsCount
12329      oldCrmId
12330      dob
12331      brokerIds
12332      departmentIds
12333      children {
12334        ...SharedClientQuery
12335        tipster {
12336          id
12337        }
12338        wantsToBeTipster
12339      }
12340      relationships {
12341        id
12342        name
12343        internalName
12344        relationshipCategoryId
12345        client {
12346          id
12347          name
12348          nonCommercialName
12349          company
12350        }
12351      }
12352      tipster {
12353        id
12354      }
12355      wantsToBeTipster
12356    }
12357  }
12358`),AA=$e(`
12359  query SuggestedClientsSearchQuery($propertyId: Int!, $params: JSON!) {
12360    suggestedClientsQuery(propertyId: $propertyId, params: $params)
12361  }
12362`),$A=$e(`
12363  query SuggestedClientsMailPlan($propertyId: Int!, $params: JSON!, $cursor: String) {
12364    suggestedClientsMailPlan(propertyId: $propertyId, params: $params, cursor: $cursor) {
12365      entries {
12366        savedQueryId
12367        clientId
12368        clientName
12369        recipientId
12370        toClientIds
12371        ccClientIds
12372      }
12373      cursor
12374    }
12375  }
12376`);$e(`
12377  fragment SharedClientFormFields on Client {
12378    id
12379    salutation
12380    academicTitle
12381    firstName
12382    lastName
12383    teamId
12384    homeCell
12385    homePhone
12386    officeCell
12387    officePhone
12388    intlHomeCell
12389    intlHomePhone
12390    emails
12391    locale
12392    messageSalutation
12393    officeUrl
12394    homeUrl
12395    homeStreet
12396    homeHouseNumber
12397    homeZipCode
12398    homeCity
12399    homeCountry
12400    propertyMailingWanted
12401    company
12402    position
12403    officeStreet
12404    officeHouseNumber
12405    officeZipCode
12406    officeCity
12407    officeCountry
12408    homeFax
12409    officeFax
12410    rating
12411    dob
12412    birthName
12413    birthPlace
12414    birthCountry
12415    passType
12416    identityNumber
12417    issuingAuthority
12418    taxIdentificationNumber
12419    nationality
12420    legalForm
12421    registerNumber
12422    conspicuity
12423    matrimonialPropertyScheme
12424    equity
12425    handoverDate
12426    rentDate
12427    income
12428    mvsigned
12429    hvsigned
12430    photoUrl
12431    clientAddresses {
12432      id
12433      label
12434      value
12435      position
12436      intl
12437    }
12438    married
12439    matrimonialPropertyScheme
12440    spousesConsent
12441    bankName
12442    bankAccountOwner
12443    bankIban
12444    bankBic
12445    customFields
12446    gdprStatus
12447    acceptContact
12448    itsmydataCreditScore
12449    itsmydataValidity
12450    itsmydataValidUntil
12451    itsmydataProductType
12452    itsmydataRequestStatus
12453    itsmydataRequestedAt
12454    itsmydataIncomeSources
12455    itsmydataEmploymentType
12456    itsmydataAverageIncome
12457    itsmydataRentIncomeRatio
12458    itsmydataHouseholdSize
12459    itsmydataLandlordReference
12460    itsmydataDaysUntilExpiry
12461  }
12462`);$e(`
12463  fragment ClientFormFields on Client {
12464    ...SharedClientFormFields
12465    commercial
12466    clientStatusId
12467    clientSourceId
12468    groupIds
12469    brokerId
12470    secondBrokerId
12471    description
12472    followupDate
12473    warningNotice
12474    locked
12475    archived
12476    newsletter
12477    propertyMailingWanted
12478    clientSyncBrokerIds
12479    brokerIds
12480    departmentIds
12481    keepDataTill
12482    clientReasonId
12483    projectIds
12484    accessBrokerIds
12485    accessDepartmentIds
12486    inquiryDepartmentId
12487    mailchimpInterestIds
12488    relationships {
12489      id
12490      name
12491      internalName
12492      relationshipCategoryId
12493      transferClientData
12494      client {
12495        id
12496        name
12497        nonCommercialName
12498        company
12499      }
12500      property {
12501        id
12502        name
12503        isVariant
12504        archived
12505      }
12506      project {
12507        id
12508        name
12509      }
12510    }
12511    children {
12512      ...SharedClientFormFields
12513    }
12514    updatedAt
12515    tipster {
12516      commission
12517      commission_percentage: commissionPercentage
12518    }
12519  }
12520`);$e(`
12521  fragment SharedClientQuery on Client {
12522    id
12523    name
12524    nonCommercialName
12525    firstName
12526    lastName
12527    email
12528    itemId
12529    brokerId
12530    company
12531    photoUrl
12532    followupDate
12533    phone
12534    intlPhone
12535    createdAt
12536    creatorId
12537    updatedAt
12538    updaterId
12539    lastContactAt
12540    acceptContact
12541    propertyMailingWanted
12542    secondBrokerId
12543    gdprStatus
12544  }
12545`);const gI=K({props:{visible:{type:Boolean,required:!0},client:{type:Object}},data(){return{submitting:!1}},setup(){const{isBackdoor:e}=sl();return{isBackdoor:e}},computed:{label(){return this.client?this.client.name+" ("+(this.isBackdoor?"Redacted":this.client.email)+")":null}},methods:{submit(){this.$api.mutation("sendContactAcceptanceRequest",{clientId:this.client.id}).then(()=>{this.$emit("update:visible",!1),App.flashy(this.$t("panes.messageForm.contactAcceptanceRequest.success"))}).catch(this.$axios.handleError)}}}),yI=["innerHTML"];function bI(e,t,n,i,r,a){const o=I("form-dialog");return u(),w(o,{autofocus:!1,visible:e.visible,title:e.$t("panes.messageForm.contactAcceptanceRequest.title"),"append-to-body":"",onClose:t[0]||(t[0]=s=>e.$emit("update:visible",!1)),saving:e.submitting,onSubmit:e.submit,submitButtonTitle:e.$t("panes.messageForm.contactAcceptanceRequest.submit")},{default:k(()=>[f("p",{class:"whitespace-pre-wrap",innerHTML:e.$t("panes.messageForm.contactAcceptanceRequest.text",{name:e.label})},null,8,yI)]),_:1}
12545,8,["visible","title","saving","onSubmit","submitButtonTitle"])}const Ql=te(gI,[["render",bI]]),RA=Object.freeze(Object.defineProperty({__proto__:null,default:Ql},Symbol.toStringTag,{value:"Module"})),Rt=e=>{const{propertyOptionsMapping:t}=e.shopData;return{getRsTypeCategories:()=>Object.entries(t.rs_type||{}).map(([n,i])=>({value:n,label:i,children:Object.entries(t[`${n.toLowerCase()}_type`]||{}).map(([r,a])=>({value:r,label:a}))})),getRsTypes:()=>t.rs_type,getMarketingTypes:()=>t.marketing_type,getObjectTypes:()=>t.object_type,getRecommendedUseTypes:()=>t.recommended_use_types,getConditions:()=>t.condition,getInvestmentCategories:()=>t.investment_category,getPurchaseForms:()=>t.purchase_form}},DA=(e,t=!1)=>{const{getRsTypes:n}=Rt(e),i=n();return Object.entries(i||[]).reduce((r,[a,o])=>[...r,...!t||!e.shopData.allowedRsTypesInSavedQueries||!e.shopData.allowedRsTypesInSavedQueries.length||e.shopData.allowedRsTypesInSavedQueries.includes(a)?[{value:a,label:o}]:[]],[])},vI=(e,t)=>Object.values(e.reduce((n,i)=>({...n,[t(i)]:i}),{})),NA=(e,t=!1)=>{const{getRsTypeCategories:n}=Rt(e),i=(e.shopData.customCategories||[]).map(({id:a,name:o})=>({value:a,label:o}));return vI((n()||[]).reduce((a,o)=>[...a,...!t||!e.shopData.allowedRsTypesInSavedQueries||!e.shopData.allowedRsTypesInSavedQueries.length||e.shopData.allowedRsTypesInSavedQueries.includes(o.value)?o.children:[]],[]),a=>a.value).concat(i)},OA=e=>{const{getObjectTypes:t}=Rt(e),n=t();return Object.entries(n||[]).map(([i,r])=>({value:i,label:r}))},EA=e=>{const{getMarketingTypes:t}=Rt(e),n=t();return Object.entries(n||[]).map(([i,r])=>({value:i,label:r}))},MA=e=>{const{getConditions:t}=Rt(e),n=t();return Object.entries(n||[]).map(([i,r])=>({value:i,label:r}))},VA=e=>{const{getRecommendedUseTypes:t}=Rt(e),n=t();return Object.entries(n||[]).map(([i,r])=>({value:i,label:r}))},LA=e=>{const{getInvestmentCategories:t}=Rt(e),n=t();return Object.entries(n||[]).map(([i,r])=>({value:i,label:r}))},BA=e=>{const{getPurchaseForms:t}=Rt(e),n=t();return Object.entries(n||[]).map(([i,r])=>({value:i,label:r}))},vs=e=>{var t;try{return parseFloat(((t=e==null?void 0:e.match(/(\d.*)%/))==null?void 0:t[1].replace(",","."))||"")}catch{return null}},Is=e=>{var t;return cn(e,(t=e.match(/\d{2}\.\d{2}\.\d{2,4}/))!=null&&t.length?"L":void 0)},II=e=>{const t=s=>e[s]||null,n=()=>vs(e.internal_brokerage),i=()=>vs(e.courtage),r=(s,l,d="days")=>{if(!s||!l)return NaN;const c=Is(s),m=Is(l);return!c.isValid()||!m.isValid()?NaN:c.diff(m,d)},a=e.marketing_type=="BUY",o=e.marketing_type=="RENT";return{feld:t,innenprovision:n,aussenprovision:i,datumdiff:r,istKauf:a,istMiete:o}},CI=(e,t={})=>new Function("with(this) { return eval(__code__); }").call({__code__:e,...t}),wa={evalAsync(e,t){return new Promise((n,i)=>{let r=null;try{r=CI(e,II(t))}catch(a){i(a)}n(r)})}},SI=({db:e,axios:t,field:n,options:i,filteredOptions:r})=>{const a=ce([]),o=ce(!1),s=F(()=>{var p;return!!(n.value.formField.dbOptions&&((p=i.value)==null?void 0:p.length)>200)}),l=F(()=>s.value?a.value:r.value),d=p=>{s.value&&(a.value=[i.value.find(h=>(h==null?void 0:h.id)==p)].filter(Boolean))},c=Xn.debounce(p=>{if(!p){a.value=[];return}const h=p.toLowerCase();a.value=r.value.map(T=>{var v;const C=((v=T.name)==null?void 0:v.toLowerCase())||"",A=C.startsWith(h)?0:C.includes(` ${h}`)?1:C.includes(h)?2:3;return{item:T,priority:A}}).filter(({priority:T})=>T<3).sort((T,C)=>T.priority-C.priority).map(({item:T})=>T)});return{async:s,asyncFilteredOptions:a,preselect:d,refetching:o,refetchOptions:()=>{if(o.value)return;o.value=!0;const p=n.value.formField.dbOptions,h=e.refetchCachedData(p);if(!h){o.value=!1;return}h.catch(t.handleError).finally(()=>{o.value=!1})},remoteMethod:c,totalOptions:l}},_I=e=>e.formField.type==="countryselect",kI=e=>typeof e=="function",TI=e=>Array.isArray(e),wI=e=>e&&typeof e=="object",FI=({field:e,db:t})=>typeof t[e.formField.dbOptions]=="function"?t[e.formField.dbOptions]():t.shopData[e.formField.dbOptions],PI=(e,{db:t,t:n,record:i})=>e({shop:t.shopData,db:t,t:n,record:i}),AI=e=>Object.keys(e).map(t=>({id:t,name:e[t]}));function $I(e){const{field:t,db:n,t:i,record:r,brokers:a}=e,o=t.formField.options;return["brokers","activeBrokers"].includes(t.formField.dbOptions)?a:_I(t)?Hl(n.shop
12545Data.countries,r[t.fieldName]):kI(o)?PI(o,{db:n,t:i,record:r}):TI(o)?o:wI(o)?AI(o):FI({field:t,db:n})}const RI=({db:e,field:t,filter:n,locale:i,record:r,t:a})=>{const o=F(()=>e.get("brokers").filter(d=>d.active).map(d=>({id:d.id,name:d.internalName}))),s=F(()=>{var d;return $I({field:t.value,db:e,locale:((d=e==null?void 0:e.broker)==null?void 0:d.locale)||i.value||"en",t:a,record:r.value,brokers:o.value})});return{filteredOptions:F(()=>n.value?s.value.map((d,c)=>{var m,p,h;return((m=n.value)==null?void 0:m[c])===void 0||((p=n.value)==null?void 0:p[c])===null||(h=n.value)!=null&&h[c]?d:void 0}).filter(Boolean):s.value),options:s}},DI={class:"relative w-full"},NI={class:"property-status-option"},OI={class:"property-status-option__label"},EI={key:0,class:"property-status-info-text"},MI={key:0,class:"absolute left-[-30px] top-[4px]"},Zl=K({__name:"Dropdown",props:{record:{},field:{},recordType:{}},setup(e){const t=e,n=ln(t,"record"),i=ln(t,"field"),r=ce(null);let a,o;const{db:s,axios:l}=je(),{t:d,locale:c}=ot(),{isNeoTheme:m}=Ee(),{filteredOptions:p,options:h}=RI({db:s,field:i,filter:r,locale:c,record:n,t:d}),T=F({get(){return n.value[i.value.fieldName]},set(pe){n.value[i.value.fieldName]=pe}}),C=Jb(i.value.formField.dbOptions)?Xb(i.value.formField.dbOptions,T):null,A=F(()=>n.value[i.value.fieldName]),v=F(()=>{const pe=A.value;return pe==null||pe===""||Array.isArray(pe)&&pe.length===0}),R=F(()=>v.value&&i.value.color?`background-color: ${i.value.color}`:void 0),D=SI({db:s,axios:l,field:i,options:h,filteredOptions:p}),O=F(()=>C?C.async.value:D.async.value),N=pe=>C?C.preselect(pe):D.preselect(pe),B=F(()=>D.refetching.value),q=()=>D.refetchOptions(),se=pe=>C?C.remoteMethod(pe):D.remoteMethod(pe),oe=F(()=>C?C.totalOptions.value:D.totalOptions.value),G=F(()=>{var pe;return((pe=i.value)==null?void 0:pe.fieldName)==="property_status_id"}),x=F(()=>t.recordType!=="property"?!1:Ge(i.value,n.value)),L=pe=>{var ke;const ge=((ke=s==null?void 0:s.broker)==null?void 0:ke.locale)||c.value;return e1(pe,ge,s.shopData.language)},J=F(()=>{if(!G.value)return null;const pe=h.value.find(ge=>{var ke;return(ge==null?void 0:ge.id)==((ke=n.value)==null?void 0:ke[i.value.fieldName])});return L(pe)}),ne=()=>{const pe=[...new Set(h.value.map(ge=>ge.condition))];wa.evalAsync(`[${pe.join(",")}]`,n.value).then(ge=>{Array.isArray(ge)&&(r.value=h.value.map(ke=>ge[pe.indexOf(ke.condition)]))}).catch(ge=>console.log(ge,i.value.fieldName))},H=Xn.debounce(ne),ie=()=>{a=ze(n,H,{deep:!0})};return At(async()=>{var pe,ge,ke;(ge=(pe=i.value)==null?void 0:pe.detailViewField)!=null&&ge.defaultValue&&((ke=i.value)!=null&&ke.fieldName)&&(n.value[i.value.fieldName]=i.value.detailViewField.defaultValue),h.value&&h.value.some(De=>!!De.condition)&&(ne(),o=setTimeout(()=>{ie()},100)),n.value[i.value.fieldName]&&O.value&&N(n.value[i.value.fieldName])}),Zn(()=>{a==null||a(),o&&clearTimeout(o)}),(pe,ge)=>{var nt,ct;const ke=I("fa-icon"),De=I("nice-tooltip"),yt=I("nice-select"),It=I("nice-button");return u(),y("div",DI,[g(yt,vt((ct=(nt=i.value.formField).additionalParams)==null?void 0:ct.call(nt,i.value,n.value[i.value.fieldName]),{disabled:i.value.readonly,"highlight-on-empty":x.value,filterable:"",clearable:"","default-first-option":!0,modelValue:T.value,"onUpdate:modelValue":ge[1]||(ge[1]=He=>T.value=He),placeholder:pe.$t("detailView.placeholder"),class:{"disabled-visibility-dropdown":i.value.readonly,"inherit-bg-color":v.value&&i.value.color},"empty-values":[void 0],remote:O.value,"remote-method":O.value?se:void 0,onChange:N,style:R.value,options:oe.value,"data-value-missing":v.value}),sc({_:2},[G.value?{name:"option",fn:k(({item:He})=>[f("div",NI,[f("span",OI,S(He.name),1),L(He)?(u(),w(De,{key:0,content:L(He),placement:"right"},{default:k(()=>[g(ke,{name:"info-circle",class:"property-status-option__icon",onClick:ge[0]||(ge[0]=ae(()=>{},["stop"]))})]),_:1},8,["content"])):P("",!0)])]),key:"0"}:void 0]),1040,["disabled","highlight-on-empty","modelValue","placeholder","class","remote","remote-method","style","options","data-value-missing"]),J.value?(u(),y("div",EI,S(J.value),1)):P("",!0),i.value.formField.refetchable?(u(),w(De,{key:1,content:pe.$t("detailVie
12545w.reloadOptions")},{default:k(()=>[E(m)?(u(),y("span",MI,[g(It,{size:"xsmall",iconSet:"neo",icon:"refresh",iconOnly:"",onClick:q,loading:B.value},null,8,["loading"])])):(u(),y("a",{key:1,href:"#",class:U(["absolute -left-5 text-sm top-2 text-subtle",{"animate-spin":B.value}]),onClick:q},[g(ke,{name:"sync"})],2))]),_:1},8,["content"])):P("",!0)])}}}),xn=["OFFICE","GASTRONOMY","STORE","INDUSTRY","SPECIAL_PURPOSE","INVESTMENT"],pt=["OFFICE","GASTRONOMY","STORE","INDUSTRY"],Pe=["APARTMENT","HOUSE","SHORT_TERM_ACCOMODATION"],kt=e=>Ob(e.internationalCountry,"austria"),VI=e=>{var i;if(e.fieldName!=="container"||(i=e.containerFieldLabels)!=null&&i.length)return e;const[t,n]=e.containerFieldNames||[];return t!=null&&t.endsWith("_space_min")&&(n!=null&&n.endsWith("_space"))?{...e,containerFieldLabels:["teilbar ab","gesamt"]}:t!=null&&t.endsWith("_from")&&(n!=null&&n.endsWith("_to"))?{...e,containerFieldLabels:["von","bis"]}:e},Cs=(e,t)=>_e(t).map(n=>({...VI(n),allowedPropertyType:n.allowedPropertyType||(n.fieldName==="container"?["parent","child"]:[e])})),LI=[{slot:"left",name:"basic",detailViewFields:_e(["category","property_status_id","exposee_id","unit_id",{fieldName:"title",characterLimit:100},{fieldName:"project_id",allowedPropertyType:["neither"]},"group_ids","target_group","warning_notice","note"])},{slot:"left",name:"address",detailViewFields:_e(["address",{fieldName:"container",containerFieldNames:["lat","lng"],title:()=>Q.global.t("properties.formFields.coordinates")},"location_id",{fieldName:"cadastral_district",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"plot_number",filter:e=>["austria"].includes(e.internationalCountry),title:e=>Q.global.t(`properties.formFields.${["austria"].includes(e.internationalCountry)?"plot_number_at":"plot_number"}`)},{fieldName:"district",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"aut_cadastral_community",filter:e=>["austria"].includes(e.internationalCountry)},"hide_address"])},{slot:"left",name:"pricing",allowedPropertyType:["neither"],detailViewFields:_e([{fieldName:"price",allowedMarketingType:"BUY",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"price_net",filter:e=>["austria"].includes(e.internationalCountry),allowedMarketingType:"BUY",title:()=>Q.global.t("properties.formFields.price_net")},{fieldName:"price_vat",filter:e=>["austria"].includes(e.internationalCountry),allowedMarketingType:"BUY",title:()=>Q.global.t("properties.formFields.price_vat")},{fieldName:"price",filter:e=>["austria"].includes(e.internationalCountry),allowedMarketingType:"BUY",title:()=>Q.global.t("properties.formFields.price_at")},"price_per_sqm",{fieldName:"custom_price_per_sqm",allowedRsTypes:["INVESTMENT"]},{fieldName:"price_on_inquiry",allowedMarketingType:"BUY",hint:()=>Q.global.t("property.priceOnInquiryTooltip"),filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"for_bidding",allowedMarketingType:"BUY"},{fieldName:"price_type",allowedRsTypes:[...xn]},{fieldName:"recurring_costs_net",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.recurring_costs_net")},{fieldName:"recurring_costs_vat",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.recurring_costs_vat")},{fieldName:"recurring_costs",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.recurring_costs")},{fieldName:"base_rent",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"total_rent",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"base_rent_net",filter:e=>["austria"].includes(e.internationalCountry),allowedMarketingType:"RENT",title:()=>Q.global.t("properties.formFields.base_rent_net")}
12545,{fieldName:"base_rent_vat",filter:e=>["austria"].includes(e.internationalCountry),allowedMarketingType:"RENT",title:()=>Q.global.t("properties.formFields.base_rent_vat")},{fieldName:"base_rent",filter:e=>["austria"].includes(e.internationalCountry),allowedMarketingType:"RENT",title:()=>Q.global.t("properties.formFields.base_rent_at")},{fieldName:"total_rent_net",filter:e=>["austria"].includes(e.internationalCountry),allowedMarketingType:"RENT",title:()=>Q.global.t("properties.formFields.total_rent_net")},{fieldName:"total_rent_vat",filter:e=>["austria"].includes(e.internationalCountry),allowedMarketingType:"RENT",title:()=>Q.global.t("properties.formFields.total_rent_vat")},{fieldName:"total_rent",filter:e=>["austria"].includes(e.internationalCountry),allowedMarketingType:"RENT",title:()=>Q.global.t("properties.formFields.total_rent_at")},{fieldName:"other_costs_net",filter:e=>["austria"].includes(e.internationalCountry),allowedMarketingType:"RENT",title:()=>Q.global.t("properties.formFields.other_costs_net")},{fieldName:"other_costs_vat",filter:e=>["austria"].includes(e.internationalCountry),allowedMarketingType:"RENT",title:()=>Q.global.t("properties.formFields.other_costs_vat")},{fieldName:"heating_costs",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"heating_costs_net",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.heating_costs_net")},{fieldName:"heating_costs_vat",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.heating_costs_vat")},{fieldName:"service_charge_net",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.service_charge_net")},{fieldName:"service_charge_vat",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.service_charge_vat")},{fieldName:"financial_contribution",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.financial_contribution")},{fieldName:"construction_type",filter:e=>["austria"].includes(e.internationalCountry)},{fieldName:"service_charge",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"heating_costs_in_service_charge",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"other_costs",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"aut_main_rent",filter:e=>["austria"].includes(e.internationalCountry),allowedMarketingType:"RENT"},{fieldName:"rent_subsidy",filter:e=>!["austria"].includes(e.internationalCountry)},"maintenance_reserve",{fieldName:"deposit",allowedMarketingType:"RENT"},{fieldName:"parking_space_price",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"rental_income",allowedMarketingType:"BUY"},{fieldName:"compensation_costs",filter:e=>["austria"].includes(e.internationalCountry),title:e=>Q.global.t(`properties.formFields.${["austria"].includes(e.internationalCountry)?"compensation_costs_at":"compensation_costs"}`)}])},{slot:"left",name:"areas",allowedPropertyType:["neither"],detailViewFields:_e([{fieldName:"net_floor_space",allowedRsTypes:[...xn]},{fieldName:"total_floor_space",allowedRsTypes:[...xn]},{fieldName:"living_space",allowedRsTypes:[...Pe,"INVESTMENT"]},{fieldName:"industrial_area",allowedRsTypes:["INVESTMENT"]},"plot_area",{fieldName:"additional_area",allowedRsTypes:["INVESTMENT"]},"number_of_rooms",{fieldName:"number_of_bed_rooms",allowedRsTypes:[...Pe]},{fieldName:"number_of_bath_rooms",allowedRsTypes:[...Pe]},{fieldName:"usable_floor_space",allowedRsTypes:[...Pe]},{fieldName:"min_divisible",allowedRsTypes:[...xn,"TRADE_SITE"]},{fieldName:"balcony_space",allowedRsTypes:[...Pe]},{fieldName:"garden_space",allowedRsTypes:[...Pe]},{fieldName:"floor",title:e=>Q.global.t(`properties.formFields.${["austria"].includes(e.internationalCountry)?"floor_at":"floor"}`)},{fieldName:"number_of_floors",title:e=>Q.global.t(`properties.formFields.${["austria"].includes(e.internationalCountry)?"number_of_floors_at":"number_of_floors"}`)},{fieldName:"floor_position",title:e=>Q.global.t(`properties.formFields.${["austria"].includes(e.internationalCountry)?"floor_position_at":"floor_position"}`)}])},{slot:"left",name:"investment",allowedRsTypes:["INVESTMENT"],detailVie
12545wFields:_e(["number_of_apartments","number_of_commercials","number_of_units",{fieldName:"container",containerFieldNames:["rental_income_actual","rental_income_target"],title:()=>Q.global.t("properties.formFields.rental_income_container")},{fieldName:"container",containerFieldNames:["yield_actual","yield_target"],title:()=>Q.global.t("properties.formFields.yield_container")},{fieldName:"container",containerFieldNames:["price_multiplier","price_multiplier_target"],title:()=>Q.global.t("properties.formFields.price_multiplier_container")},"investment_category","purchase_form","walt","number_of_single_rooms","single_rooms_quota","occupancy_rate","number_of_vacancies","conservation_areas"])},{slot:"left",name:"additionalInfo",detailViewFields:_e(["rented","free_from",{fieldName:"free_until",allowedRsTypes:["FLAT_SHARE_ROOM"]},"condition","last_refurbishment","interior_quality","number_of_parking_spaces",{fieldName:"number_of_ev_charging",filter:e=>kt(e)},"parking_space_types",{fieldName:"suitable_for_investment",allowedMarketingType:"BUY",filter:e=>kt(e)},{fieldName:"construction_phase",allowedRsTypes:["HOUSE"]}])},{slot:"left",name:"plot",allowedRsTypes:["TRADE_SITE"],detailViewFields:_e(["tenancy","commercialization_type","utilization_trade_site","recommended_use_types","site_development_type","site_constructible_type","grz","gfz","bgf","bmz","short_term_constructible","building_permission","preliminary_enquiry","demolition"])},{slot:"right",name:"flachenUndPreise",configurationKey:"commercial_areas_and_prices",filter:e=>{var t;return((t=e.activeFeatures)==null?void 0:t.includes("area_calculation"))??!1},allowedPropertyType:["parent","child"],allowedRsTypes:[...pt,...Pe],detailViewFields:[...Cs("child",[{fieldName:"floor",allowedRsTypes:pt},{fieldName:"floor_position",allowedRsTypes:pt},{fieldName:"building_part",allowedRsTypes:pt}]),...Cs("parent",[{fieldName:"number_of_floors",allowedRsTypes:pt},{fieldName:"building_space",allowedRsTypes:pt},{fieldName:"office_space_total",allowedRsTypes:["OFFICE"]},{fieldName:"container",containerFieldNames:["office_space_min","office_space"],title:()=>Q.global.t("properties.formFields.office_space_container"),allowedRsTypes:["OFFICE"],allowedMarketingType:"RENT"},{fieldName:"container",containerFieldNames:["office_rent_per_sqm_from","office_rent_per_sqm_to"],title:()=>Q.global.t("properties.formFields.office_rent_per_sqm_container"),allowedRsTypes:["OFFICE"],allowedMarketingType:"RENT"},{fieldName:"container",containerFieldNames:["office_additional_costs_per_sqm_from","office_additional_costs_per_sqm_to"],title:()=>Q.global.t("properties.formFields.office_additional_costs_per_sqm_container"),allowedRsTypes:["OFFICE"],allowedMarketingType:"RENT"},{fieldName:"retail_space_total",allowedRsTypes:["STORE"]},{fieldName:"container",containerFieldNames:["retail_space_min","retail_space"],title:()=>Q.global.t("properties.formFields.retail_space_container"),allowedRsTypes:["STORE"],allowedMarketingType:"RENT"},{fieldName:"container",containerFieldNames:["retail_rent_per_sqm_from","retail_rent_per_sqm_to"],title:()=>Q.global.t("properties.formFields.retail_rent_per_sqm_container"),allowedRsTypes:["STORE"],allowedMarketingType:"RENT"},{fieldName:"container",containerFieldNames:["retail_additional_costs_per_sqm_from","retail_additional_costs_per_sqm_to"],title:()=>Q.global.t("properties.formFields.retail_additional_costs_per_sqm_container"),allowedRsTypes:["STORE"],allowedMarketingType:"RENT"},{fieldName:"gastro_space_total",allowedRsTypes:["GASTRONOMY"]},{fieldName:"container",containerFieldNames:["gastro_space_min","gastro_space"],title:()=>Q.global.t("properties.formFields.gastro_space_container"),allowedRsTypes:["GASTRONOMY"],allowedMarketingType:"RENT"},{fieldName:"container",containerFieldNames:["gastro_rent_per_sqm_from","gastro_rent_per_sqm_to"],title:()=>Q.global.t("properties.formFields.gastro_rent_per_sqm_container"),allowedRsTypes:["GASTRONOMY"],allowedMarketingType:"RENT"},{fieldName:"container",containerFieldNames:["gastro_additional_costs_per_sqm_from","gastro_additional_costs_per_sqm_to"],title:()=>Q.global.t("properties.formFields.gastro_additional_costs_per_sqm_container"),allowedRsTypes:["GASTRONOMY"],allowedMarketingType:"RENT"},{fieldName:"storage_space_total",allowedRsTypes:["INDUSTRY"]}
12545,{fieldName:"container",containerFieldNames:["storage_space_min","storage_space"],title:()=>Q.global.t("properties.formFields.storage_space_container"),allowedRsTypes:["INDUSTRY"],allowedMarketingType:"RENT"},{fieldName:"container",containerFieldNames:["storage_rent_per_sqm_from","storage_rent_per_sqm_to"],title:()=>Q.global.t("properties.formFields.storage_rent_per_sqm_container"),allowedRsTypes:["INDUSTRY"],allowedMarketingType:"RENT"},{fieldName:"container",containerFieldNames:["storage_additional_costs_per_sqm_from","storage_additional_costs_per_sqm_to"],title:()=>Q.global.t("properties.formFields.storage_additional_costs_per_sqm_container"),allowedRsTypes:["INDUSTRY"],allowedMarketingType:"RENT"},{fieldName:"mezzanine_space_total",allowedRsTypes:["INDUSTRY"]},{fieldName:"container",containerFieldNames:["mezzanine_space_min","mezzanine_space"],title:()=>Q.global.t("properties.formFields.mezzanine_space_container"),allowedRsTypes:["INDUSTRY"],allowedMarketingType:"RENT"},{fieldName:"container",containerFieldNames:["mezzanine_rent_per_sqm_from","mezzanine_rent_per_sqm_to"],title:()=>Q.global.t("properties.formFields.mezzanine_rent_per_sqm_container"),allowedRsTypes:["INDUSTRY"],allowedMarketingType:"RENT"},{fieldName:"open_space_total",allowedRsTypes:["INDUSTRY"]},{fieldName:"container",containerFieldNames:["open_space_min","open_space"],title:()=>Q.global.t("properties.formFields.open_space_container"),allowedRsTypes:["INDUSTRY"],allowedMarketingType:"RENT"},{fieldName:"container",containerFieldNames:["open_rent_per_sqm_from","open_rent_per_sqm_to"],title:()=>Q.global.t("properties.formFields.open_rent_per_sqm_container"),allowedRsTypes:["INDUSTRY"],allowedMarketingType:"RENT"},{fieldName:"service_space_total",allowedRsTypes:["INDUSTRY"]},{fieldName:"container",containerFieldNames:["service_space_min","service_space"],title:()=>Q.global.t("properties.formFields.service_space_container"),allowedRsTypes:["INDUSTRY"],allowedMarketingType:"RENT"},{fieldName:"container",containerFieldNames:["service_rent_per_sqm_from","service_rent_per_sqm_to"],title:()=>Q.global.t("properties.formFields.service_rent_per_sqm_container"),allowedRsTypes:["INDUSTRY"],allowedMarketingType:"RENT"},{fieldName:"archive_space_total",allowedRsTypes:["OFFICE"]},{fieldName:"container",containerFieldNames:["archive_space_min","archive_space"],title:()=>Q.global.t("properties.formFields.archive_space_container"),allowedRsTypes:["OFFICE"],allowedMarketingType:"RENT"},{fieldName:"container",containerFieldNames:["archive_space_rent_per_sqm_from","archive_space_rent_per_sqm_to"],title:()=>Q.global.t("properties.formFields.archive_rent_per_sqm_container"),allowedRsTypes:["OFFICE"],allowedMarketingType:"RENT"},..._e([{fieldName:"living_space",allowedRsTypes:Pe,allowedPropertyType:["parent","child"]},{fieldName:"usable_floor_space",allowedRsTypes:Pe,allowedPropertyType:["parent","child"]},{fieldName:"number_of_rooms",allowedRsTypes:Pe,allowedPropertyType:["parent","child"]},{fieldName:"plot_area",allowedPropertyType:["parent"]},{fieldName:"base_rent",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"total_rent",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"heating_costs",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"service_charge",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"heating_costs_in_service_charge",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"deposit",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT"},{fieldName:"base_rent_net",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.base_rent_net")},{fieldName:"base_rent_vat",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.base_rent_vat")},{fieldName:"base_rent",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.base_rent_at")},{fieldName:"total_rent_net",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.total_rent_net")},{fieldName:"total_rent_vat",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.total_rent_vat")},{fieldName:"total_rent",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.total_rent_at")},{fieldName:"heating_costs_net",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.heating_costs_net")},{fieldName:"heating_costs_vat",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.heating_costs_vat")},{fieldName:"service_charge_net",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.service_charge_net")},{fieldName:"service_charge_vat",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"RENT",filter:e=>["austria"].includes(e.internationalCountry),title:()=>Q.global.t("properties.formFields.service_charge_vat")},{fieldName:"rent_subsidy",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"BUY",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"rental_income",allowedRsTypes:Pe,allowedPropertyType:["child"],allowedMarketingType:"BUY"}]),{fieldName:"parking_space_types",allowedPropertyType:["parent","child"],allowedRsTypes:pt}
12545,{fieldName:"parking_spaces_total",allowedRsTypes:pt},{fieldName:"number_of_parking_spaces",allowedPropertyType:["parent","child"],allowedRsTypes:pt,title:()=>Q.global.t("properties.formFields.number_of_parking_spaces_commercial")},{fieldName:"parking_space_price",allowedPropertyType:["parent","child"],allowedRsTypes:pt,filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"truck_parking_spaces_total",allowedRsTypes:["INDUSTRY"]},{fieldName:"number_of_truck_parking_spaces",allowedPropertyType:["parent","child"],allowedRsTypes:["INDUSTRY"]},{fieldName:"truck_parking_space_price",allowedPropertyType:["parent","child"],allowedRsTypes:["INDUSTRY"]},{fieldName:"price",allowedPropertyType:["child"],allowedMarketingType:"BUY"},{fieldName:"price_on_inquiry",allowedPropertyType:["parent","child"],allowedRsTypes:[...pt,"APARTMENT","HOUSE"],allowedMarketingType:"BUY",filter:e=>!["austria"].includes(e.internationalCountry),hint:()=>Q.global.t("property.priceOnInquiryTooltip")}])]},{slot:"left",name:"industry",allowedRsTypes:["STORE","INDUSTRY"],detailViewFields:_e(["location_classification_type","shop_window_length","goods_lift","goods_lift_load","floor_load","supply_type","lan_cables","ramp","auto_lift","hall_height","connected_load","crane_runway_load"])},{slot:"left",name:"shortTerm",allowedRsTypes:["SHORT_TERM_ACCOMODATION"],detailViewFields:_e(["price_interval_type","start_rental_date","end_rental_date","min_rental_time","max_rental_time","max_number_of_persons","has_furniture","gender"])},{slot:"left",name:"flatShareRoom",allowedRsTypes:["FLAT_SHARE_ROOM"],detailViewFields:_e(["room_size","number_of_rooms","apartment_type","deposit","minimum_term_of_lease","flat_share_size","total_space","number_of_male_flat_mates","number_of_female_flat_mates","age_of_flat_mates_from","age_of_flat_mates_to","gender","number_of_requested_flat_mates","age_of_requested_from","age_of_requested_to","smoking_allowed","guest_toilet","oven","refrigerator","stove","dishwasher","bath_has_wc","bath_has_shower","bath_has_tub","washing_machine","internet_connection","tv_connection","telephone_connection","parking_situation","has_furniture"])},{slot:"left",name:"assistedLiving",allowedRsTypes:["ASSISTED_LIVING"],detailViewFields:_e(["trial_living_possible","facility_type","min_base_rent","min_purchase_price","room_available_from","room_available_to","living_space_from","living_space_to","number_of_looked_after_apartments","number_of_nursing_places","cooking_possibility","own_furniture_possible","common_rooms","fitness","guest_apartments","restaurant","ambulant_nursing_service","emergency_call_in_room","reception_manned","medical_assistance","home_help","counseling","security24_hours","cleaning_service","parking","public_transportation","shopping_facilities","loans_available","cultural_program","leisure_activities","religious_offerings"])},{slot:"left",name:"seniorCare",allowedRsTypes:["SENIOR_CARE"],detailViewFields:_e(["trial_living_possible","care_types","care_level","price","opening","room_type","number_of_beds","number_of_looked_after_apartments","number_of_nursing_places","living_space_from","living_space_to","care_of_dementia","care_of_artificial_respiration","care_of_coma_vigil","care_of_stroke","care_of_parkinson","care_of_alzheimer","care_of_multiple_sclerosis","therapy_offerings_available","own_furniture_possible","guest_apartments","restaurant","cooking_facilities","cleaning_service","shopping_facilities","security24_hours","cultural_program","leisure_activities","religious_offerings"])},{slot:"left",name:"facilities",splitIntoTwoColumns:!0,detailViewFields:_e(["lift","barrier_free","cellar","guest_toilet","built_in_kitchen","balcony","loggia","garden","monument","summer_residence_practical","storeroom","chimney","swimming_pool","sauna","alarm_system","winter_garden","air_conditioning",{fieldName:"primary_outdoor_orientation",filter:e=>kt(e)},{fieldName:"window_shutter",filter:e=>kt(e)},{fieldName:"bicycle_storage",filter:e=>kt(e)},{fieldName:"laundry_room",filter:e=>kt(e)},{fieldName:"smart_home",filter:e=>kt(e)},{fieldName:"flat_share_suitable",allowedMarketingType:"RENT"},{fieldName:"non_smoker",allowedMarketingType:"RENT"},{fieldName:"pets_allowed",allowedMarketingType:"RENT"},"bathroom","flooring_type"])}
12545,{slot:"right",name:"contact",detailViewFields:_e(["broker_id","owners","partners",{fieldName:"rs_kaufer",allowedMarketingType:"BUY",filter:e=>e.relationshipPartnerNames.map(t=>t.id).includes("kaufer")},{fieldName:"rs_mieter",allowedMarketingType:"RENT",filter:e=>e.relationshipPartnerNames.map(t=>t.id).includes("mieter")}])},{slot:"right",name:"portals",detailViewFields:_e(["portals",{fieldName:"scout_contact_id",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"scout_id",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"scout_group_number",filter:e=>!["austria"].includes(e.internationalCountry)},"translations"])},{slot:"right",name:"contract",detailViewFields:_e(["contract_type","duration",{fieldName:"container",containerFieldNames:["duration_from","duration_until"],title:()=>Q.global.t("properties.formFields.duration_container")},{fieldName:"conflict_of_interest_type",countries:["AUT"],hint:()=>Q.global.t("properties.formFieldHints.conflict_of_interest_type")},{fieldName:"dual_agency",countries:["AUT"],hint:()=>Q.global.t("properties.formFieldHints.dual_agency")}])},{slot:"right",name:"sale",allowedMarketingType:"BUY",detailViewFields:_e([{fieldName:"container",containerFieldNames:["valuation_price_from","valuation_price_to"],title:()=>Q.global.t("properties.formFields.valuation_price_container")},"sold_date","sold_price","co_ownership_share","local_court","register_number","land_registry"])},{slot:"right",name:"provision",detailViewFields:_e([{fieldName:"realized_rent",allowedMarketingType:"RENT"},"commission","total_commission","internal_brokerage","courtage","courtage_note",{fieldName:"commission_pass_through",filter:e=>{var t;return(t=e.activeFeatures)==null?void 0:t.includes("commission_pass_through")}}])},{slot:"right",name:"energyCertificate",detailViewFields:_e(["energy_certificate_availability","energy_certificate_creation_date","energy_certificate_start_date","energy_certificate_end_date",{fieldName:"building_energy_rating_type",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"energy_efficiency_class",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"energy_efficiency_value",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"thermal_characteristic_electricity",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"thermal_characteristic_heating",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"co_emission",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"co2_emission_rating",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"energy_consumption_contains_warm_water",filter:e=>!["austria"].includes(e.internationalCountry)},"heating_type","firing_types",{fieldName:"construction_year",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"equipment_technology_construction_year",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"construction_year_unknown",filter:e=>!["austria"].includes(e.internationalCountry)},{fieldName:"aut_hwb",filter:e=>["austria"].includes(e.internationalCountry)},{fieldName:"aut_hwb_class",filter:e=>["austria"].includes(e.internationalCountry)},{fieldName:"aut_fgee",filter:e=>["austria"].includes(e.internationalCountry)},{fieldName:"aut_fgee_class",filter:e=>["austria"].includes(e.internationalCountry)},{fieldName:"aut_building_certificates",filter:e=>kt(e)}])},{slot:"right",name:"travelTimes",detailViewFields:_e([{fieldName:"container",containerFieldNames:["distance_to_pt","distance_to_pt_length"],title:()=>Q.global.t("properties.formFields.distance_to_pt")},{fieldName:"container",containerFieldNames:["distance_to_fm","distance_to_fm_length"],title:()=>Q.global.t("properties.formFields.distance_to_fm")},{fieldName:"container",containerFieldNames:["distance_to_mrs","distance_to_mrs_length"],title:()=>Q.global.t("properties.formFields.distance_to_mrs")},{fieldName:"container",containerFieldNames:["distance_to_airport","distance_to_airport_length"],title:()=>Q.global.t("properties.formFields.distance_to_airport")}])},{slot:"left",name:"psAt",filter:e=>
12545["austria"].includes(e.internationalCountry),detailViewFields:_e(["staircase","property_layout","inventory","deletions_from_land_register","contract_fees","land_registry_fees","property_transfer_tax","development_costs","maintenance_reserve_amount","loggia_space","number_of_loggia","number_of_toilets","price_vat_percent","price_vat","marketing_marker_radius","marketing_marker_lat","marketing_marker_lng"])},{slot:"left",name:"description",detailViewFields:_e([{fieldName:"short_note",characterLimit:300,filter:e=>kt(e)},"description_note","location_note","furnishing_note","other_note"])},{slot:"left",name:"longDescription",detailViewFields:_e(["long_description_note","long_location_note","long_furnishing_note","long_other_note"])},{slot:"left",name:"lpSettings",detailViewFields:_e(["custom_lp_address",{fieldName:"list_all_units_on_landing_page",allowedPropertyType:["parent"],hint:()=>Q.global.t("properties.formFields.list_all_units_on_landing_page_hint")},"landing_page_blocked"])},{slot:"left",name:"portalContact",detailViewFields:_e(["openimmo_firstname","openimmo_lastname","openimmo_email","openimmo_phone"])}],UA=e=>_1(LI,e.shopData,"customFieldGroupsForProperties"),qA=(e,t)=>
12545{const n=e.map(a=>({...a,detailViewFields:a.detailViewFields.filter(o=>t||o.fieldName!=="commission_pass_through")}));if(!t||n.some(a=>a.detailViewFields.some(o=>o.fieldName==="commission_pass_through")))return n;const i=n.find(a=>a.detailViewFields.some(o=>["commission","courtage","courtage_note"].includes(o.fieldName))),r=_e(["commission_pass_through"])[0];return i?(i.detailViewFields.push(r),n):[...n,{slot:"right",name:"provision",detailViewFields:[r]}]},xA=e=>{const t=e.map(r=>({...r,detailViewFields:[...r.detailViewFields]}));if(t.some(r=>r.detailViewFields.some(a=>a.fieldName==="realized_rent")))return t;const n=t.find(r=>r.name==="provision"||r.detailViewFields.some(a=>["commission","courtage","courtage_note"].includes(a.fieldName))),i=_e([{fieldName:"realized_rent",allowedMarketingType:"RENT"}])[0];return n?(n.detailViewFields.unshift(i),t):[...t,{slot:"right",name:"provision",detailViewFields:[i]}]},BI=["disabled"],Jl=K({__name:"GroupAction",props:{isLoading:{type:Boolean},label:{},icon:{}},emits:["click"],setup(e){const{isNeoTheme:t}=Ee();return(n,i)=>{const r=I("nice-button");return E(t)?(u(),w(r,{key:0,onClick:i[0]||(i[0]=a=>n.$emit("click")),size:"xsmall",icon:e.icon||void 0,iconSet:"neo",loading:e.isLoading},{default:k(()=>[Y(S(e.label),1)]),_:1},8,["icon","loading"])):(u(),y("a",{key:1,href:"#",onClick:i[1]||(i[1]=a=>n.$emit("click")),class:"mt-1 text-base font-normal pull-right",disabled:e.isLoading},S(e.label),9,BI))}}}),UI=K({props:{record:Object,group:Object,formFields:Object,recordType:String,responsiveFields:{type:Boolean,default:!1}},components:{GroupAction:Jl},setup(){const e=ce(null);return ii("groupHeaderActionsEl",e),{headerActionsEl:e}},data(){return{actionLoading:!1}},computed:{isActionLoading(){return tt(this.actionLoading)},splitIntoTwoColumns(){return!!this.group.splitIntoTwoColumns},hideSectionHeadlines(){return this.$db.shopData.hideSectionHeadlines},chunks(){return _.chunk(this.group.fields,2)}},methods:{async runAction(){var e;if(!this.actionLoading)try{this.actionLoading=!0,await((e=this.group.action)==null?void 0:e.fn())}finally{this.actionLoading=!1}}}}),qI={class:"box"},xI={key:0,class:"box-header"},zI={ref:"headerActionsEl",style:{display:"contents"}},GI={ref:"headerActionsEl",style:{display:"contents"}};function jI(e,t,n,i,r,a){var l,d;const o=I("GroupAction"),s=I("base-field");return u(),y("div",qI,[e.hideSectionHeadlines?(u(),y(ee,{key:1},[f("span",GI,null,512),(d=e.group)!=null&&d.action?(u(),w(o,{key:0,label:e.group.action.label,icon:e.group.action.icon,isLoading:e.isActionLoading,onClick:e.runAction},null,8,["label","icon","isLoading","onClick"])):P("",!0)],64)):(u(),y("header",xI,[Y(S(e.group.name)+" ",1),f("span",zI,null,512),(l=e.group)!=null&&l.action?(u(),w(o,{key:0,label:e.group.action.label,icon:e.group.action.icon,isLoading:e.isActionLoading,onClick:e.runAction},null,8,["label","icon","isLoading","onClick"])):P("",!0)])),et(e.$slots,"before-fields",{},void 0,!0),(u(!0),y(ee,null,Te(e.chunks,(c,m)=>(u(),y("div",{key:m,class:U({fieldsChunk:e.splitIntoTwoColumns,"responsive-fields-chunk":e.responsiveFields})},[(u(!0),y(ee,null,Te(c,p=>(u(),w(s,{key:p.fieldName=="container"?`${p.fieldName}-${p.detailViewField.id}`:p.fieldName,field:p,record:e.record,formFields:e.formFields,recordType:e.recordType},null,8,["field","record","formFields","recordType"]))),128))],2))),128))])}const Xl=te(UI,[["render",jI],["__scopeId","data-v-11baeb21"]]),zA=Object.freeze(Object.defineProperty({__proto__:null,default:Xl},Symbol.toStringTag,{value:"Module"})),HI={emits:["request-succeeded"],props:{client:{type:Object,required:!0},canRequest:{type:Boolean,default:!1}},data(){var e;return{selectedProductType:((e=this.client)==null?void 0:e.itsmydata_product_type)||"BONITAT_PASS",requesting:!1}},computed:{hasData(){return!!this.client.itsmydata_credit_score},isPending(){return this.client.itsmydata_request_status==="pending"},isCompleted(){return this.client.itsmydata_request_status==="completed"},creditScoreColor(){return this.client.itsmydata_credit_score==="positive"?"green":this.client.itsmydata_credit_score==="negative"?"red":"gray"},creditScoreLabel(){return this.client.itsmydata_credit_score==="positive"?this.$t("itsmydataPanel.positive"):this.client.itsmydata_credit_score==="negative"?this.$t("itsmydataPanel.negative"):this.$t("itsmydataPanel.unknown")},productTypeLabel(){return this.client.itsmydata_product_type==="MIETERMAPPE"?this.$t("itsmydataPanel.mietermappeOption"):this.$t("itsmydataPanel.bonitatspass")},requestButtonLabel(){switch(this.selectedProductType){case"MIETERMAPPE":return this.$t("itsmydataPanel.requestMietermappe");case"BONITAT_PASS":default:return this.$t("itsmydataPanel.requestBonitatspass")}},isMissingClientData(){return!(this.client.emails||[]).length||!this.client.first_name||!this.client.last_name},isRequestDisabled(){return this.isMissingClientData||!this.client.id},requestDisabledMessage(){if(this.isMissingClientData)return this.$t("itsmydataPanel.missingClientData");switch(this.selectedProductType){case"MIETERMAPPE":return this.$t("itsmydataPanel.saveClientBeforeMietermappeRequest");case"BONITAT_PASS":default:return this.$t("itsmydataPanel.saveClientBeforeCreditScoreRequest")}},productTypeOptions(){return[{id:"BONITAT_PASS",name:this.$t("itsmydataPanel.bonitatspass")},{id:"MIETERMAPPE",name:this.$t("itsmydataPanel.mietermappeOption")}]}},methods:{async confirmAndRequest(){if(this.isRequestDisabled){this.showRequestDisabledMessage();return}try{await this.$confirm(this.$t("itsmydataPanel.confirmBody"),this.$t("itsmydataPanel.confirmTitle")),this.requestCreditCheck()}catch{}},async requestCreditCheck(){var e;if(this.isRequestDisabled){this.showRequestDisabledMessage();return}this.requesting=!0;
12545try{const t=await pn(hI,{clientId:this.client.id,productType:this.selectedProductType});Nn(t);const n=(e=t.data)==null?void 0:e.requestItsmydataCreditCheck;if(!n)return;this.$emit("request-succeeded",n),App.flashy(this.$t("itsmydataPanel.pending"))}catch(t){this.$axios.handleError(t)}finally{this.requesting=!1}},showRequestDisabledMessage(){App.flashy(this.requestDisabledMessage,"error")}}},WI={class:"box"},KI={class:"box-row"},YI={class:"box-cell box-cell--label"},QI={class:"box-rowLabel"},ZI={class:"box-cell"},JI={class:"box-row mt-2"},XI={class:"box-cell"},eC={class:"box-row"},tC={class:"box-cell"},nC={key:0,class:"box-row"},iC={class:"box-cell box-cell--label"},rC={class:"box-rowLabel"},aC={class:"box-cell"},oC={class:"box-row"},sC={class:"box-cell box-cell--label"},lC={class:"box-rowLabel"},dC={class:"box-cell"},cC={key:0,class:"box-row"},uC={class:"box-cell box-cell--label"},pC={class:"box-rowLabel"},mC={class:"box-cell flex items-center gap-2"},hC={key:1,class:"box-row"},fC={class:"box-cell box-cell--label"},gC={class:"box-rowLabel"},yC={class:"box-cell"},bC={class:"box-row"},vC={class:"box-cell box-cell--label"},IC={class:"box-rowLabel"},CC={class:"box-cell flex items-center gap-2"},SC={key:0,class:"text-sm text-light"},_C={key:2,class:"expired-warning"},kC={key:3,class:"box-row"},TC={class:"box-cell box-cell--label"},wC={class:"box-rowLabel"},FC={class:"box-cell flex items-center gap-2"},PC={key:4,class:"mietermappe-section"},AC={class:"mietermappe-header"},$C={key:0,class:"box-row"},RC={class:"box-cell box-cell--label"},DC={class:"box-rowLabel"},NC={class:"box-cell"},OC={class:"tag-bubbles"},EC={key:1,class:"box-row"},MC={class:"box-cell box-cell--label"},VC={class:"box-rowLabel"},LC={class:"box-cell"},BC={key:2,class:"box-row"},UC={class:"box-cell box-cell--label"},qC={class:"box-rowLabel"},xC={class:"box-cell"},zC={key:3,class:"box-row"},GC={class:"box-cell box-cell--label"},jC={class:"box-rowLabel"},HC={class:"box-cell"},WC={key:4,class:"box-row"},KC={class:"box-cell box-cell--label"},YC={class:"box-rowLabel"},QC={class:"box-cell"},ZC={key:5,class:"box-row"},JC={class:"box-cell box-cell--label"},XC={class:"box-rowLabel"},eS={class:"box-cell"};function tS(e,t,n,i,r,a){const o=I("nice-select"),s=I("nice-button"),l=I("nice-tooltip"),d=I("nice-label"),c=I("nice-input"),m=I("router-link"),p=I("nice-switch");return u(),y("div",WI,[t[6]||(t[6]=f("header",{class:"box-header"},"itsmydata",-1)),n.canRequest&&!a.hasData&&!a.isPending?(u(),y(ee,{key:0},[f("div",KI,[f("div",YI,[f("span",QI,S(e.$t("itsmydataPanel.productType")),1)]),f("div",ZI,[g(o,{modelValue:r.selectedProductType,"onUpdate:modelValue":t[0]||(t[0]=h=>r.selectedProductType=h),options:a.productTypeOptions,size:"small"},null,8,["modelValue","options"])])]),f("div",JI,[t[4]||(t[4]=f("div",{class:"box-cell box-cell--label"},null,-1)),f("div",XI,[g(l,{content:a.requestDisabledMessage,disabled:!a.isRequestDisabled},{default:k(()=>[f("span",null,[g(s,{size:"small",loading:r.requesting,disabled:a.isRequestDisabled,onClick:a.confirmAndRequest},{default:k(()=>[Y(S(a.requestButtonLabel),1)]),_:1},8,["loading","disabled","onClick"])])]),_:1},8,["content","disabled"])])])],64)):a.isPending?(u(),y(ee,{key:1},[f("div",eC,[t[5]||(t[5]=f("div",{class:"box-cell box-cell--label"},[f("span",{class:"box-rowLabel"},"Status")],-1)),f("div",tC,[g(d,{color:"orange",size:"small"},{default:k(()=>[Y(S(e.$t("itsmydataPanel.pending")),1)]),_:1})])]),n.client.itsmydata_product_type?(u(),y("div",nC,[f("div",iC,[f("span",rC,S(e.$t("itsmydataPanel.productType")),1)]),f("div",aC,[g(c,{"model-value":a.productTypeLabel,disabled:""},null,8,["model-value"])])])):P("",!0)],64)):a.isCompleted?(u(),y(ee,{key:2},[f("div",oC,[f("div",sC,[f("span",lC,S(e.$t("itsmydataPanel.creditScore")),1)]),f("div",dC,[g(d,{color:a.creditScoreColor,size:"small"},{default:k(()=>[Y(S(a.creditScoreLabel),1)]),_:1},8,["color"])])]),n.canRequest?(u(),y("div",cC,[f("div",uC,[f("span",pC,S(e.$t("itsmydataPanel.productType")),1)]),f("div",mC,[g(o,{modelValue:r.selectedProductType,"onUpdate:modelValue":t[1]||(t[1]=h=>r.selectedProductType=h),options:a.productTypeOptions,size:"small"},null,8,["modelValue","options"]),g(l,{content:a.requestDisabledMessage,disabled:!a.isRequestDisabled},{default:k(()=>[f("span",null,[g(s,{size:"small",loading:r.requesting,disabled:a.isRequestDisabled,onClick:a.confirmAndRequest},{default:k(()=>[Y(S(a.requestButtonLabel),1)]),_:1},8,["loading","disabled","onClick"])])]),_:1},8,["content","disabled"])])])):(u(),y("div",hC,[f("div",fC,[f("span",gC,S(e.$t("itsmydataPanel.productType")),1)]),f("div",yC,[g(c,{"model-value":a.productTypeLabel,disabled:""},null,8,["model-value"])])])),f("div",bC,[f("div",vC,[f("span",IC,S(e.$t("itsmydataPanel.validity")),1)]),f("div",CC,[g(d,{color:n.client.itsmydata_validity?"green":"red",size:"small"},{default:k(()=>[Y(S(n.client.itsmydata_validity?e.$t("itsmydataPanel.valid"):e.$t("itsmydataPanel.expired")),1)]),_:1},8,["color"]),n.client.itsmydata_validity&&n.client.itsmydata_days_until_expiry!=null?(u(),y("span",SC," ("+S(e.$t("itsmydataPanel.daysRemaining",{days:n.client.itsmydata_days_until_expiry}))+") ",1)):P("",!0),!n.canRequest&&!n.client.itsmydata_validity?(u(),w(m,{key:1,to:`/contacts/clients/${n.client.id}`,class:"text-sm text-nowrap"},{default:k(()=>[Y(S(e.$t("itsmydataPanel.checkOnContact")),1)]),_:1},8,["to"])):P("",!0)])]),n.client.itsmydata_validity?P("",!0):(u(),y("div",_C,[f("span",null,S(e.$t("itsmydataPanel.expiredWarning")),1),n.canRequest?a.isRequestDisabled?P("",!0):(u(),y("a",{key:1,href:"#",class:"text-sm",onClick:t[2]||(t[2]=ae((...h)=>a.confirmAndRequest&&a.confirmAndRequest(...h),["prevent"]))},S(e.$t("itsmydataPanel.requestNew")),1)):(u(),w(m,{key:0,to:`/contacts/clients/${n.client.id}`,class:"text-sm"},{default:k(()=>[Y(S(e.$t("itsmydataPanel.requestNewOnContact")),1)]),_:1},8,["to"]))])),n.client.itsmydata_valid_until?(u(),y("div",kC,[f("div",TC,[f("span",wC,S(e.$t("itsmydataPanel.validUntil")),1)]),f("div",FC,[g(c,{"model-value":n.client.itsmydata_valid_until,disabled:""},null,8,["model-value"]),n.canRequest&&!a.isRequestDisabled?(u(),y("a",{key:0,href:"#",class:"text-sm text-nowrap",onClick:t[3]||(t[3]=ae((...h)=>a.confirmAndRequest&&a.confirmAndRequest(...h),["prevent"]))},S(e.$t("itsmydataPanel.refresh")),1)):P("",!0)])])):P("",!0),n.client.itsmydata_product_type==="MIETERMAPPE"?(u(),y("div",PC,[f("header",AC,S(e.$t("itsmydataPanel.mietermappe")),1),n.client.itsmydata_income_sources&&n.client.itsmydata_income_sources.length?(u(),y("div",$C,[f("div",RC,[f("span",DC,S(e.$t("itsmydataPanel.incomeSources")),1)]),f("div",NC,[f("div",OC,[(u(!0),y(ee,null,Te(n.client.itsmydata_income_sources,h=>
12545(u(),y("span",{key:h,class:"tag-bubble"},S(h),1))),128))])])])):P("",!0),n.client.itsmydata_employment_type?(u(),y("div",EC,[f("div",MC,[f("span",VC,S(e.$t("itsmydataPanel.employmentType")),1)]),f("div",LC,[g(c,{"model-value":n.client.itsmydata_employment_type,disabled:""},null,8,["model-value"])])])):P("",!0),n.client.itsmydata_average_income?(u(),y("div",BC,[f("div",UC,[f("span",qC,S(e.$t("itsmydataPanel.averageIncome")),1)]),f("div",xC,[g(c,{"model-value":n.client.itsmydata_average_income+" €",disabled:""},null,8,["model-value"])])])):P("",!0),n.client.itsmydata_rent_income_ratio?(u(),y("div",zC,[f("div",GC,[f("span",jC,S(e.$t("itsmydataPanel.rentIncomeRatio")),1)]),f("div",HC,[g(c,{"model-value":n.client.itsmydata_rent_income_ratio+"%",disabled:""},null,8,["model-value"])])])):P("",!0),n.client.itsmydata_household_size?(u(),y("div",WC,[f("div",KC,[f("span",YC,S(e.$t("itsmydataPanel.householdSize")),1)]),f("div",QC,[g(c,{"model-value":n.client.itsmydata_household_size,disabled:""},null,8,["model-value"])])])):P("",!0),n.client.itsmydata_landlord_reference!==null?(u(),y("div",ZC,[f("div",JC,[f("span",XC,S(e.$t("itsmydataPanel.landlordReference")),1)]),f("div",eS,[g(p,{"model-value":n.client.itsmydata_landlord_reference,disabled:""},null,8,["model-value"])])])):P("",!0)])):P("",!0)],64)):P("",!0)])}const ed=te(HI,[["render",tS],["__scopeId","data-v-eec1fae0"]]),GA=Object.freeze(Object.defineProperty({__proto__:null,default:ed},Symbol.toStringTag,{value:"Module"})),nS={props:{statistics:{type:Array,default:()=>[]}},computed:{firstError(){var e;return(e=this.statistics.find(t=>t.lastError))==null?void 0:e.lastError},statisticsWithData(){return this.statistics.filter(e=>e.hasStatistics)}},methods:{formatNumber(e){return e==null?this.$t("oguloVisitorStatisticsPanel.noData"):String(e)},formatDuration(e){return e==null?this.$t("oguloVisitorStatisticsPanel.noData"):this.$t("oguloVisitorStatisticsPanel.minutes",{count:e})},formatDateTime(e){return e?this.$customFilters.datetime(e):this.$t("oguloVisitorStatisticsPanel.noData")}}},iS={class:"box"},rS={class:"box-header"},aS={key:0,class:"ogulo-statistic-banner ogulo-statistic-banner--error"},oS={key:1,class:"ogulo-statistic-banner"},sS={class:"box-row"},lS={class:"box-cell box-cell--label"},dS={class:"box-rowLabel"},cS={class:"box-cell"},uS={class:"box-row"},pS={class:"box-cell box-cell--label"},mS={class:"box-rowLabel"},hS={class:"box-cell"},fS={class:"box-row"},gS={class:"box-cell box-cell--label"},yS={class:"box-rowLabel"},bS={class:"box-cell"},vS={class:"box-row"},IS={class:"box-cell box-cell--label"},CS={class:"box-rowLabel"},SS={class:"box-cell"};function _S(e,t,n,i,r,a){const o=I("nice-input");return u(),y("div",iS,[f("header",rS,S(e.$t("oguloVisitorStatisticsPanel.title")),1),a.firstError?(u(),y("div",aS,S(e.$t("oguloVisitorStatisticsPanel.error",{message:a.firstError})),1)):a.statisticsWithData.length?(u(!0),y(ee,{key:2},Te(a.statisticsWithData,s=>(u(),y("div",{key:s.registrationId,class:"ogulo-statistic"},[f("div",sS,[f("div",lS,[f("span",dS,S(e.$t("oguloVisitorStatisticsPanel.visits")),1)]),f("div",cS,[g(o,{"model-value":a.formatNumber(s.visitsSum),disabled:""},null,8,["model-value"])])]),f("div",uS,[f("div",pS,[f("span",mS,S(e.$t("oguloVisitorStatisticsPanel.duration")),1)]),f("div",hS,[g(o,{"model-value":a.formatDuration(s.duration),disabled:""},null,8,["model-value"])])]),f("div",fS,[f("div",gS,[f("span",yS,S(e.$t("oguloVisitorStatisticsPanel.registrations")),1)]),f("div",bS,[g(o,{"model-value":a.formatNumber(s.registrationsSum),disabled:""},null,8,["model-value"])])]),f("div",vS,[f("div",IS,[f("span",CS,S(e.$t("oguloVisitorStatisticsPanel.lastVisit")),1)]),f("div",SS,[g(o,{"model-value":a.formatDateTime(s.lastVisitTimestamp),disabled:""},null,8,["model-value"])])])]))),128)):(u(),y("div",oS,S(e.$t("oguloVisitorStatisticsPanel.empty")),1))])}const td=te(nS,[["render",_S],["__scopeId","data-v-d548a53b"]]),jA=Object.freeze(Object.defineProperty({__proto__:null,default:td},Symbol.toStringTag,{value:"Module"})),kS=["title","address","owners","location_id","location_ids","corridor","cadastral_district","district","hide_address","price_on_inquiry","for_bidding","parking_space_price","plot_area","additional_area","number_of_floors","parking_space_types","number_of_parking_space
12545s","condition","last_refurbishment","interior_quality","construction_phase","location_classification_type","shop_window_length","lan_cables","goods_lift","goods_lift_load","floor_load","supply_type","ramp","auto_lift","hall_height","connected_load","crane_runway_load","lift","cellar","monument","description_note","short_note","location_note","furnishing_note","other_note","long_description_note","long_location_note","long_furnishing_note","long_other_note","custom_lp_address","openimmo_firstname","openimmo_lastname","openimmo_email","openimmo_phone","broker_id","local_court","barrier_free","scout_contact_id","scout_group_number","register_number","land_registry","internal_brokerage","courtage","courtage_note","energy_certificate_availability","energy_certificate_creation_date","energy_certificate_start_date","energy_certificate_end_date","building_energy_rating_type","energy_efficiency_class","energy_efficiency_value","thermal_characteristic_electricity","thermal_characteristic_heating","co_emission","co2_emission_rating","energy_consumption_contains_warm_water","heating_type","firing_types","construction_year","energy_certificate_construction_year","equipment_technology_construction_year","construction_year_unknown","aut_hwb","aut_hwb_class","aut_fgee","aut_fgee_class","aut_building_certificates","distance_to_pt","distance_to_pt_length","distance_to_fm","distance_to_fm_length","distance_to_mrs","distance_to_mrs_length","distance_to_airport","distance_to_airport_length","cf_objekt_webseiten_url","cf_kein_automatischer_exposeversand"],TS=e=>kS.includes(e),wS=e=>({uaeFirstRow:[{key:"building_name",ref:"building_name",model:"building_name",placeholder:e("detailView.addressBuilding"),class:"mr-2"}],defaultFirstRow:[{key:"street",ref:"street",model:"street",placeholder:e("detailView.addressStreet"),class:"mr-2"},{key:"house_number",model:"house_number",placeholder:e("detailView.addressNumber"),class:"",style:"width: 70px"}],uaeSecondRow:[{key:"sub_community",model:"sub_community",placeholder:e("detailView.addressSubcommunity"),class:"mr-2"},{key:"community",model:"community",placeholder:e("detailView.addressCommunity"),class:""}],defaultSecondRow:[{key:"zip_code",model:"zip_code",placeholder:e("detailView.addressZipcode"),class:"mr-2"},{key:"city",ref:"cityInput",model:"city",placeholder:e("detailView.addressCity"),class:""}]}),FS=["disabled","aria-label","title"],PS={key:0,class:"strike-line","aria-hidden":"true"},AS=`
12546  mutation SetAggregationOverride($propertyId: ID!, $fieldName: String!) {
12547    setAggregationOverride(propertyId: $propertyId, fieldName: $fieldName) {
12548      id
12549      aggregationFieldOverrides
12550      updatedAt
12551    }
12552  }
12553`,$S=`
12554  mutation ClearAggregationOverride($propertyId: ID!, $fieldName: String!) {
12555    clearAggregationOverride(propertyId: $propertyId, fieldName: $fieldName) {
12556      id
12557      aggregationFieldOverrides
12558      aggregationValue(fieldName: $fieldName)
12559      updatedAt
12560    }
12561  }
12562`,RS=K({__name:"AggregationFxIcon",props:{property:{},fieldName:{},readonly:{type:Boolean}},emits:["updated"],setup(e,{emit:t}){const n=e,i=t,{t:r}=ot(),{showConfirm:a}=Pi(),o=F(()=>{var h;return!!((h=n.property.aggregation_field_overrides)!=null&&h[n.fieldName])}),s=F(()=>{if(!o.value)return r("aggregation.fx.tooltip.active");const h=n.property[n.fieldName],T=h!=null&&h!=="";return r(T?"aggregation.fx.tooltip.overridden":"aggregation.fx.tooltip.disabled")}),l=ce(!1),d=async()=>{var h,T;l.value=!0;try{const C=await di(AS,{propertyId:n.property.id.toString(),fieldName:n.fieldName});n.property.aggregation_field_overrides=C.setAggregationOverride.aggregationFieldOverrides,n.property.updated_at=C.setAggregationOverride.updatedAt,i("updated")}catch{(T=(h=window.App)==null?void 0:h.alert)==null||T.call(h,r("common.error"))}finally{l.value=!1}},c=async()=>{var h,T;l.value=!0;try{const C=await di($S,{propertyId:n.property.id.toString(),fieldName:n.fieldName});n.property.aggregation_field_overrides=C.clearAggregationOverride.aggregationFieldOverrides,n.property[n.fieldName]=C.clearAggregationOverride.aggregationValue,n.property.updated_at=C.clearAggregationOverride.updatedAt,i("updated")}catch{(T=(h=window.App)==null?void 0:h.alert)==null||T.call(h,r("common.error"))}finally{l.value=!1}},m=()=>{a(r("aggregation.fx.reactivateDialogTitle"),r("aggregation.fx.reactivateDialogBody"),r("aggregation.fx.reactivateConfirmButton"),r("common.cancel"),!1,c)},p=()=>
12562{n.readonly||(o.value?m():d())};return(h,T)=>{const C=I("fa-icon");return u(),y("button",{type:"button",class:U(["fx-icon",{"is-struck":o.value,"is-disabled":e.readonly}]),disabled:e.readonly||l.value,"aria-label":s.value,title:s.value,tabindex:"-1",onClick:ae(p,["stop"])},[g(C,{name:"function"}),o.value?(u(),y("span",PS)):P("",!0)],10,FS)}}}),nd=te(RS,[["__scopeId","data-v-ba505269"]]),HA=Object.freeze(Object.defineProperty({__proto__:null,default:nd},Symbol.toStringTag,{value:"Module"})),DS=["disabled","aria-label","title"],NS={key:0,class:"strike-line","aria-hidden":"true"},OS=`
12563  mutation DeactivateFieldInheritance($propertyId: Int!, $fieldKey: String!) {
12564    deactivateFieldInheritance(propertyId: $propertyId, fieldKey: $fieldKey) {
12565      id
12566      inheritanceFieldOverrides
12567      updatedAt
12568    }
12569  }
12570`,ES=`
12571  mutation ReactivateFieldInheritance($propertyId: Int!, $fieldKey: String!) {
12572    reactivateFieldInheritance(propertyId: $propertyId, fieldKey: $fieldKey) {
12573      id
12574      title
12575      inheritanceFieldOverrides
12576      updatedAt
12577      customFields
12578      relationships {
12579        id
12580        name
12581        internalName
12582        relatedClientId
12583        relationshipCategoryId
12584        relatedClient {
12585          id
12586          name
12587          email
12588          path
12589          phone
12590          company
12591        }
12592      }
12593    }
12594  }
12595`,MS=K({__name:"InheritanceIcon",props:{property:{},fieldName:{},readonly:{type:Boolean}},emits:["updated"],setup(e,{emit:t}){const n=e,i=t,{t:r}=ot(),{showConfirm:a}=Pi(),o=F(()=>{var h;return!!((h=n.property.inheritance_field_overrides)!=null&&h[n.fieldName])}),s=F(()=>{if(!o.value)return r("inheritance.tooltip.active");const h=n.property[n.fieldName],T=h!=null&&h!=="";return r(T?"inheritance.tooltip.overridden":"inheritance.tooltip.disabled")}),l=ce(!1),d=async()=>{var h,T;l.value=!0;try{const C=await di(OS,{propertyId:Number(n.property.id),fieldKey:n.fieldName});n.property.inheritance_field_overrides=C.deactivateFieldInheritance.inheritanceFieldOverrides,n.property.updated_at=C.deactivateFieldInheritance.updatedAt,i("updated")}catch{(T=(h=window.App)==null?void 0:h.alert)==null||T.call(h,r("common.error"))}finally{l.value=!1}},c=async()=>{var h,T;l.value=!0;try{const v=(await di(ES,{propertyId:Number(n.property.id),fieldKey:n.fieldName})).reactivateFieldInheritance;if(n.property.inheritance_field_overrides=v.inheritanceFieldOverrides,n.property.title=v.title,v.customFields){Object.entries(v.customFields).forEach(([D,O])=>{n.property[`cf_${D}`]=O});const R=n.property.custom_fields||{};n.property.custom_fields={...R,...v.customFields}}n.fieldName==="owners"&&(n.property.relationships=v.relationships),n.property.updated_at=v.updatedAt,i("updated")}catch{(T=(h=window.App)==null?void 0:h.alert)==null||T.call(h,r("common.error"))}finally{l.value=!1}},m=()=>{a(r("inheritance.reactivateDialogTitle"),r("inheritance.reactivateDialogBody"),r("inheritance.reactivateConfirmButton"),r("common.cancel"),!1,c)},p=()=>{n.readonly||(o.value?m():d())};return(h,T)=>{const C=I("fa-icon");return u(),y("button",{type:"button",class:U(["inheritance-icon",{"is-overridden":o.value,"is-disabled":e.readonly}]),disabled:e.readonly||l.value,"aria-label":s.value,title:s.value,tabindex:"-1",onClick:ae(p,["stop"])},[g(C,{name:"link"}),o.value?(u(),y("span",NS)):P("",!0)],10,DS)}}}),id=te(MS,[["__scopeId","data-v-077170b9"]]),WA=Object.freeze(Object.defineProperty({__proto__:null,default:id},Symbol.toStringTag,{value:"Module"})),VS=["living_space","building_space","office_space_total","retail_space_total","gastro_space_total","storage_space_total","mezzanine_space_total","open_space_total","service_space_total","archive_space_total","office_space_min","office_space","office_rent_per_sqm_from","office_rent_per_sqm_to","office_additional_costs_per_sqm_from","office_additional_costs_per_sqm_to","retail_space_min","retail_space","retail_rent_per_sqm_from","retail_rent_per_sqm_to","retail_additional_costs_per_sqm_from","retail_additional_costs_per_sqm_to","gastro_space_min","gastro_space","gastro_rent_per_sqm_from","gastro_rent_per_sqm_to","gastro_additional_costs_per_sqm_from","gastro_additional_costs_per_sqm_to","storage_space_min","storage_space","storage_rent_per_sqm_from","storage_rent_per_sqm_to","storage_additional_costs_per_sqm_from","storage_additional_costs_per_sqm_to","mezzanine_space_min","mezzanine_space","mezzanine_rent_per_sqm_from","mezzanine_rent_per_sqm_to","open_space_min","open_space","open_rent_per_sqm_from","open_rent_per_sqm_to","service_space_min","service_space","service_rent_per_sqm_from","service_rent_per_sqm_to","archive_space_min","archive_space","archive_space_rent_per_sqm_from","archive_space_rent_per_sqm_to"],LS=e=>VS.includes(e);function BS(e,t,n){const i=Si(),r=F(()=>{var d;return!!((d=i==null?void 0:i.featureActive)!=null&&d.call(i,"area_calculation"))}),a=F(()=>Ht(n)==="property"),o=F(()=>{const d=Ht(t),c=Ht(e);return r.value&&a.value&&LS(c.fieldName)&&((d==null?void 0:d.children_count)??0)>0}),s=F(()=>{const d=Ht(t),c=Ht(e);return r.value&&a.value&&!!(d!=null&&d.parent_id)&&!(c.fieldName==="owners"&&(d!=null&&d.fork_id))&&TS(c.fieldName)}),l=F(()=>{var c;const d=Ht(e);return!!d.readonly||!!((c=d.formField)!=null&&c.formula)});return{showAggregation:o,showInheritance:s,isReadOnly:l}}const US={key:0,class:"field-label-decorators"},qS=K({__name:"FieldLabelDecorators",props:{record:{},field:{},recordType:{}},emits:["refresh"],setup(e){const t=e,{showAggregation:n,showInheritance:i,isReadOnly:r}=BS(ln(t,"field"),ln(t,"record"),ln(t,"recordType"));return(a,o)=>E(n)||E(i)?(u(),y("span",US,[E(n)?(u(),w(nd,{key:0,property:e.record,"field-name":e.field.fieldName,readonly:E(r),onUpdated:o[0]||(o[0]=s=>a.$emit("refresh"))},null,8,["property","field-name","readonly"])):P("",!0),E(i)?(u(),w(id,{key:1,property:e.record,"field-name":e.field.fieldName,readonly:E(r),onUpdated:o[1]||(o[1]=s=>a.$emit("refresh"))},null,8,["property","field-name","readonly"])):P("",!0)])):P("",!0)}}),zt=te(qS,[["__scopeId","data-v-732bfe34"]]),KA=Object.freeze(Object.defineProperty({__proto__:null,default:zt},Symbol.toStringTag,{value:"Module"})),xS=K({props:["record","field","isNeoTheme","recordType"],components:{FieldLabelDecorators:zt},data(){return{regions:[],lastRegion:null,pendingRegionMatch:null,autocomplete:null}},watch:{"record.region":{handler(e){e&&(this.lastRegion=e),this.uaeFormat?this.clearAddressInfo(!1):this.clearUaeInfo(),this.validateRegion()}},"record.country":{handler(){this.fetchRegions()}},uaeFormat:{handler(){this.$nextTick(()=>{this.setAutocomplete()})}},regions:{handler(e){this.pendingRegionMatch&&e.length>0&&(this.matchRegionFromAutocomplete(this.pendingRegionMatch),this.pendingRegionMatch=null)}}},computed:{isReadOnly(){return tt(!!this.field.readonly)},decoratorField(){return{...this.field,fieldName:"address"}},hasCustomLabel(){return this.field.formField.label!=this.$t("detailVie
12595w.address")&&this.field.formField.label!=this.$t("detailView.address")+" 2"},uaeFormat(){return this.record.country=="ARE"},fieldConfigs(){return wS(this.$t)},firstRowFields(){return this.uaeFormat?this.fieldConfigs.uaeFirstRow:this.fieldConfigs.defaultFirstRow},secondRowFields(){return this.uaeFormat?this.fieldConfigs.uaeSecondRow:this.fieldConfigs.defaultSecondRow},firstRowLabel(){return this.uaeFormat?`${this.$t("detailView.addressBuilding")}`:`${this.$t("detailView.addressStreet")} + ${this.$t("detailView.addressNumber")}`},secondRowLabel(){return`${this.uaeFormat?`${this.$t("detailView.addressSubcommunity")} / ${this.$t("detailView.addressCommunity")}`:`${this.$t("detailView.addressZipcode")} / ${this.$t("detailView.addressCity")}`}${this.field.mandatory?" *":""}`},addressCopyValue(){return(this.uaeFormat?[this.record.building_name,this.record.sub_community,this.record.community,this.record.region]:[`${this.record.street} ${this.record.house_number}`,`${this.record.zip_code} ${this.record.city}`]).filter(Boolean).join(", ")},address(){return[[this.record.street,this.record.house_number].join(" "),[this.record.zip_code,this.record.city,this.record.country].join(" ")].filter(t=>t.trim()).join(", ")},gmapsURL(){return`https://maps.google.de/maps?hl=de&q=${this.address}`},countries(){return Hl(this.$db.shopData.countries,this.record.country)},googleCountryRestriction(){return this.$db.shopData.sellsInternationally?null:this.$db.shopData.internationalCountry?_a(this.$db.shopData.internationalCountry):"de"}},methods:{validateMandatory:ft,fetchRegions(){if(!this.record.country){this.regions=[];return}this.$graphql(`query Is24Regions {
12596    shop { regionOptions(country: "${this.record.country}") { id name } }
12597  }`).then(({shop:{regionOptions:e}})=>{this.regions=e,this.lastRegion&&e.map(t=>t.name).find(t=>t==this.lastRegion)&&(this.record.region=this.lastRegion,this.lastRegion=null)}).catch(e=>{App.alert(this.$t("detailView.addressError")),console.log(e)})},async setAutocomplete(){var t,n,i;(t=this.autocomplete)==null||t.remove();const e=this.uaeFormat?(n=this.$refs.building_name[0])==null?void 0:n.input.input:(i=this.$refs.street[0])==null?void 0:i.input.input;e&&(this.autocomplete=await Ti({input:e,options:{types:this.uaeFormat?void 0:["address"],componentRestrictions:this.googleCountryRestriction?{country:this.googleCountryRestriction}:void 0},onPlaceSelected:this.handlePlaceSelected}))},placesNamesMapping(){return{country:["country"],city:["locality","postal_town"],street:["route"],house_number:["street_number"],zip_code:["postal_code"],building_name:["route"],sub_community:["sublocality"],community:["locality","postal_town"]}},handlePlaceSelected(e){var n;const t=(n=e.geometry)==null?void 0:n.location;t&&(this.clearAddressInfo(),this.populateAddressFields(e),this.autocompleteRegion(e),this.record.lat=t.lat(),this.record.lng=t.lng())},populateAddressFields(e){const t=this.placesNamesMapping();Object.keys(t).forEach(n=>{const i=t[n];for(const r of i){const a=e.address_components.find(o=>o.types.includes(r));if(a){this.record[n]=n=="country"?na.alpha2ToAlpha3(a.short_name):a.long_name;break}}})},autocompleteRegion(e){const t=["administrative_area_level_1","administrative_area_level_2"],n=[];t.forEach(i=>{const r=e.address_components.find(a=>a.types.includes(i));r&&n.push(r.long_name)}),n.length>0&&(this.matchRegionFromAutocomplete(n),this.pendingRegionMatch=n)},matchRegionFromAutocomplete(e){if(!(!e||e.length===0||this.regions.length===0)){for(const t of e){const n=this.regions.find(i=>i.id===t||i.name===t);if(n){this.record.region=n.id;return}}for(const t of e){const n=this.regions.find(i=>{const r=i.name.toLowerCase(),a=t.toLowerCase();return r.includes(a)||a.includes(r)});if(n){this.record.region=n.id;return}}}},validateRegion(){this.record.region&&(this.regions.find(e=>e.id===this.record.region)||(this.record.region=null))},clearAddressInfo(e=!0){e&&(this.record.country="",this.record.region=""),this.record.city="",this.record.zip_code="",this.record.street="",this.record.house_number=""},clearUaeInfo(){this.record.building_name="",this.record.sub_community="",this.record.community=""}}
12597,mounted(){this.field.readonly||(this.fetchRegions(),this.setAutocomplete())},beforeUnmount(){var e;(e=this.autocomplete)==null||e.remove()}}),zS=["innerHTML"],GS={key:1},jS={key:2},HS=["href","title"];function WS(e,t,n,i,r,a){const o=I("FieldLabelDecorators"),s=I("nice-button"),l=I("fa-icon"),d=I("nice-input"),c=I("dv-row"),m=I("nice-select");return u(),y("div",null,[g(c,{hint:e.field.hint,"copy-value":e.addressCopyValue,"copy-tooltip":e.$t("detailView.addressCopy")},{label:k(()=>[e.hasCustomLabel?(u(),y("span",{key:0,innerHTML:e.field.formField.label},null,8,zS)):(u(),y("span",GS,S(e.firstRowLabel),1)),e.field.mandatory?(u(),y("span",jS,"*")):P("",!0),g(o,{record:e.record,field:e.decoratorField,recordType:e.recordType},null,8,["record","field","recordType"]),e.address?(u(),y(ee,{key:3},[e.isNeoTheme?(u(),w(s,{key:0,tag:"a",size:"xsmall",href:e.gmapsURL,target:"_blank",icon:"external-link",iconSet:"neo",iconOnly:"",class:"ml-2"},null,8,["href"])):(u(),y("a",{key:1,href:e.gmapsURL,target:"_blank",tabindex:"-1",class:"light ml-1",title:e.$t("detailView.addressLink")},[g(l,{name:"external-link"})],8,HS))],64)):P("",!0)]),default:k(()=>[(u(!0),y(ee,null,Te(e.firstRowFields,p=>(u(),w(d,{key:p.key,ref_for:!0,ref:p.key,readonly:e.isReadOnly,type:"text",placeholder:p.placeholder,modelValue:e.record[p.model],"onUpdate:modelValue":h=>e.record[p.model]=h,class:U([p.class,{"disabled-visibility-address":e.field.readonly}]),style:xe(p.style),error:e.validateMandatory(e.field,!!e.record[p.model])},null,8,["readonly","placeholder","modelValue","onUpdate:modelValue","class","style","error"]))),128))]),_:1},8,["hint","copy-value","copy-tooltip"]),g(c,{label:e.secondRowLabel},{default:k(()=>[(u(!0),y(ee,null,Te(e.secondRowFields,p=>(u(),w(d,{key:p.key,ref_for:!0,ref:p.ref,readonly:e.isReadOnly,type:"text",placeholder:p.placeholder,modelValue:e.record[p.model],"onUpdate:modelValue":h=>e.record[p.model]=h,class:U([p.class,{"disabled-visibility-address":e.field.readonly}]),error:e.validateMandatory(e.field,!!e.record[p.model])},null,8,["readonly","placeholder","modelValue","onUpdate:modelValue","class","error"]))),128))]),_:1},8,["label"]),g(c,{label:`${e.$t("detailView.addressRegion")} / ${e.$t("detailView.addressCountry")} ${e.field.mandatory?"*":""}`,field:e.field},{default:k(()=>[g(m,{disabled:e.field.readonly,modelValue:e.record.region,"onUpdate:modelValue":t[0]||(t[0]=p=>e.record.region=p),options:e.regions,placeholder:e.$t("detailView.addressRegion"),class:U(["mr-2",{"disabled-visibility-address-select":e.field.readonly}]),error:e.validateMandatory(e.field,!!e.record.region)},null,8,["disabled","modelValue","options","placeholder","error","class"]),g(m,{disabled:e.field.readonly,modelValue:e.record.country,"onUpdate:modelValue":t[1]||(t[1]=p=>e.record.country=p),options:e.countries,placeholder:e.$t("detailView.addressCountry"),error:e.validateMandatory(e.field,!!e.record.country),class:U({"disabled-visibility-address-select":e.field.readonly}),onChange:t[2]||(t[2]=p=>e.record.region=null)},null,8,["disabled","modelValue","options","placeholder","error","class"])]),_:1},8,["label","field"])])}const Fa=te(xS,[["render",WS]]),YA=Object.freeze(Object.defineProperty({__proto__:null,default:Fa},Symbol.toStringTag,{value:"Module"})),rd={__name:"AddressFields",setup(e){const{isNeoTheme:t}=Ee();return(n,i)=>(u(),w(yi,null,{default:k(()=>[g(Fa,vt(n.$attrs,{"is-neo-theme":E(t)}),null,16,["is-neo-theme"])]),_:1}))}},QA=Object.freeze(Object.defineProperty({__proto__:null,default:rd},Symbol.toStringTag,{value:"Module"})),KS=K({props:["record","field"],data(){return{EMPTY_CATEGORIES_TYPES:zl}},watch:{"record.marketing_type":{handler(e){if(e=="RENT"&&this.record.object_type=="INVESTMENT"&&(this.record.object_type=null),this.record.object_type=="LIVING"&&this.record.rs_type){const t=Y0(this.record.rs_type);e!="RENT"&&t&&(this.record.rs_type=null)}}},"record.object_type":{handler(){this.record.rs_type=null}},"record.rs_type":{handler(){this.record.rs_category=null}}},methods:{validateMandatory:ft,isMissing(e){return!this.record[e]},missingValueStyle(e){return this.isMissing(e)&&this.field.color?`background-color: ${this.field.color}`:void 0}},computed:{marketingTypes(){return Q0(this.$db)},objectTypes(){return Z0(this.$db,this.record.marketing_type)},rsTypes(){return J0(this.$db,this.record.object_type,this.record.marketing_type)},rsCategories(){return X0(this.$db,this.record.rs_type)}}}),YS={class:"w-100"};function QS(e,t,n,i,r,a){const o=I("nice-select"),s=I("dv-row");return u(),y("div",null,[g(s,{label:`${e.field.formField.label} ${e.field.mandatory?"*":""}`,hint:e.field.hint,field:e.field},{default:k(()=>[g(o,{disabled:e.field.readonly,modelValue:e.record.marketing_type,"onUpdate:modelValue":t[0]||(t[0]=l=>e.record.marketing_type=l),options:e.marketingTypes,placeholder:e.$t("detailVie
12597w.categoryMarketing"),clearable:!1,class:U(["mr-2 rounded",{"disabled-visibility-category":e.field.readonly,"inherit-bg-color":e.isMissing("marketing_type")&&e.field.color}]),error:e.validateMandatory(e.field,!!e.record.marketing_type),style:xe(e.missingValueStyle("marketing_type")),"data-value-missing":e.isMissing("marketing_type")},null,8,["disabled","modelValue","options","placeholder","error","class","style","data-value-missing"]),g(o,{disabled:e.field.readonly,modelValue:e.record.object_type,"onUpdate:modelValue":t[1]||(t[1]=l=>e.record.object_type=l),options:e.objectTypes,placeholder:e.$t("detailView.categoryType"),error:e.validateMandatory(e.field,!!e.record.object_type),class:U({"disabled-visibility-category":e.field.readonly,"inherit-bg-color":e.isMissing("object_type")&&e.field.color}),style:xe(e.missingValueStyle("object_type")),"data-value-missing":e.isMissing("object_type")},null,8,["disabled","modelValue","options","placeholder","error","class","style","data-value-missing"])]),_:1},8,["label","hint","field"]),g(s,{label:`${e.$t("detailView.categoryField")} ${e.field.mandatory?"*":""}`,hint:e.field.hint,field:e.field},{default:k(()=>[g(o,{disabled:e.field.readonly,modelValue:e.record.rs_type,"onUpdate:modelValue":t[2]||(t[2]=l=>e.record.rs_type=l),options:e.rsTypes,placeholder:e.$t("detailView.categoryProptype"),class:U(["mr-2 rounded",{disabled:e.rsTypes.length<=0,"disabled-visibility-category":e.field.readonly,"inherit-bg-color":e.isMissing("rs_type")&&e.field.color}]),error:e.validateMandatory(e.field,!!e.record.rs_type),style:xe(e.missingValueStyle("rs_type")),"data-value-missing":e.isMissing("rs_type")},null,8,["disabled","modelValue","options","placeholder","error","class","style","data-value-missing"]),f("div",YS,[e.EMPTY_CATEGORIES_TYPES.includes(e.record.rs_type)?P("",!0):(u(),w(o,{key:0,disabled:e.field.readonly,modelValue:e.record.rs_category,"onUpdate:modelValue":t[3]||(t[3]=l=>e.record.rs_category=l),options:e.rsCategories,placeholder:e.$t("detailView.categoryCat"),error:e.validateMandatory(e.field,!!e.record.rs_category),class:U({disabled:e.rsCategories.length<=0,"disabled-visibility-category":e.field.readonly,"inherit-bg-color":e.isMissing("rs_category")&&e.field.color}),style:xe(e.missingValueStyle("rs_category")),"data-value-missing":e.isMissing("rs_category")},null,8,["disabled","modelValue","options","placeholder","error","class","style","data-value-missing"]))])]),_:1},8,["label","hint","field"])])}const ad=te(KS,[["render",QS]]),ZA=Object.freeze(Object.defineProperty({__proto__:null,default:ad},Symbol.toStringTag,{value:"Module"})),ZS="__commissionSplitPersistedCommissions",Ss=e=>e==null||e===""?null:Number(e),_s=({splits:e,actor:t,splitPosition:n,total:i})=>e.filter(r=>r.actor==t&&r.splitPosition==n).reduce((r,a)=>a.valueType=="fixed"?r+a.value:r+a.value/100*i,0),od=({total:e,splits:t},n,{actor:i})=>{if(n=="pre")return e;if(n){const r=od({total:e,splits:t},null,{actor:i});return r-_s({splits:t,splitPosition:null,actor:i,total:r})}else return e-_s({splits:t,splitPosition:"pre",actor:i,total:e})},ra=(e,t)=>{if(t.valueType=="percent"){const n=od({splits:e.commission_splits,total:t.actor=="buyer"?e.external_commission:e.internal_commission},t.splitPosition,t);return n<0?0:n*(t.value/100)}else return t.value||0},JS=(e,t)=>{const n=e==null?void 0:e[ZS];if(!n)return!1;const i=Ss(t=="buyer"?e.external_commission:e.internal_commission),r=Ss(t=="buyer"?n.external_commission:n.internal_commission);return i!==r},Pa=(e,t)=>t.valueType=="percent"?JS(e,t.actor)?ra(e,t):t.calculatedValue??null:t.value||0,XS=$e(`
12598  query PropertyUnitQuickview($id: ID!) {
12599    property(id: $id) {
12600      id
12601      updatedAt
12602      brokerId
12603      brokerIds
12604      departmentIds
12605      propertyStatusId
12606      unitId
12607      note
12608      warningNotice
12609      archived
12610      courtage
12611      marketingType
12612      objectType
12613      rsType
12614      rsCategory
12615      country
12616      rented
12617      freeFrom
12618      floor
12619      floorPosition
12620      buildingPart
12621      customFields
12622      relationships {
12623        id
12624        name
12625        internalName
12626        relatedClientId
12627        relatedClient {
12628          id
12629          name
12630          email
12631          path
12632          phone
12633          company
12634        }
12635        project {
12636          id
12637          name
12638        }
12639      }
12640      publishings {
12641        id
12642        publishDate
12643      }
12644      parentId
12645      forkId
12646      inheritanceFieldOverrides
12647      aggregatedRsTypes
12648      receivedViaMls
12649      childrenCount
12650      officeSpace
12651      officeSpaceMin
12652      officeSpaceTotal
12653      officeRentPerSqmFrom
12654      officeRentPerSqmTo
12655      officeAdditionalCostsPerSqmFrom
12656      officeAdditionalCostsPerSqmTo
12657      retailSpace
12658      retailSpaceMin
12659      retailSpaceTotal
12660      retailRentPerSqmFrom
12661      retailRentPerSqmTo
12662      retailAdditionalCostsPerSqmFrom
12663      retailAdditionalCostsPerSqmTo
12664      gastroSpace
12665      gastroSpaceMin
12666      gastroSpaceTotal
12667      gastroRentPerSqmFrom
12668      gastroRentPerSqmTo
12669      gastroAdditionalCostsPerSqmFrom
12670      gastroAdditionalCostsPerSqmTo
12671      storageSpace
12672      storageSpaceMin
12673      storageSpaceTotal
12674      storageRentPerSqmFrom
12675      storageRentPerSqmTo
12676      storageAdditionalCostsPerSqmFrom
12677      storageAdditionalCostsPerSqmTo
12678      mezzanineSpace
12679      mezzanineSpaceMin
12680      mezzanineSpaceTotal
12681      mezzanineRentPerSqmFrom
12682      mezzanineRentPerSqmTo
12683      openSpace
12684      openSpaceMin
12685      openSpaceTotal
12686      openRentPerSqmFrom
12687      openRentPerSqmTo
12688      serviceSpace
12689      serviceSpaceMin
12690      serviceSpaceTotal
12691      serviceRentPerSqmFrom
12692      serviceRentPerSqmTo
12693      archiveSpace
12694      archiveSpaceMin
12695      archiveSpaceTotal
12696      archiveSpaceRentPerSqmFrom
12697      archiveSpaceRentPerSqmTo
12698    }
12699  }
12700`),e_=$e(`
12701  mutation UpdateProperty($id: Int!, $attributes: PropertyAttributes!, $locale: String, $skipVersion: Boolean = false) {
12702    updateProperty(id: $id, attributes: $attributes, locale: $locale, skipVersion: $skipVersion) {
12703      id
12704      updatedAt
12705    }
12706  }
12707`),t_=$e(`
12708  mutation ArchiveProperty($id: Int!) {
12709    archiveProperty(id: $id) {
12710      id
12711      archived
12712    }
12713  }
12714`),n_=$e(`
12715  mutation UnarchiveProperty($id: Int!) {
12716    unarchiveProperty(id: $id) {
12717      id
12718      archived
12719    }
12720  }
12721`),JA=$e(`
12722  mutation CopyProperties($ids: [Int!]!) {
12723    copyProperties(ids: $ids) {
12724      id
12725    }
12726  }
12727`),XA=$e(`
12728  mutation UpdatePropertiesStatus($ids: [Int!]!, $propertyStatusId: Int!) {
12729    updatePropertiesStatus(ids: $ids, propertyStatusId: $propertyStatusId) {
12730      id
12731      propertyStatusId
12732    }
12733  }
12734`),e4=$e(`
12735  mutation UpdatePropertiesBroker($ids: [Int!]!, $brokerId: Int!) {
12736    updatePropertiesBroker(ids: $ids, brokerId: $brokerId) {
12737      id
12738      brokerId
12739    }
12740  }
12741`),t4=$e(`
12742  mutation UpdatePropertyRented($id: Int!, $rented: Boolean!) {
12743    updateProperty(id: $id, attributes: { rented: $rented }) {
12744      id
12745      rented
12746    }
12747  }
12748`),n4=$e(`
12749  mutation UpdatePropertyFreeFrom($id: Int!, $freeFrom: String!) {
12750    updateProperty(id: $id, attributes: { freeFrom: $freeFrom }) {
12751      id
12752      freeFrom
12753    }
12754  }
12755`);$e(`
12756  mutation RecalculatePropertyAggregations($propertyId: Int!) {
12757    recalculatePropertyAggregations(propertyId: $propertyId) {
12758      id
12759    }
12760  }
12761`);$e(`
12762  mutation DetachPropertyFromParent($propertyId: Int!) {
12763    detachPropertyFromParent(propertyId: $propertyId) {
12764      id
12765    }
12766  }
12767`);$e(`
12768  mutation InheritParentFieldsToChildren($propertyId: Int!, $fieldKeys: [String!]!, $childIds: [Int!]) {
12769    inheritParentFieldsToChildren(propertyId: $propertyId, fieldKeys: $fieldKeys, childIds: $childIds) {
12770      id
12771    }
12772  }
12773`);async function i4(e){var n;const t=await pn(XS,e);return Nn(t),(n=t.data)==null?void 0:n.property}async function i_(e){var n;const t=await pn(e_,e);return Nn(t),(n=t.data)==null?void 0:n.updateProperty}async function r4(e){var n;const t=await pn(t_,{id:e});return Nn(t),(n=t.data)==null?void 0:n.archiveProperty}async function a4(e){var n;const t=await pn(n_,{id:e});return Nn(t),(n=t.data)==null?void 0:n.unarchiveProperty}const sd=K({__name:"PerfectMatchSettingsToggle",props:{field:{},perfectMatchSettings:{}},setup(e){const{perfectMatchSettingsHard:t,perfectMatchSettingsSoft:n,perfectMatchSettingsDefaultValue:i}=jl(),{t:r}=ot(),a=F({get(){return e.perfectMatchSettings[e.field.fieldName]===(t==null?void 0:t.id)},set(d){e.perfectMatchSettings[e.field.fieldName]=d?t==null?void 0:t.id:n==null?void 0:n.id}}),o=F(()=>a.value?"blue":"red"),s=F(()=>a.value?r(`client.queries.form.${t==null?void 0:t.id.toLowerCase()}`):r(`client.queries.form.${n==null?void 0:n.id.toLowerCase()}`)),l=()=>{a.value=!a.value};return At(()=>{e.perfectMatchSettings[e.field.fieldName]||(e.perfectMatchSettings[e.field.fieldName]=i==null?void 0:i.id)}),(d,c)=>{const m=I("nice-label");return u(),w(m,{variant:o.value,clickable:!0,onClick:l,class:"w-16"},{default:k(()=>[Y(S(s.value),1)]),_:1},8,["variant"])}}}),r_={key:0,class:"pb-[0.5rem]"},a_=K({__name:"GeneralWrapper",props:{field:{},record:{},perfectMatchSettings:{}},setup(e){const{perfectMatchEnabled:t}=jl(),n=F(()=>{var i,r;
12773return((r=(i=e.field)==null?void 0:i.detailViewField)==null?void 0:r.perfectMatch)&&t.value});return(i,r)=>{const a=I("base-field");return u(),y("div",{class:U(["grid gap-3 items-center",n.value?"grid-cols-[1fr_auto]":"grid-cols-1"])},[(u(),w(a,{field:e.field,key:e.field.fieldName,record:e.record,class:"w-full",style:{"min-width":"0"}},null,8,["field","record"])),n.value?(u(),y("div",r_,[g(sd,{perfectMatchSettings:e.perfectMatchSettings,field:e.field},null,8,["perfectMatchSettings","field"])])):P("",!0)],2)}}}),o_={props:["record","field","isNeoTheme"],methods:{validateMandatory:ft},computed:{hasCustomLabel(){return this.field.formField.label!=this.$t("detailView.address")&&this.field.formField.label!=this.$t("detailView.address")+" 2"},streetKey(){return`${this.field.formField.prefix}street`},houseNumberKey(){return`${this.field.formField.prefix}house_number`},zipCodeKey(){return`${this.field.formField.prefix}zip_code`},cityKey(){return`${this.field.formField.prefix}city`},countryKey(){return`${this.field.formField.prefix}country`},address(){return[[this.record[this.streetKey],this.record[this.houseNumberKey]].join(" "),[this.record[this.zipCodeKey],this.record[this.cityKey],this.record[this.countryKey]].join(" ")].filter(t=>t.trim()).join(", ")},gmapsURL(){return`https://maps.google.de/maps?hl=de&q=${this.address}`}},async mounted(){const e={route:this.streetKey,street_number:this.houseNumberKey,postal_code:this.zipCodeKey,locality:this.cityKey,country:this.countryKey};this.field.readonly||(this.autocomplete=await Ti({input:this.$refs.street.input.input,options:{types:["address"]},onPlaceSelected:t=>{t.address_components.forEach(n=>{const i=n.types[0];e[i]&&(this.record[e[i]]=n.long_name)})}}))},beforeUnmount(){var e;(e=this.autocomplete)==null||e.remove()}},s_=["innerHTML"],l_={key:1},d_={key:2},c_=["href","title"];function u_(e,t,n,i,r,a){const o=I("nice-button"),s=I("fa-icon"),l=I("nice-input"),d=I("dv-row"),c=un("redacted");return Qe((u(),y("div",null,[g(d,{theme:n.field.theme,hint:n.field.hint,field:n.field,"copy-value":`${n.record[a.streetKey]} ${n.record[a.houseNumberKey]}, ${n.record[a.zipCodeKey]} ${n.record[a.cityKey]}`,"copy-tooltip":e.$t("detailView.addressCopy")},{label:k(()=>[a.hasCustomLabel?(u(),y("span",{key:0,innerHTML:n.field.formField.label},null,8,s_)):(u(),y("span",l_,S(e.$t("client.street_nr")),1)),n.field.mandatory?(u(),y("span",d_,"*")):P("",!0),a.address?(u(),y(ee,{key:3},[n.isNeoTheme?(u(),w(o,{key:0,tag:"a",size:"xsmall",href:a.gmapsURL,target:"_blank",icon:"external-link",iconSet:"neo",iconOnly:"",class:"ml-2"},null,8,["href"])):(u(),y("a",{key:1,href:a.gmapsURL,target:"_blank",tabindex:"-1",class:"light ml-1",title:e.$t("detailView.addressLink")},[g(s,{name:"external-link"})],8,c_))],64)):P("",!0)]),default:k(()=>[g(l,{ref:"street",type:"text",placeholder:e.$t("detailView.addressStreet"),modelValue:n.record[a.streetKey],"onUpdate:modelValue":t[0]||(t[0]=m=>n.record[a.streetKey]=m),class:U(["mr-2 input",{"disabled-visibility-address":n.field.readonly}]),readonly:n.field.readonly,error:a.validateMandatory(n.field,!!n.record[a.streetKey])},null,8,["placeholder","modelValue","readonly","error","class"]),g(l,{type:"text",placeholder:e.$t("detailView.addressNumber"),modelValue:n.record[a.houseNumberKey],"onUpdate:modelValue":t[1]||(t[1]=m=>n.record[a.houseNumberKey]=m),style:{width:"70px"},readonly:n.field.readonly,error:a.validateMandatory(n.field,!!n.record[a.houseNumberKey]),class:U({"disabled-visibility-address":n.field.readonly})},null,8,["placeholder","modelValue","readonly","error","class"])]),_:1},8,["theme","hint","field","copy-value","copy-tooltip"]),g(d,{theme:n.field.theme,label:`${a.hasCustomLabel?"":e.$t("detailView.addressAll")} ${n.field.mandatory?"*":""}`,field:n.field},{default:k(()=>[g(l,{readonly:n.field.readonly,error:a.validateMandatory(n.field,!!n.record[a.zipCodeKey]),class:U([{"disabled-visibility-address":n.field.readonly},"mr-2 rounded"]),type:"text",placeholder:e.$t("detailView.addressZipcode"),modelValue:n.record[a.zipCodeKey],"onUpdate:modelValue":t[2]||(t[2]=m=>n.record[a.zipCodeKey]=m)},null,8,["readonly","error","class","placeholder","modelValue"]),g(l,{readonly:n.field.readonly,error:a.validateMandatory(n.field,!!n.record[a.cityKey]),class:U([{"disabled-visibility-address":n.field.readonly}
12773,"mr-2 rounded"]),type:"text",placeholder:e.$t("detailView.addressCity"),modelValue:n.record[a.cityKey],"onUpdate:modelValue":t[3]||(t[3]=m=>n.record[a.cityKey]=m)},null,8,["readonly","error","class","placeholder","modelValue"]),g(l,{readonly:n.field.readonly,error:a.validateMandatory(n.field,!!n.record[a.countryKey]),class:U({"disabled-visibility-address":n.field.readonly}),type:"text",placeholder:e.$t("detailView.addressCountry"),modelValue:n.record[a.countryKey],"onUpdate:modelValue":t[4]||(t[4]=m=>n.record[a.countryKey]=m)},null,8,["readonly","error","class","placeholder","modelValue"])]),_:1},8,["theme","label","field"])])),[[c]])}const Aa=te(o_,[["render",u_]]),o4=Object.freeze(Object.defineProperty({__proto__:null,default:Aa},Symbol.toStringTag,{value:"Module"})),ld={__name:"AddressFields",setup(e){const{isNeoTheme:t}=Ee();return(n,i)=>(u(),w(yi,null,{default:k(()=>[g(Aa,vt(n.$attrs,{"is-neo-theme":E(t)}),null,16,["is-neo-theme"])]),_:1}))}},s4=Object.freeze(Object.defineProperty({__proto__:null,default:ld},Symbol.toStringTag,{value:"Module"})),p_={props:["record","field"]};function m_(e,t,n,i,r,a){const o=I("nice-switch");return u(),w(o,{disabled:n.field.readonly,modelValue:n.record[n.field.fieldName],"onUpdate:modelValue":t[0]||(t[0]=s=>n.record[n.field.fieldName]=s),style:{"align-self":"center"}},null,8,["disabled","modelValue"])}const $a=te(p_,[["render",m_]]),l4=Object.freeze(Object.defineProperty({__proto__:null,default:$a},Symbol.toStringTag,{value:"Module"})),h_={mr:"nameSalutationMr",ms:"nameSalutationMs",mrms:"nameSalutationMrms"},f_=K({props:{child:{type:Object},groups:{type:Array},formFields:{type:Object},readonly:{type:Boolean},recordType:{type:String}},components:{ContactAcceptanceRequestDialog:Ql},data(){return{contactAcceptanceRequestVisible:!1}},methods:{quickviewMail(){at.$emit("quick-view",{type:"mail",mode:"edit",params:{source:{email:this.child.emails[0]}}})},requestContactPermission(){this.contactAcceptanceRequestVisible=!0}},computed:{contactAcceptanceClient(){var e;return{id:this.child.id,email:(e=this.child.emails)==null?void 0:e[0],name:[this.child.first_name,this.child.last_name].join(" ")}},salutation(){return this.child.salutation?this.$t(`detailView.${h_[this.child.salutation]}`):""}}}),g_={class:"d-flex justify-content-between pb-3"},y_={class:"d-flex align-items-center",style:{cursor:"pointer"}},b_={class:"fs-14"},v_={class:""},I_={class:"actions"};function C_(e,t,n,i,r,a){const o=I("dropdown-item"),s=I("dropdown-section"),l=I("dropdown"),d=I("contact-acceptance-request-dialog"),c=I("base-field");return u(),y("div",null,[f("header",g_,[f("div",y_,[f("p",b_,[f("strong",v_,S(e.child.academic_title)+" "+S(e.child.first_name)+" "+S(e.child.last_name),1)])]),f("aside",I_,[g(l,null,{default:k(()=>[e.child.emails.length?(u(),w(s,{key:0},{default:k(()=>[g(o,{title:e.$t("detailView.childrenEmail"),onClick:e.quickviewMail},null,8,["title","onClick"]),!e.child.accept_contact&&e.$db.shopData.contactAcceptanceRequestSnippetId?(u(),w(o,{key:0,title:e.$t("client.detailDropdown.requestContactPermissions"),onClick:e.requestContactPermission},null,8,["title","onClick"])):P("",!0)]),_:1})):P("",!0),e.readonly?P("",!0):(u(),w(s,{key:1},{default:k(()=>[e.child.id?(u(),w(o,{key:0,title:e.$t("detailView.childrenUpgrade"),onClick:t[0]||(t[0]=m=>e.$emit("upgrade"))},null,8,["title"])):P("",!0),g(o,{class:"text-danger",title:e.$t("detailView.delete"),onClick:t[1]||(t[1]=m=>e.$emit("delete"))},null,8,["title"])]),_:1}))]),_:1})]),g(d,{visible:e.contactAcceptanceRequestVisible,"onUpdate:visible":t[2]||(t[2]=m=>e.contactAcceptanceRequestVisible=m),client:e.contactAcceptanceClient},null,8,["visible","client"])]),f("div",null,[(u(!0),y(ee,null,Te(e.groups,(m,p)=>(u(),y("section",{key:p,class:"mb-4"},[(u(!0),y(ee,null,Te(m.fields.map(h=>({...h,readonly:e.readonly||h.readonly})),h=>(u(),w(c,{key:h.fieldName,field:h,record:e.child,formFields:e.formFields,recordType:e.recordType},null,8,["field","record","formFields","recordType"]))),128))]))),128))])])}const Ra=te(f_,[["render",C_]]),d4=Object.freeze(Object.defineProperty({__proto__:null,default:Ra},Symbol.toStringTag,{value:"Module"})),S_={salutation:"mr",first_name:null,last_name:null,emails:[],client_addresses:[]},__=K({props:["record","field"],components:{Child:Ra},setup(){const{isNeoTheme:e}=Ee();return{isNeoTheme:e}},methods:{addNewChild(){this.record.children.push(JSON.parse(JSON.stringify(S_)))},removeChild(e){this.record.children[e]._destroy=!0}
12773,upgradeChild(e){this.$warn({title:this.$t("detailView.childrenUpgrade"),desc:this.$t("detailView.childrenDelConfirm"),confirmButtonText:this.$t("detailView.childrenDelBtn"),redButton:!0},async()=>{try{const t=await pn(fI,{id:e.id});Nn(t),this.$router.push(`/contacts/clients/${e.id}`),App.flashy(this.$t("detailView.childrenDelSuccess"))}catch(t){this.$axios.handleError(t)}})}},computed:{isReadOnly(){return tt(this.field.readonly)},clientDetailViewGroups(){const e=this.$db.shopData.childrenDetailViewGroups;return e.length>0?e:kv},formFields(){return Object.fromEntries(Object.entries(l1).map(([e,t])=>{let n={...t,label:this.$t(`clients.formFields.${pa(t.filterName||e)}`)};return t.options&&Array.isArray(t.options)&&(n.options=t.options.map(i=>i.translate?{id:i.id,name:this.$t(`clients.formFieldOptions.${i.name}`)}:i)),[e,n]}))},groups(){return S1({formFields:this.formFields,detailViewGroups:this.clientDetailViewGroups,isCreateView:!1,db:this.$db,customFieldGroups:this.$db.shopData.customFieldGroupsForClients,entity:"client"})}}}),k_={class:"mt-1"};function T_(e,t,n,i,r,a){const o=I("child"),s=I("card"),l=I("nice-button"),d=I("fa-icon"),c=I("dv-row");return u(),y("div",null,[(u(!0),y(ee,null,Te(e.record.children,(m,p)=>(u(),w(s,{key:p,class:U(["pt-3 pb-1 px-3 mt-2",{hidden:m._destroy}])},{default:k(()=>[g(o,{child:m,groups:e.groups,onUpgrade:h=>e.upgradeChild(m),onDelete:h=>e.removeChild(p),formFields:e.formFields,readonly:e.isReadOnly},null,8,["child","groups","onUpgrade","onDelete","formFields","readonly"])]),_:2},1032,["class"]))),128)),e.field.readonly?P("",!0):(u(),w(c,{key:0,theme:e.field.theme,class:"mt-2"},{label:k(()=>[Y(S(e.field.formField.label)+" "+S(e.field.mandatory?"*":""),1)]),default:k(()=>[f("p",k_,[e.isNeoTheme?(u(),w(l,{key:0,icon:"plus",iconSet:"neo",size:"xsmall",onClick:ae(e.addNewChild,["prevent"])},{default:k(()=>[Y(S(e.$t("detailView.childrenAdd")),1)]),_:1},8,["onClick"])):(u(),y("a",{key:1,href:"#",class:"text-muted",onClick:t[0]||(t[0]=ae((...m)=>e.addNewChild&&e.addNewChild(...m),["prevent"]))},[g(d,{name:"plus",class:"mr-1"}),f("span",null,S(e.$t("detailView.childrenAdd")),1)]))])]),_:1},8,["theme"]))])}const dd=te(__,[["render",T_]]),c4=Object.freeze(Object.defineProperty({__proto__:null,default:dd},Symbol.toStringTag,{value:"Module"})),w_={class:"text-muted ml-1"},F_={key:0,class:"connection-item__actions flex items-center show-on-hover gap-1"},P_={key:1,class:"show-on-hover"},A_=["title"],$_=["title"],R_={props:["title","desc","href","deleteTitle","disableRemove","disableEdit"],emits:["click","edit","remove"],methods:{handleClick(e){this.$emit("click",e),!(!this.href||e.defaultPrevented||this.isInteractiveTarget(e.target))&&this.$router.push(this.href)},isInteractiveTarget(e){return e instanceof Element?!!e.closest("a, button, input, textarea, select, [role='button']"):!1}}},D_=Object.assign(R_,{__name:"ConnectionItem",setup(e){const{isNeoTheme:t}=Ee();return(n,i)=>{const r=I("nice-button"),a=I("nice-tooltip"),o=I("fa-icon");return u(),y("div",{class:U(["connection-item",{"connection-item--clickable":!!e.href}]),onClick:i[4]||(i[4]=(...s)=>n.handleClick&&n.handleClick(...s))},[et(n.$slots,"default",{},()=>[f("span",null,[Y(S(e.title)+" ",1),f("span",w_,S(e.desc),1)])],!0),!e.disableRemove||!e.disableEdit?(u(),y(ee,{key:0},[E(t)?(u(),y("div",F_,[e.disableEdit?P("",!0):(u(),w(a,{key:0,content:n.$t("detailView.edit")},{default:k(()=>[g(r,{icon:"pencil",iconSet:"neo",iconOnly:"",size:"xsmall",onClick:i[0]||(i[0]=ae(s=>n.$emit("edit"),["stop","prevent"]))})]),_:1},8,["content"])),e.disableRemove?P("",!0):(u(),w(a,{key:1,content:e.deleteTitle||n.$t("detailView.relationship.delete")},{default:k(()=>[g(r,{icon:"trash",iconSet:"neo",iconOnly:"",size:"xsmall",iconColor:"var(--ps-color-danger)",onClick:i[1]||(i[1]=ae(s=>n.$emit("remove"),["stop","prevent"]))})]),_:1},8,["content"]))])):(u(),y("div",P_,[e.disableEdit?P("",!0):(u(),y("span",{key:0,class:"connection-item--action",onClick:i[2]||(i[2]=ae(s=>n.$emit("edit"),["stop","prevent"])),title:n.$t("detailView.edit")},[g(o,{name:"pencil"})],8,A_)),e.disableRemove?P("",!0):(u(),y("span",{key:1,class:"connection-item--action",onClick:i[3]||(i[3]=ae(s=>n.$emit("remove"),["stop","prevent"])),title:e.deleteTitle||n.$t("detailVie
12773w.relationship.delete")},[g(o,{name:"times",class:"text-danger transform scale-125"})],8,$_))]))],64)):P("",!0)],2)}}}),On=te(D_,[["__scopeId","data-v-9a96db39"]]),u4=Object.freeze(Object.defineProperty({__proto__:null,default:On},Symbol.toStringTag,{value:"Module"})),N_={props:["record","field"]};function O_(e,t,n,i,r,a){const o=I("nice-date-picker"),s=I("nice-fake-input");return u(),w(s,null,{default:k(()=>[g(o,vt(n.field.formField.additionalParams&&n.field.formField.additionalParams(n.field,n.record[n.field.fieldName]),{class:{"disabled-visibility-date":n.field.readonly,"parent-bg-color":!n.record[n.field.fieldName]&&n.field.color},readonly:n.field.readonly,modelValue:n.record[n.field.fieldName],"onUpdate:modelValue":t[0]||(t[0]=l=>n.record[n.field.fieldName]=l),"value-format":"yyyy-MM-dd",style:!n.record[n.field.fieldName]&&`background-color: ${n.field.color}`,"data-value-missing":!n.record[n.field.fieldName]}),null,16,["class","readonly","modelValue","style","data-value-missing"])]),_:1})}const Da=te(N_,[["render",O_]]),p4=Object.freeze(Object.defineProperty({__proto__:null,default:Da},Symbol.toStringTag,{value:"Module"})),E_={props:["record","field"]};function M_(e,t,n,i,r,a){const o=I("nice-date-picker"),s=I("nice-fake-input");return u(),w(s,null,{default:k(()=>[g(o,{readonly:n.field.readonly,modelValue:n.record[n.field.fieldName],"onUpdate:modelValue":t[0]||(t[0]=l=>n.record[n.field.fieldName]=l),type:"datetime",class:U(["w-100",{"disabled-visibility-date":n.field.readonly,"parent-bg-color":!n.record[n.field.fieldName]&&n.field.color}]),style:xe(!n.record[n.field.fieldName]&&`background-color: ${n.field.color}`),"data-value-missing":!n.record[n.field.fieldName],"inherit-bg-color":!n.record[n.field.fieldName]&&n.field.color},null,8,["readonly","modelValue","class","style","data-value-missing","inherit-bg-color"])]),_:1})}const Na=te(E_,[["render",M_]]),m4=Object.freeze(Object.defineProperty({__proto__:null,default:Na},Symbol.toStringTag,{value:"Module"})),V_={props:["record","field"],data(){return{filteredOptions:[]}},computed:{async(){var e;return this.field.formField.dbOptions&&((e=this.options)==null?void 0:e.length)>200},brokers(){return this.$db.get("brokers").filter(e=>e.active).map(e=>({id:e.id,name:e.internalName}))},activeBrokers(){return this.brokers},options(){let e=this.field.formField.options;return Array.isArray(e)?e:typeof e=="object"?Object.keys(e).map(t=>({id:t,name:e[t]})):typeof e=="function"?e({shop:this.$db.shopData,db:this.$db}):this[this.field.formField.dbOptions]?this[this.field.formField.dbOptions]:this.$db.get(this.field.formField.dbOptions)},totalOptions(){return this.async?this.filteredOptions:this.options}},methods:{preselect(e){this.async&&(this.filteredOptions=e.map(t=>this.options.find(n=>(n==null?void 0:n.id)==t)).filter(Boolean))},labelFn(e){const t=this.options.find(({id:n})=>n===e);return t==null?void 0:t.name},remoteMethod:Ca(function(e){e?this.filteredOptions=this.options.filter(t=>{var n;return((n=t.name)==null?void 0:n.toLowerCase().indexOf(e.toLowerCase()))>-1}):this.filteredOptions=[]})},mounted(){Array.isArray(this.record[this.field.fieldName])&&(this.record[this.field.fieldName]=this.record[this.field.fieldName].map(e=>parseInt(e)==e?parseInt(e):e)),this.record[this.field.fieldName]&&this.async&&this.preselect(this.record[this.field.fieldName])}};function L_(e,t,n,i,r,a){const o=I("nice-select");return u(),w(o,{disabled:n.field.readonly,multiple:"",filterable:"",clearable:"","default-first-option":"","model-value":n.record[n.field.fieldName],"onUpdate:modelValue":t[0]||(t[0]=s=>n.record[n.field.fieldName]=s),placeholder:"",class:U([{"disabled-visibility-list":n.field.readonly,"inherit-bg-color":n.record[n.field.fieldName]&&!n.record[n.field.fieldName].length&&n.field.color},"rounded tag-color label-fix"]),style:xe(n.record[n.field.fieldName]&&!n.record[n.field.fieldName].length&&`background-color: ${n.field.color}`),remote:a.async,"remote-method":a.async?a.remoteMethod:void 0,onChange:a.preselect,options:a.totalOptions,"data-value-missing":n.record[n.field.fieldName]&&!n.record[n.field.fieldName].length,"label-fn":a.labelFn},null,8,["disabled","model-value","class","style","remote","remote-method","onChange","options","data-value-missing","label-fn"])}const Oa=te(V_,[["render",L_]]),h4=Object.freeze(Object.defineProperty({__proto__:null,default:Oa},Symbol.toStringTag,{value:"Module"})),B_={key:0,class:"converted-area-unit"},U_=K({__name:"ConvertedAreaUnit",props:{country:{},fieldUnit:{},precision:{},recordType:{},sourceUnit:{},targetUnit:{},value:{}},emits:["visibility-change"],setup(e,{emit:t}){const n={sqm:{sqm:1,sqft:10.7639}
12773,sqft:{sqm:.092903,sqft:1}},i={sqm:"m²",sqft:"ft²"},r=e,a=t,o=l=>l==="sqm"||l==="sqft",s=F(()=>{const l=Number(r.value);if(r.recordType!=="property"||r.fieldUnit!=="area"||!o(r.sourceUnit)||!o(r.targetUnit)||r.sourceUnit===r.targetUnit||r.value==null||r.value===""||isNaN(l))return;const d=l*n[r.sourceUnit][r.targetUnit];return`~ ${Ci(d,i[r.targetUnit],!0,r.precision,r.country)}`});return ze(s,l=>{a("visibility-change",!!l)},{immediate:!0}),(l,d)=>s.value?(u(),y("span",B_,S(s.value),1)):P("",!0)}}),Ea=te(U_,[["__scopeId","data-v-d75e1bd9"]]),f4=Object.freeze(Object.defineProperty({__proto__:null,default:Ea},Symbol.toStringTag,{value:"Module"})),q_={key:0,class:"converted-currency-value"},x_=K({__name:"ConvertedCurrencyValue",props:{country:{},exchangeRate:{},fieldUnit:{},precision:{},recordType:{},sourceCurrency:{},targetCurrency:{},value:{}},emits:["visibility-change"],setup(e,{emit:t}){const n=e,i=t,r=F(()=>{const a=Number(n.value);if(n.recordType!=="property"||n.fieldUnit!=="currency"||!n.sourceCurrency||!n.targetCurrency||n.sourceCurrency===n.targetCurrency||n.value==null||n.value===""||isNaN(a)||typeof n.exchangeRate!="number"||!isFinite(n.exchangeRate))return;const o=a*n.exchangeRate,s=mi[n.targetCurrency]||n.targetCurrency;return`~ ${Ci(o,s,!0,n.precision,n.country)}`});return ze(r,a=>{i("visibility-change",!!a)},{immediate:!0}),(a,o)=>r.value?(u(),y("span",q_,S(r.value),1)):P("",!0)}}),Ni=te(x_,[["__scopeId","data-v-ac4e0765"]]),g4=Object.freeze(Object.defineProperty({__proto__:null,default:Ni},Symbol.toStringTag,{value:"Module"})),z_=["readonly","tabindex","placeholder"],G_=K({__name:"NumberField",props:{customFieldName:{},field:{},record:{},recordType:{}},emits:["refresh"],setup(e){const t=e,n=Si(),{t:i}=ot(),{getCurrencySymbol:r}=$t(),{showError:a}=Pi(),o=ce(!1),s=ce(!1),l=ce(!1),d=t.customFieldName||t.field.fieldName,c=F(()=>n.shopData.internationalCountry),m=F(()=>t.record[d]),p=F(()=>t.record.area_unit||t.record.areaUnit),h=F(()=>n.shopData.areaUnit),T=F(()=>t.record.currency),C=F(()=>n.shopData.isoCurrency),A=F(()=>{var J,ne;return(ne=(J=n.shopData.exchangeRates)==null?void 0:J[T.value])==null?void 0:ne[C.value]}),v=F(()=>p.value||h.value),R=F(()=>t.field.formField.precision||2),D=F(()=>t.field.readonly||!!t.field.formField.formula),O=F(()=>({...mi,percent:"%",sqm:"m²",sqft:"ft²",year:"",km:"km",minute:i("fieldForm.minuteShort")})),N=F(()=>{const J=t.field.formField.unit;return typeof J=="function"?J({db:n,record:t.record}):J}),B=F(()=>{if(N.value)return N.value=="currency"?r(t.record.currency):N.value=="area"?v.value?O.value[v.value]:void 0:O.value[N.value]||N.value}),q=F(()=>qs(B.value,c.value).separator),se=J=>t.field.formField.coordinate?Ic(J):xs(J,B.value,c.value),oe=F({get(){return N.value=="year"?m.value:l.value?m.value||m.value=="0"?q.value==="."?String(m.value):String(m.value).replace(".",","):void 0:isNaN(m.value)?m.value:Ci(m.value,B.value,!0,R.value,c.value)},set(J){const ne=parseFloat(se(J));t.record[d]=Number.isNaN(ne)?null:ne}});let G,x;const L=()=>{const J=t.field.formField.formula;J&&(G=ze(()=>t.record,Ca(()=>{wa.evalAsync(J,t.record).then(ne=>{typeof ne=="number"?isFinite(ne)?(ne=parseFloat(ne.toFixed(R.value)),t.record[d]=ne):t.record[d]=null:a(i("detailView.numberAlert",{label:t.field.formField.label,result:ne}))}).catch(ne=>console.log(ne,d))}),{deep:!0}))};return At(()=>{x=setTimeout(()=>{L()},100)}),Zn(()=>{x&&clearTimeout(x),G==null||G()}),(J,ne)=>{const H=I("nice-fake-input");return u(),w(H,{readonly:E(tt)(D.value),class:U({"has-converted-area-unit":o.value,"has-converted-currency-value":s.value})},{default:k(()=>[Qe(f("input",{type:"text","onUpdate:modelValue":ne[0]||(ne[0]=ie=>oe.value=ie),onBlur:ne[1]||(ne[1]=ie=>l.value=!1),onFocus:ne[2]||(ne[2]=ie=>l.value=!0),readonly:E(tt)(D.value),tabindex:D.value?-1:"",placeholder:e.field.containerPlaceholder,style:xe(!oe.value&&`background-color: ${e.field.color}`)},null,44,z_),[[Jn,oe.value]]),g(Ea,{value:m.value,"source-unit":p.value,"target-unit":h.value,"field-unit":N.value,"record-type":e.recordType,precision:R.value,country:c.value,onVisibilityChange:ne[3]||(ne[3]=ie=>o.value=ie)},null,8,["value","source-unit","target-unit","field-unit","record-type","precision","country"]),g(Ni,{value:m.value,"source-currency":T.value,"target-currency":C.value,"exchange-rate":A.value,"field-unit":N.value,"record-type":e.recordType,precision:R.value,country:c.value,onVisibilityChange:ne[4]||(ne[4]=ie=>s.value=ie)},null,8,["value","source-currency","target-currency","exchange-rate","field-unit","record-type","precision","country"])]),_:1},8,["readonly","class"])}}}),Oi=te(G_,[["__scopeId","data-v-c127b6a1"]]),y4=Object.freeze(Object.defineProperty({__proto__:null,default:Oi},Symbol.toStringTag,{value:"Module"})),j_=["innerHTML"],H_={key:0},W_=K({name:"PropertyVatField",__name:"VatField",props:{record:{},field:{}},setup(e,{expose:t}){const n=e,{field:i,record:r}=da(n),{getCurrencySymbol:a}=$t(),o=F(()=>{var v;return((v=r.value)==null?void 0:v[i.value.fieldName])??null}),s=F(()=>{var v,R,D;return((D=(R=(v=i.value)==null?void 0:v.formField)==null?void 0:R.alternateFieldNames)==null?void 0:D[0])||`${i.value.fieldName}_percent`}),l=F(()=>{var v;return((v=r.value)==null?void 0:v[s.value])??null}),d=ce(!1),c=F(()=>Gn(l.value)?d.value?String(l.value):`${l.value} %`:""),m=F(()=>Gn(o.value)?"fixed":Gn(l.value)?"percent":"fixed"),p=F(()=>{var v;return a((v=r.value)==null?void 0:v.currency)||"€"}),h=F(()=>{var v;return!!((v=i.value)!=null&&v.compact)}),T=F(()=>"default"),C=ce(m.value),A=v=>{const R=String(v??"").replace("%","").replace(/,/g,".").trim(),D=R===""?null:Number(R);r.value[s.value]=Number.isFinite(D)?D:null};return t({compact:h,valueMode:C,updatePercentValue:A}),(v,R)=>{const D=I("nice-input"),O=I("currency-input"),N=I("nice-radio-group"),B=I("dv-row");return h.value?(u(),y("div",{key:0,class:U([{"mandatory-outline":E(Ge)(E(i),E(r))},"vat-field vat-field--compact flex w-100"])},[C.value==="percent"?(u(),w(D,{key:0,"model-value":c.value,size:T.value,inputmode:"decimal",disabled:E(i).readonly,onBlur:R[0]||(R[0]=q=>d.value=!1),onFocus:R[1]||(R[1]=q=>d.value=!0),"onUpdate:modelValue":A},null,8,["model-value","size","disabled"])):(u(),w(O,{key:1,modelValue:E(r)[E(i).fieldName],"onUpdate:modelValue":R[2]||(R[2]=q=>E(r)[E(i).fieldName]=q),disabled:E(i).readonly,currency:p.value,size:T.value,"show-decimals":""},null,8,["modelValue","disabled","currency","size"])),g(N,{modelValue:C.value,"onUpdate:modelValue":R[3]||(R[3]=q=>C.value=q),class:U([h.value?"ml-1 vat-field__toggle--compact":"ml-2","whitespace-nowrap flex-nowrap vat-field__toggle"]),size:"default",disabled:E(i).readonly,options:[{id:"fixed",name:p.value},{id:"percent",name:"%"}]},null,8,["modelValue","class","disabled","options"])],2)):(u(),w(B,{key:1,hint:E(i).hint},{label:k(()=>[f("span",{innerHTML:E(i).formField.label},null,8,j_),E(i).mandatory?(u(),y("span",H_,"*")):P("",!0)]),default:k(()=>[f("div",{class:U([{"mandatory-outline":E(Ge)(E(i),E(r))},"vat-field flex w-100"])},[C.value==="percent"?(u(),w(D,{key:0,"model-value":c.value,size:T.value,inputmode:"decimal",disabled:E(i).readonly,onBlur:R[4]||(R[4]=q=>d.value=!1),onFocus:R[5]||(R[5]=q=>d.value=!0),"onUpdate:modelValue":A},null,8,["model-value","size","disabled"])):(u(),w(O,{key:1,modelValue:E(r)[E(i).fieldName],"onUpdate:modelValue":R[6]||(R[6]=q=>E(r)[E(i).fieldName]=q),disabled:E(i).readonly,currency:p.value,size:T.value,"show-decimals":""},null,8,["modelValue","disabled","currency","size"])),g(N,{modelValue:C.value,"onUpdate:modelValue":R[7]||(R[7]=q=>C.value=q),class:U([h.value?"ml-1 vat-field__toggle--compact":"ml-2","whitespace-nowrap flex-nowrap vat-field__toggle"]),size:"default",disabled:E(i).readonly,options:[{id:"fixed",name:p.value},{id:"percent",name:"%"}]},null,8,["modelValue","class","disabled","options"])],2)]),_:1},8,["hint"]))}}}),Ma=te(W_,[["__scopeId","data-v-e922bb39"]]),b4=Object.freeze(Object.defineProperty({__proto__:null,default:Ma},Symbol.toStringTag,{value:"Module"})),K_={emits:["refresh"],props:["record","field","recordType"]},Y_={class:"relative w-full rounded"};function Q_(e,t,n,i,r,a){var l,d,c;const o=I("nice-input"),s=I("char-counter");return u(),y("div",Y_,[g(o,vt({type:"text",modelValue:n.record[n.field.fieldName],"onUpdate:modelValue":t[0]||(t[0]=m=>n.record[n.field.fieldName]=m),readonly:n.field.readonly},n.field.formField.additionalParams&&n.field.formField.additionalParams(n.field,n.record[n.field.fieldName]),{class:{"has-char-counter"
12773:(l=n.field.detailViewField)==null?void 0:l.characterLimit,"disabled-visibility-string":n.field.readonly,"inherit-bg-color":!n.record[n.field.fieldName]&&n.field.color},style:!n.record[n.field.fieldName]&&`background-color: ${n.field.color}ff`,"data-value-missing":!n.record[n.field.fieldName],placeholder:n.field.containerPlaceholder}),null,16,["modelValue","readonly","class","style","data-value-missing","placeholder"]),(d=n.field.detailViewField)!=null&&d.characterLimit?(u(),w(s,{key:0,count:n.record[n.field.fieldName]?n.record[n.field.fieldName].length:0,total:(c=n.field.detailViewField)==null?void 0:c.characterLimit},null,8,["count","total"])):P("",!0)])}const Va=te(K_,[["render",Q_]]),v4=Object.freeze(Object.defineProperty({__proto__:null,default:Va},Symbol.toStringTag,{value:"Module"})),Z_={class:"flex gap-1"},J_={class:"mr-2"},X_=["href","data-client-id"],ek={class:"text-light text-sm"},tk=["readonly"],cd=K({__name:"PhoneField",props:{record:{},field:{}},setup(e){const{isNeoTheme:t}=Ee(),n=F(()=>{var i;return tt(!!((i=e.field)!=null&&i.readonly))});return(i,r)=>{const a=I("nice-button"),o=I("fa-icon"),s=I("nice-tooltip"),l=I("whatsapp-button"),d=I("nice-input"),c=I("dv-row"),m=un("redacted");return e.field.componentName?Qe((u(),w(c,{key:0},{label:k(()=>{var p;return[f("div",Z_,[f("span",J_,S(e.field.formField.label)+" "+S(e.field.mandatory?"*":""),1),e.record[e.field.fieldName]&&!("description"in e.field.detailViewField)?(u(),w(s,{key:0,content:i.$t("detailView.phoneCall"),placement:"right"},{default:k(()=>[E(t)?(u(),w(a,{key:0,size:"xsmall",tag:"a",href:i.$customFilters.phonify(e.record[e.field.fieldName]),tabindex:"-1",icon:"phone",iconSet:"neo",iconOnly:"","data-client-id":e.record.id},null,8,["href","data-client-id"])):(u(),y("a",{key:1,href:i.$customFilters.phonify(e.record[e.field.fieldName]),tabindex:"-1",class:"light mr-1","data-client-id":e.record.id},[g(o,{name:"phone"})],8,X_))]),_:1},8,["content"])):P("",!0),e.record[`intl_${e.field.fieldName}`]?(u(),w(l,{key:1,phone:e.record[`intl_${e.field.fieldName}`]},null,8,["phone"])):P("",!0)]),f("span",ek,S((p=e.field.detailViewField)==null?void 0:p.description),1)]}),default:k(()=>[g(d,{type:"text",modelValue:e.record[e.field.fieldName],"onUpdate:modelValue":r[0]||(r[0]=p=>e.record[e.field.fieldName]=p),readonly:n.value,error:E(Ge)(e.field,e.record),class:U({"disabled-visibility-phone":n.value}),style:xe(!e.record[e.field.fieldName]&&`background-color: ${e.field.color}`)},null,8,["modelValue","readonly","error","class","style"])]),_:1})),[[m]]):Qe((u(),y("input",{key:1,type:"text","onUpdate:modelValue":r[1]||(r[1]=p=>e.record[e.field.fieldName]=p),readonly:n.value,class:U(["spare-input",{"disabled-visibility-phone":n.value,"mandatory-outline":e.field.mandatory&&!n.value&&!e.record[e.field.fieldName]&&e.field.submitAttempt}])},null,10,tk)),[[Jn,e.record[e.field.fieldName]]])}}}),ud=K({__name:"Dropdown",props:{field:{},record:{}},setup(e){const t=F(()=>e.field.formField.additionalParams?e.field.formField.additionalParams(e.field.fieldName,e.record[e.field.fieldName]):{}),n=F(()=>e.field.readonly||!e.field.submitAttempt||!e.field.mandatory?!1:!e.record[e.field.fieldName]);return(i,r)=>{const a=I("client-select");return u(),w(a,vt({modelValue:e.record[e.field.fieldName],"onUpdate:modelValue":r[0]||(r[0]=o=>e.record[e.field.fieldName]=o)},t.value,{disabled:e.field.readonly,class:{"disabled-visibility-owner":e.field.readonly,"mandatory-outline":n.value},style:!e.record[e.field.fieldName]&&`background-color: ${e.field.color}ff`,"data-value-missing":!e.record[e.field.fieldName]}),null,16,["modelValue","disabled","class","style","data-value-missing"])}}}),pd=K({__name:"Dropdown",props:{field:{},record:{}},setup(e){const t=F(()=>e.field.formField.additionalParams?e.field.formField.additionalParams(e.field.fieldName,e.record[e.field.fieldName]):{}),n=F(()=>e.field.readonly||!e.field.submitAttempt||!e.field.mandatory?!1:!e.record[e.field.fieldName]);return(i,r)=>{const a=I("property-select");return u(),w(a,vt({modelValue:e.record[e.field.fieldName],"onUpdate:modelValue":r[0]||(r[0]=o=>e.record[e.field.fieldName]=o)},t.value,{disabled:e.field.readonly,class:{"disabled-visibility-owner":e.field.readonly,"mandatory-outline":n.value},style:!e.record[e.field.fieldName]&&`background-color: ${e.field.color}ff`,"data-value-missing":!e.record[e.field.fieldName]}),null,16,["modelValue","disabled","class","style","data-value-missing"])}}}),nk={class:U(["flex w-100"])},md=K({__name:"Age",props:{record:{},field:{}},setup(e){const t=e,n=F(()=>Cc(t.record.dob));return(i,r)=>{const a=I("nice-input");return u(),y("div",nk,[g(a,{type:"number","model-value":n.value,readonly:"",error:E(Ge)(e.f
12773ield,e.record),style:xe(!n.value&&`background-color: ${e.field.color}ff`),"data-value-missing":!n.value,placeholder:e.field.containerPlaceholder},null,8,["model-value","error","style","data-value-missing","placeholder"])])}}}),ik=[/@([+-]?\d+\.\d+),([+-]?\d+\.\d+),\d+z/,/\/dir\/([+-]?\d+\.\d+),([+-]?\d+\.\d+)\/([+-]?\d+\.\d+),([+-]?\d+\.\d+)/,/\?ll=([+-]?\d+\.\d+),([+-]?\d+\.\d+)/,/!3d([+-]?\d+\.\d+)!4d([+-]?\d+\.\d+)/,/cp=([+-]?\d+\.\d+)~([+-]?\d+\.\d+)/,/sp=point\.([+-]?\d+\.\d+)_([+-]?\d+\.\d+)/,/rtp=pos\.([+-]?\d+\.\d+)_([+-]?\d+\.\d+)~pos\.([+-]?\d+\.\d+)_([+-]?\d+\.\d+)/,/q=([+-]?\d+\.\d+),([+-]?\d+\.\d+)/,/where1=([+-]?\d+\.\d+),([+-]?\d+\.\d+)/,/([+-]?\d+\.\d+),\s*([+-]?\d+\.\d+)/],rk=`<svg width="14" height="14" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
12774  <path
12775    d="M16 4H18C18.5304 4 19.0391 4.21071 19.4142 4.58579C19.7893 4.96086 20 5.46957 20 6V6.61163"
12776    stroke-width="1.4"
12777    stroke-linecap="round"
12778    stroke-linejoin="round"
12779  />
12780  <path
12781    d="M8 4H6C5.46957 4 4.96086 4.21071 4.58579 4.58579C4.21071 4.96086 4 5.46957 4 6V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H7.31252"
12782    stroke-width="1.4"
12783    stroke-linecap="round"
12784    stroke-linejoin="round"
12785  />
12786  <path
12787    d="M15 2H9C8.44772 2 8 2.44772 8 3V5C8 5.55228 8.44772 6 9 6H15C15.5523 6 16 5.55228 16 5V3C16 2.44772 15.5523 2 15 2Z"
12788    stroke-width="1.4"
12789    stroke-linecap="round"
12790    stroke-linejoin="round"
12791  />
12792  <path
12793    d="M15.9554 22.2396C19.334 22.2396 22.073 19.5007 22.073 16.1221C22.073 12.7434 19.334 10.0045 15.9554 10.0045C12.5768 10.0045 9.83789 12.7434 9.83789 16.1221C9.83789 19.5007 12.5768 22.2396 15.9554 22.2396Z"
12794    stroke-width="1.4"
12795    stroke-linecap="round"
12796    stroke-linejoin="round"
12797  />
12798  <path
12799    d="M15.9551 10.0045C17.177 11.6539 17.8585 13.8443 17.8585 16.1221C17.8585 18.3998 17.177 20.5902 15.9551 22.2396"
12800    stroke-width="1.4"
12801    stroke-linecap="round"
12802    stroke-linejoin="round"
12803  />
12804  <path d="M9.83789 16.1224H22.073" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
12805</svg>
12806`,ak=["innerHTML"],hd=K({__name:"InsertCoordinatesButton",props:{record:{}},setup(e){const{t}=ot(),{isNeoTheme:n}=Ee(),i=async()=>{const r=await navigator.clipboard.readText();if(!r){App.alert(t("detailView.coordinates.invalidFormat"));return}const a=ik.find(s=>r.match(s)),o=a?r.match(a):null;if(a&&o){e.record.lat=parseFloat(o[1]),e.record.lng=parseFloat(o[2]),App.flashy(t("detailView.coordinates.inserted"));return}App.alert(t("detailView.coordinates.invalidFormat"))};return(r,a)=>{const o=I("nice-button"),s=I("nice-tooltip");return u(),w(s,{content:r.$t("detailView.coordinates.paste")},{default:k(()=>[E(n)?(u(),w(o,{key:0,size:"xsmall",icon:"paste-global",iconSet:"neo",iconOnly:"",class:"ml-2",onClick:ae(i,["prevent"])})):(u(),y("a",{key:1,onClick:i,class:"ml-1 light stroke-current",innerHTML:E(rk)},null,8,ak))]),_:1},8,["content"])}}}),ok={number:"NumberField",string:"StringField",boolean:"BooleanField",date:"DateField",datetime:"DatetimeField",dropdown:"Dropdown",multiselect:"List",tags:"List",tagsByCategory:"List",phone:"PhoneField"},sk=["client-dropdown","property-dropdown","client-age"],lk={"property-vat-field":"PropertyVatField"},dk=K({props:{record:Object,field:Object,formFields:Object,recordType:String},methods:{validateMandatoryField:Ge,getFieldName(e){return this.field.detailViewField.containerFieldNames[e]},getFormField(e){const t=this.getFieldName(e);if(t)return this.formFields[ci(t)]},getField(e){var o,s,l,d,c,m,p;const t=this.getFieldName(e),n=this.getFormField(e);if(!n||!t)return;const i=(d=(l=(s=(o=this.$db)==null?void 0:o.shopData)==null?void 0:s.detailViewGroups)==null?void 0:l.flatMap(h=>h.detailViewFields))==null?void 0:d.find(h=>h.fieldName===t);let r=n.mandatory||!1;this.recordType==="property"&&((c=i==null?void 0:i.requiredPropertyStatusIds)!=null&&c.length)&&((m=this.record)!=null&&m.property_status_id)&&i.requiredPropertyStatusIds.includes(this.record.property_status_id)&&(r=!0);const a=this.field.mandatory?!0:r;return{componentName:this.getFieldComponentName(e),fieldName:t,formField:n,readonly:this.field.readonly,color:this.field.color,compact:!0,containerPlaceholder:((p=this.field.detailVie
12806wField.containerFieldLabels)==null?void 0:p[e])||n.label,mandatory:a,submitAttempt:this.field.submitAttempt}},getFieldComponentName(e){const t=this.getFormField(e);if(!t)return;const n=lk[t.component];return n||(sk.includes(t.component)?t.component:ok[t.type||"string"])}},computed:{fieldName1(){return this.getFieldName(0)},fieldName2(){return this.getFieldName(1)},fieldName3(){return this.getFieldName(2)},formfield1(){return this.getFormField(0)},formfield2(){return this.getFormField(1)},formfield3(){return this.getFormField(2)},field1(){return this.getField(0)},field2(){return this.getField(1)},field3(){return this.getField(2)},field1ComponentName(){return this.getFieldComponentName(0)},field2ComponentName(){return this.getFieldComponentName(1)},field3ComponentName(){return this.getFieldComponentName(2)},totalFields(){return[this.field1,this.field2,this.field3].filter(e=>e)},isCoordinatesField(){var t;const e=((t=this.field)==null?void 0:t.detailViewField.containerFieldNames)||[];return e.includes("lat")&&e.includes("lng")}},components:{DateField:Da,DatetimeField:Na,Dropdown:Zl,List:Oa,NumberField:Oi,BooleanField:$a,PropertyVatField:Ma,StringField:Va,PhoneField:cd,ClientDropdown:ud,PropertyDropdown:pd,ClientAge:md,InsertCoordinatesButton:hd,FieldLabelDecorators:zt}});function ck(e,t,n,i,r,a){const o=I("insert-coordinates-button"),s=I("FieldLabelDecorators"),l=I("dv-row");return u(),w(l,{theme:e.field.theme,label:`${e.field.formField.label} ${e.field.mandatory?"*":""}`,hint:e.field.hint,field:e.field},{extra:k(()=>[e.isCoordinatesField?(u(),w(o,{key:0,record:e.record},null,8,["record"])):P("",!0)]),default:k(()=>[f("div",{class:U(`w-full grid gap-2 grid-flow-col grid-cols-${e.totalFields.length}`)},[e.field1?(u(),y("div",{key:0,class:U(["container-child-field",[{"mandatory-outline":e.validateMandatoryField(e.field1,e.record)}]])},[g(s,{record:e.record,field:e.field1,recordType:e.recordType},null,8,["record","field","recordType"]),(u(),w(vn(e.field1ComponentName),{record:e.record,field:e.field1},null,8,["record","field"]))],2)):P("",!0),e.field2?(u(),y("div",{key:1,class:U(["container-child-field",[{"mandatory-outline":e.validateMandatoryField(e.field2,e.record)}]])},[g(s,{record:e.record,field:e.field2,recordType:e.recordType},null,8,["record","field","recordType"]),(u(),w(vn(e.field2ComponentName),{record:e.record,field:e.field2},null,8,["record","field"]))],2)):P("",!0),e.field3?(u(),y("div",{key:2,class:U(["container-child-field",[{"mandatory-outline":e.validateMandatoryField(e.field3,e.record)}]])},[g(s,{record:e.record,field:e.field3,recordType:e.recordType},null,8,["record","field","recordType"]),(u(),w(vn(e.field3ComponentName),{record:e.record,field:e.field3},null,8,["record","field"]))],2)):P("",!0)],2)]),_:1},8,["theme","label","hint","field"])}const fd=te(dk,[["render",ck],["__scopeId","data-v-67748cbe"]]),I4=Object.freeze(Object.defineProperty({__proto__:null,default:fd},Symbol.toStringTag,{value:"Module"})),uk={props:["record","field"]};function pk(e,t,n,i,r,a){const o=I("db-select");return u(),w(o,{disabled:n.field.readonly,collection:n.field.formField.dbOptions,modelValue:n.record[n.field.fieldName],"onUpdate:modelValue":t[0]||(t[0]=s=>n.record[n.field.fieldName]=s)},null,8,["disabled","collection","modelValue"])}const gd=te(uk,[["render",pk]]),C4=Object.freeze(Object.defineProperty({__proto__:null,default:gd},Symbol.toStringTag,{value:"Module"})),mk=K({props:{record:{type:Object,required:!0},field:{type:Object,required:!0},columnView:{type:Boolean,default:!1}},methods:{validateMandatory:ft,remove(e){this.emails.splice(e,1),this.record[this.field.fieldName]=this.emails},add(e,t=!1){if(e){if(!dI(e)){t?this.newEmail="":App.alert(this.$t("detailView.emailError"));return}this.record[this.field.fieldName]=[...this.emails,e],this.newEmail=""}},setPrimary(e){const t=this.emails[e],n=this.emails.filter((i,r)=>r!==e);n.unshift(t),this.record[this.field.fieldName]=n},handleBackspace(){this.$nextTick(()=>{this.newEmail||this.emails.pop()})},setFocus(){this.$refs.input.focus()},getLabel(e){if(this.emails.length===1)return"E-Mail";if(this.emails.length>
128061&&e===0)return this.$t("detailView.emailLabel");if(this.emails.length>1)return"E-Mail ("+(e+1)+")"}},data(){return{newEmail:""}},computed:{isReadOnly(){var e;return tt(!!((e=this.field)!=null&&e.readonly))},emails(){return this.record[this.field.fieldName]||[]}}}),hk={class:"email-list"},fk={class:"w-full"},gk={class:"max-w-sm truncate"},yk={class:"actions flex ml-1"},bk={style:{flex:"1 1 20px"}},vk=["readonly"];function Ik(e,t,n,i,r,a){const o=I("fa-icon"),s=I("copy-to-clipboard"),l=I("nice-tooltip"),d=I("nice-fake-input"),c=I("dv-row"),m=un("redacted");return u(),y("div",hk,[g(c,{label:`${e.field.formField.label} ${e.field.mandatory?"*":""}`,hint:e.field.hint,"column-view":e.columnView,field:e.field},{default:k(()=>[Qe((u(),y("div",fk,[g(d,{error:e.validateMandatory(e.field,!!e.emails.length),class:U({"disabled-visibility-email":e.field.readonly}),style:{height:"auto"}},{default:k(()=>[f("div",{class:U(["input-container flex flex-wrap",{"is-empty":!e.emails.length}]),onClick:t[4]||(t[4]=(...p)=>e.setFocus&&e.setFocus(...p)),style:{cursor:"text"}},[(u(!0),y(ee,null,Te(e.emails,(p,h)=>(u(),y("div",{key:h,style:{},class:U(["item flex rounded items-center",{first:h===0}])},[f("span",gk,S(p),1),f("div",yk,[Qe(g(o,{class:"icon px-1",name:"arrow-up",onClick:T=>e.setPrimary(h)},null,8,["onClick"]),[[ua,h!==0]]),g(s,{text:p},null,8,["text"]),e.field.readonly?P("",!0):(u(),w(l,{key:0,content:e.$t("detailView.remove")},{default:k(()=>[g(o,{class:"icon px-1",name:"times",onClick:T=>e.remove(h)},null,8,["onClick"])]),_:2},1032,["content"]))])],2))),128)),f("div",bk,[Qe(f("input",{ref:"input",style:{width:"100%"},class:"invisible-input","data-testid":"input-emails",onKeyup:t[0]||(t[0]=qa(p=>e.add(e.newEmail),["enter"])),onBlur:t[1]||(t[1]=p=>e.add(e.newEmail,!0)),onKeydown:t[2]||(t[2]=qa(p=>e.handleBackspace(),["backspace"])),type:"text","onUpdate:modelValue":t[3]||(t[3]=p=>e.newEmail=p),readonly:e.isReadOnly},null,40,vk),[[Jn,e.newEmail,void 0,{trim:!0}]])])],2)]),_:1},8,["error","class"])])),[[m]])]),_:1},8,["label","hint","column-view","field"])])}const yd=te(mk,[["render",Ik],["__scopeId","data-v-c79624ec"]]),S4=Object.freeze(Object.defineProperty({__proto__:null,default:yd},Symbol.toStringTag,{value:"Module"})),Ck={class:"flex flex-col"},Sk={class:"d-flex"},_k={class:"mr-2"},kk=["innerHTML"],Tk={key:0},wk=["readonly","tabindex"],Fk={class:"text-xs text-subtle"},Pk=K({__name:"ExchangeField",props:{record:{type:Object,required:!0},field:{type:Object,required:!0},recordType:{type:String,required:!1}},emits:["refresh"],setup(e,{emit:t}){const n=e,i=Si(),{t:r}=ot(),{getCurrencySymbol:a}=$t(),{showError:o}=Pi(),s=ce(!1),l=ce(!1),d=F(()=>i.shopData.internationalCountry),c=F(()=>n.record[n.field.fieldName]),m=F(()=>n.record.currency),p=F(()=>i.shopData.isoCurrency),h=F(()=>R.value[p.value]),T=F(()=>qs(O.value,d.value).separator),C=F(()=>n.field.formField.unit),A=F(()=>n.field.formField.precision||2),v=F(()=>tt(n.field.readonly||!!n.field.formField.formula)),R=F(()=>i.shopData.exchangeRates&&i.shopData.exchangeRates[n.record.currency]||{}),D=F(()=>(i.shopData.selectedCurrencies||[]).filter(G=>G===n.record.currency?!1:!(s.value&&G===p.value))),O=F(()=>C.value==="currency"?a(n.record.currency):C.value),N=F({get(){return C.value=="year"?c.value:l.value?c.value||c.value=="0"?T.value==="."?String(c.value):String(c.value).replace(".",","):void 0:isNaN(c.value)?c.value:Ci(c.value,O.value,!0,A.value,d.value)},set(oe){let G=parseFloat(xs(oe,O.value,d.value));!G&&G!=0&&(G=null),G&&isNaN(G)&&(G=0),n.record[n.field.fieldName]=G}});let B,q;const se=()=>{const oe=n.field.formField.formula;oe&&(B=ze(()=>n.record,Ca(()=>{wa.evalAsync(oe,n.record).then(G=>{typeof G=="number"?isFinite(G)?(G=parseFloat(G.toFixed(A.value)),n.record[n.field.fieldName]=G):n.record[n.field.fieldName]=null:o(r("detailView.numberAlert",{label:n.field.formField.label,result:G}))}).catch(G=>console.log(G,n.field.fieldName))}),{deep:!0}))};return At(()=>{q=setTimeout(()=>{se()},100)}),Zn(()=>{q&&clearTimeout(q),B==null||B()}),(oe,G)=>{const x=I("tip"),L=I("nice-fake-input"),J=I("dv-row"),ne=I("nice-tooltip");return u(),y("div",Ck,[g(J,{theme:e.field.theme,class:"w-100 field-row-with-decorators","data-field":e.field.fieldName,field:e.field},{label:k(()=>[f("div",Sk,[f("div",_k,[f("span",{innerHTML:e.field.formField.label},null,8,kk),e.field.mandatory?(u(),y("span",Tk,"*")):P("",!0),e.field.hint?(u(),w(x,{key:1,hint:e.field.hint,icon:"info-circle",class:"light"},null,8,["hint"])):P("",!0)]),g(zt,{record:e.record,field:e.field,recordType:e.recordType,onRefresh:G[0]||(G[0]=H=>oe.$emit("refresh"))},null,8,["record","field","recordType"])])]),default:k(()=>[g(L,{style:xe(!N.value&&`background-color: ${e.field.color}
12806`),readonly:v.value,error:E(Ge)(e.field,e.record),class:U({"has-converted-currency-value":s.value})},{default:k(()=>[Qe(f("input",{type:"text","onUpdate:modelValue":G[1]||(G[1]=H=>N.value=H),onBlur:G[2]||(G[2]=H=>l.value=!1),onFocus:G[3]||(G[3]=H=>l.value=!0),readonly:v.value,tabindex:v.value?-1:"",style:xe(!N.value&&`background-color: ${e.field.color}`)},null,44,wk),[[Jn,N.value]]),g(Ni,{value:c.value,"source-currency":m.value,"target-currency":p.value,"exchange-rate":h.value,"field-unit":C.value,"record-type":e.recordType,precision:A.value,country:d.value,onVisibilityChange:G[4]||(G[4]=H=>s.value=H)},null,8,["value","source-currency","target-currency","exchange-rate","field-unit","record-type","precision","country"])]),_:1},8,["style","readonly","error","class"])]),_:1},8,["theme","data-field","field"]),N.value&&e.record.currency?(u(!0),y(ee,{key:0},Te(D.value,H=>(u(),w(J,{class:"w-100",key:H},{label:k(()=>[...G[5]||(G[5]=[f("div",{class:"d-flex"},[f("div",{class:"mr-2"},[f("span")])],-1)])]),default:k(()=>[g(ne,{placement:"left",content:"Rate: "+oe.$customFilters.prettyNumber(R.value[H])},{default:k(()=>[f("span",Fk,S(H)+" ~ "+S(oe.$customFilters.numberToCurrency(R.value[H]*c.value,E(a)(H),!0,d.value)),1)]),_:2},1032,["content"])]),_:2},1024))),128)):P("",!0)])}}}),bd=te(Pk,[["__scopeId","data-v-d9ca7ecc"]]),_4=Object.freeze(Object.defineProperty({__proto__:null,default:bd},Symbol.toStringTag,{value:"Module"})),Ak={key:1,class:"relative my-8 w-full h-full flex flex-row gap-4 bg-gray-100 items-center p-4"},$k={class:"bannerTitle"},Rk="BaufiTeam",Dk="Einladung Finanzierungsberatung",Nk=K({__name:"FindriveTipsterBanner",props:["record","field"],setup(e){const t=e,{graphql:n}=je(),{isNeoTheme:i}=Ee(),{state:r}=ha(async()=>{const{shop:{snippetCategories:l}}=await n(`
12807      query FindriveSnippetCategories {
12808        shop {
12809          snippetCategories {
12810            id
12811            name
12812            snippets(forCurrentBroker: true) {
12813              id
12814              name
12815              subject
12816            }
12817          }
12818        }
12819      }
12820    `);return l},[]),a=F(()=>{const l=r.value?r.value.find(d=>d.name===Rk):null;return(l==null?void 0:l.snippets.find(d=>d.name===Dk))||null}),o=F(()=>!t.record.cf_finanzierungsbestatigung),s=()=>at.$emit("quick-view",{type:"mail",mode:"edit",params:{source:{clientIds:[t.record.client_id].filter(Boolean),propertyIds:[t.record.property_id].filter(Boolean),projectIds:[t.record.project_id].filter(Boolean),snippetId:a.value.id}}});return(l,d)=>{const c=I("nice-button");return u(),w(lc,null,{default:k(()=>[o.value?(u(),y(ee,{key:0},[E(i)?(u(),w(Sl,{key:0,label:l.$t("integrations.findriveTipster.banner.title")},{actions:k(()=>[g(c,{onClick:ae(s,["prevent"]),type:"primary"},{default:k(()=>[Y(S(l.$t("integrations.findriveTipster.banner.cta")),1)]),_:1})]),default:k(()=>[f("p",null,S(l.$t("integrations.findriveTipster.banner.description")),1)]),_:1},8,["label"])):(u(),y("section",Ak,[f("div",$k,[f("h2",null,S(l.$t("integrations.findriveTipster.banner.title")),1)]),f("p",null,S(l.$t("integrations.findriveTipster.banner.description")),1),f("a",{class:"inline-block px-8 xl:px-16 whitespace-nowrap py-2 bg-teal-300 text-black font-medium hover:text-black rounded-lg hover:bg-teal-400 transition-colors duration-200",href:"#",onClick:ae(s,["prevent"])},S(l.$t("integrations.findriveTipster.banner.cta")),1)]))],64)):P("",!0)]),_:1})}}}),vd=te(Nk,[["__scopeId","data-v-a521ab60"]]),k4=Object.freeze(Object.defineProperty({__proto__:null,default:vd},Symbol.toStringTag,{value:"Module"})),Ok=["href"],Ek=K({__name:"LinkField",props:{record:{},field:{}},setup(e){const{isNeoTheme:t}=Ee(),n=F(()=>tt(!!e.field.readonly));return(i,r)=>{const a=I("nice-button"),o=I("fa-icon"),s=I("nice-input"),l=I("dv-row");return u(),w(l,null,{label:k(()=>[Y(S(e.field.formField.label)+" "+S(e.field.mandatory?"*":"")+" ",1),e.record[e.field.fieldName]?(u(),y(ee,{key:0},[E(t)?(u(),w(a,{key:0,tag:"a",href:i.$customFilters.urlify(e.record[e.field.fieldName]),target:"_blank",size:"xsmall",tabindex:"-1",iconOnly:"",icon:"external-link",iconSet:"neo",class:"ml-2"},null,8,["href"])):(u(),y("a",{key:1,href:i.$customFilters.urlify(e.record[e.field.fieldName]),tabindex:"-1",target:"_blank",class:"light ml-1"},[g(o,{name:"external-link"})],8,Ok))],64)):P("",!0)]),default:k(()=>[g(s,{type:"text",modelValue:e.record[e.field.fieldName],"onUpdate:modelValue":r[0]||(r[0]=d=>
12820e.record[e.field.fieldName]=d),readonly:n.value,error:E(Ge)(e.field,e.record),class:U({"disabled-visibility-link":e.field.readonly}),style:xe(!e.record[e.field.fieldName]&&`background-color: ${e.field.color}`)},null,8,["modelValue","readonly","error","class","style"])]),_:1})}}}),Mk=[{id:"mr",name:"nameSalutationMr"},{id:"ms",name:"nameSalutationMs"},{id:"mrms",name:"nameSalutationMrms"}],Vk={props:["record","field","columnView"],methods:{validateMandatory:ft},computed:{isReadOnly(){return tt(this.field.readonly)},salutations(){return Mk.map(e=>({...e,name:this.$t(`detailView.${e.name}`)})).concat(this.$db.get("salutations").map(e=>({id:e.internalName,name:e.name})))},salutationLabel(){var e;return(e=this.salutations.find(t=>t.id==this.record.salutation))==null?void 0:e.name},copyText(){return[this.salutationLabel,this.record.academic_title,this.record.first_name,this.record.last_name].filter(Boolean).join(" ")}}},Lk={class:"pl-2 w-100"};function Bk(e,t,n,i,r,a){const o=I("nice-select"),s=I("nice-input"),l=I("dv-row");return u(),y("div",null,[g(l,{label:`${e.$t("detailView.nameSalutation")} ${n.field.mandatory?"*":""}`,hint:n.field.hint,field:n.field,"column-view":n.columnView},{default:k(()=>[g(o,{filterable:"",clearable:"","default-first-option":"",modelValue:n.record.salutation,"onUpdate:modelValue":t[0]||(t[0]=d=>n.record.salutation=d),placeholder:"",disabled:n.field.readonly,options:a.salutations,error:a.validateMandatory(n.field,!!n.record.salutation),class:U({"disabled-visibility-name":n.field.readonly}),"data-testid":"select-salutation"},null,8,["modelValue","disabled","options","error","class"]),f("div",Lk,[g(s,{type:"text",placeholder:e.$t("detailView.nameTitle"),modelValue:n.record.academic_title,"onUpdate:modelValue":t[1]||(t[1]=d=>n.record.academic_title=d),readonly:a.isReadOnly,class:U({"disabled-visibility-name":n.field.readonly}),"data-testid":"input-name_title"},null,8,["placeholder","modelValue","readonly","class"])])]),_:1},8,["label","hint","field","column-view"]),g(l,{label:`Name ${n.field.mandatory?"*":""}`,field:n.field,"copy-value":"description"in n.field.detailViewField?void 0:a.copyText,"copy-tooltip":e.$t("detailView.nameCopy"),"column-view":n.columnView},{default:k(()=>[g(s,{type:"text",placeholder:e.$t("detailView.nameFirstname"),modelValue:n.record.first_name,"onUpdate:modelValue":t[2]||(t[2]=d=>n.record.first_name=d),readonly:a.isReadOnly,"data-testid":"input-first_name",error:a.validateMandatory(n.field,!!n.record.first_name),class:U({"disabled-visibility-name":n.field.readonly})},null,8,["placeholder","modelValue","readonly","error","class"]),g(s,{type:"text",placeholder:e.$t("detailView.nameLastname"),modelValue:n.record.last_name,"onUpdate:modelValue":t[3]||(t[3]=d=>n.record.last_name=d),readonly:a.isReadOnly,"data-testid":"input-last_name",class:U(["ml-2",{"disabled-visibility-name":n.field.readonly}]),error:a.validateMandatory(n.field,!!n.record.last_name)},null,8,["placeholder","modelValue","readonly","error","class"])]),_:1},8,["label","field","copy-value","copy-tooltip","column-view"])])}const Id=te(Vk,[["render",Bk]]),T4=Object.freeze(Object.defineProperty({__proto__:null,default:Id},Symbol.toStringTag,{value:"Module"})),Uk=K({props:{record:{type:Object,required:!0},field:{type:Object,required:!0},recordType:String},components:{ParticipantPreview:Ol,FieldLabelDecorators:zt},setup(){const{isNeoTheme:e}=Ee();return{isNeoTheme:e}},watch:{record(){this.relationships.length||this.addAdditionalRow()}},methods:{remove(e,t){t._destroy=!0,this.relationships.filter(n=>!n._destroy).length==0&&this.addAdditionalRow()},addAdditionalRow(){const e=this.$db.shopData.relationshipPartnerNames.reduce((t,n)=>(t[n.id]=n.name,t),{});this.record.relationships.push({internalName:this.field.formField.scope||"partner",name:this.field.fieldName.startsWith("rs_")?e[this.field.fieldName.substring(3)]:this.field.formField.partnerName||null,relatedClientId:null})}},computed:{isReadOnly(){var e;return tt(!!((e=this.field)!=null&&e.readonly))},relationships(){let e;this.$db.broker.propertyDetailViewGroups.length?e=this.$db.broker.propertyDetailVie
12820wGroups.map(r=>r.detailViewFields).flat(1).filter(r=>r.fieldName.startsWith("rs_")).map(r=>r.fieldName.substring(3)):e=["kaufer","mieter"];const t=this.$db.shopData.relationshipPartnerNames.filter(i=>e.includes(i.id)).map(i=>i.name),n=this.$db.shopData.relationshipPartnerNames.reduce((i,r)=>(i[r.name]=r.id,i),{});return this.record.relationships.filter(i=>i.internalName==this.field.formField.scope&&!t.includes(i.name)||i.internalName=="partner"&&i.name&&this.field.fieldName.startsWith("rs_")&&n[i.name]===this.field.fieldName.substring(3)||i.internalName=="partner"&&this.field.formField.partnerName&&i.name===this.field.formField.partnerName)},mandatoryMissing(){if(this.field.readonly||!this.field.submitAttempt||!this.field.mandatory)return!1;switch(this.field.fieldName){case"partners":return!this.record.relationships.filter(e=>e.internalName==="partner"&&!!e.relatedClientId&&!e._destroy).length;case"owners":return!this.record.relationships.filter(e=>e.internalName==="owner"&&!!e.relatedClientId&&!e._destroy).length;default:return this.field.fieldName.startsWith("rs_")?!this.record.relationships.filter(e=>e.internalName==="partner"&&!!e.name&&this.field.formField.label===e.name&&!!e.relatedClientId&&!e._destroy).length:Array.isArray(this.record[this.field.fieldName])?!this.record[this.field.fieldName].length:[void 0,null,""].includes(this.record[this.field.fieldName])}}},created(){this.relationships.length||this.addAdditionalRow()}}),qk={class:"flex items-center"},xk={class:"mr-2"},zk=["onClick"],Gk={key:0,class:"w-100 mt-2"},jk={key:1};function Hk(e,t,n,i,r,a){const o=I("tip"),s=I("FieldLabelDecorators"),l=I("nice-button"),d=I("fa-icon"),c=I("participant-preview"),m=I("client-select"),p=I("nice-input"),h=I("dv-row");return u(),y("div",null,[(u(!0),y(ee,null,Te(e.relationships,(T,C)=>Qe((u(),w(h,{key:C,field:e.field},{label:k(()=>[f("div",qk,[f("span",xk,[Y(S(e.field.formField.label)+" "+S(e.field.mandatory?"*":"")+" ",1),C==0&&e.field.hint?(u(),w(o,{key:0,hint:e.field.hint,icon:"info-circle",class:"light"},null,8,["hint"])):P("",!0)]),C===0?(u(),w(s,{key:0,record:e.record,field:e.field,recordType:e.recordType},null,8,["record","field","recordType"])):P("",!0),e.field.readonly?P("",!0):(u(),y(ee,{key:1},[e.isNeoTheme?(u(),w(l,{key:0,onClick:e.addAdditionalRow,size:"xsmall",type:"info",iconSet:"neo",icon:"plus",class:"action mr-1",iconOnly:""},null,8,["onClick"])):(u(),y("span",{key:1,onClick:t[0]||(t[0]=(...A)=>e.addAdditionalRow&&e.addAdditionalRow(...A)),class:"action px-1 pointer"},[g(d,{name:"plus",title:e.$t("detailView.relationship.add")},null,8,["title"])]))],64)),!e.field.readonly&&(e.relationships.filter(A=>!A._destroy).length>1||e.relationships.filter(A=>!A._destroy)[0].id)?(u(),y(ee,{key:2},[e.isNeoTheme?(u(),w(l,{key:0,onClick:A=>e.remove(C,T),size:"xsmall",type:"info",iconColor:"var(--ps-color-danger)",iconSet:"neo",icon:"trash",class:"action ml-0",iconOnly:""},null,8,["onClick"])):(u(),y("span",{key:1,onClick:A=>e.remove(C,T),class:"action px-1 pointer"},[g(d,{name:"minus",title:e.$t("detailView.relationship.delete")},null,8,["title"])],8,zk))],64)):P("",!0)])]),default:k(()=>[T.id?(u(),y("div",Gk,[T.relatedClient?(u(),w(c,{key:0,class:"link",participant:T.relatedClient},null,8,["participant"])):(u(),y("span",jk,S(e.$t("detailView.ownerDeleted")),1))])):(u(),w(m,{key:1,modelValue:T.relatedClientId,"onUpdate:modelValue":A=>T.relatedClientId=A,disabled:e.field.readonly,class:U({"disabled-visibility-owner":e.field.readonly,"mandatory-outline":e.mandatoryMissing}),style:xe(!T.relatedClientId&&`background-color: ${e.field.color}ff`),"data-value-missing":!T.relatedClientId},null,8,["modelValue","onUpdate:modelValue","disabled","class","style","data-value-missing"])),!e.field.fieldName.startsWith("rs_")&&!e.field.formField.hideNameInput?(u(),w(p,{key:2,class:U(["ml-2",{"disabled-visibility-owner-input":e.field.readonly}]),type:"text",modelValue:T.name,"onUpdate:modelValue":A=>T.name=A,placeholder:e.$t("detailView.relationship.typeOpt"),readonly:e.isReadOnly},null,8,["modelValue","onUpdate:modelValue","placeholder","readonly","class"])):P("",!0)]),_:2},1032,["field"])),[[ua,!T._destroy]])),128))])}const Cd=te(Uk,[["render",Hk],["__scopeId","data-v-d85af3b4"]]),w4=Object.freeze(Object.defineProperty({__proto__:null,default:Cd},Symbol.toStringTag,{value:"Module"})),Wk=K({props:{record:{type:Object,required:!0},field:{type:Object,required:!0}},watch:{"record.client_addresses":{handler(e){this.record.client_addresses.length||this.addAdditionalRow()},deep:!0}},computed:{isReadOnly(){var e;return tt(!!((e=this.field)!=null&&e.readonly))}},methods:{validateMandatory:ft,phoneNumberChanged(){this.record.client_addresses.filter(e=>!e.value).length<=0&&this.addAdditionalRow()},setPrimary(e){this.record.client_addresses=[this.record.client_addresses[e]].concat(this.record.client_addresses.filter((t,
12820n)=>n!=e)).map((t,n)=>({...t,position:n}))},remove(e){if(this.record.client_addresses.filter(n=>!n._destroy).length===1)return;const t=JSON.parse(JSON.stringify(this.record.client_addresses));t[e]._destroy=!0,this.record.client_addresses=t},addAdditionalRow(){this.record.client_addresses.push({label:"",value:""})}},created(){this.record.client_addresses.length||this.addAdditionalRow()}}),Kk={class:"d-flex"},Yk={class:"mr-2"},Qk=["href","data-client-id"],Zk=["onClick"],Jk=["onClick"];function Xk(e,t,n,i,r,a){const o=I("tip"),s=I("fa-icon"),l=I("nice-tooltip"),d=I("whatsapp-button"),c=I("nice-input"),m=I("dv-row"),p=un("redacted");return u(),y("div",null,[(u(!0),y(ee,null,Te(e.record.client_addresses,(h,T)=>Qe((u(),w(m,{key:T},{label:k(()=>[f("div",Kk,[f("span",Yk,[Y(S(e.field.formField.label)+" "+S(e.field.mandatory?"*":"")+" ",1),T==0&&e.field.hint?(u(),w(o,{key:0,hint:e.field.hint,icon:"info-circle",class:"light"},null,8,["hint"])):P("",!0)]),h.value?(u(),w(l,{key:0,content:e.$t("detailView.phoneCall"),placement:"right"},{default:k(()=>[f("a",{href:e.$customFilters.phonify(h.value),tabindex:"-1",class:"light mr-1","data-client-id":e.record.id},[g(s,{name:"phone"})],8,Qk)]),_:2},1032,["content"])):P("",!0),h.intl?(u(),w(d,{key:1,phone:h.intl,class:"ml-1"},null,8,["phone"])):P("",!0),T!=0&&!e.isReadOnly?(u(),y("span",{key:2,onClick:C=>e.setPrimary(T),class:"px-1 pointer"},[g(s,{name:"arrow-up",class:"action",title:e.$t("detailView.phonePrimary")},null,8,["title"])],8,Zk)):P("",!0),e.isReadOnly?P("",!0):(u(),y("span",{key:3,onClick:t[0]||(t[0]=(...C)=>e.addAdditionalRow&&e.addAdditionalRow(...C)),class:"action px-1 pointer"},[g(s,{name:"plus",title:e.$t("detailView.phoneAdd")},null,8,["title"])])),e.isReadOnly?P("",!0):(u(),y("span",{key:4,onClick:C=>e.remove(T),class:"action px-1 pointer"},[g(s,{name:"minus",title:e.$t("detailView.phoneRemove")},null,8,["title"])],8,Jk))])]),default:k(()=>[g(c,{type:"tel",modelValue:h.value,"onUpdate:modelValue":C=>h.value=C,placeholder:e.$t("detailView.phoneNumber"),readonly:e.isReadOnly,class:U(["mr-2",{"disabled-visibility-phonenumbers":e.isReadOnly}]),error:e.validateMandatory(e.field,!!h.value)},null,8,["modelValue","onUpdate:modelValue","placeholder","readonly","error","class"]),g(c,{type:"text",modelValue:h.label,"onUpdate:modelValue":C=>h.label=C,placeholder:e.$t("detailView.phoneText"),readonly:e.isReadOnly,class:U({"disabled-visibility-phonenumbers":e.isReadOnly})},null,8,["modelValue","onUpdate:modelValue","placeholder","readonly","class"])]),_:2},1024)),[[ua,!h._destroy],[p]])),128))])}const Sd=te(Wk,[["render",Xk],["__scopeId","data-v-6c6b8d3d"]]),F4=Object.freeze(Object.defineProperty({__proto__:null,default:Sd},Symbol.toStringTag,{value:"Module"})),eT={class:"photo-field__image"},tT=["src"],nT={class:"flex flex-col items-center justify-center p-2"},iT=["src"],rT={class:"photo-field__actions"},aT={class:"mx-2 mt-1 text-light"},oT={key:2,class:"flex items-center w-100"},sT=["src"],lT={key:0},dT={class:"mx-2 mt-1 text-extra-light"},cT={key:2,class:"flex items-center w-100"},uT=K({__name:"PhotoField",props:{record:{},field:{}},setup(e){const{isNeoTheme:t}=Ee(),n=()=>{e.record[r.value]=!0},i=F(()=>tt(!!e.field.readonly)),r=F(()=>`remove_${e.field.fieldName.replace("_url","")}`),a=F(()=>`remote_${e.field.fieldName}`),o=F(()=>e.field.fieldName=="photo_url"?"contacts":"projects"),s=ce(!1),l=ce("");function d(c){l.value=c,s.value=!0}return(c,m)=>{const p=I("nice-dialog"),h=I("nice-button"),T=I("nice-input"),C=I("dv-row");return u(),w(C,{label:`${e.field.formField.label} ${e.field.mandatory?"*":""}`,hint:e.field.hint},{default:k(()=>[E(t)?(u(),y(ee,{key:0},[e.record[e.field.fieldName]?(u(),y("div",{key:0,class:U([{disabled:e.record[r.value]},"photo-field"])},[f("div",eT,[f("img",{src:e.record[e.field.fieldName],onClick:m[0]||(m[0]=A=>d(e.record[e.field.fieldName])),class:"cursor-zoom-in"},null,8,tT)]),l.value?(u(),w(p,{key:0,ref:"photoDialog",modelValue:s.value,"onUpdate:modelValue":m[1]||(m[1]=A=>s.value=A),width:"400px"},{default:k(()=>[f("div",nT,[f("img",{src:l.value,class:"max-w-full rounded-lg"},null,8,iT)])]),_:1},8,["modelValue"])):P("",!0),f("div",rT,[g(si,{title:c.$t("detailVie
12820w.photoReplace"),url:`/api/v1/${o.value}/${e.record.id}/upload`,"accepted-files":"image/*",onSuccess:m[2]||(m[2]=A=>e.record[e.field.fieldName]=A.url)},null,8,["title","url"]),!e.record[r.value]&&!i.value?(u(),w(h,{key:0,iconOnly:"",iconSet:"neo",icon:"trash",iconColor:"var(--ps-color-danger)",onClick:ae(n,["prevent"])})):P("",!0)])],2)):i.value?(u(),y("div",oT,[f("span",null,S(c.$t("detailView.photoEmpty")),1)])):(u(),y("div",{key:1,class:U([{"mandatory-outline":E(Ge)(e.field,e.record)},"flex justify-between w-100"])},[g(T,{type:"text",class:"min-w-[80px]",modelValue:e.record[a.value],"onUpdate:modelValue":m[3]||(m[3]=A=>e.record[a.value]=A),placeholder:c.$t("detailView.photoAdd"),readonly:i.value},null,8,["modelValue","placeholder","readonly"]),f("span",aT,S(c.$t("detailView.or")),1),g(si,{title:c.$t("detailView.photoUpload"),url:`/api/v1/${o.value}/${e.record.id}/upload`,"accepted-files":"image/*",onSuccess:m[4]||(m[4]=A=>e.record[e.field.fieldName]=A.url)},null,8,["title","url"])],2))],64)):(u(),y(ee,{key:1},[e.record[e.field.fieldName]?(u(),y("div",{key:0,class:U([{disabled:e.record[r.value]},"w-100 d-flex align-items-end"])},[f("div",null,[f("img",{src:e.record[e.field.fieldName],width:"50"},null,8,sT)]),!e.record[r.value]&&!i.value?(u(),y("small",lT,[f("a",{href:"#",onClick:ae(n,["prevent"]),class:"text-danger ml-2"},S(c.$t("detailView.photoRemove")),1)])):P("",!0)],2)):i.value?(u(),y("div",cT,[f("span",null,S(c.$t("detailView.photoEmpty")),1)])):(u(),y("div",{key:1,class:U([{"mandatory-outline":E(Ge)(e.field,e.record)},"flex justify-between w-100"])},[g(T,{type:"text",modelValue:e.record[a.value],"onUpdate:modelValue":m[5]||(m[5]=A=>e.record[a.value]=A),placeholder:c.$t("detailView.photoAdd"),readonly:i.value},null,8,["modelValue","placeholder","readonly"]),f("span",dT,S(c.$t("detailView.or")),1),g(si,{title:c.$t("detailView.photoUpload"),url:`/api/v1/${o.value}/${e.record.id}/upload`,"accepted-files":"image/*",onSuccess:m[6]||(m[6]=A=>e.record[e.field.fieldName]=A.url)},null,8,["title","url"])],2))],64))]),_:1},8,["label","hint"])}}}),pT=K({components:{NumberField:Oi},props:{record:Object,field:Object}}),mT={class:"flex items-center w-full h-full"};function hT(e,t,n,i,r,a){const o=I("number-field");return u(),y("div",mT,[g(o,{placeholder:e.$t("client.queries.form.selectFieldBy"),record:e.record,field:e.field,customFieldName:e.field.fieldName},null,8,["placeholder","record","field","customFieldName"]),t[0]||(t[0]=f("span",{class:"light mx-2"},"–",-1)),g(o,{placeholder:e.$t("client.queries.form.selectFieldTill"),record:e.record,field:e.field,customFieldName:`${e.field.fieldName}_to`},null,8,["placeholder","record","field","customFieldName"])])}const _d=te(pT,[["render",hT]]),P4=Object.freeze(Object.defineProperty({__proto__:null,default:_d},Symbol.toStringTag,{value:"Module"})),fT={class:"rating-field"},gT={class:"flex items-center"},yT=K({__name:"RatingField",props:{record:{},field:{}},setup(e){const t=e,{t:n}=ot(),i=F(()=>t.field.formField.maxValue||5),r=F(()=>Array.from({length:i.value+1},(a,o)=>({id:o,name:n("detailView.rating.stars",{count:o},`${o} star${o>1?"s":""}`)})));return(a,o)=>{const s=I("nice-star-rating"),l=I("nice-select"),d=I("dv-row");return u(),w(d,{hint:e.field.hint},{label:k(()=>[Y(S(e.field.formField.label)+" "+S(e.field.mandatory?"*":""),1)]),default:k(()=>[f("div",fT,[g(l,{modelValue:e.record[e.field.fieldName],"onUpdate:modelValue":o[0]||(o[0]=c=>e.record[e.field.fieldName]=c),options:r.value,"popper-class":"rating-field__select",placeholder:E(n)("detailView.placeholder","Select rating"),readonly:e.field.readonly,disabled:e.field.readonly,clearable:"",class:U({"disabled-visibility-rating":e.field.readonly}),"data-value-missing":!e.record[e.field.fieldName]},{label:k(({label:c,value:m})=>[f("div",gT,[g(s,{rating:m||0},null,8,["rating"])])]),option:k(({item:c})=>[f("div",{class:U(["rating-field__option",{"is-active":c.id===e.record[e.field.fieldName]}])},[g(s,{rating:c.id||0},null,8,["rating"]),c.id===e.record[e.field.fieldName]?(u(),w(E(dn),{key:0,name:"checkmark"})):P("",!0)],2)]),_:1},8,["modelValue","options","placeholder","readonly","disabled","class","data-value-missing"])])]),_:1},8,["hint"])}}}),kd=te(yT,[["__scopeId","data-v-fdd0e882"]]),A4=Object.freeze(Object.defineProperty({__proto__:null,default:kd},Symbol.toStringTag,{value:"Module"})),bT={emits:["remove","disableEdit","disableRemove"],props:["rs","recordType","hideTypeName"],components:{ConnectionItem:On,PropertyPreview:Ml}
12820,methods:{remove(){this.$warn({title:this.$t("detailView.relationship.delete"),desc:this.$t("detailView.relationship.delConfirm"),confirmButtonText:this.$t("detailView.relationship.delBtn"),redButton:!0},()=>{this.$emit("remove",this.rs)})}},computed:{url(){if(this.rs.client)return`/contacts/clients/${this.rs.client.id}`;if(this.recordType=="client"&&this.rs.property)return`/portfolio/properties/${this.rs.property.id}`;if(this.recordType=="client"&&this.rs.project)return`/portfolio/projects/${this.rs.project.id}`;if(this.rs.relatedClient)return`/contacts/clients/${this.rs.relatedClient.id}`},title(){return this.rs.client?this.recordType=="client"?this.rs.client.nonCommercialName||this.rs.client.name:this.rs.client.name:this.recordType=="client"&&this.rs.property?this.rs.property.name:this.recordType=="client"&&this.rs.project?this.rs.project.name:this.rs.relatedClient?this.rs.relatedClient.name:this.$t("detailView.relationship.deleted")},companyName(){if(!this.rs.client)return null;const{name:e,company:t}=this.rs.client;return t&&t!==e?t:null}}},vT={class:"relationship-item__name"},IT={class:"relationship-item__company"},CT={class:"relationship-item__tail"},ST={key:0,class:"text-muted"};function _T(e,t,n,i,r,a){const o=I("PropertyPreview"),s=I("fa-icon"),l=I("nice-tooltip"),d=I("connection-item");return u(),w(d,{class:"relationship-item",title:a.title,desc:n.rs.name,href:a.url,disableRemove:e.disableRemove,disableEdit:e.disableEdit,onRemove:a.remove,onEdit:t[0]||(t[0]=c=>e.$emit("edit",n.rs))},{default:k(()=>{var c,m,p,h;return[(c=n.rs.property)!=null&&c.id?(u(),y("span",{key:0,class:U(["relationship-item__property",{archived:(p=(m=n.rs)==null?void 0:m.property)==null?void 0:p.archived}])},[g(o,{property:{id:n.rs.property.id,name:(h=n.rs.property)==null?void 0:h.name}},null,8,["property"])],2)):(u(),y(ee,{key:1},[f("span",vT,S(a.title),1),f("span",IT,S(a.companyName),1)],64)),f("span",CT,[n.hideTypeName?P("",!0):(u(),y("span",ST,S(n.rs.name),1)),n.rs.transferClientData?(u(),w(l,{key:1,content:e.$t("detailView.relationship.transfer")},{default:k(()=>[g(s,{class:"text-subtle ml-1",name:"copy"})]),_:1},8,["content"])):P("",!0)])]}),_:1},8,["title","desc","href","disableRemove","disableEdit","onRemove"])}const Ei=te(bT,[["render",_T],["__scopeId","data-v-969ba802"]]),$4=Object.freeze(Object.defineProperty({__proto__:null,default:Ei},Symbol.toStringTag,{value:"Module"}));function gn(e,t,n){var r;const i=(r=e.translations)==null?void 0:r.find(a=>a.locale===n);return(i==null?void 0:i[t])||e[t]}function xt(e,t){for(const n of e){if(n.labelA===t)return{category:n,side:"a"};if(n.labelB===t)return{category:n,side:"b"};if(n.translations)for(const i of n.translations){if(i.labelA===t)return{category:n,side:"a"};if(i.labelB===t)return{category:n,side:"b"}}}return null}function kT(e,t){if(!t)return null;if(e.labelA===t)return"a";if(e.labelB===t)return"b";if(e.translations)for(const n of e.translations){if(n.labelA===t)return"a";if(n.labelB===t)return"b"}return null}function R4(e,t){if(t.relationshipCategoryId!=null){const n=e.find(i=>i.id===t.relationshipCategoryId);if(n){const i=kT(n,t.name);if(i)return{category:n,side:i}}}return t.name?xt(e,t.name):null}const TT="de";function ks(e,t){var i;const n=(i=e.translations)==null?void 0:i.find(r=>r.locale===TT);return n!=null&&n[t]?n[t]:e[t]}function Ts(e,t,n){const i=xt(e,t);if(!i)return t;const r=i.side==="a"?"labelA":"labelB";return gn(i.category,r,n)}const ws=`relationship {
12821  id name internalName transferClientData relationshipCategoryId
12822  client { id name company }
12823  relatedClient { id name }
12824  project { id name }
12825  property { id name }
12826}`,wT={props:{initialRs:{type:Object,required:!0},visible:{type:Boolean,required:!0},edit:{type:Object,required:!1},existingRelationships:{type:Array,default:()=>[]}},data(){return{submitting:!1,rs:this.$util.clone(this.initialRs),relatedClientIds:[],selectedCategoryId:null,flipped:!1,editName:""}},watch:{visible(e){var t;if(e){this.rs=this.$util.clone(this.initialRs),this.relatedClientIds=[],this.selectedCategoryId=null,this.flipped=!1,this.editName=(t=this.edit)!=null&&t.name?this.translateName(this.edit.name):"";const n=this.initialRs.relationshipCategoryId!=null?this.categories.find(i=>i.id===this.initialRs.relationshipCategoryId):null;if(n){this.selectedCategoryId=n.id;const i=this.initialRs.name?xt([n],this.initialRs.name):null;this.flipped=(i==null?void 0:i.side)==="a"}else if(this.initialRs.name){const i=xt(this.categories,this.initialRs.name);i&&(this.selectedCategoryId=i.category.id,this.flipped=i.side==="a")}}}},methods:{translateName(e){const t=xt(this.categories,e);
12826if(!t)return e;const n=t.side==="a"?"labelA":"labelB";return gn(t.category,n,this.$i18n.locale)},canonicalizeName(e){const t=xt(this.categories,e);if(!t)return e;const n=t.side==="a"?"labelA":"labelB";return ks(t.category,n)},async submit(){if(this.edit){this.submitting=!0,this.$api.mutation("updateRelationship",{id:this.edit.id,payload:{name:this.canonicalizeName(this.editName),transferClientData:this.edit.transferClientData}}).then(()=>{this.$emit("create",{...this.edit,name:this.canonicalizeName(this.editName)}),this.$emit("update:visible",!1),App.flashy(this.$t("detailView.relationship.editSuccess"))}).catch(this.$axios.handleError).finally(t=>{this.submitting=!1});return}const e=this.isAssociateCreate?this.relatedClientIds:[this.rs.relatedClientId];if(e.length!==0){this.submitting=!0;try{for(const t of e)if(this.isAssociateCreate&&this.selectedCategory){const{relationship:n}=await this.$api.mutation("createRelationship",{payload:{clientId:t,relatedClientId:this.rs.clientId,name:this.storageName,internalName:"associate",transferClientData:this.rs.transferClientData||!1,relationshipCategoryId:this.selectedCategory.id}},ws);this.$emit("create",{...n,transferClientData:this.rs.transferClientData||!1})}else{const{clientName:n,...i}=this.rs;this.isAssociateCreate&&typeof this.selectedCategoryId=="string"&&this.selectedCategoryId?(i.relatedClientId=i.clientId,i.clientId=t,i.name=this.selectedCategoryId):i.relatedClientId=t;const{relationship:r}=await this.$api.mutation("createRelationship",{payload:i},ws);this.$emit("create",r)}this.$emit("update:visible",!1),App.flashy(this.$t("detailView.relationship.createSuccess")),this.rs=this.$util.clone(this.initialRs)}catch(t){this.$axios.handleError(t)}finally{this.submitting=!1}}}},computed:{formTitle(){return this.edit&&this.edit.name?`${this.translateName(this.edit.name)}-${this.$t("detailView.relationship.linkSuffix")}`:this.isQuickAdd?`${this.translateName(this.initialRs.name)}-${this.$t("detailView.relationship.linkSuffix")}`:{owner:this.$t("detailView.relationship.owner"),partner:this.$t("detailView.relationship.partner"),associate:this.$t("detailView.relationship.associate")}[this.initialRs.internalName]||this.$t("detailView.relationship.title")},categories(){var e;return((e=this.$db.shopData)==null?void 0:e.relationshipCategories)||[]},categoryOptions(){const e=this.$i18n.locale;return this.categories.map(t=>({id:t.id,name:`${gn(t,"labelA",e)} ↔ ${gn(t,"labelB",e)}`}))},selectedCategory(){return this.selectedCategoryId&&this.categories.find(e=>e.id===this.selectedCategoryId)||null},leftLabel(){if(!this.selectedCategory)return"";const e=this.flipped?"labelB":"labelA";return gn(this.selectedCategory,e,this.$i18n.locale)},rightLabel(){if(!this.selectedCategory)return"";const e=this.flipped?"labelA":"labelB";return gn(this.selectedCategory,e,this.$i18n.locale)},storageName(){if(!this.selectedCategory)return"";const e=this.flipped?"labelA":"labelB";return ks(this.selectedCategory,e)},hasCustomType(){return typeof this.selectedCategoryId=="string"&&this.selectedCategoryId.length>0},isQuickAdd(){return this.isAssociateCreate&&!!this.initialRs.name},isAssociateCreate(){return!this.edit&&this.initialRs.internalName==="associate"},alreadyLinkedClientIds(){const e=this.isQuickAdd?this.initialRs.name:this.storageName;return e?this.existingRelationships.filter(t=>t.name===e).map(t=>{var n,i;return((n=t.client)==null?void 0:n.id)||((i=t.relatedClient)==null?void 0:i.id)}).filter(Boolean):[]}}},FT={class:"d-flex w-100 gap-3 align-items-end"},PT={class:"flex-1"},AT={class:"mb-1 fs-12"},$T={class:"flex-1"},RT={class:"mb-1 fs-12"},DT={key:0};function NT(e,t,n,i,r,a){const o=I("client-select"),s=I("form-row"),l=I("nice-checkbox"),d=I("form-section"),c=I("nice-select"),m=I("nice-input"),p=I("fa-icon"),h=I("nice-button"),T=I("property-select"),C=I("form-dialog");return u(),w(C,{visible:n.visible,name:a.formTitle,id:n.edit?n.edit.id:void 0,"append-to-body":"",onClose:t[12]||(t[12]=A=>e.$emit("update:visible",!1)),saving:r.submitting,onSubmit:a.submit},{default:k(()=>[a.isQuickAdd?(u(),w(d,{key:0},{default:k(()=>
12826[g(s,{title:e.$t("detailView.client")},{default:k(()=>[g(o,{modelValue:r.relatedClientIds,"onUpdate:modelValue":t[0]||(t[0]=A=>r.relatedClientIds=A),multiple:"","already-linked-client-ids":a.alreadyLinkedClientIds},null,8,["modelValue","already-linked-client-ids"])]),_:1},8,["title"]),a.selectedCategory?(u(),w(s,{key:0,title:e.$t("detailView.relationship.transferClient"),hint:e.$t("detailView.relationship.transferClientHint")},{default:k(()=>[g(l,{modelValue:r.rs.transferClientData,"onUpdate:modelValue":t[1]||(t[1]=A=>r.rs.transferClientData=A)},null,8,["modelValue"])]),_:1},8,["title","hint"])):P("",!0)]),_:1})):a.isAssociateCreate?(u(),w(d,{key:1},{default:k(()=>[g(s,{title:e.$t("detailView.relationship.type"),direction:"column"},{default:k(()=>[g(c,{modelValue:r.selectedCategoryId,"onUpdate:modelValue":t[2]||(t[2]=A=>r.selectedCategoryId=A),options:a.categoryOptions,filterable:"","allow-create":"",clearable:"",placeholder:e.$t("detailView.relationship.selectType")},null,8,["modelValue","options","placeholder"])]),_:1},8,["title"]),a.selectedCategory?(u(),w(s,{key:0},{default:k(()=>[f("div",FT,[f("div",PT,[f("div",AT,S(a.leftLabel),1),g(m,{"model-value":n.initialRs.clientName,disabled:""},null,8,["model-value"])]),g(h,{iconOnly:"",size:"xsmall",onClick:t[3]||(t[3]=A=>r.flipped=!r.flipped),title:e.$t("detailView.relationship.swap")},{default:k(()=>[g(p,{name:"exchange-alt"})]),_:1}
12826,8,["title"]),f("div",$T,[f("div",RT,S(a.rightLabel),1),g(o,{modelValue:r.relatedClientIds,"onUpdate:modelValue":t[4]||(t[4]=A=>r.relatedClientIds=A),multiple:"",clearable:!1,"already-linked-client-ids":a.alreadyLinkedClientIds},null,8,["modelValue","already-linked-client-ids"])])])]),_:1})):a.hasCustomType?(u(),w(s,{key:1,title:e.$t("detailView.client")},{default:k(()=>[g(o,{modelValue:r.relatedClientIds,"onUpdate:modelValue":t[5]||(t[5]=A=>r.relatedClientIds=A),multiple:"","already-linked-client-ids":a.alreadyLinkedClientIds},null,8,["modelValue","already-linked-client-ids"])]),_:1},8,["title"])):P("",!0),a.selectedCategory?(u(),w(s,{key:2,title:e.$t("detailView.relationship.transferClient"),hint:e.$t("detailView.relationship.transferClientHint")},{default:k(()=>[g(l,{modelValue:r.rs.transferClientData,"onUpdate:modelValue":t[6]||(t[6]=A=>r.rs.transferClientData=A)},null,8,["modelValue"])]),_:1},8,["title","hint"])):P("",!0)]),_:1})):n.edit?(u(),w(d,{key:3},{default:k(()=>[g(s,{title:e.$t("detailView.relationship.typeOpt")},{default:k(()=>[g(m,{modelValue:r.editName,"onUpdate:modelValue":t[10]||(t[10]=A=>r.editName=A)},null,8,["modelValue"])]),_:1},8,["title"]),n.edit&&n.edit.internalName==="associate"?(u(),w(s,{key:0,title:e.$t("detailView.relationship.transferClient"),hint:e.$t("detailView.relationship.transferClientHint")},{default:k(()=>[g(l,{modelValue:n.edit.transferClientData,"onUpdate:modelValue":t[11]||(t[11]=A=>n.edit.transferClientData=A)},null,8,["modelValue"])]),_:1},8,["title","hint"])):P("",!0)]),_:1})):(u(),w(d,{key:2},{default:k(()=>[!n.initialRs.projectId&&!n.initialRs.propertyId?(u(),w(s,{key:0,title:e.$t("detailView.prop")},{default:k(()=>[g(T,{modelValue:r.rs.propertyId,"onUpdate:modelValue":t[7]||(t[7]=A=>r.rs.propertyId=A)},null,8,["modelValue"])]),_:1},8,["title"])):P("",!0),n.initialRs.relatedClientId?P("",!0):(u(),w(s,{key:1,title:e.$t("detailView.client")},{default:k(()=>[g(o,{modelValue:r.rs.relatedClientId,"onUpdate:modelValue":t[8]||(t[8]=A=>r.rs.relatedClientId=A),"already-linked-client-ids":a.alreadyLinkedClientIds},null,8,["modelValue","already-linked-client-ids"])]),_:1},8,["title"])),g(s,{title:e.$t("detailView.relationship.type")},{default:k(()=>[n.initialRs.name?(u(),y("p",DT,S(n.initialRs.name),1)):(u(),w(m,{key:1,modelValue:r.rs.name,"onUpdate:modelValue":t[9]||(t[9]=A=>r.rs.name=A)},null,8,["modelValue"]))]),_:1},8,["title"])]),_:1}))]),_:1},8,["visible","name","id","saving","onSubmit"])}const Mi=te(wT,[["render",NT]]),D4=Object.freeze(Object.defineProperty({__proto__:null,default:Mi},Symbol.toStringTag,{value:"Module"})),OT=dc(()=>mc(()=>import("./ClientRelations-HF3me9PE.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url)),ET=K({props:["record","field"],components:{RelationshipItem:Ei,RelationshipForm:Mi,ClientRelations:OT},setup(){const{isNeoTheme:e}=Ee(),t=Pt("groupHeaderActionsEl",ce(null));return{isNeoTheme:e,headerActionsEl:t}},data(){return{visible:!1,editableRs:null,prefilledName:null,relationsDialogVisible:!1}},methods:{remove(e){this.$axios.delete(`/services/relationships/${e.id}`).then(t=>{App.flashy(this.$t("detailView.relationship.removeSuccess")),this.record.skipDirty=!0,this.record.updated_at=window.moment().format(),this.record.relationships=this.record.relationships.filter(n=>n.id!=e.id)}).catch(this.$axios.handleError)},openInContactList(e){if(e){const t=e.map(n=>{var i,r;return((i=n.client)==null?void 0:i.id)||((r=n.relatedClient)==null?void 0:r.id)}).filter(Boolean).join(",");this.$router.push({path:"/contacts/clients",query:{associatedClientIds:t}})}else{const t=[this.record.id,...this.relationships.map(n=>{var i,r;return((i=n.client)==null?void 0:i.id)||((r=n.relatedClient)==null?void 0:r.id)})].filter(Boolean).join(",");this.$router.push({path:"/contacts/clients",query:{associatedClientIds:t}})}},translateGroupName(e){var n;const t=((n=this.$db.shopData)==null?void 0:n.relationshipCategories)||[];return Ts(t,e,this.$i18n.locale)},openRsForm(e,t){this.visible=!0,this.prefilledName=t||null,e&&(this.editableRs=this.$util.clone(e))},rsUpserted(e){this.record.skipDirty=!0,this.record.updated_at=window.moment().format(),this.record.relationships=this.record.relationships.filter(t=>t.id!=e.id).concat([e])},updateVisible(e){this.visible=e,e||(this.editableRs=null,this.prefilledName=null)}},computed:{scope(){return this.field.formField.scope},isAssociate(){return this.scope==="associate"},hasMultipleLinkTypes(){return Object.keys(this.typedGroupedRelationships).length>1},showRelationsGraph(){return this.isAssociate},isReadonly(){return this.field.readonly},relationships(){var e;return((e=this.record.relationships)==null?void 0:e.filter(t=>{var n,i;return!(!t||t.internalName!==this.scope||(n=t.property)!=null&&n.isVariant||this.isAssociate&&((i=t.client)==null?void 0:i.id)==this.record.id)}))||[]},recordType(){return!this.record.publishings&&this.record.translations?"project":this.record.publishings?"property":"client"},typedGroupedRelationships(){var l;const e=((l=this.$db.shopData)==null?void 0:l.relationshipCategories)||[],t=this.$i18n.locale,n=this.$t("detailVie
12826w.relationship.other"),i={};for(const d of this.relationships){const c=Ts(e,d.name,t)||d.name||n;i[c]||(i[c]=[]),i[c].push(d)}const r=d=>{var c,m,p,h;return(((c=d.client)==null?void 0:c.name)||((m=d.relatedClient)==null?void 0:m.name)||((p=d.property)==null?void 0:p.name)||((h=d.project)==null?void 0:h.name)||"").toLowerCase()};for(const d of Object.keys(i))i[d].sort((c,m)=>r(c).localeCompare(r(m)));const a={},o=new Set;for(const d of e){for(const c of Object.keys(i)){if(o.has(c))continue;const m=xt([d],c);(m==null?void 0:m.side)==="a"&&(a[c]=i[c],o.add(c))}for(const c of Object.keys(i)){if(o.has(c))continue;const m=xt([d],c);(m==null?void 0:m.side)==="b"&&(a[c]=i[c],o.add(c))}}const s=Object.keys(i).filter(d=>!o.has(d)).sort((d,c)=>d.localeCompare(c));for(const d of s)a[d]=i[d];return a},initialRs(){return{internalName:this.scope,propertyId:this.recordType=="property"?this.record.id:null,projectId:this.recordType=="project"?this.record.id:null,clientId:this.scope=="associate"?this.record.id:null,clientName:this.scope=="associate"&&([this.record.first_name,this.record.last_name].filter(Boolean).join(" ")||this.record.company)||null,relatedClientId:this.scope!="associate"&&this.recordType=="client"?this.record.id:null,name:this.prefilledName||void 0}}}}),MT={class:"associate-actions"},VT=["title"],LT=["title"],BT={class:"py-1"},UT=["onClick"],qT=["title"],xT=["title"],zT={key:1,class:"text-muted mt-1"},GT=["title"],jT={key:0,class:"w-100 relationships-grid"},HT={key:1,class:"mt-1"},WT={key:2,class:"text-muted mt-1"},KT=["title","onClick"],YT={class:"w-100 relationships-grid"},QT={class:"relations-modal-body"};function ZT(e,t,n,i,r,a){const o=I("nice-button"),s=I("nice-tooltip"),l=I("fa-icon"),d=I("nice-popover"),c=I("relationship-item"),m=I("dv-row"),p=I("client-relations"),h=I("nice-dialog"),T=I("relationship-form");return u(),y(ee,null,[e.isAssociate&&e.headerActionsEl?(u(),w(cc,{key:0,to:e.headerActionsEl},[f("div",MT,[!e.field.readonly&&e.record.id?(u(),y(ee,{key:0},[e.isNeoTheme?(u(),w(s,{key:0,content:e.$t("detailView.relationship.add"),placement:"top"},{default:k(()=>[g(o,{icon:"plus",iconSet:"neo",iconOnly:"",size:"xsmall",onClick:t[0]||(t[0]=ae(C=>e.openRsForm(),["prevent"]))})]),_:1},8,["content"])):(u(),y("a",{key:1,href:"#",title:e.$t("detailView.relationship.add"),class:"text-muted ml-1 fs-12",onClick:t[1]||(t[1]=ae(C=>e.openRsForm(),["prevent"]))},[g(l,{name:"plus",class:"mr-1"})],8,VT))],64)):P("",!0),e.record.id?(u(),y(ee,{key:1},[e.hasMultipleLinkTypes?(u(),w(d,{key:0,placement:"bottom","show-arrow":!1,trigger:"click",width:200},{reference:k(()=>[e.isNeoTheme?(u(),w(o,{key:0,icon:"user-group",iconSet:"neo",iconOnly:"",class:"ml-2",size:"xsmall",title:e.$t("detailView.relationship.showLinkedInList")},null,8,["title"])):(u(),y("a",{key:1,href:"#",title:e.$t("detailView.relationship.showLinkedInList"),class:"text-muted ml-1 fs-12"},[g(l,{name:"users"})],8,LT))]),default:k(()=>[f("div",BT,[f("div",{class:"px-3 py-2 cursor-pointer hover:bg-gray-100 rounded",onClick:t[2]||(t[2]=C=>e.openInContactList())},S(e.$t("detailView.relationship.all")),1),(u(!0),y(ee,null,Te(e.typedGroupedRelationships,(C,A)=>(u(),y("div",{key:A,class:"px-3 py-2 cursor-pointer hover:bg-gray-100 rounded",onClick:v=>e.openInContactList(C)},S(e.translateGroupName(String(A))),9,UT))),128))])]),_:1})):(u(),y(ee,{key:1},[e.isNeoTheme?(u(),w(o,{key:0,icon:"user-group",iconSet:"neo",iconOnly:"",class:"ml-2",size:"xsmall",title:e.$t("detailView.relationship.showLinkedInList"),disabled:e.relationships.length===0,onClick:t[3]||(t[3]=C=>e.openInContactList())},null,8,["title","disabled"])):(u(),y("a",{key:1,href:"#",title:e.$t("detailView.relationship.showLinkedInList"),class:U(["text-muted ml-1 fs-12",{"pointer-events-none opacity-50":e.relationships.length===0}]),onClick:t[4]||(t[4]=ae(C=>e.openInContactList(),["prevent"]))},[g(l,{name:"users"})],10,qT))],64)),e.showRelationsGraph?(u(),y(ee,{key:2},[e.isNeoTheme?(u(),w(s,{key:0,content:e.$t("detailView.relationship.openNetworkView"),placement:"top"},{default:k(()=>[g(o,{icon:"project-diagram",iconSet:"neo",iconOnly:"",class:"ml-2",size:"xsmall",disabled:e.relationships.length===0,onClick:t[5]||(t[5]=ae(C=>e.relationsDialogVisible=!0,["prevent"]))},null,8,["disabled"])]),_:1},8,["content"])):(u(),y("a",{key:1,href:"#",title:e.$t("detailVie
12826w.relationship.openNetworkView"),class:U(["text-muted ml-1 fs-12",{"pointer-events-none opacity-50":e.relationships.length===0}]),onClick:t[6]||(t[6]=ae(C=>e.relationsDialogVisible=!0,["prevent"]))},[g(l,{name:"diagram-project"})],10,xT))],64)):P("",!0)],64)):P("",!0)])],8,["to"])):P("",!0),e.isAssociate&&e.relationships.length===0&&(e.field.readonly||!e.record.id)?(u(),y("p",zT,S(e.$t("detailView.relationship.empty")),1)):P("",!0),e.isAssociate?P("",!0):(u(),w(m,{key:2,hint:e.field.hint},{label:k(()=>[Y(S(e.field.formField.label)+" "+S(e.field.mandatory?"*":"")+" ",1),!e.field.readonly&&e.record.id&&e.relationships.length>0?(u(),y(ee,{key:0},[e.isNeoTheme?(u(),w(s,{key:0,content:e.$t("detailView.relationship.add"),placement:"top"},{default:k(()=>[g(o,{icon:"plus",iconSet:"neo",iconOnly:"",class:"ml-2",size:"xsmall",onClick:t[7]||(t[7]=ae(C=>e.openRsForm(),["prevent"]))})]),_:1},8,["content"])):(u(),y("a",{key:1,href:"#",title:e.$t("detailView.relationship.add"),class:"text-muted ml-1 fs-12",onClick:t[8]||(t[8]=ae(C=>e.openRsForm(),["prevent"]))},[g(l,{name:"plus",class:"mr-1"})],8,GT))],64)):P("",!0)]),default:k(()=>[e.relationships.length>0?(u(),y("div",jT,[(u(!0),y(ee,null,Te(e.relationships,C=>(u(),w(c,{key:C.id,rs:C,disableEdit:e.isReadonly,disableRemove:e.isReadonly,onRemove:e.remove,onEdit:e.openRsForm,recordType:e.recordType},null,8,["rs","disableEdit","disableRemove","onRemove","onEdit","recordType"]))),128))])):!e.field.readonly&&e.record.id?(u(),y("p",HT,[e.isNeoTheme?(u(),w(o,{key:0,icon:"plus",iconSet:"neo",size:"xsmall",onClick:t[9]||(t[9]=ae(C=>e.openRsForm(),["prevent"]))},{default:k(()=>[Y(S(e.$t("detailView.relationship.addConfirm")),1)]),_:1})):(u(),y("a",{key:1,href:"#",class:"text-muted",onClick:t[10]||(t[10]=ae(C=>e.openRsForm(),["prevent"]))},[g(l,{name:"plus",class:"mr-1"}),Y(" "+S(e.$t("detailView.relationship.addConfirm")),1)]))])):(u(),y("p",WT,S(e.$t("detailView.relationship.empty")),1))]),_:1},8,["hint"])),(u(!0),y(ee,null,Te(e.isAssociate?e.typedGroupedRelationships:{},(C,A)=>(u(),w(m,{key:A,hint:e.field.hint,labelAlign:"left"},{label:k(()=>[Y(S(e.translateGroupName(String(A)))+" ",1),e.field.readonly?P("",!0):(u(),y(ee,{key:0},[e.isNeoTheme?(u(),w(s,{key:0,content:e.$t("detailView.relationship.add"),placement:"top"},{default:k(()=>[g(o,{icon:"plus",iconSet:"neo",iconOnly:"",class:"ml-2",size:"xsmall",onClick:ae(v=>e.openRsForm(void 0,String(A)),["prevent"])},null,8,["onClick"])]),_:2},1032,["content"])):(u(),y("a",{key:1,href:"#",title:e.$t("detailView.relationship.add"),class:"text-muted ml-1 fs-12",onClick:ae(v=>e.openRsForm(void 0,String(A)),["prevent"])},[g(l,{name:"plus",class:"mr-1"})],8,KT))],64))]),default:k(()=>[f("div",YT,[(u(!0),y(ee,null,Te(C,v=>(u(),w(c,{key:v.id,rs:v,disableEdit:e.isReadonly,disableRemove:e.isReadonly,onRemove:e.remove,onEdit:e.openRsForm,recordType:e.recordType,hideTypeName:!0},null,8,["rs","disableEdit","disableRemove","onRemove","onEdit","recordType"]))),128))])]),_:2},1032,["hint"]))),128)),e.showRelationsGraph?(u(),w(h,{key:3,modelValue:e.relationsDialogVisible,"onUpdate:modelValue":t[11]||(t[11]=C=>e.relationsDialogVisible=C),title:e.$t("detailView.relationship.networkViewTitle"),width:"90%","append-to-body":"","destroy-on-close":""},{default:k(()=>[f("div",QT,[g(p,{"client-id":String(e.record.id)},null,8,["client-id"])])]),_:1},8,["modelValue","title"])):P("",!0),g(T,{edit:e.editableRs,initialRs:e.initialRs,visible:e.visible,existingRelationships:e.relationships,"onUpdate:visible":e.updateVisible,onCreate:e.rsUpserted},null,8,["edit","initialRs","visible","existingRelationships","onUpdate:visible","onCreate"])],64)}const Td=te(ET,[["render",ZT],["__scopeId","data-v-ab7d1ede"]]),N4=Object.freeze(Object.defineProperty({__proto__:null,default:Td},Symbol.toStringTag,{value:"Module"})),JT={props:["record","field"],methods:{validateMandatoryField:Ge,snippetSelected(e){const t=this.snippets.find(n=>n.id==e);if(t){try{this.$refs.richtext.froalaEditor.html.insert(t.body)}catch{this.$refs.richtext.froalaEditor.html.set(t.body)}this.$refs.richtext.froalaEditor.events.trigger("contentChanged")}}},computed:{isReadOnly(){return tt(!!this.field.readonly)}
12826,snippets(){if(this.field.formField.snippets)return this.$db.shopData.textSnippets.filter(e=>e.category==this.field.formField.snippets&&e.role!="short")}}},XT={key:0,class:"flex justify-end mt-1"};function ew(e,t,n,i,r,a){const o=I("rich-textarea"),s=I("nice-select"),l=I("dv-row");return u(),w(l,{theme:n.field.theme,label:`${n.field.formField.label} ${n.field.mandatory?"*":""}`,hint:n.field.hint,labelAlign:"left",class:"flex-col"},{default:k(()=>{var d;return[f("div",{class:U([{"mandatory-outline":a.validateMandatoryField(n.field,n.record)},"w-full"])},[g(o,{ref:"richtext",modelValue:n.record[n.field.fieldName],"onUpdate:modelValue":t[0]||(t[0]=c=>n.record[n.field.fieldName]=c),readonly:a.isReadOnly,"character-limit":(d=n.field.detailViewField)==null?void 0:d.characterLimit},null,8,["modelValue","readonly","character-limit"]),a.snippets&&a.snippets.length>0&&!n.field.readonly?(u(),y("footer",XT,[g(s,{onChange:a.snippetSelected,options:a.snippets,size:"small",placeholder:e.$t("detailView.snippetPh")},null,8,["onChange","options","placeholder"])])):P("",!0)],2)]}),_:1},8,["theme","label","hint"])}const wd=te(JT,[["render",ew]]),O4=Object.freeze(Object.defineProperty({__proto__:null,default:wd},Symbol.toStringTag,{value:"Module"})),tw=K({props:{record:Object,field:Object}}),nw={class:"relative w-full rounded"};function iw(e,t,n,i,r,a){const o=I("nice-slider");return u(),y("div",nw,[g(o,{modelValue:e.record[e.field.fieldName],"onUpdate:modelValue":t[0]||(t[0]=s=>e.record[e.field.fieldName]=s),readonly:e.field.readonly,max:e.field.formField.max,step:e.field.formField.step},null,8,["modelValue","readonly","max","step"])])}const Fd=te(tw,[["render",iw]]),E4=Object.freeze(Object.defineProperty({__proto__:null,default:Fd},Symbol.toStringTag,{value:"Module"})),rw={class:"pull-right mt-1"},aw=K({__name:"PropertyWriterLink",props:{resourceId:{},resourceType:{},field:{},fieldName:{}},emits:["submit"],setup(e,{emit:t}){const n=e,i=t,r=ce(""),a=ce(!1),o=ce(!1),s=ce(.75),l=()=>{d(),a.value=!0},d=async()=>{const{text:m}=await xa.mutation("confirmPropertyText",{resourceId:n.resourceId,resourceType:n.resourceType,field:n.field},"text");r.value=m},c=async()=>{try{o.value=!0;const{text:m}=await xa.mutation("writePropertyText",{resourceId:n.resourceId,resourceType:n.resourceType,field:n.field,prompt:r.value,temperature:s.value},"text");a.value=!1,r.value="",s.value=0,i("submit",m)}catch(m){ma.handleError(m)}finally{o.value=!1}};return(m,p)=>{const h=I("fa-icon"),T=I("nice-tooltip"),C=I("nice-slider"),A=I("form-row"),v=I("nice-textarea"),R=I("form-dialog");return u(),y("footer",rw,[f("a",{href:"#",onClick:ae(l,["prevent"]),class:"flex items-center"},[g(T,{content:m.$t("property.openAi.description")},{default:k(()=>[g(h,{name:"magic",class:"ai-color-effect"})]),_:1},8,["content"])]),g(R,{autofocus:!1,visible:a.value,title:m.$t("property.openAi.title",{title:e.fieldName}),"append-to-body":"",width:"500px",onClose:p[2]||(p[2]=D=>a.value=!1),saving:o.value,onSubmit:c,footerType:"bigButton",submitButtonTitle:m.$t("property.openAi.submitButtonTitle")},{default:k(()=>[g(A,{title:m.$t("property.openAi.temperature")},{default:k(()=>[g(C,{modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=D=>s.value=D),max:1,step:.1,class:"w-full"},null,8,["modelValue"])]),_:1},8,["title"]),g(v,{modelValue:r.value,"onUpdate:modelValue":p[1]||(p[1]=D=>r.value=D),maxlength:"1024","min-rows":6,"max-rows":20},null,8,["modelValue"])]),_:1}
12826,8,["visible","title","saving","submitButtonTitle"])])}}}),ow={class:"pull-right mt-1"},sw=["src"],lw=K({__name:"PropertyWriterIframe",props:{extensionName:{},resourceId:{},resourceType:{},field:{},fieldName:{},height:{default:"500px"}},emits:["submit"],setup(e,{emit:t}){const n=e,i=t,r=eb(),a=Al.propertyWriter||{},o=ce(!1),s=ce();let l=null;const d=F(()=>{const C=r.query.devUrl;return Array.isArray(C)?C[0]||void 0:C||void 0}),c=F(()=>s.value?new URL(s.value).origin:void 0),m=(C,A)=>{const[v,R=""]=C.split("?"),D={...za.parse(R),...A};return`${v}${za.stringify(D,{addQueryPrefix:!0})}`},p=()=>{l&&(globalThis.removeEventListener("message",l),l=null)};ze(o,C=>{if(!C){p();return}p(),l=A=>{A.origin===c.value&&(i("submit",A.data),o.value=!1)},globalThis.addEventListener("message",l)}),Zn(p);const h=()=>{o.value=!0,T()},T=async()=>{const C=a[n.extensionName];if(!C)return;const{data:A}=await ma.get(m(C.url,{resource_id:n.resourceId,resource_type:n.resourceType}));s.value=d.value||m(A.url,{target:"generateText",fieldName:n.field})};return(C,A)=>{const v=I("form-dialog");return u(),y("footer",ow,[f("a",{href:"#",onClick:ae(h,["prevent"]),class:"flex items-center"},S(C.$t("property.openAi.description")),1),g(v,{autofocus:!1,visible:o.value,title:C.$t("property.openAi.title",{title:e.fieldName}),"append-to-body":"",onClose:A[0]||(A[0]=R=>o.value=!1),"show-footer":!1,width:"1000px"},{default:k(()=>[s.value?(u(),y("iframe",{key:0,width:"100%",style:xe({height:e.height}),frameborder:"0",src:s.value},null,12,sw)):P("",!0)]),_:1}
12826,8,["visible","title"])])}}}),dw={class:"flex justify-between items-center w-100"},cw={class:"inline-flex items-center gap-1"},uw={class:"inline-flex items-center leading-none align-middle custom-field-indicator"},pw={key:1},mw={class:"w-full"},hw={key:0,class:"flex justify-end mt-1"},fw=K({__name:"TextField",props:{record:{},field:{},recordType:{}},setup(e){const t=N=>!!(N!=null&&N.isCustomField&&!(N!=null&&N.suppressCustomFieldIndicator)),n=["description_note","location_note","facebook_post_description","instagram_post_description"],i=["description_note","location_note","other_note"],r=e,a=Si(),{isNeoTheme:o}=Ee(),s=ce(null),l=Al.propertyWriter||{},d=F(()=>{if(r.field.formField.snippets)return a.shopData.textSnippets.filter(N=>N.category==r.field.formField.snippets&&N.role!="long")}),c=F(()=>{var N;return(N=a.shopData.extensions.find(B=>B.enabled&&!!l[B.id]))==null?void 0:N.id}),m=F(()=>!!(a.featureActive("openai")&&!r.record.received_via_mls&&r.record.id&&n.includes(r.field.fieldName))),p=F(()=>!!(a.featureActive("custom_text_writer")&&c.value&&!r.record.received_via_mls&&r.record.id&&i.includes(r.field.fieldName)&&!r.field.readonly)),h=()=>{var N,B,q,se,oe;return(oe=(se=(q=(B=(N=s.value)==null?void 0:N.$refs)==null?void 0:B.input)==null?void 0:q.$el)==null?void 0:se.getElementsByTagName("textarea"))==null?void 0:oe[0]},T=async N=>{var x;const B=(x=d.value)==null?void 0:x.find(L=>L.id==N);if(!B){console.warn("TextField snippet insertion failed: snippet not found",{selectedSnippetId:N,fieldName:r.field.fieldName});return}const q=h();if(!q){console.warn("TextField snippet insertion failed: textarea element not found",{selectedSnippetId:N,fieldName:r.field.fieldName});return}const se=q.selectionStart,oe=q.selectionEnd,G=r.record[r.field.fieldName]||"";r.record[r.field.fieldName]=G.substring(0,se)+B.body+G.substring(oe),await li(),q.selectionStart=q.selectionEnd=se+B.body.length,q.focus()},C=F(()=>r.field.formField.label||""),A=F(()=>c.value||""),v=F(()=>c.value==="areabutler"?"calc(100vh - 260px - 60px)":"500px"),R=F(()=>{var N,B;return(B=(N=r.field.formField).additionalParams)==null?void 0:B.call(N,r.field,r.record[r.field.fieldName])}),D=F(()=>r.recordType==="property"?"property":"project"),O=F(()=>{var N;return t((N=r.field)==null?void 0:N.formField)});return(N,B)=>{const q=I("fa-icon"),se=I("nice-tooltip"),oe=I("nice-input"),G=I("char-counter"),x=I("nice-select"),L=I("dv-row");return u(),w(L,{theme:e.field.theme,label:`${C.value} ${e.field.mandatory?"*":""}`,hint:e.field.hint,class:U(["box-row--col",{openai:m.value||p.value}]),field:e.field},{label:k(()=>[f("div",dw,[f("p",cw,[f("span",null,S(C.value),1),O.value?(u(),w(se,{key:0,content:N.$t("detailView.customField.tooltip"),class:"inline-flex items-center"},{default:k(()=>[f("span",uw,[E(o)?(u(),w(E(dn),{key:0,name:"wrench",size:"small"})):(u(),w(q,{key:1,name:"wrench"}))])]),_:1},8,["content"])):P("",!0),e.field.mandatory?(u(),y("span",pw,"*")):P("",!0)]),p.value?(u(),w(lw,{key:0,"extension-name":A.value,field:e.field.fieldName.replace("_note",""),"field-name":C.value,"resource-id":e.record.id,"resource-type":D.value,height:v.value,onSubmit:B[0]||(B[0]=J=>e.record[e.field.fieldName]=J)},null,8,["extension-name","field","field-name","resource-id","resource-type","height"])):m.value?(u(),w(aw,{key:1,field:e.field.fieldName.replace("_note",""),"field-name":C.value,"resource-id":e.record.id,"resource-type":D.value,onSubmit:B[1]||(B[1]=J=>e.record[e.field.fieldName]=J)},null,8,["field","field-name","resource-id","resource-type"])):P("",!0)])]),default:k(()=>{var J;return[f("div",mw,[f("div",{class:U(["relative",E(Ge)(e.field,e.record)&&"mandatory-outline"])},[g(oe,vt(R.value,{type:"textarea",error:E(Ge)(e.field,e.record),ref_key:"textarea",ref:s,modelValue:e.record[e.field.fieldName],"onUpdate:modelValue":B[2]||(B[2]=ne=>e.record[e.field.fieldName]=ne),readonly:e.field.readonly,autosize:{minRows:3,maxRows:60},class:{"disabled-visibility-text":e.field.readonly,"inherit-bg-color":!e.record[e.field.fieldName]&&e.field.color},style:!e.record[e.field.fieldName]&&`background-color: ${e.field.color}`,"data-value-missing":!e.record[e.field.fieldName]}),null,16,["error","modelValue","readonly","class","style","data-value-missing"]),g(G,{count:e.record[e.field.fieldName]?e.record[e.field.fieldName].length:0,total:(J=e.field.detailVie
12826wField)==null?void 0:J.characterLimit,placement:"corner"},null,8,["count","total"])],2),d.value&&d.value.length>0&&!e.field.readonly?(u(),y("footer",hw,[g(x,{onChange:T,options:d.value,size:"small",placeholder:N.$t("detailView.snippetPh"),class:U({"disabled-visibility-text":e.field.readonly})},null,8,["options","placeholder","class"])])):P("",!0)])]}),_:1},8,["theme","label","hint","class","field"])}}}),gw=K({props:{record:Object,field:Object},computed:{options(){const e=this.field.fieldName.startsWith("cf_");return[{name:this.$t("client.queries.form.y"),id:e?!0:"true"},{name:this.$t("client.queries.form.n"),id:e?!1:"false"}]}}});function yw(e,t,n,i,r,a){const o=I("nice-select");return u(),w(o,{modelValue:e.record[e.field.fieldName],"onUpdate:modelValue":t[0]||(t[0]=s=>e.record[e.field.fieldName]=s),placeholder:e.$t("client.queries.form.non"),options:e.options},null,8,["modelValue","placeholder","options"])}const Pd=te(gw,[["render",yw]]),M4=Object.freeze(Object.defineProperty({__proto__:null,default:Pd},Symbol.toStringTag,{value:"Module"})),bw={props:["record","field"],components:{CommissionInput:Lb},setup(){const{getCurrencySymbol:e}=$t();return{getCurrencySymbol:e}},methods:{validateMandatory:ft},computed:{currency(){return this.getCurrencySymbol(this.record.currency)},renderComponent(){return this.$db.featureActive("tipster_portal")&&this.$db.extensionEnabled("commissionsplit")&&this.record.tipster}}},vw={key:0},Iw=["innerHTML"],Cw={key:0};function Sw(e,t,n,i,r,a){const o=I("commission-input"),s=I("dv-row");return a.renderComponent?(u(),y("div",vw,[g(s,{hint:n.field.hint},{label:k(()=>[f("span",{innerHTML:e.$t("clients.formFields.tipster_commission")},null,8,Iw),n.field.mandatory?(u(),y("span",Cw,"*")):P("",!0)]),default:k(()=>[f("div",{class:U([{"mandatory-outline":a.validateMandatory(n.field,!!n.record.tipster.commission_percentage)},"flex w-100"])},[g(o,{commission:n.record.tipster.commission,"onUpdate:commission":t[0]||(t[0]=l=>n.record.tipster.commission=l),"commission-percentage":n.record.tipster.commission_percentage,"onUpdate:commissionPercentage":t[1]||(t[1]=l=>n.record.tipster.commission_percentage=l),currency:a.currency,disabled:n.field.readOnly},null,8,["commission","commission-percentage","currency","disabled"])],2)]),_:1},8,["hint"])])):P("",!0)}const Ad=te(bw,[["render",Sw]]),V4=Object.freeze(Object.defineProperty({__proto__:null,default:Ad},Symbol.toStringTag,{value:"Module"})),_w={locale:"de",courtage:"",courtageNote:"",subHeadline:"",tagline:"",title:"",descriptionNote:"",locationNote:"",furnishingNote:"",longDescriptionNote:"",longLocationNote:"",longFurnishingNote:""},kw=K({emits:["close","complete"],props:{locale:{type:String},resourceId:{type:Number},translations:{type:Array}},data(){return{editable:null,autoTranslating:!1,autoTranslationCompleted:!1}},watch:{locale(e){if(!this.locale)return this.editable=null;const t=this.translations.find(n=>n.locale==e)||{..._w,locale:e};this.editable=JSON.parse(JSON.stringify(t))}},methods:{submit(){return this.$api.mutation("updateProject",{id:this.resourceId,locale:this.locale,attributes:_.omit(this.editable,"locale")})},complete(){this.$emit("complete",this.editable),App.flashy(this.$t("detailView.translations.updateSuccess"))},updateVisible(e){e||this.$emit("close")},async autoTranslate(){try{this.autoTranslating=!0;const e=await this.$api.mutation("translateProjectTexts",{projectId:this.resourceId,targetLang:this.locale},"title descriptionNote locationNote furnishingNote courtage courtageNote tagline subHeadline");this.editable={...this.editable,...e},this.autoTranslationCompleted=!0}catch(e){this.$axios.handleError(e)}finally{this.autoTranslating=!1}}},computed:{title(){return this.$t("detailView.translations.formTitle",{lang:Ft[this.locale]})},visible(){return!!this.locale}}}),$d="https://frontend-assets.propstack.de/vite/assets/deepl-BsDyxgM1.png",Tw={key:0,class:"flex justify-end"},ww={class:"text-green-600"};function Fw(e,t,n,i,r,a){const o=I("nice-button"),s=I("nice-input"),l=I("form-row"),d=I("form-section"),c=I("rich-textarea"),m=I("form-dialog");return u(),w(m,{visible:e.visible,"onUpdate:visible":e.updateVisible,"submit-func":e.submit,onComplete:e.complete,title:e.title,"append-to-body":!0},{default:k(()=>
12826[e.editable?(u(),y(ee,{key:0},[e.$db.shopData.deeplConnected?(u(),y("header",Tw,[g(o,{type:"text",size:"small",onClick:e.autoTranslate,class:"flex items-center",loading:e.autoTranslating,disabled:e.autoTranslationCompleted},{default:k(()=>[f("span",ww,S(e.$t("detailView.translations.autoTranslate")),1),t[11]||(t[11]=f("img",{src:$d,style:{height:"24px"},class:"ml-1"},null,-1))]),_:1},8,["onClick","loading","disabled"])])):P("",!0),g(d,null,{default:k(()=>[g(l,{title:e.$t("detailView.translations.title"),direction:"column"},{default:k(()=>[g(s,{size:"small",modelValue:e.editable.title,"onUpdate:modelValue":t[0]||(t[0]=p=>e.editable.title=p)},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("detailView.translations.subheadline"),direction:"column"},{default:k(()=>[g(s,{size:"small",modelValue:e.editable.subHeadline,"onUpdate:modelValue":t[1]||(t[1]=p=>e.editable.subHeadline=p)},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("detailView.translations.tagline"),direction:"column"},{default:k(()=>[g(s,{size:"small",modelValue:e.editable.tagline,"onUpdate:modelValue":t[2]||(t[2]=p=>e.editable.tagline=p)},null,8,["modelValue"])]),_:1},8,["title"])]),_:1}),g(d,null,{default:k(()=>[g(l,{title:e.$t("detailView.translations.courtage"),direction:"column"},{default:k(()=>[g(s,{size:"small",modelValue:e.editable.courtage,"onUpdate:modelValue":t[3]||(t[3]=p=>e.editable.courtage=p)},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("detailView.translations.courtageNote"),direction:"column"},{default:k(()=>[g(s,{type:"textarea",modelValue:e.editable.courtageNote,"onUpdate:modelValue":t[4]||(t[4]=p=>e.editable.courtageNote=p),autosize:{minRows:3,maxRows:30}},null,8,["modelValue"])]),_:1},8,["title"])]),_:1}),g(d,null,{default:k(()=>[g(l,{title:e.$t("properties.formFields.description_note"),direction:"column"},{default:k(()=>[g(s,{type:"textarea",modelValue:e.editable.descriptionNote,"onUpdate:modelValue":t[5]||(t[5]=p=>e.editable.descriptionNote=p),autosize:{minRows:3,maxRows:30}},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("properties.formFields.location_note"),direction:"column"},{default:k(()=>[g(s,{type:"textarea",modelValue:e.editable.locationNote,"onUpdate:modelValue":t[6]||(t[6]=p=>e.editable.locationNote=p),autosize:{minRows:3,maxRows:30}},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("properties.formFields.furnishing_note"),direction:"column"},{default:k(()=>[g(s,{type:"textarea",modelValue:e.editable.furnishingNote,"onUpdate:modelValue":t[7]||(t[7]=p=>e.editable.furnishingNote=p),autosize:{minRows:3,maxRows:30}},null,8,["modelValue"])]),_:1},8,["title"])]),_:1}),g(d,null,{default:k(()=>[g(l,{title:e.$t("properties.formFields.long_description_note"),direction:"column"},{default:k(()=>[g(c,{modelValue:e.editable.longDescriptionNote,"onUpdate:modelValue":t[8]||(t[8]=p=>e.editable.longDescriptionNote=p)},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("properties.formFields.long_location_note"),direction:"column"},{default:k(()=>[g(c,{modelValue:e.editable.longLocationNote,"onUpdate:modelValue":t[9]||(t[9]=p=>e.editable.longLocationNote=p)},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("properties.formFields.long_furnishing_note"),direction:"column"},{default:k(()=>[g(c,{modelValue:e.editable.longFurnishingNote,"onUpdate:modelValue":t[10]||(t[10]=p=>e.editable.longFurnishingNote=p)},null,8,["modelValue"])]),_:1},8,["title"])]),_:1})],64)):P("",!0)]),_:1},8,["visible","onUpdate:visible","submit-func","onComplete","title"])}const Rd=te(kw,[["render",Fw]]),L4=Object.freeze(Object.defineProperty({__proto__:null,default:Rd},Symbol.toStringTag,{value:"Module"})),Pw={locale:null,courtage:null,courtageNote:null,title:null,descriptionNote:null,locationNote:null,furnishingNote:null,subHeadline:null,tagline:null},Aw=K({props:["record","field"],components:{TranslationDialog:Rd,ConnectionItem:On},data(){return{selectedLocale:null,languagesMapping:Ft}},computed:{supportedLanguages(){return(this.$db.shopData.supportedPropertyLocales||[]).reduce((e,t)=>(e[t]=Ft[t],e),{})},activeTranslations(){return this.record.translations.reduce((e,t)=>
12826{const{locale:n,...i}=t;return{...e,[t.locale]:!Object.values(i).every(r=>r===null||r==="")}},{})}},methods:{languageSaved(e){this.record.translations=this.record.translations.filter(t=>t.locale!=e.locale).concat([e]),this.selectedLocale=null},clearTranslation(e){this.$warn({title:this.$t("detailView.translations.delete.title",{locale:Ft[e]}),desc:this.$t("detailView.translations.delete.desc"),confirmButtonText:this.$t("detailView.translations.delete.submit"),redButton:!0},()=>{this.$api.mutation("deleteTranslations",{id:this.record.id,locale:e,resourceType:"project"}).then(()=>{this.record.skipDirty=!0,this.record.updated_at=window.moment().format();const t=[Pw].map(n=>({...n,locale:e}));this.record.translations=this.record.translations.map(n=>t.find(i=>i.locale===n.locale)||n),App.flashy(this.$t("detailView.translations.delete.success",{locale:Ft[e]}))}).catch(this.$axios.handleError)})}},mounted(){}}),$w={class:"flex flex-col w-100"},Rw={class:"flex items-center"};function Dw(e,t,n,i,r,a){const o=I("translation-dialog"),s=I("connection-item"),l=I("dv-row");return u(),w(l,{label:`${e.field.formField.label} ${e.field.mandatory?"*":""}`,hint:e.field.hint},{default:k(()=>[g(o,{locale:e.selectedLocale,translations:e.record.translations,"resource-id":e.record.id,onClose:t[0]||(t[0]=d=>e.selectedLocale=null),onComplete:e.languageSaved},null,8,["locale","translations","resource-id","onComplete"]),f("div",$w,[(u(!0),y(ee,null,Te(e.$db.shopData.supportedPropertyLocales,d=>(u(),w(s,{key:d,onEdit:c=>e.selectedLocale=d,onClick:c=>e.selectedLocale=d,onRemove:c=>e.clearTranslation(d),deleteTitle:e.$t("detailView.translations.deleteBtn")},{default:k(()=>[f("span",Rw,[f("div",{class:U(["w-3 h-3 rounded-full ml-1 mr-2",e.activeTranslations[d]?"bg-green-400":"bg-gray-300"])},null,2),Y(" "+S(e.languagesMapping[d]),1)])]),_:2},1032,["onEdit","onClick","onRemove","deleteTitle"]))),128))])]),_:1},8,["label","hint"])}const Dd=te(Aw,[["render",Dw]]),B4=Object.freeze(Object.defineProperty({__proto__:null,default:Dd},Symbol.toStringTag,{value:"Module"})),gi=["internal","external"],Nw={internal:"properties.formFields.internal_commission",external:"properties.formFields.external_commission"},Ow={internal:"Internal Commission",external:"External Commission"},aa=e=>Array.isArray(e)?e.map(t=>t==null?"":String(t)):[],oa=e=>typeof e=="string"&&e.trim().length>0?e:null,Ew=e=>gi.indexOf(e),Mw=e=>Ow[e],Vw=e=>Nw[e],ti=(e,t,n,i)=>{const r=Array.isArray(e)?e.filter(s=>s==null?void 0:s.locale).map(s=>({id:s.id,locale:s.locale,[n]:aa(s[t])[i]||""})):[],a=hc(n);if(!r.length)return a;const o=a.map(s=>{const l=r.find(d=>d.locale===s.locale);return l?{...s,...l}:s});return r.forEach(s=>{o.find(l=>l.locale===s.locale)||o.push(s)}),o},U4=e=>{const t=aa(e==null?void 0:e.containerFieldLabels),n=aa(e==null?void 0:e.containerFieldHints),i=Array.isArray(e==null?void 0:e.translations)?e.translations:[];return{internal:{label:t[0]||"",translations:ti(i,"containerFieldLabels","label",0),tooltip:n[0]||"",tooltipTranslations:ti(i,"containerFieldHints","tooltip",0)},external:{label:t[1]||"",translations:ti(i,"containerFieldLabels","label",1),tooltip:n[1]||"",tooltipTranslations:ti(i,"containerFieldHints","tooltip",1)}}},Lw=(e,t)=>Array.isArray(e)?e.filter(n=>n&&!n._destroy&&n.locale).map(n=>({locale:n.locale,[t]:n[t]})):[],Fs=(e,t)=>gi.map(n=>e[n][t]||""),Ps=(e,t,n,i,r)=>{const a=new Map;gi.forEach((o,s)=>{Lw(t[o][n],i).forEach(l=>{if(!l.locale)return;const d=a.get(l.locale)||Array(gi.length).fill("");d[s]=oa(l[i])||"",a.set(l.locale,d)})}),a.forEach((o,s)=>{const l=e.get(s)||{locale:s};l[r]=o,e.set(s,l)})},q4=(e,t)=>{const n=new Map;return((e==null?void 0:e.translations)||[]).forEach(i=>{i!=null&&i.locale&&n.set(i.locale,{...i})}),Ps(n,t,"translations","label","containerFieldLabels"),Ps(n,t,"tooltipTranslations","tooltip","containerFieldHints"),n.forEach(i=>{var r,a;(r=i.containerFieldLabels)!=null&&r.some(o=>oa(o))||delete i.containerFieldLabels,(a=i.containerFieldHints)!=null&&a.some(o=>oa(o))||delete i.containerFieldHints}),{containerFieldLabels:Fs(t,"label"),containerFieldHints:Fs(t,"tooltip"),translations:Array.from(n.values())}},Bw={name:"Commission",props:["record","field"],setup(){const{getCurrencySymbol:e}=$t();return{getCurrencySymbol:e}},data(){return{internalCommissionType:this.record.internal_commission_percentage?"percentage":this.record.internal_commission?"fixed":"percentage",externalCommissionType:this.record.external_commission_percentage?"percentage":this.record.external_commission?"fixed":"percentage"}},computed:{currency(){return this.getCurrencySymbol(this.record.currency)},mandatoryCheck(){const e=Gn(this.internalCommissionType=="fixed"?this.record.internal_commission:this.record.internal_commission_percentage)||Gn(this.externalCommissionType=="fixed"?this.record.external_commission:this.record.external_commission_percentage);return this.field.mandatory&&!this.field.readonly&&!e&&this.field.submitAttempt},locale(){return this.$store&&this.$store.state&&this.$store.state.locale||this.$i18n&&this.$i18n.locale||"de"}},methods:{nonEmptyString(e){return typeof e=="string"&&e.trim().length>0?e:null}
12826,detailViewField(){return this.field&&this.field.detailViewField||this.field||{}},translationForLocale(){const e=this.detailViewField().translations;return Array.isArray(e)&&e.find(t=>t&&t.locale===this.locale)||null},arrayValue(e,t,n){const i=Array.isArray(e==null?void 0:e[t])?e[t]:[];return this.nonEmptyString(i[Ew(n)])},preferredArrayValue(e,t){return this.arrayValue(this.translationForLocale(),e,t)||this.arrayValue(this.detailViewField(),e,t)},translatedDefaultLabel(e){const t=Vw(e);if(!this.$t)return null;try{const n=this.$t(t),i=this.nonEmptyString(n);return i&&i!==t?i:null}catch{return null}},labelFor(e){return this.preferredArrayValue("containerFieldLabels",e)||this.translatedDefaultLabel(e)||Mw(e)},tooltipFor(e){return this.preferredArrayValue("containerFieldHints",e)},onNumberInput(e,t){try{const n=t.target;if(!n)return;const i=String(n.value||"");if(i.indexOf(",")===-1){const o=i===""?null:Number(i);this.record[`${e}_commission_percentage`]=Number.isFinite(o)?o:null;return}const r=i.replace(/,/g,".");n.value=r;const a=r===""?null:Number(r);this.record[`${e}_commission_percentage`]=Number.isFinite(a)?a:null}catch{}}}},Uw=["innerHTML"],qw={key:0},xw=["innerHTML"],zw={key:0};function Gw(e,t,n,i,r,a){const o=I("nice-input"),s=I("currency-input"),l=I("nice-radio-group"),d=I("dv-row");return u(),y("div",null,[g(d,{hint:a.tooltipFor("internal")},{label:k(()=>[f("span",{innerHTML:a.labelFor("internal")},null,8,Uw),n.field.mandatory?(u(),y("span",qw,"*")):P("",!0)]),default:k(()=>[f("div",{class:U([{"mandatory-outline":a.mandatoryCheck},"flex w-100"])},[r.internalCommissionType==="percentage"?(u(),w(o,{key:0,size:"small",type:"number",modelValue:n.record.internal_commission_percentage,"onUpdate:modelValue":t[0]||(t[0]=c=>n.record.internal_commission_percentage=c),onInput:t[1]||(t[1]=c=>a.onNumberInput("internal",c)),onChange:t[2]||(t[2]=c=>n.record.internal_commission=null),disabled:n.field.readonly},null,8,["modelValue","disabled"])):(u(),w(s,{key:1,modelValue:n.record.internal_commission,"onUpdate:modelValue":t[3]||(t[3]=c=>n.record.internal_commission=c),onChange:t[4]||(t[4]=c=>n.record.internal_commission_percentage=null),disabled:n.field.readonly,currency:a.currency,"show-decimals":""},null,8,["modelValue","disabled","currency"])),g(l,{modelValue:r.internalCommissionType,"onUpdate:modelValue":t[5]||(t[5]=c=>r.internalCommissionType=c),class:"ml-2 whitespace-nowrap flex-nowrap",disabled:n.field.readonly,onChange:t[6]||(t[6]=c=>n.record.internalCommissionType=c),options:[{id:"percentage",name:"%"},{id:"fixed",name:a.currency}]},null,8,["modelValue","disabled","options"])],2)]),_:1},8,["hint"]),g(d,{hint:a.tooltipFor("external")},{label:k(()=>[f("span",{innerHTML:a.labelFor("external")},null,8,xw),n.field.mandatory?(u(),y("span",zw,"*")):P("",!0)]),default:k(()=>[f("div",{class:U([{"mandatory-outline":a.mandatoryCheck},"flex w-100"])},[r.externalCommissionType==="percentage"?(u(),w(o,{key:0,size:"small",type:"number",modelValue:n.record.external_commission_percentage,"onUpdate:modelValue":t[7]||(t[7]=c=>n.record.external_commission_percentage=c),onInput:t[8]||(t[8]=c=>a.onNumberInput("external",c)),onChange:t[9]||(t[9]=c=>n.record.external_commission=null),disabled:n.field.readonly},null,8,["modelValue","disabled"])):(u(),w(s,{key:1,modelValue:n.record.external_commission,"onUpdate:modelValue":t[10]||(t[10]=c=>n.record.external_commission=c),onChange:t[11]||(t[11]=c=>n.record.external_commission_percentage=null),disabled:n.field.readonly,currency:a.currency,"show-decimals":""},null,8,["modelValue","disabled","currency"])),g(l,{modelValue:r.externalCommissionType,"onUpdate:modelValue":t[12]||(t[12]=c=>r.externalCommissionType=c),class:"ml-2 whitespace-nowrap flex-nowrap",disabled:n.field.readonly,onChange:t[13]||(t[13]=c=>n.record.externalCommissionType=c),options:[{id:"percentage",name:"%"},{id:"fixed",name:a.currency}]},null,8,["modelValue","disabled","options"])],2)]),_:1},8,["hint"])])}const Nd=te(Bw,[["render",Gw]]),x4=Object.freeze(Object.defineProperty({__proto__:null,default:Nd},Symbol.toStringTag,{value:"Module"})),jw={props:["item","record","readonly"],emits:["remove","edit"],components:{ConnectionItem:On},setup(){const{getCurrencySymbol:e}=$t();return{getCurrencySymbol:e}}
12826,methods:{remove(){this.$warn({title:this.$t("detailView.relationship.delete"),desc:this.$t("detailView.relationship.delConfirm"),confirmButtonText:this.$t("detailView.relationship.delBtn"),redButton:!0},()=>{this.$emit("remove",this.item)})}},computed:{url(){if(this.item.client)return`/contacts/clients/${this.item.client.id}`},title(){var e,t;return((e=this.item.client)==null?void 0:e.name)||((t=this.item.broker)==null?void 0:t.name)||this.$t("detailView.relationship.deleted")},calculatedValue(){const e=Pa(this.record,this.item);return e==null?"—":this.$customFilters.numberToCurrency(e,this.currency)},currency(){return this.getCurrencySymbol(this.record.currency)},hasBothPair(){var e;try{const t=((e=this.record)==null?void 0:e.commission_splits)||[],n=this.item.actor==="buyer"?"seller":"buyer";return t.some(i=>i.id!==this.item.id&&i.actor===n&&i.name===this.item.name&&i.brokerId===this.item.brokerId&&i.clientId===this.item.clientId&&i.splitPosition===this.item.splitPosition&&i.date===this.item.date)}catch{return!1}},arrowIcon(){const e=this.item.representing;return e==="not_applicable"?null:this.hasBothPair||e==="both"?"arrows-h":{seller:"long-arrow-right",buyer:"long-arrow-left"}[this.item.actor]||null},representingIcon(){return{seller:"long-arrow-right",buyer:"long-arrow-left",both:"arrows-h"}[this.item.representing]},representingTooltip(){var e;try{const t=this.item.representing,n=this.$tm?this.$tm("commissionSplits.representings"):null,i=t&&n&&n[t]?n[t]:null,r=this.$t(`commissionSplits.actors.${this.item.actor}`);return i||r}catch{return this.$t(`commissionSplits.actors.${((e=this.item)==null?void 0:e.actor)||"buyer"}`)}}}},Hw={class:"text-subtle text-sm"},Ww={class:"ml-1 font-mono text-sm"},Kw={key:0,class:"text-subtle"},Yw=["title"];function Qw(e,t,n,i,r,a){const o=I("fa-icon"),s=I("nice-tooltip"),l=I("hover-action"),d=I("hover-actions");return u(),w(vn(a.url?"router-link":"span"),{class:"commission-split-item py-1 px-3 relative rounded standard-hover flex justify-between text-default -mx-4",to:a.url},{default:k(()=>[f("main",null,[f("p",null,[Y(S(a.title)+" ",1),a.arrowIcon?(u(),w(s,{key:0,content:`${e.$t("commissionSplits.representing")}: ${a.representingTooltip}`},{default:k(()=>[g(o,{class:"ml-1 text-subtle text-sm",name:a.arrowIcon},null,8,["name"])]),_:1},8,["content"])):P("",!0)]),f("footer",Hw,S(n.item.name),1)]),f("span",Ww,[n.item.valueType=="fixed"?(u(),y("span",Kw,S(e.$customFilters.numberToCurrency(n.item.value,a.currency)),1)):(u(),y("span",{key:1,title:`${n.item.value}% von ${e.$customFilters.numberToCurrency(n.record.total_commission,a.currency)}`,class:"text-[var(--ps-color-variant)]"},S(a.calculatedValue),9,Yw))]),n.readonly?P("",!0):(u(),w(d,{key:0,class:"commission-split-item__actions"},{default:k(()=>[g(l,{size:"small",onClick:t[0]||(t[0]=ae(c=>e.$emit("edit",n.item),["stop","prevent"])),icon:"pencil",title:e.$t("detailView.edit")},null,8,["title"]),g(l,{size:"sm",onClick:ae(a.remove,["stop","prevent"]),icon:"trash-alt",title:e.$t("detailView.relationship.delete"),class:"text-danger"},null,8,["onClick","title"])]),_:1}))]),_:1},8,["to"])}const Od=te(jw,[["render",Qw]]),z4=Object.freeze(Object.defineProperty({__proto__:null,default:Od},Symbol.toStringTag,{value:"Module"})),jt=`{
12827  id name value valueType calculatedValue splitPosition date actor brokerId clientId representing
12828  client { id name } broker { name }
12829}`,Zw={components:{CommissionSplitBrokerSelect:Bb},props:{initialItem:{type:Object,required:!0},visible:{type:Boolean,required:!0},edit:{type:Object,required:!1},record:{type:Object,required:!0}},setup(){const{getCurrencySymbol:e}=$t();return{getCurrencySymbol:e}},created(){this.ensureDefaultValueTypes()},watch:{edit(){this.item=this.$util.clone(this.edit||this.initialItem),this.initializeBothEdit(),this.ensureDefaultValueTypes()},"item.actor"(e,t){try{if(this.suppressActorSync)return;e==="buyer"?(this.item.valueBuyer!=null&&(this.item.value=this.item.valueBuyer),this.item.valueType||(this.item.valueType=this.item.valueTypeBuyer||"fixed")):e==="seller"?(this.item.valueSeller!=null&&(this.item.value=this.item.valueSeller),this.item.valueType||(this.item.valueType=this.item.valueTypeSeller||"fixed")):e==="both"&&(this.item.valueTypeBuyer||(this.item.valueTypeBuyer="fixed"),this.item.valueTypeSeller||(this.item.valueTypeSeller="fixed"),t==="buyer"?(this.item.value!=null&&(this.item.valueBuyer=this.item.value),this.item.valueType&&(this.item.valueTypeBuyer=this.item.valueType)):t==="seller"&&(this.item.value!=null&&(this.item.valueSeller=this.item.value),this.item.valueType&&(this.item.valueTypeSeller=this.item.valueType)));const n=e==="both",i=this.item.representing;n?this.item.representing="both":(!i||i===t||t==="both"&&(i==="buyer"||i==="seller"))&&(this.item.representing=e),this.ensureDefaultValueTypes()}catch{}}},data(){return{submitting:!1,item:this.$util.clone(this.initialItem),pairedIds:null,pairedOriginal:null,suppressActorSync:!1}},computed:{currency(){return this.getCurrencySymbol(this.record.currency)},calculatedValue(){return ra(this.record,this.item)},commissionSplitNames(){return this.$db.shopData.commissionSplitNames.map(e=>({name:e,id:e}))},radioOptions(){return[{id:"buyer",name:this.$t("commissionSplits.actors.buyer")},{id:"seller",name:this.$t("commissionSplits.actors.seller")},{id:"both",name:this.$t("commissionSplits.actors.both")}]}},methods:{firstNonNullish(...e){for(const t of e)if(t!=null)return t;return e.length?e[e.length-1]:void 0},normalizeType(e){return{percentage:"percent"}[e]??e??"fixed"},normalizeValue(e){if(e.value===null||e.value===void 0||e.value==="")return e;const t=Number(e.value);return Number.isFinite(t)?{...e,value:t}:e},ensureDefaultValueTypes(){try{if(!this.item)return;this.item.valueType||(this.item.valueType="fixed"),this.item.actor==="both"&&(this.item.valueTypeBuyer||(this.item.valueTypeBuyer="fixed"),this.item.valueTypeSeller||(this.item.valueTypeSeller="fixed"))}catch{}},basePayload(e){return _.omit(e,"id","client","broker","calculatedValue")},sanitizeItem(e){const t=this.basePayload(e);return!t.propertyId&&this.record&&this.record.id&&(t.propertyId=this.record.id),t.actor!=="both"?_.omit(t,"valueBuyer","valueSeller","valueTypeBuyer","valueTypeSeller"):t},initializeBothEdit(){var e;if(this.pairedIds=null,this.pairedOriginal=null,!!this.edit)try{const t=((e=this.record)==null?void 0:e.commission_splits)||[],n=a=>a.id!==this.edit.id&&a.name===this.edit.name&&a.brokerId===this.edit.brokerId&&a.clientId===this.edit.clientId&&a.representing===this.edit.representing&&a.splitPosition===this.edit.splitPosition&&a.date===this.edit.date,i=(this.edit.actor==="buyer"?this.edit:t.find(a=>n(a)&&a.actor==="buyer"))||null,r=(this.edit.actor==="seller"?this.edit:t.find(a=>n(a)&&a.actor==="seller"))||null;i&&r&&(this.suppressActorSync=!0,this.item.valueBuyer=i.value,this.item.valueTypeBuyer=i.valueType||"fixed",this.item.valueSeller=r.value,this.item.valueTypeSeller=r.valueType||"fixed",this.item.actor="both",this.pairedIds={buyer:i.id,seller:r.id},this.pairedOriginal={buyer:{value:i.value,valueType:i.valueType||"fixed"},seller:{value:r.value,valueType:r.valueType||"fixed"}},this.item.value=void 0,this.item.valueType=void 0,this.$nextTick(()=>{this.suppressActorSync=!1}))}catch{this.suppressActorSync=!1}},calculatedValueFor(e){try{const t=e==="buyer"?"valueBuyer":"valueSeller",n=e==="buyer"?"valueTypeBuyer":"valueTypeSeller",i={...this.item,actor:e,value:this.firstNonNullish(this.item[t],this.item.value),valueType:this.firstNonNullish(this.item[n],this.item.valueType)};return ra(this.record,i)}catch{return null}},submit(){this.submitting=!0;try{if(this.edit)if(this.item.actor==="both")if(this.pairedIds&&this.pairedIds.buyer&&this.pairedIds.seller){const{valueBuyer:e,valueSeller:t,valueTypeBuyer:n,valueTypeSeller:i,...r}=this.item,a=this.pairedOriginal||{},o=e!==void 0?e:a.buyer?a.buyer.value:r.value,s=this.normalizeType(n!==void 0?n:a.buyer?a.buyer.valueType:r.valueType),l=t!==void 0?t:a.seller?a.seller.value:r.value,d=this.normalizeType(i!==void 0?i:a.seller?a.seller.valueType:r.valueType),c=_.omit(this.basePayload(r),"value","valueType"),m={...c,actor:"buyer",value:o,valueType:s},p={...c,actor:"seller",value:l,valueType:d};Promise.all([this.$api.update("CommissionSplit",this.pairedIds.buyer,this.normalizeValue(m),jt),this.$api.update("CommissionSplit",this.pairedIds.seller,this.normalizeValue(p),jt)]).then(([h,T])=>{this.$emit("create",h),this.$emit("create",T),this.$emit("changed"),this.$emit("update:visible",!1),App.flashy(this.$t("commissionSplits.dialog.editSuccess"))}).catch(this.$axios.handleError).finally(h=>{this.submitting=!1})}else{const e=this.edit.actor,t=e==="buyer"?"seller":"buyer",{valueBuyer:n,valueSeller:i,valueTypeBuyer:r,valueTypeSeller:a,...o}=this.item,s=_.omit(this.basePayload(o),"value","valueType"),l=e==="buyer"?this.firstNonNullish(n,this.edit.value):this.firstNonNullish(i,this.edit.value),d=e==="buyer"?this.firstNonNullish(r,this.edit.valueType):this.firstNonNullish(a,this.edit.valueType),c=t==="buyer"?this.firstNonNullish(n,this.edit.value):this.firstNonNullish(i,this.edit.value),m=t==="buyer"?this.firstNonNullish(r,this.edit.valueType):this.firstNonNullish(a,this.edit.valueType),p={...s,actor:e,value:l,valueType:d},h={...s,propertyId:this.record.id,actor:t,value:c,valueType:m};Promise.all([this.$api.update("CommissionSplit",this.edit.id,this.normalizeValue(p),jt),this.$api.create("CommissionSplit",this.normalizeValue(h),jt)]).then(([T,C])=>{this.$emit("create",T),this.$emit("create",C),this.$emit("changed"),this.$emit("update:visible",!1),App.flashy(this.$t("commissionSplits.dialog.editSuccess"))}).catch(this.$axios.handleError).finally(T=>{this.submitting=!1})}else if(this.pairedIds&&(this.pairedIds.buyer||this.pairedIds.seller)){const e=this.item.actor,t=this.pairedIds[e],n=e==="buyer"?"seller":"buyer",i=this.pairedIds[n],r={...this.sanitizeItem(this.item),actor:e},a=()=>this.$api.update("CommissionSplit",t||this.edit.id,this.normalizeValue(r),jt),o=()=>i?this.$api.destroy("CommissionSplit",i):Promise.resolve();Promise.all([a(),o()]).then(([s])=>{this.$emit("create",s),i&&this.$emit("destroy",i),this.$emit("changed"),this.$emit("update:visible",!1),App.flashy(this.$t("commissionSplits.dialog.editSuccess"))}).catch(this.$axios.handleError).finally(s=>{this.submitting=!1})}else this.$api.update("CommissionSplit",this.edit.id,this.normalizeValue(this.sanitizeItem(this.item)),jt).then(e=>{this.$emit("create",e),this.$emit("changed"),this.$emit("update:visible",!1),App.flashy(this.$t("commissionSplits.dialog.editSuccess"))}).catch(this.$axios.handleError).finally(e=>{this.submitting=!1});else{const e=n=>this.$api.create("CommissionSplit",this.normalizeValue(n),jt).then(i=>(this.$emit("create",i),i));let t;if(this.item.actor==="both"){const{valueBuyer:n,valueSeller:i,valueTypeBuyer:r,valueTypeSeller:a,...o}=this.item,s=this.basePayload(o),l={...s,actor:"buyer",value:this.firstNonNullish(n,o.value),valueType:this.firstNonNullish(r,o.valueType)},d={...s,actor:"seller",value:this.firstNonNullish(i,o.value),valueType:this.firstNonNullish(a,o.valueType)};t=Promise.all([e(l),e(d)])}else t=e(this.sanitizeItem(this.item));t.then(n=>{this.$emit("changed"),this.$emit("update:visible",!1),App.flashy(this.$t("commissionSplits.dialog.createSuccess")),this.item=this.$util.clone(this.initialItem)}
12829).catch(this.$axios.handleError).finally(n=>{this.submitting=!1})}}catch(e){console.error(e)}finally{this.submitting=!1}}}},Jw={class:"w-full"},Xw={class:"flex items-center"},e3={key:0,class:"text-sm text-light font-mono pl-1 mt-1"},t3={class:"mb-2"},n3={class:"font-medium mb-1"},i3={class:"flex items-center"},r3={key:0,class:"text-sm text-light font-mono pl-1 mt-1"},a3={class:"font-medium mb-1"},o3={class:"flex items-center"},s3={key:0,class:"text-sm text-light font-mono pl-1 mt-1"};function l3(e,t,n,i,r,a){const o=I("commission-split-broker-select"),s=I("nice-divider"),l=I("client-select"),d=I("form-row"),c=I("nice-select"),m=I("nice-radio-group"),p=I("nice-input"),h=I("nice-date-picker"),T=I("nice-fake-input"),C=I("form-section"),A=I("form-dialog");return u(),w(A,{visible:n.visible,name:e.$t("commissionSplits.dialog.title"),id:n.edit?n.edit.id:void 0,"append-to-body":"",onClose:t[15]||(t[15]=v=>e.$emit("update:visible",!1)),saving:r.submitting,onSubmit:a.submit,autofocus:!n.edit},{default:k(()=>[n.visible?(u(),w(C,{key:0},{default:k(()=>[g(d,{title:e.$t("commissionSplits.beneficiary")},{default:k(()=>[f("div",Jw,[g(o,{"fixed-position":"",modelValue:r.item.brokerId,"onUpdate:modelValue":t[0]||(t[0]=v=>r.item.brokerId=v),onChange:t[1]||(t[1]=v=>r.item.clientId=null),disabled:!!r.item.clientId},null,8,["modelValue","disabled"]),g(s,null,{default:k(()=>[Y(S(e.$t("detailView.or")),1)]),_:1}),g(l,{"fixed-position":"",modelValue:r.item.clientId,"onUpdate:modelValue":t[2]||(t[2]=v=>r.item.clientId=v),onChange:t[3]||(t[3]=v=>r.item.brokerId=null),disabled:!!r.item.brokerId,"fetch-type":"CommissionSplitClients"},null,8,["modelValue","disabled"])])]),_:1},8,["title"]),g(d,{title:e.$t("commissionSplits.name")},{default:k(()=>[g(c,{"fixed-position":"",modelValue:r.item.name,"onUpdate:modelValue":t[4]||(t[4]=v=>r.item.name=v),options:a.commissionSplitNames},null,8,["modelValue","options"])]),_:1},8,["title"]),g(d,{title:e.$t("commissionSplits.splitPosition")},{default:k(()=>[g(m,{modelValue:r.item.splitPosition,"onUpdate:modelValue":t[5]||(t[5]=v=>r.item.splitPosition=v),options:[{id:"pre",name:e.$t("commissionSplits.splitPositions.pre")},{id:null,name:e.$t("commissionSplits.splitPositions.split")},{id:"post",name:e.$t("commissionSplits.splitPositions.post")}]},null,8,["modelValue","options"])]),_:1},8,["title"]),g(d,{title:e.$t("commissionSplits.value")},{default:k(()=>[f("div",null,[r.item.actor!=="both"?(u(),y(ee,{key:0},[f("div",Xw,[g(p,{modelValue:r.item.value,"onUpdate:modelValue":t[6]||(t[6]=v=>r.item.value=v),type:"number"},null,8,["modelValue"]),g(m,{modelValue:r.item.valueType,"onUpdate:modelValue":t[7]||(t[7]=v=>r.item.valueType=v),class:"ml-2 whitespace-nowrap",options:[{id:"percent",name:`${e.$t("commissionSplits.valueTypes.percent")} (%)`},{id:"fixed",name:`${e.$t("commissionSplits.valueTypes.fixed")} (${a.currency})`}]},null,8,["modelValue","options"])]),a.calculatedValue?(u(),y("footer",e3," ~ "+S(e.$customFilters.numberToCurrency(a.calculatedValue,a.currency)),1)):P("",!0)],64)):(u(),y(ee,{key:1},[f("div",t3,[f("div",n3,S(e.$t("commissionSplits.actors.buyer")),1),f("div",i3,[g(p,{modelValue:r.item.valueBuyer,"onUpdate:modelValue":t[8]||(t[8]=v=>r.item.valueBuyer=v),type:"number"},null,8,["modelValue"]),g(m,{modelValue:r.item.valueTypeBuyer,"onUpdate:modelValue":t[9]||(t[9]=v=>r.item.valueTypeBuyer=v),class:"ml-2 whitespace-nowrap",options:[{id:"percent",name:`${e.$t("commissionSplits.valueTypes.percent")} (%)`},{id:"fixed",name:`${e.$t("commissionSplits.valueTypes.fixed")} (${a.currency})`}]},null,8,["modelValue","options"])]),a.calculatedValueFor("buyer")?(u(),y("footer",r3," ~ "+S(e.$customFilters.numberToCurrency(a.calculatedValueFor("buyer"),a.currency)),1)):P("",!0)]),f("div",null,[f("div",a3,S(e.$t("commissionSplits.actors.seller")),1),f("div",o3,[g(p,{modelValue:r.item.valueSeller,"onUpdate:modelValue":t[10]||(t[10]=v=>r.item.valueSeller=v),type:"number"},null,8,["modelValue"]),g(m,{modelValue:r.item.valueTypeSeller,"onUpdate:modelValue":t[11]||(t[11]=v=>
12829r.item.valueTypeSeller=v),class:"ml-2 whitespace-nowrap",options:[{id:"percent",name:`${e.$t("commissionSplits.valueTypes.percent")} (%)`},{id:"fixed",name:`${e.$t("commissionSplits.valueTypes.fixed")} (${a.currency})`}]},null,8,["modelValue","options"])]),a.calculatedValueFor("seller")?(u(),y("footer",s3," ~ "+S(e.$customFilters.numberToCurrency(a.calculatedValueFor("seller"),a.currency)),1)):P("",!0)])],64))])]),_:1},8,["title"]),g(d,{title:e.$t("commissionSplits.actor")},{default:k(()=>[g(m,{modelValue:r.item.actor,"onUpdate:modelValue":t[12]||(t[12]=v=>r.item.actor=v),options:a.radioOptions},null,8,["modelValue","options"])]),_:1},8,["title"]),g(d,{title:e.$t("commissionSplits.representing")},{default:k(()=>[g(c,{"fixed-position":"",options:e.$tm("commissionSplits.representings"),modelValue:r.item.representing,"onUpdate:modelValue":t[13]||(t[13]=v=>r.item.representing=v)},null,8,["options","modelValue"])]),_:1},8,["title"]),g(d,{title:e.$t("commissionSplits.date")},{default:k(()=>[g(T,null,{default:k(()=>[g(h,{"value-format":"yyyy-MM-dd","fixed-position":"",modelValue:r.item.date,"onUpdate:modelValue":t[14]||(t[14]=v=>r.item.date=v)},null,8,["modelValue"])]),_:1})]),_:1},8,["title"])]),_:1})):P("",!0)]),_:1},8,["visible","name","id","saving","onSubmit","autofocus"])}const Ed=te(Zw,[["render",l3]]),G4=Object.freeze(Object.defineProperty({__proto__:null,default:Ed},Symbol.toStringTag,{value:"Module"})),d3=K({props:{record:{type:Object,required:!0},actor:{type:String,required:!0}},setup(){const{getCurrencySymbol:e}=$t();return{getCurrencySymbol:e}},computed:{currency(){return this.getCurrencySymbol(this.record.currency)},commission(){return this.actor=="buyer"?this.record.external_commission:this.record.internal_commission},commissionSplits(){return this.record.commission_splits.filter(e=>e.actor==this.actor)},commissionSplitSum(){return this.commissionSplits.reduce((e,t)=>{const n=Pa(this.record,t);return n==null||e==null?null:e+n},0)},commissionSplitSumPercentage(){return this.commissionSplitSum==null||!this.commission?0:this.commissionSplitSum/this.commission*100},remaining(){return this.commissionSplitSum==null?null:this.commission-this.commissionSplitSum},excessCommissionSplitSumPercentage(){return this.remaining==null||!this.commission?0:Math.abs(this.remaining)/this.commission*100},formattedCommissionSplitSum(){return this.commissionSplitSum==null?"—":this.$customFilters.numberToCurrency(this.commissionSplitSum,this.currency)},formattedRemaining(){return this.remaining==null?"—":this.$customFilters.numberToCurrency(this.remaining,this.currency)}}}),c3={class:"relative my-1"},u3={class:"text-sm font-medium"};function p3(e,t,n,i,r,a){const o=I("nice-progress");return u(),y("footer",null,[f("div",c3,[g(o,{percentage:e.commissionSplitSumPercentage,"show-text":!1,subtype:"commissionBar"},null,8,["percentage"]),e.remaining<0?(u(),w(o,{key:0,percentage:e.excessCommissionSplitSumPercentage,"show-text":!1,subtype:"commissionBar",excessBar:!0,class:"absolute top-0 left-0 right-0"},null,8,["percentage"])):P("",!0)]),f("p",u3,S(e.$t("commissionSplits.total"))+": "+S(e.$customFilters.numberToCurrency(e.commission,e.currency))+" | "+S(e.$t("commissionSplits.alreadySplit"))+": "+S(e.formattedCommissionSplitSum)+" | "+S(e.$t("commissionSplits.remaining"))+": "+S(e.formattedRemaining),1)])}const Md=te(d3,[["render",p3]]),j4=Object.freeze(Object.defineProperty({__proto__:null,default:Md},Symbol.toStringTag,{value:"Module"})),m3=`query PropertyCommissionSplits($id: ID!) {
12830  property(id: $id) {
12831    id
12832    updatedAt
12833    commissionSplits {
12834      id
12835      name
12836      brokerId
12837      clientId
12838      value
12839      valueType
12840      calculatedValue
12841      splitPosition
12842      date
12843      actor
12844      representing
12845      client { id name }
12846      broker { name }
12847    }
12848  }
12849}`,h3=K({props:["record","field"],components:{CommissionSplitItem:Od,CommissionSplitDialog:Ed,CommissionSplitResult:Md},data(){return{visible:!1,editableItem:null}},setup(){const{isNeoTheme:e}=Ee(),{getCurrencySymbol:t}=$t();return{getCurrencySymbol:t,isNeoTheme:e}},methods:{validateMandatoryField:Ge,openForm(e){this.visible=!0,e&&(this.editableItem=this.$util.clone(e))},async refreshCommissionSplits(){var e;if((e=this.record)!=null&&e.id)try{const t=await this.$graphql(m3,{id:this.record.id}),n=t==null?void 0:t.property;if(!n)return;const i=n.updatedAt||window.moment().format();this.record.skipDirty=!0,this.record.updated_at=i,this.record.commission_splits=n.commissionSplits||[]}catch(t){this.$axios.handleError(t)}},remove(e){this.$api.destroy("CommissionSplit",e.id).then(async t=>
12849{App.flashy(this.$t("detailView.relationship.removeSuccess")),await this.refreshCommissionSplits()}).catch(this.$axios.handleError)},updateVisible(e){this.visible=e,e||(this.editableItem=null)},sumSplitsValues(e){return e.reduce((t,n)=>{const i=Pa(this.record,n);return i==null||t==null?null:t+i},0)},formatSplitSum(e){const t=this.sumSplitsValues(e);return t==null?"—":this.$customFilters.numberToCurrency(t,this.currency)}},computed:{currency(){return this.getCurrencySymbol(this.record.currency)},splits(){return this.record.commission_splits},groupedSplits(){return _.sortBy(this.splits,[t=>t.splitPosition=="pre"?0:t.splitPosition=="post"?2:1,t=>t.valueType=="fixed"?1:0]).reduce((t,n)=>(t[n.actor]||(t[n.actor]=[]),t[n.actor].push(n),t),{})},initialItem(){return{name:"",propertyId:this.record.id,brokerId:null,clientId:null,date:null,value:null,valueType:"fixed",splitPosition:null,actor:"buyer",representing:"buyer"}}}}),f3=["title"],g3={class:"font-semibold"},y3={class:"text-light text-sm font-mono"},b3={key:1,class:"mt-1"},v3={key:2,class:"text-muted mt-1"};function I3(e,t,n,i,r,a){const o=I("nice-button"),s=I("fa-icon"),l=I("commission-split-item"),d=I("commission-split-result"),c=I("commission-split-dialog"),m=I("dv-row");return u(),w(m,{hint:e.field.hint},{label:k(()=>[Y(S(e.field.formField.label)+" "+S(e.field.mandatory?"*":"")+" ",1),!e.field.readonly&&e.splits.length?(u(),y(ee,{key:0},[e.isNeoTheme?(u(),w(o,{key:0,onClick:t[0]||(t[0]=p=>e.openForm()),size:"xsmall",type:"info",iconSet:"neo",icon:"plus",class:"ml-2",iconOnly:""})):(u(),y("a",{key:1,href:"#",title:e.$t("detailView.relationship.add"),class:"text-muted ml-1 fs-12",onClick:t[1]||(t[1]=ae(p=>e.openForm(),["prevent"]))},[g(s,{name:"plus",class:"mr-1"})],8,f3))],64)):P("",!0)]),default:k(()=>[e.splits.length?(u(),y("div",{key:0,class:U([{"mandatory-outline":e.validateMandatoryField(e.field,e.record)},"w-100"])},[f("section",null,[(u(!0),y(ee,null,Te(e.groupedSplits,(p,h,T)=>(u(),y("ul",{key:h},[f("header",{class:U(["flex justify-between",{"pt-3 mt-3 border-t border-light":T!=0}])},[f("span",g3,S(e.$t(`commissionSplits.actors.${h}`)),1),f("span",y3,S(e.formatSplitSum(p)),1)],2),(u(!0),y(ee,null,Te(p,C=>(u(),w(l,{key:C.id,item:C,record:e.record,readonly:e.field.readonly,onEdit:e.openForm,onRemove:e.remove},null,8,["item","record","readonly","onEdit","onRemove"]))),128)),g(d,{record:e.record,actor:h},null,8,["record","actor"])]))),128))])],2)):!e.field.readonly&&e.record.id?(u(),y(ee,{key:1},[e.isNeoTheme?(u(),w(o,{key:0,onClick:t[2]||(t[2]=ae(p=>e.openForm(),["prevent"])),size:"small",iconSet:"neo",icon:"plus",class:"action"},{default:k(()=>[Y(S(e.$t("detailView.relationship.addConfirm")),1)]),_:1})):(u(),y("p",b3,[f("a",{href:"#",class:"text-muted",onClick:t[3]||(t[3]=ae(p=>e.openForm(),["prevent"]))},[g(s,{name:"plus",class:"mr-1"}),Y(" "+S(e.$t("detailView.relationship.addConfirm")),1)])]))],64)):(u(),y("p",v3,S(e.$t("detailView.relationship.empty")),1)),g(c,{edit:e.editableItem,initialItem:e.initialItem,visible:e.visible,"onUpdate:visible":[t[4]||(t[4]=p=>e.visible=p),e.updateVisible],record:e.record,onChanged:e.refreshCommissionSplits},null,8,["edit","initialItem","visible","record","onChanged","onUpdate:visible"])]),_:1},8,["hint"])}const Vd=te(h3,[["render",I3]]),H4=Object.freeze(Object.defineProperty({__proto__:null,default:Vd},Symbol.toStringTag,{value:"Module"})),C3=async(e,t)=>{const n=await bg.orders.getCurrentOrderByEntityId(e,t);return n.isSuccessful2xx?n.data??null:null},S3=(e,t)=>{const n=F(()=>Et.orders.byIntegrationByEntityId(rt(e),rt(t)));return tl({queryKey:n,refetchInterval:1e3*60*5,queryFn:()=>C3(rt(e),rt(t))})},_3=new Set(["started","confirmed","in-progress","clarification-required"]),La=e=>{if(!e)return!1;const t=e.status.toLowerCase();return t!=="cancelled"&&t!=="completed"&&_3.has(e.step)},W4=e=>!!e&&(e.status.toLowerCase()==="completed"||e.step==="completed"),K4=e=>!!e&&(e.status.toLowerCase()==="cancelled"||e.step==="cancelled"),Y4=e=>!!e&&La(e)&&e.step==="started"&&e.canCancel===!0,Q4=e=>{var t;return!!e&&La(e)&&(e.step==="confirmed"||e.step==="in-progress"||e.step==="clarification-required"||e.cancelReason==="provider_confirmed"||e.cancelReason==="already_processing"||!!((t=e.context)!=null&&t.ea48OrderId))},k3=({property:e,currentBroker:t,hasEditUnitsRight:n,hasEditSharedUnitsRight:i})=>{if(e.receivedViaMls??e.received_via_mls)return!1;if(n||(e.brokerId??e.broker_id)===t.id)return!0;
12849if(!i)return!1;const o=e.brokerIds??e.broker_ids??[],s=e.departmentIds??e.department_ids??[],l=t.departmentIds??[];return o.includes(t.id)||s.some(d=>l.includes(d))},Z4=({property:e,currentBroker:t,hasDeletePropertiesRight:n,hasEditUnitsRight:i,hasEditSharedUnitsRight:r})=>{if(!n||e.receivedViaMls)return!1;if(i||e.brokerId===t.id)return!0;if(!r)return!1;const a=e.brokerIds||[],o=e.departmentIds||[],s=t.departmentIds||[];return a.includes(t.id)||o.some(l=>s.includes(l))},T3={key:0,class:"ea48-energy-certificate-banner","data-testid":"ea48-energy-certificate-banner"},w3={class:"ea48-energy-certificate-banner__message"},F3={class:"ea48-energy-certificate-banner__marker"},P3=K({__name:"EA48EnergyCertificateBanner",props:{property:{}},setup(e){const t=e,n=ln(()=>"integration-ea48-ps"),i=ln(()=>t.property.id.toString()),{db:r}=je(),a=Il(),{data:o}=S3(n,i),s=F(()=>La(rt(o))),l=F(()=>k3({property:t.property,currentBroker:r.broker,hasEditUnitsRight:r.hasRight("rightToEditUnits"),hasEditSharedUnitsRight:r.hasRight("rightToEditSharedUnits")})),d=F(()=>rt(l)&&r.hasRight("rightToUseExtensions")),c=F(()=>t.property.energyCertificateAvailability??t.property.energy_certificate_availability),m=F(()=>t.property.energyCertificateStartDate??t.property.energy_certificate_start_date),p=F(()=>t.property.energyCertificateEndDate??t.property.energy_certificate_end_date),h=(v,R=0)=>{const D=Yl(v);return(D==null?void 0:D.add(R,"years").isBefore(cn(),"day"))??!1},T=F(()=>h(rt(p))||h(rt(m),10)),C=F(()=>rt(c)!=="AVAILABLE"||rt(T)),A=()=>{a.push({path:`/portfolio/properties/${t.property.id}/media`,query:{ea48:rt(s)?"status":"order"},hash:"#ea48-integration-widget"})};return(v,R)=>{const D=I("fa-icon");return C.value?(u(),y("section",T3,[f("p",w3,[f("strong",F3,S(v.$t("integrations.integration-ea48.banner.missingPrefix")),1),Y(" "+S(v.$t("integrations.integration-ea48.banner.missingCertificate")),1)]),d.value?(u(),y("button",{key:0,type:"button",class:"ea48-energy-certificate-banner__action",onClick:A,"data-testid":"ea48-energy-certificate-action"},[g(D,{name:"file-check"}),Y(" "+S(v.$t(s.value?"integrations.integration-ea48.banner.viewOrderStatus":"integrations.integration-ea48.banner.orderNow")),1)])):P("",!0)])):P("",!0)}}}),Ld=te(P3,[["__scopeId","data-v-4165faa7"]]),J4=Object.freeze(Object.defineProperty({__proto__:null,default:Ld},Symbol.toStringTag,{value:"Module"})),A3={class:"w-100"},$3=["innerHTML"],R3={key:0},D3=K({__name:"EnergyCertificate",props:{record:{},field:{}},setup(e){const t=e,{isNeoTheme:n}=Ee(),{db:i}=je(),r=Il(),a=F(()=>{const d=i.shopData.propertyOptionsMapping.energy_certificate_availability;return Object.keys(d).map(c=>({id:c,name:d[c]}))}),o=F(()=>t.record.energy_certificate_availability==="AVAILABLE"),s=F(()=>!!t.record.id),l=()=>{r.push(`/portfolio/properties/${t.record.id}/media`)};return(d,c)=>{const m=I("nice-select"),p=I("nice-button"),h=I("nice-tooltip"),T=I("dv-row");return u(),y("div",A3,[s.value?(u(),w(Ld,{key:0,property:e.record,class:"mb-4","data-testid":"ea48-energy-certificate-field-banner"},null,8,["property"])):P("",!0),g(T,{hint:e.field.hint},{label:k(()=>[f("span",{innerHTML:e.field.formField.label},null,8,$3),e.field.mandatory?(u(),y("span",R3,"*")):P("",!0)]),default:k(()=>{var C,A;return[f("div",{class:U([{"mandatory-outline":E(Ge)(e.field,e.record)},"flex w-100"])},[g(m,vt((A=(C=e.field.formField).additionalParams)==null?void 0:A.call(C,e.field,e.record[e.field.fieldName]),{disabled:e.field.readonly,filterable:"",clearable:"","default-first-option":"",modelValue:e.record[e.field.fieldName],"onUpdate:modelValue":c[0]||(c[0]=v=>e.record[e.field.fieldName]=v),placeholder:d.$t("detailView.placeholder"),class:{"disabled-visibility-dropdown":e.field.readonly},style:!e.record[e.field.fieldName]&&e.field.color&&`background-color: ${e.field.color}`,options:a.value,"data-value-missing":!e.record[e.field.fieldName]}),null,16,["disabled","modelValue","placeholder","class","style","options","data-value-missing"]),!e.field.readonly&&o.value?(u(),w(h,{key:0,disabled:s.value,content:d.$t("property.extensions.energieausweis48.saveFirst")},{default:k(()=>[f("div",null,[E(n)?(u(),w(p,{key:0,onClick:l,disabled:!s.value,icon:"certificate",iconSet:"neo",iconColor:o.value?"var(--ps-color-primary)":"var(--ps-color-success)",class:"ml-2"},{default:k(()=>[Y(S(o.value?d.$t("property.extensions.energieausweis48.viewCertificate"):d.$t("property.extensions.energieausweis48.orderShort")),1)]),_:1},8,["disabled","iconColor"])):(u(),w(p,{key:1,onClick:l,disabled:!s.value,class:"ml-2"},{default:k(()=>[f("span",{class:U(o.value?"text-blue-600":"text-green-600")},S(o.value?d.$t("property.extensions.energieausweis48.viewCertificate"):d.$t("property.extensions.energieausweis48.orderShort")),3)]),_:1},8,["disabled"]))])]),_:1},8,["disabled","content"])):P("",!0)],2)]}),_:1},8,["hint"])])}}}),N3=K({__name:"EnergyCertificateDate",props:{record:{},field:{}},setup(e){const t=e,n=F({get(){const i=t.record[t.field.fieldName];return bs(i,Wl)},set(i){t.record[t.field.fieldName]=bs(i,Kl)}});return(i,r)=>{const a=I("nice-date-picker"),o=I("nice-fake-input");return u(),w(o,null,{default:k(()=>[g(a,vt(e.field.formField.additionalParams&&e.field.formField.additionalParams(e.field,e.record[e.field.fieldName]),{class:{"disabled-visibility-date":e.field.readonly,"parent-bg-color":!e.record[e.field.fieldName]&&e.field.color},readonly:e.field.readonly,modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=s=>n.value=s),format:"dd.MM.yyyy","value-format":"yyyy-MM-dd",style:!e.record[e.field.fieldName]&&`background-color: ${e.field.color}`,"data-value-missing":!e.record[e.field.fieldName]}),null,16,["class","readonly","modelValue","style","data-value-missing"])]),_:1})}}}),O3=$e(`
12850    query IdealistaPreviewExternalData($publishingId: ID!) {
12851      publishing(id: $publishingId) {
12852        externalData
12853      }
12854    }
12855  `),E3={key:1},M3={class:"block whitespace-pre-wrap p-3"},Bd=K({__name:"IdealistaPreview",props:{publishing:{}},emits:["close"],setup(e,{emit:t}){const n=t,{graphql:i}=je(),r=ce(),a=ce(!1);return At(async()=>{var o;a.value=!0;try{const s=await i(O3,{publishingId:e.publishing.id.toString()}),l=((o=s==null?void 0:s.publishing)==null?void 0:o.externalData)??{};r.value=JSON.stringify(l,null,2)}finally{a.value=!1}}),(o,s)=>{const l=I("spinner"),d=I("nice-alert"),c=I("nice-dialog");
12855return u(),w(c,{title:o.$t("detailView.portalExport.idealistaData"),"model-value":!0,"append-to-body":"",onClose:s[0]||(s[0]=m=>n("close"))},{default:k(()=>[a.value?(u(),w(l,{key:0})):r.value?(u(),y("pre",E3,[s[1]||(s[1]=Y("      ",-1)),f("code",M3,S(r.value),1),s[2]||(s[2]=Y(`
12856    `,-1))])):(u(),w(d,{key:2,type:"danger"},{default:k(()=>[Y(S(o.$t("detailView.portalExport.idealistaNoData")),1)]),_:1}))]),_:1},8,["title"])}}}),V3={key:0,class:"py-4 text-center text-extra-light text-sm"},L3={key:1,class:"py-2 text-sm text-red-500"},B3={key:2,class:"py-2 text-sm text-extra-light"},U3={key:3,class:"w-full text-sm border-collapse"},q3={class:"border-b border-gray-200 text-left text-light text-xs uppercase tracking-wide"},x3={class:"pb-2 pr-3 font-medium"},z3={class:"pb-2 pr-3 font-medium"},G3={class:"pb-2 pr-3 font-medium"},j3={class:"pb-2 pr-3 font-medium"},H3={class:"pb-2 pr-3 font-medium"},W3={class:"pb-2 font-medium"},K3={class:"py-1.5 pr-3"},Y3={class:"py-1.5 pr-3"},Q3={class:"py-1.5 pr-3"},Z3={class:"py-1.5 pr-3"},J3={class:"py-1.5 pr-3"},X3={class:"py-1.5"},eF={key:1},tF={key:0,class:"border-t border-gray-300 text-xs text-light"},nF={class:"pt-2 pr-3 font-medium"},iF={class:"pt-2 pr-3 font-medium"},rF={class:"pt-2 pr-3 font-medium"},aF=K({__name:"InvestmentUnitsTable",props:{record:{},field:{}},setup(e){const t=e,{graphql:n}=je(),{state:i,isLoading:r,error:a}=ha(async()=>{const{property:{children:d}}=await n(`
12857      query InvestmentUnitsTable($id: ID!) {
12858        property(id: $id) {
12859          children {
12860            id
12861            propertyStatusId
12862            floor
12863            renter
12864            usableFloorSpace
12865            rentalIncome
12866            freeFrom
12867            archived
12868            propertyStatus {
12869              disableExposeLandingPage
12870            }
12871          }
12872        }
12873      }
12874    `,{id:t.record.id});return d.filter(c=>!c.archived)},[]),o=d=>{var c;return((c=d.propertyStatus)==null?void 0:c.disableExposeLandingPage)!==!0},s=F(()=>i.value.reduce((d,c)=>c.usableFloorSpace!=null?d+c.usableFloorSpace:d,0)),l=F(()=>i.value.reduce((d,c)=>c.rentalIncome!=null?d+c.rentalIncome:d,0));return(d,c)=>{const m=I("nice-spinner");return E(r)?(u(),y("div",V3,[g(m)])):E(a)?(u(),y("div",L3,S(d.$t("errors.general")),1)):E(i).length===0?(u(),y("div",B3,S(d.$t("property.inheritFieldsModal.noChildren")),1)):(u(),y("table",U3,[f("thead",null,[f("tr",q3,[f("th",x3,S(d.$t("property.childrenTab.filter.selectFloor")),1),f("th",z3,S(d.$t("properties.formFields.renter")),1),f("th",G3,S(d.$t("properties.formFields.usable_floor_space")),1),f("th",j3,S(d.$t("properties.customPropertyColumns.rental_income")),1),f("th",H3,S(d.$t("properties.customPropertyColumns.free_from")),1),f("th",W3,S(d.$t("properties.customPropertyColumns.property_status_id")),1)])]),f("tbody",null,[(u(!0),y(ee,null,Te(E(i),p=>(u(),y("tr",{key:p.id,class:U(["border-b border-gray-100 last:border-0",o(p)?"font-semibold":"text-extra-light"])},[f("td",K3,S(p.floor??"–"),1),f("td",Y3,S(p.renter??"–"),1),f("td",Q3,S(p.usableFloorSpace!=null?E(zn)(p.usableFloorSpace,"m2"):"–"),1),f("td",Z3,S(p.rentalIncome!=null?E(ui)(p.rentalIncome):"–"),1),f("td",J3,S(p.freeFrom??"–"),1),f("td",X3,[p.propertyStatusId!=null?(u(),w(Ta,{key:0,propertyStatusId:p.propertyStatusId},null,8,["propertyStatusId"])):(u(),y("span",eF,"–"))])],2))),128))]),E(i).length>1?(u(),y("tfoot",tF,[f("tr",null,[f("td",nF,S(E(i).length)+" "+S(d.$t("property.childrenTab.tab")),1),c[0]||(c[0]=f("td",{class:"pt-2 pr-3"},null,-1)),f("td",iF,S(s.value>0?E(zn)(s.value,"m2"):"–"),1),f("td",rF,S(l.value>0?E(ui)(l.value):"–"),1),c[1]||(c[1]=f("td",{class:"pt-2 pr-3"},null,-1)),c[2]||(c[2]=f("td",{class:"pt-2"},null,-1))])])):P("",!0)]))}}}),oF=K({setup(){const{tm:e}=ot();return{tm:e}},props:["visible","record","portal"],data(){return{localHeroAutoPublish:!1,localHeroModalReasons:this.tm("localHero.modal.reasons")}},methods:{submitLocalHero(e){this.$emit("update:visible",!1),e=="no"?this.rejectLocalHero():this.exportAsLocalHero()},exportAsLocalHero(){this.$api.mutation("exportPropertyAsLocalHero",{propertyId:this.record.id,portalId:this.portal?this.portal.id:null,publishEverywhereAfterwards:!this.portal}
12874,"localHeroBooking { createdAt startsAt endsAt }").then(({localHeroBooking:e})=>{at.$emit("property-export-started",{propertyId:this.record.id}),this.localHeroAutoPublish&&(this.$db.updateBroker({localHeroAutoPublish:!0}),this.$api.mutation("createProductTracking",{eventType:"local_hero_auto_opted_in_via_popup"})),this.record.skipDirty=!0,this.record.updated_at=window.moment().format(),this.record.local_hero_booking=e,App.flashy(this.$t("detailView.portalExport.localHeroExportStarted"))}).catch(this.$axios.handleError)},rejectLocalHero(){const e=this.portal?[this.portal]:this.$db.shopData.connections.filter(t=>!t.parentConnectionId);this.$api.mutation("exportProperties",{propertyIds:[this.record.id],portalIds:e.map(t=>t.id),modus:"ONLINE",localHeroRejected:!0}).then(t=>{at.$emit("property-export-started",{propertyId:this.record.id}),App.flashy(this.$t("detailView.portalExport.exportAllSuccess"))}).catch(this.$axios.handleError)},close(){this.visible&&(this.$api.mutation("createProductTracking",{eventType:"local_hero_cancelled",entityType:"Property",entityId:this.record.id}),this.$emit("update:visible",!1))}}}),sF="https://frontend-assets.propstack.de/vite/assets/scout-CR-6tUtz.svg",lF="https://frontend-assets.propstack.de/vite/assets/Flowfact_Localhero-B0zLP1Vp.svg",dF={class:"flex mb-4"},cF={class:"mt-10 pl-4"},uF={class:"ml-8"},pF={class:"mr-3",style:{color:"#03ffd0"}},mF={class:"flex-grow"},hF={key:0},fF=["innerHTML"],gF=["innerHTML"],yF={class:"ml-2 text-sm break-normal font-normal"},bF={class:"flex flex-col justify-center pt-4 text-center"},vF=["innerHTML"];function IF(e,t,n,i,r,a){const o=I("fa-icon"),s=I("nice-tooltip"),l=I("nice-checkbox"),d=I("nice-button"),c=I("nice-dialog");return u(),w(c,{"model-value":e.visible,title:e.$t("localHero.modal.kicker"),"close-on-click-modal":!1,"append-to-body":"",onClose:e.close,class:"p-12",width:"700px"},{default:k(()=>[t[4]||(t[4]=f("section",{class:"flex justify-between items-center px-8"},[f("p",{class:"text-4xl font-medium"},[Y(" Highlight des "),f("br"),Y(" Tages verfügbar! ")]),f("img",{src:sF,width:"150"})],-1)),f("section",dF,[f("main",cF,[f("section",uF,[(u(!0),y(ee,null,Te(e.localHeroModalReasons,(m,p)=>(u(),y("article",{key:p,class:"flex mb-3 break-normal"},[f("aside",pF,[g(o,{name:m.icon,class:"text-xl fa-fw"},null,8,["name"])]),f("main",mF,[m.hint?(u(),y("div",hF,[f("p",{class:"text-lg mb-0 inline",innerHTML:m.title},null,8,fF),g(s,{content:m.hint},{default:k(()=>[g(o,{name:"question-circle"})]),_:1},8,["content"])])):(u(),y("p",{key:1,class:"text-xl mb-0 font-bold",innerHTML:m.title},null,8,gF))])]))),128))]),g(l,{modelValue:e.localHeroAutoPublish,"onUpdate:modelValue":t[0]||(t[0]=m=>e.localHeroAutoPublish=m),class:"ml-2 mt-5 flex",style:{"min-width":"250px","max-width":"300px"}},{default:k(()=>[f("span",yF,S(e.$t("localHero.modal.automaticalPublishSetting")),1)]),_:1},8,["modelValue"]),f("footer",bF,[g(d,{style:{"min-width":"200px","max-width":"300px","background-color":"#03ffd0","border-color":"#03ffd0"},onClick:t[1]||(t[1]=m=>e.submitLocalHero("yes")),class:"mb-3"},{default:k(()=>[Y(S(e.$t("localHero.modal.cta.yes")),1)]),_:1}),f("a",{href:"#",onClick:t[2]||(t[2]=ae(m=>e.submitLocalHero("no"),["prevent"])),class:"text-subtle",style:{"min-width":"200px","max-width":"300px"}},S(e.$t("localHero.modal.cta.no")),1)])]),t[3]||(t[3]=f("aside",{class:"shrink-0 text-center"},[f("img",{src:lF,width:"320"})],-1))]),t[5]||(t[5]=f("br",null,null,-1)),f("p",{class:"text-sm px-8 pb-4",innerHTML:e.$t("localHero.modal.footnote")},null,8,vF)]),_:1},8,["model-value","title","onClose"])}const Ud=te(oF,[["render",IF]]),X4=Object.freeze(Object.defineProperty({__proto__:null,default:Ud},Symbol.toStringTag,{value:"Module"})),Qt=e=>e.format==="IS24"&&!!(e.parentConnectionId&&e.is24PublishChannelId),CF=(e,t,n)=>{const i=e.country==="AUT"&&t==="austria";return n.filter(r=>{var a;return r.format==="OPENIMMO"&&(((a=r.host)==null?void 0:a.toLowerCase().includes("kleinanzeigen"))||i&&r.username==="propstack_is24at")})},SF=["data-status"],_F={class:"portal-control-row__main"},kF=["title"],TF={class:"portal-control-row__text"},wF=["title"],FF={key:0,class:"portal-control-row__meta"},PF={key:0},AF={key:0,class:"portal-control-row__actions"},qd=K({__name:"PortalExportRow",props:{record:{},portal:{},portals:{},exporting:{type:Boolean},localHeroAvailable:{type:Boolean},localHeroCurrentlyBooked:{type:Boolean},disabled:{type:Boolean},recordType:{}},emits:["export-success","show-local-hero","show-publishings-modal"],setup(e,{emit:t}){const n=e,i=t,{api:r,axios:a,db:o}=je(),{t:s}=ot(),{isDevBackdoor:l}=sl(),d=ce(!1),c=[it.Facebook,it.Instagram],m=[...c,it.Mls],p=[...c,it.Idealista],h=F(()=>new Map(n.portals.map(H=>[H.id,H]))),T=F(()=>Qt(n.portal)),C=F(()=>n.portal.format===it.Is24&&!T.value),A=H=>H.parentConnectionId===n.portal.id&&!Qt(H),v=F(()=>C.value&&n.portals.some(A)),R=F(()=>n.record.publishings.filter(H=>{const ie=h.value.get(H.portalId??0);return v.value?ie!=null&&A(ie):H.portalId===n.portal.id?!0:(ie==null?void 0:ie.parentConnectionId)===n.portal.id})),D=F(()=>R.value.find(H=>H.publishDate)??R.value[0]),O=F(()=>R.value.find(H=>H.postUrl)),N=F(()=>n.record.scoutId??n.record.scout_id),B=F(()=>n.record.updatedAt??n.record.updated_at),q=F(()=>
12874n.record.localHeroBooking??n.record.local_hero_booking),se=F(()=>{const H=new Set(n.record.publishings.filter(ie=>!!ie.publishDate).map(ie=>ie.portalId));return n.portals.filter(ie=>H.has(ie.id))}),oe=F(()=>se.value.some(A)),G=F(()=>{var H;return n.portal.format===it.Idealista||T.value?!!((H=D.value)!=null&&H.publishDate):C.value&&oe.value}),x=H=>n.localHeroAvailable&&C.value&&H==="ONLINE",L=F(()=>{var He;const H=D.value,ie=(H==null?void 0:H.publishDate)??null,pe=!!H&&!ie,ge=!!(ie&&B.value)&&new Date(ie).getTime()<new Date(B.value).getTime(),ke=n.record.portalExportPending||pe||ge?"warning":ie?"active":"inactive",De=c.includes(n.portal.format),yt=!m.includes(n.portal.format),It=((He=O.value)==null?void 0:He.postUrl)||(C.value&&ie&&N.value?`${o.shopData.immoscoutBaseUrl}/expose/${N.value}`:null)||(De?n.portal.accountUrl:null);return{actionDisabled:!!q.value&&n.portal.format!==it.Is24&&!!n.portal.popularWebsite,actionDisabledTooltip:null,canDeactivate:G.value,canDelete:!!ie&&!p.includes(n.portal.format),deactivated:pe,deleteDisabled:!1,publicListingUrl:It,publishedAt:ie,publishing:H,publishings:R.value,shouldShowPreviewButton:yt&&(l||o.featureActive("publishing_data_preview")&&(o.broker.admin||o.broker.role==="consulting")),showPublishButton:!ie,showRepublishButton:!!ie&&De,showUpdateButton:!!ie&&!De,status:ke,statusLabelKey:ke==="active"?"detailView.portalExport.statusActive":ke==="warning"?"detailView.portalExport.statusWarning":"detailView.portalExport.statusInactive"}}),J=()=>{window.open(`/export/publish/preview?portal_id=${n.portal.id}&property_ids[]=${n.record.id}&record_type=${n.recordType}&active=true`,"_blank")},ne=H=>{if(H==="DELETE"?L.value.deleteDisabled:L.value.actionDisabled){L.value.actionDisabledTooltip&&App.flashy(L.value.actionDisabledTooltip,"warning");return}if(x(H)){i("show-local-hero");return}r.mutation("exportProperties",{propertyIds:[n.record.id],portalIds:[n.portal.id],modus:H,localHeroCurrentlyBooked:n.localHeroCurrentlyBooked,resourceType:n.recordType}).then(()=>{H==="ONLINE"&&at.$emit("property-export-started",{propertyId:n.record.id}),i("export-success"),App.flashy(s("detailView.portalExport.invidualExportSuccess",{name:n.portal.name}))}).catch(pe=>{a.handleError(pe,7e3)})};return(H,ie)=>{const pe=I("nice-chip"),ge=I("nice-button"),ke=I("nice-tooltip");return u(),y(ee,null,[f("div",{class:"portal-control-row","data-status":L.value.status,"data-testid":"portal-control-row"},[f("div",_F,[f("span",{class:U(["portal-control-row__dot",`is-${L.value.status}`]),title:H.$t(L.value.statusLabelKey)},null,10,kF),f("div",TF,[f("div",{class:"portal-control-row__name",title:e.portal.name},S(e.portal.name),9,wF),L.value.publishedAt||L.value.deactivated?(u(),y("div",FF,[L.value.publishedAt?(u(),y("span",PF,S(H.$customFilters.datetime(L.value.publishedAt)),1)):(u(),w(pe,{key:1,color:"yellow"},{default:k(()=>[Y(S(H.$t("detailView.portalExport.deactivated")),1)]),_:1}))])):P("",!0)])]),E(o).hasRight("rightToExportToPortals")?(u(),y("div",AF,[L.value.publicListingUrl?(u(),w(ke,{key:0,content:H.$t("detailView.portalExport.link")},{default:k(()=>[g(ge,{tag:"a",href:L.value.publicListingUrl,target:"_blank",icon:"external-link",iconSet:"neo",iconOnly:"",size:"small",type:"info"},null,8,["href"])]),_:1},8,["content"])):P("",!0),L.value.shouldShowPreviewButton?(u(),w(ke,{key:1,content:H.$t("detailView.portalExport.preview")},{default:k(()=>[g(ge,{disabled:e.disabled||e.exporting,icon:"preview",iconSet:"neo",iconOnly:"",size:"small",type:"info",onClick:J},null,8,["disabled"])]),_:1},8,["content"])):P("",!0),e.portal.format===E(it).Idealista&&L.value.publishing?(u(),w(ke,{key:2,content:H.$t("detailView.portalExport.showIdealistaData")},{default:k(()=>[g(ge,{icon:"brackets-curly",iconSet:"neo",iconOnly:"",size:"small",type:"info",onClick:ie[0]||(ie[0]=De=>d.value=!d.value)})]),_:1},8,["content"])):P("",!0),L.value.showPublishButton?(u(),w(ke,{key:3,content:L.value.actionDisabledTooltip||"",disabled:!L.value.actionDisabledTooltip},{default:k(()=>[g(ge,{type:"primary",size:"small",icon:"globe",iconSet:"neo",disabled:e.disabled||e.exporting||L.value.actionDisabled,"hide-text-when-small":"",onClick:ie[1]||(ie[1]=De=>ne("ONLINE"))},{default:k(()=>
12874[Y(S(L.value.deactivated?H.$t("detailView.portalExport.updateAndReactivate"):H.$t("detailView.portalExport.publish")),1)]),_:1},8,["disabled"])]),_:1},8,["content","disabled"])):P("",!0),L.value.showUpdateButton?(u(),w(ke,{key:4,content:L.value.actionDisabledTooltip||H.$t("detailView.portalExport.update")},{default:k(()=>[g(ge,{icon:"refresh",iconSet:"neo",iconOnly:"",size:"small",type:"info",disabled:e.disabled||e.exporting||L.value.actionDisabled,iconColor:L.value.status==="warning"?"var(--ps-color-warning)":void 0,onClick:ie[2]||(ie[2]=De=>ne("ONLINE"))},null,8,["disabled","iconColor"])]),_:1},8,["content"])):P("",!0),L.value.showRepublishButton?(u(),w(ke,{key:5,content:L.value.actionDisabledTooltip||H.$t("detailView.portalExport.republish")},{default:k(()=>[g(ge,{icon:"refresh",iconSet:"neo",iconOnly:"",size:"small",type:"info",disabled:e.disabled||e.exporting||L.value.actionDisabled,onClick:ie[3]||(ie[3]=De=>ne("ONLINE"))},null,8,["disabled"])]),_:1},8,["content"])):P("",!0),L.value.showRepublishButton?(u(),w(ke,{key:6,content:H.$t("detailView.portalExport.seePublishings")},{default:k(()=>[g(ge,{icon:"list",iconSet:"neo",iconOnly:"",size:"small",type:"info",disabled:!L.value.publishings.length,badge:L.value.publishings.length||0,onClick:ie[4]||(ie[4]=De=>H.$emit("show-publishings-modal",e.portal.id))},null,8,["disabled","badge"])]),_:1},8,["content"])):P("",!0),L.value.canDeactivate?(u(),w(ke,{key:7,content:L.value.actionDisabledTooltip||H.$t("detailView.portalExport.deactivate")},{default:k(()=>[g(ge,{icon:"deactivate",iconSet:"neo",iconOnly:"",size:"small",type:"info",iconColor:"var(--ps-color-warning)",disabled:e.disabled||e.exporting||L.value.actionDisabled,onClick:ie[5]||(ie[5]=De=>ne("OFFLINE"))},null,8,["disabled"])]),_:1},8,["content"])):P("",!0),L.value.canDelete?(u(),w(ke,{key:8,content:L.value.actionDisabledTooltip||H.$t("detailView.portalExport.delete")},{default:k(()=>[g(ge,{icon:"trash",iconSet:"neo",iconOnly:"",size:"small",type:"info",iconColor:"var(--ps-color-danger)",disabled:e.disabled||e.exporting||L.value.deleteDisabled,onClick:ie[6]||(ie[6]=De=>ne("DELETE"))},null,8,["disabled"])]),_:1},8,["content"])):P("",!0)])):P("",!0),d.value&&L.value.publishing?(u(),w(Bd,{key:1,publishing:L.value.publishing,onClose:ie[7]||(ie[7]=De=>d.value=!1)},null,8,["publishing"])):P("",!0)],8,SF),et(H.$slots,"default")],64)}}}),$F=({broker:e,canManagePortals:t,portals:n})=>{const i=s=>{var l,d,c,m;return e.admin||t.value&&(!((l=s.accessBrokerIds)!=null&&l.length)&&!((d=s.accessDepartmentIds)!=null&&d.length)||((c=s.accessBrokerIds)==null?void 0:c.includes(e.id))||((m=s.accessDepartmentIds)==null?void 0:m.some(p=>e.departmentIds.includes(p))))},r=F(()=>n.value.find(s=>s.format===it.Is24&&!s.parentConnectionId&&i(s))??null),a=s=>{var l,d,c,m;return t.value&&s.format===it.Is24&&!s.is24PublishChannelId&&(!((l=s.is24OtoaAccessBrokerIds)!=null&&l.length)&&!((d=s.is24OtoaAccessDepartmentIds)!=null&&d.length)||((c=s.is24OtoaAccessBrokerIds)==null?void 0:c.includes(e.id))||((m=s.is24OtoaAccessDepartmentIds)==null?void 0:m.some(p=>e.departmentIds.includes(p))))};return{hasLocalHeroAccess:s=>{const l=r.value;return!!(l&&!s.is24PublishChannelId&&(s.id===l.id||s.parentConnectionId===l.id)&&a(l))},hasOtoaAccess:a,localHeroDefaultPortal:r}},RF=$e(`
12875  query LocalHeroAvailable($id: Int!) {
12876    localHeroAvailable(propertyId: $id) {
12877      generally
12878      currentlyBooked
12879    }
12880  }
12881`),DF={key:0,class:"portal-control"},NF={key:0,class:"portal-export__actions"},OF=["innerHTML"],EF={class:"portal-control-card__header"},MF=["aria-expanded","aria-label"],VF={class:"portal-control-card__icon"},LF={class:"portal-control-card__title-group"},BF={class:"portal-control-card__title"},UF={class:"portal-control-card__subtitle"},qF={key:0,class:"portal-control-card__global-actions"},xF={key:0,class:"portal-control-card__body"},zF={key:0,class:"portal-control-ota"},GF=["onClick"],jF=["href"],HF=["onClick"],xd=K({__name:"PortalExportControlCard",props:{record:{},field:{},recordType:{default:"property"}},setup(e){const t=e,{api:n,axios:i,db:r,graphql:a}
12881=je(),{t:o}=ot(),s=ca(),l=F(()=>{var z;return(z=s==null?void 0:s.proxy)==null?void 0:z.$pusher}),d=ce(!1),c=ce(!1),m=ce(!1),p=ce(!1),h=ce(!1),T=ce(null),C=ce(null),A=ce(!1),v=F(()=>t.record.publishings??[]),R=F(()=>t.recordType==="project"),D=F(()=>t.record.localHeroBooking??t.record.local_hero_booking),O=F(()=>t.record.receivedViaMls??t.record.received_via_mls),N=F(()=>t.record.updatedAt??t.record.updated_at),B=F(()=>t.record.objectType??t.record.object_type),q=F(()=>r.shopData.connections??[]),se=F(()=>R.value?x.value:q.value.filter(z=>!z.parentConnectionId||Qt(z))),oe=F(()=>r.hasRight("rightToExportToPortals")),G=se,x=F(()=>CF(t.record,r.shopData.internationalCountry,q.value)),L=F(()=>new Map(q.value.map(z=>[z.id,z]))),J=(z,re)=>{if(z.portalId===re.id)return!0;const Ce=L.value.get(z.portalId??0);return(Ce==null?void 0:Ce.parentConnectionId)===re.id&&!Qt(Ce)},ne=z=>z.format===it.Is24&&q.value.some(re=>re.parentConnectionId===z.id&&!Qt(re)),H=(z,re)=>{if(!z.publishDate)return!1;if(ne(re)){const Ce=L.value.get(z.portalId??0);return(Ce==null?void 0:Ce.parentConnectionId)===re.id&&!Qt(Ce)}return J(z,re)},ie=F(()=>G.value.filter(z=>v.value.some(re=>H(re,z)))),pe=F(()=>se.value.filter(z=>v.value.some(re=>J(re,z)))),ge=F(()=>m.value&&!p.value),ke=F(()=>!O.value&&se.value.length>0),De=F(()=>t.field.readonly||c.value||!!D.value),{hasLocalHeroAccess:yt,hasOtoaAccess:It,localHeroDefaultPortal:nt}=$F({broker:r.broker,canManagePortals:oe,portals:se}),ct=F(()=>ge.value&&!!(nt.value&&yt(nt.value))),He=F(()=>o("detailView.portalExport.activeCount",{active:ie.value.length,total:se.value.length})),Dt=F(()=>o("detailView.portalExport.controlTitle")),V=F(()=>v.value.filter(z=>z.portalId===C.value)),X=F(()=>{const z=se.value.find(re=>re.id===C.value);return(z==null?void 0:z.format)===it.Facebook});ze(()=>N.value,()=>{Me()});const Z=()=>{var z,re,Ce,Ze,ut,Gt,Ct,En,mn,Re,bt,Ba;(re=(z=l.value)==null?void 0:z.off)==null||re.call(z,`cart_error@${t.record.id}`),(Ze=(Ce=l.value)==null?void 0:Ce.off)==null||Ze.call(Ce,`cart_success@${t.record.id}`),(Gt=(ut=l.value)==null?void 0:ut.off)==null||Gt.call(ut,`cart_info@${t.record.id}`),(En=(Ct=l.value)==null?void 0:Ct.on)==null||En.call(Ct,`cart_error@${t.record.id}`,hn=>{const ec=hn.duration||void 0;App.alert(hn.error_messages.join(", "),!0,ec),at.$emit("property-exported")}),(Re=(mn=l.value)==null?void 0:mn.on)==null||Re.call(mn,`cart_success@${t.record.id}`,async()=>{App.flashy(o("detailView.portalExport.exportSuccess")),await new Promise(hn=>setTimeout(hn,1e3)),at.$emit("property-exported")}),(Ba=(bt=l.value)==null?void 0:bt.on)==null||Ba.call(bt,`cart_info@${t.record.id}`,hn=>{App.flashy(hn.info_messages.join(", "),"warning"),at.$emit("property-exported")})},le=()=>{var z,re,Ce,Ze,ut,Gt;(re=(z=l.value)==null?void 0:z.off)==null||re.call(z,`cart_error@${t.record.id}`),(Ze=(Ce=l.value)==null?void 0:Ce.off)==null||Ze.call(Ce,`cart_success@${t.record.id}`),(Gt=(ut=l.value)==null?void 0:ut.off)==null||Gt.call(ut,`cart_info@${t.record.id}`)},ve=z=>{const re=pe.value.filter(Ce=>Ce.id===C.value).map(Ce=>Ce.id);n.mutation("exportProperties",{propertyIds:[t.record.id],portalIds:re,publishingId:z,modus:"DELETE",resourceType:t.recordType}).then(()=>{App.flashy(o("detailView.portalExport.publishingDeleted"))}).catch(i.handleError).finally(()=>{c.value=!1})},Oe=z=>{if(c.value)return;if(z==="ONLINE"&&ct.value){r.broker.localHeroAutoPublish?me():(T.value=null,h.value=!0);return}const re=se.value;c.value=!0,n.mutation("exportProperties",{propertyIds:[t.record.id],portalIds:re.map(Ce=>Ce.id),modus:z,localHeroCurrentlyBooked:p.value,resourceType:t.recordType}).then(()=>{z==="ONLINE"&&at.$emit("property-export-started",{propertyId:t.record.id}),App.flashy(o(z==="OFFLINE"?"detailView.portalExport.deactivateAllSuccess":"detailView.portalExport.exportAllSuccess"))}).catch(i.handleError).finally(()=>{c.value=!1})},be=()=>{A.value=!1,Oe("OFFLINE")},me=()=>{n.mutation("exportPropertyAsLocalHero",{propertyId:t.record.id,portalId:T.value?T.value.id:null,publishEverywhereAfterwards:!T.value},"localHeroBooking { createdAt startsAt endsAt }
12881").then(({localHeroBooking:z})=>{at.$emit("property-export-started",{propertyId:t.record.id}),t.record.skipDirty=!0,t.record.updated_at=window.moment().format(),t.record.local_hero_booking=z,App.flashy(o("detailView.portalExport.localHeroExportStarted"))}).catch(i.handleError)},Me=async()=>{var Ce;if(t.recordType!=="property"||!((Ce=r.shopData.allEnabledExtensions)!=null&&Ce.includes("local_hero")))return;const z=await a(RF,{id:t.record.id});z!=null&&z.localHeroAvailable||console.error("No local hero availability info received");const re=(z==null?void 0:z.localHeroAvailable)??{generally:!1,currentlyBooked:!1};m.value=re.generally,p.value=re.currentlyBooked},Nt=z=>{yt(z)&&(T.value=z,r.broker.localHeroAutoPublish?me():h.value=!0)},We=z=>{if(!It(z))return!1;const re=v.value.some(Ce=>J(Ce,z));return!D.value&&B.value===Gs.Living&&re},Xd=z=>{const re=v.value.find(Ze=>J(Ze,z)),Ce=re==null?void 0:re.scoutTicketUrl;at.$emit("quick-view",{type:"OTA",mode:"edit",params:{url:Ce}})};return At(()=>{Z(),Me()}),Zn(()=>{le()}),(z,re)=>{const Ce=I("nice-tooltip"),Ze=I("nice-button"),ut=I("NiceIconNeo"),Gt=I("promo-highlighter"),Ct=I("fa-icon"),En=I("nice-dialog"),mn=I("nice-alert");return ke.value?(u(),y("div",DF,[oe.value&&ct.value?(u(),y("div",NF,[g(Sl,null,{actions:k(()=>[g(Ze,{icon:"clock",iconSet:"neo",type:"primary",disabled:De.value||!E(nt),onClick:re[0]||(re[0]=Re=>E(nt)&&Nt(E(nt)))},{default:k(()=>[g(Ce,{content:z.$t("localHero.publish")},{default:k(()=>[Y(S(z.$t("localHero.publish")),1)]),_:1},8,["content"])]),_:1},8,["disabled"])]),default:k(()=>[f("p",{innerHTML:z.$t("localHero.hint")},null,8,OF)]),_:1})])):P("",!0),f("section",{class:U(["portal-control-card",{"is-expanded":d.value}])},[f("header",EF,[f("button",{type:"button",class:"portal-control-card__toggle","aria-expanded":d.value,"aria-label":z.$t(d.value?"detailView.portalExport.collapse":"detailView.portalExport.expand"),onClick:re[1]||(re[1]=Re=>d.value=!d.value)},[f("span",{class:U(["portal-control-card__status-dot",{"is-active":ie.value.length>0}])},null,2),f("span",VF,[g(ut,{name:"globe",size:"small"})]),f("span",LF,[f("strong",BF,S(Dt.value),1),f("span",UF,S(He.value),1)])],8,MF),oe.value?(u(),y("div",qF,[g(Ze,{icon:"deactivate",iconSet:"neo",size:"small",plain:"",loading:c.value,disabled:De.value||ie.value.length===0,"hide-text-when-small":"",onClick:re[2]||(re[2]=ae(Re=>A.value=!0,["stop"]))},{default:k(()=>[Y(S(z.$t("detailView.portalExport.deactivateAll")),1)]),_:1},8,["loading","disabled"]),g(Ze,{icon:"globe",iconSet:"neo",type:"primary",size:"small",loading:c.value,disabled:De.value,"hide-text-when-small":"",onClick:re[3]||(re[3]=ae(Re=>Oe("ONLINE"),["stop"]))},{default:k(()=>[Y(S(z.$t("detailView.portalExport.publishAll")),1)]),_:1},8,["loading","disabled"]),g(Ze,{iconSet:"neo",icon:d.value?"chevron-up":"chevron-down",iconOnly:"",size:"small",type:"info",title:z.$t(d.value?"detailView.portalExport.collapse":"detailView.portalExport.expand"),onClick:re[4]||(re[4]=ae(Re=>d.value=!d.value,["stop"]))},null,8,["icon","title"])])):P("",!0)]),d.value?(u(),y("div",xF,[(u(!0),y(ee,null,Te(E(G),Re=>(u(),w(qd,{key:Re.id,record:e.record,portal:Re,portals:q.value,exporting:c.value,"local-hero-available":ge.value&&!E(Qt)(Re)&&E(yt)(Re),"local-hero-currently-booked":p.value,disabled:e.field.readonly,"record-type":e.recordType,onExportSuccess:re[5]||(re[5]=bt=>m.value=!1),onShowLocalHero:bt=>Nt(Re),onShowPublishingsModal:re[6]||(re[6]=bt=>C.value=bt)},{default:k(()=>[We(Re)?(u(),y("div",zF,[g(Gt,{class:"portal-control-ota__label"},{default:k(()=>[Y(S(z.$t("detailView.portalExport.ota.title")),1)]),_:1}),f("span",null,S(z.$t("detailView.portalExport.ota.description")),1),f("button",{onClick:ae(bt=>Xd(Re),["prevent"]),class:"portal-control-ota__button"},[g(Ct,{name:"chart-line",class:"mr-2"}),Y(" "+S(z.$t("detailView.portalExport.ota.book")),1)],8,GF)])):P("",!0)]),_:2},1032,["record","portal","portals","exporting","local-hero-available","local-hero-currently-booked","disabled","record-type","onShowLocalHero"]))),128))])):P("",!0)],2),g(En,{title:z.$t("detailView.portalExport.deactivateAllConfirmTitle"),"model-value":A.value,onClose:re[8]||(re[8]=Re=>A.value=!1)},{footer:k(()=>[g(Ze,{plain:"",onClick:re[7]||(re[7]=Re=>A.value=!1)},{default:k(()=>
12881[Y(S(z.$t("detailView.portalExport.deactivateAllConfirmCancel")),1)]),_:1}),g(Ze,{"data-testid":"confirm-unpublish-everywhere",type:"primary",loading:c.value,onClick:be},{default:k(()=>[Y(S(z.$t("detailView.portalExport.deactivateAllConfirmAction")),1)]),_:1},8,["loading"])]),default:k(()=>[f("p",null,S(z.$t("detailView.portalExport.deactivateAllConfirmDescription")),1)]),_:1},8,["title","model-value"]),g(En,{title:z.$t("detailView.portalExport.publishings"),width:"500px","model-value":!!C.value,onClose:re[9]||(re[9]=Re=>C.value=null)},{default:k(()=>[X.value?P("",!0):(u(),w(mn,{key:0,class:"-mt-4 mb-2"},{default:k(()=>[g(Ct,{name:"info-circle",class:"mr-2"}),Y(" "+S(z.$t("detailView.portalExport.instagramDeleteDesc")),1)]),_:1})),(u(!0),y(ee,null,Te(V.value,Re=>(u(),y("div",{key:Re.id,class:"standardList-item justify-between"},[f("span",null,S(z.$customFilters.datetime(Re.publishDate)),1),f("div",null,[Re.postUrl?(u(),y("a",{key:0,href:Re.postUrl,target:"_blank",class:"standardList-remove portal-control-modal-link"},[g(Ct,{name:"external-link"})],8,jF)):P("",!0),X.value?(u(),y("a",{key:1,href:"#",onClick:ae(bt=>ve(Re.id),["prevent"]),class:"standardList-remove ml-3"},[g(Ct,{name:"trash-alt"})],8,HF)):P("",!0)])]))),128))]),_:1},8,["title","model-value"]),g(Ud,{visible:h.value,"onUpdate:visible":re[10]||(re[10]=Re=>h.value=Re),record:e.record,portal:T.value},null,8,["visible","record","portal"])])):P("",!0)}}}),WF=K({__name:"PortalExport",props:{record:{},field:{},recordType:{default:"property"}},setup(e){const t=e;return(n,i)=>(u(),w(xd,{record:t.record,field:t.field,"record-type":t.recordType},null,8,["record","field","record-type"]))}}),KF=K({props:["record","field","recordType"],components:{RelationshipItem:Ei,RelationshipForm:Mi},setup(){const{isNeoTheme:e}=Ee();return{isNeoTheme:e}},data(){return{visible:!1}},methods:{remove(e){this.$axios.delete(`/services/relationships/${e.id}`).then(t=>{App.flashy(this.$t("detailView.relationship.removeSuccess")),this.record.skipDirty=!0,this.record.updated_at=window.moment().format(),this.record.relationships=this.record.relationships.filter(n=>n.id!=e.id)}).catch(this.$axios.handleError)},openRsForm(){this.visible=!0},rsAdded(e){this.record.skipDirty=!0,this.record.updated_at=window.moment().format(),this.record.relationships.push(e)}},computed:{relationships(){return this.record.relationships.filter(e=>e.name==this.field.formField.label).map(e=>({...e,name:null}))},newUrl(){return`/services/relationships/new?internal_name=partner&${this.record.publishings?"property_id":"project_id"}=${this.record.id}&name=${this.field.formField.label}`},initialRs(){return{internalName:"partner",name:this.field.formField.label,propertyId:this.recordType=="property"?this.record.id:null,projectId:this.recordType=="project"?this.record.id:null,clientId:null,relatedClientId:null}}}}),YF=["title"],QF={key:0,class:"w-100"},ZF={key:1,class:"mt-1"},JF={key:2,class:"text-muted mt-1"};function XF(e,t,n,i,r,a){const o=I("nice-button"),s=I("nice-tooltip"),l=I("fa-icon"),d=I("relationship-item"),c=I("relationship-form"),m=I("dv-row");return u(),w(m,{hint:e.field.hint},{label:k(()=>[Y(S(e.field.formField.label)+" "+S(e.field.mandatory?"*":"")+" ",1),!e.field.readonly&&e.relationships.length>0?(u(),y(ee,{key:0},[e.isNeoTheme?(u(),w(s,{key:0,content:e.$t("detailView.relationship.add"),placement:"top"},{default:k(()=>[e.isNeoTheme?(u(),w(o,{key:0,icon:"plus",iconSet:"neo",iconOnly:"",class:"ml-2",size:"small",onClick:t[0]||(t[0]=ae(p=>e.openRsForm(),["prevent"]))})):P("",!0)]),_:1},8,["content"])):(u(),y("a",{key:1,href:"#",title:e.$t("detailView.relationship.add"),class:"text-muted ml-1 fs-12",onClick:t[1]||(t[1]=ae(p=>e.openRsForm(),["prevent"]))},[g(l,{name:"plus",class:"mr-1"})],8,YF))],64)):P("",!0)]),default:k(()=>[e.relationships.length>0?(u(),y("div",QF,[(u(!0),y(ee,null,Te(e.relationships,p=>(u(),w(d,{key:p.id,rs:p,onRemove:e.remove,recordType:e.recordType},null,8,["rs","onRemove","recordType"]))),128))])):!e.field.readonly&&e.record.id?(u(),y("p",ZF,[e.isNeoTheme?(u(),w(o,{key:0,icon:"plus",iconSet:"neo",size:"small",onClick:t[2]||(t[2]=ae(p=>e.openRsForm(),["prevent"]))},{default:k(()=>
12881[Y(S(e.$t("detailView.relationship.addConfirm")),1)]),_:1})):(u(),y("a",{key:1,href:"#",class:"text-muted",onClick:t[3]||(t[3]=ae((...p)=>e.openRsForm&&e.openRsForm(...p),["prevent"]))},[g(l,{name:"plus",class:"mr-1"}),Y(" "+S(e.$t("detailView.relationship.addConfirm")),1)]))])):(u(),y("p",JF,S(e.$t("detailView.relationship.empty")),1)),g(c,{initialRs:e.initialRs,visible:e.visible,"onUpdate:visible":t[4]||(t[4]=p=>e.visible=p),onCreate:e.rsAdded},null,8,["initialRs","visible","onCreate"])]),_:1},8,["hint"])}const zd=te(KF,[["render",XF]]),e$=Object.freeze(Object.defineProperty({__proto__:null,default:zd},Symbol.toStringTag,{value:"Module"})),e6={key:0,class:"py-4 text-center text-extra-light text-sm"},t6={key:1,class:"py-2 text-sm text-red-500"},n6={key:2,class:"py-2 text-sm text-extra-light"},i6={key:3,class:"w-full text-sm border-collapse"},r6={class:"border-b border-gray-200 text-left text-light text-xs uppercase tracking-wide"},a6={class:"pb-2 pr-3 font-medium"},o6={class:"pb-2 pr-3 font-medium"},s6={class:"pb-2 pr-3 font-medium"},l6={class:"pb-2 pr-3 font-medium"},d6={class:"pb-2 pr-3 font-medium"},c6={class:"pb-2 font-medium"},u6={class:"py-1.5 pr-3"},p6={class:"py-1.5 pr-3"},m6={class:"py-1.5 pr-3"},h6={class:"py-1.5 pr-3"},f6={class:"py-1.5 pr-3"},g6={class:"py-1.5"},y6={key:1},b6={key:0,class:"border-t border-gray-300 text-xs text-light"},v6={class:"pt-2 pr-3 font-medium"},I6={class:"pt-2 pr-3 font-medium"},C6={class:"pt-2 pr-3 font-medium"},S6=K({__name:"RentalUnitsTable",props:{record:{},field:{}},setup(e){const t=e,{graphql:n}=je(),{state:i,isLoading:r,error:a}=ha(async()=>{const{property:{children:c}}=await n(`
12882      query RentalUnitsTable($id: ID!) {
12883        property(id: $id) {
12884          children {
12885            id
12886            propertyStatusId
12887            floor
12888            rsTypeLabel
12889            minDivisible
12890            usableFloorSpace
12891            price
12892            baseRent
12893            totalRent
12894            marketingType
12895            archived
12896            propertyStatus {
12897              disableExposeLandingPage
12898            }
12899          }
12900        }
12901      }
12902    `,{id:t.record.id});return c.filter(m=>!m.archived)},[]),o=c=>c.marketingType==="RENT"?c.totalRent??c.baseRent:c.price,s=c=>{var m;return((m=c.propertyStatus)==null?void 0:m.disableExposeLandingPage)!==!0},l=F(()=>i.value.reduce((c,m)=>m.usableFloorSpace!=null?c+m.usableFloorSpace:c,0)),d=F(()=>i.value.reduce((c,m)=>{const p=o(m);return p!=null?c+p:c},0));return(c,m)=>{const p=I("nice-spinner");return E(r)?(u(),y("div",e6,[g(p)])):E(a)?(u(),y("div",t6,S(c.$t("errors.general")),1)):E(i).length===0?(u(),y("div",n6,S(c.$t("property.inheritFieldsModal.noChildren")),1)):(u(),y("table",i6,[f("thead",null,[f("tr",r6,[f("th",a6,S(c.$t("property.childrenTab.filter.selectFloor")),1),f("th",o6,S(c.$t("properties.customPropertyColumns.rs_type_label")),1),f("th",s6,S(c.$t("properties.customPropertyColumns.min_divisible")),1),f("th",l6,S(c.$t("properties.customPropertyColumns.usable_floor_space")),1),f("th",d6,S(c.$t("property.childrenTab.filter.rent")),1),f("th",c6,S(c.$t("properties.customPropertyColumns.property_status_id")),1)])]),f("tbody",null,[(u(!0),y(ee,null,Te(E(i),h=>(u(),y("tr",{key:h.id,class:U(["border-b border-gray-100 last:border-0",s(h)?"font-semibold":"text-extra-light"])},[f("td",u6,S(h.floor??"–"),1),f("td",p6,S(h.rsTypeLabel??"–"),1),f("td",m6,S(h.minDivisible!=null?E(zn)(h.minDivisible,"m2"):"–"),1),f("td",h6,S(h.usableFloorSpace!=null?E(zn)(h.usableFloorSpace,"m2"):"–"),1),f("td",f6,S(o(h)!=null?E(ui)(o(h)):"–"),1),f("td",g6,[h.propertyStatusId!=null?(u(),w(Ta,{key:0,propertyStatusId:h.propertyStatusId},null,8,["propertyStatusId"])):(u(),y("span",y6,"–"))])],2))),128))]),E(i).length>1?(u(),y("tfoot",b6,[f("tr",null,[f("td",v6,S(E(i).length)+" "+S(c.$t("property.childrenTab.tab")),1),m[0]||(m[0]=f("td",{class:"pt-2 pr-3"},null,-1)),m[1]||(m[1]=f("td",{class:"pt-2 pr-3"},null,-1)),f("td",I6,S(l.value>0?E(zn)(l.value,"m2"):"–"),1),f("td",C6,S(d.value>0?E(ui)(d.value):"–"),1),m[2]||(m[2]=f("td",{class:"pt-2"},null,-1))])])):P("",!0)]))}}}),_6={class:"relative w-full"}
12902,k6={key:0,class:"absolute left-[-30px] top-[4px]"},T6=K({__name:"ScoutContactCascader",props:{field:{},record:{}},setup(e){const{db:t,axios:n}=je(),{isNeoTheme:i}=Ee(),r=ce(!1),a=F({get:()=>e.record[e.field.fieldName]??null,set:c=>{e.record[e.field.fieldName]=c??null}}),o=F(()=>{var c;return eI(((c=t.shopData)==null?void 0:c.scoutContacts)||[],a.value)}),s=(c,m)=>(c==null?void 0:c.toLowerCase().includes(m))||!1,l=(c,m)=>{var T;const p=m.trim().toLowerCase();if(!p)return!0;const h=c.data;return s((h==null?void 0:h.label)||c.label||c.text,p)?!0:!!(h&&"children"in h&&((T=h.children)!=null&&T.some(C=>s(C.label,p))))},d=()=>{r.value||!e.field.formField.dbOptions||(r.value=!0,t.refetchCachedData(e.field.formField.dbOptions).catch(n.handleError).finally(()=>{r.value=!1}))};return(c,m)=>{const p=I("nice-cascader"),h=I("nice-button"),T=I("fa-icon"),C=I("nice-tooltip");return u(),y("div",_6,[g(p,{modelValue:a.value,"onUpdate:modelValue":m[0]||(m[0]=A=>a.value=A),disabled:e.field.readonly,options:o.value,props:{emitPath:!1},placeholder:c.$t("detailView.placeholder"),clearable:"",filterable:"","filter-method":l},null,8,["modelValue","disabled","options","placeholder"]),e.field.formField.refetchable?(u(),w(C,{key:0,content:c.$t("detailView.reloadOptions")},{default:k(()=>[E(i)?(u(),y("span",k6,[g(h,{size:"xsmall",iconSet:"neo",icon:"refresh",iconOnly:"",onClick:d,loading:r.value},null,8,["loading"])])):(u(),y("a",{key:1,href:"#",class:U(["absolute -left-5 text-sm top-2 text-subtle",{"animate-spin":r.value}]),onClick:ae(d,["prevent"])},[g(T,{name:"sync"})],2))]),_:1},8,["content"])):P("",!0)])}}}),ni={locale:"de",courtage:"",courtageNote:"",customFields:{},deposit:"",freeFrom:"",title:"",descriptionNote:"",shortNote:"",locationNote:"",furnishingNote:"",otherNote:"",longDescriptionNote:"",longLocationNote:"",longFurnishingNote:"",longOtherNote:""},w6=K({emits:["close","complete"],props:{locale:{type:String},propertyId:{type:Number},translations:{type:Array}},data(){return{editable:null,autoTranslating:!1,autoTranslationCompleted:!1}},watch:{locale(e){if(!this.locale)return this.editable=null;const t=this.translations.find(n=>n.locale==e);if(t){this.editable={...ni,...JSON.parse(JSON.stringify(t)),customFields:JSON.parse(JSON.stringify(t.customFields||{}))};return}this.$graphql(`{
12903        shop {
12904          defaultCourtageEn defaultCourtageNoteEn defaultOtherNoteEn
12905          defaultCourtageEs defaultCourtageNoteEs defaultOtherNoteEs
12906        }
12907      }`).then(({shop:n})=>{this.locale=="en"?this.editable={...ni,courtage:n.defaultCourtageEn,courtageNote:n.defaultCourtageNoteEn,otherNote:n.defaultOtherNoteEn,customFields:{},locale:e}:this.locale=="es"?this.editable={...ni,courtage:n.defaultCourtageEs,courtageNote:n.defaultCourtageNoteEs,otherNote:n.defaultOtherNoteEs,customFields:{},locale:e}:this.editable={...ni,customFields:{},locale:e}})}},methods:{async submit(){await i_({id:this.propertyId,locale:this.locale,attributes:_.omit(this.editable,"locale")})},complete(){this.$emit("complete",this.editable),App.flashy(this.$t("detailView.translations.updateSuccess")),at.$emit("property-update")},updateVisible(e){e||(this.autoTranslationCompleted=!1,this.$emit("close"))},async autoTranslate(){try{this.autoTranslating=!0;const e=await this.$api.mutation("translatePropertyTexts",{resourceId:this.propertyId,resourceType:"property",targetLang:this.locale},["title","descriptionNote","shortNote","locationNote","furnishingNote","otherNote","longDescriptionNote","longLocationNote","longFurnishingNote","longOtherNote","courtage","courtageNote","deposit","freeFrom","customFields"].join(" "));this.editable={...this.editable,...e,customFields:{...this.editable.customFields||{},...e.customFields||{}}},this.$nextTick(()=>{e.longDescriptionNote&&this.$refs.longDescriptionNoteEditor&&this.$refs.longDescriptionNoteEditor.setValue(e.longDescriptionNote),e.longLocationNote&&this.$refs.longLocationNoteEditor&&this.$refs.longLocationNoteEditor.setValue(e.longLocationNote),e.longFurnishingNote&&this.$refs.longFurnishingNoteEditor&&this.$refs.longFurnishingNoteEditor.setValue(e.longFurnishingNote),e.longOtherNote&&this.$refs.longOtherNoteEditor&&this.$refs.longOtherNoteEditor.setValue(e.longOtherNote)}),this.autoTranslationCompleted=!0}catch(e){this.$axios.handleError(e)}finally{this.autoTranslating=!1}}}
12907,computed:{title(){return this.$t("detailView.translations.formTitle",{lang:Ft[this.locale]})},visible(){return!!this.locale},characterLimits(){return(this.$db.broker.propertyDetailViewGroups||[]).flatMap(t=>t.detailViewFields).reduce((t,n)=>(n.characterLimit&&(t[n.fieldName]=n.characterLimit),t),{})},translatableCustomFields(){return(this.$db.shopData.customFieldGroupsForProperties||[]).flatMap(e=>e.customFields||[]).filter(e=>e.translationAvailable&&["String","Text"].includes(e.fieldType)).map(e=>({name:e.name,label:e.title||e.prettyName,fieldType:e.fieldType}))}}}),F6={key:0,class:"flex justify-end"},P6={class:"text-green-600"},A6={class:"relative w-full"},$6={class:"relative w-full"},R6={class:"relative w-full"},D6={class:"relative w-full"},N6={class:"relative w-full"};function O6(e,t,n,i,r,a){const o=I("nice-button"),s=I("nice-input"),l=I("form-row"),d=I("form-section"),c=I("char-counter"),m=I("rich-textarea"),p=I("form-dialog");return u(),w(p,{visible:e.visible,"onUpdate:visible":e.updateVisible,"submit-func":e.submit,onComplete:e.complete,title:e.title,"append-to-body":!0},{default:k(()=>[e.editable?(u(),y(ee,{key:0},[e.$db.shopData.deeplConnected?(u(),y("header",F6,[g(o,{type:"text",size:"small",onClick:e.autoTranslate,class:"flex items-center",loading:e.autoTranslating,disabled:e.autoTranslationCompleted},{default:k(()=>[f("span",P6,S(e.$t("detailView.translations.autoTranslate")),1),t[14]||(t[14]=f("img",{src:$d,style:{height:"24px"},class:"ml-1"},null,-1))]),_:1},8,["onClick","loading","disabled"])])):P("",!0),g(d,null,{default:k(()=>[g(l,{title:e.$t("detailView.translations.title"),direction:"column"},{default:k(()=>[g(s,{size:"small",modelValue:e.editable.title,"onUpdate:modelValue":t[0]||(t[0]=h=>e.editable.title=h)},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("detailView.translations.availability"),direction:"column"},{default:k(()=>[g(s,{size:"small",modelValue:e.editable.freeFrom,"onUpdate:modelValue":t[1]||(t[1]=h=>e.editable.freeFrom=h)},null,8,["modelValue"])]),_:1},8,["title"])]),_:1}),g(d,null,{default:k(()=>[g(l,{title:e.$t("detailView.translations.deposit"),direction:"column"},{default:k(()=>[g(s,{size:"small",modelValue:e.editable.deposit,"onUpdate:modelValue":t[2]||(t[2]=h=>e.editable.deposit=h)},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("detailView.translations.courtage"),direction:"column"},{default:k(()=>[g(s,{size:"small",modelValue:e.editable.courtage,"onUpdate:modelValue":t[3]||(t[3]=h=>e.editable.courtage=h)},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("detailView.translations.courtageNote"),direction:"column"},{default:k(()=>[g(s,{type:"textarea",modelValue:e.editable.courtageNote,"onUpdate:modelValue":t[4]||(t[4]=h=>e.editable.courtageNote=h),autosize:{minRows:3,maxRows:30}},null,8,["modelValue"])]),_:1},8,["title"])]),_:1}),e.translatableCustomFields.length?(u(),w(d,{key:1},{default:k(()=>[(u(!0),y(ee,null,Te(e.translatableCustomFields,h=>(u(),w(l,{key:h.name,title:h.label,direction:"column"},{default:k(()=>[h.fieldType==="String"?(u(),w(s,{key:0,size:"small",modelValue:e.editable.customFields[h.name],"onUpdate:modelValue":T=>e.editable.customFields[h.name]=T},null,8,["modelValue","onUpdate:modelValue"])):(u(),w(s,{key:1,type:"textarea",modelValue:e.editable.customFields[h.name],"onUpdate:modelValue":T=>e.editable.customFields[h.name]=T,autosize:{minRows:3,maxRows:30}},null,8,["modelValue","onUpdate:modelValue"]))]),_:2},1032,["title"]))),128))]),_:1})):P("",!0),g(d,null,{default:k(()=>[g(l,{title:e.$t("properties.formFields.short_note"),direction:"column"},{default:k(()=>[f("div",A6,[g(s,{type:"textarea",modelValue:e.editable.shortNote,"onUpdate:modelValue":t[5]||(t[5]=h=>e.editable.shortNote=h),autosize:{minRows:2,maxRows:8}},null,8,["modelValue"]),g(c,{count:e.editable.shortNote?e.editable.shortNote.length:0,total:e.characterLimits.short_note||300,placement:"corner"},null,8,["count","total"])])]),_:1},8,["title"]),g(l,{title:e.$t("properties.formFields.description_note"),direction:"column"},{default:k(()=>[f("div",$6,[g(s,{type:"textarea",modelValue:e.editable.descriptionNote,"onUpdate:modelValue":t[6]||(t[6]=h=>e.editable.descriptionNote=h),autosize:{minRows:3,maxRows:30}},null,8,["modelValue"]),g(c,{count:e.editable.descriptionNote?e.editable.descriptionNote.length:0,total:e.characterLimits.description_note,placement:"corner"},null,8,["count","total"])])]),_:1},8,["title"]),g(l,{title:e.$t("properties.formFields.location_note"),direction:"column"},{default:k(()=>[f("div",R6,[g(s,{type:"textarea",modelValue:e.editable.locationNote,"onUpdate:modelValue":t[7]||(t[7]=h=>e.editable.locationNote=h),autosize:{minRows:3,maxRows:30}},null,8,["modelValue"]),g(c,{count:e.editable.locationNote?e.editable.locationNote.length:0,total:e.characterLimits.location_note,placement:"corner"},null,8,["count","total"])])]),_:1},8,["title"]),g(l,{title:e.$t("properties.formFields.furnishing_note"),direction:"column"},{default:k(()=>[f("div",D6,[g(s,{type:"textarea",modelValue:e.editable.furnishingNote,"onUpdate:modelValue":t[8]||(t[8]=h=>e.editable.furnishingNote=h),autosize:{minRows:3,maxRows:30}},null,8,["modelValue"]),g(c,{count:e.editable.furnishingNote?e.editable.furnishingNote.length:0,total:e.characterLimits.furnishing_note,placement:"corner"},null,8,["count","total"])])]),_:1},8,["title"]),g(l,{title:e.$t("properties.formFields.other_note"),direction:"column"},{default:k(()=>[f("div",N6,[g(s,{type:"textarea",modelValue:e.editable.otherNote,"onUpdate:modelValue":t[9]||(t[9]=h=>e.editable.otherNote=h),autosize:{minRows:3,maxRows:30}},null,8,["modelValue"]),g(c,{count:e.editable.otherNote?e.editable.otherNote.length:0,total:e.characterLimits.other_note,placement:"corner"},null,8,["count","total"])])]),_:1},8,["title"])]),_:1}),g(d,null,{default:k(()=>[g(l,{title:e.$t("properties.formFields.long_description_note"),direction:"column"},{default:k(()=>[g(m,{ref:"longDescriptionNoteEditor",modelValue:e.editable.longDescriptionNote,"onUpdate:modelValue":t[10]||(t[10]=h=>e.editable.longDescriptionNote=h)},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("properties.formFields.long_location_note"),direction:"column"},{default:k(()=>[g(m,{ref:"longLocationNoteEditor",modelValue:e.editable.longLocationNote,"onUpdate:modelValue":t[11]||(t[11]=h=>e.editable.longLocationNote=h)},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("properties.formFields.long_furnishing_note"),direction:"column"},{default:k(()=>[g(m,{ref:"longFurnishingNoteEditor",modelValue:e.editable.longFurnishingNote,"onUpdate:modelValue":t[12]||(t[12]=h=>e.editable.longFurnishingNote=h)},null,8,["modelValue"])]),_:1},8,["title"]),g(l,{title:e.$t("properties.formFields.long_other_note"),direction:"column"},{default:k(()=>[g(m,{ref:"longOtherNoteEditor",modelValue:e.editable.longOtherNote,"onUpdate:modelValue":t[13]||(t[13]=h=>e.editable.longOtherNote=h)},null,8,["modelValue"])]),_:1},8,["title"])]),_:1})],64)):P("",!0)]),_:1},8,["visible","onUpdate:visible","submit-func","onComplete","title"])}const Gd=te(w6,[["render",O6]]),t$=Object.freeze(Object.defineProperty({__proto__:null,default:Gd},Symbol.toStringTag,{value:"Module"})),E6={locale:null,courtage:null,courtageNote:null,customFields:{},deposit:null,freeFrom:null,title:null,descriptionNote:null,locationNote:null,furnishingNote:null,otherNote:null,longDescriptionNote:null,longLocationNote:null,longFurnishingNote:null,longOtherNote:null},M6=K({props:["record","field"],components:{TranslationDialog:Gd,ConnectionItem:On},data(){return{selectedLocale:null,languagesMapping:this.$db.shopData.supportedLanguages.reduce((e,t)=>
12907(e[t.id]=t.name,e),{})}},computed:{supportedLanguages(){return(this.$db.shopData.supportedPropertyLocales||[]).reduce((e,t)=>(e[t]=Ft[t],e),{})},activeTranslations(){return(this.record.translations||[]).reduce((e,t)=>{const{locale:n,customFields:i,...r}=t,a=i||{},o=Object.values(r).some(l=>l!==null&&l!==""),s=Object.values(a).some(l=>l!==null&&l!=="");return{...e,[n]:o||s}},{})}},methods:{languageSaved(e){this.record.skipDirty=!0,this.record.updated_at=moment().format(),this.record.translations=this.record.translations.filter(t=>t.locale!=e.locale).concat([e]),this.selectedLocale=null},clearTranslation(e){this.$warn({title:this.$t("detailView.translations.delete.title",{locale:Ft[e]}),desc:this.$t("detailView.translations.delete.desc"),confirmButtonText:this.$t("detailView.translations.delete.submit"),redButton:!0},()=>{this.$api.mutation("deleteTranslations",{id:this.record.id,locale:e,resourceType:"property"}).then(()=>{this.record.skipDirty=!0,this.record.updated_at=window.moment().format();const t=[E6].map(n=>({...n,customFields:{},locale:e}));this.record.translations=this.record.translations.map(n=>t.find(i=>i.locale===n.locale)||n),App.flashy(this.$t("detailView.translations.delete.success",{locale:Ft[e]}))}).catch(this.$axios.handleError)})}},mounted(){}}),V6={class:"flex flex-col w-100"},L6={class:"flex items-center"};function B6(e,t,n,i,r,a){const o=I("translation-dialog"),s=I("connection-item"),l=I("dv-row");return u(),w(l,{label:`${e.field.formField.label} ${e.field.mandatory?"*":""}`,hint:e.field.hint,field:e.field},{default:k(()=>[g(o,{locale:e.selectedLocale,translations:e.record.translations,"property-id":e.record.id,onClose:t[0]||(t[0]=d=>e.selectedLocale=null),onComplete:e.languageSaved},null,8,["locale","translations","property-id","onComplete"]),f("div",V6,[(u(!0),y(ee,null,Te(e.$db.shopData.supportedPropertyLocales,d=>(u(),w(s,{key:d,onEdit:c=>e.selectedLocale=d,onClick:c=>e.selectedLocale=d,onRemove:c=>e.clearTranslation(d),deleteTitle:e.$t("detailView.translations.deleteBtn")},{default:k(()=>[f("span",L6,[f("div",{class:U(["w-3 h-3 rounded-full ml-1 mr-2",e.activeTranslations[d]?"bg-green-400":"bg-gray-300"])},null,2),Y(" "+S(e.languagesMapping[d]),1)])]),_:2},1032,["onEdit","onClick","onRemove","deleteTitle"]))),128))])]),_:1},8,["label","hint","field"])}const jd=te(M6,[["render",B6]]),n$=Object.freeze(Object.defineProperty({__proto__:null,default:jd},Symbol.toStringTag,{value:"Module"})),U6=K({props:["record","field"],computed:{rsTypeCategories(){return Rt(this.$db).getRsTypeCategories()},allowedRsTypeCategories(){const{allowedRsTypesInSavedQueries:e,forbiddenRsCategories:t}=this.$db.shopData;return this.rsTypeCategories.filter(n=>e.length<=0||e.includes(n.value)||this.selectedRsTypes.includes(n.value)).map(n=>({...n,children:n.children.filter(i=>t.length<=0||!t.includes(i.value)||this.selectedRsCategories.includes(i.value))}))},rsCategories(){const e=this.$db.shopData.customCategories.filter(n=>!this.record.marketing_type||n.objectType==this.record.marketing_type).map(n=>({...n,label:n.name,value:n.id}));return this.allowedRsTypeCategories.map(n=>({...n,children:n.value=="TRADE_SITE"?void 0:n.children.concat(e.filter(i=>i.rsType==n.value)),disabled:this.selectedRsTypes.length>0&&!this.selectedRsTypes.includes(n.value)}))},selectedRsTypes(){return(this.record.rs_type_categories||[]).map(e=>e[0])},selectedRsCategories(){return(this.record.rs_type_categories||[]).map(e=>e[1])}}});function q6(e,t,n,i,r,a){const o=I("nice-cascader");return u(),w(o,{props:{multiple:!0},class:"w-full",modelValue:e.record.rs_type_categories,"onUpdate:modelValue":t[0]||(t[0]=s=>e.record.rs_type_categories=s),options:e.rsCategories,placeholder:e.$t("client.queries.form.propertyTypePh"),"collapse-tags":"",clearable:""},null,8,["modelValue","options","placeholder"])}const Hd=te(U6,[["render",q6]]),i$=Object.freeze(Object.defineProperty({__proto__:null,default:Hd},Symbol.toStringTag,{value:"Module"})),x6=K({props:["record","field"],components:{CitySelect:kl}});function z6(e,t,n,i,r,a){const o=I("nice-select"),s=I("CitySelect");return e.$db.shopData.useStaticDropdownForCitySelect?(u(),w(o,{key:0,filterable:"",multiple:"","allow-create":"","default-first-option":"",modelValue:e.record.cities,"onUpdate:modelValue":t[0]||(t[0]=l=>e.record.cities=l),placeholder:e.$t("client.queries.form.cityPh"),options:e.$db.shopData.cities.map(l=>({id:l,name:l}))},null,8,["modelValue","placeholder","options"])):(u(),w(s,{key:1,modelValue:e.record.cities,"onUpdate:modelValue":t[1]||(t[1]=l=>e.record.cities=l),"sells-internationally":e.$db.shopData.sellsInternationally,"international-country":e.$db.shopData.internationalCountry},null,8,["modelValue","sells-internationally","international-country"]))}const Wd=te(x6,[["render",z6]]),r$=Object.freeze(Object.defineProperty({__proto__:null,default:Wd},Symbol.toStringTag,{value:"Module"})),G6={props:{disabled:{type:Boolean,default:!1},title:{type:String},hint:{type:String},direction:{type:String,default:"row"},titleBold:{type:Boolean,default:!1},stopHintClickPropagation:{type:Boolean,default:!1}},computed:{inline(){return this.direction=="row"}}},j6=["disabled"],H6=["textContent"];function W6(e,t,n,i,r,a){const o=I("tip");return u(),y("li",{class:U(["formRow",{"formRow--column":this.direction=="column"}]),disabled:n.disabled||void 0},[n.title||e.$slots.label?(u(),y("div",{key:0,class:U(["formRow-label formRow-word-break",{"pt-2":this.direction=="row"}])},[et(e.$slots,"label",{},()=>[f("label",{class:U(["m-0 formRow-word-break",{"font-bold":n.titleBold}]),textContent:S(n.title)},null,10,H6),n.hint?(u(),w(o,{key:0,hint:n.hint,class:"ml-1"},null,8,["hint"])):P("",!0)],!0)],2)):P("",!0),f("div",{class:U(["formRow-body",{"mt-2":!a.inline}]),style:xe({display:a.inline?"flex":"block"})},[et(e.$slots,"default",{},void 0,!0)],6)],10,j6)}const Kd=te(G6,[["render",W6],["__scopeId","data-v-62ff8b0e"]]),a$=Object.freeze(Object.defineProperty({__proto__:null,default:Kd},Symbol.toStringTag,{value:"Module"})),Yd=({googleAPI:e,ref:t,zoom:n,color:i,center:r,initalShape:a,onShapeSelected:o,defaultType:s="polygon"})=>{const l=["polygon","circle"],{maps:d,core:c,drawing:m}=e;let p,h,T,C=[],A=a?a.type:s;const v=()=>{T&&(T.setEditable(!1),T=null)},R=x=>{v(),x.setEditable(!0),O(x.get("fillColor")||x.get("strokeColor")),T=x},D=()=>
12907{C.forEach(x=>x.setMap(null)),C=[],T=null,h.setOptions({drawingControl:!0})},O=x=>{const L=h.get("polylineOptions");L.strokeColor=x,h.set("polylineOptions",L);const J=h.get("rectangleOptions");J.fillColor=x,h.set("rectangleOptions",J);const ne=h.get("circleOptions");ne.fillColor=x,h.set("circleOptions",ne);const H=h.get("polygonOptions");H.fillColor=x,h.set("polygonOptions",H)},N=x=>{p.setCenter(x)},B=x=>{const L=parseInt(x);!T||T.type!=="circle"||L<=0||T.setRadius(L)},q=(x,L)=>{const J=parseInt(L);if(J<=0)return;D(),h.setDrawingMode(null);const ne=new d.Circle({center:x,radius:J,editable:!0,...G});ne.type="circle",ne.setMap(p),ne.id=Date.now(),oe(ne),R(ne),C.push(ne),setTimeout(()=>{p.fitBounds(ne.getBounds())})},se=x=>{const L=x.type;switch(L){case"polygon":o({values:x&&x.getPath?x.getPath().getArray().map(J=>[J.lng(),J.lat()]):[],type:L});break;case"circle":o({values:[[x.center.lng(),x.center.lat()],Math.floor(x.radius)],type:L});break}},oe=x=>{const L=x.type;switch(c.event.addListener(x,"click",function(){R(x)}),L){case"polygon":c.event.addListener(x,"rightclick",function(J){J.vertex&&(x.getPath().length<=3||x.getPaths().getAt(J.path).removeAt(J.vertex))}),x.getPaths().forEach(function(J){["insert_at","remove_at","set_at"].forEach(ne=>{c.event.addListener(J,ne,function(){se(x)})})});break;case"circle":["center_changed","radius_changed"].forEach(J=>{c.event.addListener(x,J,()=>{se(x)})});break}};p=new d.Map(t,{zoom:n,center:new c.LatLng(r[1],r[0]),mapTypeId:d.MapTypeId.ROADMAP,disableDefaultUI:!0,zoomControl:!0});const G={strokeWeight:0,fillOpacity:.45,editable:!0};if(h=new m.DrawingManager({drawingMode:A,drawingControlOptions:{drawingModes:l},markerOptions:{draggable:!0},polylineOptions:{editable:!0},rectangleOptions:G,circleOptions:G,polygonOptions:G,map:p}),O(i),a&&a.values&&a.values.length){h.setDrawingMode(null);let x;switch(a.type){case"polygon":x=new d.Polygon({path:a.values.map(J=>new c.LatLng(J[1],J[0])),editable:!0,...G});break;case"circle":x=new d.Circle({center:new c.LatLng(a.values[0][1],a.values[0][0]),radius:a.values[1],editable:!0,...G});break}x.type=a.type,x.setMap(p),x.id=Date.now(),R(x),C.push(x),oe(x);let L=new c.LatLngBounds;switch(a.type){case"polygon":x.getPath().getArray().forEach(J=>L.extend(J));break;case"circle":L.union(x.getBounds());break}setTimeout(()=>{p.fitBounds(L)})}return c.event.addListener(h,"overlaycomplete",function(x){if(x.type!=m.OverlayType.MARKER){D(),h.setDrawingMode(null),A=x.type;let L=x.overlay;L.type=x.type,L.id=Date.now(),oe(L),R(L),C.push(L),se(L)}}),c.event.addListener(h,"drawingmode_changed",v),c.event.addListener(p,"click",v),{clearSelection:v,removeAllShapes:D,setCenter:N,setCircle:q,setRadius:B}},K6={async setup(){return{googleAPI:await vb()}},props:{zoom:{type:Number,default:12},modelValue:{type:Object},color:{type:String},internationalCountry:{type:String},international:{type:Boolean,default:!1},mapHeight:{type:String,default:"66%"},disabled:{type:Boolean,default:!1},hint:{type:String,default:""},error:{type:Boolean,default:!1},mandatory:{type:Boolean,default:!1},queryApp:{type:Boolean,default:!1},defaultRadius:{type:Number}},data(e){return{drawer:null,autocomplete:null,search:"",showReset:e.modelValue,radius:e.modelValue&&e.modelValue.type==="circle"&&e.modelValue.values?e.modelValue.values[1]:void 0,showMap:!!e.modelValue,center:[0,0],forceRerenderMap:!1,keepMapVisibleAfterReset:!1}},components:{FormRow:Kd},watch:{modelValue:{handler(e){if(this.showReset=!!e,this.radius=e&&e.type==="circle"&&e.values?e.values[1]:void 0,!e){this.showMap=this.keepMapVisibleAfterReset,this.keepMapVisibleAfterReset=!1,this.showMap||(this.drawer=null,this.forceRerenderMap=!0);return}this.drawer||(this.showMap=!0,this.forceRerenderMap=!0)},deep:!0},disabled(){this.forceRerenderMap=!0},radius(e){var t;e===void 0||!((t=this.drawer)!=null&&t.setRadius)||this.drawer.setRadius(e)}},methods:{reset(){var e;this.showReset=!1,this.radius=void 0,this.showMap=!0,this.keepMapVisibleAfterReset=!0,this.$emit("update:modelValue",void 0),(e=this.drawer)==null||e.removeAllShapes()},setCenter(e){this.drawer.setCenter(e)},updateCircle(e,t){const n=[e.lng(),e.lat()];if(this.radius=t,this.showReset=!0,this.$emit("update:modelValue",{values:[n,t],type:"circle"}),!this.drawer){this.center=n;return}
12907this.drawer.setCircle(e,t)},selectPlace(e){var n;if(!e||!e.place_id||!((n=e.geometry)!=null&&n.location))return;const t=e.geometry.location;this.search="",this.showMap=!0,this.defaultRadius?this.updateCircle(t,this.defaultRadius):this.drawer?(this.reset(),this.setCenter(t)):this.center=[t.lng(),t.lat()]},async initAutocomplete(){if(this.autocomplete)return;const e=this.$refs.search.$refs.input.$refs.input;this.autocomplete=await Ti({input:e,options:{types:["(regions)"],componentRestrictions:this.googleCountryRestriction?{country:this.googleCountryRestriction}:void 0},onPlaceSelected:t=>{this.selectPlace(t)}})},initGmaps(){!this.showMap||this.drawer&&!this.forceRerenderMap||!this.$refs.map||(this.modelValue&&this.modelValue.type==="circle"&&(this.radius=this.modelValue.values[1]),this.drawer=Yd({googleAPI:this.googleAPI,ref:this.$refs.map,zoom:this.zoom,color:this.color,center:this.center,initalShape:this.modelValue,onShapeSelected:({values:e,type:t})=>{this.showReset=e.length!==0,this.radius=t==="circle"?e[1]:void 0,this.$emit("update:modelValue",{values:e,type:t})}}),this.forceRerenderMap=!1)}},computed:{fieldLabel(){return`${this.$t(this.queryApp?"polygon":"client.queries.form.searchArea")}${this.mandatory?" *":""}`},googleCountryRestriction(){return this.international?null:_a(this.internationalCountry)||"de"}},updated(){this.initGmaps()},mounted(){this.initAutocomplete(),this.initGmaps()},beforeUnmount(){var e;(e=this.autocomplete)==null||e.remove()}},Y6={key:1,class:"absolute",style:{top:"10px",right:"10px"}},Q6={key:2,class:"absolute",style:{top:"10px",right:"50px"}};function Z6(e,t,n,i,r,a){const o=I("nice-input"),s=I("dv-row");return u(),y("div",null,[g(s,{label:a.fieldLabel,hint:n.hint},{default:k(()=>[f("div",{class:U(["w-full",n.error&&!r.showMap&&"mandatory-outline"])},[g(o,{autocomplete:"no",ref:"search",modelValue:r.search,"onUpdate:modelValue":t[0]||(t[0]=l=>r.search=l),placeholder:e.$t(n.queryApp?"polygon":"client.queries.form.searchAreaPlaceholder"),class:"mb-2",disabled:n.disabled},null,8,["modelValue","placeholder","disabled"])],2)]),_:1},8,["label","hint"]),r.showMap||r.showReset||r.radius?(u(),y("div",{key:0,class:U(["relative",n.error&&r.showMap&&"mandatory-outline"])},[r.showMap&&!n.disabled?(u(),y("div",{key:0,ref:"map",style:xe([{"min-width":"100%","min-height":"0px"},{"padding-bottom":n.mapHeight}]),class:"mb-2"},null,4)):P("",!0),r.showReset&&!n.disabled?(u(),y("div",Y6,[f("button",{href:"#",onClick:t[1]||(t[1]=ae((...l)=>a.reset&&a.reset(...l),["prevent"])),class:"text-red-600 text-danger bg-white text-2xl font-bold border border-gray-200",style:{width:"40px",height:"40px","line-height":"40px"}},[...t[3]||(t[3]=[f("i",{class:"fal fa-times"},null,-1)])])])):P("",!0),r.radius&&!n.disabled?(u(),y("div",Q6,[Qe(f("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>r.radius=l),class:"pl-2 bg-white font-bold border border-gray-200",style:{width:"80px",height:"40px","line-height":"40px"}},null,512),[[Jn,r.radius]]),t[4]||(t[4]=f("span",{style:{"margin-left":"-18px"}},"m",-1))])):P("",!0)],2)):P("",!0)])}const Qd=te(K6,[["render",Z6]]),o$=Object.freeze(Object.defineProperty({__proto__:null,default:Qd,gmapsGeometryPicker:Yd},Symbol.toStringTag,{value:"Module"})),J6=e=>{var r,a;const t=e.marketing_type,n=(a=(r=e.rs_type_categories)==null?void 0:r[0])==null?void 0:a[0];if(!n)return;if(n==="INVESTMENT")return"investment";if(!t)return;const i=t==="RENT"?"Rent":"Buy";if(Pe.includes(n))return`living${i}`;if(xn.includes(n))return`commercial${i}`},Zd=e=>{const t=Number(e==null?void 0:e.radius);if(!((e==null?void 0:e.enabled)===!1||!Number.isFinite(t)||t<=0))return t},X6=e=>Object.values(e||{}).map(Zd).find(Boolean),As=e=>{const t=Number(e);if(!(!Number.isFinite(t)||t<=0))return t},eP=(e,t,n)=>{const i=J6(e);if(!i)return X6(t)||As(n);const r=t==null?void 0:t[i];if((r==null?void 0:r.enabled)!==!1)return Zd(r)||As(n)},tP=K({props:["record","field"],components:{PolygonPicker:Qd},computed:{defaultRadius(){return eP(this.record,this.$db.shopData.autoSavedQuerySettings,this.$db.shopData.autoSavedQueriesRadius)}},methods:{validateMandatoryField:Ge}});function nP(e,t,n,i,r,a){const o=I("polygon-picker");return u(),w(yi,null,{default:k(()=>[g(o,{modelValue:e.record.geometry,"onUpdate:modelValue":t[0]||(t[0]=s=>e.record.geometry=s),color:e.$db.shopData.color,"international-country":e.$db.shopData.internationalCountry,international:e.$db.shopData.sellsInternationally,hint:e.$t("client.queries.form.locationHint"),error:e.validateMandatoryField(e.field,e.record),mandatory:e.field.mandatory,"default-radius":e.defaultRadius},null,8,["modelValue","color","international-country","international","hint","error","mandatory","default-radius"])]),_:1})}const Jd=te(tP,[["render",nP]]),s$=Object.freeze(Object.defineProperty({__proto__:null,default:Jd},Symbol.toStringTag,{value:"Module"})),iP=K({__name:"Locations",props:{record:{}},setup(e){const{db:t}=je(),n=s=>"value"in s&&"label"in s,i=s=>
12907!Array.isArray(s)||!s.length?[]:s.every(n)?s:Tl(s),r=F(()=>{var s;return i((s=t==null?void 0:t.shopData)==null?void 0:s.locations)});let a;if(!r.value.length)try{a=Yb().locationTree}catch{a=void 0}const o=F(()=>r.value.length?r.value:(a==null?void 0:a.value)||[]);return(s,l)=>(u(),w(H0,{locations:o.value,modelValue:e.record.location_ids,"onUpdate:modelValue":l[0]||(l[0]=d=>e.record.location_ids=d),placeholder:s.$t("client.queries.form.locationPh")},null,8,["locations","modelValue","placeholder"]))}}),rP=Object.assign({"./AddressFields/AddressFields.vue":ld,"./AddressFields/AddressFieldsAsync.vue":Aa,"./BooleanField.vue":$a,"./ChildrenField.vue":dd,"./ChildrenFieldEl.vue":Ra,"./ConnectionItem.vue":On,"./Container.vue":fd,"./ConvertedAreaUnit.vue":Ea,"./ConvertedCurrencyValue.vue":Ni,"./DateField.vue":Da,"./DatetimeField.vue":Na,"./DbDropdown.vue":gd,"./Dropdown.vue":Zl,"./EmailList.vue":yd,"./ExchangeField.vue":bd,"./FieldLabelDecorators.vue":zt,"./FindriveTipsterBanner.vue":vd,"./Group.vue":Xl,"./GroupAction.vue":Jl,"./InsertCoordinatesButton.vue":hd,"./ItsmydataPanel.vue":ed,"./LinkField.vue":Ek,"./List.vue":Oa,"./NameFields.vue":Id,"./NumberField.vue":Oi,"./OguloVisitorStatisticsPanel.vue":td,"./OwnerField.vue":Cd,"./PhoneField.vue":cd,"./PhoneNumbersField.vue":Sd,"./PhotoField.vue":uT,"./RangeField.vue":_d,"./RatingField.vue":kd,"./RelationshipField.vue":Td,"./RelationshipForm.vue":Mi,"./RelationshipItem.vue":Ei,"./RichtextField.vue":wd,"./Row.vue":fc,"./SliderField.vue":Fd,"./StringField.vue":Va,"./TextField.vue":fw,"./YesNoField.vue":Pd,"./client/Age.vue":md,"./client/Dropdown.vue":ud,"./client/TipsterCommission.vue":Ad,"./project/Translations.vue":Dd,"./property/AddressFields/AddressFields.vue":rd,"./property/AddressFields/AddressFieldsAsync.vue":Fa,"./property/Category.vue":ad,"./property/Commission.vue":Nd,"./property/CommissionSplits.vue":Vd,"./property/Dropdown.vue":pd,"./property/EnergyCertificate.vue":D3,"./property/EnergyCertificateDate.vue":N3,"./property/IdealistaPreview.vue":Bd,"./property/InvestmentUnitsTable.vue":aF,"./property/PortalExport.vue":WF,"./property/PortalExportControlCard.vue":xd,"./property/PortalExportRow.vue":qd,"./property/RelationshipField.vue":zd,"./property/RentalUnitsTable.vue":S6,"./property/ScoutContactCascader.vue":T6,"./property/Translations.vue":jd,"./property/VatField.vue":Ma,"./saved-query/Categories.vue":Hd,"./saved-query/Cities.vue":Wd,"./saved-query/GeneralWrapper.vue":a_,"./saved-query/Geometry.vue":Jd,"./saved-query/Locations.vue":iP,"./saved-query/PerfectMatchSettingsToggle.vue":sd}),de=e=>rP[e],aP={Container:de("./Container.vue"),StringField:de("./StringField.vue"),TextField:de("./TextField.vue"),NumberField:de("./NumberField.vue"),SliderField:de("./SliderField.vue"),ExchangeField:de("./ExchangeField.vue"),BooleanField:de("./BooleanField.vue"),EmailList:de("./EmailList.vue"),List:de("./List.vue"),DateField:de("./DateField.vue"),DatetimeField:de("./DatetimeField.vue"),AddressFields:de("./AddressFields/AddressFields.vue"),NameFields:de("./NameFields.vue"),RelationshipField:de("./RelationshipField.vue"),ChildrenField:de("./ChildrenField.vue"),LinkField:de("./LinkField.vue"),PhoneField:de("./PhoneField.vue"),PhotoField:de("./PhotoField.vue"),PhoneNumbersField:de("./PhoneNumbersField.vue"),Dropdown:de("./Dropdown.vue"),RichtextField:de("./RichtextField.vue"),ClientAge:de("./client/Age.vue"),ClientTipsterCommission:de("./client/TipsterCommission.vue"),PropertyAddressFields:de("./property/AddressFields/AddressFields.vue"),PropertyCategory:de("./property/Category.vue"),PropertyPortalExport:de("./property/PortalExport.vue"),PropertyCommission:de("./property/Commission.vue"),PropertyEnergyCertificate:de("./property/EnergyCertificate.vue"),PropertyEnergyCertificateDate:de("./property/EnergyCertificateDate.vue"),PropertyScoutContactCascader:de("./property/ScoutContactCascader.vue"),PropertyTranslations:de("./property/Translations.vue"),PropertyCommissionSplits:de("./property/CommissionSplits.vue"),PropertyRelationshipField:de("./property/RelationshipField.vue"),PropertyVatField:de("./property/VatField.vue"),ProjectTranslations:de("./project/Translations.vue"),OwnerField:de("./OwnerField.vue"),DbDropdown:de("./DbDropdown.vue"),RangeField:de("./RangeField.vue"),YesNoField:de("./YesNoField.vue"),SavedQueryCategories:de("./saved-query/Categories.vue"),SavedQueryLocations:de("./saved-query/Locations.vue"),SavedQueryCities:de("./saved-query/Cities.vue"),SavedQueryGeometry:de("./saved-query/Geometry.vue"),ClientDropdown:de("./client/Dropdown.vue"),PropertyDropdown:de("./property/Dropdown.vue"),FindriveTipsterBanner:de("./FindriveTipsterBanner.vue"),InvestmentUnitsTable:de("./property/InvestmentUnitsTable.vue"),RentalUnitsTable:de("./property/RentalUnitsTable.vue"),RatingField:de("./RatingField.vue")}
12907,oP=new Set(["StringField","string-field","boolean-field","number-field","slider-field","date-field","datetime-field","dropdown","tags","tags-by-category","dbDropdown","db-dropdown","list","range-field","yes-no-field","saved-query-categories","saved-query-locations","saved-query-cities","client-dropdown","property-dropdown","property-scout-contact-cascader","property-energy-certificate-date","client-age"]),sP=e=>!!e&&oP.has(e),lP=e=>!!(e!=null&&e.isCustomField&&!(e!=null&&e.suppressCustomFieldIndicator)),dP=({field:e,record:t,recordType:n})=>{const i=F(()=>sP(e.value.componentName)),r=F(()=>{const l=t.value[e.value.fieldName];return["StringField","string-field"].includes(e.value.componentName||"")&&!!l&&/^[a-z]+:\/\/.../.test(l)}),a=F(()=>e.value.formField.label||""),o=F(()=>lP(e.value.formField));return{dataTestId:F(()=>e.value.fieldName?`input-${n.value}-${e.value.fieldName}`:null),formFieldLabel:a,isCustomField:o,isURL:r,simple:i,validateMandatoryField:Ge}},cP={class:"d-flex align-items-center"},uP={class:"mr-2 inline-flex items-center gap-1"},pP=["innerHTML"],mP={class:"inline-flex items-center leading-none align-middle custom-field-indicator"},hP={key:1},fP=["href"],gP={class:"text-light text-sm"},yP={components:{...aP,FieldLabelDecorators:zt}},l$=K({...yP,__name:"BaseField",props:{record:{},field:{},formFields:{},recordType:{},columnView:{type:Boolean}},setup(e){const t=e,{isNeoTheme:n}=Ee(),{record:i,field:r,formFields:a,recordType:o,columnView:s}=da(t),{dataTestId:l,formFieldLabel:d,isCustomField:c,isURL:m,simple:p,validateMandatoryField:h}=dP({field:r,record:i,recordType:o});return(T,C)=>{const A=I("NiceIconNeo"),v=I("fa-icon"),R=I("nice-tooltip"),D=I("tip"),O=I("dv-row");return E(p)?(u(),w(O,{key:1,theme:E(r).theme,"column-view":E(s),class:"w-100 field-row-with-decorators","data-field":E(r).fieldName,"data-testid":E(l),field:E(r)},{label:k(()=>{var N,B;return[f("div",{class:U(["d-flex",{"flex-col":(N=E(r).detailViewField)==null?void 0:N.description}])},[f("div",cP,[f("div",uP,[f("span",{innerHTML:E(d)},null,8,pP),E(c)?(u(),w(R,{key:0,content:T.$t("detailView.customField.tooltip"),class:"inline-flex items-center"},{default:k(()=>[f("span",mP,[E(n)?(u(),w(A,{key:0,name:"wrench",size:"small"})):(u(),w(v,{key:1,name:"wrench"}))])]),_:1},8,["content"])):P("",!0),E(r).mandatory?(u(),y("span",hP,"*")):P("",!0),E(r).hint?(u(),w(D,{key:2,hint:E(r).hint,icon:"info-circle",class:"light"},null,8,["hint"])):P("",!0)]),g(zt,{record:E(i),field:E(r),recordType:E(o)},null,8,["record","field","recordType"]),E(m)?(u(),y("a",{key:0,href:E(i)[E(r).fieldName],target:"_blank",tabindex:"-1",class:"light mr-1"},[g(v,{name:"external-link"})],8,fP)):P("",!0)]),f("span",gP,S((B=E(r).detailViewField)==null?void 0:B.description),1)],2)]}),default:k(()=>[f("div",{class:U(["w-100",E(h)(E(r),E(i))&&"mandatory-outline"])},[(u(),w(vn(E(r).componentName),{field:E(r),record:E(i),recordType:E(o)},null,8,["field","record","recordType"]))],2)]),_:1},8,["theme","column-view","data-field","data-testid","field"])):(u(),w(vn(E(r).componentName),{key:0,field:E(r),record:E(i),formFields:E(a),class:"w-100","data-field":E(r).fieldName,"data-testid":E(l),recordType:E(o),"column-view":E(s)},null,8,["field","record","formFields","data-field","data-testid","recordType","column-view"]))}}});export{Kd as $,nA as A,ZP as B,QP as C,Lb as D,fe as E,l1 as F,UA as G,S1 as H,Vb as I,dt as J,R4 as K,gn as L,xP as M,ob as N,Xl as O,it as P,to as Q,$c as R,aA as S,eA as T,si as U,rA as V,tA as W,Cl as X,yA as Y,iA as Z,zs as _,ba as a,Qs as a$,jl as a0,GP as a1,KP as a2,Si as a3,tl as a4,Je as a5,DP as a6,LI as a7,Ac as a8,Bb as a9,An as aA,vb as aB,BP as aC,kA as aD,_A as aE,b as aF,Ol as aG,i_ as aH,u0 as aI,Ll as aJ,bg as aK,Tg as aL,OP as aM,NP as aN,EP as aO,Dg as aP,Rg as aQ,Ys as aR,fa as aS,RP as aT,Or as aU,Vr as aV,Mr as aW,Sg as aX,MP as aY,$P as aZ,Ks as a_,wA as aa,Kb as ab,YP as ac,n1 as ad,kl as ae,AA as af,$A as ag,Pe as ah,xn as ai,W as aj,TA as ak,Iv as al,FA as am,ed as an,Yl as ao,oA as ap,J0 as aq,X0 as ar,T1 as as,k1 as at,qP as au,l$ as av,PA as aw,Pc as ax,tI as ay,Vg as az,_1 as b,xA as b$,In as b0,AP as b1,ga as b2,Ws as b3,ri as b4,eo as b5,Ya as b6,nl as b7,UP as b8,al as b9,IA as bA,gA as bB,zP as bC,oi as bD,Hl as bE,dI as bF,Fc as bG,fA as bH,bs as bI,Kl as bJ,Ql as bK,DA as bL,NA as bM,OA as bN,EA as bO,MA as bP,VA as bQ,LA as bR,BA as bS,Zl as bT,Jl as bU,td as bV,ad as bW,rd as bX,Un as bY,ZS as bZ,TS as b_,tb as ba,LP as bb,VP as bc,Yy as bd,Sl as be,Mb as bf,mi as bg,Jb as bh,Xb as bi,e1 as bj,Ti as bk,Et as bl,dA as bm,Nl as bn,zv as bo,n2 as bp,R2 as bq,Ml as br,H0 as bs,Z0 as bt,K0 as bu,eI as bv,ft as bw,bA as bx,vA as by,Ta as bz,Rt as c,il as c$,qA as c0,i4 as c1,f1 as c2,g1 as c3,v1 as c4,sd as c5,a_ as c6,hg as c7,cd as c8,ud as c9,gi as cA,he as cB,sA as cC,HP as cD,jP as cE,Kg as cF,Hb as cG,La as cH,W4 as cI,K4 as cJ,Y4 as cK,Q4 as cL,S3 as cM,ka as cN,Bl as cO,k3 as cP,Z4 as cQ,r4 as cR,a4 as cS,CA as cT,XA as cU,e4 as cV,t4 as cW,n4 as cX,JA as cY,wa as cZ,pI as c_,pd as ca,md as cb,hd as cc,Ek as cd,uT as ce,aw as cf,lw as cg,fw as ch,D3 as ci,N3 as cj,Bd as ck,aF as cl,qd as cm,xd as cn,WF as co,S6 as cp,T6 as cq,iP as cr,El as cs,Hi as ct,Wi as cu,X2 as cv,q4 as cw,Vw as cx,Mw as cy,U4 as cz,el as d,s4 as d$,t$ as d0,SA as d1,X4 as d2,WA as d3,J4 as d4,j4 as d5,z4 as d6,G4 as d
129077,HA as d8,L4 as d9,D4 as dA,N4 as dB,A4 as dC,P4 as dD,F4 as dE,w4 as dF,jA as dG,y4 as dH,T4 as dI,h4 as dJ,GA as dK,zA as dL,k4 as dM,KA as dN,_4 as dO,S4 as dP,C4 as dQ,m4 as dR,p4 as dS,g4 as dT,f4 as dU,I4 as dV,u4 as dW,d4 as dX,c4 as dY,l4 as dZ,o4 as d_,pA as da,mA as db,uA as dc,RA as dd,lA as de,o$ as df,a$ as dg,s$ as dh,r$ as di,i$ as dj,b4 as dk,n$ as dl,e$ as dm,H4 as dn,x4 as dp,ZA as dq,YA as dr,QA as ds,B4 as dt,V4 as du,M4 as dv,v4 as dw,E4 as dx,O4 as dy,$4 as dz,Il as e,WP as e0,_e as f,$e as g,Pi as h,na as i,hA as j,Rc as k,$d as l,rl as m,sl as n,Vl as o,cA as p,Ca as q,XP as r,qb as s,JP as t,eb as u,$t as v,ol as w,Xn as x,jg as y,pi as z};
12908//# sourceMappingURL=BaseField.vue_vue_type_style_index_0_lang-CityMBcf.js.map

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.